email : dae@chez.com
***************************************************************************/
/***************************************************************************
- shamelessly copied from noatun's excellent interface
+ shamelessly copied from noatun's excellent interface
****************************************************************************/
#ifndef _KDE_SLIDER_H_
#define _KDE_SLIDER_H_
*/
class KVLCSlider : public QSlider
{
- Q_OBJECT
- public:
- KVLCSlider(QWidget * parent, const char * name=0);
- KVLCSlider(Orientation, QWidget * parent, const char * name=0);
- KVLCSlider(int minValue, int maxValue, int pageStep, int value,
- Orientation, QWidget * parent, const char * name=0);
+ Q_OBJECT
+ public:
+ KVLCSlider(QWidget * parent, const char * name=0);
+ KVLCSlider(Orientation, QWidget * parent, const char * name=0);
+ KVLCSlider(int minValue, int maxValue, int pageStep, int value,
+ Orientation, QWidget * parent, const char * name=0);
- signals:
- /**
- * emmited only when the user changes the value by hand
- */
- void userChanged( int value );
+ signals:
+ /**
+ * emmited only when the user changes the value by hand
+ */
+ void userChanged( int value );
- public slots:
- virtual void setValue( int );
+ public slots:
+ virtual void setValue( int );
- protected:
- virtual void mousePressEvent( QMouseEvent * e );
- virtual void mouseReleaseEvent( QMouseEvent * e );
+ protected:
+ virtual void mousePressEvent( QMouseEvent * e );
+ virtual void mouseReleaseEvent( QMouseEvent * e );
- private:
- bool pressed; // set this to true when the user drags the slider
+ private:
+ bool pressed; // set this to true when the user drags the slider
};
#endif /* _KDE_SLIDER_H_ */