Replace Qt with TQt

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/31/head
Michele Calgaro 1 year ago
parent 95a45a4f4f
commit 5efc277625
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -1108,7 +1108,7 @@ bool K3bListView::eventFilter( TQObject* o, TQEvent* e )
} }
} }
if( me->button() == Qt::LeftButton ) { if( me->button() == TQt::LeftButton ) {
if( item != m_currentEditItem || m_currentEditColumn != col ) { if( item != m_currentEditItem || m_currentEditColumn != col ) {
doRename(); doRename();
if( K3bListViewItem* k3bItem = dynamic_cast<K3bListViewItem*>(item) ) { if( K3bListViewItem* k3bItem = dynamic_cast<K3bListViewItem*>(item) ) {

@ -83,7 +83,7 @@ K3bAudioMetainfoRenamerPluginWidget::K3bAudioMetainfoRenamerPluginWidget( K3bDoc
// d->progressDialog = 0; // d->progressDialog = 0;
// pattern group // pattern group
TQGroupBox* patternGroup = new TQGroupBox( 2, Qt::Horizontal, TQGroupBox* patternGroup = new TQGroupBox( 2, TQt::Horizontal,
i18n("Rename Pattern"), this ); i18n("Rename Pattern"), this );
patternGroup->setInsideMargin( KDialog::marginHint() ); patternGroup->setInsideMargin( KDialog::marginHint() );
patternGroup->setInsideSpacing( KDialog::spacingHint() ); patternGroup->setInsideSpacing( KDialog::spacingHint() );
@ -94,7 +94,7 @@ K3bAudioMetainfoRenamerPluginWidget::K3bAudioMetainfoRenamerPluginWidget( K3bDoc
d->scanButton = new TQPushButton( i18n("Scan"), patternGroup ); d->scanButton = new TQPushButton( i18n("Scan"), patternGroup );
// the files view // the files view
TQGroupBox* filesGroup = new TQGroupBox( 1, Qt::Horizontal, TQGroupBox* filesGroup = new TQGroupBox( 1, TQt::Horizontal,
i18n("Found Files"), this ); i18n("Found Files"), this );
filesGroup->setInsideMargin( KDialog::marginHint() ); filesGroup->setInsideMargin( KDialog::marginHint() );
filesGroup->setInsideSpacing( KDialog::spacingHint() ); filesGroup->setInsideSpacing( KDialog::spacingHint() );

@ -301,7 +301,7 @@ void K3bFileTreeComboBox::mousePressEvent( TQMouseEvent* e )
{ {
// mainly from qcombobox.cpp // mainly from qcombobox.cpp
if ( e->button() != Qt::LeftButton ) if ( e->button() != TQt::LeftButton )
return; return;
if ( d->ignoreNextMouseClick ) { if ( d->ignoreNextMouseClick ) {
d->ignoreNextMouseClick = FALSE; d->ignoreNextMouseClick = FALSE;

@ -343,7 +343,7 @@ void K3bDeviceTreeToolTip::maybeTip( const TQPoint& pos )
lay->addMultiCellWidget( label, 0, 0, 0, 1 ); lay->addMultiCellWidget( label, 0, 0, 0, 1 );
label = new TQLabel( details, tooltip ); label = new TQLabel( details, tooltip );
label->setMargin( 9 ); label->setMargin( 9 );
label->setAlignment( Qt::Vertical ); label->setAlignment( TQt::Vertical );
lay->addMultiCellWidget( label, 1, 2, 0, 0 ); lay->addMultiCellWidget( label, 1, 2, 0, 0 );
label = new TQLabel( tooltip ); label = new TQLabel( tooltip );
lay->addWidget( label, 2, 1 ); lay->addWidget( label, 2, 1 );
@ -705,7 +705,7 @@ void K3bFileTreeView::slotSettingsChangedK3b(int category)
void K3bFileTreeView::slotMouseButtonClickedK3b( int btn, TQListViewItem *item, const TQPoint &pos, int c ) void K3bFileTreeView::slotMouseButtonClickedK3b( int btn, TQListViewItem *item, const TQPoint &pos, int c )
{ {
if( (btn == Qt::LeftButton) && item ) if( (btn == TQt::LeftButton) && item )
emitExecute(item, pos, c); emitExecute(item, pos, c);
} }

@ -102,7 +102,7 @@ void K3bFlatButton::leaveEvent( TQEvent* )
void K3bFlatButton::mousePressEvent( TQMouseEvent* e ) void K3bFlatButton::mousePressEvent( TQMouseEvent* e )
{ {
if( e->button() == Qt::LeftButton ) { if( e->button() == TQt::LeftButton ) {
emit pressed(); emit pressed();
m_pressed = true; m_pressed = true;
} }
@ -113,7 +113,7 @@ void K3bFlatButton::mousePressEvent( TQMouseEvent* e )
void K3bFlatButton::mouseReleaseEvent( TQMouseEvent* e ) void K3bFlatButton::mouseReleaseEvent( TQMouseEvent* e )
{ {
if( e->button() == Qt::LeftButton ) { if( e->button() == TQt::LeftButton ) {
if( m_pressed ) if( m_pressed )
emit clicked(); emit clicked();
m_pressed = false; m_pressed = false;

@ -211,11 +211,11 @@ void K3bJobProgressOSD::mousePressEvent( TQMouseEvent* e )
{ {
m_dragOffset = e->pos(); m_dragOffset = e->pos();
if( e->button() == Qt::LeftButton && !m_dragging ) { if( e->button() == TQt::LeftButton && !m_dragging ) {
grabMouse( KCursor::sizeAllCursor() ); grabMouse( KCursor::sizeAllCursor() );
m_dragging = true; m_dragging = true;
} }
else if( e->button() == Qt::RightButton ) { else if( e->button() == TQt::RightButton ) {
TDEPopupMenu m; TDEPopupMenu m;
if( m.insertItem( i18n("Hide OSD") ) == m.exec( e->globalPos() ) ) if( m.insertItem( i18n("Hide OSD") ) == m.exec( e->globalPos() ) )
hide(); hide();

@ -177,7 +177,7 @@ bool K3bProjectTabWidget::eventFilter( TQObject* o, TQEvent* e )
if( o == tabBar() ) { if( o == tabBar() ) {
if( e->type() == TQEvent::MouseButtonPress ) { if( e->type() == TQEvent::MouseButtonPress ) {
TQMouseEvent* me = TQT_TQMOUSEEVENT(e); TQMouseEvent* me = TQT_TQMOUSEEVENT(e);
if( me->button() == Qt::RightButton ) { if( me->button() == TQt::RightButton ) {
if( projectAt( me->pos() ) ) { if( projectAt( me->pos() ) ) {
// we need change the tab because the actions work on the current tab // we need change the tab because the actions work on the current tab
TQTab* clickedTab = tabBar()->selectTab( me->pos() ); TQTab* clickedTab = tabBar()->selectTab( me->pos() );

@ -40,7 +40,7 @@
K3bTempDirSelectionWidget::K3bTempDirSelectionWidget( TQWidget *parent, const char *name ) K3bTempDirSelectionWidget::K3bTempDirSelectionWidget( TQWidget *parent, const char *name )
: TQGroupBox( 4, Qt::Vertical, parent, name ), : TQGroupBox( 4, TQt::Vertical, parent, name ),
m_labelCdSize(0), m_labelCdSize(0),
m_defaultImageFileName( "k3b_image.iso" ) m_defaultImageFileName( "k3b_image.iso" )
{ {

@ -425,7 +425,7 @@ void K3bWelcomeWidget::fixSize()
void K3bWelcomeWidget::contentsMousePressEvent( TQMouseEvent* e ) void K3bWelcomeWidget::contentsMousePressEvent( TQMouseEvent* e )
{ {
if( e->button() == Qt::RightButton ) { if( e->button() == TQt::RightButton ) {
TQMap<int, TDEAction*> map; TQMap<int, TDEAction*> map;
TDEPopupMenu addPop; TDEPopupMenu addPop;

@ -120,7 +120,7 @@ K3bWriterSelectionWidget::K3bWriterSelectionWidget( TQWidget *parent, const char
TQGroupBox* groupWriter = new TQGroupBox( this ); TQGroupBox* groupWriter = new TQGroupBox( this );
groupWriter->setTitle( i18n( "Burn Medium" ) ); groupWriter->setTitle( i18n( "Burn Medium" ) );
groupWriter->setColumnLayout(0, Qt::Vertical ); groupWriter->setColumnLayout(0, TQt::Vertical );
groupWriter->layout()->setSpacing( 0 ); groupWriter->layout()->setSpacing( 0 );
groupWriter->layout()->setMargin( 0 ); groupWriter->layout()->setMargin( 0 );

@ -108,7 +108,7 @@ void K3bBlankingDialog::setupGui()
m_writerSelectionWidget->setWantedMediumState( K3bDevice::STATE_COMPLETE|K3bDevice::STATE_INCOMPLETE ); m_writerSelectionWidget->setWantedMediumState( K3bDevice::STATE_COMPLETE|K3bDevice::STATE_INCOMPLETE );
// --- setup the blanking type button group ----------------------------- // --- setup the blanking type button group -----------------------------
TQGroupBox* groupBlankType = new TQGroupBox( 1, Qt::Vertical, i18n("&Erase Type"), frame ); TQGroupBox* groupBlankType = new TQGroupBox( 1, TQt::Vertical, i18n("&Erase Type"), frame );
groupBlankType->layout()->setSpacing( spacingHint() ); groupBlankType->layout()->setSpacing( spacingHint() );
groupBlankType->layout()->setMargin( marginHint() ); groupBlankType->layout()->setMargin( marginHint() );

@ -76,7 +76,7 @@ K3bCdCopyDialog::K3bCdCopyDialog( TQWidget *parent, const char *name, bool modal
mainGrid->setSpacing( spacingHint() ); mainGrid->setSpacing( spacingHint() );
mainGrid->setMargin( 0 ); mainGrid->setMargin( 0 );
TQGroupBox* groupSource = new TQGroupBox( 1, Qt::Vertical, i18n("Source Medium"), main ); TQGroupBox* groupSource = new TQGroupBox( 1, TQt::Vertical, i18n("Source Medium"), main );
groupSource->setInsideSpacing( spacingHint() ); groupSource->setInsideSpacing( spacingHint() );
groupSource->setInsideMargin( marginHint() ); groupSource->setInsideMargin( marginHint() );
m_comboSourceDevice = new K3bMediaSelectionComboBox( groupSource ); m_comboSourceDevice = new K3bMediaSelectionComboBox( groupSource );
@ -99,18 +99,18 @@ K3bCdCopyDialog::K3bCdCopyDialog( TQWidget *parent, const char *name, bool modal
optionTabGrid->setSpacing( spacingHint() ); optionTabGrid->setSpacing( spacingHint() );
optionTabGrid->setMargin( marginHint() ); optionTabGrid->setMargin( marginHint() );
TQGroupBox* groupCopyMode = new TQGroupBox( 1, Qt::Vertical, i18n("Copy Mode"), optionTab ); TQGroupBox* groupCopyMode = new TQGroupBox( 1, TQt::Vertical, i18n("Copy Mode"), optionTab );
groupCopyMode->setInsideMargin( marginHint() ); groupCopyMode->setInsideMargin( marginHint() );
groupCopyMode->setInsideSpacing( spacingHint() ); groupCopyMode->setInsideSpacing( spacingHint() );
m_comboCopyMode = new TQComboBox( groupCopyMode ); m_comboCopyMode = new TQComboBox( groupCopyMode );
m_comboCopyMode->insertItem( i18n("Normal Copy") ); m_comboCopyMode->insertItem( i18n("Normal Copy") );
m_comboCopyMode->insertItem( i18n("Clone Copy") ); m_comboCopyMode->insertItem( i18n("Clone Copy") );
TQGroupBox* groupWritingMode = new TQGroupBox( 1, Qt::Vertical, i18n("Writing Mode"), optionTab ); TQGroupBox* groupWritingMode = new TQGroupBox( 1, TQt::Vertical, i18n("Writing Mode"), optionTab );
groupWritingMode->setInsideMargin( marginHint() ); groupWritingMode->setInsideMargin( marginHint() );
m_writingModeWidget = new K3bWritingModeWidget( groupWritingMode ); m_writingModeWidget = new K3bWritingModeWidget( groupWritingMode );
TQGroupBox* groupCopies = new TQGroupBox( 2, Qt::Horizontal, i18n("Copies"), optionTab ); TQGroupBox* groupCopies = new TQGroupBox( 2, TQt::Horizontal, i18n("Copies"), optionTab );
groupCopies->setInsideSpacing( spacingHint() ); groupCopies->setInsideSpacing( spacingHint() );
groupCopies->setInsideMargin( marginHint() ); groupCopies->setInsideMargin( marginHint() );
TQLabel* pixLabel = new TQLabel( groupCopies ); TQLabel* pixLabel = new TQLabel( groupCopies );
@ -118,7 +118,7 @@ K3bCdCopyDialog::K3bCdCopyDialog( TQWidget *parent, const char *name, bool modal
pixLabel->setScaledContents( false ); pixLabel->setScaledContents( false );
m_spinCopies = new TQSpinBox( 1, 999, 1, groupCopies ); m_spinCopies = new TQSpinBox( 1, 999, 1, groupCopies );
TQGroupBox* groupOptions = new TQGroupBox( 5, Qt::Vertical, i18n("Settings"), optionTab ); TQGroupBox* groupOptions = new TQGroupBox( 5, TQt::Vertical, i18n("Settings"), optionTab );
groupOptions->setInsideSpacing( spacingHint() ); groupOptions->setInsideSpacing( spacingHint() );
groupOptions->setInsideMargin( marginHint() ); groupOptions->setInsideMargin( marginHint() );
m_checkSimulate = K3bStdGuiItems::simulateCheckbox( groupOptions ); m_checkSimulate = K3bStdGuiItems::simulateCheckbox( groupOptions );
@ -159,7 +159,7 @@ K3bCdCopyDialog::K3bCdCopyDialog( TQWidget *parent, const char *name, bool modal
advancedTabGrid->setSpacing( spacingHint() ); advancedTabGrid->setSpacing( spacingHint() );
advancedTabGrid->setMargin( marginHint() ); advancedTabGrid->setMargin( marginHint() );
m_groupAdvancedDataOptions = new TQGroupBox( 3, Qt::Vertical, i18n("Data"), advancedTab, "data_options" ); m_groupAdvancedDataOptions = new TQGroupBox( 3, TQt::Vertical, i18n("Data"), advancedTab, "data_options" );
m_groupAdvancedDataOptions->setInsideSpacing( spacingHint() ); m_groupAdvancedDataOptions->setInsideSpacing( spacingHint() );
m_groupAdvancedDataOptions->setInsideMargin( marginHint() ); m_groupAdvancedDataOptions->setInsideMargin( marginHint() );
TQHBox* box = new TQHBox( m_groupAdvancedDataOptions ); TQHBox* box = new TQHBox( m_groupAdvancedDataOptions );
@ -169,7 +169,7 @@ K3bCdCopyDialog::K3bCdCopyDialog( TQWidget *parent, const char *name, bool modal
m_checkIgnoreDataReadErrors = K3bStdGuiItems::ignoreAudioReadErrorsCheckBox( m_groupAdvancedDataOptions ); m_checkIgnoreDataReadErrors = K3bStdGuiItems::ignoreAudioReadErrorsCheckBox( m_groupAdvancedDataOptions );
m_checkNoCorrection = new TQCheckBox( i18n("No error correction"), m_groupAdvancedDataOptions ); m_checkNoCorrection = new TQCheckBox( i18n("No error correction"), m_groupAdvancedDataOptions );
m_groupAdvancedAudioOptions = new TQGroupBox( 5, Qt::Vertical, i18n("Audio"), advancedTab, "audio_options" ); m_groupAdvancedAudioOptions = new TQGroupBox( 5, TQt::Vertical, i18n("Audio"), advancedTab, "audio_options" );
m_groupAdvancedAudioOptions->setInsideSpacing( spacingHint() ); m_groupAdvancedAudioOptions->setInsideSpacing( spacingHint() );
m_groupAdvancedAudioOptions->setInsideMargin( marginHint() ); m_groupAdvancedAudioOptions->setInsideMargin( marginHint() );
box = new TQHBox( m_groupAdvancedAudioOptions ); box = new TQHBox( m_groupAdvancedAudioOptions );

@ -178,7 +178,7 @@ void K3bCdImageWritingDialog::setupGui()
// image // image
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
TQGroupBox* groupImageUrl = new TQGroupBox( 1, Qt::Horizontal, i18n("Image to Burn"), frame ); TQGroupBox* groupImageUrl = new TQGroupBox( 1, TQt::Horizontal, i18n("Image to Burn"), frame );
m_editImagePath = new KURLRequester( groupImageUrl ); m_editImagePath = new KURLRequester( groupImageUrl );
m_editImagePath->setMode( KFile::File|KFile::ExistingOnly ); m_editImagePath->setMode( KFile::File|KFile::ExistingOnly );
m_editImagePath->setCaption( i18n("Choose Image File") ); m_editImagePath->setCaption( i18n("Choose Image File") );
@ -192,7 +192,7 @@ void K3bCdImageWritingDialog::setupGui()
+ "\n" + "\n"
+ i18n("*|All Files") ); + i18n("*|All Files") );
TQGroupBox* groupImageType = new TQGroupBox( 1, Qt::Horizontal, i18n("Image Type"), frame ); TQGroupBox* groupImageType = new TQGroupBox( 1, TQt::Horizontal, i18n("Image Type"), frame );
m_comboImageType = new TQComboBox( groupImageType ); m_comboImageType = new TQComboBox( groupImageType );
m_comboImageType->insertItem( i18n("Auto Detection") ); m_comboImageType->insertItem( i18n("Auto Detection") );
m_comboImageType->insertItem( i18n("ISO9660 Image") ); m_comboImageType->insertItem( i18n("ISO9660 Image") );
@ -242,13 +242,13 @@ void K3bCdImageWritingDialog::setupGui()
optionTabLayout->setSpacing( spacingHint() ); optionTabLayout->setSpacing( spacingHint() );
optionTabLayout->setMargin( marginHint() ); optionTabLayout->setMargin( marginHint() );
TQGroupBox* writingModeGroup = new TQGroupBox( 1,Qt::Vertical, i18n("Writing Mode"), optionTab ); TQGroupBox* writingModeGroup = new TQGroupBox( 1,TQt::Vertical, i18n("Writing Mode"), optionTab );
writingModeGroup->setInsideMargin( marginHint() ); writingModeGroup->setInsideMargin( marginHint() );
m_writingModeWidget = new K3bWritingModeWidget( writingModeGroup ); m_writingModeWidget = new K3bWritingModeWidget( writingModeGroup );
// copies -------- // copies --------
TQGroupBox* groupCopies = new TQGroupBox( 2, Qt::Horizontal, i18n("Copies"), optionTab ); TQGroupBox* groupCopies = new TQGroupBox( 2, TQt::Horizontal, i18n("Copies"), optionTab );
groupCopies->setInsideSpacing( spacingHint() ); groupCopies->setInsideSpacing( spacingHint() );
groupCopies->setInsideMargin( marginHint() ); groupCopies->setInsideMargin( marginHint() );
TQLabel* pixLabel = new TQLabel( groupCopies ); TQLabel* pixLabel = new TQLabel( groupCopies );
@ -259,7 +259,7 @@ void K3bCdImageWritingDialog::setupGui()
m_spinCopies->setMaxValue( 999 ); m_spinCopies->setMaxValue( 999 );
// -------- copies // -------- copies
TQGroupBox* optionGroup = new TQGroupBox( 3,Qt::Vertical, i18n("Settings"), optionTab ); TQGroupBox* optionGroup = new TQGroupBox( 3,TQt::Vertical, i18n("Settings"), optionTab );
optionGroup->setInsideMargin( marginHint() ); optionGroup->setInsideMargin( marginHint() );
optionGroup->setInsideSpacing( spacingHint() ); optionGroup->setInsideSpacing( spacingHint() );
m_checkDummy = K3bStdGuiItems::simulateCheckbox( optionGroup ); m_checkDummy = K3bStdGuiItems::simulateCheckbox( optionGroup );

@ -69,7 +69,7 @@ K3bDvdCopyDialog::K3bDvdCopyDialog( TQWidget* parent, const char* name, bool mod
// //
// Source group // Source group
// ////////////////////////////////////////////////////////////////////////// // //////////////////////////////////////////////////////////////////////////
TQGroupBox* groupSource = new TQGroupBox( 1, Qt::Vertical, i18n("Source Medium"), w ); TQGroupBox* groupSource = new TQGroupBox( 1, TQt::Vertical, i18n("Source Medium"), w );
groupSource->setInsideSpacing( spacingHint() ); groupSource->setInsideSpacing( spacingHint() );
groupSource->setInsideMargin( marginHint() ); groupSource->setInsideMargin( marginHint() );
m_comboSourceDevice = new K3bMediaSelectionComboBox( groupSource ); m_comboSourceDevice = new K3bMediaSelectionComboBox( groupSource );
@ -97,11 +97,11 @@ K3bDvdCopyDialog::K3bDvdCopyDialog( TQWidget* parent, const char* name, bool mod
optionTabGrid->setSpacing( spacingHint() ); optionTabGrid->setSpacing( spacingHint() );
optionTabGrid->setMargin( marginHint() ); optionTabGrid->setMargin( marginHint() );
TQGroupBox* groupWritingMode = new TQGroupBox( 1, Qt::Vertical, i18n("Writing Mode"), optionTab ); TQGroupBox* groupWritingMode = new TQGroupBox( 1, TQt::Vertical, i18n("Writing Mode"), optionTab );
groupWritingMode->setInsideMargin( marginHint() ); groupWritingMode->setInsideMargin( marginHint() );
m_writingModeWidget = new K3bWritingModeWidget( groupWritingMode ); m_writingModeWidget = new K3bWritingModeWidget( groupWritingMode );
TQGroupBox* groupOptions = new TQGroupBox( 5, Qt::Vertical, i18n("Settings"), optionTab ); TQGroupBox* groupOptions = new TQGroupBox( 5, TQt::Vertical, i18n("Settings"), optionTab );
groupOptions->setInsideSpacing( spacingHint() ); groupOptions->setInsideSpacing( spacingHint() );
groupOptions->setInsideMargin( marginHint() ); groupOptions->setInsideMargin( marginHint() );
m_checkSimulate = K3bStdGuiItems::simulateCheckbox( groupOptions ); m_checkSimulate = K3bStdGuiItems::simulateCheckbox( groupOptions );
@ -110,7 +110,7 @@ K3bDvdCopyDialog::K3bDvdCopyDialog( TQWidget* parent, const char* name, bool mod
m_checkDeleteImages = K3bStdGuiItems::removeImagesCheckbox( groupOptions ); m_checkDeleteImages = K3bStdGuiItems::removeImagesCheckbox( groupOptions );
m_checkVerifyData = K3bStdGuiItems::verifyCheckBox( groupOptions ); m_checkVerifyData = K3bStdGuiItems::verifyCheckBox( groupOptions );
TQGroupBox* groupCopies = new TQGroupBox( 2, Qt::Horizontal, i18n("Copies"), optionTab ); TQGroupBox* groupCopies = new TQGroupBox( 2, TQt::Horizontal, i18n("Copies"), optionTab );
groupCopies->setInsideSpacing( spacingHint() ); groupCopies->setInsideSpacing( spacingHint() );
groupCopies->setInsideMargin( marginHint() ); groupCopies->setInsideMargin( marginHint() );
TQLabel* pixLabel = new TQLabel( groupCopies ); TQLabel* pixLabel = new TQLabel( groupCopies );
@ -153,7 +153,7 @@ K3bDvdCopyDialog::K3bDvdCopyDialog( TQWidget* parent, const char* name, bool mod
advancedTabGrid->setSpacing( spacingHint() ); advancedTabGrid->setSpacing( spacingHint() );
advancedTabGrid->setMargin( marginHint() ); advancedTabGrid->setMargin( marginHint() );
TQGroupBox* groupGeneral = new TQGroupBox( 2, Qt::Vertical, i18n("General"), advancedTab ); TQGroupBox* groupGeneral = new TQGroupBox( 2, TQt::Vertical, i18n("General"), advancedTab );
groupGeneral->setInsideSpacing( spacingHint() ); groupGeneral->setInsideSpacing( spacingHint() );
groupGeneral->setInsideMargin( marginHint() ); groupGeneral->setInsideMargin( marginHint() );
TQHBox* box = new TQHBox( groupGeneral ); TQHBox* box = new TQHBox( groupGeneral );

@ -58,14 +58,14 @@ K3bDvdFormattingDialog::K3bDvdFormattingDialog( TQWidget* parent, const char* na
m_writerSelectionWidget->setSupportedWritingApps( K3b::DVD_RW_FORMAT ); m_writerSelectionWidget->setSupportedWritingApps( K3b::DVD_RW_FORMAT );
m_writerSelectionWidget->setForceAutoSpeed(true); m_writerSelectionWidget->setForceAutoSpeed(true);
TQGroupBox* groupWritingMode = new TQGroupBox( 1, Qt::Vertical, i18n("Writing Mode"), frame ); TQGroupBox* groupWritingMode = new TQGroupBox( 1, TQt::Vertical, i18n("Writing Mode"), frame );
groupWritingMode->layout()->setMargin( marginHint() ); groupWritingMode->layout()->setMargin( marginHint() );
groupWritingMode->layout()->setSpacing( spacingHint() ); groupWritingMode->layout()->setSpacing( spacingHint() );
m_writingModeWidget = new K3bWritingModeWidget( K3b::WRITING_MODE_INCR_SEQ|K3b::WRITING_MODE_RES_OVWR, m_writingModeWidget = new K3bWritingModeWidget( K3b::WRITING_MODE_INCR_SEQ|K3b::WRITING_MODE_RES_OVWR,
groupWritingMode ); groupWritingMode );
TQGroupBox* groupOptions = new TQGroupBox( 2, Qt::Vertical, i18n("Settings"), frame ); TQGroupBox* groupOptions = new TQGroupBox( 2, TQt::Vertical, i18n("Settings"), frame );
groupOptions->layout()->setMargin( marginHint() ); groupOptions->layout()->setMargin( marginHint() );
groupOptions->layout()->setSpacing( spacingHint() ); groupOptions->layout()->setSpacing( spacingHint() );
m_checkForce = new TQCheckBox( i18n("Force"), groupOptions ); m_checkForce = new TQCheckBox( i18n("Force"), groupOptions );

@ -149,7 +149,7 @@ void K3bIsoImageWritingDialog::setupGui()
// image // image
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
TQGroupBox* groupImageUrl = new TQGroupBox( 1, Qt::Horizontal, i18n("Image to Burn"), frame ); TQGroupBox* groupImageUrl = new TQGroupBox( 1, TQt::Horizontal, i18n("Image to Burn"), frame );
m_editImagePath = new KURLRequester( groupImageUrl ); m_editImagePath = new KURLRequester( groupImageUrl );
m_editImagePath->setMode( KFile::File|KFile::ExistingOnly ); m_editImagePath->setMode( KFile::File|KFile::ExistingOnly );
m_editImagePath->setCaption( i18n("Choose Image File") ); m_editImagePath->setCaption( i18n("Choose Image File") );
@ -185,13 +185,13 @@ void K3bIsoImageWritingDialog::setupGui()
optionTabLayout->setSpacing( spacingHint() ); optionTabLayout->setSpacing( spacingHint() );
optionTabLayout->setMargin( marginHint() ); optionTabLayout->setMargin( marginHint() );
TQGroupBox* writingModeGroup = new TQGroupBox( 1,Qt::Vertical, i18n("Writing Mode"), optionTab ); TQGroupBox* writingModeGroup = new TQGroupBox( 1,TQt::Vertical, i18n("Writing Mode"), optionTab );
writingModeGroup->setInsideMargin( marginHint() ); writingModeGroup->setInsideMargin( marginHint() );
m_writingModeWidget = new K3bWritingModeWidget( writingModeGroup ); m_writingModeWidget = new K3bWritingModeWidget( writingModeGroup );
// copies -------- // copies --------
TQGroupBox* groupCopies = new TQGroupBox( 2, Qt::Horizontal, i18n("Copies"), optionTab ); TQGroupBox* groupCopies = new TQGroupBox( 2, TQt::Horizontal, i18n("Copies"), optionTab );
groupCopies->setInsideSpacing( spacingHint() ); groupCopies->setInsideSpacing( spacingHint() );
groupCopies->setInsideMargin( marginHint() ); groupCopies->setInsideMargin( marginHint() );
TQLabel* pixLabel = new TQLabel( groupCopies ); TQLabel* pixLabel = new TQLabel( groupCopies );
@ -202,7 +202,7 @@ void K3bIsoImageWritingDialog::setupGui()
m_spinCopies->setMaxValue( 999 ); m_spinCopies->setMaxValue( 999 );
// -------- copies // -------- copies
TQGroupBox* optionGroup = new TQGroupBox( 3,Qt::Vertical, i18n("Settings"), optionTab ); TQGroupBox* optionGroup = new TQGroupBox( 3,TQt::Vertical, i18n("Settings"), optionTab );
optionGroup->setInsideMargin( marginHint() ); optionGroup->setInsideMargin( marginHint() );
optionGroup->setInsideSpacing( spacingHint() ); optionGroup->setInsideSpacing( spacingHint() );
m_checkDummy = K3bStdGuiItems::simulateCheckbox( optionGroup ); m_checkDummy = K3bStdGuiItems::simulateCheckbox( optionGroup );

@ -59,7 +59,7 @@ void K3bBurningOptionTab::setupGui()
groupAdvancedLayout->setMargin( 0 ); groupAdvancedLayout->setMargin( 0 );
TQGroupBox* groupWritingApp = new TQGroupBox( 0, Qt::Vertical, i18n("Burning"), this ); TQGroupBox* groupWritingApp = new TQGroupBox( 0, TQt::Vertical, i18n("Burning"), this );
groupWritingApp->layout()->setMargin( 0 ); groupWritingApp->layout()->setMargin( 0 );
TQGridLayout* bufferLayout = new TQGridLayout( groupWritingApp->layout() ); TQGridLayout* bufferLayout = new TQGridLayout( groupWritingApp->layout() );
bufferLayout->setMargin( KDialog::marginHint() ); bufferLayout->setMargin( KDialog::marginHint() );
@ -80,7 +80,7 @@ void K3bBurningOptionTab::setupGui()
bufferLayout->addMultiCellWidget( m_checkAllowWritingAppSelection, 4, 4, 0, 2 ); bufferLayout->addMultiCellWidget( m_checkAllowWritingAppSelection, 4, 4, 0, 2 );
bufferLayout->setColStretch( 2, 1 ); bufferLayout->setColStretch( 2, 1 );
TQGroupBox* groupMisc = new TQGroupBox( 2, Qt::Vertical, i18n("Miscellaneous"), this ); TQGroupBox* groupMisc = new TQGroupBox( 2, TQt::Vertical, i18n("Miscellaneous"), this );
m_checkEject = new TQCheckBox( i18n("Do not &eject medium after write process"), groupMisc ); m_checkEject = new TQCheckBox( i18n("Do not &eject medium after write process"), groupMisc );
m_checkAutoErasingRewritable = new TQCheckBox( i18n("Automatically erase CD-RWs and DVD-RWs"), groupMisc ); m_checkAutoErasingRewritable = new TQCheckBox( i18n("Automatically erase CD-RWs and DVD-RWs"), groupMisc );

@ -169,7 +169,7 @@ K3bDeviceWidget::K3bDeviceWidget( K3bDevice::DeviceManager* manager, TQWidget *p
// Devices Box // Devices Box
// ------------------------------------------------ // ------------------------------------------------
TQGroupBox* groupDevices = new TQGroupBox( 1, Qt::Vertical, i18n( "CD/DVD Drives" ), this ); TQGroupBox* groupDevices = new TQGroupBox( 1, TQt::Vertical, i18n( "CD/DVD Drives" ), this );
groupDevices->layout()->setSpacing( KDialog::spacingHint() ); groupDevices->layout()->setSpacing( KDialog::spacingHint() );
groupDevices->layout()->setMargin( KDialog::marginHint() ); groupDevices->layout()->setMargin( KDialog::marginHint() );

@ -79,13 +79,13 @@ K3bAudioBurnDialog::K3bAudioBurnDialog(K3bAudioDoc* _doc, TQWidget *parent, cons
advancedTabGrid->setSpacing( spacingHint() ); advancedTabGrid->setSpacing( spacingHint() );
advancedTabGrid->setMargin( marginHint() ); advancedTabGrid->setMargin( marginHint() );
TQGroupBox* advancedSettingsGroup = new TQGroupBox( 1, Qt::Vertical, i18n("Settings"), advancedTab ); TQGroupBox* advancedSettingsGroup = new TQGroupBox( 1, TQt::Vertical, i18n("Settings"), advancedTab );
m_checkNormalize = K3bStdGuiItems::normalizeCheckBox( advancedSettingsGroup ); m_checkNormalize = K3bStdGuiItems::normalizeCheckBox( advancedSettingsGroup );
TQGroupBox* advancedGimmickGroup = new TQGroupBox( 1, Qt::Vertical, i18n("Gimmicks"), advancedTab ); TQGroupBox* advancedGimmickGroup = new TQGroupBox( 1, TQt::Vertical, i18n("Gimmicks"), advancedTab );
m_checkHideFirstTrack = new TQCheckBox( i18n( "Hide first track" ), advancedGimmickGroup, "m_checkHideFirstTrack" ); m_checkHideFirstTrack = new TQCheckBox( i18n( "Hide first track" ), advancedGimmickGroup, "m_checkHideFirstTrack" );
m_audioRippingGroup = new TQGroupBox( 3, Qt::Vertical, i18n("Audio Ripping"), advancedTab ); m_audioRippingGroup = new TQGroupBox( 3, TQt::Vertical, i18n("Audio Ripping"), advancedTab );
TQHBox* box = new TQHBox( m_audioRippingGroup ); TQHBox* box = new TQHBox( m_audioRippingGroup );
box->setSpacing( spacingHint() ); box->setSpacing( spacingHint() );
box->setStretchFactor(new TQLabel( i18n("Paranoia mode:"), box ), 1 ); box->setStretchFactor(new TQLabel( i18n("Paranoia mode:"), box ), 1 );

@ -718,7 +718,7 @@ void K3bAudioEditorWidget::mouseMoveEvent( TQMouseEvent* e )
if( m_mouseAt ) if( m_mouseAt )
emit mouseAt( posToMsf( e->pos().x() ) ); emit mouseAt( posToMsf( e->pos().x() ) );
if( e->state() & Qt::LeftButton ) { if( e->state() & TQt::LeftButton ) {
if( m_draggedRange ) { if( m_draggedRange ) {
// determine the position the range's end was dragged to and its other end // determine the position the range's end was dragged to and its other end
K3b::Msf msfPos = TQMAX( 0, TQMIN( posToMsf( e->pos().x() ), m_length-1 ) ); K3b::Msf msfPos = TQMAX( 0, TQMIN( posToMsf( e->pos().x() ), m_length-1 ) );

@ -105,7 +105,7 @@ K3bAudioTrackPlayer::K3bAudioTrackPlayer( K3bAudioDoc* doc, TQObject* parent, co
d->actionCollection, d->actionCollection,
"prev" ); "prev" );
d->seekSlider = new TQSlider( 0, 100, 1, 0, Qt::Horizontal, 0, "audiotrackplayerslider" ); d->seekSlider = new TQSlider( 0, 100, 1, 0, TQt::Horizontal, 0, "audiotrackplayerslider" );
connect( d->seekSlider, TQT_SIGNAL(sliderMoved(int)), this, TQT_SLOT(slotSeek(int)) ); connect( d->seekSlider, TQT_SIGNAL(sliderMoved(int)), this, TQT_SLOT(slotSeek(int)) );
// FIXME: maybe it's not such a good idea to use a KWidgetAction here since this way the player // FIXME: maybe it's not such a good idea to use a KWidgetAction here since this way the player
// can only be used once in one widget. If the action would always create a new slider we could plug // can only be used once in one widget. If the action would always create a new slider we could plug

@ -157,10 +157,10 @@ void K3bDataBurnDialog::setupSettingsTab()
frameLayout->setSpacing( spacingHint() ); frameLayout->setSpacing( spacingHint() );
frameLayout->setMargin( marginHint() ); frameLayout->setMargin( marginHint() );
m_groupDataMode = new TQGroupBox( 1, Qt::Vertical, i18n("Datatrack Mode"), frame ); m_groupDataMode = new TQGroupBox( 1, TQt::Vertical, i18n("Datatrack Mode"), frame );
m_dataModeWidget = new K3bDataModeWidget( m_groupDataMode ); m_dataModeWidget = new K3bDataModeWidget( m_groupDataMode );
TQGroupBox* groupMultiSession = new TQGroupBox( 1, Qt::Vertical, i18n("Multisession Mode"), frame ); TQGroupBox* groupMultiSession = new TQGroupBox( 1, TQt::Vertical, i18n("Multisession Mode"), frame );
m_comboMultisession = new K3bDataMultiSessionCombobox( groupMultiSession ); m_comboMultisession = new K3bDataMultiSessionCombobox( groupMultiSession );
frameLayout->addWidget( m_groupDataMode, 0, 0 ); frameLayout->addWidget( m_groupDataMode, 0, 0 );

@ -96,7 +96,7 @@ void K3bDvdBurnDialog::setupSettingsTab()
// Multisession // Multisession
// //////////////////////////////////////////////////////////////////////// // ////////////////////////////////////////////////////////////////////////
TQGroupBox* groupMultiSession = new TQGroupBox( 1, Qt::Vertical, i18n("Multisession Mode"), frame ); TQGroupBox* groupMultiSession = new TQGroupBox( 1, TQt::Vertical, i18n("Multisession Mode"), frame );
m_comboMultisession = new K3bDataMultiSessionCombobox( groupMultiSession ); m_comboMultisession = new K3bDataMultiSessionCombobox( groupMultiSession );
frameLayout->addWidget( groupMultiSession, 0, 0 ); frameLayout->addWidget( groupMultiSession, 0, 0 );

@ -118,7 +118,7 @@ TQSize K3bFillStatusDisplayWidget::minimumSizeHint() const
void K3bFillStatusDisplayWidget::mousePressEvent( TQMouseEvent* e ) void K3bFillStatusDisplayWidget::mousePressEvent( TQMouseEvent* e )
{ {
if( e->button() == Qt::RightButton ) if( e->button() == TQt::RightButton )
emit contextMenu( e->globalPos() ); emit contextMenu( e->globalPos() );
} }

@ -94,13 +94,13 @@ void K3bMixedBurnDialog::setupSettingsPage()
{ {
TQWidget* w = new TQWidget( this ); TQWidget* w = new TQWidget( this );
TQGroupBox* groupDataMode = new TQGroupBox( 1, Qt::Vertical, i18n("Datatrack Mode"), w ); TQGroupBox* groupDataMode = new TQGroupBox( 1, TQt::Vertical, i18n("Datatrack Mode"), w );
m_dataModeWidget = new K3bDataModeWidget( groupDataMode ); m_dataModeWidget = new K3bDataModeWidget( groupDataMode );
TQGroupBox* groupNormalize = new TQGroupBox( 1, Qt::Vertical, i18n("Misc"), w ); TQGroupBox* groupNormalize = new TQGroupBox( 1, TQt::Vertical, i18n("Misc"), w );
m_checkNormalize = K3bStdGuiItems::normalizeCheckBox( groupNormalize ); m_checkNormalize = K3bStdGuiItems::normalizeCheckBox( groupNormalize );
TQGroupBox* groupMixedType = new TQGroupBox( 1, Qt::Vertical, i18n("Mixed Mode Type"), w ); TQGroupBox* groupMixedType = new TQGroupBox( 1, TQt::Vertical, i18n("Mixed Mode Type"), w );
m_comboMixedModeType = new K3bIntMapComboBox( groupMixedType ); m_comboMixedModeType = new K3bIntMapComboBox( groupMixedType );
m_comboMixedModeType->insertItem( K3bMixedDoc::DATA_SECOND_SESSION, m_comboMixedModeType->insertItem( K3bMixedDoc::DATA_SECOND_SESSION,

@ -96,10 +96,10 @@ void K3bMovixBurnDialog::setupSettingsPage()
frameLayout->setSpacing( spacingHint() ); frameLayout->setSpacing( spacingHint() );
frameLayout->setMargin( marginHint() ); frameLayout->setMargin( marginHint() );
TQGroupBox* groupDataMode = new TQGroupBox( 1, Qt::Vertical, i18n("Datatrack Mode"), frame ); TQGroupBox* groupDataMode = new TQGroupBox( 1, TQt::Vertical, i18n("Datatrack Mode"), frame );
m_dataModeWidget = new K3bDataModeWidget( groupDataMode ); m_dataModeWidget = new K3bDataModeWidget( groupDataMode );
TQGroupBox* groupMultisession = new TQGroupBox( 1, Qt::Vertical, i18n("Multisession"), frame ); TQGroupBox* groupMultisession = new TQGroupBox( 1, TQt::Vertical, i18n("Multisession"), frame );
m_checkStartMultiSesssion = K3bStdGuiItems::startMultisessionCheckBox( groupMultisession ); m_checkStartMultiSesssion = K3bStdGuiItems::startMultisessionCheckBox( groupMultisession );
frameLayout->addWidget( groupDataMode, 0, 0 ); frameLayout->addWidget( groupDataMode, 0, 0 );

@ -264,11 +264,11 @@ void K3bProjectBurnDialog::prepareGui()
TQWidget* w = new TQWidget( m_tabWidget ); TQWidget* w = new TQWidget( m_tabWidget );
m_tabWidget->addTab( w, i18n("Writing") ); m_tabWidget->addTab( w, i18n("Writing") );
TQGroupBox* groupWritingMode = new TQGroupBox( 1, Qt::Vertical, i18n("Writing Mode"), w ); TQGroupBox* groupWritingMode = new TQGroupBox( 1, TQt::Vertical, i18n("Writing Mode"), w );
groupWritingMode->setInsideMargin( marginHint() ); groupWritingMode->setInsideMargin( marginHint() );
m_writingModeWidget = new K3bWritingModeWidget( groupWritingMode ); m_writingModeWidget = new K3bWritingModeWidget( groupWritingMode );
m_optionGroup = new TQGroupBox( 0, Qt::Vertical, i18n("Settings"), w ); m_optionGroup = new TQGroupBox( 0, TQt::Vertical, i18n("Settings"), w );
m_optionGroup->layout()->setMargin(0); m_optionGroup->layout()->setMargin(0);
m_optionGroup->layout()->setSpacing(0); m_optionGroup->layout()->setSpacing(0);
m_optionGroupLayout = new TQVBoxLayout( m_optionGroup->layout() ); m_optionGroupLayout = new TQVBoxLayout( m_optionGroup->layout() );
@ -286,7 +286,7 @@ void K3bProjectBurnDialog::prepareGui()
m_optionGroupLayout->addWidget(m_checkOnlyCreateImage); m_optionGroupLayout->addWidget(m_checkOnlyCreateImage);
m_optionGroupLayout->addWidget(m_checkRemoveBufferFiles); m_optionGroupLayout->addWidget(m_checkRemoveBufferFiles);
TQGroupBox* groupCopies = new TQGroupBox( 2, Qt::Horizontal, i18n("Copies"), w ); TQGroupBox* groupCopies = new TQGroupBox( 2, TQt::Horizontal, i18n("Copies"), w );
groupCopies->setInsideSpacing( spacingHint() ); groupCopies->setInsideSpacing( spacingHint() );
groupCopies->setInsideMargin( marginHint() ); groupCopies->setInsideMargin( marginHint() );
TQLabel* pixLabel = new TQLabel( groupCopies ); TQLabel* pixLabel = new TQLabel( groupCopies );

@ -296,7 +296,7 @@ void K3bVcdBurnDialog::setupAdvancedTab()
TQWidget * w = new TQWidget( this ); TQWidget * w = new TQWidget( this );
// ---------------------------------------------------- generic group ---- // ---------------------------------------------------- generic group ----
m_groupGeneric = new TQGroupBox( 5, Qt::Vertical, i18n( "Generic" ), w ); m_groupGeneric = new TQGroupBox( 5, TQt::Vertical, i18n( "Generic" ), w );
m_checkPbc = new TQCheckBox( i18n( "Playback Control (PBC)" ), m_groupGeneric ); m_checkPbc = new TQCheckBox( i18n( "Playback Control (PBC)" ), m_groupGeneric );
m_checkSegmentFolder = new TQCheckBox( i18n( "SEGMENT Folder must always be present" ), m_groupGeneric ); m_checkSegmentFolder = new TQCheckBox( i18n( "SEGMENT Folder must always be present" ), m_groupGeneric );
@ -306,7 +306,7 @@ void K3bVcdBurnDialog::setupAdvancedTab()
// -------------------------------------------- gaps & margins group ---- // -------------------------------------------- gaps & margins group ----
m_groupGaps = new TQGroupBox( 0, Qt::Vertical, i18n( "Gaps" ), w ); m_groupGaps = new TQGroupBox( 0, TQt::Vertical, i18n( "Gaps" ), w );
m_groupGaps->layout() ->setSpacing( spacingHint() ); m_groupGaps->layout() ->setSpacing( spacingHint() );
m_groupGaps->layout() ->setMargin( marginHint() ); m_groupGaps->layout() ->setMargin( marginHint() );
@ -402,7 +402,7 @@ void K3bVcdBurnDialog::setupAdvancedTab()
groupGapsLayout->setRowStretch( 4, 0 ); groupGapsLayout->setRowStretch( 4, 0 );
// ------------------------------------------------------- misc group ---- // ------------------------------------------------------- misc group ----
m_groupMisc = new TQGroupBox( 0, Qt::Vertical, i18n( "Misc" ), w ); m_groupMisc = new TQGroupBox( 0, TQt::Vertical, i18n( "Misc" ), w );
m_groupMisc->layout() ->setSpacing( spacingHint() ); m_groupMisc->layout() ->setSpacing( spacingHint() );
m_groupMisc->layout() ->setMargin( marginHint() ); m_groupMisc->layout() ->setMargin( marginHint() );
@ -434,7 +434,7 @@ void K3bVcdBurnDialog::setupVideoCdTab()
TQWidget * w = new TQWidget( this ); TQWidget * w = new TQWidget( this );
// ---------------------------------------------------- Format group ---- // ---------------------------------------------------- Format group ----
m_groupVcdFormat = new TQButtonGroup( 4, Qt::Vertical, i18n( "Type" ), w ); m_groupVcdFormat = new TQButtonGroup( 4, TQt::Vertical, i18n( "Type" ), w );
m_radioVcd11 = new TQRadioButton( i18n( "VideoCD 1.1" ), m_groupVcdFormat ); m_radioVcd11 = new TQRadioButton( i18n( "VideoCD 1.1" ), m_groupVcdFormat );
m_radioVcd20 = new TQRadioButton( i18n( "VideoCD 2.0" ), m_groupVcdFormat ); m_radioVcd20 = new TQRadioButton( i18n( "VideoCD 2.0" ), m_groupVcdFormat );
m_radioSvcd10 = new TQRadioButton( i18n( "Super-VideoCD" ), m_groupVcdFormat ); m_radioSvcd10 = new TQRadioButton( i18n( "Super-VideoCD" ), m_groupVcdFormat );
@ -443,7 +443,7 @@ void K3bVcdBurnDialog::setupVideoCdTab()
// ---------------------------------------------------- Options group --- // ---------------------------------------------------- Options group ---
m_groupOptions = new TQGroupBox( 5, Qt::Vertical, i18n( "Settings" ), w ); m_groupOptions = new TQGroupBox( 5, TQt::Vertical, i18n( "Settings" ), w );
m_checkAutoDetect = new TQCheckBox( i18n( "Autodetect VideoCD type" ), m_groupOptions ); m_checkAutoDetect = new TQCheckBox( i18n( "Autodetect VideoCD type" ), m_groupOptions );
m_checkNonCompliant = new TQCheckBox( i18n( "Enable broken SVCD mode" ), m_groupOptions ); m_checkNonCompliant = new TQCheckBox( i18n( "Enable broken SVCD mode" ), m_groupOptions );
@ -461,7 +461,7 @@ void K3bVcdBurnDialog::setupVideoCdTab()
m_checkCdiSupport = new TQCheckBox( i18n( "Enable CD-i support" ), m_groupOptions ); m_checkCdiSupport = new TQCheckBox( i18n( "Enable CD-i support" ), m_groupOptions );
// ------------------------------------------------- CD-i Application --- // ------------------------------------------------- CD-i Application ---
m_groupCdi = new TQGroupBox( 4, Qt::Vertical, i18n( "VideoCD on CD-i" ), w ); m_groupCdi = new TQGroupBox( 4, TQt::Vertical, i18n( "VideoCD on CD-i" ), w );
m_editCdiCfg = new TQMultiLineEdit( m_groupCdi, "m_editCdiCfg" ); m_editCdiCfg = new TQMultiLineEdit( m_groupCdi, "m_editCdiCfg" );
m_editCdiCfg->setFrameShape( TQTextEdit::NoFrame ); m_editCdiCfg->setFrameShape( TQTextEdit::NoFrame );

@ -374,7 +374,7 @@ void K3bVcdTrackDialog::prepareGui()
/////////////////////////////////////////////////// ///////////////////////////////////////////////////
// FILE-INFO BOX // FILE-INFO BOX
/////////////////////////////////////////////////// ///////////////////////////////////////////////////
TQGroupBox* groupFileInfo = new TQGroupBox( 0, Qt::Vertical, i18n( "File Info" ), frame, "groupFileInfo" ); TQGroupBox* groupFileInfo = new TQGroupBox( 0, TQt::Vertical, i18n( "File Info" ), frame, "groupFileInfo" );
groupFileInfo->layout() ->setSpacing( 0 ); groupFileInfo->layout() ->setSpacing( 0 );
groupFileInfo->layout() ->setMargin( 0 ); groupFileInfo->layout() ->setMargin( 0 );
@ -449,7 +449,7 @@ void K3bVcdTrackDialog::setupPbcTab()
////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////
TQGroupBox* groupOptions = new TQGroupBox( 3, Qt::Vertical, i18n( "Settings" ), w ); TQGroupBox* groupOptions = new TQGroupBox( 3, TQt::Vertical, i18n( "Settings" ), w );
groupOptions->layout() ->setSpacing( spacingHint() ); groupOptions->layout() ->setSpacing( spacingHint() );
groupOptions->layout() ->setMargin( marginHint() ); groupOptions->layout() ->setMargin( marginHint() );
@ -462,7 +462,7 @@ void K3bVcdTrackDialog::setupPbcTab()
m_check_reactivity->setEnabled( false ); m_check_reactivity->setEnabled( false );
////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////
m_groupPlay = new TQGroupBox( 0, Qt::Vertical, i18n( "Playing" ), w ); m_groupPlay = new TQGroupBox( 0, TQt::Vertical, i18n( "Playing" ), w );
m_groupPlay->layout() ->setSpacing( spacingHint() ); m_groupPlay->layout() ->setSpacing( spacingHint() );
m_groupPlay->layout() ->setMargin( marginHint() ); m_groupPlay->layout() ->setMargin( marginHint() );
@ -498,7 +498,7 @@ void K3bVcdTrackDialog::setupPbcTab()
groupPlayLayout->addMultiCellWidget( m_comboAfterTimeout, 3, 3, 1, 3 ); groupPlayLayout->addMultiCellWidget( m_comboAfterTimeout, 3, 3, 1, 3 );
////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////
m_groupPbc = new TQGroupBox( 0, Qt::Vertical, i18n( "Key Pressed Interaction" ), w ); m_groupPbc = new TQGroupBox( 0, TQt::Vertical, i18n( "Key Pressed Interaction" ), w );
m_groupPbc->layout() ->setSpacing( spacingHint() ); m_groupPbc->layout() ->setSpacing( spacingHint() );
m_groupPbc->layout() ->setMargin( marginHint() ); m_groupPbc->layout() ->setMargin( marginHint() );
@ -557,7 +557,7 @@ void K3bVcdTrackDialog::setupPbcKeyTab()
grid->setSpacing( spacingHint() ); grid->setSpacing( spacingHint() );
grid->setMargin( marginHint() ); grid->setMargin( marginHint() );
m_groupKey = new TQGroupBox( 3, Qt::Vertical, i18n( "Numeric Keys" ), m_widgetnumkeys ); m_groupKey = new TQGroupBox( 3, TQt::Vertical, i18n( "Numeric Keys" ), m_widgetnumkeys );
m_groupKey->setEnabled( false ); m_groupKey->setEnabled( false );
m_groupKey->layout() ->setSpacing( spacingHint() ); m_groupKey->layout() ->setSpacing( spacingHint() );
m_groupKey->layout() ->setMargin( marginHint() ); m_groupKey->layout() ->setMargin( marginHint() );

@ -72,7 +72,7 @@ void K3bVideoCdRippingDialog::setupGui()
MainLayout->setMargin( 0 ); MainLayout->setMargin( 0 );
// ---------------------------------------------------- Directory group --- // ---------------------------------------------------- Directory group ---
TQGroupBox* groupDirectory = new TQGroupBox( 0, Qt::Vertical, i18n( "Destination Directory" ), frame ); TQGroupBox* groupDirectory = new TQGroupBox( 0, TQt::Vertical, i18n( "Destination Directory" ), frame );
groupDirectory->layout() ->setSpacing( KDialog::spacingHint() ); groupDirectory->layout() ->setSpacing( KDialog::spacingHint() );
groupDirectory->layout() ->setMargin( KDialog::marginHint() ); groupDirectory->layout() ->setMargin( KDialog::marginHint() );
@ -105,7 +105,7 @@ void K3bVideoCdRippingDialog::setupGui()
groupDirectoryLayout->addWidget( necessarySizeBox, 2, 1 ); groupDirectoryLayout->addWidget( necessarySizeBox, 2, 1 );
// ---------------------------------------------------- Options group --- // ---------------------------------------------------- Options group ---
TQGroupBox* groupOptions = new TQGroupBox( 4, Qt::Vertical, i18n( "Settings" ), frame ); TQGroupBox* groupOptions = new TQGroupBox( 4, TQt::Vertical, i18n( "Settings" ), frame );
m_ignoreExt = new TQCheckBox( i18n( "Ignore /EXT/PSD_X.VCD" ), groupOptions ); m_ignoreExt = new TQCheckBox( i18n( "Ignore /EXT/PSD_X.VCD" ), groupOptions );

Loading…
Cancel
Save