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 /libk3b/tools/k3bdevicehandler.cpp | |
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 'libk3b/tools/k3bdevicehandler.cpp')
-rw-r--r-- | libk3b/tools/k3bdevicehandler.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libk3b/tools/k3bdevicehandler.cpp b/libk3b/tools/k3bdevicehandler.cpp index c77f1e6..92fd2ff 100644 --- a/libk3b/tools/k3bdevicehandler.cpp +++ b/libk3b/tools/k3bdevicehandler.cpp @@ -129,7 +129,7 @@ public: DiskInfo ngInfo; Toc toc; CdText cdText; - QByteArray cdTextRaw; + TQByteArray cdTextRaw; long long bufferCapacity; long long availableBufferCapacity; Device* dev; @@ -139,8 +139,8 @@ private: }; -K3bDevice::DeviceHandler::DeviceHandler( Device* dev, QObject* parent, const char* name ) - : K3bThreadJob( 0, parent, name ), +K3bDevice::DeviceHandler::DeviceHandler( Device* dev, TQObject* tqparent, const char* name ) + : K3bThreadJob( 0, tqparent, name ), m_selfDelete(false) { m_thread = new DeviceHandlerThread(); @@ -149,8 +149,8 @@ K3bDevice::DeviceHandler::DeviceHandler( Device* dev, QObject* parent, const cha } -K3bDevice::DeviceHandler::DeviceHandler( QObject* parent, const char* name ) - : K3bThreadJob( 0, parent, name ), +K3bDevice::DeviceHandler::DeviceHandler( TQObject* tqparent, const char* name ) + : K3bThreadJob( 0, tqparent, name ), m_selfDelete(false) { m_thread = new DeviceHandlerThread(); @@ -202,7 +202,7 @@ const K3bDevice::CdText& K3bDevice::DeviceHandler::cdText() const } -const QByteArray& K3bDevice::DeviceHandler::cdTextRaw() const +const TQByteArray& K3bDevice::DeviceHandler::cdTextRaw() const { return m_thread->cdTextRaw; } @@ -311,7 +311,7 @@ K3bDevice::DeviceHandler* K3bDevice::sendCommand( int command, Device* dev ) return new DeviceHandler( command, dev, "DeviceHandler" ); } -void K3bDevice::DeviceHandler::customEvent( QCustomEvent* e ) +void K3bDevice::DeviceHandler::customEvent( TQCustomEvent* e ) { K3bThreadJob::customEvent(e); |