diff options
Diffstat (limited to 'src/kmplayerapp.cpp')
-rw-r--r-- | src/kmplayerapp.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/kmplayerapp.cpp b/src/kmplayerapp.cpp index b1bc729..94b318e 100644 --- a/src/kmplayerapp.cpp +++ b/src/kmplayerapp.cpp @@ -596,6 +596,8 @@ KDE_NO_EXPORT void KMPlayerApp::initActions () { new KAction (i18n ("50%"), 0, 0, TQT_TQOBJECT(this), TQT_SLOT (zoom50 ()), ac, "view_zoom_50"); new KAction (i18n ("100%"), TQString ("viewmagfit"), KShortcut (), TQT_TQOBJECT(this), TQT_SLOT (zoom100 ()), ac, "view_zoom_100"); new KAction (i18n ("150%"), 0, 0, TQT_TQOBJECT(this), TQT_SLOT (zoom150 ()), ac, "view_zoom_150"); + new KAction (i18n ("200%"), 0, KShortcut (), TQT_TQOBJECT(this), TQT_SLOT (zoom200 ()), ac, "view_zoom_200"); + new KAction (i18n ("300%"), 0, KShortcut (), TQT_TQOBJECT(this), TQT_SLOT (zoom300 ()), ac, "view_zoom_300"); viewEditMode = new KToggleAction (i18n ("&Edit mode"), 0, 0, TQT_TQOBJECT(this), TQT_SLOT (editMode ()), ac, "edit_mode"); viewSyncEditMode = new KAction (i18n ("Sync &with playlist"), TQString ("reload"), KShortcut (), TQT_TQOBJECT(this), TQT_SLOT (syncEditMode ()), ac, "sync_edit_mode"); viewSyncEditMode->setEnabled (false); @@ -681,6 +683,10 @@ KDE_NO_EXPORT void KMPlayerApp::initView () { TQT_TQOBJECT(this), TQT_SLOT (zoom100 ())); m_view->controlPanel ()->zoomMenu ()->connectItem (KMPlayer::ControlPanel::menu_zoom150, TQT_TQOBJECT(this), TQT_SLOT (zoom150 ())); + m_view->controlPanel ()->zoomMenu ()->connectItem (KMPlayer::ControlPanel::menu_zoom200, + TQT_TQOBJECT(this), TQT_SLOT (zoom200 ())); + m_view->controlPanel ()->zoomMenu ()->connectItem (KMPlayer::ControlPanel::menu_zoom300, + TQT_TQOBJECT(this), TQT_SLOT (zoom300 ())); connect (m_view->controlPanel()->broadcastButton (), TQT_SIGNAL (clicked ()), TQT_TQOBJECT(this), TQT_SLOT (broadcastClicked ())); m_auto_resize = m_player->settings ()->autoresize; @@ -1075,6 +1081,14 @@ KDE_NO_EXPORT void KMPlayerApp::zoom150 () { resizePlayer (150); } +KDE_NO_EXPORT void KMPlayerApp::zoom200 () { + resizePlayer (200); +} + +KDE_NO_EXPORT void KMPlayerApp::zoom300 () { + resizePlayer (300); +} + KDE_NO_EXPORT void KMPlayerApp::editMode () { m_view->docArea ()->hide (); bool editmode = !m_view->editMode (); |