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 /src/k3bjobinterface.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 'src/k3bjobinterface.h')
-rw-r--r-- | src/k3bjobinterface.h | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/src/k3bjobinterface.h b/src/k3bjobinterface.h index 0d27ac2..e62d465 100644 --- a/src/k3bjobinterface.h +++ b/src/k3bjobinterface.h @@ -16,7 +16,7 @@ #ifndef _K3B_JOB_INTERFACE_H_ #define _K3B_JOB_INTERFACE_H_ -#include <qobject.h> +#include <tqobject.h> #include <dcopobject.h> class K3bJob; @@ -28,31 +28,32 @@ class K3bJob; * This may be used for example in a karamba theme with a non-volitile * DCOP connection. */ -class K3bJobInterface : public QObject, public DCOPObject +class K3bJobInterface : public TQObject, public DCOPObject { Q_OBJECT +// TQ_OBJECT K_DCOP public: - K3bJobInterface( QObject* parent ); + K3bJobInterface( TQObject* tqparent ); void setJob( K3bJob* ); k_dcop: bool jobRunning() const; - QString jobDescription() const; - QString jobDetails() const; + TQString jobDescription() const; + TQString jobDetails() const; k_dcop_signals: void started(); void canceled(); void finished( bool ); - void infoMessage( const QString&, int ); + void infoMessage( const TQString&, int ); void progress( int ); void subProgress( int ); - void newTask( const QString& ); - void newSubTask( const QString& ); + void newTask( const TQString& ); + void newSubTask( const TQString& ); void buffer( int ); void deviceBuffer( int ); void nextTrack( int track, int numTracks ); @@ -61,11 +62,11 @@ class K3bJobInterface : public QObject, public DCOPObject void slotStarted(); void slotCanceled(); void slotFinished( bool ); - void slotInfoMessage( const QString&, int ); + void slotInfoMessage( const TQString&, int ); void slotProgress( int ); void slotSubProgress( int ); - void slotNewTask( const QString& ); - void slotNewSubTask( const QString& ); + void slotNewTask( const TQString& ); + void slotNewSubTask( const TQString& ); void slotBuffer( int ); void slotDeviceBuffer( int ); void slotNextTrack( int track, int numTracks ); |