1880_uniquevaluesym.diff

Jürgen Fischer, 2009-08-18 08:59 AM

Download (2.07 KB)

View differences:

src/core/renderer/qgsuniquevaluerenderer.cpp (working copy)
84 84
  return symbollist;
85 85
}
86 86

  
87
const QMap<QString, QgsSymbol *> QgsUniqueValueRenderer::symbolMap() const
88
{
89
  return mSymbols;
90
}
91

  
87 92
void QgsUniqueValueRenderer::insertValue( QString name, QgsSymbol* symbol )
88 93
{
89 94
  mSymbols.insert( name, symbol );
src/core/renderer/qgsuniquevaluerenderer.h (working copy)
43 43
    */
44 44
    int readXML( const QDomNode& rnode, QgsVectorLayer& vl );
45 45
    /**Writes the contents of the renderer to a configuration file
46
     @ return true in case of success*/
46
     @return true in case of success*/
47 47
    virtual bool writeXML( QDomNode & layer_node, QDomDocument & document, const QgsVectorLayer& vl ) const;
48 48
    /** Returns true, if attribute values are used by the renderer and false otherwise*/
49 49
    bool needsAttributes() const;
......
63 63
    int classificationField() const;
64 64
    /**Return symbology items*/
65 65
    const QList<QgsSymbol*> symbols() const;
66
    /**Return the classification map
67
       @note added in 1.3 */
68
    const QMap<QString, QgsSymbol*> symbolMap() const;
66 69
    QgsRenderer* clone() const;
67 70
  protected:
68 71
    /**Field index used for classification*/
python/core/qgsuniquevaluerenderer.sip (working copy)
39 39
    int classificationField();
40 40
    /**Return symbology items*/
41 41
    const QList<QgsSymbol*> symbols() const;
42
    /**Return classification symbology
43
       @note added in 1.3 */
44
    const QMap<QString, QgsSymbol*> symbolMap() const;
42 45
    QgsRenderer* clone() const /Factory/;
43 46
};
44 47