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/electronics/pin.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/electronics/pin.h')
-rw-r--r-- | src/electronics/pin.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/electronics/pin.h b/src/electronics/pin.h index 1e10663..95aad7c 100644 --- a/src/electronics/pin.h +++ b/src/electronics/pin.h @@ -13,9 +13,9 @@ #include "wire.h" -#include <qguardedptr.h> -#include <qobject.h> -#include <qvaluelist.h> +#include <tqguardedptr.h> +#include <tqobject.h> +#include <tqvaluelist.h> class ECNode; class Element; @@ -23,16 +23,16 @@ class Pin; class Switch; class Wire; -typedef QValueList<Element*> ElementList; -typedef QValueList<QGuardedPtr<Pin> > PinList; -typedef QValueList<Switch*> SwitchList; -typedef QValueList<QGuardedPtr<Wire> > WireList; +typedef TQValueList<Element*> ElementList; +typedef TQValueList<TQGuardedPtr<Pin> > PinList; +typedef TQValueList<Switch*> SwitchList; +typedef TQValueList<TQGuardedPtr<Wire> > WireList; /** @author David Saxton */ -class Pin : public QObject +class Pin : public TQObject { public: /** @@ -53,10 +53,10 @@ class Pin : public QObject gt_low = 15, // current sources gt_never = 20 // everything else }; - Pin( ECNode * parent ); + Pin( ECNode * tqparent ); ~Pin(); - ECNode * parentECNode() const { return m_pECNode; } + ECNode * tqparentECNode() const { return m_pECNode; } /** * This function returns the pins that are directly connected to this pins: * either at the ends of connected wires, or via switches. @@ -143,12 +143,12 @@ class Pin : public QObject void removeDependentPins(); /** * Returns the ids of the pins whose voltages will affect this pin. - * @see void setDependentPins( QStringList ids ) + * @see void setDependentPins( TQStringList ids ) */ PinList circuitDependentPins() const { return m_circuitDependentPins; } /** * Returns the ids of the pins whose voltages will affect this pin. - * @see void setDependentPins( QStringList ids ) + * @see void setDependentPins( TQStringList ids ) */ PinList groundDependentPins() const { return m_groundDependentPins; } /** |