26 #ifndef QGSPROJECTFILETRANSFORM_H
27 #define QGSPROJECTFILETRANSFORM_H
30 #include <QDomDocument>
51 mCurrentVersion = version;
61 static void convertRasterProperties( QDomDocument& doc, QDomNode& parentNode, QDomElement& rasterPropertiesElem,
QgsRasterLayer* rlayer );
81 void transform081to090();
82 void transform091to0100();
83 void transform0100to0110();
84 void transform0110to1000();
85 void transform1100to1200();
86 void transform1400to1500();
87 void transform1800to1900();
90 static int rasterBandNumber(
const QDomElement& rasterPropertiesElem,
const QString bandName,
QgsRasterLayer* rlayer );
91 static void transformContrastEnhancement( QDomDocument& doc,
const QDomElement& rasterproperties, QDomElement& rendererElem );
92 static void transformRasterTransparency( QDomDocument& doc,
const QDomElement& orig, QDomElement& rendererElem );
96 #endif //QGSPROJECTFILETRANSFORM_H