summaryrefslogtreecommitdiffstats
path: root/src/kmplayerpartbase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kmplayerpartbase.cpp')
-rw-r--r--src/kmplayerpartbase.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/kmplayerpartbase.cpp b/src/kmplayerpartbase.cpp
index 32ead14..b9f7a2f 100644
--- a/src/kmplayerpartbase.cpp
+++ b/src/kmplayerpartbase.cpp
@@ -217,6 +217,8 @@ void PartBase::connectPanel (ControlPanel * panel) {
m_view, TQT_SLOT(toggleVideoConsoleWindow()));
panel->popupMenu ()->connectItem (ControlPanel::menu_playlist,
m_view, TQT_SLOT (toggleShowPlaylist ()));
+ panel->popupMenu ()->connectItem (ControlPanel::menu_minimal,
+ this, TQT_SLOT (minimalMode ()));
connect (this, TQT_SIGNAL (statusUpdated (const TQString &)),
panel->view (), TQT_SLOT (setStatusMessage (const TQString &)));
//connect (panel (), TQT_SIGNAL (clicked ()), m_settings, TQT_SLOT (show ()));
@@ -870,6 +872,10 @@ KDE_NO_EXPORT void PartBase::toggleFullScreen () {
m_view->fullScreen ();
}
+KDE_NO_EXPORT void PartBase::minimalMode () {
+ emit toggleMinimalMode ();
+}
+
KDE_NO_EXPORT bool PartBase::isPlaying () {
return playing ();
}