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

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
Tp::PendingOperation
The PendingOperation class is a base class for pending asynchronous operations.
Definition: pending-operation.h:45
Tp
Definition: abstract-adaptor.cpp:31
Tp::Connection
The Connection class represents a Telepathy connection.
Definition: connection.h:62
Tp::Features
The Features class represents a list of Feature.
Definition: feature.h:61
Tp::ReadinessHelper
The ReadinessHelper class is a helper class used by the introspection process.
Definition: readiness-helper.h:47
Tp::PendingReady
The PendingReady class represents the features requested and the reply to a request for an object to ...
Definition: pending-ready.h:40
Tp::SharedPtr
The SharedPtr class is a pointer to an explicitly shared object.
Definition: shared-ptr.h:39
Tp::DBusProxyFactory
The DBusProxyFactory class is a base class for all D-Bus proxy factory classes. Handles proxy caching...
Definition: dbus-proxy-factory.h:48