summaryrefslogtreecommitdiffstats
path: root/pics/embedtool.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit529c1ea243b4b08398f2728630ae6a1e7933e57b (patch)
tree7e709f0749277a2fc64fa36421f7c1c69c89faf7 /pics/embedtool.cpp
parent6b63f133e6dee6a79f8d592130662fa4d4ed206a (diff)
downloadtwin-style-crystal-529c1ea243b4b08398f2728630ae6a1e7933e57b.tar.gz
twin-style-crystal-529c1ea243b4b08398f2728630ae6a1e7933e57b.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kwin-style-crystal@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'pics/embedtool.cpp')
-rw-r--r--pics/embedtool.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/pics/embedtool.cpp b/pics/embedtool.cpp
index 9549bbb..c1712b9 100644
--- a/pics/embedtool.cpp
+++ b/pics/embedtool.cpp
@@ -109,7 +109,7 @@ void nVIDIAEmbedder::embed( const char *name )
TQString codename( basename );
TQImage image( name );
- codename = codename.tqreplace( TQRegExp("[^a-zA-Z0-9]"), "_" );
+ codename = codename.replace( TQRegExp("[^a-zA-Z0-9]"), "_" );
stream << "static const TQRgb " << codename << "_data[] = {" << endl << "\t";
stream.setf( TQTextStream::hex | TQTextStream::right );
@@ -209,7 +209,7 @@ void nVIDIAEmbedder::writeIndex()
stream << "\t\t\tm_inst = NULL;\n";
stream << "\t\t}\n\n";
stream << "\t\tTQImage *image( const TQString &name ) const {\n";
- stream << "\t\t\treturn db->tqfind( name );\n";
+ stream << "\t\t\treturn db->find( name );\n";
stream << "\t\t}\n\n";
stream << "\t}; // class nVIDIAImageDb\n\n";
stream << "\tnVIDIAImageDb *nVIDIAImageDb::m_inst = NULL;\n\n";