summaryrefslogtreecommitdiff
path: root/core/pim/today/main.cpp
authorharlekin <harlekin>2003-12-05 11:20:37 (UTC)
committer harlekin <harlekin>2003-12-05 11:20:37 (UTC)
commit2b37759fc317b5efd9b371210b16117f7d346455 (patch) (side-by-side diff)
treef99beb5ff1c886f9b41a2d3a34300f8f121cf738 /core/pim/today/main.cpp
parent1ef5137234e2b7cd0be2a220a86d848503196269 (diff)
downloadopie-2b37759fc317b5efd9b371210b16117f7d346455.zip
opie-2b37759fc317b5efd9b371210b16117f7d346455.tar.gz
opie-2b37759fc317b5efd9b371210b16117f7d346455.tar.bz2
today in HEAD up to date
Diffstat (limited to 'core/pim/today/main.cpp') (more/less context) (show whitespace changes)
-rw-r--r--core/pim/today/main.cpp16
1 files changed, 2 insertions, 14 deletions
diff --git a/core/pim/today/main.cpp b/core/pim/today/main.cpp
index 72c0a2e..156cd0f 100644
--- a/core/pim/today/main.cpp
+++ b/core/pim/today/main.cpp
@@ -16,21 +16,9 @@
* (at your option) any later version. *
* *
***************************************************************************/
#include "today.h"
#include <qpe/qpeapplication.h>
+#include <opie/oapplicationfactory.h>
-QPEApplication *todayApp;
-
-int main( int argc, char ** argv )
-{
- QPEApplication a(argc, argv);
- todayApp=&a;
-
- Today t;
-
- t.setCaption( Today::tr("Today") );
- a.showMainWidget(&t);
-
- return a.exec();
-}
+OPIE_EXPORT_APP( OApplicationFactory<Today> )