MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9
   Home · All Classes · All Namespaces · Modules · Functions · Files

pending-ready.h

00001 
00023 #ifndef _TelepathyQt4_pending_ready_h_HEADER_GUARD_
00024 #define _TelepathyQt4_pending_ready_h_HEADER_GUARD_
00025 
00026 #ifndef IN_TELEPATHY_QT4_HEADER
00027 #error IN_TELEPATHY_QT4_HEADER
00028 #endif
00029 
00030 #include <TelepathyQt4/DBusProxyFactory>
00031 #include <TelepathyQt4/PendingOperation>
00032 #include <TelepathyQt4/ReadinessHelper>
00033 #include <TelepathyQt4/SharedPtr>
00034 
00035 #include <QSet>
00036 
00037 namespace Tp
00038 {
00039 
00040 class TELEPATHY_QT4_EXPORT PendingReady: public PendingOperation
00041 {
00042     Q_OBJECT
00043     Q_DISABLE_COPY(PendingReady);
00044 
00045 public:
00046     ~PendingReady();
00047 
00048     DBusProxyPtr proxy() const;
00049 
00050     Features requestedFeatures() const;
00051 
00052 private Q_SLOTS:
00053     TELEPATHY_QT4_NO_EXPORT void onNestedFinished(Tp::PendingOperation *);
00054 
00055 private:
00056     friend class Connection;
00057     friend class DBusProxyFactory;
00058     friend class ReadinessHelper;
00059 
00060     TELEPATHY_QT4_NO_EXPORT PendingReady(const SharedPtr<RefCounted> &object, const Features &requestedFeatures);
00061     TELEPATHY_QT4_NO_EXPORT PendingReady(const SharedPtr<DBusProxyFactory> &factory,
00062             const DBusProxyPtr &proxy, const Features &requestedFeatures);
00063 
00064     struct Private;
00065     friend struct Private;
00066     Private *mPriv;
00067 };
00068 
00069 } // Tp
00070 
00071 #endif

Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt4 0.6.5