Diffstat (limited to 'noncore/multimedia/opieplayer2/playlistwidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/playlistwidget.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/multimedia/opieplayer2/playlistwidget.h b/noncore/multimedia/opieplayer2/playlistwidget.h index fa2837a..3f52e63 100644 --- a/noncore/multimedia/opieplayer2/playlistwidget.h +++ b/noncore/multimedia/opieplayer2/playlistwidget.h | |||
@@ -60,25 +60,25 @@ public: | |||
60 | 60 | ||
61 | struct Entry | 61 | struct Entry |
62 | { | 62 | { |
63 | Entry( const QString &_name, const QString &_fileName ) | 63 | Entry( const QString &_name, const QString &_fileName ) |
64 | : name( _name ), file( _fileName ) {} | 64 | : name( _name ), file( _fileName ) {} |
65 | Entry( const QString &_fileName ) | 65 | Entry( const QString &_fileName ) |
66 | : name( _fileName ), file( _fileName ) {} | 66 | : name( _fileName ), file( _fileName ) {} |
67 | 67 | ||
68 | QString name; | 68 | QString name; |
69 | QString file; | 69 | QString file; |
70 | }; | 70 | }; |
71 | 71 | ||
72 | PlayListWidget( QWidget* parent=0, const char* name=0, WFlags fl=0 ); | 72 | PlayListWidget( MediaPlayerState &mediaPlayerState, QWidget* parent=0, const char* name=0 ); |
73 | ~PlayListWidget(); | 73 | ~PlayListWidget(); |
74 | DocLnkSet files; | 74 | DocLnkSet files; |
75 | DocLnkSet vFiles; | 75 | DocLnkSet vFiles; |
76 | bool fromSetDocument; | 76 | bool fromSetDocument; |
77 | bool insanityBool; | 77 | bool insanityBool; |
78 | QString setDocFileRef, currentPlayList; | 78 | QString setDocFileRef, currentPlayList; |
79 | // retrieve the current playlist entry (media file link) | 79 | // retrieve the current playlist entry (media file link) |
80 | const DocLnk *current() const; | 80 | const DocLnk *current() const; |
81 | void useSelectedDocument(); | 81 | void useSelectedDocument(); |
82 | int selected; | 82 | int selected; |
83 | TabType currentTab() const; | 83 | TabType currentTab() const; |
84 | 84 | ||
@@ -125,16 +125,17 @@ private slots: | |||
125 | void addAllVideoToList(); | 125 | void addAllVideoToList(); |
126 | void saveList(); // Save the playlist | 126 | void saveList(); // Save the playlist |
127 | void loadList( const DocLnk &); // Load a playlist | 127 | void loadList( const DocLnk &); // Load a playlist |
128 | void playIt( QListViewItem *); | 128 | void playIt( QListViewItem *); |
129 | void btnPlay(bool); | 129 | void btnPlay(bool); |
130 | void deletePlaylist(); | 130 | void deletePlaylist(); |
131 | void addSelected(); | 131 | void addSelected(); |
132 | void removeSelected(); | 132 | void removeSelected(); |
133 | void tabChanged(QWidget*); | 133 | void tabChanged(QWidget*); |
134 | void viewPressed( int, QListViewItem *, const QPoint&, int); | 134 | void viewPressed( int, QListViewItem *, const QPoint&, int); |
135 | void playlistViewPressed( int, QListViewItem *, const QPoint&, int); | 135 | void playlistViewPressed( int, QListViewItem *, const QPoint&, int); |
136 | void playSelected(); | 136 | void playSelected(); |
137 | |||
137 | }; | 138 | }; |
138 | 139 | ||
139 | #endif // PLAY_LIST_WIDGET_H | 140 | #endif // PLAY_LIST_WIDGET_H |
140 | 141 | ||