diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-29 16:05:55 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-29 16:05:55 +0000 |
commit | 87a016680e3677da3993f333561e79eb0cead7d5 (patch) | |
tree | cbda2b4df8b8ee0d8d1617e6c75bec1e3ee0ccba /src/fpnode.h | |
parent | 6ce3d1ad09c1096b5ed3db334e02859e45d5c32b (diff) | |
download | ktechlab-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/fpnode.h')
-rw-r--r-- | src/fpnode.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/fpnode.h b/src/fpnode.h index 43d1834..2082a40 100644 --- a/src/fpnode.h +++ b/src/fpnode.h @@ -15,7 +15,7 @@ class FlowPart; -typedef QValueList<FlowPart*> FlowPartList; +typedef TQValueList<FlowPart*> FlowPartList; /** You should use this node for all FlowParts. It ensures that connections between FlowParts are @@ -26,8 +26,9 @@ always valid (eg not more than two outputs from one node, which makes no sense) class FPNode : public Node { Q_OBJECT + TQ_OBJECT public: - FPNode( ICNDocument *_icnView, Node::node_type type, node_dir dir, const QPoint &pos, QString *id = 0L ); + FPNode( ICNDocument *_icnView, Node::node_type type, node_dir dir, const TQPoint &pos, TQString *id = 0L ); ~FPNode(); /** @@ -43,7 +44,7 @@ public: FlowPartList inputFlowParts() const; protected: - virtual void drawShape( QPainter & p ); + virtual void drawShape( TQPainter & p ); private: bool m_isInput; |