summaryrefslogtreecommitdiffstats
path: root/src/simulator.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/simulator.h')
-rw-r--r--src/simulator.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/simulator.h b/src/simulator.h
index a6ade3a..fd03173 100644
--- a/src/simulator.h
+++ b/src/simulator.h
@@ -38,8 +38,8 @@ class LogicOut;
class Switch;
class Wire;
-typedef QValueList<ECNode*> ECNodeList;
-typedef QValueList<LogicIn*> LogicInList;
+typedef TQValueList<ECNode*> ECNodeList;
+typedef TQValueList<LogicIn*> LogicInList;
typedef void(Component::*VoidCallbackPtr)();
@@ -80,9 +80,10 @@ This singleton class oversees all simulation (keeping in sync linear, nonlinear,
logic, external simulators (such as gpsim), mechanical simulation, etc).
@author David Saxton
*/
-class Simulator : public QObject
+class Simulator : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
static Simulator * self();
~Simulator();
@@ -208,7 +209,7 @@ class Simulator : public QObject
static Simulator * m_pSelf;
///List of LogicOuts that are at the start of a LogicChain
- QValueList<LogicOut*> m_logicChainStarts;
+ TQValueList<LogicOut*> m_logicChainStarts;
LogicOut * m_pChangedLogicStart;
LogicOut * m_pChangedLogicLast;