summaryrefslogtreecommitdiffstats
path: root/kmix/mixer.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-13 12:45:22 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-17 10:20:32 +0900
commit39a4235db1ca9b470a13686c534c2f10cf6be1b1 (patch)
treec57fbf371226a9b3e9748846b10a3455091dcc89 /kmix/mixer.cpp
parent81c4cdd09da60e40f157a91bbe7828b82754e8e3 (diff)
downloadtdemultimedia-39a4235db1ca9b470a13686c534c2f10cf6be1b1.tar.gz
tdemultimedia-39a4235db1ca9b470a13686c534c2f10cf6be1b1.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 286a061a4cd8a904a0b16b5be4c274a20935d5df)
Diffstat (limited to 'kmix/mixer.cpp')
-rw-r--r--kmix/mixer.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kmix/mixer.cpp b/kmix/mixer.cpp
index 150b196d..953afce9 100644
--- a/kmix/mixer.cpp
+++ b/kmix/mixer.cpp
@@ -89,7 +89,7 @@ Mixer::Mixer( int driver, int device ) : DCOPObject( "Mixer" )
m_profiles.setAutoDelete( true );
_pollingTimer = new TQTimer(); // will be started on open() and stopped on close()
- connect( _pollingTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(readSetFromHW()));
+ connect( _pollingTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(readSetFromHW()));
TQCString objid;
#ifndef KMIX_DCOP_OBJID_TEST
@@ -207,7 +207,7 @@ int Mixer::open()
else {
_mixerBackend->prepareSignalling(this);
// poll once to give the GUI a chance to rebuild it's info
- TQTimer::singleShot( 50, this, TQT_SLOT( readSetFromHW() ) );
+ TQTimer::singleShot( 50, this, TQ_SLOT( readSetFromHW() ) );
}
return err;
}
@@ -516,7 +516,7 @@ void Mixer::setVolume( int deviceidx, int percentage )
_mixerBackend->writeVolumeToHW(deviceidx, vol);
// Make sure volume reading is synced
readSetFromHWforceUpdate();
- TQTimer::singleShot(50, this, TQT_SLOT(readSetFromHW()));
+ TQTimer::singleShot(50, this, TQ_SLOT(readSetFromHW()));
}
/**
@@ -534,7 +534,7 @@ void Mixer::commitVolumeChange( MixDevice* md ) {
// Muting/unmuting PulseAudio directly does not send back any notification to the mixer
// so we make sure we always update the tray icon after each operation.
readSetFromHWforceUpdate();
- TQTimer::singleShot(50, this, TQT_SLOT(readSetFromHW()));
+ TQTimer::singleShot(50, this, TQ_SLOT(readSetFromHW()));
}
// @dcop only
@@ -586,7 +586,7 @@ void Mixer::setAbsoluteVolume( int deviceidx, long absoluteVolume ) {
_mixerBackend->writeVolumeToHW(deviceidx, vol);
// Make sure volume reading is synced
readSetFromHWforceUpdate();
- TQTimer::singleShot(50, this, TQT_SLOT(readSetFromHW()));
+ TQTimer::singleShot(50, this, TQ_SLOT(readSetFromHW()));
}
// @dcop , especially for use in KMilo