Home · All Classes · All Namespaces · Modules · Functions · Files
pending-variant.h
1 
23 #ifndef _TelepathyQt_pending_variant_h_HEADER_GUARD_
24 #define _TelepathyQt_pending_variant_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 PendingVariant : public PendingOperation
39 {
40  Q_OBJECT
41  Q_DISABLE_COPY(PendingVariant);
42 
43 public:
44  PendingVariant(QDBusPendingCall call, const SharedPtr<RefCounted> &object);
45  ~PendingVariant();
46 
47  QVariant 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
The PendingOperation class is a base class for pending asynchronous operations.
Definition: pending-operation.h:45
Definition: abstract-adaptor.cpp:31
The PendingVariant class is a generic subclass of PendingOperation representing a pending D-Bus metho...
Definition: pending-variant.h:38
The SharedPtr class is a pointer to an explicitly shared object.
Definition: shared-ptr.h:39


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