[QGIS Commit] r12328 - in trunk/qgis: python/core src/core/renderer

svn_qgis at osgeo.org svn_qgis at osgeo.org
Thu Dec 3 12:14:06 EST 2009


Author: jef
Date: 2009-12-03 12:14:04 -0500 (Thu, 03 Dec 2009)
New Revision: 12328

Modified:
   trunk/qgis/python/core/qgsuniquevaluerenderer.sip
   trunk/qgis/src/core/renderer/qgsuniquevaluerenderer.h
Log:
apply #1880

Modified: trunk/qgis/python/core/qgsuniquevaluerenderer.sip
===================================================================
--- trunk/qgis/python/core/qgsuniquevaluerenderer.sip	2009-12-03 16:26:57 UTC (rev 12327)
+++ trunk/qgis/python/core/qgsuniquevaluerenderer.sip	2009-12-03 17:14:04 UTC (rev 12328)
@@ -39,6 +39,9 @@
     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/;
 };
 

Modified: trunk/qgis/src/core/renderer/qgsuniquevaluerenderer.h
===================================================================
--- trunk/qgis/src/core/renderer/qgsuniquevaluerenderer.h	2009-12-03 16:26:57 UTC (rev 12327)
+++ trunk/qgis/src/core/renderer/qgsuniquevaluerenderer.h	2009-12-03 17:14:04 UTC (rev 12328)
@@ -63,6 +63,9 @@
     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*/



More information about the QGIS-commit mailing list