Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

main.cpp

Go to the documentation of this file.
00001 /****************************************************************************
00002  *
00003  * File:        main.cpp
00004  *
00005  * Description: main file for OPIE Euroconv aapp
00006  *
00007  *
00008  * Authors:     Eric Santonacci <Eric.Santonacci@talc.fr>
00009  *
00010  * Requirements:    Qt
00011  *
00012  *
00013  ***************************************************************************/
00014 
00015 #include <qpe/qpeapplication.h>
00016 #include <qvbox.h>
00017 
00018 #include "calcdisplay.h"
00019 #include "calckeypad.h"
00020 
00021 #include <opie2/oapplicationfactory.h>
00022 
00023 struct Layout : QVBox{
00024     static QString appName() { return QString::fromLatin1("euroconv"); }
00025     Layout(QWidget *p, const char* n, WFlags)
00026         :QVBox(0,"fond" )
00027     {
00028         LCDDisplay *lcd = new LCDDisplay(this, "lcd");
00029         (void)new KeyPad(lcd, this, "keypad");
00030 
00031         setCaption( QObject::tr("Euroconv") );
00032     };
00033 
00034 };
00035 
00036 using namespace Opie::Core;
00037 
00038 OPIE_EXPORT_APP( OApplicationFactory<Layout> )
00039 

Generated on Sat Nov 5 16:15:25 2005 for OPIE by  doxygen 1.4.2