summaryrefslogtreecommitdiffstats
path: root/src/projects
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-04 23:32:04 +0900
committerMichele Calgaro <[email protected]>2023-11-05 20:46:58 +0900
commit0c90dd24571da459f494ff60268a5a873f5fc11d (patch)
treefd418623977fe6c36fe62e5179a406ed6dcf0447 /src/projects
parent8b9e54eac5a51267328db442cca3701398235609 (diff)
downloadk3b-0c90dd24571da459f494ff60268a5a873f5fc11d.tar.gz
k3b-0c90dd24571da459f494ff60268a5a873f5fc11d.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 5efc277625507809813e82005f7e47f004c666b6)
Diffstat (limited to 'src/projects')
-rw-r--r--src/projects/k3baudioburndialog.cpp6
-rw-r--r--src/projects/k3baudioeditorwidget.cpp2
-rw-r--r--src/projects/k3baudiotrackplayer.cpp2
-rw-r--r--src/projects/k3bdataburndialog.cpp4
-rw-r--r--src/projects/k3bdvdburndialog.cpp2
-rw-r--r--src/projects/k3bfillstatusdisplay.cpp2
-rw-r--r--src/projects/k3bmixedburndialog.cpp6
-rw-r--r--src/projects/k3bmovixburndialog.cpp4
-rw-r--r--src/projects/k3bprojectburndialog.cpp6
-rw-r--r--src/projects/k3bvcdburndialog.cpp12
-rw-r--r--src/projects/k3bvcdtrackdialog.cpp10
11 files changed, 28 insertions, 28 deletions
diff --git a/src/projects/k3baudioburndialog.cpp b/src/projects/k3baudioburndialog.cpp
index 8e4fff8..c6b0e53 100644
--- a/src/projects/k3baudioburndialog.cpp
+++ b/src/projects/k3baudioburndialog.cpp
@@ -79,13 +79,13 @@ K3bAudioBurnDialog::K3bAudioBurnDialog(K3bAudioDoc* _doc, TQWidget *parent, cons
advancedTabGrid->setSpacing( spacingHint() );
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 );
- 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_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 );
box->setSpacing( spacingHint() );
box->setStretchFactor(new TQLabel( i18n("Paranoia mode:"), box ), 1 );
diff --git a/src/projects/k3baudioeditorwidget.cpp b/src/projects/k3baudioeditorwidget.cpp
index 690b544..8b89b98 100644
--- a/src/projects/k3baudioeditorwidget.cpp
+++ b/src/projects/k3baudioeditorwidget.cpp
@@ -718,7 +718,7 @@ void K3bAudioEditorWidget::mouseMoveEvent( TQMouseEvent* e )
if( m_mouseAt )
emit mouseAt( posToMsf( e->pos().x() ) );
- if( e->state() & Qt::LeftButton ) {
+ if( e->state() & TQt::LeftButton ) {
if( m_draggedRange ) {
// 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 ) );
diff --git a/src/projects/k3baudiotrackplayer.cpp b/src/projects/k3baudiotrackplayer.cpp
index 2118791..e396e2e 100644
--- a/src/projects/k3baudiotrackplayer.cpp
+++ b/src/projects/k3baudiotrackplayer.cpp
@@ -105,7 +105,7 @@ K3bAudioTrackPlayer::K3bAudioTrackPlayer( K3bAudioDoc* doc, TQObject* parent, co
d->actionCollection,
"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)) );
// 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
diff --git a/src/projects/k3bdataburndialog.cpp b/src/projects/k3bdataburndialog.cpp
index 6b0abdd..c0ec635 100644
--- a/src/projects/k3bdataburndialog.cpp
+++ b/src/projects/k3bdataburndialog.cpp
@@ -157,10 +157,10 @@ void K3bDataBurnDialog::setupSettingsTab()
frameLayout->setSpacing( spacingHint() );
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 );
- 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 );
frameLayout->addWidget( m_groupDataMode, 0, 0 );
diff --git a/src/projects/k3bdvdburndialog.cpp b/src/projects/k3bdvdburndialog.cpp
index 3fccbed..05fd172 100644
--- a/src/projects/k3bdvdburndialog.cpp
+++ b/src/projects/k3bdvdburndialog.cpp
@@ -96,7 +96,7 @@ void K3bDvdBurnDialog::setupSettingsTab()
// 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 );
frameLayout->addWidget( groupMultiSession, 0, 0 );
diff --git a/src/projects/k3bfillstatusdisplay.cpp b/src/projects/k3bfillstatusdisplay.cpp
index 3f3f9b8..a6efede 100644
--- a/src/projects/k3bfillstatusdisplay.cpp
+++ b/src/projects/k3bfillstatusdisplay.cpp
@@ -118,7 +118,7 @@ TQSize K3bFillStatusDisplayWidget::minimumSizeHint() const
void K3bFillStatusDisplayWidget::mousePressEvent( TQMouseEvent* e )
{
- if( e->button() == Qt::RightButton )
+ if( e->button() == TQt::RightButton )
emit contextMenu( e->globalPos() );
}
diff --git a/src/projects/k3bmixedburndialog.cpp b/src/projects/k3bmixedburndialog.cpp
index 43b798d..fa21a0c 100644
--- a/src/projects/k3bmixedburndialog.cpp
+++ b/src/projects/k3bmixedburndialog.cpp
@@ -94,13 +94,13 @@ void K3bMixedBurnDialog::setupSettingsPage()
{
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 );
- 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 );
- 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->insertItem( K3bMixedDoc::DATA_SECOND_SESSION,
diff --git a/src/projects/k3bmovixburndialog.cpp b/src/projects/k3bmovixburndialog.cpp
index a5ae170..506475e 100644
--- a/src/projects/k3bmovixburndialog.cpp
+++ b/src/projects/k3bmovixburndialog.cpp
@@ -96,10 +96,10 @@ void K3bMovixBurnDialog::setupSettingsPage()
frameLayout->setSpacing( spacingHint() );
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 );
- 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 );
frameLayout->addWidget( groupDataMode, 0, 0 );
diff --git a/src/projects/k3bprojectburndialog.cpp b/src/projects/k3bprojectburndialog.cpp
index e03b175..63bb316 100644
--- a/src/projects/k3bprojectburndialog.cpp
+++ b/src/projects/k3bprojectburndialog.cpp
@@ -264,11 +264,11 @@ void K3bProjectBurnDialog::prepareGui()
TQWidget* w = new TQWidget( m_tabWidget );
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() );
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()->setSpacing(0);
m_optionGroupLayout = new TQVBoxLayout( m_optionGroup->layout() );
@@ -286,7 +286,7 @@ void K3bProjectBurnDialog::prepareGui()
m_optionGroupLayout->addWidget(m_checkOnlyCreateImage);
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->setInsideMargin( marginHint() );
TQLabel* pixLabel = new TQLabel( groupCopies );
diff --git a/src/projects/k3bvcdburndialog.cpp b/src/projects/k3bvcdburndialog.cpp
index 11a93d3..beb94ff 100644
--- a/src/projects/k3bvcdburndialog.cpp
+++ b/src/projects/k3bvcdburndialog.cpp
@@ -296,7 +296,7 @@ void K3bVcdBurnDialog::setupAdvancedTab()
TQWidget * w = new TQWidget( this );
// ---------------------------------------------------- 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_checkSegmentFolder = new TQCheckBox( i18n( "SEGMENT Folder must always be present" ), m_groupGeneric );
@@ -306,7 +306,7 @@ void K3bVcdBurnDialog::setupAdvancedTab()
// -------------------------------------------- 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() ->setMargin( marginHint() );
@@ -402,7 +402,7 @@ void K3bVcdBurnDialog::setupAdvancedTab()
groupGapsLayout->setRowStretch( 4, 0 );
// ------------------------------------------------------- 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() ->setMargin( marginHint() );
@@ -434,7 +434,7 @@ void K3bVcdBurnDialog::setupVideoCdTab()
TQWidget * w = new TQWidget( this );
// ---------------------------------------------------- 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_radioVcd20 = new TQRadioButton( i18n( "VideoCD 2.0" ), m_groupVcdFormat );
m_radioSvcd10 = new TQRadioButton( i18n( "Super-VideoCD" ), m_groupVcdFormat );
@@ -443,7 +443,7 @@ void K3bVcdBurnDialog::setupVideoCdTab()
// ---------------------------------------------------- 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_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 );
// ------------------------------------------------- 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->setFrameShape( TQTextEdit::NoFrame );
diff --git a/src/projects/k3bvcdtrackdialog.cpp b/src/projects/k3bvcdtrackdialog.cpp
index ef200e9..6baa3f6 100644
--- a/src/projects/k3bvcdtrackdialog.cpp
+++ b/src/projects/k3bvcdtrackdialog.cpp
@@ -374,7 +374,7 @@ void K3bVcdTrackDialog::prepareGui()
///////////////////////////////////////////////////
// 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() ->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() ->setMargin( marginHint() );
@@ -462,7 +462,7 @@ void K3bVcdTrackDialog::setupPbcTab()
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() ->setMargin( marginHint() );
@@ -498,7 +498,7 @@ void K3bVcdTrackDialog::setupPbcTab()
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() ->setMargin( marginHint() );
@@ -557,7 +557,7 @@ void K3bVcdTrackDialog::setupPbcKeyTab()
grid->setSpacing( spacingHint() );
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->layout() ->setSpacing( spacingHint() );
m_groupKey->layout() ->setMargin( marginHint() );