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

List:       kde-commits
Subject:    kdenonbeta/kopete/plugins/history
From:       Laurent Montel <montel () kde ! org>
Date:       2003-06-30 21:51:14
[Download RAW message or body]

CVS commit by mlaurent: 

Add const


  M +1 -1      historyguiclient.h   1.2
  M +1 -1      historylogger.h   1.5
  M +3 -3      historypreferences.cpp   1.6
  M +3 -3      historypreferences.h   1.3


--- kdenonbeta/kopete/plugins/history/historyguiclient.h  #1.1:1.2
@@ -33,5 +33,5 @@ public:
         ~HistoryGUIClient();
 
-        HistoryLogger *logger() { return m_logger; }
+        HistoryLogger *logger() const { return m_logger; }
 
 private slots:

--- kdenonbeta/kopete/plugins/history/historylogger.h  #1.4:1.5
@@ -52,5 +52,5 @@ public:
         ~HistoryLogger();
 
-        bool hideOutgoing() { return m_hideOutgoing; }
+        bool hideOutgoing() const { return m_hideOutgoing; }
         void setHideOutgoing(bool);
 

--- kdenonbeta/kopete/plugins/history/historypreferences.cpp  #1.5:1.6
@@ -68,5 +68,5 @@ void HistoryPreferences::save()
 
 
-int HistoryPreferences::nbAutoChatwindow()
+int HistoryPreferences::nbAutoChatwindow() const
 {
         if(!m_widget->newView->isChecked())
@@ -75,10 +75,10 @@ int HistoryPreferences::nbAutoChatwindow
 }
 
-int HistoryPreferences::nbChatwindow()
+int HistoryPreferences::nbChatwindow() const
 {
         return m_widget->nbChatWindow->value();
 }
 
-QColor  HistoryPreferences::historyColor()
+QColor  HistoryPreferences::historyColor() const
 {
         return m_widget->m_color->color();

--- kdenonbeta/kopete/plugins/history/historypreferences.h  #1.2:1.3
@@ -38,7 +38,7 @@ public:
         virtual void reopen();
 
-        int nbChatwindow();
-        int nbAutoChatwindow();
-        QColor historyColor();
+        int nbChatwindow() const;
+        int nbAutoChatwindow() const;
+        QColor historyColor() const;
 private:
         HistoryPrefsUI *m_widget;


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

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