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/projects/k3bmusicbrainzjob.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/projects/k3bmusicbrainzjob.h')
-rw-r--r-- | src/projects/k3bmusicbrainzjob.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/projects/k3bmusicbrainzjob.h b/src/projects/k3bmusicbrainzjob.h index 5007a47..4b5a16b 100644 --- a/src/projects/k3bmusicbrainzjob.h +++ b/src/projects/k3bmusicbrainzjob.h @@ -27,7 +27,7 @@ class K3bAudioTrack; class K3bThreadJob; -class QWidget; +class TQWidget; /** @@ -37,13 +37,14 @@ class QWidget; class K3bMusicBrainzJob : public K3bJob { Q_OBJECT + TQ_OBJECT public: /** - * \param parent since we do not use this job with a normal progressdialog we need a widget - * as parent + * \param tqparent since we do not use this job with a normal progressdialog we need a widget + * as tqparent */ - K3bMusicBrainzJob( QWidget* parent = 0, const char* name = 0 ); + K3bMusicBrainzJob( TQWidget* tqparent = 0, const char* name = 0 ); ~K3bMusicBrainzJob(); bool hasBeenCanceled() const { return m_canceled; } @@ -62,7 +63,7 @@ class K3bMusicBrainzJob : public K3bJob void start(); void cancel(); - void setTracks( const QPtrList<K3bAudioTrack>& tracks ) { m_tracks = tracks; } + void setTracks( const TQPtrList<K3bAudioTrack>& tracks ) { m_tracks = tracks; } private slots: void slotTrmPercent( int p ); @@ -78,7 +79,7 @@ class K3bMusicBrainzJob : public K3bJob K3bThreadJob* m_trmJob; K3bThreadJob* m_mbJob; - QPtrList<K3bAudioTrack> m_tracks; + TQPtrList<K3bAudioTrack> m_tracks; bool m_canceled; }; |