[telepathy-qt4/master] ChannelRequest: Added a private proceed method that should be used by PendingChannelRequest.
Andre Moreira Magalhaes (andrunko)
andre.magalhaes at collabora.co.uk
Thu Jun 11 08:32:26 PDT 2009
---
TelepathyQt4/channel-request.cpp | 5 +++++
TelepathyQt4/channel-request.h | 4 ++++
2 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/TelepathyQt4/channel-request.cpp b/TelepathyQt4/channel-request.cpp
index db6a0de..c525806 100644
--- a/TelepathyQt4/channel-request.cpp
+++ b/TelepathyQt4/channel-request.cpp
@@ -239,6 +239,11 @@ PendingOperation *ChannelRequest::cancel()
return new PendingVoidMethodCall(this, mPriv->baseInterface->Cancel());
}
+PendingOperation *ChannelRequest::proceed()
+{
+ return new PendingVoidMethodCall(this, mPriv->baseInterface->Proceed());
+}
+
/**
* Get the ChannelRequestInterface for this ChannelRequest class. This method is
* protected since the convenience methods provided by this class should
diff --git a/TelepathyQt4/channel-request.h b/TelepathyQt4/channel-request.h
index 7334400..774c4a5 100644
--- a/TelepathyQt4/channel-request.h
+++ b/TelepathyQt4/channel-request.h
@@ -110,6 +110,10 @@ private Q_SLOTS:
void onAccountReady(Tp::PendingOperation *op);
private:
+ friend class PendingChannelRequest;
+
+ PendingOperation *proceed();
+
struct Private;
friend struct Private;
Private *mPriv;
--
1.5.6.5
More information about the telepathy-commits
mailing list