summaryrefslogtreecommitdiffstats
path: root/src/electronics/wire.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/wire.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/wire.h')
-rw-r--r--src/electronics/wire.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/electronics/wire.h b/src/electronics/wire.h
index 368004c..97115df 100644
--- a/src/electronics/wire.h
+++ b/src/electronics/wire.h
@@ -11,15 +11,15 @@
#ifndef WIRE_H
#define WIRE_H
-#include <qguardedptr.h>
-#include <qobject.h>
+#include <tqguardedptr.h>
+#include <tqobject.h>
class Pin;
/**
@author David Saxton
*/
-class Wire : public QObject
+class Wire : public TQObject
{
public:
Wire( Pin * startPin, Pin * endPin );
@@ -57,8 +57,8 @@ class Wire : public QObject
protected:
double m_current;
bool m_bCurrentIsKnown;
- QGuardedPtr<Pin> m_pStartPin;
- QGuardedPtr<Pin> m_pEndPin;
+ TQGuardedPtr<Pin> m_pStartPin;
+ TQGuardedPtr<Pin> m_pEndPin;
};
#endif