Diffstat (limited to 'core/multimedia/opieplayer/playlistselection.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/multimedia/opieplayer/playlistselection.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/multimedia/opieplayer/playlistselection.h b/core/multimedia/opieplayer/playlistselection.h index 6ce6bdc..22d3c74 100644 --- a/core/multimedia/opieplayer/playlistselection.h +++ b/core/multimedia/opieplayer/playlistselection.h | |||
@@ -1,47 +1,48 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | ** Copyright (C) 2000 Trolltech AS. All rights reserved. | 2 | ** Copyright (C) 2000-2002 Trolltech AS. All rights reserved. |
3 | ** | 3 | ** |
4 | ** This file is part of Qtopia Environment. | 4 | ** This file is part of the Qtopia Environment. |
5 | ** | 5 | ** |
6 | ** This file may be distributed and/or modified under the terms of the | 6 | ** This file may be distributed and/or modified under the terms of the |
7 | ** GNU General Public License version 2 as published by the Free Software | 7 | ** GNU General Public License version 2 as published by the Free Software |
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | 8 | ** Foundation and appearing in the file LICENSE.GPL included in the |
9 | ** packaging of this file. | 9 | ** packaging of this file. |
10 | ** | 10 | ** |
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
13 | ** | 13 | ** |
14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 14 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. |
15 | ** | 15 | ** |
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | ** Contact info@trolltech.com if any conditions of this licensing are |
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | #ifndef PLAY_LIST_SELECTION_H | 20 | #ifndef PLAY_LIST_SELECTION_H |
21 | #define PLAY_LIST_SELECTION_H | 21 | #define PLAY_LIST_SELECTION_H |
22 | 22 | ||
23 | 23 | ||
24 | |||
24 | #include <qlist.h> | 25 | #include <qlist.h> |
25 | #include <qlistview.h> | 26 | #include <qlistview.h> |
26 | #include <qpe/applnk.h> | 27 | #include <qpe/applnk.h> |
27 | 28 | ||
28 | 29 | ||
29 | class PlayListSelection : public QListView { | 30 | class PlayListSelection : public QListView { |
30 | Q_OBJECT | 31 | Q_OBJECT |
31 | public: | 32 | public: |
32 | PlayListSelection( QWidget *parent, const char *name=0 ); | 33 | PlayListSelection( QWidget *parent, const char *name=0 ); |
33 | ~PlayListSelection(); | 34 | ~PlayListSelection(); |
34 | 35 | ||
35 | const DocLnk *current(); // retrieve the current playlist entry (media file link) | 36 | const DocLnk *current(); // retrieve the current playlist entry (media file link) |
36 | 37 | ||
37 | public slots: | 38 | public slots: |
38 | void addToSelection( const DocLnk & ); // Add a media file to the playlist | 39 | void addToSelection( const DocLnk & ); // Add a media file to the playlist |
39 | void removeSelected(); // Remove a media file from the playlist | 40 | void removeSelected(); // Remove a media file from the playlist |
40 | void moveSelectedUp(); // Move the media file up the playlist so it is played earlier | 41 | void moveSelectedUp(); // Move the media file up the playlist so it is played earlier |
41 | void moveSelectedDown(); // Move the media file down the playlist so it is played later | 42 | void moveSelectedDown(); // Move the media file down the playlist so it is played later |
42 | bool prev(); | 43 | bool prev(); |
43 | bool next(); | 44 | bool next(); |
44 | bool first(); | 45 | bool first(); |
45 | bool last(); | 46 | bool last(); |
46 | 47 | ||
47 | protected: | 48 | protected: |