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.cpp12
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 @@
1/**************************************************************************** 1/****************************************************************************
2 * 2 *
3 * File: main.cpp 3 * File: main.cpp
4 * 4 *
5 * Description: main file for OPIE Euroconv aapp 5 * Description: main file for OPIE Euroconv aapp
6 * 6 *
7 * 7 *
8 * Authors: Eric Santonacci <Eric.Santonacci@talc.fr> 8 * Authors: Eric Santonacci <Eric.Santonacci@talc.fr>
9 * 9 *
10 * Requirements: Qt 10 * Requirements: Qt
11 * 11 *
12 * 12 *
13 ***************************************************************************/ 13 ***************************************************************************/
14 14
15#include <qpe/qpeapplication.h> 15#include <qpe/qpeapplication.h>
16#include <qvbox.h> 16#include <qvbox.h>
17 17
18#include "calcdisplay.h" 18#include "calcdisplay.h"
19#include "calckeypad.h" 19#include "calckeypad.h"
20 20
21#include <opie2/oapplicationfactory.h> 21#include <opie2/oapplicationfactory.h>
22 22
23struct Layout : QVBox{ 23struct Layout : QVBox{
24 static QString appName() { return QString::fromLatin1("euroconv"); } 24 static QString appName() { return QString::fromLatin1("euroconv"); }
25 Layout(QWidget *p, const char* n, WFlags) 25 Layout(QWidget *p, const char* n, WFlags)
26 :QVBox(0,"fond" ) 26 :QVBox(0,"fond" )
27 { 27 {
28 LCDDisplay *lcd = new LCDDisplay(this, "lcd"); 28 LCDDisplay *lcd = new LCDDisplay(this, "lcd");
29 KeyPad *num = new KeyPad(lcd, this, "keypad"); 29 (void)new KeyPad(lcd, this, "keypad");
30 30
31 setCaption( QObject::tr("Euroconv") ); 31 setCaption( QObject::tr("Euroconv") );
32 }; 32 };
33 33
34}; 34};
35 35
36using namespace Opie::Core; 36using namespace Opie::Core;
37 37
38OPIE_EXPORT_APP( OApplicationFactory<Layout> ) 38OPIE_EXPORT_APP( OApplicationFactory<Layout> )
39 39