This page will contain the visual changelog for QGIS 1.0.0. Please use t2t markup inside the curly brakets below.



= Developer Notes =


In making cleanups before 1.0 feature freeze we have made numerous consistency fixes to the gui api. This will affect all plugins which will need minor adjustments in order to work again. Please see the notes for a detailed list of changes we have made.  Obviously we realise these changes will inconvenience many plugin and third party application writers, but it was important to make them now before we start the QGIS 1.x  release series. In the 1.x series we will be guaranteeing backwards API compatibility between 1.x releases - something we have not offered to this point. This guarantee is a double edged sword - it will make it much easier to write long lived QGIS based applications, but it will also drastically reduce the flexibility we will have to make substantial improvements to the API.


Thank you all for your understanding in this and let us know if you need any help in porting your application or plugin to the updated API.


List of key changes follow:

QgsMapRender has been renamed to QgsMapRenderer (and its include file is now #include <qgsmaprenderer.h>)
QgsMapCanvas::mapRender() is now QgsMapCanvas::mapRenderer()
QgsLayerProjectionSelector is now called QgsGenericProjectionSelector. To get the same behaviour as the original 
QgsLayerProjectionSelector call the new setMessage() method with no arguments. 
QgsProviders now use rewind() instead of reset() to return to the start of the selected features

```
QgsGenericProjectionSelector mySelector;
mySelector->setMessage();
```

QgsApplication::themePath() is deprecated, instead you should use QgsApplication::defaultThemePath() or probably more likely 
you will want to use the new QgsApplication::activeThemePath(). On a side note, you should update your theme logic so that if 
an icon in the active theme is not found it will fall back to default path. There are two static convenience functions : 

```
QPixmap QgisApp::getThemePixmap(const QString theName)
QIcon QgisApp::getThemeIcon(const QString theName)
``` 

that will manage this for you. If you are writing third party code that doesnt have access to QgisApp, you can copy and 
paste this method if needed.


API Changes as an rpl instruction list:


Using rpl (sudo apt-get install rpl) in preview mode (remove -s to make it work for real)

```
#!/bin/bash

# Please use this script with caution on a backup copy of your sources!
# Note this list is not exhaustive and you may need to do some manual tweaking 
# and / or disable selected lines below to get the desired result

# Tim Sutton August 2006

rpl -R -x .cpp -x .h -x .sip "DOM" "Dom" *
rpl -R -x .cpp -x .h -x .sip "setXmin" "setXMinimum" *
rpl -R -x .cpp -x .h -x .sip "setXmax" "setXMaximum" *
rpl -R -x .cpp -x .h -x .sip "layerCoordsToOutputCoords" "layerToMapCoordinates" *
rpl -R -x .cpp -x .h -x .sip "coordXForm" "coordinateTransform" *
rpl -R -x .cpp -x .h -x .sip "layerCoordsToOutputCoords" "layerToMapCoordinates" *
rpl -R -x .cpp -x .h -x .sip "outputCoordsToLayerCoords" "mapToLayerCoordinates" *
rpl -R -x .cpp -x .h -x .sip "renderContext" "rendererContext" *
rpl -R -x .cpp -x .h -x .sip "dirty()" "isDirty()" *
rpl -R -x .cpp -x .h -x .sip "filename( QString" "setFilename( QString" *
rpl -R -x .cpp -x .h -x .sip "filename(" "setFilename(" *
rpl -R -x .cpp -x .h -x .sip "transformInPlace" "transform" *
rpl -R -x .cpp -x .h -x .sip "asWKTCoords" "asWktCoordinates" *
rpl -R -x .cpp -x .h -x .sip "stringRep" "toString" *
rpl -R -x .cpp -x .h -x .sip "coordTransform" "coordinateTransform" *
rpl -R -x .cpp -x .h -x .sip "minValue" "minimumValue" *
rpl -R -x .cpp -x .h -x .sip "setLabelOn" "enableLabels" *
rpl -R -x .cpp -x .h -x .sip "labelOn" "hasLabelsEnabled" *
rpl -R -x .cpp -x .h -x .sip "wasModified" "layerModified" *
rpl -R -x .cpp -x .h -x .sip "getDataProvider" "dataProvider" *
rpl -R -x .cpp -x .h -x .sip "mupp" "mapUnitsPerPixel" *
rpl -R -x .cpp -x .h -x .sip "Mupp" "MapUnitsPerPixel" *
rpl -R -x .cpp -x .h -x .sip "QgsSpatialRefSys" "QgsCoordinateReferenceSystem" *
rpl -R -x .cpp -x .h -x .sip "qgsspatialrefsys" "qgscoordinatereferencesystem" *
rpl -R -x .cpp -x .h -x .sip "SRS" "CRS" *
rpl -R -x .cpp -x .h -x .sip "qgsspatialrefsys" "qgscoordinatereferencesystem" *
rpl -R -x .cpp -x .h -x .sip "setFilename()" "fileName()" *
rpl -R -x .cpp -x .h -x .sip "ilename" "ileName" *
rpl -R -x .cpp -x .h -x .sip "ayername" "ayerName" *
rpl -R -x .cpp -x .h -x .sip "CRSID" "CrsId" *
rpl -R -x .cpp -x .h -x .sip "QgsCoordinateReferenceSystem::QGIS_CrsId" "QgsCoordinateReferenceSystem::QGIS_CRS_ID" *
rpl -R -x .cpp -x .h -x .sip "createFromSrsId" "createFromCrsId" *
rpl -R -x .cpp -x .h -x .sip "srs()" "crs()" *
rpl -R -x .cpp -x .h -x .sip "srsid()" "crsid()" *
rpl -R -x .cpp -x .h -x .sip "crsid()" "crsId()" *
rpl -R -x .cpp -x .h -x .sip "CRS_TYPE" "CrsType" *
rpl -R -x .cpp -x .h -x .sip "QGIS_CRS_ID" "QgisCrsId" *
rpl -R -x .cpp -x .h -x .sip "QGIS_CRS_ID" "QgisCrsId" *
rpl -R -x .cpp -x .h -x .sip "POSTGIS_SRID" "PostgisCrsId" *
rpl -R -x .cpp -x .h -x .sip "QGIS_CrsId" "QgisCrsId" *
rpl -R "FORWARD" "ForwardTransform" .
rpl -R "REVERSE" "ReverseTransform" .
rpl -R "CRS_TYPE" "CrsType" .
rpl -R "QGIS_CRSID" "InternalCrsId" .
rpl -R "POSTGIS_SRID" "PostgisCrsId" .
rpl -R "EPSG" "EpsgCrsId" .
rpl -R "setSrsId" "setInternalId" .
rpl -R -x .cpp -x .h -x .sip "setSelectedCRSName" "setSelectedCrsName" *
rpl -R -x .cpp -x .h -x .sip "USER_PROJECTION_START_Id" "UserProjectionStartId" *
rpl -R -x .cpp -x .h -x .sip "USER_PROJECTION_START_ID" "UserProjectionStartId" *
rpl -R -x .cpp -x .h -x .sip "EPSG" "Epsg" *
rpl -R -x .cpp -x .h -x .ui -x .sip "EPSGID" "EpsgId" *
rpl -R -x .cpp -x .h -x .ui -x .sip "getSelectedSRID" "getSelectedCrsId" *
#provider
rpl -R -x .cpp -x .h -x .sip "setFetchFeaturesWithoutGeom" "enableGeometrylessFeatures" *
rpl -R -x .cpp -x .h -x .sip "indexFromFieldName" "fieldNameIndex" *
#vector layer
rpl -R -x .cpp -x .h -x .sip "deleteVertexAt" "deleteVertex" *
rpl -R -x .cpp -x .h -x .sip "moveVertexAt" "moveVertex" *
rpl -R -x .cpp -x .h -x .sip "insertVertexBefore" "insertVertex" *

rpl -R -x .cpp -x .h -x .sip "getMapCanvas" "mapCanvas" *
rpl -R -x .cpp -x .h -x .sip "getMainWindow" "mainWindow" *
rpl -R -x .cpp -x .h -x .sip "addPluginMenu" "addPluginToMenu" *
rpl -R -x .cpp -x .h -x .sip "getToolBox" "toolBox" *
rpl -R -x .cpp -x .h -x .sip "dirOnly" "isDirOnly" *
rpl -R -x .cpp -x .h -x .sip "fileOnly" "isFileOnly" *
rpl -R -x .cpp -x .h -x .sip "getCurrentSRSID" "currentCrsId" *
rpl -R -x .cpp -x .h -x .sip "getCurrentCRSID" "currentCrsId" *
rpl -R -x .cpp -x .h -x .sip "getCurrentCrsId" "currentCrsId" *
rpl -R -x .cpp -x .h -x .sip "getCurrentEpsg" "currentEpsg" *
rpl -R -x .cpp -x .h -x .sip "setSelectedCRSID" "setSelectedCrsId" *
rpl -R -x .cpp -x .h -x .sip "getSelectedCRSID" "selectedCrsId" *


rpl -R -x .cpp -x .h -x .sip "getSelectedSRID" "getSelectedPostgresSrId" *
rpl -R -x .cpp -x .h -x .sip "getSelectedPostgresSrId" "selectedPostgresSrId"*
rpl -R -x .cpp -x .h -x .sip "getSelectedProj4String" "selectedProj4String" *
rpl -R -x .cpp -x .h -x .sip "getSelectedEpsg" "selectedEpsg" *
rpl -R -x .cpp -x .h -x .sip "getSelectedName" "selectedName" *
rpl -R -x .cpp -x .h -x .sip "setSelectedCRSName" "setSelectedCrsName" *
rpl -R -x .cpp -x .h -x .sip "applyUserProjList" "loadUserCrsList" *
rpl -R -x .cpp -x .h -x .sip "applyProjList" "loadCrsList" *
rpl -R -x .cpp -x .h -x .sip "stringSQLSafe" "sqlSafeString" *


rpl -R -x .cpp -x .h -x .sip "visible()" "isVisible()" *
rpl -R -x .cpp -x .h -x .sip "inOverview" "isInOverview" *
rpl -R -x .cpp -x .h -x .sip "getScale" "scale" *
rpl -R -x .cpp -x .h -x .sip "zoomFullExtent" "zoomToFullExtent" *
rpl -R -x .cpp -x .h -x .sip "zoomPrevious" "zoomToPrevious" *
rpl -R -x .cpp -x .h -x .sip "useQImageToRender" "useImageToRender" *
rpl -R -x .cpp -x .h -x .sip "updateCanvasItemsPositions" "updateCanvasItemPositions" *
rpl -R -x .cpp -x .h -x .sip "setbgColor" "setBackgroundColor" *
rpl -R -x .cpp -x .h -x .sip "toMapCoords" "toMapCoordinates" *
rpl -R -x .cpp -x .h -x .sip "toLayerCoords" "toLayerCoordinates" *
rpl -R -x .cpp -x .h -x .sip "toCanvasCoords" "toCanvasCoordinates" *
rpl -R "METERS" "Meters" .
rpl -R "FEET" "Feet" .
rpl -R "DEGREES" "Degrees" .
rpl -R "getZpos" "layer" .
rpl -R "getNextFeature" "nextFeature" .
rpl -R "getFeatureAtId" "featureAtId" .
rpl -R "getDefaultValue" "defaultValue" .
rpl -R "allAttributesList" "attributeIndexes" .
rpl -R "UNKNOWN" "Unknown" .
rpl -R "PROJECTION" "CRS" .
rpl -R "WKBTYPE" "WkbType" .
rpl -R "VectorType" "GeometryType" .
rpl -R "QGis::units" "QGis::UnitType" .
rpl -R "type" "type" .
rpl -R "qgisVersionInt" "QGIS_VERSION_INT" . 
rpl -R "qgisVersion" "QGIS_VERSION" .
rpl -R "qgisReleaseName" "QGIS_RELEASE_NAME" .
rpl -R "qgisSvnVersion" "QGIS_SVN_VERSION" .
rpl -R "QgsClipper::maxX" "QgsClipper::MAX_X" .
rpl -R "QgsClipper::maxY" "QgsClipper::MAX_Y" .
rpl -R "QgsClipper::minX" "QgsClipper::MIN_X" .
rpl -R "QgsClipper::minY" "QgsClipper::MIN_Y" .

rpl -R "vectorType" "type" .
rpl -R "qgisVersionInt" "QGIS_VERSION_INT" . 
rpl -R "qgisVersion" "QGIS_VERSION" .
rpl -R "qgisReleaseName" "QGIS_RELEASE_NAME" .
rpl -R "qgisSvnVersion" "QGIS_SVN_VERSION" .
rpl -R "UNKNOWN" "Unknown" .
rpl -R "PROJECTION" "CRS" .
rpl -R "WKBTYPE" "WkbType" .
rpl -R "VectorType" "GeometryType" .
rpl -R "QGis::units" "QGis::UnitType" .

rpl -R "LAYERS" "QgsMapLayer::LayerType" .
rpl -R "QgsMapLayer::RASTER" "QgsMapLayer::RasterLayer" .
rpl -R "QgsMapLayer::LAYERS" "QgsMapLayer::LayerType" .

rpl -R "WKT" "Wkt" .
rpl -R "getCRS" "crs" .
rpl -R "connInfo" "connectionInfo" .

rpl -R "setSourceCRS" "setSourceCrs" .
rpl -R "sourceCRS" "sourceCrs" .
rpl -R "projectionsEnabled" "hasCrsTransformEnabled" .
rpl -R "ellipsoidInvFlattening" "ellipsoidInverseFlattening" .
rpl -R "getBearing" "bearing" .


rpl -R "resetDirty" "clean" .
rpl -R "featureId()" "id()" .


rpl -R "isSymbologyCompatible" "hasCompatibleSymbology" .
rpl -R "errorCaptionString" "lastError" .
rpl -R "isSymbologyCompatible" "hasCompatibleSymbology" .
rpl -R "errorCaptionString" "lastErrorTitle" .
rpl -R "setSrs" "setCrs" .
rpl -R "setMinScale" "setMinimumScale" .
rpl -R "setMaximumScale" "setMaximumScale" .
rpl -R "setMaxScale" "setMaximumScale" .
rpl -R "minScale" "minimumScale" .
rpl -R "maximumScale" "maximumScale" .
rpl -R "maxScale" "maximumScale" .


rpl -R "setScaleBasedVisibility" "toggleScaleBasedVisibility" .
rpl -R "scaleBasedVisibility" "hasScaleBasedVisibility" .


rpl -R "scaleBasedVisibility" "hasScaleBasedVisibility" .
rpl -R "SIGNAL( setStatus" "SIGNAL( statusChanged" .
rpl -R "SIGNAL( setStatus" "SIGNAL( statusChanged" .
rpl -R "SIGNAL(setStatus" "SIGNAL( statusChanged" .
rpl -R "SIGNAL( setStatus" "SIGNAL( statusChanged" .
rpl -R "emit setStatus" "emit statusChanged" .
rpl -R "OUTPUT_UNITS" "OutputUnits" ../src/ .
rpl -W -R "MM" "Millimeters" .


rpl -R "distArea" "distanceArea" .
rpl -R "setOverview" "enableOverviewMode" .
rpl -R "warnOlderProjectVersion" "oldProjectVersionWarning" .
rpl -R "numberFeatures" "featureCount" .
rpl -R "numberFeatures" "featuresCountes" .
rpl -R  "featuresCountes" "featuresCounted" .
rpl -R "getMetadata" "metadata" .
rpl -R "setCoordTransform" "setCoordinateTransform" .
rpl -R "setEmpty()" "clear()" .
rpl -R "SNAP_TO" "SnappingType" .
rpl -R "SnappingType_VERTEX" "SnapToVertex" .
rpl -R "SnappingType_SEGMENT" "SnapToSegment" .
rpl -R "SnapToVertex_AND_SEGMENT" "SnapToVertexAndSegment" .
rpl -R "SNAP_MODE" "SnappingMode" .
rpl -R "ONE_RESULT" "SnapWithOneResult" .
rpl -R "SEVERAL_RESULTS_SAME_POSITION" "SnapWithResultsForSamePosition" .
rpl -R "ALL_RESULTS_WITHIN_GIVEN_TOLERANCES" "SnapWithResultsWithinTolerances" .

#
# Raster
#
rpl -R -x .cpp -x .h -x .sip "getAlphaValue" "alphaValue" src/ python/
rpl -R -x .cpp -x .h -x .sip "getTransparentThreeValuePixelList" "transparentThreeValuePixelList" src/ python/
rpl -R -x .cpp -x .h -x .sip "getTransparentSingleValuePixelList" "transparentSingleValuePixelList" src/ python/
rpl -R -x .cpp -x .h -x .sip "generateShadedValue" "shade" src/ python/
rpl -R -x .cpp -x .h -x .sip "getRasterShaderFunction" "rasterShaderFunction" src/ python/
rpl -R -x .cpp -x .h -x .sip "getMinimumValue" "minimumValue" src/core/ src/app  python/
rpl -R -x .cpp -x .h -x .sip "getMaximumValue" "maximumValue" src/core/ src/app  python/     
rpl -R -x .cpp -x .h -x .sip "bandNo" "bandNumber" src/ python/
rpl -R -x .cpp -x .h -x .sip "histogramOutOfRangeFlag" "isHistogramOutOfRange" src/ python/
rpl -R -x .cpp -x .h -x .sip "histogramEstimatedFlag" "isHistogramEstimated" src/ python/
rpl -R -x .cpp -x .h -x .sip "maxVal" "maximumValue" src/ python/
rpl -R -x .cpp -x .h -x .sip "minVal" "minimumValue" src/ python/
rpl -R -x .cpp -x .h -x .sip "statsGatheredFlag" "statsGathered" src/ python/
rpl -R -x .cpp -x .h -x .sip "sumSqrDev" "sumOfSquares" src/ python/
rpl -R -x .cpp -x .h -x .sip "stretch" "enhanceContrast" src/core/ src/app  python/
rpl -R -x .cpp -x .h -x .sip "enhanceValue" "enhance" src/ python/
rpl -R -x .cpp -x .h -x .sip "getMaximumPossibleValue" "maximumValuePossible" src/ python/
rpl -R -x .cpp -x .h -x .sip "getMinimumPossibleValue" "minimumValuePossible" src/ python/
rpl -R -x .cpp -x .h -x .sip "getColorRampItemList" "colorRampItemList" src/ python/
rpl -R -x .cpp -x .h -x .sip "getColorRampType" "colorRampType" src/ python/
rpl -R -x .cpp -x .h -x .sip "getMaximumColorCacheSize" "maximumColorCacheSize" src/ python/
rpl -R -x .cpp -x .h -x .sip "getDiscreteColor" "discreteColor" src/ python/
rpl -R -x .cpp -x .h -x .sip "getExactColor" "exactColor" src/ python/
rpl -R -x .cpp -x .h -x .sip "getInterpolatedColor" "interpolatedColor" src/ python/
rpl -R -x .cpp -x .h -x .sip "getInvertHistogramFlag" "invertHistogram" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "getNoDataValue" "noDataValue" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "drawThumbnail" "thumbnailAsPixmap" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "getPaletteAsPixmap" "paletteAsPixmap" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "getRasterXDim" "width" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "getRasterYDim" "height" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "getStdDevsToPlot" "standardDeviations" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "setStdDevsToPlot" "setStandardDeviations" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "getBandCount" "bandCount" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "getRasterBandStats" "bandStatistics" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "getRasterBandName" "bandName" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "getRasterBandNumber" "bandNumber" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "getDrawingStyle" "drawingStyle" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "getRedBandName" "redBandName" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "getGreenBandName" "greenBandName" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "getBlueBandName" "blueBandName" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "getGrayBandName" "grayBandName" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "getRasterTransparency" "rasterTransparency" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "getTransparentBandName" "transparentBandName" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "getContrastEnhancement" "contrastEnhancement" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "getColorShadingAlgorithm" "colorShadingAlgorithm" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "getRasterShader" "rasterShader" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "getRasterLayerType" "layerType" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "getRasterLayerType" "rasterType" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "getHasPyramidsFlag" "hasPyramids" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "getLegendQPixmap" "legendAsPixmap" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "getDetailedLegendQPixmap" "legendAsPixmap" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "getUserDefinedRGBMinMax" "hasUserDefinedRGBMinimumMaximum" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "getUserDefinedGrayMinMax" "hasUserDefinedGrayMinimumMaximum" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "setUserDefinedRGBMinMax" "setUserDefinedRGBMinimumMaximum" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "setUserDefinedGrayMinMax" "setUserDefinedGrayMinimumMaximum" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "setActualRGBMinMaxFlag" "setRGBMinimumMaximumEstimated" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "getActualRGBMinMaxFlag" "isRGBMinimumMaximumEstimated" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "setActualGrayMinMaxFlag" "setGrayMinimumMaximumEstimated" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "getActualGrayMinMaxFlag" "isGrayMinimumMaximumEstimated" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "getColorTable" "colorTable" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "setInvertHistogramFlag" "setInvertHistogram" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "getProjectionWkt" "projectionWkt" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "hasStats" "hasStatistics" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "buildRasterPyramidList" "buildPyramidList" src/ python/ tests/

#Variables name changes ( private variables but impact project files )
rpl -R -x .cpp -x .h -x .sip "mInvertPixelsFlag" "mInvertColor" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "mRasterXDim" "mWidth" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "mRasterYDim" "mHeight" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "rasterLayerType" "mRasterType" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "drawingStyle" "mDrawingStyle" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "mUserDefinedRGBMinMaxFlag" "mUserDefinedRGBMinimumMaximum" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "mUserDefinedGrayMinMaxFlag" "mUserDefinedGrayMinimumMaximum" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "mRGBActualMinimumMaximum" "mRGBMinimumMaximumEstimated" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "mGrayActualMinimumMaximum" "mGrayMinimumMaximumEstimated" src/ python/ tests/

#Enum changes also impacts project files 
#NOTE!! the order of these is important if using rpl becuase of Partial changes occur
rpl -R -x .cpp -x .h -x .sip "COLOR_SHADING_ALGORITHM" "ColorShadingAlgorithm" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "UNDEFINED_SHADING_ALGORITHM" "UndefinedShader" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "PSEUDO_COLOR" "PseudoColorShader" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "FREAK_OUT" "FreakOutShader" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "COLOR_RAMP" "ColorRampShader" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "USER_DEFINED" "UserDefinedShader" src/ python/ tests/

rpl -R -x .cpp -x .h -x .sip "RASTER_LAYER_TYPE" "LayerType" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "GRAY_OR_UNDEFINED" "GrayOrUndefined" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "PALETTE" "Palette" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "MULTIBAND" "Multiband" src/ python/ tests/

rpl -R -x .cpp -x .h -x .sip "DRAWING_STYLE" "DrawingStyle" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "UNDEFINED_DrawingStyle" "UndefinedDrawingStyle" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "SINGLE_BAND_GRAY" "SingleBandGray" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "SINGLE_BAND_PseudoColor" "SingleBandPseudoColor" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "PaletteD_COLOR" "PalettedColor" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "PaletteD_SingleBandGray" "PalettedSingleBandGray" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "PaletteD_SingleBandPseudoColor" "PalettedSingleBandPseudoColor" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "PaletteD_MULTI_BAND_COLOR" "PalettedMultiBandColor" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "MULTI_BAND_SingleBandGray" "MultiBandSingleGandGray" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "MULTI_BAND_SingleBandPseudoColor" "MultiBandSingleBandPseudoColor" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "MULTI_BAND_COLOR" "MultiBandColor" src/ python/ tests/

rpl -R -x .cpp -x .h -x .sip "CONTRAST_ENHANCEMENT_ALGORITHM" "ContrastEnhancementAlgorithm" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "NO_STRETCH" "NoEnhancement" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "STRETCH_TO_MINMAX" "StretchToMinimumMaximum" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "STRETCH_AND_CLIP_TO_MINMAX" "StretchAndClipToMinimumMaximum" src/ python/ tests/
rpl -R -x .cpp -x .h -x .sip "CLIP_TO_MINMAX" "ClipToMinimumMaximum" src/ python/ tests/



#composer

rpl -R "QgsComposerItem::mouseMoveAction" "QgsComposerItem::MouseMoveAction" src/ python/ tools/ tests/
rpl -R "QgsComposerItem::moveItem" "QgsComposerItem::moveItem" src/ tools/ tests/ python/
rpl -R "QgsComposerItem::resizeUp" "QgsComposerItem::ResizeUp" src/ tools/ tests/ python/
rpl -R "QgsComposerItem::moveItem" "QgsComposerItem::MoveItem" src/ tools/ tests/ python/
rpl -R "QgsComposerItem::resizeDown" "QgsComposerItem::ResizeDown" src/ tools/ tests/ python/
rpl -R "QgsComposerItem::resizeLeft" "QgsComposerItem::ResizeLeft" src/ tools/ tests/ python/
rpl -R "QgsComposerItem::resizeLeft" "QgsComposerItem::ResizeLeft" src/ tools/ tests/ python/
rpl -R "QgsComposerItem::resizeRight" "QgsComposerItem::ResizeRight" src/ tools/ tests/ python/
rpl -R "QgsComposerItem::resizeDRightUp" "QgsComposerItem::ResizeRightUp" src/ tools/ tests/ python/
rpl -R "QgsComposerItem::resizeDRightDown" "QgsComposerItem::ResizeRightDown" src/ tools/ tests/ python/
rpl -R "QgsComposerItem::resizeDLeftDown" "QgsComposerItem::ResizeLeftDown" src/ tools/ tests/ python/
rpl -R "QgsComposerItem::resizeDLeftUp" "QgsComposerItem::ResizeLeftUp" src/ tools/ tests/ python/



#
# Gui classes
# 
rpl -R "setBgColor" "setBackgroundColor" src/ python/ tools/ tests/
rpl -R "reflectChangedExtent" "drawExtentRect" src/ python/ tests/ tools/
rpl -R "gotPoint" "canvasClicked" src/ python/ tests/ tools/
rpl -r "yMin()" "yMinimum()" src/ python/ tests/ tools/
rpl -R "yMin()" "yMinimum()" src/ python/ tests/ tools/
rpl -R "xMin()" "xMinimum()" src/ python/ tests/ tools/
rpl -R "xMax()" "xMaximum()" src/ python/ tests/ tools/
rpl -R "yMax()" "yMaximum()" src/ python/ tests/ tools/
rpl -R "QgsRect" "QgsRectangle" src/ python/ tools/ tests/
rpl -R "qgsrect.h" "qgsrectangle.h" src/ python/ tools/ tests/
rpl -R "qgsrect.cpp" "qgsrectangle.cpp" src/ python/ tools/ tests/

```


Manual changes:

* QgsPoint transform(const QgsPoint& p) const -> use 'transformed' as it returns a new object
* enum Type -> has inconsistent names (such as tOperator, tNumber, etc) in qgssearchtreenode.h
* enum Operator -> insonsitent names in qgssearchtreenode.h
* op() -> operator() in qgssearchtreenode.h
* Maybe the class should be renamed to QgsSpatialReferenceSystem in  qgsspatialrefsys.h
* enum SRS_TYPE -> SrsType (values should be capitalized too) in  qgsspatialrefsys.h
* there's the 'equals' function. Maybe 'operator==' should be overriden too  in  qgsspatialrefsys.h
* enum WriterError, some values start with 'Err' such as "ErrDriverNotFound" probably should be renamed to simply "DriverNotFound", etc... in qgsvectorfilewriter.h

VisualChangeLog1.0.0 (last edited 2008-11-28 11:11:53 by BorysJurgiel)