Quantum GIS API Documentation
1.8
|
00001 /*************************************************************************** 00002 qgssymbologyv2conversion.h 00003 --------------------- 00004 begin : December 2009 00005 copyright : (C) 2009 by Martin Dobias 00006 email : wonder.sk at gmail.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 QgsSymbol; 00019 class QgsSymbolV2; 00020 class QgsVectorLayer; 00021 00022 class CORE_EXPORT QgsSymbologyV2Conversion 00023 { 00024 public: 00025 00028 static QgsSymbolV2* symbolV1toV2( const QgsSymbol* s ); 00029 00032 static QgsSymbol* symbolV2toV1( QgsSymbolV2* s ); 00033 00036 static void rendererV1toV2( QgsVectorLayer* layer ); 00037 00040 static void rendererV2toV1( QgsVectorLayer* layer ); 00041 00042 }; 00043 00044 #endif // QGSSYMBOLOGYV2CONVERSION_H