summaryrefslogtreecommitdiffstats
path: root/kmix/viewsliders.cpp
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2022-04-16 21:53:46 +0300
committerMavridis Philippe <mavridisf@gmail.com>2023-06-22 18:11:18 +0300
commit14e1211f5c139b98d424ec039a5e92648e0a5990 (patch)
tree54a63dac6a5508912933592aec9a90b2289c34e1 /kmix/viewsliders.cpp
parent5d08ceabaf19206134b1bcd08c8642cdb0b41aa7 (diff)
downloadtdemultimedia-14e1211f5c139b98d424ec039a5e92648e0a5990.tar.gz
tdemultimedia-14e1211f5c139b98d424ec039a5e92648e0a5990.zip
KMix: ported settings to TDEConfigXT/Designer
This commit includes an improved Preferences dialog for KMix. It also exposes some previously hidden options and features, some of which experimental (build-time option, off by default). It also includes some minor UI improvements. Signed-off-by: Mavridis Philippe <mavridisf@gmail.com> (cherry picked from commit 2cc6752c15371d87a0c8cf774515b0b44fc768d9)
Diffstat (limited to 'kmix/viewsliders.cpp')
-rw-r--r--kmix/viewsliders.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kmix/viewsliders.cpp b/kmix/viewsliders.cpp
index b36f7c2f..fcd6e423 100644
--- a/kmix/viewsliders.cpp
+++ b/kmix/viewsliders.cpp
@@ -41,10 +41,10 @@ ViewSliders::ViewSliders(TQWidget* parent, const char* name, const TQString & ca
: ViewBase(parent, name, caption, mixer, WStyle_Customize|WStyle_NoBorder, vflags)
{
if ( _vflags & ViewBase::Vertical ) {
- _layoutMDW = new TQVBoxLayout(this);
+ _layoutMDW = new TQHBoxLayout(this);
}
else {
- _layoutMDW = new TQHBoxLayout(this);
+ _layoutMDW = new TQVBoxLayout(this);
}
/*
* Do not call init(). Call init() only for "end usage" classes.
@@ -85,7 +85,7 @@ int ViewSliders::advice() {
TQWidget* ViewSliders::add(MixDevice *md)
{
- Qt::Orientation orientation = (_vflags & ViewBase::Vertical) ? Qt::Horizontal : Qt::Vertical;
+ TQt::Orientation orientation = (_vflags & ViewBase::Vertical) ? TQt::Vertical : TQt::Horizontal;
MixDeviceWidget *mdw =
new MDWSlider(
_mixer, // the mixer for this device