diff options
author | Michele Calgaro <[email protected]> | 2024-01-02 11:38:18 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-15 10:12:20 +0900 |
commit | 773c73d27492ada253b9e81752bd735ee3dc3ac1 (patch) | |
tree | dc8d0269d4e95c57b29be70c1c2b90545112ef56 /src/configbackendspage.cpp | |
parent | 07fbaa743408f4302df7b6889347a4a2deadc4de (diff) | |
download | soundkonverter-773c73d27492ada253b9e81752bd735ee3dc3ac1.tar.gz soundkonverter-773c73d27492ada253b9e81752bd735ee3dc3ac1.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/configbackendspage.cpp')
-rw-r--r-- | src/configbackendspage.cpp | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/src/configbackendspage.cpp b/src/configbackendspage.cpp index 06f3603..1c7ec4a 100644 --- a/src/configbackendspage.cpp +++ b/src/configbackendspage.cpp @@ -56,8 +56,8 @@ ConfigBackendsPage::ConfigBackendsPage( Config* _config, TQMap<TQString, TQStrin ripperGroup->layout()->setMargin( 6 ); TQLabel* lRipper = new TQLabel( i18n("CD Ripper")+":", ripperGroup, "lRipper" ); cRipper = new KComboBox( ripperGroup, "cRipper" ); - connect( cRipper, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(cfgChanged()) + connect( cRipper, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(cfgChanged()) ); delete stdDirs; @@ -204,19 +204,19 @@ void ConfigBackendsPage::rebuild() for( TQValueList<FormatOptions>::Iterator it = formatOptions.begin(); it != formatOptions.end(); ++it ) { delete (*it).lEncoder; - disconnect( (*it).cEncoder, TQT_SIGNAL(activated(int)), 0, 0 ); + disconnect( (*it).cEncoder, TQ_SIGNAL(activated(int)), 0, 0 ); delete (*it).cEncoder; delete (*it).lStrength; - disconnect( (*it).sStrength,TQT_SIGNAL(valueChanged(int)), 0, 0 ); + disconnect( (*it).sStrength,TQ_SIGNAL(valueChanged(int)), 0, 0 ); delete (*it).sStrength; delete (*it).lStrengthDisplay; delete (*it).lDecoder; - disconnect( (*it).cDecoder, TQT_SIGNAL(activated(int)), 0, 0 ); + disconnect( (*it).cDecoder, TQ_SIGNAL(activated(int)), 0, 0 ); delete (*it).cDecoder; delete (*it).lReplayGain; - disconnect( (*it).cReplayGain, TQT_SIGNAL(activated(int)), 0, 0 ); + disconnect( (*it).cReplayGain, TQ_SIGNAL(activated(int)), 0, 0 ); delete (*it).cReplayGain; - disconnect( (*it).cInternalReplayGain, TQT_SIGNAL(toggled(bool)), 0, 0 ); + disconnect( (*it).cInternalReplayGain, TQ_SIGNAL(toggled(bool)), 0, 0 ); delete (*it).cInternalReplayGain; delete (*it).grid; delete (*it).group; @@ -262,11 +262,11 @@ void ConfigBackendsPage::rebuild() options.grid->addWidget( options.lEncoder, 0, 0 ); options.cEncoder = new KComboBox( options.group, options.format.utf8().data() ); options.cEncoder->show(); - connect( options.cEncoder, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(cfgChanged()) + connect( options.cEncoder, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(cfgChanged()) ); - connect( options.cEncoder, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(encoderChanged()) + connect( options.cEncoder, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(encoderChanged()) ); options.grid->addWidget( options.cEncoder, 0, 1 ); @@ -279,11 +279,11 @@ void ConfigBackendsPage::rebuild() options.sStrength->show(); TQToolTip::add( options.sStrength, i18n("Set the compression strength:\n\nLeft = fast conversion\nRight = good resultant file") ); options.grid->addWidget( options.sStrength, 0, 3 ); - connect( options.sStrength, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(cfgChanged()) + connect( options.sStrength, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(cfgChanged()) ); - connect( options.sStrength, TQT_SIGNAL(valueChanged(int)), - this, TQT_SLOT(strengthChanged()) + connect( options.sStrength, TQ_SIGNAL(valueChanged(int)), + this, TQ_SLOT(strengthChanged()) ); options.lDecoder = new TQLabel( i18n("Decoder")+":", options.group, options.format.utf8().data() ); @@ -292,8 +292,8 @@ void ConfigBackendsPage::rebuild() options.cDecoder = new KComboBox( options.group, options.format.utf8().data() ); options.cDecoder->show(); options.grid->addWidget( options.cDecoder, 1, 1 ); - connect( options.cDecoder, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(cfgChanged()) + connect( options.cDecoder, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(cfgChanged()) ); options.lStrengthDisplay = new TQLabel( "", options.group, options.format.utf8().data() ); options.lStrengthDisplay->setAlignment( TQt::AlignRight | TQt::AlignVCenter ); @@ -306,14 +306,14 @@ void ConfigBackendsPage::rebuild() options.cReplayGain = new KComboBox( options.group, options.format.utf8().data() ); options.cReplayGain->show(); options.grid->addWidget( options.cReplayGain, 2, 1 ); - connect( options.cReplayGain, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(cfgChanged()) + connect( options.cReplayGain, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(cfgChanged()) ); options.cInternalReplayGain = new TQCheckBox( i18n("Use internal Replay Gain"), options.group, options.format.utf8().data() ); TQToolTip::add( options.cInternalReplayGain, i18n("Use the internal Replay Gain calculator of the encoder") ); options.grid->addWidget( options.cInternalReplayGain, 2, 3 ); - connect( options.cInternalReplayGain, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(cfgChanged()) + connect( options.cInternalReplayGain, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(cfgChanged()) ); options.grid->setColStretch( 0, 0 ); |