Home · Modules · All Classes · All Namespaces
pending-string-list.h
1 
23 #ifndef _TelepathyQt_pending_string_list_h_HEADER_GUARD_
24 #define _TelepathyQt_pending_string_list_h_HEADER_GUARD_
25 
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
28 #endif
29 
30 #include <TelepathyQt/PendingOperation>
31 
32 #include <QStringList>
33 
34 namespace Tp
35 {
36 
37 class TP_QT_EXPORT PendingStringList : public PendingOperation
38 {
39  Q_OBJECT
40  Q_DISABLE_COPY(PendingStringList);
41 
42 public:
44  PendingStringList(QDBusPendingCall call, const SharedPtr<RefCounted> &object);
46 
47  QStringList result() const;
48 
49 protected:
50  void setResult(const QStringList &result);
51 
52 private Q_SLOTS:
53  TP_QT_NO_EXPORT void watcherFinished(QDBusPendingCallWatcher *watcher);
54 
55 private:
56  struct Private;
57  friend struct Private;
58  Private *mPriv;
59 };
60 
61 } // Tp
62 
63 #endif
The SharedPtr class is a pointer to an explicitly shared object.
Definition: shared-ptr.h:39
The PendingStringList class is a generic subclass of PendingOperation representing a pending D-Bus me...
Definition: pending-string-list.h:37
Definition: abstract-adaptor.cpp:31
The PendingOperation class is a base class for pending asynchronous operations.
Definition: pending-operation.h:45