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 --- src/k3bwriterselectionwidget.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'src/k3bwriterselectionwidget.h') diff --git a/src/k3bwriterselectionwidget.h b/src/k3bwriterselectionwidget.h index 8174637..acb989e 100644 --- a/src/k3bwriterselectionwidget.h +++ b/src/k3bwriterselectionwidget.h @@ -17,11 +17,11 @@ #ifndef K3BWRITERSELECTIONWIDGET_H #define K3BWRITERSELECTIONWIDGET_H -#include +#include class KComboBox; class KConfigBase; -class QLabel; +class TQLabel; class K3bMediaSelectionComboBox; namespace K3bDevice { class Device; @@ -32,21 +32,22 @@ namespace K3bDevice { /** *@author Sebastian Trueg */ -class K3bWriterSelectionWidget : public QWidget +class K3bWriterSelectionWidget : public TQWidget { Q_OBJECT + TQ_OBJECT public: /** * Creates a writerselectionwidget */ - K3bWriterSelectionWidget( QWidget* parent = 0, const char* name = 0 ); + K3bWriterSelectionWidget( TQWidget* tqparent = 0, const char* name = 0 ); ~K3bWriterSelectionWidget(); int writerSpeed() const; K3bDevice::Device* writerDevice() const; - QValueList allDevices() const; + TQValueList allDevices() const; /** * returns K3b::WritingApp @@ -99,7 +100,7 @@ class K3bWriterSelectionWidget : public QWidget * For example: "Burn to the same device". Set it to 0 in order * to disable the feature. */ - void setOverrideDevice( K3bDevice::Device* dev, const QString& overrideString = QString::null, const QString& tooltip = QString::null ); + void setOverrideDevice( K3bDevice::Device* dev, const TQString& overrideString = TQString(), const TQString& tooltip = TQString() ); /** * Compare K3bMediaSelectionComboBox::setIgnoreDevice @@ -137,7 +138,7 @@ class K3bWriterSelectionWidget : public QWidget KComboBox* m_comboSpeed; MediaSelectionComboBox* m_comboMedium; KComboBox* m_comboWritingApp; - QLabel* m_writingAppLabel; + TQLabel* m_writingAppLabel; class Private; Private* d; -- cgit v1.2.3