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-12 11:27:37 +0900
commit1b09e1d239b1af15ea86eb3cfb6cd808520de5e4 (patch)
tree3d5b51db4a07362d128ffa6b535b935a9da58f6e /kmix
parent9389e1802593ec6ef3ce9b9058283d99598803a6 (diff)
downloadtdemultimedia-1b09e1d239b1af15ea86eb3cfb6cd808520de5e4.tar.gz
tdemultimedia-1b09e1d239b1af15ea86eb3cfb6cd808520de5e4.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>
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() )