diff options
Diffstat (limited to 'kmix/mdwslider.cpp')
-rw-r--r-- | kmix/mdwslider.cpp | 6 |
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() ) |