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> 44 bool isEnabled()
const;
45 int getMessagesLimit()
const;
48 void setGetMessagesCallback(
const GetMessagesCallback &cb);
53 void setEnabled(
bool enabled);
54 void setGetMessagesLimit(
int limit);
60 QVariantMap immutableProperties()
const;
62 bool registerObject(
DBusError *error = NULL);
68 friend struct Private;
74 #endif // _TelepathyQt_base_debug_h_HEADER_GUARD_
Callback1< DebugMessageList, DBusError * > GetMessagesCallback
Definition: base-debug.h:47
QDBusConnection sessionBus()
Definition: abstract-adaptor.cpp:31
Base class for D-Bus services.
Definition: dbus-service.h:46
Private * mPriv
Definition: base-debug.h:69
Small container class, containing a D-Bus error.
Definition: dbus-error.h:35
DebugLevel
Definition: obj-x86_64-linux-gnu/TelepathyQt/_gen/constants.h:4036
Definition: base-debug.h:38