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;
The HandledChannelNotifier class can be used to keep track of channel() being re-requested.
Definition: handled-channel-notifier.h:41
The PendingOperation class is a base class for pending asynchronous operations.
Definition: pending-operation.h:45
The PendingChannel class represents the parameters of and the reply to an asynchronous channel reques...
Definition: pending-channel.h:44
The ConnectionLowlevel class extends Connection with support to low-level features.
Definition: connection-lowlevel.h:43
The Account class represents a Telepathy account.
Definition: account.h:68