abstract-adaptor.h Source File

| Home · All Classes · All Namespaces · Modules · Functions · Files

abstract-adaptor.h
1
23 #ifndef _TelepathyQt_abstract_adaptor_h_HEADER_GUARD_
24 #define _TelepathyQt_abstract_adaptor_h_HEADER_GUARD_
25
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29
30 #include <TelepathyQt/Global>
31
32 #include <QObject>
33 #include <QDBusAbstractAdaptor>
34
35 class QDBusConnection;
36
37 namespace Tp
38 {
39
40 class TP_QT_EXPORT AbstractAdaptor : public QDBusAbstractAdaptor
41 {
42 Q_OBJECT
43
44 public:
45 AbstractAdaptor(const QDBusConnection &connection, QObject *adaptee, QObject *parent);
46 ~AbstractAdaptor();
47
48 QDBusConnection dbusConnection() const;
49
50 QObject *adaptee() const;
51
52 private:
53 struct Private;
54 friend struct Private;
55 Private *mPriv;
56 };
57
58 }
59
60 #endif
Tp::AbstractAdaptor
Base class for all the low-level service-side adaptors.
Definition: abstract-adaptor.h:40