summaryrefslogtreecommitdiffstats
path: root/kmix
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-12 11:27:37 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-07-13 10:00:53 +0900
commitc34f7eb2a2bdebc0a2dabeab54f868447b466eb3 (patch)
tree3d5b51db4a07362d128ffa6b535b935a9da58f6e /kmix
parent9feec0e4d0557935a18eb914391aec99e12f24a5 (diff)
downloadtdemultimedia-c34f7eb2a2bdebc0a2dabeab54f868447b466eb3.tar.gz
tdemultimedia-c34f7eb2a2bdebc0a2dabeab54f868447b466eb3.zip
Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 1b09e1d239b1af15ea86eb3cfb6cd808520de5e4)
Diffstat (limited to 'kmix')
-rw-r--r--kmix/mdwslider.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kmix/mdwslider.cpp b/kmix/mdwslider.cpp
index 6170992a..f75041d9 100644
--- a/kmix/mdwslider.cpp
+++ b/kmix/mdwslider.cpp
@@ -470,7 +470,7 @@ MDWSlider::setStereoLinked(bool value)
***********************************************************/
int firstSliderValue = 0;
bool firstSliderValueValid = false;
- if (slider->isA(TQSLIDER_OBJECT_NAME_STRING) ) {
+ if (slider->isA("TQSlider") ) {
TQSlider *sld = static_cast<TQSlider*>(slider);
firstSliderValue = sld->value();
firstSliderValueValid = true;
@@ -493,7 +493,7 @@ MDWSlider::setStereoLinked(bool value)
if ( firstSliderValueValid ) {
// Remark: firstSlider== 0 could happen, if the static_cast<TQRangeControl*> above fails.
// It's a safety measure, if we got other Slider types in the future.
- if (slider->isA(TQSLIDER_OBJECT_NAME_STRING) ) {
+ if (slider->isA("TQSlider") ) {
TQSlider *sld = static_cast<TQSlider*>(slider);
sld->setValue( firstSliderValue );
}
@@ -538,7 +538,7 @@ MDWSlider::setTicks( bool ticks )
slider = m_sliders.first();
- if ( slider->inherits( TQSLIDER_OBJECT_NAME_STRING ) )
+ if ( slider->inherits( "TQSlider" ) )
{
if( ticks )
if( isStereoLinked() )