Home · All Classes · All Namespaces · Modules · Functions · Files
Public Types | Public Slots | Public Member Functions | Protected Attributes
Tp::BaseDebug Class Reference

#include </usr/src/RPM/BUILD/telepathy-qt-0.9.7/TelepathyQt/base-debug.h>

Inherits Tp::DBusService.

List of all members.

Public Types

typedef Callback1
< DebugMessageList, DBusError * > 
GetMessagesCallback

Public Slots

void setEnabled (bool enabled)
void setGetMessagesLimit (int limit)
void clear ()
void newDebugMessage (const QString &domain, DebugLevel level, const QString &message)
void newDebugMessage (double time, const QString &domain, DebugLevel level, const QString &message)
QVariantMap immutableProperties () const
bool registerObject (DBusError *error=NULL)

Public Member Functions

 BaseDebug (const QDBusConnection &dbusConnection=QDBusConnection::sessionBus())
bool isEnabled () const
int getMessagesLimit () const
void setGetMessagesCallback (const GetMessagesCallback &cb)
DebugMessageList getMessages (DBusError *error) const

Protected Attributes

PrivatemPriv

Member Typedef Documentation


Constructor & Destructor Documentation

Tp::BaseDebug::BaseDebug ( const QDBusConnection &  dbusConnection = QDBusConnection::sessionBus()) [explicit]

Member Function Documentation

bool Tp::BaseDebug::isEnabled ( ) const
void Tp::BaseDebug::setEnabled ( bool  enabled) [slot]
void Tp::BaseDebug::setGetMessagesLimit ( int  limit) [slot]
void Tp::BaseDebug::clear ( ) [slot]
void Tp::BaseDebug::newDebugMessage ( const QString &  domain,
DebugLevel  level,
const QString &  message 
) [slot]
void Tp::BaseDebug::newDebugMessage ( double  time,
const QString &  domain,
DebugLevel  level,
const QString &  message 
) [slot]
QVariantMap Tp::BaseDebug::immutableProperties ( ) const [virtual, slot]

Return the immutable properties of this D-Bus service object.

Immutable properties cannot change after the object has been registered on the bus with registerObject().

Returns:
The immutable properties of this D-Bus service object.

Implements Tp::DBusService.

bool Tp::BaseDebug::registerObject ( Tp::DBusError error = NULL) [slot]

Member Data Documentation

Reimplemented from Tp::DBusService.


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7