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

pending-variant.h

    00001
    00023 #ifndef _TelepathyQt_pending_variant_h_HEADER_GUARD_
    00024 #define _TelepathyQt_pending_variant_h_HEADER_GUARD_
    00025
    00026 #ifndef IN_TP_QT_HEADER
    00027 #error IN_TP_QT_HEADER
    00028 #endif
    00029
    00030 #include <TelepathyQt/Global>
    00031 #include <TelepathyQt/PendingOperation>
    00032
    00033 #include <QVariant>
    00034
    00035 namespace Tp
    00036 {
    00037
    00038 class TP_QT_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     TP_QT_NO_EXPORT void watcherFinished(QDBusPendingCallWatcher*);
    00051
    00052 private:
    00053     struct Private;
    00054     friend struct Private;
    00055     Private *mPriv;
    00056 };
    00057
    00058 } // Tp
    00059
    00060 #endif