From kde-commits Mon Jun 30 21:46:17 2003 From: Laurent Montel Date: Mon, 30 Jun 2003 21:46:17 +0000 To: kde-commits Subject: kdenonbeta/kopete/protocols/yahoo X-MARC-Message: https://marc.info/?l=kde-commits&m=105700958330853 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 &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: