diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-30 00:15:53 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-30 00:15:53 +0000 |
commit | 0aaa8e3fc8f8a1481333b564f0922277c8d8ad59 (patch) | |
tree | b95c0ca86c4876dd139af376b9f4afd8917cf0cd /src/progs/icd2/base/icd.h | |
parent | b79a2c28534cf09987eeeba3077fff9236df182a (diff) | |
download | piklab-0aaa8e3fc8f8a1481333b564f0922277c8d8ad59.tar.gz piklab-0aaa8e3fc8f8a1481333b564f0922277c8d8ad59.zip |
TQt4 port piklab
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/piklab@1238822 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/progs/icd2/base/icd.h')
-rw-r--r-- | src/progs/icd2/base/icd.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/progs/icd2/base/icd.h b/src/progs/icd2/base/icd.h index 9a65755..0aa7208 100644 --- a/src/progs/icd2/base/icd.h +++ b/src/progs/icd2/base/icd.h @@ -20,7 +20,7 @@ namespace Icd class Hardware : public ::Programmer::PicHardware { public: - Hardware(::Programmer::Base &base, Port::Base *port) : ::Programmer::PicHardware(base, port, QString::null) {} + Hardware(::Programmer::Base &base, Port::Base *port) : ::Programmer::PicHardware(base, port, TQString()) {} // initialization virtual bool uploadFirmware(const Pic::Memory &memory) = 0; virtual bool setTarget() = 0; @@ -43,9 +43,9 @@ public: virtual BitValue getProgramCounter() = 0; protected: - QString _rx; - virtual bool internalConnect(const QString &mode) = 0; - virtual QString receivedData() const = 0; + TQString _rx; + virtual bool internalConnect(const TQString &mode) = 0; + virtual TQString receivedData() const = 0; virtual bool internalConnectHardware() { return internalConnect("U"); } }; |