|
|
|
@ -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);
|
|
|
|
|
}
|
|
|
|
|