[Telepathy-commits] [telepathy-qt4/master] Account: Changed getConnection to connection.

Andre Moreira Magalhaes (andrunko) andre.magalhaes at collabora.co.uk
Wed Feb 4 09:44:24 PST 2009


---
 TelepathyQt4/Client/account.cpp |    2 +-
 TelepathyQt4/Client/account.h   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/TelepathyQt4/Client/account.cpp b/TelepathyQt4/Client/account.cpp
index 64252d9..6f8b117 100644
--- a/TelepathyQt4/Client/account.cpp
+++ b/TelepathyQt4/Client/account.cpp
@@ -458,7 +458,7 @@ Telepathy::ConnectionStatusReason Account::connectionStatusReason() const
  *
  * \return Connection object, or 0 if an error occurred.
  */
-Connection *Account::getConnection() const
+Connection *Account::connection() const
 {
     if (mPriv->connectionObjectPath.isEmpty()) {
         return 0;
diff --git a/TelepathyQt4/Client/account.h b/TelepathyQt4/Client/account.h
index 119e266..2dfbb57 100644
--- a/TelepathyQt4/Client/account.h
+++ b/TelepathyQt4/Client/account.h
@@ -105,7 +105,7 @@ public:
 
     Telepathy::ConnectionStatus connectionStatus() const;
     Telepathy::ConnectionStatusReason connectionStatusReason() const;
-    Connection *getConnection() const;
+    Connection *connection() const;
 
     Telepathy::SimplePresence automaticPresence() const;
     PendingOperation *setAutomaticPresence(
-- 
1.5.6.5




More information about the telepathy-commits mailing list