summaryrefslogtreecommitdiffstats
path: root/kmix/mdwswitch.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 15:18:13 +0300
commit2cc6752c15371d87a0c8cf774515b0b44fc768d9 (patch)
tree54a63dac6a5508912933592aec9a90b2289c34e1 /kmix/mdwswitch.cpp
parent5d08ceabaf19206134b1bcd08c8642cdb0b41aa7 (diff)
downloadtdemultimedia-2cc6752c15371d87a0c8cf774515b0b44fc768d9.tar.gz
tdemultimedia-2cc6752c15371d87a0c8cf774515b0b44fc768d9.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>
Diffstat (limited to 'kmix/mdwswitch.cpp')
-rw-r--r--kmix/mdwswitch.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kmix/mdwswitch.cpp b/kmix/mdwswitch.cpp
index 94acf747..9a59028e 100644
--- a/kmix/mdwswitch.cpp
+++ b/kmix/mdwswitch.cpp
@@ -46,7 +46,7 @@
* be "small" (uses KSmallSlider instead of TQSlider then).
*/
MDWSwitch::MDWSwitch(Mixer *mixer, MixDevice* md,
- bool small, Qt::Orientation orientation,
+ bool small, TQt::Orientation orientation,
TQWidget* parent, ViewBase* mw, const char* name) :
MixDeviceWidget(mixer,md,small,orientation,parent,mw,name),
_label(0) , _labelV(0) , _switchLED(0), _layout(0)
@@ -77,7 +77,7 @@ MDWSwitch::~MDWSwitch()
void MDWSwitch::createWidgets()
{
- if ( _orientation == Qt::Vertical ) {
+ if ( _orientation == TQt::Vertical ) {
_layout = new TQVBoxLayout( this );
_layout->setAlignment(TQt::AlignHCenter);
}
@@ -90,7 +90,7 @@ void MDWSwitch::createWidgets()
_layout->addSpacing( 4 );
// --- LEDS --------------------------
- if ( _orientation == Qt::Vertical ) {
+ if ( _orientation == TQt::Vertical ) {
if( m_mixdevice->isRecordable() )
_switchLED = new KLedButton( TQt::red,
m_mixdevice->isRecSource()?KLed::On:KLed::Off,
@@ -220,7 +220,7 @@ bool MDWSwitch::eventFilter( TQObject* obj, TQEvent* e )
{
if (e->type() == TQEvent::MouseButtonPress) {
TQMouseEvent *qme = TQT_TQMOUSEEVENT(e);
- if (qme->button() == Qt::RightButton) {
+ if (qme->button() == TQt::RightButton) {
showContextMenu();
return true;
}