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 /libk3b/tools/k3bdeviceselectiondialog.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 'libk3b/tools/k3bdeviceselectiondialog.h')
-rw-r--r-- | libk3b/tools/k3bdeviceselectiondialog.h | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/libk3b/tools/k3bdeviceselectiondialog.h b/libk3b/tools/k3bdeviceselectiondialog.h index b61ce1e..5295408 100644 --- a/libk3b/tools/k3bdeviceselectiondialog.h +++ b/libk3b/tools/k3bdeviceselectiondialog.h @@ -21,7 +21,7 @@ #include <kdialogbase.h> #include "k3b_export.h" -#include <qptrlist.h> +#include <tqptrlist.h> namespace K3bDevice { class Device; @@ -31,28 +31,29 @@ namespace K3bDevice { class LIBK3B_EXPORT K3bDeviceSelectionDialog : public KDialogBase { Q_OBJECT + TQ_OBJECT public: - K3bDeviceSelectionDialog( QWidget* parent = 0, + K3bDeviceSelectionDialog( TQWidget* tqparent = 0, const char* name = 0, - const QString& text = QString::null, + const TQString& text = TQString(), bool modal = false ); ~K3bDeviceSelectionDialog(); void addDevice( K3bDevice::Device* ); - void addDevices( const QPtrList<K3bDevice::Device>& ); + void addDevices( const TQPtrList<K3bDevice::Device>& ); void setSelectedDevice( K3bDevice::Device* ); K3bDevice::Device* selectedDevice() const; - static K3bDevice::Device* selectWriter( QWidget* parent, - const QString& text = QString::null ); - static K3bDevice::Device* selectDevice( QWidget* parent, - const QString& text = QString::null ); - static K3bDevice::Device* selectDevice( QWidget* parent, - const QPtrList<K3bDevice::Device>& devices, - const QString& text = QString::null ); + static K3bDevice::Device* selectWriter( TQWidget* tqparent, + const TQString& text = TQString() ); + static K3bDevice::Device* selectDevice( TQWidget* tqparent, + const TQString& text = TQString() ); + static K3bDevice::Device* selectDevice( TQWidget* tqparent, + const TQPtrList<K3bDevice::Device>& devices, + const TQString& text = TQString() ); private: class Private; |