summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-reader/main.cpp
blob: e37f12ce905dd11a0a8ecac7986051d223fda302 (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
29
30
31
32
33
34
35
36
37
38
#include <qpe/qpeapplication.h>
//#include <qmainwindow.h>
#include "QTReaderApp.h"





/*
class myapp : public QPEApplication
{
 public slots:
    void receive( const QCString& msg, const QByteArray& data )
    {

        QDataStream stream( data, IO_ReadOnly );
        if ( msg == "someMessage(int,int,int)" ) {
            int a,b,c;
            stream >> a >> b >> c;
            ...
        } else if ( msg == "otherMessage(QString)" ) {
            ...
        }

    }
}
*/

int main( int argc, char ** argv )
{
    QPEApplication a( argc, argv );

    QTReaderApp m;
    a.showMainDocumentWidget( &m );

    return a.exec();
}