Home · All Classes · All Namespaces · Modules · Functions · Files
abstract-adaptor.h
00001 
00023 #ifndef _TelepathyQt_abstract_adaptor_h_HEADER_GUARD_
00024 #define _TelepathyQt_abstract_adaptor_h_HEADER_GUARD_
00025 
00026 #ifndef IN_TP_QT_HEADER
00027 #error IN_TP_QT_HEADER
00028 #endif
00029 
00030 #include <TelepathyQt/Global>
00031 
00032 #include <QObject>
00033 #include <QDBusAbstractAdaptor>
00034 
00035 class QDBusConnection;
00036 
00037 namespace Tp
00038 {
00039 
00040 class TP_QT_EXPORT AbstractAdaptor : public QDBusAbstractAdaptor
00041 {
00042     Q_OBJECT
00043 
00044 public:
00045     AbstractAdaptor(const QDBusConnection &connection, QObject *adaptee, QObject *parent);
00046     ~AbstractAdaptor();
00047 
00048     QDBusConnection dbusConnection() const;
00049 
00050     QObject *adaptee() const;
00051 
00052 private:
00053     struct Private;
00054     friend struct Private;
00055     Private *mPriv;
00056 };
00057 
00058 }
00059 
00060 #endif


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