23 #ifndef _TelepathyQt_pending_operations_h_HEADER_GUARD_
24 #define _TelepathyQt_pending_operations_h_HEADER_GUARD_
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
32 #include <TelepathyQt/PendingOperation>
60 setFinishedWithError(name, message);
67 setFinishedWithError(error);
80 TP_QT_NO_EXPORT
void watcherFinished(QDBusPendingCallWatcher*);
84 friend struct Private;
95 PendingComposite(
const QList<PendingOperation*> &operations,
bool failOnFirstError,
104 friend struct Private;
The PendingSuccess class represents PendingOperation that is always successful.
Definition: simple-pending-operations.h:37
The PendingOperation class is a base class for pending asynchronous operations.
Definition: pending-operation.h:45
The PendingFailure class represents a PendingOperation that always fails with the error passed to the...
Definition: simple-pending-operations.h:50
The SharedPtr class is a pointer to an explicitly shared object.
Definition: shared-ptr.h:39
The PendingComposite class is a PendingOperation that can be used to track multiple pending operation...
Definition: simple-pending-operations.h:88
PendingSuccess(const SharedPtr< RefCounted > &object)
Definition: simple-pending-operations.h:43
The PendingVoid class is a generic subclass of PendingOperation representing a pending D-Bus method c...
Definition: simple-pending-operations.h:71
PendingFailure(const QDBusError &error, const SharedPtr< RefCounted > &object)
Definition: simple-pending-operations.h:63
PendingFailure(const QString &name, const QString &message, const SharedPtr< RefCounted > &object)
Definition: simple-pending-operations.h:56