00001
00002 #include "mediaplayer.h"
00003
00004
00005
00006 #include <opie2/oapplicationfactory.h>
00007
00008 using namespace Opie::Core;
00009 OPIE_EXPORT_APP( OApplicationFactory<PlayListWidget> )
00010
00011 #if 0
00012 using namespace Opie::Core;
00013 int main(int argc, char **argv) {
00014 QPEApplication a(argc,argv);
00015
00016 MediaPlayerState st( 0, "mediaPlayerState" );
00017 PlayListWidget pl( st, 0, "playList" );
00018 pl.showMaximized();
00019 MediaPlayer mp( pl, st, 0, "mediaPlayer" );
00020 QObject::connect( &pl, SIGNAL( skinSelected() ),
00021 &mp, SLOT( reloadSkins() ) );
00022
00023 a.showMainDocumentWidget(&pl);
00024
00025 return a.exec();
00026 }
00027 #endif
00028