summaryrefslogtreecommitdiffstats
path: root/src/progs/pickit2/base/pickit.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/pickit2/base/pickit.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/pickit2/base/pickit.h')
-rw-r--r--src/progs/pickit2/base/pickit.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/progs/pickit2/base/pickit.h b/src/progs/pickit2/base/pickit.h
index 741ed61..184a110 100644
--- a/src/progs/pickit2/base/pickit.h
+++ b/src/progs/pickit2/base/pickit.h
@@ -23,7 +23,7 @@ class Array
{
public:
uint length() const { return _data.count(); }
- QString pretty() const;
+ TQString pretty() const;
uchar &operator[](uint i) { return _data[i]; }
uchar operator[](uint i) const { return _data[i]; }
@@ -33,7 +33,7 @@ protected:
private:
uchar _fillChar;
PrintMode _mode;
- QMemArray<uchar> _data;
+ TQMemArray<uchar> _data;
friend class USBPort;
};
@@ -49,7 +49,7 @@ public:
bool command(const char *s);
bool receive(Array &data);
bool getMode(VersionData &version, ::Programmer::Mode &mode);
- bool receiveWords(uint nbBytesWord, uint nbRead, QValueVector<uint> &data, uint offset = 0);
+ bool receiveWords(uint nbBytesWord, uint nbRead, TQValueVector<uint> &data, uint offset = 0);
protected:
virtual uint writeEndPoint() const = 0;