summaryrefslogtreecommitdiffstats
path: root/src/k3bwriterselectionwidget.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-27 19:21:21 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-27 19:21:21 +0000
commitd8cc8bdfa7fa624a526d5aa1626974e1444cb799 (patch)
treef295f1c545b319963d5357af79fe08991d8141d9 /src/k3bwriterselectionwidget.h
parent2a39a080579fb52a2599c02b2939795385b89093 (diff)
downloadk3b-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/k3bwriterselectionwidget.h')
-rw-r--r--src/k3bwriterselectionwidget.h15
1 files changed, 8 insertions, 7 deletions
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 <qwidget.h>
+#include <tqwidget.h>
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<K3bDevice::Device*> allDevices() const;
+ TQValueList<K3bDevice::Device*> 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;