1 #ifndef TIMEBUFFEREDSLIDER_H
2 #define TIMEBUFFEREDSLIDER_H
6 class TimeBufferedSlider
: public Slider
10 explicit TimeBufferedSlider( QWidget
* parent
= 0 );
11 ~TimeBufferedSlider();
13 int valueBuffer() const;
14 int maximumBuffer() const;
15 int minimumBuffer() const;
18 virtual void setMaximumBuffer(int max
);
19 virtual void setMinimumBuffer(int min
);
20 virtual void setRangeBuffer(int min
, int max
);
23 virtual void setBufferValue( int value
);
25 virtual void setMediaObject ( Phonon::MediaObject
* media
);
26 virtual void mediaVideoChanged(bool hasVideo
);
33 * Samotne vykresleni obsahu komponenty
35 void paintCustomSlider( QPainter
*p
, int x
, int y
, int width
, int height
);
50 Phonon::MediaObject
* m_pMediaObject
;
54 #endif // TIMEBUFFEREDSLIDER_H