|
QGIS API Documentation
master-59fd5e0
|
00001 /*************************************************************************** 00002 qgssymbologyv2conversion.h 00003 --------------------- 00004 begin : December 2009 00005 copyright : (C) 2009 by Martin Dobias 00006 email : wonder dot sk at gmail dot com 00007 *************************************************************************** 00008 * * 00009 * This program is free software; you can redistribute it and/or modify * 00010 * it under the terms of the GNU General Public License as published by * 00011 * the Free Software Foundation; either version 2 of the License, or * 00012 * (at your option) any later version. * 00013 * * 00014 ***************************************************************************/ 00015 #ifndef QGSSYMBOLOGYV2CONVERSION_H 00016 #define QGSSYMBOLOGYV2CONVERSION_H 00017 00018 class QDomNode; 00019 00020 class QgsFeatureRendererV2; 00021 00022 #include "qgis.h" 00023 00024 #include <Qt> 00025 00027 class CORE_EXPORT QgsSymbologyV2Conversion 00028 { 00029 public: 00030 00032 static QgsFeatureRendererV2* readOldRenderer( const QDomNode& layerNode, QGis::GeometryType geomType ); 00033 00034 00035 static QString penStyle2QString( Qt::PenStyle penstyle ); 00036 static Qt::PenStyle qString2PenStyle( QString string ); 00037 static QString brushStyle2QString( Qt::BrushStyle brushstyle ); 00038 static Qt::BrushStyle qString2BrushStyle( QString string ); 00039 }; 00040 00041 #endif // QGSSYMBOLOGYV2CONVERSION_H