summaryrefslogtreecommitdiffstats
path: root/src/progs/psp/base/psp_serial.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/psp/base/psp_serial.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/psp/base/psp_serial.h')
-rw-r--r--src/progs/psp/base/psp_serial.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/progs/psp/base/psp_serial.h b/src/progs/psp/base/psp_serial.h
index 6f379dd..a7ebf77 100644
--- a/src/progs/psp/base/psp_serial.h
+++ b/src/progs/psp/base/psp_serial.h
@@ -18,12 +18,12 @@ namespace Psp
class SerialPort : public Port::Serial
{
public:
- SerialPort(const QString &portDevice, Log::Base &log);
+ SerialPort(const TQString &portDevice, Log::Base &log);
bool open();
bool reset();
- bool command(uchar c, uint nbBytes, QMemArray<uchar> &a);
- bool commandAck(uchar c, uint nbBytes = 1, QMemArray<uchar> *a = 0);
- bool commandAckEnd(uchar c, uint nbBytes, QMemArray<uchar> &a);
+ bool command(uchar c, uint nbBytes, TQMemArray<uchar> &a);
+ bool commandAck(uchar c, uint nbBytes = 1, TQMemArray<uchar> *a = 0);
+ bool commandAckEnd(uchar c, uint nbBytes, TQMemArray<uchar> &a);
bool receiveEnd();
bool sendData(uint value, uint nbBytes);