diff options
author | Slávek Banko <[email protected]> | 2012-07-11 03:39:45 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2012-07-11 03:48:15 +0200 |
commit | 791704c587b5abbd1e947ecd85a6ea9bea5e9f2f (patch) | |
tree | d845ce23d2b38dc14ba86351b3441fb07d5b8c81 /src/kmplayerpartbase.cpp | |
parent | 8fe6f08227059c8cddc686888fb3e402b83c9eff (diff) | |
download | kmplayer-791704c587b5abbd1e947ecd85a6ea9bea5e9f2f.tar.gz kmplayer-791704c587b5abbd1e947ecd85a6ea9bea5e9f2f.zip |
Fix keyboard shortcuts
Added minimal mode to popup menu
This partially resolves Bug 1032
Diffstat (limited to 'src/kmplayerpartbase.cpp')
-rw-r--r-- | src/kmplayerpartbase.cpp | 6 |
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 (); } |