Home · Modules · All Classes · All Namespaces
Public Types | Public Slots | Public Member Functions | Protected Attributes | List of all members
Tp::BaseDebug Class Reference

#include <TelepathyQt/base-debug.h>

Inherits Tp::DBusService.

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 (const QString &busName, 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
 
- Public Member Functions inherited from Tp::DBusService
 DBusService (const QDBusConnection &dbusConnection)
 
virtual ~DBusService ()
 
virtual QVariantMap immutableProperties () const =0
 
QDBusConnection dbusConnection () const
 
QString busName () const
 
QString objectPath () const
 
DBusObjectdbusObject () const
 
bool isRegistered () const
 
- Public Member Functions inherited from Tp::Object
virtual ~Object ()
 
- Public Member Functions inherited from Tp::RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 

Protected Attributes

PrivatemPriv
 

Additional Inherited Members

- Signals inherited from Tp::Object
void propertyChanged (const QString &propertyName)
 
- Protected Member Functions inherited from Tp::DBusService
virtual bool registerObject (const QString &busName, const QString &objectPath, DBusError *error)
 
- Protected Member Functions inherited from Tp::Object
 Object ()
 
void notify (const char *propertyName)
 

Member Typedef Documentation

◆ GetMessagesCallback

Constructor & Destructor Documentation

◆ BaseDebug()

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

Member Function Documentation

◆ isEnabled()

bool Tp::BaseDebug::isEnabled ( ) const

◆ getMessagesLimit()

int Tp::BaseDebug::getMessagesLimit ( ) const

◆ setGetMessagesCallback()

void Tp::BaseDebug::setGetMessagesCallback ( const GetMessagesCallback cb)

◆ getMessages()

DebugMessageList Tp::BaseDebug::getMessages ( Tp::DBusError error) const

◆ setEnabled

void Tp::BaseDebug::setEnabled ( bool  enabled)
slot

◆ setGetMessagesLimit

void Tp::BaseDebug::setGetMessagesLimit ( int  limit)
slot

◆ clear

void Tp::BaseDebug::clear ( )
slot

◆ newDebugMessage [1/2]

void Tp::BaseDebug::newDebugMessage ( const QString &  domain,
DebugLevel  level,
const QString &  message 
)
slot

◆ newDebugMessage [2/2]

void Tp::BaseDebug::newDebugMessage ( double  time,
const QString &  domain,
DebugLevel  level,
const QString &  message 
)
slot

◆ immutableProperties

QVariantMap Tp::BaseDebug::immutableProperties ( ) const
slot

◆ registerObject

bool Tp::BaseDebug::registerObject ( const QString &  busName,
DBusError error = NULL 
)
slot

Member Data Documentation

◆ mPriv

Private* Tp::BaseDebug::mPriv
protected