summaryrefslogtreecommitdiffstats
path: root/src/progs/direct/base/direct.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 00:15:53 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 00:15:53 +0000
commit0aaa8e3fc8f8a1481333b564f0922277c8d8ad59 (patch)
treeb95c0ca86c4876dd139af376b9f4afd8917cf0cd /src/progs/direct/base/direct.h
parentb79a2c28534cf09987eeeba3077fff9236df182a (diff)
downloadpiklab-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/direct/base/direct.h')
-rw-r--r--src/progs/direct/base/direct.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/progs/direct/base/direct.h b/src/progs/direct/base/direct.h
index 6a890b0..a3b9e09 100644
--- a/src/progs/direct/base/direct.h
+++ b/src/progs/direct/base/direct.h
@@ -48,7 +48,7 @@ public:
void setWrite() { setPin(DataRW, false); }
uint nbPins(Port::IODir dir) const;
- QString pinLabelForIndex(Port::IODir dir, uint i) const;
+ TQString pinLabelForIndex(Port::IODir dir, uint i) const;
Port::IODir ioTypeForPin(int pin) const;
uint pinForIndex(Port::IODir dir, uint i) const;
uint indexForPin(Port::IODir dir, int pin) const;
@@ -76,13 +76,13 @@ extern bool operator !=(const HData &d1, const HData &d2);
class SerialHardware : public Hardware
{
public:
- SerialHardware(::Programmer::Base &base, const QString &portDevice, const HardwareData &data);
+ SerialHardware(::Programmer::Base &base, const TQString &portDevice, const HardwareData &data);
};
class ParallelHardware : public Hardware
{
public:
- ParallelHardware(::Programmer::Base &base, const QString &portDevice, const HardwareData &data);
+ ParallelHardware(::Programmer::Base &base, const TQString &portDevice, const HardwareData &data);
};
} // namespace