• Skip to content
  • Skip to link menu
KDE 4.4 API Reference
  • KDE API Reference
  • KDE Support
  • Sitemap
  • Contact Us
 

qca

QCA::AbstractLogDevice

QCA::AbstractLogDevice Class Reference
[QCA user API]

An abstract log device. More...

#include <QtCrypto>

Inheritance diagram for QCA::AbstractLogDevice:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void logBinaryMessage (const QByteArray &blob, Logger::Severity severity)
virtual void logTextMessage (const QString &message, Logger::Severity severity)
QString name () const

Protected Member Functions

 AbstractLogDevice (const QString &name, QObject *parent=0)
virtual ~AbstractLogDevice ()=0

Detailed Description

An abstract log device.

Definition at line 1056 of file qca_support.h.


Constructor & Destructor Documentation

QCA::AbstractLogDevice::AbstractLogDevice ( const QString &  name,
QObject *  parent = 0 
) [explicit, protected]

Create a new message logger.

Parameters:
name the name of this log device
parent the parent for this logger

Definition at line 25 of file logger.cpp.

QCA::AbstractLogDevice::~AbstractLogDevice (  )  [protected, pure virtual]

Definition at line 30 of file logger.cpp.


Member Function Documentation

void QCA::AbstractLogDevice::logBinaryMessage ( const QByteArray &  blob,
Logger::Severity  severity 
) [virtual]

Log a binary blob.

The default implementation does nothing - you should override this method in your subclass to do whatever logging is required

Parameters:
blob the message (as a byte array) to log
severity the severity level of the message

Definition at line 44 of file logger.cpp.

void QCA::AbstractLogDevice::logTextMessage ( const QString &  message,
Logger::Severity  severity 
) [virtual]

Log a message.

The default implementation does nothing - you should override this method in your subclass to do whatever logging is required

Parameters:
message the message to log
severity the severity level of the message

Definition at line 38 of file logger.cpp.

QString QCA::AbstractLogDevice::name (  )  const

The name of this log device.

Definition at line 33 of file logger.cpp.


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

qca

Skip menu "qca"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

KDE Support

Skip menu "KDE Support"
  • akonadi
  • Decibel
  • grantlee
  • kdewin
  • phonon
  •     Backend
  • polkit-qt
  • qca
  • qimageblitz
  • soprano
  • strigi
  •     searchclient
  •     streamanalyzer
  •     streams
Generated for KDE Support by doxygen 1.5.9-20090814
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