• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

kleopatra

  • Kleo
  • Log
Public Types | Public Member Functions | Static Public Member Functions | List of all members
Kleo::Log Class Reference

#include <log.h>

Public Types

enum  OpenMode { Read =0x1, Write =0x2 }
 

Public Member Functions

 ~Log ()
 
boost::shared_ptr< QIODevice > createIOLogger (const boost::shared_ptr< QIODevice > &wrapped, const QString &prefix, OpenMode mode) const
 
bool ioLoggingEnabled () const
 
FILE * logFile () const
 
QString outputDirectory () const
 
void setIOLoggingEnabled (bool enabled)
 
void setOutputDirectory (const QString &path)
 

Static Public Member Functions

static boost::shared_ptr
< const Log > 
instance ()
 
static void messageHandler (QtMsgType type, const char *msg)
 
static boost::shared_ptr< Log > mutableInstance ()
 

Detailed Description

Definition at line 50 of file log.h.

Member Enumeration Documentation

enum Kleo::Log::OpenMode
Enumerator
Read 
Write 

Definition at line 53 of file log.h.

Constructor & Destructor Documentation

Log::~Log ( )

Definition at line 113 of file log.cpp.

Member Function Documentation

shared_ptr< QIODevice > Log::createIOLogger ( const boost::shared_ptr< QIODevice > &  wrapped,
const QString &  prefix,
OpenMode  mode 
) const

Definition at line 148 of file log.cpp.

shared_ptr< const Log > Log::instance ( )
static

Definition at line 94 of file log.cpp.

bool Log::ioLoggingEnabled ( ) const

Definition at line 127 of file log.cpp.

FILE * Log::logFile ( ) const

Definition at line 117 of file log.cpp.

void Log::messageHandler ( QtMsgType  type,
const char *  msg 
)
static

Definition at line 72 of file log.cpp.

shared_ptr< Log > Log::mutableInstance ( )
static

Definition at line 98 of file log.cpp.

QString Log::outputDirectory ( ) const

Definition at line 132 of file log.cpp.

void Log::setIOLoggingEnabled ( bool  enabled)

Definition at line 122 of file log.cpp.

void Log::setOutputDirectory ( const QString &  path)

Definition at line 137 of file log.cpp.


The documentation for this class was generated from the following files:
  • log.h
  • log.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:56:43 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kleopatra

Skip menu "kleopatra"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal