summaryrefslogtreecommitdiffstats
path: root/noatun/library/equalizerview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'noatun/library/equalizerview.cpp')
-rw-r--r--noatun/library/equalizerview.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/noatun/library/equalizerview.cpp b/noatun/library/equalizerview.cpp
index 7a55d6f7..02a14672 100644
--- a/noatun/library/equalizerview.cpp
+++ b/noatun/library/equalizerview.cpp
@@ -11,7 +11,7 @@
#include <kiconloader.h>
#include <klocale.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqslider.h>
#include <tqcheckbox.h>
#include <tqlabel.h>
@@ -64,17 +64,17 @@ void PresetList::rename(TQListViewItem *item, int c)
EqualizerLevel::EqualizerLevel(TQWidget *parent, VBand band)
: TQWidget(parent), mBand(band)
{
- TQVBoxLayout *tqlayout = new TQVBoxLayout(this,
- 0, 0, "EqualizerLevel::tqlayout");
+ TQVBoxLayout *layout = new TQVBoxLayout(this,
+ 0, 0, "EqualizerLevel::layout");
mSlider = new TQSlider(-200, 200, 25, 0, Qt::Vertical, this, "EqualizerLevel::mSlider");
mSlider->setTickmarks(TQSlider::Left);
mSlider->setTickInterval(25);
- tqlayout->addWidget(mSlider);
+ layout->addWidget(mSlider);
connect(mSlider, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(changed(int)));
mLabel = new TQLabel("", this, "EqualizerLevel::mLabel");
- mLabel->tqsetAlignment(AlignHCenter | AlignVCenter);
- tqlayout->addWidget(mLabel);
+ mLabel->setAlignment(AlignHCenter | AlignVCenter);
+ layout->addWidget(mLabel);
setMinimumHeight(200);
// setMinimumWidth(kapp->fontMetrics().width("158kHz"));