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

pending-string-list.h

    00001
    00023 #ifndef _TelepathyQt_pending_string_list_h_HEADER_GUARD_
    00024 #define _TelepathyQt_pending_string_list_h_HEADER_GUARD_
    00025
    00026 #ifndef IN_TP_QT_HEADER
    00027 #error IN_TP_QT_HEADER
    00028 #endif
    00029
    00030 #include <TelepathyQt/PendingOperation>
    00031
    00032 #include <QStringList>
    00033
    00034 namespace Tp
    00035 {
    00036
    00037 class TP_QT_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     TP_QT_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