Qt: give access to fineslower and finefaster in the menus.
[vlc.git] / modules / gui / qt4 / input_manager.cpp
index cdefa32..adb58f1 100644 (file)
@@ -28,6 +28,7 @@
 #endif
 
 #include "input_manager.hpp"
+#include <vlc_keys.h>
 
 #include <QApplication>
 
@@ -779,6 +780,16 @@ void InputManager::faster()
         var_SetVoid( p_input, "rate-faster" );
 }
 
+void InputManager::littlefaster()
+{
+    var_SetInteger( p_intf->p_libvlc, "key-action", ACTIONID_RATE_FASTER_FINE );
+}
+
+void InputManager::littleslower()
+{
+    var_SetInteger( p_intf->p_libvlc, "key-action", ACTIONID_RATE_SLOWER_FINE );
+}
+
 void InputManager::normalRate()
 {
     if( hasInput() )