From 59222a752fa4c8a1e8c2a00ee2f9e22855f12bb2 Mon Sep 17 00:00:00 2001 From: llornkcor Date: Mon, 01 Jul 2002 23:24:08 +0000 Subject: initial --- (limited to 'noncore/apps/opie-reader/main.cpp') diff --git a/noncore/apps/opie-reader/main.cpp b/noncore/apps/opie-reader/main.cpp new file mode 100644 index 0000000..e37f12c --- a/dev/null +++ b/noncore/apps/opie-reader/main.cpp @@ -0,0 +1,38 @@ +#include +//#include +#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(); +} + -- cgit v0.9.0.2