[Marble-commits] KDE/kdeedu/marble/src/lib/geodata/scene
Jens-Michael Hoffmann
jensmh at gmx.de
Fri Apr 9 22:21:56 CEST 2010
SVN commit 1113065 by jmhoffmann:
GeoSceneGroup: declare methods propertyAvailable and propertyValue const.
M +2 -2 GeoSceneGroup.cpp
M +2 -2 GeoSceneGroup.h
--- trunk/KDE/kdeedu/marble/src/lib/geodata/scene/GeoSceneGroup.cpp #1113064:1113065
@@ -38,7 +38,7 @@
qDeleteAll( m_properties );
}
-bool GeoSceneGroup::propertyAvailable( const QString& name, bool& available )
+bool GeoSceneGroup::propertyAvailable( const QString& name, bool& available ) const
{
QVector<GeoSceneProperty*>::const_iterator it = m_properties.constBegin();
QVector<GeoSceneProperty*>::const_iterator end = m_properties.constEnd();
@@ -68,7 +68,7 @@
return false;
}
-bool GeoSceneGroup::propertyValue( const QString& name, bool& value )
+bool GeoSceneGroup::propertyValue( const QString& name, bool& value ) const
{
QVector<GeoSceneProperty*>::const_iterator it = m_properties.constBegin();
QVector<GeoSceneProperty*>::const_iterator end = m_properties.constEnd();
--- trunk/KDE/kdeedu/marble/src/lib/geodata/scene/GeoSceneGroup.h #1113064:1113065
@@ -53,7 +53,7 @@
* @return @c true the property was registered in this group
* @c false the property wasn't registered in this group
*/
- bool propertyAvailable( const QString& name, bool& available );
+ bool propertyAvailable( const QString& name, bool& available ) const;
/**
* @brief Set the value of a property in this group
@@ -71,7 +71,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 Add a property to this setting group
More information about the Marble-commits
mailing list