summaryrefslogtreecommitdiffstats
path: root/kmix/viewsurround.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/viewsurround.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/viewsurround.cpp')
-rw-r--r--kmix/viewsurround.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kmix/viewsurround.cpp b/kmix/viewsurround.cpp
index 27cc1635..a7ab291c 100644
--- a/kmix/viewsurround.cpp
+++ b/kmix/viewsurround.cpp
@@ -102,7 +102,7 @@ int ViewSurround::advice() {
TQWidget* ViewSurround::add(MixDevice *md)
{
bool small = false;
- Qt::Orientation orientation = Qt::Vertical;
+ TQt::Orientation orientation = TQt::Vertical;
switch ( md->type() ) {
case MixDevice::VOLUME:
_mdSurroundFront = md;
@@ -113,22 +113,22 @@ TQWidget* ViewSurround::add(MixDevice *md)
small = true;
break;
case MixDevice::SURROUND_LFE:
- orientation = Qt::Horizontal;
+ orientation = TQt::Horizontal;
small = true;
break;
case MixDevice::SURROUND_CENTERFRONT:
- orientation = Qt::Horizontal;
+ orientation = TQt::Horizontal;
small = true;
break;
case MixDevice::SURROUND_CENTERBACK:
- orientation = Qt::Horizontal;
+ orientation = TQt::Horizontal;
small = true;
break;
default:
small = false;
// these are the sliders on the left side of the surround View
- orientation = (_vflags & ViewBase::Vertical) ? Qt::Horizontal : Qt::Vertical;
+ orientation = (_vflags & ViewBase::Vertical) ? TQt::Horizontal : TQt::Vertical;
} // switch(type)
MixDeviceWidget *mdw = createMDW(md, small, orientation);
@@ -183,7 +183,7 @@ void ViewSurround::constructionFinished() {
_layoutSurround->addWidget(personLabel ,rowOfSpeaker, 2, TQt::AlignHCenter | TQt::AlignVCenter);
if ( _mdSurroundFront != 0 ) {
- MixDeviceWidget *mdw = createMDW(_mdSurroundFront, true, Qt::Vertical);
+ MixDeviceWidget *mdw = createMDW(_mdSurroundFront, true, TQt::Vertical);
_layoutSurround->addWidget(mdw,0,4, TQt::AlignBottom | TQt::AlignRight);
_mdws.append(mdw);
@@ -200,7 +200,7 @@ void ViewSurround::constructionFinished() {
}
if ( _mdSurroundBack != 0 ) {
- MixDeviceWidget *mdw = createMDW(_mdSurroundBack, true, Qt::Vertical);
+ MixDeviceWidget *mdw = createMDW(_mdSurroundBack, true, TQt::Vertical);
_layoutSurround->addWidget(mdw,2,4, TQt::AlignTop | TQt::AlignRight);
_mdws.append(mdw);
@@ -251,7 +251,7 @@ void ViewSurround::refreshVolumeLevels() {
}
-MixDeviceWidget* ViewSurround::createMDW(MixDevice *md, bool small, Qt::Orientation orientation)
+MixDeviceWidget* ViewSurround::createMDW(MixDevice *md, bool small, TQt::Orientation orientation)
{
MixDeviceWidget* mdw = new MDWSlider(
_mixer, // the mixer for this device