diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:33:54 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:33:54 -0600 |
commit | 4614cf2e7bce250f5b9cdef409cb89330d60bb1d (patch) | |
tree | 630297f3af9c048e22b4a376bb89f8f73e582983 /src/configbackendspage.cpp | |
parent | 4e8c56f8ce07340aadde2098d909a71c645a8000 (diff) | |
download | soundkonverter-4614cf2e7bce250f5b9cdef409cb89330d60bb1d.tar.gz soundkonverter-4614cf2e7bce250f5b9cdef409cb89330d60bb1d.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/configbackendspage.cpp')
-rwxr-xr-x | src/configbackendspage.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/configbackendspage.cpp b/src/configbackendspage.cpp index 7a5f16a..226aae3 100755 --- a/src/configbackendspage.cpp +++ b/src/configbackendspage.cpp @@ -5,7 +5,7 @@ #include "ripperpluginloader.h" #include "config.h" -#include <tqlayout.h> +#include <layout.h> #include <tqlabel.h> #include <tqgroupbox.h> #include <tqtooltip.h> @@ -52,8 +52,8 @@ ConfigBackendsPage::ConfigBackendsPage( Config* _config, TQMap<TQString, TQStrin legendBox->setStretchFactor( lLegendLabel, 1 ); TQGroupBox* ripperGroup = new TQGroupBox( 1, Qt::Vertical, box, "ripperGroup" ); - ripperGroup->tqlayout()->setSpacing( 6 ); - ripperGroup->tqlayout()->setMargin( 6 ); + ripperGroup->layout()->setSpacing( 6 ); + ripperGroup->layout()->setMargin( 6 ); TQLabel* lRipper = new TQLabel( i18n("CD Ripper")+":", ripperGroup, "lRipper" ); cRipper = new KComboBox( ripperGroup, "cRipper" ); connect( cRipper, TQT_SIGNAL(activated(int)), @@ -252,10 +252,10 @@ void ConfigBackendsPage::rebuild() options.group = new TQGroupBox( title, box, options.format ); options.group->setColumnLayout( 0, Qt::Vertical ); - options.group->tqlayout()->setSpacing( 6 ); - options.group->tqlayout()->setMargin( 6 ); + options.group->layout()->setSpacing( 6 ); + options.group->layout()->setMargin( 6 ); options.group->show(); - options.grid = new TQGridLayout( options.group->tqlayout() ); + options.grid = new TQGridLayout( options.group->layout() ); options.lEncoder = new TQLabel( i18n("Encoder")+":", options.group, options.format ); options.lEncoder->show(); @@ -271,7 +271,7 @@ void ConfigBackendsPage::rebuild() options.grid->addWidget( options.cEncoder, 0, 1 ); options.lStrength = new TQLabel( i18n("Strength")+":", options.group, options.format ); - options.lStrength->tqsetAlignment( TQt::AlignRight | TQt::AlignVCenter ); + options.lStrength->setAlignment( TQt::AlignRight | TQt::AlignVCenter ); options.lStrength->show(); options.grid->addWidget( options.lStrength, 0, 2 ); options.sStrength = new TQSlider( Qt::Horizontal, options.group, options.format ); @@ -296,7 +296,7 @@ void ConfigBackendsPage::rebuild() this, TQT_SLOT(cfgChanged()) ); options.lStrengthDisplay = new TQLabel( "", options.group, options.format ); - options.lStrengthDisplay->tqsetAlignment( TQt::AlignRight | TQt::AlignVCenter ); + options.lStrengthDisplay->setAlignment( TQt::AlignRight | TQt::AlignVCenter ); options.lStrengthDisplay->setEnabled( false ); options.grid->addWidget( options.lStrengthDisplay, 1, 3 ); |