Diffstat (limited to 'noncore/multimedia/opieplayer2/playlistwidget.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/playlistwidget.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/noncore/multimedia/opieplayer2/playlistwidget.h b/noncore/multimedia/opieplayer2/playlistwidget.h index e44096b..fdfa666 100644 --- a/noncore/multimedia/opieplayer2/playlistwidget.h +++ b/noncore/multimedia/opieplayer2/playlistwidget.h | |||
@@ -4,12 +4,13 @@ | |||
4 | 4 | ||
5 | #include <qmainwindow.h> | 5 | #include <qmainwindow.h> |
6 | #include <qpe/applnk.h> | 6 | #include <qpe/applnk.h> |
7 | #include <qtabwidget.h> | 7 | #include <qtabwidget.h> |
8 | #include <qpe/fileselector.h> | 8 | #include <qpe/fileselector.h> |
9 | #include <qpushbutton.h> | 9 | #include <qpushbutton.h> |
10 | #include <qpopupmenu.h> | ||
10 | 11 | ||
11 | /* #include <qtimer.h> */ | 12 | /* #include <qtimer.h> */ |
12 | 13 | ||
13 | 14 | ||
14 | class PlayListWidgetPrivate; | 15 | class PlayListWidgetPrivate; |
15 | class Config; | 16 | class Config; |
@@ -22,17 +23,19 @@ class QLabel; | |||
22 | class PlayListWidget : public QMainWindow { | 23 | class PlayListWidget : public QMainWindow { |
23 | Q_OBJECT | 24 | Q_OBJECT |
24 | public: | 25 | public: |
25 | PlayListWidget( QWidget* parent=0, const char* name=0, WFlags fl=0 ); | 26 | PlayListWidget( QWidget* parent=0, const char* name=0, WFlags fl=0 ); |
26 | ~PlayListWidget(); | 27 | ~PlayListWidget(); |
27 | QTabWidget * tabWidget; | 28 | QTabWidget * tabWidget; |
28 | QAction *fullScreenButton, *scaleButton; | 29 | // MenuItem *fullScreenButton, *scaleButton; |
30 | // QAction *fullScreenButton, *scaleButton; | ||
29 | DocLnkSet files; | 31 | DocLnkSet files; |
30 | DocLnkSet vFiles; | 32 | DocLnkSet vFiles; |
31 | QListView *audioView, *videoView, *playlistView; | 33 | QListView *audioView, *videoView, *playlistView; |
32 | QLabel *libString; | 34 | QLabel *libString; |
35 | QPopupMenu *pmView ; | ||
33 | bool fromSetDocument; | 36 | bool fromSetDocument; |
34 | bool insanityBool; | 37 | bool insanityBool; |
35 | QString setDocFileRef; | 38 | QString setDocFileRef; |
36 | // retrieve the current playlist entry (media file link) | 39 | // retrieve the current playlist entry (media file link) |
37 | const DocLnk *current(); | 40 | const DocLnk *current(); |
38 | void useSelectedDocument(); | 41 | void useSelectedDocument(); |
@@ -64,12 +67,13 @@ private: | |||
64 | void readConfig( Config& cfg ); | 67 | void readConfig( Config& cfg ); |
65 | void writeConfig( Config& cfg ) const; | 68 | void writeConfig( Config& cfg ) const; |
66 | PlayListWidgetPrivate *d; // Private implementation data | 69 | PlayListWidgetPrivate *d; // Private implementation data |
67 | void populateAudioView(); | 70 | void populateAudioView(); |
68 | void populateVideoView(); | 71 | void populateVideoView(); |
69 | private slots: | 72 | private slots: |
73 | void pmViewActivated(int); | ||
70 | void writem3u(); | 74 | void writem3u(); |
71 | void scanForAudio(); | 75 | void scanForAudio(); |
72 | void scanForVideo(); | 76 | void scanForVideo(); |
73 | void openFile(); | 77 | void openFile(); |
74 | void setDocument( const QString& fileref ); | 78 | void setDocument( const QString& fileref ); |
75 | void addToSelection( const DocLnk& ); // Add a media file to the playlist | 79 | void addToSelection( const DocLnk& ); // Add a media file to the playlist |