23 #ifndef _TelepathyQt_pending_handles_h_HEADER_GUARD_
24 #define _TelepathyQt_pending_handles_h_HEADER_GUARD_
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
30 #include <TelepathyQt/Constants>
31 #include <TelepathyQt/PendingOperation>
32 #include <TelepathyQt/Types>
36 #include <QStringList>
38 #include <TelepathyQt/Types>
44 class ReferencedHandles;
54 ConnectionPtr connection()
const;
58 bool isRequest()
const;
60 bool isReference()
const;
62 const QStringList &namesRequested()
const;
64 QStringList validNames()
const;
66 QHash<QString, QPair<QString, QString> > invalidNames()
const;
68 const UIntList &handlesToReference()
const;
75 TP_QT_NO_EXPORT
void onRequestHandlesFinished(QDBusPendingCallWatcher *watcher);
76 TP_QT_NO_EXPORT
void onHoldHandlesFinished(QDBusPendingCallWatcher *watcher);
77 TP_QT_NO_EXPORT
void onRequestHandlesFallbackFinished(QDBusPendingCallWatcher *watcher);
78 TP_QT_NO_EXPORT
void onHoldHandlesFallbackFinished(QDBusPendingCallWatcher *watcher);
84 const QStringList &names);
87 TP_QT_NO_EXPORT
PendingHandles(
const QString &errorName,
const QString &errorMessage);
90 friend struct Private;
HandleType
Definition: build/TelepathyQt/_gen/constants.h:1375
The PendingHandles class represents the parameters of and the reply to an asynchronous handle request...
Definition: pending-handles.h:46
The PendingOperation class is a base class for pending asynchronous operations.
Definition: pending-operation.h:45
Definition: build/TelepathyQt/_gen/types.h:101
Helper container for safe management of handle lifetimes. Every handle in a ReferencedHandles contain...
Definition: referenced-handles.h:47
The ConnectionLowlevel class extends Connection with support to low-level features.
Definition: connection-lowlevel.h:43