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;