diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 04:12:51 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 04:12:51 +0000 |
commit | 560378aaca1784ba19806a0414a32b20c744de39 (patch) | |
tree | ce0dfd7c3febf2a1adc7603d1019a8be2083c415 /kdoctools/meinproc.cpp | |
parent | d4d5af1cdbd3cc65d095e0afc5b1f4260091cf5d (diff) | |
download | tdelibs-560378aaca1784ba19806a0414a32b20c744de39.tar.gz tdelibs-560378aaca1784ba19806a0414a32b20c744de39.zip |
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdoctools/meinproc.cpp')
-rw-r--r-- | kdoctools/meinproc.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kdoctools/meinproc.cpp b/kdoctools/meinproc.cpp index dd2e194e6..cb0587d52 100644 --- a/kdoctools/meinproc.cpp +++ b/kdoctools/meinproc.cpp @@ -191,7 +191,7 @@ int main(int argc, char **argv) { return 1; } } else { - kdWarning() << "couldn't find xmllint" << endl; + kdWarning() << "couldn't tqfind xmllint" << endl; } #if !defined(PATH_MAX) && defined(__GLIBC__) free( pwd_buffer ); @@ -212,7 +212,7 @@ int main(int argc, char **argv) { QCStringList::ConstIterator end = paramList.end(); for ( ; it != end; ++it ) { const TQCString tuple = *it; - const int ch = tuple.find( '=' ); + const int ch = tuple.tqfind( '=' ); if ( ch == -1 ) { kdError() << "Key-Value tuple '" << tuple << "' lacks a '='!" << endl; return( 2 ); @@ -282,7 +282,7 @@ int main(int argc, char **argv) { goto end; } - if (output.find( "<FILENAME " ) == -1 || args->isSet( "stdout" ) || args->isSet("output") ) + if (output.tqfind( "<FILENAME " ) == -1 || args->isSet( "stdout" ) || args->isSet("output") ) { TQFile file; if (args->isSet( "stdout" ) ) { @@ -294,7 +294,7 @@ int main(int argc, char **argv) { file.setName( "index.html" ); file.open(IO_WriteOnly); } - replaceCharsetHeader( output ); + tqreplaceCharsetHeader( output ); TQCString data = output.local8Bit(); file.writeBlock(data.data(), data.length()); @@ -302,19 +302,19 @@ int main(int argc, char **argv) { } else { int index = 0; while (true) { - index = output.find("<FILENAME ", index); + index = output.tqfind("<FILENAME ", index); if (index == -1) break; int filename_index = index + strlen("<FILENAME filename=\""); TQString filename = output.mid(filename_index, - output.find("\"", filename_index) - + output.tqfind("\"", filename_index) - filename_index); TQString filedata = splitOut(output, index); TQFile file(filename); file.open(IO_WriteOnly); - replaceCharsetHeader( filedata ); + tqreplaceCharsetHeader( filedata ); TQCString data = fromUnicode( filedata ); file.writeBlock(data.data(), data.length()); file.close(); |