summaryrefslogtreecommitdiff
path: root/noncore/tools/euroconv/main.cpp
Side-by-side diff
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 @@
+/****************************************************************************
+ *
+ * File: main.cpp
+ *
+ * Description: main file for OPIE Euroconv aapp
+ *
+ *
+ * Authors: Eric Santonacci <Eric.Santonacci@talc.fr>
+ *
+ * Requirements: Qt
+ *
+ * $Id$
+ *
+ ***************************************************************************/
+
+#include <qpe/qpeapplication.h>
+#include <qvbox.h>
+//#include <qapplication.h>
+
+#include "calcdisplay.h"
+#include "calckeypad.h"
+
+
+
+int main( int argc, char **argv ) {
+
+ QPEApplication app( argc, argv );
+
+ QVBox *layout = new QVBox(0, "fond");
+
+ LCDDisplay lcd (layout, "lcd");
+ KeyPad num(&lcd, layout, "keypad");
+ app.setMainWidget(layout);
+ layout->setCaption("Euroconv");
+ layout->showMaximized ();
+ layout->show();
+ return app.exec();
+}
+