23 #ifndef _TelepathyQt_dbus_service_h_HEADER_GUARD_ 24 #define _TelepathyQt_dbus_service_h_HEADER_GUARD_ 26 #ifndef IN_TP_QT_HEADER 27 #error IN_TP_QT_HEADER 30 #include <TelepathyQt/DBusError> 31 #include <TelepathyQt/Global> 32 #include <TelepathyQt/Object> 33 #include <TelepathyQt/ServiceTypes> 36 #include <QVariantMap> 38 class QDBusConnection;
55 virtual QVariantMap immutableProperties()
const = 0;
57 QDBusConnection dbusConnection()
const;
58 QString busName()
const;
59 QString objectPath()
const;
61 bool isRegistered()
const;
64 virtual bool registerObject(
const QString &busName,
const QString &objectPath,
82 QString interfaceName()
const;
84 virtual QVariantMap immutableProperties()
const = 0;
87 bool isRegistered()
const;
90 virtual bool registerInterface(
DBusObject *dbusObject);
91 virtual void createAdaptor() = 0;
94 bool notifyPropertyChanged(
const QString &propertyName,
const QVariant &propertyValue);
A QObject on which low-level D-Bus adaptors are plugged to provide a D-Bus object.
Definition: dbus-object.h:39
Base class for D-Bus services.
Definition: dbus-service.h:46
Base class for D-Bus service interfaces.
Definition: dbus-service.h:73
Small container class, containing a D-Bus error.
Definition: dbus-error.h:35
Definition: abstract-adaptor.cpp:31
The Object class provides an object with property notification.
Definition: object.h:39