]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/util/input_slider.cpp
Fix the qt-pl-showflags tooltip
[vlc] / modules / gui / qt4 / util / input_slider.cpp
index 2798d9431d9c91f0f758268390223deb0417a77b..f48474b9cf5b0409fecbdcdb08487cbaebb9c3a9 100644 (file)
@@ -1,8 +1,8 @@
 /*****************************************************************************
  * input_manager.cpp : Manage an input and interact with its GUI elements
  ****************************************************************************
- * Copyright (C) 2000-2005 the VideoLAN team
- * $Id: wxwidgets.cpp 15731 2006-05-25 14:43:53Z zorglub $
+ * Copyright (C) 2006 the VideoLAN team
+ * $Id$
  *
  * Authors: ClĂ©ment Stenac <zorglub@videolan.org>
  *
@@ -21,6 +21,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
+#include "qt4.hpp"
 #include "util/input_slider.hpp"
 
 InputSlider::InputSlider( QWidget *_parent ) : DirectSlider( _parent )
@@ -35,9 +36,9 @@ InputSlider::InputSlider( Qt::Orientation q,QWidget *_parent ) :
     setMinimum( 0 );
     setMaximum( 1000 );
     setSingleStep( 2 );
-    setPageStep( 1000 );
+    setPageStep( 10 );
     setTracking( true );
-    connect( this, SIGNAL( valueChanged(int) ), this, SLOT( userDrag( int ) ) );
+    CONNECT( this, valueChanged(int), this, userDrag( int ) );
 }
 
 void InputSlider::setPosition( float pos, int a, int b )