diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-27 19:21:21 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-27 19:21:21 +0000 |
commit | d8cc8bdfa7fa624a526d5aa1626974e1444cb799 (patch) | |
tree | f295f1c545b319963d5357af79fe08991d8141d9 /libk3bdevice/k3bscsicommand.h | |
parent | 2a39a080579fb52a2599c02b2939795385b89093 (diff) | |
download | k3b-d8cc8bdfa7fa624a526d5aa1626974e1444cb799.tar.gz k3b-d8cc8bdfa7fa624a526d5aa1626974e1444cb799.zip |
TQt4 port k3b
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k3b@1233803 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libk3bdevice/k3bscsicommand.h')
-rw-r--r-- | libk3bdevice/k3bscsicommand.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libk3bdevice/k3bscsicommand.h b/libk3bdevice/k3bscsicommand.h index 11a9860..7a718d1 100644 --- a/libk3bdevice/k3bscsicommand.h +++ b/libk3bdevice/k3bscsicommand.h @@ -16,8 +16,8 @@ #ifndef _K3B_SCSI_COMMAND_H_ #define _K3B_SCSI_COMMAND_H_ -#include <qglobal.h> -#include <qstring.h> +#include <tqglobal.h> +#include <tqstring.h> #include "k3bdevice.h" @@ -31,7 +31,7 @@ namespace K3bDevice const unsigned char MMC_GET_CONFIGURATION = 0x46; const unsigned char MMC_GET_EVENT_STATUS_NOTIFICATION = 0x4A; const unsigned char MMC_GET_PERFORMANCE = 0xAC; - const unsigned char MMC_INQUIRY = 0x12; + const unsigned char MMC_INTQUIRY = 0x12; const unsigned char MMC_LOAD_UNLOAD_MEDIUM = 0xA6; const unsigned char MMC_MECHANISM_STATUS = 0xBD; const unsigned char MMC_MODE_SELECT = 0x55; @@ -78,7 +78,7 @@ namespace K3bDevice const unsigned char MMC_WRITE_AND_VERIFY_10 = 0x2E; const unsigned char MMC_WRITE_BUFFER = 0x3B; - QString commandString( const unsigned char& command ); + TQString commandString( const unsigned char& command ); enum TransportDirection { TR_DIR_NONE, @@ -127,7 +127,7 @@ namespace K3bDevice size_t len = 0 ); private: - static QString senseKeyToString( int key ); + static TQString senseKeyToString( int key ); void debugError( int command, int errorCode, int senseKey, int asc, int ascq ); class Private; |