23 #ifndef _TelepathyQt_pending_channel_h_HEADER_GUARD_
24 #define _TelepathyQt_pending_channel_h_HEADER_GUARD_
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
30 #include <TelepathyQt/Channel>
31 #include <TelepathyQt/PendingOperation>
34 #include <QVariantMap>
36 #include <QDBusPendingCallWatcher>
42 class HandledChannelNotifier;
52 ConnectionPtr connection()
const;
56 const QString &channelType()
const;
58 uint targetHandleType()
const;
60 uint targetHandle()
const;
62 QVariantMap immutableProperties()
const;
64 ChannelPtr channel()
const;
69 TP_QT_NO_EXPORT
void onConnectionCreateChannelFinished(
70 QDBusPendingCallWatcher *watcher);
71 TP_QT_NO_EXPORT
void onConnectionEnsureChannelFinished(
72 QDBusPendingCallWatcher *watcher);
75 TP_QT_NO_EXPORT
void onHandlerError(
const QString &errorName,
76 const QString &errorMessage);
77 TP_QT_NO_EXPORT
void onHandlerChannelReceived(
78 const Tp::ChannelPtr &channel);
79 TP_QT_NO_EXPORT
void onAccountCreateChannelFinished(
87 const QString &errorName,
const QString &errorMessage);
89 const QVariantMap &request,
bool create,
int timeout = -1);
91 const QVariantMap &request,
const QDateTime &userActionTime,
94 const QString &errorMessage);
97 friend struct Private;