summaryrefslogtreecommitdiffstats
path: root/libk3b/tools/k3bdevicehandler.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-27 19:21:21 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-27 19:21:21 +0000
commitd8cc8bdfa7fa624a526d5aa1626974e1444cb799 (patch)
treef295f1c545b319963d5357af79fe08991d8141d9 /libk3b/tools/k3bdevicehandler.h
parent2a39a080579fb52a2599c02b2939795385b89093 (diff)
downloadk3b-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.h')
-rw-r--r--libk3b/tools/k3bdevicehandler.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/libk3b/tools/k3bdevicehandler.h b/libk3b/tools/k3bdevicehandler.h
index d5159a0..da26629 100644
--- a/libk3b/tools/k3bdevicehandler.h
+++ b/libk3b/tools/k3bdevicehandler.h
@@ -23,9 +23,9 @@
#include "k3bmsf.h"
#include "k3bcdtext.h"
#include "k3b_export.h"
-#include <qcstring.h>
+#include <tqcstring.h>
-class QCustomEvent;
+class TQCustomEvent;
namespace K3bDevice
@@ -47,10 +47,11 @@ namespace K3bDevice
class LIBK3B_EXPORT DeviceHandler : public K3bThreadJob
{
Q_OBJECT
+ TQ_OBJECT
public:
- DeviceHandler( Device*, QObject* parent = 0, const char* name = 0 );
- DeviceHandler( QObject* parent = 0, const char* name = 0 );
+ DeviceHandler( Device*, TQObject* tqparent = 0, const char* name = 0 );
+ DeviceHandler( TQObject* tqparent = 0, const char* name = 0 );
/**
* This constructor is used by the global "quick" methods and should not be used
@@ -63,7 +64,7 @@ namespace K3bDevice
const DiskInfo& diskInfo() const;
const Toc& toc() const;
const CdText& cdText() const;
- const QByteArray& cdTextRaw() const;
+ const TQByteArray& cdTextRaw() const;
K3b::Msf diskSize() const;
K3b::Msf remainingSize() const;
int tocType() const;
@@ -164,7 +165,7 @@ namespace K3bDevice
/**
* reimplemented from K3bThreadJob for internal reasons
*/
- virtual void customEvent( QCustomEvent* );
+ virtual void customEvent( TQCustomEvent* );
private:
class DeviceHandlerThread;
@@ -177,8 +178,8 @@ namespace K3bDevice
* Usage:
* \code
* connect( K3bDevice::sendCommand( K3bDevice::DeviceHandler::MOUNT, dev ),
- * SIGNAL(finished(DeviceHandler*)),
- * this, SLOT(someSlot(DeviceHandler*)) );
+ * TQT_SIGNAL(finished(DeviceHandler*)),
+ * this, TQT_SLOT(someSlot(DeviceHandler*)) );
*
* void someSlot( DeviceHandler* dh ) {
* if( dh->success() ) {