8 #ifndef IN_TP_QT_HEADER 
   12 #include <TelepathyQt/Types> 
   20 #include <QDBusPendingReply> 
   22 #include <TelepathyQt/AbstractInterface> 
   23 #include <TelepathyQt/DBusProxy> 
   24 #include <TelepathyQt/Global> 
   29 class PendingOperation;
 
   57         return QLatin1String(
"org.freedesktop.Telepathy.Debug");
 
   68         const QString& busName,
 
   69         const QString& objectPath,
 
   82         const QDBusConnection& connection,
 
   83         const QString& busName,
 
   84         const QString& objectPath,
 
  108         return internalRequestProperty(QLatin1String(
"Enabled"));
 
  123         return internalSetProperty(QLatin1String(
"Enabled"), QVariant::fromValue(newValue));
 
  134         return internalRequestAllProperties();
 
  155     inline QDBusPendingReply<Tp::DebugMessageList> 
GetMessages(
int timeout = -1)
 
  157         if (!invalidationReason().isEmpty()) {
 
  158             return QDBusPendingReply<Tp::DebugMessageList>(QDBusMessage::createError(
 
  159                 invalidationReason(),
 
  160                 invalidationMessage()
 
  164         QDBusMessage callMessage = QDBusMessage::createMethodCall(this->service(), this->path(),
 
  165                 this->staticInterfaceName(), QLatin1String(
"GetMessages"));
 
  166         return this->connection().asyncCall(callMessage, timeout);
 
  193     void NewDebugMessage(
double time, 
const QString& domain, uint level, 
const QString& message);
 
  196     virtual void invalidate(
Tp::DBusProxy *, 
const QString &, 
const QString &);
 
The DBusProxy class is a base class representing a remote object available over D-Bus. 
Definition: dbus-proxy.h:42
Tp::PendingVariantMap * requestAllProperties() const 
Definition: cli-debug-receiver.h:132
Tp::PendingVariant * requestPropertyEnabled() const 
Definition: cli-debug-receiver.h:106
The PendingOperation class is a base class for pending asynchronous operations. 
Definition: pending-operation.h:45
The AbstractInterface class is the base class for all client side D-Bus interfaces, allowing access to remote methods/properties/signals. 
Definition: abstract-interface.h:42
static QLatin1String staticInterfaceName()
Definition: cli-debug-receiver.h:55
The PendingVariant class is a generic subclass of PendingOperation representing a pending D-Bus metho...
Definition: pending-variant.h:38
Definition: cli-debug-receiver.h:44
The PendingVariantMap class is a generic subclass of PendingOperation representing a pending D-Bus me...
Definition: pending-variant-map.h:38
Tp::PendingOperation * setPropertyEnabled(bool newValue)
Definition: cli-debug-receiver.h:121
QDBusPendingReply< Tp::DebugMessageList > GetMessages(int timeout=-1)
Definition: cli-debug-receiver.h:155