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, 4 insertions, 1 deletions
diff --git a/core/multimedia/opieplayer/playlistwidget.h b/core/multimedia/opieplayer/playlistwidget.h index 7718a8c..1be5a15 100644 --- a/core/multimedia/opieplayer/playlistwidget.h +++ b/core/multimedia/opieplayer/playlistwidget.h | |||
@@ -23,12 +23,13 @@ | |||
23 | #include <qmainwindow.h> | 23 | #include <qmainwindow.h> |
24 | #include <qpe/applnk.h> | 24 | #include <qpe/applnk.h> |
25 | #include <qtabwidget.h> | 25 | #include <qtabwidget.h> |
26 | #include <qpe/fileselector.h> | 26 | #include <qpe/fileselector.h> |
27 | #include <qpushbutton.h> | 27 | #include <qpushbutton.h> |
28 | 28 | ||
29 | #include "om3u.h" | ||
29 | /* #include <qtimer.h> */ | 30 | /* #include <qtimer.h> */ |
30 | 31 | ||
31 | 32 | ||
32 | class PlayListWidgetPrivate; | 33 | class PlayListWidgetPrivate; |
33 | class Config; | 34 | class Config; |
34 | class QListViewItem; | 35 | class QListViewItem; |
@@ -47,13 +48,13 @@ public: | |||
47 | DocLnkSet files; | 48 | DocLnkSet files; |
48 | DocLnkSet vFiles; | 49 | DocLnkSet vFiles; |
49 | QListView *audioView, *videoView, *playlistView; | 50 | QListView *audioView, *videoView, *playlistView; |
50 | QLabel *libString; | 51 | QLabel *libString; |
51 | bool fromSetDocument; | 52 | bool fromSetDocument; |
52 | bool insanityBool; | 53 | bool insanityBool; |
53 | QString setDocFileRef; | 54 | QString setDocFileRef, currentPlayList; |
54 | // retrieve the current playlist entry (media file link) | 55 | // retrieve the current playlist entry (media file link) |
55 | const DocLnk *current(); | 56 | const DocLnk *current(); |
56 | void useSelectedDocument(); | 57 | void useSelectedDocument(); |
57 | /* QTimer * menuTimer; */ | 58 | /* QTimer * menuTimer; */ |
58 | FileSelector* playLists; | 59 | FileSelector* playLists; |
59 | QPushButton *tbDeletePlaylist; | 60 | QPushButton *tbDeletePlaylist; |
@@ -82,13 +83,15 @@ private: | |||
82 | void readConfig( Config& cfg ); | 83 | void readConfig( Config& cfg ); |
83 | void writeConfig( Config& cfg ) const; | 84 | void writeConfig( Config& cfg ) const; |
84 | PlayListWidgetPrivate *d; // Private implementation data | 85 | PlayListWidgetPrivate *d; // Private implementation data |
85 | void populateAudioView(); | 86 | void populateAudioView(); |
86 | void populateVideoView(); | 87 | void populateVideoView(); |
87 | private slots: | 88 | private slots: |
89 | |||
88 | void writem3u(); | 90 | void writem3u(); |
91 | void writeCurrentM3u(); | ||
89 | void scanForAudio(); | 92 | void scanForAudio(); |
90 | void scanForVideo(); | 93 | void scanForVideo(); |
91 | void openFile(); | 94 | void openFile(); |
92 | void setDocument( const QString& fileref ); | 95 | void setDocument( const QString& fileref ); |
93 | void addToSelection( const DocLnk& ); // Add a media file to the playlist | 96 | void addToSelection( const DocLnk& ); // Add a media file to the playlist |
94 | void addToSelection( QListViewItem* ); // Add a media file to the playlist | 97 | void addToSelection( QListViewItem* ); // Add a media file to the playlist |