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/qmake/generators/win32/msvc_objectmodel.cpp | |
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/qmake/generators/win32/msvc_objectmodel.cpp')
-rw-r--r-- | tqtinterface/qt4/qmake/generators/win32/msvc_objectmodel.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tqtinterface/qt4/qmake/generators/win32/msvc_objectmodel.cpp b/tqtinterface/qt4/qmake/generators/win32/msvc_objectmodel.cpp index cedcb01..b114ced 100644 --- a/tqtinterface/qt4/qmake/generators/win32/msvc_objectmodel.cpp +++ b/tqtinterface/qt4/qmake/generators/win32/msvc_objectmodel.cpp @@ -317,7 +317,7 @@ TQTextStream &operator<<( TQTextStream &strm, const XPair &prop ) { if ( !prop.value.isEmpty() ) { TQString outText = prop.value.join(prop.sep); - strm << prop.name << outText.tqreplace('\"', """) << "\""; + strm << prop.name << outText.replace('\"', """) << "\""; } return strm; } @@ -1883,7 +1883,7 @@ VCFilter::VCFilter() void VCFilter::addTQMOCstage( TQTextStream & /*strm*/, TQString filename ) { - TQString tqmocOutput = Project->tqfindMocDestination( filename ); + TQString tqmocOutput = Project->findMocDestination( filename ); TQString tqmocApp = Project->var( "TQMAKE_TQMOC" ); bool inputMoc = false; @@ -1891,7 +1891,7 @@ void VCFilter::addTQMOCstage( TQTextStream & /*strm*/, TQString filename ) // In specialcases we DO tqmoc .cpp files // when the result is an .tqmoc file tqmocOutput = filename; - filename = Project->tqfindMocSource( tqmocOutput ); + filename = Project->findMocSource( tqmocOutput ); inputMoc = true; } @@ -1923,7 +1923,7 @@ void VCFilter::addUICstage( TQTextStream & /*strm*/, TQString str ) TQString uiSources; // Determining the paths for the output files. - int slash = str.tqfindRev( '\\' ); + int slash = str.findRev( '\\' ); TQString pname = ( slash != -1 ) ? str.left( slash+1 ) : TQString( ".\\" ); if( !uiDir.isEmpty() ) { uiHeaders = uiDir; @@ -1942,7 +1942,7 @@ void VCFilter::addUICstage( TQTextStream & /*strm*/, TQString str ) uiSources += "\\"; // Determine the file name. - int dot = fname.tqfindRev( '.' ); + int dot = fname.findRev( '.' ); if( dot != -1 ) fname.truncate( dot ); @@ -2035,9 +2035,9 @@ bool VCFilter::addIMGstage( TQTextStream &/*strm*/, TQString str ) + " -f .imgcol -o " + collectionName; // The loop below is to avoid the resulting CommandLine buffer - // from being a size of between 2071-#char_tqreplaced and 2102, + // from being a size of between 2071-#char_replaced and 2102, // as this triggers a buffer overflow bug in VS2003. As we only - // the only tqreplacement we use in this buffer is one $(TQTDIR), + // the only replacement we use in this buffer is one $(TQTDIR), // we assume this can be upto 256 characters long, making the // lower-bound to be 1814 characters. So, if the buffer is // between 1814 and 2103 bytes, the buffer is "padded" til it's |