Diffstat (limited to 'core/apps/embeddedkonsole/playlistselection.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/apps/embeddedkonsole/playlistselection.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/apps/embeddedkonsole/playlistselection.h b/core/apps/embeddedkonsole/playlistselection.h index c307f14..f340124 100644 --- a/core/apps/embeddedkonsole/playlistselection.h +++ b/core/apps/embeddedkonsole/playlistselection.h | |||
@@ -7,49 +7,49 @@ | |||
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 | #include <qlist.h> | 24 | #include <qlist.h> |
25 | #include <qlistview.h> | 25 | #include <qlistview.h> |
26 | #include <qpe/applnk.h> | 26 | #include <qpe/applnk.h> |
27 | 27 | ||
28 | class PlayListSelectionItem : public QListViewItem { | 28 | class PlayListSelectionItem : public QListViewItem { |
29 | public: | 29 | public: |
30 | PlayListSelectionItem( QListView *parent, QString *f ) : QListViewItem( parent ), fl( f ) { | 30 | PlayListSelectionItem( QListView *parent, QString *f ) : QListViewItem( parent ), fl( f ) { |
31 | setText(0, *f ); | 31 | setText(0, *f ); |
32 | } | 32 | } |
33 | 33 | ||
34 | ~PlayListSelectionItem() { | 34 | ~PlayListSelectionItem() { |
35 | }; | 35 | }; |
36 | 36 | ||
37 | const QString *file() const { return fl; } | 37 | const QString *file() const { return fl; } |
38 | 38 | ||
39 | private: | 39 | private: |
40 | const QString *fl; | 40 | const QString *fl; |
41 | }; | 41 | }; |
42 | 42 | ||
43 | class PlayListSelection : public QListView { | 43 | class PlayListSelection : public QListView { |
44 | Q_OBJECT | 44 | Q_OBJECT |
45 | public: | 45 | public: |
46 | PlayListSelection( QWidget *parent, const char *name=0 ); | 46 | PlayListSelection( QWidget *parent, const char *name=0 ); |
47 | ~PlayListSelection(); | 47 | ~PlayListSelection(); |
48 | 48 | ||
49 | const QString *current(); // retrieve the current playlist entry (media file link) | 49 | const QString *current(); // retrieve the current playlist entry (media file link) |
50 | 50 | ||
51 | public slots: | 51 | public slots: |
52 | void addToSelection( QListViewItem * ); // Add a media file to the playlist | 52 | void addToSelection( QListViewItem * ); // Add a media file to the playlist |
53 | void addStringToSelection ( const QString &); | 53 | void addStringToSelection ( const QString &); |
54 | void removeSelected(); // Remove a media file from the playlist | 54 | void removeSelected(); // Remove a media file from the playlist |
55 | void moveSelectedUp(); // Move the media file up the playlist so it is played earlier | 55 | void moveSelectedUp(); // Move the media file up the playlist so it is played earlier |