diff options
Diffstat (limited to 'src/nodegroup.h')
-rw-r--r-- | src/nodegroup.h | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/src/nodegroup.h b/src/nodegroup.h index f3f49f8..acdd055 100644 --- a/src/nodegroup.h +++ b/src/nodegroup.h @@ -11,10 +11,10 @@ #ifndef NODEGROUP_H #define NODEGROUP_H -#include <qguardedptr.h> -#include <qobject.h> -#include <qvaluelist.h> -#include <qvaluevector.h> +#include <tqguardedptr.h> +#include <tqobject.h> +#include <tqvaluelist.h> +#include <tqvaluevector.h> class ICNDocument; class Connector; @@ -22,20 +22,21 @@ class ConRouter; class Node; class NodeGroup; -class QTimer; +class TQTimer; -typedef QValueList<int> IntList; -typedef QValueList<NodeGroup*> NodeGroupList; -typedef QValueList<QGuardedPtr<Node> > NodeList; +typedef TQValueList<int> IntList; +typedef TQValueList<NodeGroup*> NodeGroupList; +typedef TQValueList<TQGuardedPtr<Node> > NodeList; /** Controls a group of nodes who are not attached to any CNItems (poor things!) along with their associated connectors. @author David Saxton */ -class NodeGroup : public QObject +class NodeGroup : public TQObject { Q_OBJECT + TQ_OBJECT public: NodeGroup( ICNDocument *icnDocument, const char *name = 0); ~NodeGroup(); @@ -65,7 +66,7 @@ public: /** * @returns true if node is an internal node to this group */ - bool contains( Node *node ) const { return m_nodeList.contains(node); } + bool tqcontains( Node *node ) const { return m_nodeList.tqcontains(node); } /** * Reroute the NodeGroup. This function should only ever be called by * ICNDocument::rerouteInvalidatedConnectors(), as it is important that @@ -111,7 +112,7 @@ protected: NodeList m_nodeList; NodeList m_extNodeList; ICNDocument *p_icnDocument; - QValueVector<bool> b_routedMap; // Routes between different nodes + TQValueVector<bool> b_routedMap; // Routes between different nodes bool b_visible; private: |