Diffstat (limited to 'core/multimedia/opieplayer/playlistwidget.h') (more/less context) (show whitespace changes)
-rw-r--r-- | core/multimedia/opieplayer/playlistwidget.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/multimedia/opieplayer/playlistwidget.h b/core/multimedia/opieplayer/playlistwidget.h index 1be5a15..1118b76 100644 --- a/core/multimedia/opieplayer/playlistwidget.h +++ b/core/multimedia/opieplayer/playlistwidget.h | |||
@@ -34,12 +34,13 @@ class PlayListWidgetPrivate; | |||
34 | class Config; | 34 | class Config; |
35 | class QListViewItem; | 35 | class QListViewItem; |
36 | class QListView; | 36 | class QListView; |
37 | class QPoint; | 37 | class QPoint; |
38 | class QAction; | 38 | class QAction; |
39 | class QLabel; | 39 | class QLabel; |
40 | class QPopupMenu; | ||
40 | 41 | ||
41 | class PlayListWidget : public QMainWindow { | 42 | class PlayListWidget : public QMainWindow { |
42 | Q_OBJECT | 43 | Q_OBJECT |
43 | public: | 44 | public: |
44 | PlayListWidget( QWidget* parent=0, const char* name=0, WFlags fl=0 ); | 45 | PlayListWidget( QWidget* parent=0, const char* name=0, WFlags fl=0 ); |
45 | ~PlayListWidget(); | 46 | ~PlayListWidget(); |
@@ -64,17 +65,19 @@ public slots: | |||
64 | bool last(); | 65 | bool last(); |
65 | bool next(); | 66 | bool next(); |
66 | bool prev(); | 67 | bool prev(); |
67 | /* void setFullScreen(); */ | 68 | /* void setFullScreen(); */ |
68 | /* void setScaled(); */ | 69 | /* void setScaled(); */ |
69 | protected: | 70 | protected: |
71 | QPopupMenu *skinsMenu; | ||
70 | /* void contentsMousePressEvent( QMouseEvent * e ); */ | 72 | /* void contentsMousePressEvent( QMouseEvent * e ); */ |
71 | /* void contentsMouseReleaseEvent( QMouseEvent * e ); */ | 73 | /* void contentsMouseReleaseEvent( QMouseEvent * e ); */ |
72 | void keyReleaseEvent( QKeyEvent *e); | 74 | void keyReleaseEvent( QKeyEvent *e); |
73 | void keyPressEvent( QKeyEvent *e); | 75 | void keyPressEvent( QKeyEvent *e); |
74 | private: | 76 | private: |
77 | int defaultSkinIndex; | ||
75 | bool audioScan, videoScan; | 78 | bool audioScan, videoScan; |
76 | void doBlank(); | 79 | void doBlank(); |
77 | void doUnblank(); | 80 | void doUnblank(); |
78 | void readm3u(const QString &); | 81 | void readm3u(const QString &); |
79 | void readPls(const QString &); | 82 | void readPls(const QString &); |
80 | 83 | ||
@@ -84,12 +87,14 @@ private: | |||
84 | void writeConfig( Config& cfg ) const; | 87 | void writeConfig( Config& cfg ) const; |
85 | PlayListWidgetPrivate *d; // Private implementation data | 88 | PlayListWidgetPrivate *d; // Private implementation data |
86 | void populateAudioView(); | 89 | void populateAudioView(); |
87 | void populateVideoView(); | 90 | void populateVideoView(); |
88 | private slots: | 91 | private slots: |
89 | 92 | ||
93 | void populateSkinsMenu(); | ||
94 | void skinsMenuActivated(int); | ||
90 | void writem3u(); | 95 | void writem3u(); |
91 | void writeCurrentM3u(); | 96 | void writeCurrentM3u(); |
92 | void scanForAudio(); | 97 | void scanForAudio(); |
93 | void scanForVideo(); | 98 | void scanForVideo(); |
94 | void openFile(); | 99 | void openFile(); |
95 | void setDocument( const QString& fileref ); | 100 | void setDocument( const QString& fileref ); |