Home · All Classes · All Namespaces · Modules · Functions · Files
pending-string-list.h
00001 
00023 #ifndef _TelepathyQt4_pending_string_list_h_HEADER_GUARD_
00024 #define _TelepathyQt4_pending_string_list_h_HEADER_GUARD_
00025 
00026 #ifndef IN_TELEPATHY_QT4_HEADER
00027 #error IN_TELEPATHY_QT4_HEADER
00028 #endif
00029 
00030 #include <TelepathyQt4/PendingOperation>
00031 
00032 #include <QStringList>
00033 
00034 namespace Tp
00035 {
00036 
00037 class TELEPATHY_QT4_EXPORT PendingStringList : public PendingOperation
00038 {
00039     Q_OBJECT
00040     Q_DISABLE_COPY(PendingStringList);
00041 
00042 public:
00043     PendingStringList(const SharedPtr<RefCounted> &object);
00044     PendingStringList(QDBusPendingCall call, const SharedPtr<RefCounted> &object);
00045     ~PendingStringList();
00046 
00047     QStringList result() const;
00048 
00049 protected:
00050     void setResult(const QStringList &result);
00051 
00052 private Q_SLOTS:
00053     TELEPATHY_QT4_NO_EXPORT void watcherFinished(QDBusPendingCallWatcher *watcher);
00054 
00055 private:
00056     struct Private;
00057     friend struct Private;
00058     Private *mPriv;
00059 };
00060 
00061 } // Tp
00062 
00063 #endif


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