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

pending-variant-map.h
1
23 #ifndef _TelepathyQt_pending_variant_map_h_HEADER_GUARD_
24 #define _TelepathyQt_pending_variant_map_h_HEADER_GUARD_
25
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29
30 #include <TelepathyQt/Global>
31 #include <TelepathyQt/PendingOperation>
32
33 #include <QVariant>
34
35 namespace Tp
36 {
37
38 class TP_QT_EXPORT PendingVariantMap : public PendingOperation
39 {
40 Q_OBJECT
41 Q_DISABLE_COPY(PendingVariantMap);
42
43 public:
44 PendingVariantMap(QDBusPendingCall call, const SharedPtr<RefCounted> &object);
45 ~PendingVariantMap();
46
47 QVariantMap result() const;
48
49 private Q_SLOTS:
50 TP_QT_NO_EXPORT void watcherFinished(QDBusPendingCallWatcher*);
51
52 private:
53 struct Private;
54 friend struct Private;
55 Private *mPriv;
56 };
57
58 } // Tp
59
60 #endif
Tp::PendingOperation
The PendingOperation class is a base class for pending asynchronous operations.
Definition: pending-operation.h:45
Tp
Definition: abstract-adaptor.cpp:31
QDBusPendingCallWatcher
QDBusPendingCall
Tp::PendingVariantMap
The PendingVariantMap class is a generic subclass of PendingOperation representing a pending D-Bus me...
Definition: pending-variant-map.h:38
Tp::SharedPtr
The SharedPtr class is a pointer to an explicitly shared object.
Definition: shared-ptr.h:39