summaryrefslogtreecommitdiffstats
path: root/src/electronics/ecnode.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/electronics/ecnode.h')
-rw-r--r--src/electronics/ecnode.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/electronics/ecnode.h b/src/electronics/ecnode.h
index 6f8f36e..24d34e4 100644
--- a/src/electronics/ecnode.h
+++ b/src/electronics/ecnode.h
@@ -13,17 +13,17 @@
#include "node.h"
-#include <qvaluevector.h>
+#include <tqvaluevector.h>
class ECNode;
class Element;
class Pin;
class Switch;
-class QTimer;
+class TQTimer;
-typedef QValueList<ECNode*> ECNodeList;
-typedef QValueList<Element*> ElementList;
-typedef QValueVector<Pin*> PinVector;
+typedef TQValueList<ECNode*> ECNodeList;
+typedef TQValueList<Element*> ElementList;
+typedef TQValueVector<Pin*> PinVector;
/**
@short Electrical node with voltage / current / etc properties
@@ -32,12 +32,13 @@ typedef QValueVector<Pin*> PinVector;
class ECNode : public Node
{
Q_OBJECT
+ TQ_OBJECT
public:
- ECNode( ICNDocument *icnDocument, Node::node_type type, node_dir dir, const QPoint &pos, QString *id = 0L );
+ ECNode( ICNDocument *icnDocument, Node::node_type type, node_dir dir, const TQPoint &pos, TQString *id = 0L );
~ECNode();
- virtual void setParentItem( CNItem *parentItem );
- virtual void drawShape( QPainter &p );
+ virtual void setParentItem( CNItem *tqparentItem );
+ virtual void drawShape( TQPainter &p );
/**
* Set the number of pins "contained" in this node.
*/
@@ -64,7 +65,7 @@ class ECNode : public Node
bool m_bShowVoltageBars;
double m_prevV;
double m_prevI;
- QCanvasRectangle * m_pinPoint;
+ TQCanvasRectangle * m_pinPoint;
PinVector m_pins;
};