diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-08-09 22:25:47 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-08-09 22:25:47 -0500 |
commit | eaa7ee2e0bbca40ba3173c4304f81957e8964291 (patch) | |
tree | 4f793aa48a5080aedc94ce6e519c3b86708f2b88 /tqtinterface/qt4/tools/qembed | |
parent | 79a9d7a46a20d4a0923bc06fc471fdc2176ef865 (diff) | |
download | experimental-eaa7ee2e0bbca40ba3173c4304f81957e8964291.tar.gz experimental-eaa7ee2e0bbca40ba3173c4304f81957e8964291.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
Diffstat (limited to 'tqtinterface/qt4/tools/qembed')
-rw-r--r-- | tqtinterface/qt4/tools/qembed/qembed.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tqtinterface/qt4/tools/qembed/qembed.cpp b/tqtinterface/qt4/tools/qembed/qembed.cpp index 9c11bc2..763340f 100644 --- a/tqtinterface/qt4/tools/qembed/qembed.cpp +++ b/tqtinterface/qt4/tools/qembed/qembed.cpp @@ -80,7 +80,7 @@ int main( int argc, char **argv ) #ifdef TQ_WS_WIN // Since wildcards are not expanded automatically for us on Windows, we need to do // it ourselves - if ( file.tqcontains( '*' ) || file.tqcontains( '?' ) ) { + if ( file.contains( '*' ) || file.contains( '?' ) ) { TQDir d; const TQFileInfoList *fiList = d.entryInfoList( file, TQDir::Files ); TQFileInfoListIterator it(*fiList); @@ -189,10 +189,10 @@ int main( int argc, char **argv ) out << " { 0, 0, 0 }\n};\n"; out << "\n" -"static const TQByteArray& qembed_tqfindData( const char* name )\n" +"static const TQByteArray& qembed_findData( const char* name )\n" "{\n" " static TQDict<TQByteArray> dict;\n" -" TQByteArray* ba = dict.tqfind( name );\n" +" TQByteArray* ba = dict.find( name );\n" " if ( !ba ) {\n" " for ( int i = 0; embed_vec[i].data; i++ ) {\n" " if ( strcmp(embed_vec[i].name, name) == 0 ) {\n" @@ -243,10 +243,10 @@ int main( int argc, char **argv ) out << " { 0, 0, 0, 0, 0, 0, 0, 0 }\n};\n"; out << "\n" -"static const TQImage& qembed_tqfindImage( const TQString& name )\n" +"static const TQImage& qembed_findImage( const TQString& name )\n" "{\n" " static TQDict<TQImage> dict;\n" -" TQImage* img = dict.tqfind( name );\n" +" TQImage* img = dict.find( name );\n" " if ( !img ) {\n" " for ( int i = 0; embed_image_vec[i].data; i++ ) {\n" " if ( strcmp(embed_image_vec[i].name, name.latin1()) == 0 ) {\n" |