From 87a016680e3677da3993f333561e79eb0cead7d5 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 29 Jun 2011 16:05:55 +0000 Subject: 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 --- src/nodegroup.h | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'src/nodegroup.h') 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 -#include -#include -#include +#include +#include +#include +#include class ICNDocument; class Connector; @@ -22,20 +22,21 @@ class ConRouter; class Node; class NodeGroup; -class QTimer; +class TQTimer; -typedef QValueList IntList; -typedef QValueList NodeGroupList; -typedef QValueList > NodeList; +typedef TQValueList IntList; +typedef TQValueList NodeGroupList; +typedef TQValueList > 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 b_routedMap; // Routes between different nodes + TQValueVector b_routedMap; // Routes between different nodes bool b_visible; private: -- cgit v1.2.1