diff options
Diffstat (limited to 'quanta/parsers/parser.h')
-rw-r--r-- | quanta/parsers/parser.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/quanta/parsers/parser.h b/quanta/parsers/parser.h index db797df0..94f24aff 100644 --- a/quanta/parsers/parser.h +++ b/quanta/parsers/parser.h @@ -16,13 +16,13 @@ #ifndef PARSER_H #define PARSER_H -#include <qobject.h> -#include <qdict.h> -#include <qstringlist.h> -#include <qmap.h> -#include <qguardedptr.h> +#include <tqobject.h> +#include <tqdict.h> +#include <tqstringlist.h> +#include <tqmap.h> +#include <tqguardedptr.h> -#include <qvaluestack.h> +#include <tqvaluestack.h> #include "node.h" #include "tag.h" @@ -38,11 +38,11 @@ class QRegExp; class NodeModifsSet; class SAParser; -typedef QMap<QString, GroupElementMapList> IncludedGroupElements; -typedef QMap<QString, IncludedGroupElements> IncludedGroupElementsMap; +typedef TQMap<TQString, GroupElementMapList> IncludedGroupElements; +typedef TQMap<TQString, IncludedGroupElements> IncludedGroupElementsMap; -class Parser: public QObject { +class Parser: public TQObject { Q_OBJECT @@ -95,7 +95,7 @@ public slots: void cleanGroups(); private slots: - void slotIncludedFileChanged(const QString& fileName); + void slotIncludedFileChanged(const TQString& fileName); signals: void nodeTreeChanged(); @@ -103,19 +103,19 @@ signals: private: Node* m_node; //the internal Node pointer - QString m_dtdName; //the DTD name of write + TQString m_dtdName; //the DTD name of write const DTDStruct* m_dtd; //the dtd used for main parsing - QGuardedPtr<Document> write; //pointer to the parsed document + TQGuardedPtr<Document> write; //pointer to the parsed document int maxLines; // how many lines are in the current document int oldMaxLines; int treeSize; - QMap<QString, XMLStructGroup>::ConstIterator xmlGroupIt; + TQMap<TQString, XMLStructGroup>::ConstIterator xmlGroupIt; bool m_parsingEnabled; bool m_parsingNeeded; /** Clears the group elements found in the included files */ void clearIncludedGroupElements(); - void parseIncludedFile(const QString &fileName, const DTDStruct *dtd); + void parseIncludedFile(const TQString &fileName, const DTDStruct *dtd); /** Searches for scripts inside the text from startNode. It looks only for the script begin/and delimiters, and not for the <script> or other special tags. Useful when parsing for script inside the xml tags. |