Skip to content

Commit

Permalink
apply #1880
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12328 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Dec 3, 2009
1 parent 6509bc2 commit 29b55d6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/core/qgsuniquevaluerenderer.sip
Expand Up @@ -39,6 +39,9 @@ class QgsUniqueValueRenderer : QgsRenderer
int classificationField();
/**Return symbology items*/
const QList<QgsSymbol*> symbols() const;
/**Return the classification map
@note added in 1.4 */
const QMap<QString, QgsSymbol*> symbolMap() const;
QgsRenderer* clone() const /Factory/;
};

3 changes: 3 additions & 0 deletions src/core/renderer/qgsuniquevaluerenderer.h
Expand Up @@ -63,6 +63,9 @@ class CORE_EXPORT QgsUniqueValueRenderer: public QgsRenderer
int classificationField() const;
/**Return symbology items*/
const QList<QgsSymbol*> symbols() const { return mSymbols.values(); }
/**Return the classification map
@note added in 1.4 */
const QMap<QString, QgsSymbol*> symbolMap() const { return mSymbols; }
QgsRenderer* clone() const;
protected:
/**Field index used for classification*/
Expand Down

0 comments on commit 29b55d6

Please sign in to comment.