summaryrefslogtreecommitdiffstats
path: root/amarok/src/equalizersetup.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:29:16 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:29:16 -0600
commit2d3d921590b44ae1e8864104f3e36d022bec0308 (patch)
treea3c17b3a19ac6a26cddd8c0705bf55ff8f46665a /amarok/src/equalizersetup.cpp
parent6fd8dcd450a39343afe010a50dd0956eb4184540 (diff)
downloadamarok-2d3d921590b44ae1e8864104f3e36d022bec0308.tar.gz
amarok-2d3d921590b44ae1e8864104f3e36d022bec0308.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'amarok/src/equalizersetup.cpp')
-rw-r--r--amarok/src/equalizersetup.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/amarok/src/equalizersetup.cpp b/amarok/src/equalizersetup.cpp
index ade7fead..23e0ecbf 100644
--- a/amarok/src/equalizersetup.cpp
+++ b/amarok/src/equalizersetup.cpp
@@ -29,10 +29,10 @@
#include <tqfile.h>
#include <tqgroupbox.h>
#include <tqlabel.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqpushbutton.h>
#include <tqstringlist.h>
-#include <tqtextstream.h> //presets
+#include <textstream.h> //presets
#include <tqtooltip.h>
#include <tqvbox.h>
@@ -73,7 +73,7 @@ EqualizerSetup::EqualizerSetup()
new TQLabel( i18n("Presets:"), presetBox );
m_presetCombo = new KComboBox( presetBox );
- m_presetCombo->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Preferred ) );
+ m_presetCombo->setSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Preferred ) );
TQPushButton* presetAdd = new TQPushButton( presetBox );
presetAdd->setIconSet( SmallIconSet( Amarok::icon( "add_playlist" ) ) );
@@ -98,7 +98,7 @@ EqualizerSetup::EqualizerSetup()
// Helper widget for layouting inside the groupbox
TQWidget* slidersLayoutWidget = new TQWidget( m_groupBoxSliders );
- slidersLayoutWidget->tqsetSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding);
+ slidersLayoutWidget->setSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding);
TQGridLayout* slidersGridLayout = new TQGridLayout( slidersLayoutWidget, 1, 1, 0, KDialog::spacingHint() );
// END GroupBox
@@ -149,12 +149,12 @@ EqualizerSetup::EqualizerSetup()
TQLabel* graphLabel1 = new TQLabel("+20 db", graphVBox);
TQLabel* graphLabel2 = new TQLabel("0 db", graphVBox);
TQLabel* graphLabel3 = new TQLabel("-20 db", graphVBox);
- graphLabel1->tqsetAlignment( TQt::AlignRight | TQt::AlignTop );
- graphLabel2->tqsetAlignment( TQt::AlignRight | TQt::AlignVCenter );
- graphLabel3->tqsetAlignment( TQt::AlignRight | TQt::AlignBottom );
+ graphLabel1->setAlignment( TQt::AlignRight | TQt::AlignTop );
+ graphLabel2->setAlignment( TQt::AlignRight | TQt::AlignVCenter );
+ graphLabel3->setAlignment( TQt::AlignRight | TQt::AlignBottom );
m_equalizerGraph = new EqualizerGraph( graphGBox );
- m_equalizerGraph->tqsetSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Expanding );
+ m_equalizerGraph->setSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Expanding );
// END Graph Widget
// Fill the combobox
@@ -370,7 +370,7 @@ EqualizerSetup::addPreset()
if (ok) {
// Check if the new preset title exists
if ( m_presets.find( title ) != m_presets.end() ) {
- int button = KMessageBox::warningYesNo( this, i18n( "A preset with the name %1 already exists. Overwrite?" ).tqarg( title ) );
+ int button = KMessageBox::warningYesNo( this, i18n( "A preset with the name %1 already exists. Overwrite?" ).arg( title ) );
if ( button != KMessageBox::Yes )
return;