summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-write/main.cpp
Unidiff
Diffstat (limited to 'noncore/apps/opie-write/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-write/main.cpp37
1 files changed, 37 insertions, 0 deletions
diff --git a/noncore/apps/opie-write/main.cpp b/noncore/apps/opie-write/main.cpp
new file mode 100644
index 0000000..027af38
--- a/dev/null
+++ b/noncore/apps/opie-write/main.cpp
@@ -0,0 +1,37 @@
1/**********************************************************************
2** Copyright (C) 2000-2002 Trolltech AS. All rights reserved.
3**
4** This file is part of the Qtopia Environment.
5**
6** Licensees holding valid Qtopia Developer license may use this
7** file in accordance with the Qtopia Developer License Agreement
8** provided with the Software.
9**
10** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING
11** THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
12** PURPOSE.
13**
14** email sales@trolltech.com for information about Qtopia License
15** Agreements.
16**
17** Contact info@trolltech.com if any conditions of this licensing are
18** not clear to you.
19**
20**********************************************************************/
21
22#include <qpe/qpeapplication.h>
23#include <qpe/fileselector.h>
24#include "mainwindow.h"
25
26int main( int argc, char ** argv )
27{
28 QPEApplication a( argc, argv );
29
30 MainWindow e;
31 a.showMainDocumentWidget(&e);
32
33 QObject::connect( &a, SIGNAL( lastWindowClosed() ),
34 &a, SLOT( quit() ) );
35
36 a.exec();
37}