[Marble-devel] [PATCH 11/13] MergedLayerDecorator: improve constness.
Jens-Michael Hoffmann
jensmh at gmx.de
Tue Mar 30 20:36:30 CEST 2010
MergedLayerDecorator: improve constness.
---
marble/src/lib/MergedLayerDecorator.cpp | 4 ++--
marble/src/lib/MergedLayerDecorator.h | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/marble/src/lib/MergedLayerDecorator.cpp b/marble/src/lib/MergedLayerDecorator.cpp
index f638224..d6d5c08 100644
--- a/marble/src/lib/MergedLayerDecorator.cpp
+++ b/marble/src/lib/MergedLayerDecorator.cpp
@@ -39,7 +39,7 @@ void MergedLayerDecorator::paint( const QString& themeId )
}
}
-void MergedLayerDecorator::setShowTileId( bool visible )
+void MergedLayerDecorator::setShowTileId( bool const visible )
{
m_showTileId = visible;
}
@@ -111,7 +111,7 @@ void MergedLayerDecorator::paintTileId( const QString& themeId )
painter.drawPath( outlinepath );
}
-void MergedLayerDecorator::setTile( QImage* tile )
+void MergedLayerDecorator::setTile( QImage * const tile )
{
m_tile = tile;
}
diff --git a/marble/src/lib/MergedLayerDecorator.h b/marble/src/lib/MergedLayerDecorator.h
index 9394610..b58f3b2 100644
--- a/marble/src/lib/MergedLayerDecorator.h
+++ b/marble/src/lib/MergedLayerDecorator.h
@@ -38,10 +38,10 @@ class MergedLayerDecorator : public QObject
void paint( const QString& themeId );
void paintTileId( const QString& themeId );
- void setShowTileId( bool show );
+ void setShowTileId( bool const show );
bool showTileId() const;
- void setTile( QImage* tile );
+ void setTile( QImage * const tile );
void setInfo( TileId const &id );
Q_SIGNALS:
--
1.7.0.3
More information about the Marble-devel
mailing list