diff options
Diffstat (limited to 'quanta/parsers/node.h')
-rw-r--r-- | quanta/parsers/node.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/quanta/parsers/node.h b/quanta/parsers/node.h index e3587c05..87d54141 100644 --- a/quanta/parsers/node.h +++ b/quanta/parsers/node.h @@ -18,9 +18,9 @@ #ifndef NODE_H #define NODE_H -#include <qptrlist.h> -#include <qvaluelist.h> -#include <qmap.h> +#include <tqptrlist.h> +#include <tqvaluelist.h> +#include <tqmap.h> #include <dom/dom_node.h> class QDomElement; @@ -40,12 +40,12 @@ struct GroupElement{ Node *parentNode; bool global; bool deleted; - QString type; + TQString type; XMLStructGroup *group; ///<is part of this group }; -typedef QValueList<GroupElement*> GroupElementList; -typedef QMap<QString, GroupElementList> GroupElementMapList; +typedef TQValueList<GroupElement*> GroupElementList; +typedef TQMap<TQString, GroupElementList> GroupElementMapList; /** * A Node is a basic unit of a Tree. It keeps track of his parent, his left neighbour, his right neighbour @@ -79,8 +79,8 @@ public: void operator =(Node* node); /** For Kafka copy/paste */ - void save(QDomElement& element) const; - bool load(QDomElement const& element); + void save(TQDomElement& element) const; + bool load(TQDomElement const& element); Node *next; Node *prev; @@ -96,9 +96,9 @@ public: Node *nextNotChild(); /** DOM like functions cf dom/dom_node.h */ - QString nodeName(); - QString nodeValue(); - void setNodeValue(const QString &value); + TQString nodeName(); + TQString nodeValue(); + void setNodeValue(const TQString &value); Node* parentNode() {return parent;} Node* firstChild() {return child;} Node* lastChild(); @@ -162,15 +162,15 @@ public: */ Tag *tag; - QValueList<QListViewItem *> listItems; ///<points to the listview items which represents this node in the structure tree - QListViewItem *mainListItem; ///< the main listview item (from under the root node) associated with this node + TQValueList<TQListViewItem *> listItems; ///<points to the listview items which represents this node in the structure tree + TQListViewItem *mainListItem; ///< the main listview item (from under the root node) associated with this node bool closesPrevious; //this node "closes" the tag from previous node bool opened; bool removeAll; //set to false if you don't want to remove the "next" and "child" when deleting the node. bool insideSpecial; //true if the node is part of a special area bool specialInsideXml; //< true if the node is a special area defined inside a tag, like the PHP in <a href="<? echo $a ?>"> - QString fileName; //the node is in this file. If empty, it's in the current document - QValueList<GroupElement*> m_groupElements; ///< all the group elements pointing to this node + TQString fileName; //the node is in this file. If empty, it's in the current document + TQValueList<GroupElement*> m_groupElements; ///< all the group elements pointing to this node private: /** |