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

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

CVS commit by mlaurent: 

Add const


  M +2 -2      kopetemetacontactlvi.cpp   1.24
  M +5 -5      kopetemetacontactlvi.h   1.9


--- kdenonbeta/kopete/kopete/contactlist/kopetemetacontactlvi.cpp  #1.23:1.24
@@ -459,10 +459,10 @@ QString KopeteMetaContactLVI::key( int, 
 }
 
-bool KopeteMetaContactLVI::isTopLevel()
+bool KopeteMetaContactLVI::isTopLevel() const
 {
         return m_isTopLevel;
 }
 
-bool KopeteMetaContactLVI::isGrouped()
+bool KopeteMetaContactLVI::isGrouped() const
 {
         if(m_parentView)

--- kdenonbeta/kopete/kopete/contactlist/kopetemetacontactlvi.h  #1.8:1.9
@@ -61,5 +61,5 @@ public:
          * metacontact this visual item represents
          */
-        KopeteMetaContact *metaContact()
+        KopeteMetaContact *metaContact() const
         { return m_metaContact; };
 
@@ -67,10 +67,10 @@ public:
          * true if the item is at top level and not under a group
          */
-        bool isTopLevel();
+        bool isTopLevel() const;
 
         /**
          * parent when top-level
          */
-        QListView *parentView()
+        QListView *parentView() const
         { return m_parentView; };
 
@@ -78,5 +78,5 @@ public:
          * parent when not top-level
          */
-        KopeteGroupViewItem *parentGroup()
+        KopeteGroupViewItem *parentGroup() const
         { return m_parentGroup; };
 
@@ -111,5 +111,5 @@ public:
         KopeteContact *getContactFromIcon(const QPoint &p);
 
-        bool isGrouped();
+        bool isGrouped() const;
 
         void catchEvent(KopeteEvent *);


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

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