23 #ifndef _TelepathyQt_dbus_proxy_h_HEADER_GUARD_ 24 #define _TelepathyQt_dbus_proxy_h_HEADER_GUARD_ 26 #ifndef IN_TP_QT_HEADER 27 #error IN_TP_QT_HEADER 30 #include <TelepathyQt/Global> 31 #include <TelepathyQt/Object> 32 #include <TelepathyQt/ReadyObject> 34 class QDBusConnection;
48 DBusProxy(
const QDBusConnection &dbusConnection,
const QString &busName,
49 const QString &objectPath,
const Feature &featureCore);
52 QDBusConnection dbusConnection()
const;
53 QString busName()
const;
54 QString objectPath()
const;
57 QString invalidationReason()
const;
58 QString invalidationMessage()
const;
62 const QString &errorName,
const QString &errorMessage);
65 void setBusName(
const QString &busName);
66 void invalidate(
const QString &reason,
const QString &message);
67 void invalidate(
const QDBusError &error);
70 TP_QT_NO_EXPORT
void emitInvalidated();
73 friend class TestBackdoors;
76 friend struct Private;
87 const QString &busName,
const QString &objectPath,
const Feature &featureCore);
92 friend struct Private;
103 const QString &busName,
const QString &objectPath,
const Feature &featureCore);
106 static QString uniqueNameFrom(
const QDBusConnection &bus,
const QString &wellKnownOrUnique);
107 static QString uniqueNameFrom(
const QDBusConnection &bus,
const QString &wellKnownOrUnique,
108 QString &error, QString &message);
111 TP_QT_NO_EXPORT
void onServiceOwnerChanged(
const QString &name,
const QString &oldOwner,
112 const QString &newOwner);
116 friend struct Private;
The StatefulDBusProxy class is a base class representing a remote object whose API is stateful.
Definition: dbus-proxy.h:96
The Feature class represents a feature that can be enabled on demand.
Definition: feature.h:41
Definition: ready-object.h:42
The StatelessDBusProxy class is a base class representing a remote object whose API is basically stat...
Definition: dbus-proxy.h:80
The Object class provides an object with property notification.
Definition: object.h:39
Definition: abstract-adaptor.cpp:31
The DBusProxy class is a base class representing a remote object available over D-Bus.
Definition: dbus-proxy.h:42