summaryrefslogtreecommitdiff
authorzecke <zecke>2004-03-14 20:16:17 (UTC)
committer zecke <zecke>2004-03-14 20:16:17 (UTC)
commit18dc118b49dbfb2c4d986538002a1c8f771b33ed (patch) (unidiff)
tree24f65dab4b125f1bb5e95693010f045410b22331
parent5064995ccd7a57edd2e41a2908b6402ff25995c4 (diff)
downloadopie-18dc118b49dbfb2c4d986538002a1c8f771b33ed.zip
opie-18dc118b49dbfb2c4d986538002a1c8f771b33ed.tar.gz
opie-18dc118b49dbfb2c4d986538002a1c8f771b33ed.tar.bz2
compile fix
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,16 +1,14 @@
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
@@ -26,14 +24,16 @@ struct 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