summaryrefslogtreecommitdiffstats
path: root/kode/kxml_compiler/kxml_compiler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kode/kxml_compiler/kxml_compiler.cpp')
-rw-r--r--kode/kxml_compiler/kxml_compiler.cpp26
1 files changed, 13 insertions, 13 deletions
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 <ksimpleconfig.h>
#include <kstandarddirs.h>
-#include <qfile.h>
-#include <qtextstream.h>
-#include <qdom.h>
-#include <qregexp.h>
-#include <qmap.h>
+#include <tqfile.h>
+#include <tqtextstream.h>
+#include <tqdom.h>
+#include <tqregexp.h>
+#include <tqmap.h>
#include <iostream>
@@ -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<Element *>::ConstIterator it;
+ TQValueList<Element *>::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<Reference *>::ConstIterator it2;
+ TQValueList<Reference *>::ConstIterator it2;
for( it2 = start->references.begin(); it2 != start->references.end();
++it2 ) {
Element e;