summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/src/opengl/tqglcolormap.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-08-09 22:25:47 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-08-09 22:25:47 -0500
commiteaa7ee2e0bbca40ba3173c4304f81957e8964291 (patch)
tree4f793aa48a5080aedc94ce6e519c3b86708f2b88 /tqtinterface/qt4/src/opengl/tqglcolormap.cpp
parent79a9d7a46a20d4a0923bc06fc471fdc2176ef865 (diff)
downloadexperimental-eaa7ee2e0bbca40ba3173c4304f81957e8964291.tar.gz
experimental-eaa7ee2e0bbca40ba3173c4304f81957e8964291.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains
Diffstat (limited to 'tqtinterface/qt4/src/opengl/tqglcolormap.cpp')
-rw-r--r--tqtinterface/qt4/src/opengl/tqglcolormap.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tqtinterface/qt4/src/opengl/tqglcolormap.cpp b/tqtinterface/qt4/src/opengl/tqglcolormap.cpp
index 6366e8b..3afdb7c 100644
--- a/tqtinterface/qt4/src/opengl/tqglcolormap.cpp
+++ b/tqtinterface/qt4/src/opengl/tqglcolormap.cpp
@@ -255,10 +255,10 @@ int TQGLColormap::size() const
Returns the index of the color \a color. If \a color is not in the
map, -1 is returned.
*/
-int TQGLColormap::tqfind( TQRgb color ) const
+int TQGLColormap::find( TQRgb color ) const
{
if ( d )
- return d->cells.tqfind( color );
+ return d->cells.find( color );
return -1;
}
@@ -266,9 +266,9 @@ int TQGLColormap::tqfind( TQRgb color ) const
Returns the index of the color that is the closest match to color
\a color.
*/
-int TQGLColormap::tqfindNearest( TQRgb color ) const
+int TQGLColormap::findNearest( TQRgb color ) const
{
- int idx = tqfind( color );
+ int idx = find( color );
if ( idx >= 0 )
return idx;
int mapSize = size();