Diffstat (limited to 'noncore/tools/euroconv/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/tools/euroconv/main.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/noncore/tools/euroconv/main.cpp b/noncore/tools/euroconv/main.cpp index dd4ff1d..8b417fe 100644 --- a/noncore/tools/euroconv/main.cpp +++ b/noncore/tools/euroconv/main.cpp @@ -1,39 +1,39 @@ /**************************************************************************** * * File: main.cpp * * Description: main file for OPIE Euroconv aapp - * - * + * + * * Authors: Eric Santonacci <Eric.Santonacci@talc.fr> * * Requirements: Qt * * ***************************************************************************/ #include <qpe/qpeapplication.h> #include <qvbox.h> #include "calcdisplay.h" #include "calckeypad.h" #include <opie2/oapplicationfactory.h> struct Layout : QVBox{ static QString appName() { return QString::fromLatin1("euroconv"); } - Layout(QWidget *p, const char* n, WFlags) + Layout(QWidget *p, const char* n, WFlags) :QVBox(0,"fond" ) { LCDDisplay *lcd = new LCDDisplay(this, "lcd"); - KeyPad *num = new KeyPad(lcd, this, "keypad"); - + (void)new KeyPad(lcd, this, "keypad"); + setCaption( QObject::tr("Euroconv") ); }; - + }; using namespace Opie::Core; OPIE_EXPORT_APP( OApplicationFactory<Layout> ) |