summaryrefslogtreecommitdiffstats
path: root/quanta/parsers/node.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:54:04 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:54:04 +0000
commitdc6b8e72fed2586239e3514819238c520636c9d9 (patch)
tree88b200df0a0b7fab9d6f147596173556f1ed9a13 /quanta/parsers/node.h
parent6927d4436e54551917f600b706a8d6109e49de1c (diff)
downloadtdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.tar.gz
tdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1157656 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'quanta/parsers/node.h')
-rw-r--r--quanta/parsers/node.h30
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:
/**