summaryrefslogtreecommitdiffstats
path: root/kode/kxml_compiler/parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'kode/kxml_compiler/parser.h')
-rw-r--r--kode/kxml_compiler/parser.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/kode/kxml_compiler/parser.h b/kode/kxml_compiler/parser.h
index b9ff542c0..6efd6f746 100644
--- a/kode/kxml_compiler/parser.h
+++ b/kode/kxml_compiler/parser.h
@@ -35,11 +35,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>
@@ -50,7 +50,7 @@ class Pattern
bool isEmpty();
- QString asString();
+ TQString asString();
void merge( Pattern p );
@@ -63,11 +63,11 @@ class Pattern
class Reference
{
public:
- typedef QValueList<Reference *> List;
+ typedef TQValueList<Reference *> List;
Reference() : substituted( false ) {}
- QString name;
+ TQString name;
Pattern pattern;
bool substituted;
@@ -76,22 +76,22 @@ class Reference
class Attribute
{
public:
- typedef QValueList<Attribute *> List;
+ typedef TQValueList<Attribute *> List;
- QString name;
- QValueList<QString> choices;
- QString defaultValue;
+ TQString name;
+ TQValueList<TQString> choices;
+ TQString defaultValue;
Pattern pattern;
};
class Element
{
public:
- typedef QValueList<Element *> List;
+ typedef TQValueList<Element *> List;
Element();
- QString name;
+ TQString name;
Element::List elements;
Attribute::List attributes;
Reference::List references;
@@ -105,12 +105,12 @@ class Parser
public:
Parser();
- Element *parse( const QDomElement &docElement );
+ Element *parse( const TQDomElement &docElement );
- Reference *parseReference( const QDomElement &referenceElement );
- bool parseAttribute( const QDomElement &attributeElement,
+ Reference *parseReference( const TQDomElement &referenceElement );
+ bool parseAttribute( const TQDomElement &attributeElement,
Attribute *a );
- bool parseElement( const QDomElement &elementElement, Element *e,
+ bool parseElement( const TQDomElement &elementElement, Element *e,
Pattern pattern );
void substituteReferences( Element *s );
@@ -128,7 +128,7 @@ class Parser
void dumpDefinitionMap();
private:
- QMap<QString,Element::List> mDefinitionMap;
+ TQMap<TQString,Element::List> mDefinitionMap;
};
#endif