Diffstat (limited to 'core/multimedia/opieplayer/playlistwidget.h') (more/less context) (ignore 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 | |||
@@ -21,16 +21,17 @@ | |||
21 | #define PLAY_LIST_WIDGET_H | 21 | #define PLAY_LIST_WIDGET_H |
22 | 22 | ||
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; |
35 | class QListView; | 36 | class QListView; |
36 | class QPoint; | 37 | class QPoint; |
@@ -45,17 +46,17 @@ public: | |||
45 | QTabWidget * tabWidget; | 46 | QTabWidget * tabWidget; |
46 | QAction *fullScreenButton, *scaleButton; | 47 | QAction *fullScreenButton, *scaleButton; |
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; |
60 | int fd, selected; | 61 | int fd, selected; |
61 | public slots: | 62 | public slots: |
@@ -80,17 +81,19 @@ private: | |||
80 | 81 | ||
81 | void initializeStates(); | 82 | void initializeStates(); |
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 |
95 | void setActiveWindow(); // need to handle this to show the right view | 98 | void setActiveWindow(); // need to handle this to show the right view |
96 | void setPlaylist( bool ); // Show/Hide the playlist | 99 | void setPlaylist( bool ); // Show/Hide the playlist |