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

List:       kde-commits
Subject:    KDE/kdeedu/marble/src/lib/geodata/scene
From:       Jens-Michael Hoffmann <jensmh () gmx ! de>
Date:       2010-04-10 14:21:50
Message-ID: 20100410142150.92BABAC894 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1113336 by jmhoffmann:

GeoSceneSettings: declare methods propertyAvailable and propertyValue const.

 M  +2 -2      GeoSceneSettings.cpp  
 M  +2 -2      GeoSceneSettings.h  


--- trunk/KDE/kdeedu/marble/src/lib/geodata/scene/GeoSceneSettings.cpp #1113335:1113336
@@ -54,7 +54,7 @@
     delete d;
 }
 
-bool GeoSceneSettings::propertyAvailable( const QString& name, bool& available )
+bool GeoSceneSettings::propertyAvailable( const QString& name, bool& available ) const
 {
     mDebug() << "GeoSceneSettings::propertyAvailable" << name;
     QVector<GeoSceneProperty*>::const_iterator it = d->m_properties.constBegin();
@@ -105,7 +105,7 @@
     return false;
 }
 
-bool GeoSceneSettings::propertyValue( const QString& name, bool& value )
+bool GeoSceneSettings::propertyValue( const QString& name, bool& value ) const
 {
     mDebug() << "GeoSceneSettings::propertyValue" << name;
     QVector<GeoSceneProperty*>::const_iterator it = d->m_properties.constBegin();
--- trunk/KDE/kdeedu/marble/src/lib/geodata/scene/GeoSceneSettings.h #1113335:1113336
@@ -57,7 +57,7 @@
      * @return @c true  the property was registered across groups
      *         @c false the property wasn't registered across groups
      */
-    bool propertyAvailable( const QString& name, bool& available  );
+    bool propertyAvailable( const QString& name, bool& available ) const;
 
     /**
      * @brief  Set the value of a property across groups
@@ -75,7 +75,7 @@
      * @return @c true  the property was found and returned accordingly
      *         @c false the property couldn't be found in this group
      */
-    bool propertyValue( const QString& name, bool& value  );
+    bool propertyValue( const QString& name, bool& value ) const;
 
     /**
      * @brief  Get the whole list of properties stored in the settings
[prev in list] [next in list] [prev in thread] [next in thread] 

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