summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-07-29 23:36:40 (UTC)
committer llornkcor <llornkcor>2002-07-29 23:36:40 (UTC)
commitce331dbef4c05d829f655707ea3bf22f3187340b (patch) (unidiff)
treed69bf0314427ed6b8bb49f3e7a7900ac88f6404d
parent3507cf869b041872b0547bb595c1cbf5c0501cb9 (diff)
downloadopie-ce331dbef4c05d829f655707ea3bf22f3187340b.zip
opie-ce331dbef4c05d829f655707ea3bf22f3187340b.tar.gz
opie-ce331dbef4c05d829f655707ea3bf22f3187340b.tar.bz2
add qlineedit.h include
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/audiowidget.h1
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
13class QPixmap; 14class QPixmap;
14 15
15enum AudioButtons { 16enum 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
31class Ticker : public QFrame { 32class Ticker : public QFrame {
32 Q_OBJECT 33 Q_OBJECT
33 34
34public: 35public:
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
39protected: 40protected:
40 void timerEvent( QTimerEvent * ); 41 void timerEvent( QTimerEvent * );
41 void drawContents( QPainter *p ); 42 void drawContents( QPainter *p );
42private: 43private:
43 QString scrollText; 44 QString scrollText;
44 int pos, pixelLen; 45 int pos, pixelLen;
45}; 46};
46 47
47 48
48class AudioWidget : public QWidget { 49class AudioWidget : public QWidget {
49 Q_OBJECT 50 Q_OBJECT
50public: 51public:
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;
55public slots: 56public slots:
56 void updateSlider( long, long ); 57 void updateSlider( long, long );
57 void sliderPressed( ); 58 void sliderPressed( );
58 void sliderReleased( ); 59 void sliderReleased( );