author | zecke <zecke> | 2004-03-14 20:16:17 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-03-14 20:16:17 (UTC) |
commit | 18dc118b49dbfb2c4d986538002a1c8f771b33ed (patch) (unidiff) | |
tree | 24f65dab4b125f1bb5e95693010f045410b22331 /noncore/tools/euroconv/main.cpp | |
parent | 5064995ccd7a57edd2e41a2908b6402ff25995c4 (diff) | |
download | opie-18dc118b49dbfb2c4d986538002a1c8f771b33ed.zip opie-18dc118b49dbfb2c4d986538002a1c8f771b33ed.tar.gz opie-18dc118b49dbfb2c4d986538002a1c8f771b33ed.tar.bz2 |
compile fix
Diffstat (limited to 'noncore/tools/euroconv/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/tools/euroconv/main.cpp | 4 |
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 | * |
3 | using namespace Opie::Core; | ||
4 | using 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 | ||
25 | struct Layout : QVBox{ | 23 | 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 | ||
36 | using namespace Opie::Core; | ||
37 | |||
38 | OPIE_EXPORT_APP( OApplicationFactory<Layout> ) | 38 | OPIE_EXPORT_APP( OApplicationFactory<Layout> ) |
39 | 39 | ||