[telepathy-qt4/master] Chat requiredForRegistration() to isRequiredForRegistration() to make it consistent with other bool returning getters.

George Goldberg george.goldberg at collabora.co.uk
Thu Jul 23 08:18:17 PDT 2009


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

diff --git a/TelepathyQt4/connection-manager.cpp b/TelepathyQt4/connection-manager.cpp
index 383f2e4..7876f92 100644
--- a/TelepathyQt4/connection-manager.cpp
+++ b/TelepathyQt4/connection-manager.cpp
@@ -121,7 +121,7 @@ bool ProtocolParameter::isSecret() const
     return mPriv->flags & ConnMgrParamFlagSecret;
 }
 
-bool ProtocolParameter::requiredForRegistration() const
+bool ProtocolParameter::isRequiredForRegistration() const
 {
     return mPriv->flags & ConnMgrParamFlagRegister;
 }
diff --git a/TelepathyQt4/connection-manager.h b/TelepathyQt4/connection-manager.h
index 20675b7..0a2bc06 100644
--- a/TelepathyQt4/connection-manager.h
+++ b/TelepathyQt4/connection-manager.h
@@ -67,7 +67,7 @@ public:
 
     bool isRequired() const;
     bool isSecret() const;
-    bool requiredForRegistration() const;
+    bool isRequiredForRegistration() const;
 
     bool operator==(const ProtocolParameter &other) const;
     bool operator==(const QString &name) const;
-- 
1.5.6.5




More information about the telepathy-commits mailing list