author | llornkcor <llornkcor> | 2002-07-29 23:36:40 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-07-29 23:36:40 (UTC) |
commit | ce331dbef4c05d829f655707ea3bf22f3187340b (patch) (unidiff) | |
tree | d69bf0314427ed6b8bb49f3e7a7900ac88f6404d | |
parent | 3507cf869b041872b0547bb595c1cbf5c0501cb9 (diff) | |
download | opie-ce331dbef4c05d829f655707ea3bf22f3187340b.zip opie-ce331dbef4c05d829f655707ea3bf22f3187340b.tar.gz opie-ce331dbef4c05d829f655707ea3bf22f3187340b.tar.bz2 |
add qlineedit.h include
-rw-r--r-- | noncore/multimedia/opieplayer2/audiowidget.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/multimedia/opieplayer2/audiowidget.h b/noncore/multimedia/opieplayer2/audiowidget.h index 9bc924d..2b892be 100644 --- a/noncore/multimedia/opieplayer2/audiowidget.h +++ b/noncore/multimedia/opieplayer2/audiowidget.h | |||
@@ -1,58 +1,59 @@ | |||
1 | #ifndef AUDIO_WIDGET_H | 1 | #ifndef AUDIO_WIDGET_H |
2 | #define AUDIO_WIDGET_H | 2 | #define AUDIO_WIDGET_H |
3 | 3 | ||
4 | #include <qwidget.h> | 4 | #include <qwidget.h> |
5 | #include <qpainter.h> | 5 | #include <qpainter.h> |
6 | #include <qdrawutil.h> | 6 | #include <qdrawutil.h> |
7 | #include <qpixmap.h> | 7 | #include <qpixmap.h> |
8 | #include <qstring.h> | 8 | #include <qstring.h> |
9 | #include <qslider.h> | 9 | #include <qslider.h> |
10 | #include <qframe.h> | 10 | #include <qframe.h> |
11 | #include <qlineedit.h> | ||
11 | 12 | ||
12 | 13 | ||
13 | class QPixmap; | 14 | class QPixmap; |
14 | 15 | ||
15 | enum AudioButtons { | 16 | enum AudioButtons { |
16 | AudioPlay=0, | 17 | AudioPlay=0, |
17 | AudioStop, | 18 | AudioStop, |
18 | AudioPause, | 19 | AudioPause, |
19 | AudioNext, | 20 | AudioNext, |
20 | AudioPrevious, | 21 | AudioPrevious, |
21 | AudioVolumeUp, | 22 | AudioVolumeUp, |
22 | AudioVolumeDown, | 23 | AudioVolumeDown, |
23 | AudioLoop, | 24 | AudioLoop, |
24 | AudioPlayList | 25 | AudioPlayList |
25 | }; | 26 | }; |
26 | 27 | ||
27 | 28 | ||
28 | //#define USE_DBLBUF | 29 | //#define USE_DBLBUF |
29 | 30 | ||
30 | 31 | ||
31 | class Ticker : public QFrame { | 32 | class Ticker : public QFrame { |
32 | Q_OBJECT | 33 | Q_OBJECT |
33 | 34 | ||
34 | public: | 35 | public: |
35 | Ticker( QWidget* parent=0 ); | 36 | Ticker( QWidget* parent=0 ); |
36 | ~Ticker(); | 37 | ~Ticker(); |
37 | void setText( const QString& text ) ; | 38 | void setText( const QString& text ) ; |
38 | 39 | ||
39 | protected: | 40 | protected: |
40 | void timerEvent( QTimerEvent * ); | 41 | void timerEvent( QTimerEvent * ); |
41 | void drawContents( QPainter *p ); | 42 | void drawContents( QPainter *p ); |
42 | private: | 43 | private: |
43 | QString scrollText; | 44 | QString scrollText; |
44 | int pos, pixelLen; | 45 | int pos, pixelLen; |
45 | }; | 46 | }; |
46 | 47 | ||
47 | 48 | ||
48 | class AudioWidget : public QWidget { | 49 | class AudioWidget : public QWidget { |
49 | Q_OBJECT | 50 | Q_OBJECT |
50 | public: | 51 | public: |
51 | AudioWidget( QWidget* parent=0, const char* name=0, WFlags f=0 ); | 52 | AudioWidget( QWidget* parent=0, const char* name=0, WFlags f=0 ); |
52 | ~AudioWidget(); | 53 | ~AudioWidget(); |
53 | void setTickerText( const QString &text ) { songInfo.setText( text ); } | 54 | void setTickerText( const QString &text ) { songInfo.setText( text ); } |
54 | bool isStreaming; | 55 | bool isStreaming; |
55 | public slots: | 56 | public slots: |
56 | void updateSlider( long, long ); | 57 | void updateSlider( long, long ); |
57 | void sliderPressed( ); | 58 | void sliderPressed( ); |
58 | void sliderReleased( ); | 59 | void sliderReleased( ); |