author | groucho <groucho> | 2003-02-15 11:45:26 (UTC) |
---|---|---|
committer | groucho <groucho> | 2003-02-15 11:45:26 (UTC) |
commit | b50692ba650418aa06cbd2662b4ff698c7d3f961 (patch) (side-by-side diff) | |
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 @@ +/**************************************************************************** + * + * 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(); +} + |