Replaced various '#define' with actual strings - part 4

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/13/head
Michele Calgaro 1 year ago
parent f1f38996c6
commit 10c3044e11
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -733,7 +733,7 @@ void PartBase::record () {
void PartBase::play () {
if (!m_process || !m_view) return;
TQPushButton * pb = ::tqqt_cast <TQPushButton *> (sender ());
TQPushButton * pb = ::tqt_cast <TQPushButton *> (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<const TQSlider *> (sender ());
const TQSlider * posSlider = ::tqt_cast<const TQSlider *> (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 <TQSlider *> (sender ());
TQSlider * slider = ::tqt_cast <TQSlider *> (sender ());
if (slider && slider->isEnabled ())
m_process->seek (pos, true);
}

Loading…
Cancel
Save