diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kcontrol/usbview/usbdevices.h | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcontrol/usbview/usbdevices.h')
-rw-r--r-- | kcontrol/usbview/usbdevices.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kcontrol/usbview/usbdevices.h b/kcontrol/usbview/usbdevices.h index 853df02b3..23717ee65 100644 --- a/kcontrol/usbview/usbdevices.h +++ b/kcontrol/usbview/usbdevices.h @@ -13,8 +13,8 @@ #define __USB_DEVICES_H__ -#include <qstring.h> -#include <qptrlist.h> +#include <tqstring.h> +#include <tqptrlist.h> #ifdef Q_OS_FREEBSD #include <dev/usb/usb.h> @@ -29,45 +29,45 @@ public: USBDevice(); - void parseLine(QString line); - void parseSysDir(int bus, int parent, int level, QString line); + void parseLine(TQString line); + void parseSysDir(int bus, int parent, int level, TQString line); int level() { return _level; }; int device() { return _device; }; int parent() { return _parent; }; int bus() { return _bus; }; - QString product(); + TQString product(); - QString dump(); + TQString dump(); - static QPtrList<USBDevice> &devices() { return _devices; }; + static TQPtrList<USBDevice> &devices() { return _devices; }; static USBDevice *find(int bus, int device); - static bool parse(QString fname); - static bool parseSys(QString fname); + static bool parse(TQString fname); + static bool parseSys(TQString fname); private: - static QPtrList<USBDevice> _devices; + static TQPtrList<USBDevice> _devices; static USBDB *_db; int _bus, _level, _parent, _port, _count, _device, _channels, _power; float _speed; - QString _manufacturer, _product, _serial; + TQString _manufacturer, _product, _serial; int _bwTotal, _bwUsed, _bwPercent, _bwIntr, _bwIso; bool _hasBW; unsigned int _verMajor, _verMinor, _class, _sub, _prot, _maxPacketSize, _configs; - QString _className; + TQString _className; unsigned int _vendorID, _prodID, _revMajor, _revMinor; #ifdef Q_OS_FREEBSD void collectData( int fd, int level, usb_device_info &di, int parent ); - QStringList _devnodes; + TQStringList _devnodes; #endif }; |