summaryrefslogtreecommitdiffstats
path: root/src/projects/k3bdvdburndialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/projects/k3bdvdburndialog.cpp')
-rw-r--r--src/projects/k3bdvdburndialog.cpp54
1 files changed, 27 insertions, 27 deletions
diff --git a/src/projects/k3bdvdburndialog.cpp b/src/projects/k3bdvdburndialog.cpp
index 873afbf..4654bb9 100644
--- a/src/projects/k3bdvdburndialog.cpp
+++ b/src/projects/k3bdvdburndialog.cpp
@@ -33,30 +33,30 @@
#include <kio/global.h>
#include <kmessagebox.h>
-#include <qlayout.h>
-#include <qcheckbox.h>
-#include <qgroupbox.h>
-#include <qlabel.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-#include <qradiobutton.h>
-#include <qbuttongroup.h>
-#include <qspinbox.h>
-
-
-K3bDvdBurnDialog::K3bDvdBurnDialog( K3bDvdDoc* doc, QWidget *parent, const char *name, bool modal )
- : K3bProjectBurnDialog( doc, parent, name, modal, true ),
+#include <tqlayout.h>
+#include <tqcheckbox.h>
+#include <tqgroupbox.h>
+#include <tqlabel.h>
+#include <tqtooltip.h>
+#include <tqwhatsthis.h>
+#include <tqradiobutton.h>
+#include <tqbuttongroup.h>
+#include <tqspinbox.h>
+
+
+K3bDvdBurnDialog::K3bDvdBurnDialog( K3bDvdDoc* doc, TQWidget *tqparent, const char *name, bool modal )
+ : K3bProjectBurnDialog( doc, tqparent, name, modal, true ),
m_doc( doc )
{
prepareGui();
- setTitle( i18n("DVD Project"), i18n("Size: %1").arg( KIO::convertSize(doc->size()) ) );
+ setTitle( i18n("DVD Project"), i18n("Size: %1").tqarg( KIO::convertSize(doc->size()) ) );
// for now we just put the verify checkbox on the main page...
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 );
// create image settings tab
@@ -69,7 +69,7 @@ K3bDvdBurnDialog::K3bDvdBurnDialog( K3bDvdDoc* doc, QWidget *parent, const char
m_writerSelectionWidget->setWantedMediumState( K3bDevice::STATE_EMPTY|K3bDevice::STATE_INCOMPLETE );
- QString path = doc->tempDir();
+ TQString path = doc->tempDir();
if( !path.isEmpty() ) {
m_tempDirSelectionWidget->setTempPath( path );
}
@@ -77,8 +77,8 @@ K3bDvdBurnDialog::K3bDvdBurnDialog( K3bDvdDoc* doc, QWidget *parent, const char
m_tempDirSelectionWidget->setDefaultImageFileName( 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&)) );
}
@@ -89,14 +89,14 @@ K3bDvdBurnDialog::~K3bDvdBurnDialog()
void K3bDvdBurnDialog::setupSettingsTab()
{
- 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() );
// Multisession
// ////////////////////////////////////////////////////////////////////////
- QGroupBox* groupMultiSession = new QGroupBox( 1, Qt::Vertical, i18n("Multisession Mode"), frame );
+ TQGroupBox* groupMultiSession = new TQGroupBox( 1, Qt::Vertical, i18n("Multisession Mode"), frame );
m_comboMultisession = new K3bDataMultiSessionCombobox( groupMultiSession );
frameLayout->addWidget( groupMultiSession, 0, 0 );
@@ -104,8 +104,8 @@ void K3bDvdBurnDialog::setupSettingsTab()
addPage( frame, i18n("Misc") );
- connect( m_comboMultisession, SIGNAL(activated(int)),
- this, SLOT(slotMultiSessionModeChanged()) );
+ connect( m_comboMultisession, TQT_SIGNAL(activated(int)),
+ this, TQT_SLOT(slotMultiSessionModeChanged()) );
}
@@ -277,17 +277,17 @@ void K3bDvdBurnDialog::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 ) {
// delete the file here to avoid problems with free space in K3bProjectBurnDialog::slotStartClicked
- QFile::remove( m_tempDirSelectionWidget->tempPath() );
+ TQFile::remove( m_tempDirSelectionWidget->tempPath() );
}
else
return;