QGIS API Documentation  2.18.21-Las Palmas (9fba24a)
qgssymbologyv2conversion.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgssymbologyv2conversion.h
3  ---------------------
4  begin : December 2009
5  copyright : (C) 2009 by Martin Dobias
6  email : wonder dot sk at gmail dot com
7  ***************************************************************************
8  * *
9  * This program is free software; you can redistribute it and/or modify *
10  * it under the terms of the GNU General Public License as published by *
11  * the Free Software Foundation; either version 2 of the License, or *
12  * (at your option) any later version. *
13  * *
14  ***************************************************************************/
15 #ifndef QGSSYMBOLOGYV2CONVERSION_H
16 #define QGSSYMBOLOGYV2CONVERSION_H
17 
18 class QDomNode;
19 
21 
22 #include "qgis.h"
23 
24 #include <Qt>
25 
28 class CORE_EXPORT QgsSymbologyV2Conversion
29 {
30  public:
31 
33  static QgsFeatureRendererV2* readOldRenderer( const QDomNode& layerNode, QGis::GeometryType geomType );
34 
35  static QString penStyle2QString( Qt::PenStyle penstyle );
36  static Qt::PenStyle qString2PenStyle( const QString& string );
37  static QString brushStyle2QString( Qt::BrushStyle brushstyle );
38  static Qt::BrushStyle qString2BrushStyle( const QString& string );
39 };
40 
41 #endif // QGSSYMBOLOGYV2CONVERSION_H
GeometryType
Definition: qgis.h:115
This class is not a part of public API, it is intended only for compatibility with older versions of ...