author | groucho <groucho> | 2003-02-15 11:45:26 (UTC) |
---|---|---|
committer | groucho <groucho> | 2003-02-15 11:45:26 (UTC) |
commit | b50692ba650418aa06cbd2662b4ff698c7d3f961 (patch) (unidiff) | |
tree | 433cba343b22bfa15e246c302553d976975b08dd /noncore/tools/euroconv/main.cpp | |
parent | e8f0c623ff6a8822b84b9cc4ee3c1fb3b3016738 (diff) | |
download | opie-b50692ba650418aa06cbd2662b4ff698c7d3f961.zip opie-b50692ba650418aa06cbd2662b4ff698c7d3f961.tar.gz opie-b50692ba650418aa06cbd2662b4ff698c7d3f961.tar.bz2 |
Forgot to add the sources :-}
Diffstat (limited to 'noncore/tools/euroconv/main.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/tools/euroconv/main.cpp | 39 |
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 | |||
25 | int 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 | |||