summaryrefslogtreecommitdiffstats
path: root/src/common/port/usb_port.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/common/port/usb_port.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/common/port/usb_port.h')
-rw-r--r--src/common/port/usb_port.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/port/usb_port.h b/src/common/port/usb_port.h
index 73961cc..0da7aa1 100644
--- a/src/common/port/usb_port.h
+++ b/src/common/port/usb_port.h
@@ -27,11 +27,11 @@ class USB : public Base
public:
USB(Log::Base &base, uint vendorId, uint productId, uint config, uint interface);
virtual ~USB();
- virtual Description description() const { return Description(PortType::USB, QString::null); }
+ virtual Description description() const { return Description(PortType::USB, TQString()); }
static struct usb_device *findDevice(uint vendorId, uint productId);
static bool isAvailable();
- static QStringList probedDeviceList();
+ static TQStringList probedDeviceList();
struct ControlMessageData {
int type, request, value;
@@ -56,7 +56,7 @@ private:
virtual bool internalOpen();
virtual void internalClose();
- virtual void setSystemError(const QString &message);
+ virtual void setSystemError(const TQString &message);
void tryToDetachDriver();
static bool _initialized;