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/k3bmovixburndialog.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/projects/k3bmovixburndialog.cpp')
-rw-r--r-- | src/projects/k3bmovixburndialog.cpp | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/src/projects/k3bmovixburndialog.cpp b/src/projects/k3bmovixburndialog.cpp index 94238a7..1a785d8 100644 --- a/src/projects/k3bmovixburndialog.cpp +++ b/src/projects/k3bmovixburndialog.cpp @@ -37,14 +37,14 @@ #include <kapplication.h> #include <kconfig.h> -#include <qcheckbox.h> -#include <qlayout.h> -#include <qgroupbox.h> -#include <qfileinfo.h> +#include <tqcheckbox.h> +#include <tqlayout.h> +#include <tqgroupbox.h> +#include <tqfileinfo.h> -K3bMovixBurnDialog::K3bMovixBurnDialog( K3bMovixDoc* doc, QWidget* parent, const char* name, bool modal ) - : K3bProjectBurnDialog( doc, parent, name, modal ), +K3bMovixBurnDialog::K3bMovixBurnDialog( K3bMovixDoc* doc, TQWidget* tqparent, const char* name, bool modal ) + : K3bProjectBurnDialog( doc, tqparent, name, modal ), m_doc(doc) { prepareGui(); @@ -52,7 +52,7 @@ K3bMovixBurnDialog::K3bMovixBurnDialog( K3bMovixDoc* doc, QWidget* parent, const m_tempDirSelectionWidget->setSelectionMode( K3bTempDirSelectionWidget::FILE ); setTitle( i18n("eMovix CD Project"), - i18n("1 file (%1)", "%n files (%1)", m_doc->movixFileItems().count()).arg(KIO::convertSize(m_doc->size())) ); + i18n("1 file (%1)", "%n files (%1)", m_doc->movixFileItems().count()).tqarg(KIO::convertSize(m_doc->size())) ); m_movixOptionsWidget = new K3bMovixOptionsWidget( this ); addPage( m_movixOptionsWidget, i18n("eMovix") ); @@ -67,11 +67,11 @@ K3bMovixBurnDialog::K3bMovixBurnDialog( K3bMovixDoc* doc, QWidget* parent, const m_checkVerify = K3bStdGuiItems::verifyCheckBox( m_optionGroup ); m_optionGroupLayout->addWidget( m_checkVerify ); - QSpacerItem* spacer = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding ); + TQSpacerItem* spacer = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding ); m_optionGroupLayout->addItem( spacer ); m_tempDirSelectionWidget->setSelectionMode( K3bTempDirSelectionWidget::FILE ); - QString path = m_doc->tempDir(); + TQString path = m_doc->tempDir(); if( !path.isEmpty() ) { m_tempDirSelectionWidget->setTempPath( path ); } @@ -79,8 +79,8 @@ K3bMovixBurnDialog::K3bMovixBurnDialog( K3bMovixDoc* doc, QWidget* parent, const m_tempDirSelectionWidget->setDefaultImageFileName( m_doc->isoOptions().volumeID() + ".iso" ); } - connect( m_imageSettingsWidget->m_editVolumeName, SIGNAL(textChanged(const QString&)), - m_tempDirSelectionWidget, SLOT(setDefaultImageFileName(const QString&)) ); + connect( m_imageSettingsWidget->m_editVolumeName, TQT_SIGNAL(textChanged(const TQString&)), + m_tempDirSelectionWidget, TQT_SLOT(setDefaultImageFileName(const TQString&)) ); } @@ -91,15 +91,15 @@ K3bMovixBurnDialog::~K3bMovixBurnDialog() void K3bMovixBurnDialog::setupSettingsPage() { - QWidget* frame = new QWidget( this ); - QGridLayout* frameLayout = new QGridLayout( frame ); + TQWidget* frame = new TQWidget( this ); + TQGridLayout* frameLayout = new TQGridLayout( frame ); frameLayout->setSpacing( spacingHint() ); frameLayout->setMargin( marginHint() ); - QGroupBox* groupDataMode = new QGroupBox( 1, Qt::Vertical, i18n("Datatrack Mode"), frame ); + TQGroupBox* groupDataMode = new TQGroupBox( 1, Qt::Vertical, i18n("Datatrack Mode"), frame ); m_dataModeWidget = new K3bDataModeWidget( groupDataMode ); - QGroupBox* groupMultisession = new QGroupBox( 1, Qt::Vertical, i18n("Multisession"), frame ); + TQGroupBox* groupMultisession = new TQGroupBox( 1, Qt::Vertical, i18n("Multisession"), frame ); m_checkStartMultiSesssion = K3bStdGuiItems::startMultisessionCheckBox( groupMultisession ); frameLayout->addWidget( groupDataMode, 0, 0 ); @@ -220,13 +220,13 @@ void K3bMovixBurnDialog::slotStartClicked() { if( m_checkOnlyCreateImage->isChecked() || m_checkCacheImage->isChecked() ) { - QFileInfo fi( m_tempDirSelectionWidget->tempPath() ); + TQFileInfo fi( m_tempDirSelectionWidget->tempPath() ); if( fi.isDir() ) m_tempDirSelectionWidget->setTempPath( fi.filePath() + "/image.iso" ); - if( QFile::exists( m_tempDirSelectionWidget->tempPath() ) ) { + if( TQFile::exists( m_tempDirSelectionWidget->tempPath() ) ) { if( KMessageBox::warningContinueCancel( this, - i18n("Do you want to overwrite %1?").arg(m_tempDirSelectionWidget->tempPath()), + i18n("Do you want to overwrite %1?").tqarg(m_tempDirSelectionWidget->tempPath()), i18n("File Exists"), i18n("Overwrite") ) != KMessageBox::Continue ) return; |