From 8527831ef009831f28dd204d00fcbb92ab3ab7b3 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 26 Nov 2023 02:18:53 +0900 Subject: Replaced various '#define' with actual strings - part 4 Signed-off-by: Michele Calgaro (cherry picked from commit 10c3044e1149edce5eec6dcf6b082c2474d77908) --- src/kmplayerpartbase.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/kmplayerpartbase.cpp b/src/kmplayerpartbase.cpp index de523bd..95b92e3 100644 --- a/src/kmplayerpartbase.cpp +++ b/src/kmplayerpartbase.cpp @@ -733,7 +733,7 @@ void PartBase::record () { void PartBase::play () { if (!m_process || !m_view) return; - TQPushButton * pb = ::tqqt_cast (sender ()); + TQPushButton * pb = ::tqt_cast (sender ()); if (pb && !pb->isOn ()) { stop (); return; @@ -816,7 +816,7 @@ KDE_NO_EXPORT void PartBase::posSliderPressed () { KDE_NO_EXPORT void PartBase::posSliderReleased () { m_bPosSliderPressed=false; - const TQSlider * posSlider = ::tqqt_cast (sender ()); + const TQSlider * posSlider = ::tqt_cast (sender ()); if (posSlider) m_process->seek (posSlider->value(), true); } @@ -858,7 +858,7 @@ KDE_NO_EXPORT void PartBase::sourceHasChangedAspects () { } KDE_NO_EXPORT void PartBase::positionValueChanged (int pos) { - TQSlider * slider = ::tqqt_cast (sender ()); + TQSlider * slider = ::tqt_cast (sender ()); if (slider && slider->isEnabled ()) m_process->seek (pos, true); } -- cgit v1.2.1