]> git.sesse.net Git - kdenlive/blobdiff - src/monitormanager.cpp
some video-editor-keyboard-shortcuts
[kdenlive] / src / monitormanager.cpp
index 1765fa86cc4567ef0be401c32891741332050bf4..aff200877f0f5221b97caa388cdc390c8c7e6641 100644 (file)
@@ -79,6 +79,26 @@ void MonitorManager::slotPlay() {
     else m_projectMonitor->slotPlay();
 }
 
+void MonitorManager::slotRewind() {
+    if (m_activeMonitor == "clip") m_clipMonitor->slotRewind();
+    else m_projectMonitor->slotRewind();
+}
+
+void MonitorManager::slotForward() {
+    if (m_activeMonitor == "clip") m_clipMonitor->slotForward();
+    else m_projectMonitor->slotForward();
+}
+
+void MonitorManager::slotRewindOneFrame() {
+    if (m_activeMonitor == "clip") m_clipMonitor->slotRewindOneFrame();
+    else m_projectMonitor->slotRewindOneFrame();
+}
+
+void MonitorManager::slotForwardOneFrame() {
+    if (m_activeMonitor == "clip") m_clipMonitor->slotForwardOneFrame();
+    else m_projectMonitor->slotForwardOneFrame();
+}
+
 void MonitorManager::resetProfiles(QString prof) {
     m_clipMonitor->resetProfile(prof);
     m_projectMonitor->resetProfile(prof);