diff options
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; } /** |