summaryrefslogtreecommitdiff
path: root/noncore/multimedia/opieplayer2/main.cpp
blob: 6283ae3aa518f4dc0bb5363b1d3afb9cfefc1958 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

#include "mediaplayer.h"



#include <opie2/oapplicationfactory.h>

using namespace Opie::Core;
OPIE_EXPORT_APP( OApplicationFactory<PlayListWidget> )

#if 0
using namespace Opie::Core;
int main(int argc, char **argv) {
    QPEApplication a(argc,argv);

    MediaPlayerState st( 0, "mediaPlayerState" );
    PlayListWidget pl( st, 0, "playList" );
    pl.showMaximized();
    MediaPlayer mp( pl, st, 0, "mediaPlayer" );
    QObject::connect( &pl, SIGNAL( skinSelected() ),
                      &mp, SLOT( reloadSkins() ) );

    a.showMainDocumentWidget(&pl);

    return a.exec();
}
#endif