1 /***************************************************************************
4 begin : Sun Apr 03 2001
5 copyright : (C) 2001 by andres
7 ***************************************************************************/
8 /***************************************************************************
9 shamelessly copied from noatun's excellent interface
10 ****************************************************************************/
11 #ifndef _KDE_SLIDER_H_
12 #define _KDE_SLIDER_H_
17 * This slider can be changed by the vlc while not dragged by the user
19 class KVLCSlider : public QSlider
23 KVLCSlider(QWidget * parent, const char * name=0);
24 KVLCSlider(Orientation, QWidget * parent, const char * name=0);
25 KVLCSlider(int minValue, int maxValue, int pageStep, int value,
26 Orientation, QWidget * parent, const char * name=0);
30 * emmited only when the user changes the value by hand
32 void userChanged( int value );
35 virtual void setValue( int );
38 virtual void mousePressEvent( QMouseEvent * e );
39 virtual void mouseReleaseEvent( QMouseEvent * e );
42 bool pressed; // set this to true when the user drags the slider
45 #endif /* _KDE_SLIDER_H_ */