author | bipolar <bipolar> | 2002-03-03 17:13:17 (UTC) |
---|---|---|
committer | bipolar <bipolar> | 2002-03-03 17:13:17 (UTC) |
commit | a99347380a9006ec81a9dba2340d6aaab690a86e (patch) (unidiff) | |
tree | 73fdc2eff476fba2113172ed881dd64a4031def6 /core/multimedia/opieplayer/main.cpp | |
parent | 0e245156b28b70be5cd98a58a9256fe5e2739562 (diff) | |
download | opie-a99347380a9006ec81a9dba2340d6aaab690a86e.zip opie-a99347380a9006ec81a9dba2340d6aaab690a86e.tar.gz opie-a99347380a9006ec81a9dba2340d6aaab690a86e.tar.bz2 |
commited by ljp (llornkcor) reverted to qpe's interface for compatibility. Added playlist features:
save, remove, and have different ones. Uncommented code for background image and added opielogo.
Diffstat (limited to 'core/multimedia/opieplayer/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/multimedia/opieplayer/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/multimedia/opieplayer/main.cpp b/core/multimedia/opieplayer/main.cpp index 720a1ca..4f43ff6 100644 --- a/core/multimedia/opieplayer/main.cpp +++ b/core/multimedia/opieplayer/main.cpp | |||
@@ -26,31 +26,31 @@ | |||
26 | #include "mediaplayer.h" | 26 | #include "mediaplayer.h" |
27 | 27 | ||
28 | MediaPlayerState *mediaPlayerState; | 28 | MediaPlayerState *mediaPlayerState; |
29 | PlayListWidget *playList; | 29 | PlayListWidget *playList; |
30 | AudioWidget *audioUI; | 30 | AudioWidget *audioUI; |
31 | VideoWidget *videoUI; | 31 | VideoWidget *videoUI; |
32 | LoopControl *loopControl; | 32 | LoopControl *loopControl; |
33 | 33 | ||
34 | 34 | ||
35 | int main(int argc, char **argv) { | 35 | int main(int argc, char **argv) { |
36 | QPEApplication a(argc,argv); | 36 | QPEApplication a(argc,argv); |
37 | 37 | ||
38 | MediaPlayerState st( 0, "mediaPlayerState" ); | 38 | MediaPlayerState st( 0, "mediaPlayerState" ); |
39 | mediaPlayerState = &st; | 39 | mediaPlayerState = &st; |
40 | PlayListWidget pl( 0, "playList" ); | 40 | PlayListWidget pl( 0, "playList" ); |
41 | playList = &pl; | 41 | playList = &pl; |
42 | AudioWidget aw( 0, "audioUI" ); | 42 | AudioWidget aw( 0, "audioUI" ); |
43 | audioUI = &aw; | 43 | audioUI = &aw; |
44 | VideoWidget vw( 0, "videoUI" ); | 44 | VideoWidget vw( 0, "videoUI" ); |
45 | videoUI = &vw; | 45 | videoUI = &vw; |
46 | LoopControl lc( 0, "loopControl" ); | 46 | LoopControl lc( 0, "loopControl" ); |
47 | loopControl = &lc; | 47 | loopControl = &lc; |
48 | MediaPlayer mp( 0, "mediaPlayer" ); | 48 | MediaPlayer mp( 0, "mediaPlayer" ); |
49 | 49 | ||
50 | pl.setCaption( MediaPlayer::tr("Media Player") ); | 50 | pl.setCaption( MediaPlayer::tr("OpiePlayer") ); |
51 | a.showMainDocumentWidget(&pl); | 51 | a.showMainDocumentWidget(&pl); |
52 | 52 | ||
53 | return a.exec(); | 53 | return a.exec(); |
54 | } | 54 | } |
55 | 55 | ||
56 | 56 | ||