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

List:       kde-commits
Subject:    KDE/kdebase/kicker/kicker/core
From:       Benjamin Meyer <ben () meyerhome ! net>
Date:       2005-10-21 10:01:56
Message-ID: 1129888916.638986.12896.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 472580 by bmeyer:

make operator== const and define fix

 M  +4 -4      userrectsel.h  


--- trunk/KDE/kdebase/kicker/kicker/core/userrectsel.h #472579:472580
@@ -21,8 +21,8 @@
 
 ******************************************************************/
 
-#ifndef __userrectsel_h__
-#define __userrectsel_h__
+#ifndef userrectsel_h
+#define userrectsel_h
 
 #include <qwidget.h>
 
@@ -58,14 +58,14 @@
                 {
                 }
 
-                bool operator==(const PanelStrut& rhs)
+                bool operator==(const PanelStrut& rhs) const
                 {
                     return m_screen == rhs.m_screen &&
                            m_pos == rhs.m_pos &&
                            m_alignment == rhs.m_alignment;
                 }
 
-                bool operator!=(const PanelStrut& rhs)
+                bool operator!=(const PanelStrut& rhs) const
                 {
                     return !(*this == rhs);
                 }
[prev in list] [next in list] [prev in thread] [next in thread] 

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