[telepathy-qt4/master] TextChannel: Renamed setChatState to requestChatState.

Andre Moreira Magalhaes (andrunko) andre.magalhaes at collabora.co.uk
Tue Nov 3 10:25:56 PST 2009


---
 TelepathyQt4/text-channel.cpp |    4 ++--
 TelepathyQt4/text-channel.h   |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/TelepathyQt4/text-channel.cpp b/TelepathyQt4/text-channel.cpp
index e76c768..d77c43d 100644
--- a/TelepathyQt4/text-channel.cpp
+++ b/TelepathyQt4/text-channel.cpp
@@ -955,10 +955,10 @@ PendingSendMessage *TextChannel::send(const MessagePartList &parts,
  * \param state The new state.
  * \sa chatStateChanged()
  */
-PendingOperation *TextChannel::setChatState(ChannelChatState state)
+PendingOperation *TextChannel::requestChatState(ChannelChatState state)
 {
     if (!interfaces().contains(TELEPATHY_INTERFACE_CHANNEL_INTERFACE_CHAT_STATE)) {
-        warning() << "TextChannel::setChatState() used with no chat "
+        warning() << "TextChannel::requestChatState() used with no chat "
             "state interface";
         return new PendingFailure(TELEPATHY_ERROR_NOT_IMPLEMENTED,
                 "TextChannel does not support chat state interface",
diff --git a/TelepathyQt4/text-channel.h b/TelepathyQt4/text-channel.h
index b47ddab..59a2e93 100644
--- a/TelepathyQt4/text-channel.h
+++ b/TelepathyQt4/text-channel.h
@@ -110,7 +110,7 @@ public Q_SLOTS:
         return groupAddContacts(contacts, message);
     }
 
-    PendingOperation *setChatState(ChannelChatState state);
+    PendingOperation *requestChatState(ChannelChatState state);
 
 Q_SIGNALS:
     // FeatureMessageSentSignal
-- 
1.5.6.5




More information about the telepathy-commits mailing list