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/k3baudiotrackaddingdialog.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/k3baudiotrackaddingdialog.h')
-rw-r--r-- | src/projects/k3baudiotrackaddingdialog.h | 37 |
1 files changed, 19 insertions, 18 deletions
diff --git a/src/projects/k3baudiotrackaddingdialog.h b/src/projects/k3baudiotrackaddingdialog.h index 4590e95..3482771 100644 --- a/src/projects/k3baudiotrackaddingdialog.h +++ b/src/projects/k3baudiotrackaddingdialog.h @@ -19,11 +19,11 @@ #include <k3bjobhandler.h> #include <kdialogbase.h> #include <kurl.h> -#include <qstringlist.h> +#include <tqstringlist.h> class K3bBusyWidget; -class QLabel; +class TQLabel; class K3bAudioTrack; class K3bAudioDataSource; class K3bThreadJob; @@ -33,6 +33,7 @@ class K3bAudioDoc; class K3bAudioTrackAddingDialog : public KDialogBase, public K3bJobHandler { Q_OBJECT + TQ_OBJECT public: ~K3bAudioTrackAddingDialog(); @@ -43,31 +44,31 @@ class K3bAudioTrackAddingDialog : public KDialogBase, public K3bJobHandler int waitForMedia( K3bDevice::Device*, int = K3bDevice::STATE_EMPTY, int = K3bDevice::MEDIA_WRITABLE_CD, - const QString& = QString::null ) { return 0; } + const TQString& = TQString() ) { return 0; } /** * @reimplemented from K3bJobHandler */ - bool questionYesNo( const QString&, - const QString& = QString::null, - const QString& = QString::null, - const QString& = QString::null ) { return false; } + bool questionYesNo( const TQString&, + const TQString& = TQString(), + const TQString& = TQString(), + const TQString& = TQString() ) { return false; } /** * reimplemented from K3bJobHandler */ - void blockingInformation( const QString&, - const QString& = QString::null ) {} + void blockingInformation( const TQString&, + const TQString& = TQString() ) {} /** - * \return \see QDialog::exec() + * \return \see TQDialog::exec() */ static int addUrls( const KURL::List& urls, K3bAudioDoc* doc, K3bAudioTrack* afterTrack = 0, - K3bAudioTrack* parentTrack = 0, + K3bAudioTrack* tqparentTrack = 0, K3bAudioDataSource* afterSource = 0, - QWidget* parent = 0 ); + TQWidget* tqparent = 0 ); private slots: void slotAddUrls(); @@ -75,17 +76,17 @@ class K3bAudioTrackAddingDialog : public KDialogBase, public K3bJobHandler void slotCancel(); private: - K3bAudioTrackAddingDialog( QWidget* parent = 0, const char* name = 0 ); + K3bAudioTrackAddingDialog( TQWidget* tqparent = 0, const char* name = 0 ); static KURL::List extractUrlList( const KURL::List& urls ); K3bBusyWidget* m_busyWidget; - QLabel* m_infoLabel; + TQLabel* m_infoLabel; - QStringList m_unreadableFiles; - QStringList m_notFoundFiles; - QStringList m_nonLocalFiles; - QStringList m_unsupportedFiles; + TQStringList m_unreadableFiles; + TQStringList m_notFoundFiles; + TQStringList m_nonLocalFiles; + TQStringList m_unsupportedFiles; KURL::List m_urls; |