]> 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 573d954b6156934e99293f99d0714e0f3e6eafd3..26f1ea90b90905e096de2d8021d2bb27791431be 100644 (file)
@@ -1,7 +1,7 @@
 /*****************************************************************************
  * input_manager.hpp : Manage an input and interact with its GUI elements
  ****************************************************************************
- * Copyright (C) 2006 the VideoLAN team
+ * Copyright (C) 2006-2007 the VideoLAN team
  * $Id$
  *
  * Authors: ClĂ©ment Stenac <zorglub@videolan.org>
 #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;
@@ -44,7 +45,8 @@ private:
     intf_thread_t *p_intf;
     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