- made some functions const-correct [1]
- minor code beautifying via calls to indent and manual tweaking
Notes:
[0] Generalized endian() to QgsDataProvider since most child implementations
were just copies of the same code. Made endian() virtual so that children are
free to provide their own implementations. Also now use htonl() for endian()
detection and conversion.
However QgsVectorLayer still has separate endian() implementation. This
functionality should probably be further generalized to a QGIS utility
function suite since endian detection is used in multiple locations.
Also now use specific enumerated typedef for endian-ness instead of magic
integer numbers.
[1] Although made great strides in making some members const-correct, there
are still so very many member functions that could be const in all classes
that aren't.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2548 c8812cc2-4d05-0410-92ff-de0c093fc19c
Also made QgsRasterLayer more robust in light of files with poor "no data" and
"min/max" value information.
Note that this hasn't been tested with windows versions.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2156 c8812cc2-4d05-0410-92ff-de0c093fc19c
In the next release I will softcode global font selection in qgsoptions, but I dont have time to do that right now.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1573 c8812cc2-4d05-0410-92ff-de0c093fc19c