From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kode/kxml_compiler/kxml_compiler.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'kode/kxml_compiler/kxml_compiler.cpp') diff --git a/kode/kxml_compiler/kxml_compiler.cpp b/kode/kxml_compiler/kxml_compiler.cpp index 62b2162c..71720d6b 100644 --- a/kode/kxml_compiler/kxml_compiler.cpp +++ b/kode/kxml_compiler/kxml_compiler.cpp @@ -36,11 +36,11 @@ #include #include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include #include @@ -77,25 +77,25 @@ int main( int argc, char **argv ) return 1; } - QString baseDir = QFile::decodeName( args->getOption( "directory" ) ); + TQString baseDir = TQFile::decodeName( args->getOption( "directory" ) ); if ( !baseDir.endsWith( "/" ) ) baseDir.append( "/" ); - QString dtdFilename = args->url( 0 ).path(); + TQString dtdFilename = args->url( 0 ).path(); - QString baseName = args->url( 0 ).fileName(); + TQString baseName = args->url( 0 ).fileName(); int pos = baseName.findRev( '.' ); if ( pos > 0 ) baseName = baseName.left( pos ); - QFile dtdFile( dtdFilename ); + TQFile dtdFile( dtdFilename ); if ( !dtdFile.open( IO_ReadOnly ) ) { kdError() << "Unable to open '" << dtdFilename << "'" << endl; return 1; } - QString errorMsg; + TQString errorMsg; int errorLine, errorCol; - QDomDocument doc; + TQDomDocument doc; if ( !doc.setContent( &dtdFile, false, &errorMsg, &errorLine, &errorCol ) ) { kdError() << errorMsg << " at " << errorLine << "," << errorCol << endl; return 1; @@ -135,7 +135,7 @@ int main( int argc, char **argv ) Creator c( pt ); kdDebug() << "Create classes" << endl; - QValueList::ConstIterator it; + TQValueList::ConstIterator it; for( it = start->elements.begin(); it != start->elements.end(); ++it ) { c.createClass( *it ); } @@ -149,7 +149,7 @@ int main( int argc, char **argv ) c.createListTypedefs(); #if 0 - QValueList::ConstIterator it2; + TQValueList::ConstIterator it2; for( it2 = start->references.begin(); it2 != start->references.end(); ++it2 ) { Element e; -- cgit v1.2.3