Home · Modules · All Classes · All Namespaces
pending-ready.h
1 
23 #ifndef _TelepathyQt_pending_ready_h_HEADER_GUARD_
24 #define _TelepathyQt_pending_ready_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/DBusProxyFactory>
31 #include <TelepathyQt/PendingOperation>
32 #include <TelepathyQt/ReadinessHelper>
33 #include <TelepathyQt/SharedPtr>
34 
35 #include <QSet>
36 
37 namespace Tp
38 {
39 
40 class TP_QT_EXPORT PendingReady: public PendingOperation
41 {
42  Q_OBJECT
43  Q_DISABLE_COPY(PendingReady);
44 
45 public:
46  ~PendingReady();
47 
48  DBusProxyPtr proxy() const;
49 
50  Features requestedFeatures() const;
51 
52 private Q_SLOTS:
53  TP_QT_NO_EXPORT void onNestedFinished(Tp::PendingOperation *);
54 
55 private:
56  friend class Connection;
57  friend class DBusProxyFactory;
58  friend class ReadinessHelper;
59 
60  TP_QT_NO_EXPORT PendingReady(const SharedPtr<RefCounted> &object, const Features &requestedFeatures);
61  TP_QT_NO_EXPORT PendingReady(const SharedPtr<DBusProxyFactory> &factory,
62  const DBusProxyPtr &proxy, const Features &requestedFeatures);
63 
64  struct Private;
65  friend struct Private;
66  Private *mPriv;
67 };
68 
69 } // Tp
70 
71 #endif
The DBusProxyFactory class is a base class for all D-Bus proxy factory classes. Handles proxy caching...
Definition: dbus-proxy-factory.h:48
The PendingReady class represents the features requested and the reply to a request for an object to ...
Definition: pending-ready.h:40
The ReadinessHelper class is a helper class used by the introspection process.
Definition: readiness-helper.h:48
The Connection class represents a Telepathy connection.
Definition: connection.h:61
The SharedPtr class is a pointer to an explicitly shared object.
Definition: shared-ptr.h:39
The Features class represents a list of Feature.
Definition: feature.h:61
Definition: abstract-adaptor.cpp:31
The PendingOperation class is a base class for pending asynchronous operations.
Definition: pending-operation.h:45