summaryrefslogtreecommitdiffstats
path: root/src/nodegroup.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-29 16:05:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-29 16:05:55 +0000
commit87a016680e3677da3993f333561e79eb0cead7d5 (patch)
treecbda2b4df8b8ee0d8d1617e6c75bec1e3ee0ccba /src/nodegroup.h
parent6ce3d1ad09c1096b5ed3db334e02859e45d5c32b (diff)
downloadktechlab-87a016680e3677da3993f333561e79eb0cead7d5.tar.gz
ktechlab-87a016680e3677da3993f333561e79eb0cead7d5.zip
TQt4 port ktechlab
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktechlab@1238801 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/nodegroup.h')
-rw-r--r--src/nodegroup.h23
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: