22 #ifndef _TelepathyQt_base_debug_h_HEADER_GUARD_ 23 #define _TelepathyQt_base_debug_h_HEADER_GUARD_ 25 #ifndef IN_TP_QT_HEADER 26 #error IN_TP_QT_HEADER 29 #include <TelepathyQt/Callbacks> 30 #include <TelepathyQt/Constants> 31 #include <TelepathyQt/DBusService> 32 #include <TelepathyQt/Global> 33 #include <TelepathyQt/Types> 42 explicit BaseDebug(
const QDBusConnection &dbusConnection = QDBusConnection::sessionBus());
44 bool isEnabled()
const;
45 int getMessagesLimit()
const;
53 void setEnabled(
bool enabled);
54 void setGetMessagesLimit(
int limit);
57 void newDebugMessage(
const QString &domain,
DebugLevel level,
const QString &message);
58 void newDebugMessage(
double time,
const QString &domain,
DebugLevel level,
const QString &message);
60 QVariantMap immutableProperties()
const;
62 bool registerObject(
const QString &busName,
DBusError *error = NULL);
68 friend struct Private;
74 #endif // _TelepathyQt_base_debug_h_HEADER_GUARD_ Base class for D-Bus services.
Definition: dbus-service.h:46
Callback1< DebugMessageList, DBusError * > GetMessagesCallback
Definition: base-debug.h:47
QList< DebugMessage > DebugMessageList
Definition: build/TelepathyQt/_gen/types.h:1544
Private * mPriv
Definition: base-debug.h:69
DebugLevel
Definition: build/TelepathyQt/_gen/constants.h:4036
Small container class, containing a D-Bus error.
Definition: dbus-error.h:35
Definition: abstract-adaptor.cpp:31
Definition: base-debug.h:38