Diffstat (limited to 'noncore/multimedia/opieplayer2/playlistwidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/playlistwidget.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/noncore/multimedia/opieplayer2/playlistwidget.h b/noncore/multimedia/opieplayer2/playlistwidget.h index 5230b03..fc305cd 100644 --- a/noncore/multimedia/opieplayer2/playlistwidget.h +++ b/noncore/multimedia/opieplayer2/playlistwidget.h | |||
@@ -13,60 +13,55 @@ | |||
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, |
29 | Inc., 59 Temple Place - Suite 330, | 29 | Inc., 59 Temple Place - Suite 330, |
30 | Boston, MA 02111-1307, USA. | 30 | Boston, MA 02111-1307, USA. |
31 | 31 | ||
32 | */ | 32 | */ |
33 | 33 | ||
34 | #ifndef PLAY_LIST_WIDGET_H | 34 | #ifndef PLAY_LIST_WIDGET_H |
35 | #define PLAY_LIST_WIDGET_H | 35 | #define PLAY_LIST_WIDGET_H |
36 | 36 | ||
37 | #include <qmainwindow.h> | 37 | |
38 | #include <qpe/applnk.h> | ||
39 | #include <qtabwidget.h> | ||
40 | #include <qpe/fileselector.h> | ||
41 | #include <qpushbutton.h> | 38 | #include <qpushbutton.h> |
42 | #include <qpopupmenu.h> | 39 | #include <qpopupmenu.h> |
43 | #include <qpe/qcopenvelope_qws.h> | 40 | #include <qpe/qcopenvelope_qws.h> |
44 | 41 | ||
45 | #include "playlistwidgetgui.h" | 42 | #include "playlistwidgetgui.h" |
46 | 43 | ||
47 | |||
48 | //class PlayListWidgetPrivate; | ||
49 | class Config; | 44 | class Config; |
50 | class QListViewItem; | 45 | class QListViewItem; |
51 | class QListView; | 46 | class QListView; |
52 | class QPoint; | 47 | class QPoint; |
53 | class QAction; | 48 | class QAction; |
54 | class QLabel; | 49 | class QLabel; |
55 | 50 | ||
56 | class PlayListWidget : public PlayListWidgetGui { | 51 | class PlayListWidget : public PlayListWidgetGui { |
57 | Q_OBJECT | 52 | Q_OBJECT |
58 | public: | 53 | public: |
59 | enum TabType { CurrentPlayList, AudioFiles, VideoFiles, PlayLists }; | 54 | enum TabType { CurrentPlayList, AudioFiles, VideoFiles, PlayLists }; |
60 | enum { TabTypeCount = 4 }; | 55 | enum { TabTypeCount = 4 }; |
61 | 56 | ||
62 | struct Entry | 57 | struct Entry |
63 | { | 58 | { |
64 | Entry( const QString &_name, const QString &_fileName ) | 59 | Entry( const QString &_name, const QString &_fileName ) |
65 | : name( _name ), file( _fileName ) {} | 60 | : name( _name ), file( _fileName ) {} |
66 | Entry( const QString &_fileName ) | 61 | Entry( const QString &_fileName ) |
67 | : name( _fileName ), file( _fileName ) {} | 62 | : name( _fileName ), file( _fileName ) {} |
68 | 63 | ||
69 | QString name; | 64 | QString name; |
70 | QString file; | 65 | QString file; |
71 | }; | 66 | }; |
72 | 67 | ||