27 #ifndef QGSPROJECTFILETRANSFORM_H 28 #define QGSPROJECTFILETRANSFORM_H 30 #include "qgis_core.h" 32 #include <QDomDocument> 56 mCurrentVersion = version;
67 static void convertRasterProperties( QDomDocument &doc, QDomNode &parentNode, QDomElement &rasterPropertiesElem,
QgsRasterLayer *rlayer );
78 static TransformItem sTransformers[];
86 void transformNull() {}
87 void transform081to090();
88 void transform091to0100();
89 void transform0100to0110();
90 void transform0110to1000();
91 void transform1100to1200();
92 void transform1400to1500();
93 void transform1800to1900();
94 void transform2200to2300();
98 static int rasterBandNumber(
const QDomElement &rasterPropertiesElem,
const QString &bandName,
QgsRasterLayer *rlayer );
99 static void transformContrastEnhancement( QDomDocument &doc,
const QDomElement &rasterproperties, QDomElement &rendererElem );
100 static void transformRasterTransparency( QDomDocument &doc,
const QDomElement &orig, QDomElement &rendererElem );
104 #endif //QGSPROJECTFILETRANSFORM_H This class provides qgis with the ability to render raster datasets onto the mapcanvas.
A class to describe the version of a project.