summaryrefslogtreecommitdiffstats
path: root/kmix
diff options
context:
space:
mode:
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 9062c408..81d51668 100644
--- a/kmix/mdwslider.cpp
+++ b/kmix/mdwslider.cpp
@@ -471,7 +471,7 @@ MDWSlider::setStereoLinked(bool value)
***********************************************************/
int firstSliderValue = 0;
bool firstSliderValueValid = false;
- if (slider->isA("TQSlider") ) {
+ if (slider->isA(TQSLIDER_OBJECT_NAME_STRING) ) {
TQSlider *sld = static_cast<TQSlider*>(slider);
firstSliderValue = sld->value();
firstSliderValueValid = true;
@@ -494,7 +494,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") ) {
+ if (slider->isA(TQSLIDER_OBJECT_NAME_STRING) ) {
TQSlider *sld = static_cast<TQSlider*>(slider);
sld->setValue( firstSliderValue );
}
@@ -539,7 +539,7 @@ MDWSlider::setTicks( bool ticks )
slider = m_sliders.first();
- if ( slider->inherits( "TQSlider" ) )
+ if ( slider->inherits( TQSLIDER_OBJECT_NAME_STRING ) )
{
if( ticks )
if( isStereoLinked() )