author | simon <simon> | 2002-12-02 20:20:28 (UTC) |
---|---|---|
committer | simon <simon> | 2002-12-02 20:20:28 (UTC) |
commit | abeed050bedee6e2697ea417ed74ab621361da48 (patch) (unidiff) | |
tree | f1abe40769dee855617c55db5fc37625c5518a27 /noncore/multimedia/opieplayer2/playlistwidgetgui.h | |
parent | e1ef407b16b652755f9c8eefce0f617ec3996998 (diff) | |
download | opie-abeed050bedee6e2697ea417ed74ab621361da48.zip opie-abeed050bedee6e2697ea417ed74ab621361da48.tar.gz opie-abeed050bedee6e2697ea417ed74ab621361da48.tar.bz2 |
- the playlist no more uses the mediaplayerstate as singleton
Diffstat (limited to 'noncore/multimedia/opieplayer2/playlistwidgetgui.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/playlistwidgetgui.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/multimedia/opieplayer2/playlistwidgetgui.h b/noncore/multimedia/opieplayer2/playlistwidgetgui.h index 4eefb93..9b5252a 100644 --- a/noncore/multimedia/opieplayer2/playlistwidgetgui.h +++ b/noncore/multimedia/opieplayer2/playlistwidgetgui.h | |||
@@ -46,12 +46,13 @@ | |||
46 | #include <qaction.h> | 46 | #include <qaction.h> |
47 | #include <qslider.h> | 47 | #include <qslider.h> |
48 | #include <qlcdnumber.h> | 48 | #include <qlcdnumber.h> |
49 | 49 | ||
50 | class PlayListWidgetPrivate; | 50 | class PlayListWidgetPrivate; |
51 | class PlayListSelection; | 51 | class PlayListSelection; |
52 | class MediaPlayerState; | ||
52 | 53 | ||
53 | class Config; | 54 | class Config; |
54 | class QPEToolBar; | 55 | class QPEToolBar; |
55 | class QListViewItem; | 56 | class QListViewItem; |
56 | class QListView; | 57 | class QListView; |
57 | class QPoint; | 58 | class QPoint; |
@@ -92,13 +93,13 @@ public: | |||
92 | } | 93 | } |
93 | }; | 94 | }; |
94 | 95 | ||
95 | class PlayListWidgetGui : public QMainWindow { | 96 | class PlayListWidgetGui : public QMainWindow { |
96 | Q_OBJECT | 97 | Q_OBJECT |
97 | public: | 98 | public: |
98 | PlayListWidgetGui( QWidget* parent=0, const char* name=0, WFlags fl=0 ); | 99 | PlayListWidgetGui( MediaPlayerState &_mediaPlayerState, QWidget* parent=0, const char* name=0 ); |
99 | ~PlayListWidgetGui(); | 100 | ~PlayListWidgetGui(); |
100 | 101 | ||
101 | protected: | 102 | protected: |
102 | QTabWidget * tabWidget; | 103 | QTabWidget * tabWidget; |
103 | QListView *audioView, *videoView, *playlistView; | 104 | QListView *audioView, *videoView, *playlistView; |
104 | QLabel *libString; | 105 | QLabel *libString; |
@@ -119,10 +120,11 @@ protected: | |||
119 | QVBox *vbox1; | 120 | QVBox *vbox1; |
120 | QVBox *vbox5; | 121 | QVBox *vbox5; |
121 | QPEToolBar *bar; | 122 | QPEToolBar *bar; |
122 | void setActiveWindow(); // need to handle this to show the right view | 123 | void setActiveWindow(); // need to handle this to show the right view |
123 | void setView( char ); | 124 | void setView( char ); |
124 | 125 | ||
126 | MediaPlayerState &mediaPlayerState; | ||
125 | }; | 127 | }; |
126 | 128 | ||
127 | #endif | 129 | #endif |
128 | 130 | ||