summaryrefslogtreecommitdiff
path: root/noncore/multimedia/opieplayer2/main.cpp
blob: 00f72d1f9770166038eb55eb08e7febba8755cb4 (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

#include "mediaplayer.h"



#include <opie/oapplicationfactory.h>

OPIE_EXPORT_APP( OApplicationFactory<PlayListWidget> )

#if 0
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