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

kleopatra

Kleo::Log

Kleo::Log Class Reference

#include <log.h>

List of all members.


Detailed Description

Definition at line 50 of file log.h.


Public Types

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

Public Member Functions

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)
 ~Log ()

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 ()

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 109 of file log.cpp.


Member Function Documentation

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

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

Definition at line 90 of file log.cpp.

bool Log::ioLoggingEnabled (  )  const

Definition at line 123 of file log.cpp.

FILE * Log::logFile (  )  const

Definition at line 113 of file log.cpp.

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

Definition at line 71 of file log.cpp.

shared_ptr< Log > Log::mutableInstance (  )  [static]

Definition at line 94 of file log.cpp.

QString Log::outputDirectory (  )  const

Definition at line 128 of file log.cpp.

void Log::setIOLoggingEnabled ( bool  enabled  ) 

Definition at line 118 of file log.cpp.

void Log::setOutputDirectory ( const QString &  path  ) 

Definition at line 133 of file log.cpp.


The documentation for this class was generated from the following files:
  • log.h
  • log.cpp

kleopatra

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

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal