summaryrefslogtreecommitdiff
Side-by-side diff
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,20 +1,18 @@
/****************************************************************************
*
-using namespace Opie::Core;
-using namespace Opie::Core;
* 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"
@@ -22,18 +20,20 @@ using namespace Opie::Core;
#include <opie2/oapplicationfactory.h>
struct Layout : QVBox{
static QString appName() { return QString::fromLatin1("euroconv"); }
Layout(QWidget *p, const char* n, WFlags)
:QVBox(0,"fond" )
{
LCDDisplay *lcd = new LCDDisplay(this, "lcd");
KeyPad *num = new KeyPad(lcd, this, "keypad");
setCaption( QObject::tr("Euroconv") );
};
};
+using namespace Opie::Core;
+
OPIE_EXPORT_APP( OApplicationFactory<Layout> )