Home · All Classes · All Namespaces · Modules · Functions · Files
svc-debug.h
00001 /*
00002  * This file contains D-Bus adaptor classes generated by qt-svc-gen.py.
00003  *
00004  * This file can be distributed under the same terms as the specification from
00005  * which it was generated.
00006  */
00007 
00008 #include <TelepathyQt/AbstractAdaptor>
00009 #include <TelepathyQt/Global>
00010 #include <TelepathyQt/Types>
00011 
00012 #include <QObject>
00013 #include <QtDBus>
00014 
00015 namespace Tp
00016 {
00017 namespace Service
00018 {
00019 
00027 class TP_QT_EXPORT DebugAdaptor : public Tp::AbstractAdaptor
00028 {
00029     Q_OBJECT
00030     Q_CLASSINFO("D-Bus Interface", "org.freedesktop.Telepathy.Debug")
00031     Q_CLASSINFO("D-Bus Introspection", ""
00032 "  <interface name=\"org.freedesktop.Telepathy.Debug\">\n"
00033 "    <property access=\"readwrite\" type=\"b\" name=\"Enabled\"/>\n"
00034 "    <method name=\"GetMessages\">\n"
00035 "      <arg direction=\"out\" type=\"a(dsus)\" name=\"messages\">\n"
00036 "        <annotation value=\"Tp::DebugMessageList\" name=\"com.trolltech.QtDBus.QtTypeName.Out0\"/>\n"
00037 "      </arg>\n"
00038 "    </method>\n"
00039 "    <signal name=\"NewDebugMessage\">\n"
00040 "      <arg type=\"d\" name=\"time\"/>\n"
00041 "      <arg type=\"s\" name=\"domain\"/>\n"
00042 "      <arg type=\"u\" name=\"level\"/>\n"
00043 "      <arg type=\"s\" name=\"message\"/>\n"
00044 "    </signal>\n"
00045 "  </interface>\n"
00046 "")
00047     Q_PROPERTY(bool Enabled READ Enabled WRITE SetEnabled)
00048 
00049 public:
00050     DebugAdaptor(const QDBusConnection& dbusConnection, QObject* adaptee, QObject* parent);
00051     virtual ~DebugAdaptor();
00052 
00053     typedef Tp::MethodInvocationContextPtr< Tp::DebugMessageList > GetMessagesContextPtr;
00054 
00055 public: // PROPERTIES
00068     bool Enabled() const;
00079     void SetEnabled(const bool &newValue);
00080 
00081 public Q_SLOTS: // METHODS
00101     Tp::DebugMessageList GetMessages(const QDBusMessage& dbusMessage);
00102 
00103 Q_SIGNALS: // SIGNALS
00126     void NewDebugMessage(double time, const QString& domain, uint level, const QString& message);
00127 };
00128 
00129 }
00130 }


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