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/joystick/joydevice.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/joystick/joydevice.h')
-rw-r--r-- | kcontrol/joystick/joydevice.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kcontrol/joystick/joydevice.h b/kcontrol/joystick/joydevice.h index b84464241..29d4c49ce 100644 --- a/kcontrol/joystick/joydevice.h +++ b/kcontrol/joystick/joydevice.h @@ -21,7 +21,7 @@ #ifndef _JOYDEVICE_H_ #define _JOYDEVICE_H_ -#include <qstring.h> +#include <tqstring.h> #include <sys/types.h> #undef __STRICT_ANSI__ @@ -55,24 +55,24 @@ class JoyDevice }; // devicefile to use, e.g. "/dev/js0" - JoyDevice(const QString &devicefile); + JoyDevice(const TQString &devicefile); ~JoyDevice(); // returns one of the error-codes from above ErrorCode open(); // return descriptive error text for given error code - QString errText(ErrorCode code) const; + TQString errText(ErrorCode code) const; int fd() const { return joyFd; } void close(); ErrorCode restoreCorr(); // return devicefilename from constructor - const QString &device() const { return devName; } + const TQString &device() const { return devName; } // descriptive text for this device read from the driver - QString text() const { return descr; } + TQString text() const { return descr; } int numButtons() const { return buttons; } int numAxes() const { return axes; } @@ -94,8 +94,8 @@ class JoyDevice ErrorCode applyCalibration(); private: - QString devName; // device filename - QString descr; // descriptive text + TQString devName; // device filename + TQString descr; // descriptive text int joyFd; int buttons; |