diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 03:45:53 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 03:45:53 +0000 |
commit | 10308be19ef7fa44699562cc75946e7ea1fdf6b9 (patch) | |
tree | 4bc444c00a79e88105f2cfce5b6209994c413ca0 /kdoctools/meinproc.cpp | |
parent | 307136d8eef0ba133b78ceee8e901138d4c996a1 (diff) | |
download | tdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.tar.gz tdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.zip |
Revert automated changes
Sorry guys, they are just not ready for prime time
Work will continue as always
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1212479 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdoctools/meinproc.cpp')
-rw-r--r-- | kdoctools/meinproc.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kdoctools/meinproc.cpp b/kdoctools/meinproc.cpp index 73db67ea5..dd2e194e6 100644 --- a/kdoctools/meinproc.cpp +++ b/kdoctools/meinproc.cpp @@ -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.tqfind( '=' ); + const int ch = tuple.find( '=' ); 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.tqfind( "<FILENAME " ) == -1 || args->isSet( "stdout" ) || args->isSet("output") ) + if (output.find( "<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); } - tqreplaceCharsetHeader( output ); + replaceCharsetHeader( 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.tqfind("<FILENAME ", index); + index = output.find("<FILENAME ", index); if (index == -1) break; int filename_index = index + strlen("<FILENAME filename=\""); TQString filename = output.mid(filename_index, - output.tqfind("\"", filename_index) - + output.find("\"", filename_index) - filename_index); TQString filedata = splitOut(output, index); TQFile file(filename); file.open(IO_WriteOnly); - tqreplaceCharsetHeader( filedata ); + replaceCharsetHeader( filedata ); TQCString data = fromUnicode( filedata ); file.writeBlock(data.data(), data.length()); file.close(); |