-rw-r--r-- | noncore/multimedia/opieplayer2/opieplayer2.pro | 4 | ||||
-rw-r--r-- | noncore/multimedia/opieplayer2/playlistfileview.cpp | 14 | ||||
-rw-r--r-- | noncore/multimedia/opieplayer2/playlistfileview.h | 16 | ||||
-rw-r--r-- | noncore/multimedia/opieplayer2/playlistview.cpp | 14 | ||||
-rw-r--r-- | noncore/multimedia/opieplayer2/playlistview.h | 16 | ||||
-rw-r--r-- | noncore/multimedia/opieplayer2/playlistwidgetgui.cpp | 5 |
6 files changed, 65 insertions, 4 deletions
diff --git a/noncore/multimedia/opieplayer2/opieplayer2.pro b/noncore/multimedia/opieplayer2/opieplayer2.pro index dbc21b1..8d549b6 100644 --- a/noncore/multimedia/opieplayer2/opieplayer2.pro +++ b/noncore/multimedia/opieplayer2/opieplayer2.pro | |||
@@ -7,3 +7,3 @@ HEADERS = playlistselection.h mediaplayerstate.h xinecontrol.h \ | |||
7 | frame.h lib.h xinevideowidget.h volumecontrol.h playlistwidgetgui.h\ | 7 | frame.h lib.h xinevideowidget.h volumecontrol.h playlistwidgetgui.h\ |
8 | alphablend.h yuv2rgb.h threadutil.h mediawidget.h | 8 | alphablend.h yuv2rgb.h threadutil.h mediawidget.h playlistview.h playlistfileview.h |
9 | SOURCES = main.cpp \ | 9 | SOURCES = main.cpp \ |
@@ -14,3 +14,3 @@ SOURCES = main.cpp \ | |||
14 | alphablend.c yuv2rgb.c yuv2rgb_arm.c yuv2rgb_arm4l.S \ | 14 | alphablend.c yuv2rgb.c yuv2rgb_arm.c yuv2rgb_arm4l.S \ |
15 | threadutil.cpp mediawidget.cpp | 15 | threadutil.cpp mediawidget.cpp playlistview.cpp playlistfileview.cpp |
16 | TARGET = opieplayer2 | 16 | TARGET = opieplayer2 |
diff --git a/noncore/multimedia/opieplayer2/playlistfileview.cpp b/noncore/multimedia/opieplayer2/playlistfileview.cpp new file mode 100644 index 0000000..bdd38e0 --- a/dev/null +++ b/noncore/multimedia/opieplayer2/playlistfileview.cpp | |||
@@ -0,0 +1,14 @@ | |||
1 | |||
2 | #include "playlistfileview.h" | ||
3 | |||
4 | PlayListFileView::PlayListFileView( QWidget *parent, const char *name ) | ||
5 | : PlayListView( parent, name ) | ||
6 | { | ||
7 | } | ||
8 | |||
9 | PlayListFileView::~PlayListFileView() | ||
10 | { | ||
11 | } | ||
12 | |||
13 | /* vim: et sw=4 ts=4 | ||
14 | */ | ||
diff --git a/noncore/multimedia/opieplayer2/playlistfileview.h b/noncore/multimedia/opieplayer2/playlistfileview.h new file mode 100644 index 0000000..eef4bd1 --- a/dev/null +++ b/noncore/multimedia/opieplayer2/playlistfileview.h | |||
@@ -0,0 +1,16 @@ | |||
1 | #ifndef PLAYLISTFILEVIEW_H | ||
2 | #define PLAYLISTFILEVIEW_H | ||
3 | |||
4 | #include "playlistview.h" | ||
5 | |||
6 | class PlayListFileView : public PlayListView | ||
7 | { | ||
8 | Q_OBJECT | ||
9 | public: | ||
10 | PlayListFileView( QWidget *parent, const char *name = 0 ); | ||
11 | virtual ~PlayListFileView(); | ||
12 | }; | ||
13 | |||
14 | #endif // PLAYLISTFILEVIEW_H | ||
15 | /* vim: et sw=4 ts=4 | ||
16 | */ | ||
diff --git a/noncore/multimedia/opieplayer2/playlistview.cpp b/noncore/multimedia/opieplayer2/playlistview.cpp new file mode 100644 index 0000000..ebe1492 --- a/dev/null +++ b/noncore/multimedia/opieplayer2/playlistview.cpp | |||
@@ -0,0 +1,14 @@ | |||
1 | |||
2 | #include "playlistview.h" | ||
3 | |||
4 | PlayListView::PlayListView( QWidget *parent, const char *name ) | ||
5 | : QListView( parent, name ) | ||
6 | { | ||
7 | } | ||
8 | |||
9 | PlayListView::~PlayListView() | ||
10 | { | ||
11 | } | ||
12 | |||
13 | /* vim: et sw=4 ts=4 | ||
14 | */ | ||
diff --git a/noncore/multimedia/opieplayer2/playlistview.h b/noncore/multimedia/opieplayer2/playlistview.h new file mode 100644 index 0000000..f1abb07 --- a/dev/null +++ b/noncore/multimedia/opieplayer2/playlistview.h | |||
@@ -0,0 +1,16 @@ | |||
1 | #ifndef PLAYLISTVIEW_H | ||
2 | #define PLAYLISTVIEW_H | ||
3 | |||
4 | #include <qlistview.h> | ||
5 | |||
6 | class PlayListView : public QListView | ||
7 | { | ||
8 | Q_OBJECT | ||
9 | public: | ||
10 | PlayListView( QWidget *parent, const char *name ); | ||
11 | virtual ~PlayListView(); | ||
12 | }; | ||
13 | |||
14 | #endif // PLAYLISTVIEW_H | ||
15 | /* vim: et sw=4 ts=4 | ||
16 | */ | ||
diff --git a/noncore/multimedia/opieplayer2/playlistwidgetgui.cpp b/noncore/multimedia/opieplayer2/playlistwidgetgui.cpp index f47ddcc..de7b6d5 100644 --- a/noncore/multimedia/opieplayer2/playlistwidgetgui.cpp +++ b/noncore/multimedia/opieplayer2/playlistwidgetgui.cpp | |||
@@ -53,2 +53,3 @@ | |||
53 | #include "inputDialog.h" | 53 | #include "inputDialog.h" |
54 | #include "playlistfileview.h" | ||
54 | 55 | ||
@@ -151,3 +152,3 @@ PlayListWidgetGui::PlayListWidgetGui( MediaPlayerState &_mediaPlayerState, QWidg | |||
151 | Alayout->setMargin( 2 ); | 152 | Alayout->setMargin( 2 ); |
152 | audioView = new QListView( aTab, "Audioview" ); | 153 | audioView = new PlayListFileView( aTab, "Audioview" ); |
153 | audioView->addColumn( tr( "Title" ), 140 ); | 154 | audioView->addColumn( tr( "Title" ), 140 ); |
@@ -173,3 +174,3 @@ PlayListWidgetGui::PlayListWidgetGui( MediaPlayerState &_mediaPlayerState, QWidg | |||
173 | Vlayout->setMargin( 2 ); | 174 | Vlayout->setMargin( 2 ); |
174 | videoView = new QListView( vTab, "Videoview" ); | 175 | videoView = new PlayListFileView( vTab, "Videoview" ); |
175 | videoView->addColumn( tr( "Title" ), 140); | 176 | videoView->addColumn( tr( "Title" ), 140); |