summaryrefslogtreecommitdiff
path: root/noncore/tools/euroconv/main.cpp
Unidiff
Diffstat (limited to 'noncore/tools/euroconv/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/tools/euroconv/main.cpp39
1 files changed, 39 insertions, 0 deletions
diff --git a/noncore/tools/euroconv/main.cpp b/noncore/tools/euroconv/main.cpp
new file mode 100644
index 0000000..2d97f4e
--- a/dev/null
+++ b/noncore/tools/euroconv/main.cpp
@@ -0,0 +1,39 @@
1/****************************************************************************
2 *
3 * File: main.cpp
4 *
5 * Description: main file for OPIE Euroconv aapp
6 *
7 *
8 * Authors: Eric Santonacci <Eric.Santonacci@talc.fr>
9 *
10 * Requirements: Qt
11 *
12 * $Id$
13 *
14 ***************************************************************************/
15
16#include <qpe/qpeapplication.h>
17#include <qvbox.h>
18//#include <qapplication.h>
19
20#include "calcdisplay.h"
21#include "calckeypad.h"
22
23
24
25int main( int argc, char **argv ) {
26
27 QPEApplication app( argc, argv );
28
29 QVBox *layout = new QVBox(0, "fond");
30
31 LCDDisplay lcd (layout, "lcd");
32 KeyPad num(&lcd, layout, "keypad");
33 app.setMainWidget(layout);
34 layout->setCaption("Euroconv");
35 layout->showMaximized ();
36 layout->show();
37 return app.exec();
38}
39