8 #include <TelepathyQt/AbstractAdaptor>
9 #include <TelepathyQt/Global>
10 #include <TelepathyQt/Types>
30 Q_CLASSINFO(
"D-Bus Interface",
"org.freedesktop.Telepathy.Debug")
31 Q_CLASSINFO(
"D-Bus Introspection",
""
32 " <interface name=\"org.freedesktop.Telepathy.Debug\">\n"
33 " <property access=\"readwrite\" type=\"b\" name=\"Enabled\"/>\n"
34 " <method name=\"GetMessages\">\n"
35 " <arg direction=\"out\" type=\"a(dsus)\" name=\"messages\">\n"
36 " <annotation value=\"Tp::DebugMessageList\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
39 " <signal name=\"NewDebugMessage\">\n"
40 " <arg type=\"d\" name=\"time\"/>\n"
41 " <arg type=\"s\" name=\"domain\"/>\n"
42 " <arg type=\"u\" name=\"level\"/>\n"
43 " <arg type=\"s\" name=\"message\"/>\n"
47 Q_PROPERTY(
bool Enabled READ Enabled WRITE SetEnabled)
50 DebugAdaptor(
const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
53 typedef Tp::MethodInvocationContextPtr< Tp::DebugMessageList > GetMessagesContextPtr;
79 void SetEnabled(
const bool &newValue);
126 void NewDebugMessage(
double time,
const QString& domain, uint level,
const QString& message);