summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-10-03 11:02:49 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-10-03 11:02:49 +0900
commit3f58dcfa4dcb0283eeca7a2f0ff53b932f686849 (patch)
treecb60806c3906de21b1fa42b6ca07c5f7526d2d7c
parent6550e667c34ef602e25deb34883aa08a2d10ef6f (diff)
downloadkmplayer-3f58dcfa4dcb0283eeca7a2f0ff53b932f686849.tar.gz
kmplayer-3f58dcfa4dcb0283eeca7a2f0ff53b932f686849.zip
Fix visibility of public slots in PartBase. This resolves issue #24
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--src/kmplayerpartbase.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/kmplayerpartbase.cpp b/src/kmplayerpartbase.cpp
index feaeca5..af808fc 100644
--- a/src/kmplayerpartbase.cpp
+++ b/src/kmplayerpartbase.cpp
@@ -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;
}