diff options
Diffstat (limited to 'src/configbackendspage.cpp')
| -rw-r--r-- | src/configbackendspage.cpp | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/src/configbackendspage.cpp b/src/configbackendspage.cpp index eba1999..06f3603 100644 --- a/src/configbackendspage.cpp +++ b/src/configbackendspage.cpp @@ -250,17 +250,17 @@ void ConfigBackendsPage::rebuild() title = options.format; } - options.group = new TQGroupBox( title, box, options.format ); + options.group = new TQGroupBox( title, box, options.format.utf8().data() ); options.group->setColumnLayout( 0, TQt::Vertical ); options.group->layout()->setSpacing( 6 ); options.group->layout()->setMargin( 6 ); options.group->show(); options.grid = new TQGridLayout( options.group->layout() ); - options.lEncoder = new TQLabel( i18n("Encoder")+":", options.group, options.format ); + options.lEncoder = new TQLabel( i18n("Encoder")+":", options.group, options.format.utf8().data() ); options.lEncoder->show(); options.grid->addWidget( options.lEncoder, 0, 0 ); - options.cEncoder = new KComboBox( options.group, options.format ); + options.cEncoder = new KComboBox( options.group, options.format.utf8().data() ); options.cEncoder->show(); connect( options.cEncoder, TQT_SIGNAL(activated(int)), this, TQT_SLOT(cfgChanged()) @@ -270,11 +270,11 @@ void ConfigBackendsPage::rebuild() ); options.grid->addWidget( options.cEncoder, 0, 1 ); - options.lStrength = new TQLabel( i18n("Strength")+":", options.group, options.format ); + options.lStrength = new TQLabel( i18n("Strength")+":", options.group, options.format.utf8().data() ); options.lStrength->setAlignment( TQt::AlignRight | TQt::AlignVCenter ); options.lStrength->show(); options.grid->addWidget( options.lStrength, 0, 2 ); - options.sStrength = new TQSlider( TQt::Horizontal, options.group, options.format ); + options.sStrength = new TQSlider( TQt::Horizontal, options.group, options.format.utf8().data() ); options.sStrength->setTickmarks( TQSlider::Below ); options.sStrength->show(); TQToolTip::add( options.sStrength, i18n("Set the compression strength:\n\nLeft = fast conversion\nRight = good resultant file") ); @@ -286,30 +286,30 @@ void ConfigBackendsPage::rebuild() this, TQT_SLOT(strengthChanged()) ); - options.lDecoder = new TQLabel( i18n("Decoder")+":", options.group, options.format ); + options.lDecoder = new TQLabel( i18n("Decoder")+":", options.group, options.format.utf8().data() ); options.lDecoder->show(); options.grid->addWidget( options.lDecoder, 1, 0 ); - options.cDecoder = new KComboBox( options.group, options.format ); + 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()) ); - options.lStrengthDisplay = new TQLabel( "", options.group, options.format ); + options.lStrengthDisplay = new TQLabel( "", options.group, options.format.utf8().data() ); options.lStrengthDisplay->setAlignment( TQt::AlignRight | TQt::AlignVCenter ); options.lStrengthDisplay->setEnabled( false ); options.grid->addWidget( options.lStrengthDisplay, 1, 3 ); - options.lReplayGain = new TQLabel( i18n("Replay Gain")+":", options.group, options.format ); + options.lReplayGain = new TQLabel( i18n("Replay Gain")+":", options.group, options.format.utf8().data() ); options.lReplayGain->show(); options.grid->addWidget( options.lReplayGain, 2, 0 ); - options.cReplayGain = new KComboBox( options.group, options.format ); + 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()) ); - options.cInternalReplayGain = new TQCheckBox( i18n("Use internal Replay Gain"), options.group, options.format ); + 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)), @@ -489,5 +489,4 @@ void ConfigBackendsPage::strengthChanged() } } - - +#include "configbackendspage.moc" |
