Skip to content
Permalink
Browse files

Added missing colour accessor/mutator/member from composerlegenditem …

…header
  • Loading branch information
timlinux committed Jul 5, 2011
1 parent e355a60 commit 8799cc950a225d775007f128c81e1c911b17020d
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/core/composer/qgscomposerlegenditem.h
@@ -125,8 +125,12 @@ class CORE_EXPORT QgsComposerRasterSymbolItem: public QgsComposerLegendItem
QString layerID() const { return mLayerID; }
ItemType itemType() const { return RasterSymbolItem; }

void setColor( const QColor& c ){ mColor = c; }
QColor color() const { return mColor; }

private:
QString mLayerID;
QColor mColor;
};

class CORE_EXPORT QgsComposerLayerItem: public QgsComposerLegendItem

0 comments on commit 8799cc9

Please sign in to comment.
You can’t perform that action at this time.