|
|
|
@ -149,7 +149,7 @@ void PartBase::showConfigDialog () {
|
|
|
|
|
m_settings->show ("URLPage");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
TDE_NO_EXPORT void PartBase::showPlayListWindow () {
|
|
|
|
|
void PartBase::showPlayListWindow () {
|
|
|
|
|
// note, this is also the slot of application's view_playlist action, but
|
|
|
|
|
// anyhow, actions don't work for the fullscreen out-of-the-box, so ...
|
|
|
|
|
if (m_view->viewArea ()->isFullScreen ())
|
|
|
|
@ -160,7 +160,7 @@ TDE_NO_EXPORT void PartBase::showPlayListWindow () {
|
|
|
|
|
m_view->toggleShowPlaylist ();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
TDE_NO_EXPORT void PartBase::addBookMark (const TQString & t, const TQString & url) {
|
|
|
|
|
void PartBase::addBookMark (const TQString & t, const TQString & url) {
|
|
|
|
|
KBookmarkGroup b = m_bookmark_manager->root ();
|
|
|
|
|
b.addBookmark (m_bookmark_manager, t, KURL (url));
|
|
|
|
|
m_bookmark_manager->emitChanged (b);
|
|
|
|
@ -360,7 +360,7 @@ void PartBase::setRecorder (const char * name) {
|
|
|
|
|
m_recorder = recorder;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
TDE_NO_EXPORT void PartBase::slotPlayerMenu (int id) {
|
|
|
|
|
void PartBase::slotPlayerMenu (int id) {
|
|
|
|
|
bool playing = m_process->playing ();
|
|
|
|
|
const char * srcname = m_source->name ();
|
|
|
|
|
TQPopupMenu * menu = m_view->controlPanel ()->playerMenu ();
|
|
|
|
@ -586,7 +586,7 @@ void PartBase::playingStopped () {
|
|
|
|
|
m_bPosSliderPressed = false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
TDE_NO_EXPORT void PartBase::setPosition (int position, int length) {
|
|
|
|
|
void PartBase::setPosition (int position, int length) {
|
|
|
|
|
if (m_view && !m_bPosSliderPressed)
|
|
|
|
|
emit positioned (position, length);
|
|
|
|
|
}
|
|
|
|
@ -821,7 +821,7 @@ TDE_NO_EXPORT void PartBase::posSliderReleased () {
|
|
|
|
|
m_process->seek (posSlider->value(), true);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
TDE_NO_EXPORT void PartBase::volumeChanged (int val) {
|
|
|
|
|
void PartBase::volumeChanged (int val) {
|
|
|
|
|
if (m_process) {
|
|
|
|
|
m_settings->volume = val;
|
|
|
|
|
m_process->volume (val, true);
|
|
|
|
@ -868,7 +868,7 @@ TDE_NO_EXPORT void PartBase::fullScreen () {
|
|
|
|
|
m_view->fullScreen ();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
TDE_NO_EXPORT void PartBase::toggleFullScreen () {
|
|
|
|
|
void PartBase::toggleFullScreen () {
|
|
|
|
|
m_view->fullScreen ();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -876,11 +876,11 @@ TDE_NO_EXPORT void PartBase::minimalMode () {
|
|
|
|
|
emit toggleMinimalMode ();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
TDE_NO_EXPORT bool PartBase::isPlaying () {
|
|
|
|
|
bool PartBase::isPlaying () {
|
|
|
|
|
return playing ();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
TDE_NO_EXPORT bool PartBase::isPaused () {
|
|
|
|
|
bool PartBase::isPaused () {
|
|
|
|
|
NodePtr doc = m_source ? m_source->document () : 0L;
|
|
|
|
|
return doc && doc->state == Node::state_deferred;
|
|
|
|
|
}
|
|
|
|
|