Skip to content

Commit

Permalink
Added missing colour accessor/mutator/member from composerlegenditem …
Browse files Browse the repository at this point in the history
…header
  • Loading branch information
timlinux committed Jul 5, 2011
1 parent e355a60 commit 8799cc9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/composer/qgscomposerlegenditem.h
Expand Up @@ -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
Expand Down

0 comments on commit 8799cc9

Please sign in to comment.