API review: Rename numCols() -> colorCount()
commit8d4f3c94411d21f0b7d851b56f951ad54d64340f
authorMarius Storm-Olsen <marius.storm-olsen@nokia.com>
Fri, 6 Nov 2009 09:36:38 +0000 (6 10:36 +0100)
committerMarius Storm-Olsen <marius.storm-olsen@nokia.com>
Fri, 6 Nov 2009 15:10:02 +0000 (6 16:10 +0100)
treefc84e1c710012c723e6b1806d1439976c00533e7
parente53c26b52c890f242491e0dfed4201313d98f720
API review: Rename numCols() -> colorCount()

The name numCols is ambiguous, as sometimes it's refering to the number
of columns, and sometimes the number of colors. It also does not match
the typical Qt naming convention *Count().

Reviewed-by: Tom Cooksey
Reviewed-by: Andreas Aardal Hanssen
src/gui/embedded/qscreen_qws.cpp
src/gui/embedded/qscreen_qws.h
src/gui/image/qpixmap.cpp
src/gui/image/qpixmap.h
src/gui/image/qpixmap_qws.cpp
src/gui/painting/qcolormap_qws.cpp