From 529c1ea243b4b08398f2728630ae6a1e7933e57b Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: 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 --- pics/embedtool.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pics') 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"; -- cgit v1.2.1