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/option/k3bdeviceoptiontab.cpp | |
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/option/k3bdeviceoptiontab.cpp')
-rw-r--r-- | src/option/k3bdeviceoptiontab.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/option/k3bdeviceoptiontab.cpp b/src/option/k3bdeviceoptiontab.cpp index 65607c6..8931fe7 100644 --- a/src/option/k3bdeviceoptiontab.cpp +++ b/src/option/k3bdeviceoptiontab.cpp @@ -19,11 +19,11 @@ #include <k3bglobals.h> #include <k3bcore.h> -#include <qlabel.h> -#include <qstring.h> -#include <qlayout.h> -#include <qcursor.h> -#include <qapplication.h> +#include <tqlabel.h> +#include <tqstring.h> +#include <tqlayout.h> +#include <tqcursor.h> +#include <tqapplication.h> #include <kapplication.h> #include <kdialog.h> @@ -32,18 +32,18 @@ #include <kstandarddirs.h> -K3bDeviceOptionTab::K3bDeviceOptionTab( QWidget* parent, const char* name ) - : QWidget( parent, name ) +K3bDeviceOptionTab::K3bDeviceOptionTab( TQWidget* tqparent, const char* name ) + : TQWidget( tqparent, name ) { - QGridLayout* frameLayout = new QGridLayout( this ); + TQGridLayout* frameLayout = new TQGridLayout( this ); frameLayout->setSpacing( KDialog::spacingHint() ); frameLayout->setMargin( 0 ); // Info Label // ------------------------------------------------ - m_labelDevicesInfo = new QLabel( this, "m_labelDevicesInfo" ); - m_labelDevicesInfo->setAlignment( int( QLabel::WordBreak | QLabel::AlignVCenter | QLabel::AlignLeft ) ); + m_labelDevicesInfo = new TQLabel( this, "m_labelDevicesInfo" ); + m_labelDevicesInfo->tqsetAlignment( int( TQLabel::WordBreak | TQLabel::AlignVCenter | TQLabel::AlignLeft ) ); m_labelDevicesInfo->setText( i18n( "K3b tries to detect all your devices properly. " "You can add devices that have not been detected and change " "the black values by clicking in the list. If K3b is unable " @@ -56,7 +56,7 @@ K3bDeviceOptionTab::K3bDeviceOptionTab( QWidget* parent, const char* name ) frameLayout->addWidget( m_labelDevicesInfo, 0, 0 ); frameLayout->addWidget( m_deviceWidget, 1, 0 ); - connect( m_deviceWidget, SIGNAL(refreshButtonClicked()), this, SLOT(slotRefreshButtonClicked()) ); + connect( m_deviceWidget, TQT_SIGNAL(refreshButtonClicked()), this, TQT_SLOT(slotRefreshButtonClicked()) ); } @@ -84,11 +84,11 @@ void K3bDeviceOptionTab::saveDevices() void K3bDeviceOptionTab::slotRefreshButtonClicked() { - QApplication::setOverrideCursor( QCursor(Qt::WaitCursor) ); + TQApplication::setOverrideCursor( TQCursor(TQt::WaitCursor) ); k3bcore->deviceManager()->clear(); k3bcore->deviceManager()->scanBus(); m_deviceWidget->init(); - QApplication::restoreOverrideCursor(); + TQApplication::restoreOverrideCursor(); } #include "k3bdeviceoptiontab.moc" |