summaryrefslogtreecommitdiffstats
path: root/src/electronics/simulation/circuit.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/electronics/simulation/circuit.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/electronics/simulation/circuit.h')
-rw-r--r--src/electronics/simulation/circuit.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/electronics/simulation/circuit.h b/src/electronics/simulation/circuit.h
index 2455edc..c8c53cd 100644
--- a/src/electronics/simulation/circuit.h
+++ b/src/electronics/simulation/circuit.h
@@ -11,9 +11,9 @@
#ifndef CIRCUIT_H
#define CIRCUIT_H
-#include <qguardedptr.h>
-#include "qstringlist.h"
-#include "qvaluelist.h"
+#include <tqguardedptr.h>
+#include "tqstringlist.h"
+#include "tqvaluelist.h"
#include "elementset.h"
@@ -23,8 +23,8 @@ class Pin;
class Element;
class LogicOut;
-typedef QValueList<QGuardedPtr<Pin> > PinList;
-typedef QValueList<Element*> ElementList;
+typedef TQValueList<TQGuardedPtr<Pin> > PinList;
+typedef TQValueList<Element*> ElementList;
class LogicCacheNode
@@ -60,7 +60,7 @@ class Circuit
void addPin( Pin *node );
void addElement( Element *element );
- bool contains( Pin *node );
+ bool tqcontains( Pin *node );
bool containsNonLinear() const { return m_elementSet->containsNonLinear(); }
void init();
@@ -70,7 +70,7 @@ class Circuit
*/
void initCache();
/**
- * Marks all cached results as invalidated and removes them.
+ * Marks all cached results as tqinvalidated and removes them.
*/
void setCacheInvalidated();
/**