Diffstat (limited to 'core/multimedia/opieplayer/playlistwidget.h') (more/less context) (show whitespace changes)
-rw-r--r-- | core/multimedia/opieplayer/playlistwidget.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/core/multimedia/opieplayer/playlistwidget.h b/core/multimedia/opieplayer/playlistwidget.h index 5b05f11..46272a0 100644 --- a/core/multimedia/opieplayer/playlistwidget.h +++ b/core/multimedia/opieplayer/playlistwidget.h | |||
@@ -20,12 +20,15 @@ | |||
20 | #ifndef PLAY_LIST_WIDGET_H | 20 | #ifndef PLAY_LIST_WIDGET_H |
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 <fileselector.h> | ||
27 | #include <qpushbutton.h> | ||
28 | |||
26 | /* #include <qtimer.h> */ | 29 | /* #include <qtimer.h> */ |
27 | 30 | ||
28 | 31 | ||
29 | class PlayListWidgetPrivate; | 32 | class PlayListWidgetPrivate; |
30 | class Config; | 33 | class Config; |
31 | class QListViewItem; | 34 | class QListViewItem; |
@@ -46,28 +49,31 @@ public: | |||
46 | QListView *audioView, *videoView, *playlistView; | 49 | QListView *audioView, *videoView, *playlistView; |
47 | QLabel *libString; | 50 | QLabel *libString; |
48 | // retrieve the current playlist entry (media file link) | 51 | // retrieve the current playlist entry (media file link) |
49 | const DocLnk *current(); | 52 | const DocLnk *current(); |
50 | void useSelectedDocument(); | 53 | void useSelectedDocument(); |
51 | /* QTimer * menuTimer; */ | 54 | /* QTimer * menuTimer; */ |
52 | 55 | FileSelector* playLists; | |
56 | QPushButton *tbDeletePlaylist; | ||
53 | public slots: | 57 | public slots: |
54 | void setDocument( const QString& fileref ); | 58 | void setDocument( const QString& fileref ); |
55 | void addToSelection( const DocLnk& ); // Add a media file to the playlist | 59 | void addToSelection( const DocLnk& ); // Add a media file to the playlist |
56 | void addToSelection( QListViewItem* ); // Add a media file to the playlist | 60 | void addToSelection( QListViewItem* ); // Add a media file to the playlist |
57 | void addToSelection( QListViewItem*, const QPoint&,int ); // Add a media file to the playlist | ||
58 | void setActiveWindow(); // need to handle this to show the right view | 61 | void setActiveWindow(); // need to handle this to show the right view |
59 | void setPlaylist( bool ); // Show/Hide the playlist | 62 | void setPlaylist( bool ); // Show/Hide the playlist |
60 | void setView( char ); | 63 | void setView( char ); |
61 | void clearList(); | 64 | void clearList(); |
62 | void addAllToList(); | 65 | void addAllToList(); |
63 | void addAllMusicToList(); | 66 | void addAllMusicToList(); |
64 | void addAllVideoToList(); | 67 | void addAllVideoToList(); |
65 | void saveList(); // Save the playlist | 68 | void saveList(); // Save the playlist |
66 | void loadList(); // Load a playlist | 69 | void loadList( const DocLnk &); // Load a playlist |
67 | void playIt( QListViewItem *); | 70 | void playIt( QListViewItem *); |
71 | void fauxPlay(QListViewItem *); | ||
72 | void btnPlay(bool); | ||
73 | void deletePlaylist(); | ||
68 | bool first(); | 74 | bool first(); |
69 | bool last(); | 75 | bool last(); |
70 | bool next(); | 76 | bool next(); |
71 | bool prev(); | 77 | bool prev(); |
72 | void addSelected(); | 78 | void addSelected(); |
73 | void removeSelected(); | 79 | void removeSelected(); |