00001
00023 #ifndef _TelepathyQt4_pending_variant_h_HEADER_GUARD_
00024 #define _TelepathyQt4_pending_variant_h_HEADER_GUARD_
00025
00026 #ifndef IN_TELEPATHY_QT4_HEADER
00027 #error IN_TELEPATHY_QT4_HEADER
00028 #endif
00029
00030 #include <TelepathyQt4/Global>
00031 #include <TelepathyQt4/PendingOperation>
00032
00033 #include <QVariant>
00034
00035 namespace Tp
00036 {
00037
00038 class TELEPATHY_QT4_EXPORT PendingVariant : public PendingOperation
00039 {
00040 Q_OBJECT
00041 Q_DISABLE_COPY(PendingVariant);
00042
00043 public:
00044 PendingVariant(QDBusPendingCall call, const SharedPtr<RefCounted> &object);
00045 ~PendingVariant();
00046
00047 QVariant result() const;
00048
00049 private Q_SLOTS:
00050 TELEPATHY_QT4_NO_EXPORT void watcherFinished(QDBusPendingCallWatcher*);
00051
00052 private:
00053 struct Private;
00054 friend struct Private;
00055 Private *mPriv;
00056 };
00057
00058 }
00059
00060 #endif