From d8cc8bdfa7fa624a526d5aa1626974e1444cb799 Mon Sep 17 00:00:00 2001 From: tpearson Date: Fri, 27 May 2011 19:21:21 +0000 Subject: 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 --- libk3b/projects/k3bgrowisofshandler.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'libk3b/projects/k3bgrowisofshandler.h') diff --git a/libk3b/projects/k3bgrowisofshandler.h b/libk3b/projects/k3bgrowisofshandler.h index 42fcd2a..5243ebc 100644 --- a/libk3b/projects/k3bgrowisofshandler.h +++ b/libk3b/projects/k3bgrowisofshandler.h @@ -16,7 +16,7 @@ #ifndef _K3B_GROWISOFS_HANDLER_H_ #define _K3B_GROWISOFS_HANDLER_H_ -#include +#include namespace K3bDevice { class Device; @@ -29,12 +29,13 @@ namespace K3bDevice { * We put it in an extra class since we have two classes * using growisofs: the writer and the imager. */ -class K3bGrowisofsHandler : public QObject +class K3bGrowisofsHandler : public TQObject { Q_OBJECT + TQ_OBJECT public: - K3bGrowisofsHandler( QObject* parent = 0, const char* name = 0 ); + K3bGrowisofsHandler( TQObject* tqparent = 0, const char* name = 0 ); ~K3bGrowisofsHandler(); enum ErrorType { @@ -57,12 +58,12 @@ class K3bGrowisofsHandler : public QObject void reset( K3bDevice::Device* = 0, bool dao = false ); void handleStart(); - void handleLine( const QString& ); + void handleLine( const TQString& ); void handleExit( int exitCode ); signals: - void infoMessage( const QString&, int ); - void newSubTask( const QString& ); + void infoMessage( const TQString&, int ); + void newSubTask( const TQString& ); void buffer( int ); void deviceBuffer( int ); @@ -72,7 +73,7 @@ class K3bGrowisofsHandler : public QObject void flushingCache(); private slots: - void slotCheckBufferStatus(); + void slotCheckBuffertqStatus(); void slotCheckBufferStatusDone( K3bDevice::DeviceHandler* ); private: -- cgit v1.2.3