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 54e9d16..5230b03 100644 --- a/noncore/multimedia/opieplayer2/playlistwidget.h +++ b/noncore/multimedia/opieplayer2/playlistwidget.h | |||
@@ -1,28 +1,28 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of the Opie Project | 2 | This file is part of the Opie Project |
3 | 3 | ||
4 | Copyright (c) 2002 Max Reiss <harlekin@handhelds.org> | 4 | Copyright (c) 2002,2003 Max Reiss <harlekin@handhelds.org> |
5 | Copyright (c) 2002 L. Potter <ljp@llornkcor.com> | 5 | Copyright (c) 2002 L. Potter <ljp@llornkcor.com> |
6 | Copyright (c) 2002 Holger Freyther <zecke@handhelds.org> | 6 | Copyright (c) 2002 Holger Freyther <zecke@handhelds.org> |
7 | =. | 7 | =. |
8 | .=l. | 8 | .=l. |
9 | .>+-= | 9 | .>+-= |
10 | _;:, .> :=|. This program is free software; you can | 10 | _;:, .> :=|. This program is free software; you can |
11 | .> <`_, > . <= redistribute it and/or modify it under | 11 | .> <`_, > . <= redistribute it and/or modify it under |
12 | :`=1 )Y*s>-.-- : the terms of the GNU General Public | 12 | :`=1 )Y*s>-.-- : the terms of the GNU General Public |
13 | .="- .-=="i, .._ License as published by the Free Software | 13 | .="- .-=="i, .._ License as published by the Free Software |
14 | - . .-<_> .<> Foundation; either version 2 of the License, | 14 | - . .-<_> .<> Foundation; either version 2 of the License, |
15 | ._= =} : or (at your option) any later version. | 15 | ._= =} : or (at your option) any later version. |
16 | .%`+i> _;_. | 16 | .%`+i> _;_. |
17 | .i_,=:_. -<s. This program is distributed in the hope that | 17 | .i_,=:_. -<s. This program is distributed in the hope that |
18 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | 18 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; |
19 | : .. .:, . . . without even the implied warranty of | 19 | : .. .:, . . . without even the implied warranty of |
20 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | 20 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A |
21 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU | 21 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU |
22 | ..}^=.= = ; General Public License for more | 22 | ..}^=.= = ; General Public License for more |
23 | ++= -. .` .: details. | 23 | ++= -. .` .: details. |
24 | : = ...= . :.=- | 24 | : = ...= . :.=- |
25 | -. .:....=;==+<; You should have received a copy of the GNU | 25 | -. .:....=;==+<; You should have received a copy of the GNU |
26 | -_. . . )=. = General Public License along with | 26 | -_. . . )=. = General Public License along with |
27 | -- :-=` this library; see the file COPYING.LIB. | 27 | -- :-=` this library; see the file COPYING.LIB. |
28 | If not, write to the Free Software Foundation, | 28 | If not, write to the Free Software Foundation, |
@@ -90,48 +90,49 @@ public slots: | |||
90 | protected: | 90 | protected: |
91 | QCopChannel * channel; | 91 | QCopChannel * channel; |
92 | void keyReleaseEvent( QKeyEvent *e); | 92 | void keyReleaseEvent( QKeyEvent *e); |
93 | 93 | ||
94 | signals: | 94 | signals: |
95 | void skinSelected(); | 95 | void skinSelected(); |
96 | 96 | ||
97 | private: | 97 | private: |
98 | int defaultSkinIndex; | 98 | int defaultSkinIndex; |
99 | /* void readm3u(const QString &); */ | 99 | /* void readm3u(const QString &); */ |
100 | /* void readPls(const QString &); */ | 100 | /* void readPls(const QString &); */ |
101 | void readListFromFile(const QString &); | 101 | void readListFromFile(const QString &); |
102 | void initializeStates(); | 102 | void initializeStates(); |
103 | 103 | ||
104 | bool inFileListMode() const; | 104 | bool inFileListMode() const; |
105 | 105 | ||
106 | private slots: | 106 | private slots: |
107 | void qcopReceive(const QCString&, const QByteArray&); | 107 | void qcopReceive(const QCString&, const QByteArray&); |
108 | void populateSkinsMenu(); | 108 | void populateSkinsMenu(); |
109 | void skinsMenuActivated(int); | 109 | void skinsMenuActivated(int); |
110 | void pmViewActivated(int); | 110 | void pmViewActivated(int); |
111 | void writem3u(); | 111 | void writem3u(); |
112 | void writeCurrentM3u(); | 112 | void writeCurrentM3u(); |
113 | void openFile(); | 113 | void openFile(); |
114 | void openURL(); | ||
114 | void setDocument( const QString& fileref ); | 115 | void setDocument( const QString& fileref ); |
115 | void addToSelection( const DocLnk& ); // Add a media file to the playlist | 116 | void addToSelection( const DocLnk& ); // Add a media file to the playlist |
116 | void addToSelection( QListViewItem* ); // Add a media file to the playlist | 117 | void addToSelection( QListViewItem* ); // Add a media file to the playlist |
117 | void clearList(); | 118 | void clearList(); |
118 | void addAllToList(); | 119 | void addAllToList(); |
119 | void addAllMusicToList(); | 120 | void addAllMusicToList(); |
120 | void addAllVideoToList(); | 121 | void addAllVideoToList(); |
121 | void saveList(); // Save the playlist | 122 | void saveList(); // Save the playlist |
122 | void loadList( const DocLnk &); // Load a playlist | 123 | void loadList( const DocLnk &); // Load a playlist |
123 | void playIt( QListViewItem *); | 124 | void playIt( QListViewItem *); |
124 | void btnPlay(bool); | 125 | void btnPlay(bool); |
125 | void deletePlaylist(); | 126 | void deletePlaylist(); |
126 | void addSelected(); | 127 | void addSelected(); |
127 | void removeSelected(); | 128 | void removeSelected(); |
128 | void tabChanged(QWidget*); | 129 | void tabChanged(QWidget*); |
129 | void viewPressed( int, QListViewItem *, const QPoint&, int); | 130 | void viewPressed( int, QListViewItem *, const QPoint&, int); |
130 | void playlistViewPressed( int, QListViewItem *, const QPoint&, int); | 131 | void playlistViewPressed( int, QListViewItem *, const QPoint&, int); |
131 | void playSelected(); | 132 | void playSelected(); |
132 | 133 | ||
133 | private: | 134 | private: |
134 | bool fromSetDocument; | 135 | bool fromSetDocument; |
135 | bool insanityBool; | 136 | bool insanityBool; |
136 | QString setDocFileRef, currentPlayList; | 137 | QString setDocFileRef, currentPlayList; |
137 | int selected; | 138 | int selected; |