]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/input_manager.hpp
Qt4 - Hotkeys, correct some unicode problem and change the default behaviour.
[vlc] / modules / gui / qt4 / input_manager.hpp
index 93ef5357397ba5129018decdd2bef76971f3225c..26f1ea90b90905e096de2d8021d2bb27791431be 100644 (file)
 #ifndef _INPUT_MANAGER_H_
 #define _INPUT_MANAGER_H_
 
-#include <QObject>
 #include <vlc/vlc.h>
 #include <vlc_input.h>
 
+#include <QObject>
+
 class InputManager : public QObject
 {
     Q_OBJECT;
@@ -45,6 +46,7 @@ private:
     input_thread_t *p_input;
     int i_old_playing_status;
     QString old_name;
+    int i_rate;
 public slots:
     void togglePlayPause();
     void update(); ///< Periodic updates
@@ -53,19 +55,19 @@ public slots:
     void slower();
     void faster();
     void normalRate();
+    void setRate( int );
     void sectionNext();
     void sectionPrev();
     void sectionMenu();
 signals:
     /// Send new position, new time and new length
     void positionUpdated( float , int, int );
+    void rateChanged( int );
     void nameChanged( QString );
     /// Used to signal whether we should show navigation buttons
     void navigationChanged( int );
     /// Play/pause status
     void statusChanged( int );
-    void audioStarted();
-    void videoStarted();
 };
 
 class MainInputManager : public QObject