QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
27 class CORE_EXPORT QgsSymbologyV2Conversion
28 {
29  public:
30 
32  static QgsFeatureRendererV2* readOldRenderer( const QDomNode& layerNode, QGis::GeometryType geomType );
33 
34  static QString penStyle2QString( Qt::PenStyle penstyle );
35  static Qt::PenStyle qString2PenStyle( QString string );
36  static QString brushStyle2QString( Qt::BrushStyle brushstyle );
37  static Qt::BrushStyle qString2BrushStyle( QString string );
38 };
39 
40 #endif // QGSSYMBOLOGYV2CONVERSION_H
GeometryType
Definition: qgis.h:155
This class is not a part of public API, it is intended only for compatibility with older versions of ...