[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdenonbeta/kopete/protocols/yahoo
From:       Laurent Montel <montel () kde ! org>
Date:       2003-06-30 21:46:17
[Download RAW message or body]

CVS commit by mlaurent: 

Add const


  M +1 -1      kyahoo.cpp   1.28
  M +6 -6      kyahoo.h   1.16
  M +1 -1      yahooaccount.h   1.21
  M +4 -4      yahooprotocol.h   1.47


--- kdenonbeta/kopete/protocols/yahoo/kyahoo.cpp  #1.27:1.28
@@ -131,5 +131,5 @@ YahooSession* YahooSessionManager::getSe
 }
 
-int YahooSessionManager::getSessionCount()
+int YahooSessionManager::getSessionCount() const
 {
         return m_sessionsMap.count();

--- kdenonbeta/kopete/protocols/yahoo/kyahoo.h  #1.15:1.16
@@ -51,5 +51,5 @@ public:
         bool cleanSessions();
         YahooSession* getSession(int id);
-        int getSessionCount();
+        int getSessionCount() const;
         
         /* Sets the host and port for connection to the pager and f.t. servers */
@@ -104,8 +104,8 @@ friend class YahooSessionManager;
 public:
         ~YahooSession();
-        int Id()
+        int Id() const
         { return m_connId; };
 
-        int socketDescriptor()
+        int socketDescriptor() const
         { return m_fd; };
 

--- kdenonbeta/kopete/protocols/yahoo/yahooaccount.h  #1.20:1.21
@@ -88,5 +88,5 @@ public:
          * Returns true if we have the server-side contact list
          */
-        bool haveContactList() { return theHaveContactList; }
+        bool haveContactList() const { return theHaveContactList; }
 
 public slots:

--- kdenonbeta/kopete/protocols/yahoo/yahooprotocol.h  #1.46:1.47
@@ -57,8 +57,8 @@ public:
                                          const QMap<QString, QString> &addressBookData );
 
-        QString server() { return m_server; }
-        int port() { return m_port; }
-        bool importContacts() { return m_importContacts; }
-        bool useGroupNames() { return m_useGroupNames; }
+        QString server() const { return m_server; }
+        int port() const { return m_port; }
+        bool importContacts() const { return m_importContacts; }
+        bool useGroupNames() const { return m_useGroupNames; }
 
 public slots:


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic