summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/tools/euroconv/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/tools/euroconv/main.cpp b/noncore/tools/euroconv/main.cpp
index d5f6c7f..dd4ff1d 100644
--- a/noncore/tools/euroconv/main.cpp
+++ b/noncore/tools/euroconv/main.cpp
@@ -1,39 +1,39 @@
1/**************************************************************************** 1/****************************************************************************
2 * 2 *
3using namespace Opie::Core;
4using namespace Opie::Core;
5 * File: main.cpp 3 * File: main.cpp
6 * 4 *
7 * Description: main file for OPIE Euroconv aapp 5 * Description: main file for OPIE Euroconv aapp
8 * 6 *
9 * 7 *
10 * Authors: Eric Santonacci <Eric.Santonacci@talc.fr> 8 * Authors: Eric Santonacci <Eric.Santonacci@talc.fr>
11 * 9 *
12 * Requirements: Qt 10 * Requirements: Qt
13 * 11 *
14 * 12 *
15 ***************************************************************************/ 13 ***************************************************************************/
16 14
17#include <qpe/qpeapplication.h> 15#include <qpe/qpeapplication.h>
18#include <qvbox.h> 16#include <qvbox.h>
19 17
20#include "calcdisplay.h" 18#include "calcdisplay.h"
21#include "calckeypad.h" 19#include "calckeypad.h"
22 20
23#include <opie2/oapplicationfactory.h> 21#include <opie2/oapplicationfactory.h>
24 22
25struct Layout : QVBox{ 23struct Layout : QVBox{
26 static QString appName() { return QString::fromLatin1("euroconv"); } 24 static QString appName() { return QString::fromLatin1("euroconv"); }
27 Layout(QWidget *p, const char* n, WFlags) 25 Layout(QWidget *p, const char* n, WFlags)
28 :QVBox(0,"fond" ) 26 :QVBox(0,"fond" )
29 { 27 {
30 LCDDisplay *lcd = new LCDDisplay(this, "lcd"); 28 LCDDisplay *lcd = new LCDDisplay(this, "lcd");
31 KeyPad *num = new KeyPad(lcd, this, "keypad"); 29 KeyPad *num = new KeyPad(lcd, this, "keypad");
32 30
33 setCaption( QObject::tr("Euroconv") ); 31 setCaption( QObject::tr("Euroconv") );
34 }; 32 };
35 33
36}; 34};
37 35
36using namespace Opie::Core;
37
38OPIE_EXPORT_APP( OApplicationFactory<Layout> ) 38OPIE_EXPORT_APP( OApplicationFactory<Layout> )
39 39