summaryrefslogtreecommitdiff
path: root/examples/simple-icon/simple.cpp
Unidiff
Diffstat (limited to 'examples/simple-icon/simple.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--examples/simple-icon/simple.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/simple-icon/simple.cpp b/examples/simple-icon/simple.cpp
index 054ade8..fec1823 100644
--- a/examples/simple-icon/simple.cpp
+++ b/examples/simple-icon/simple.cpp
@@ -3,13 +3,13 @@
3#include <qlayout.h> 3#include <qlayout.h>
4 4
5#include <qpe/qpeapplication.h> // the QPEApplication 5#include <qpe/qpeapplication.h> // the QPEApplication
6#include <qpe/resource.h> // for loading icon 6#include <qpe/resource.h> // for loading icon
7#include <qpe/sound.h> // for playing a sound 7#include <qpe/sound.h> // for playing a sound
8 8
9#include <opie/oapplicationfactory.h> // a template + macro to save the main method and allow quick launching 9#include <opie2/oapplicationfactory.h> // a template + macro to save the main method and allow quick launching
10 10
11#include "simple.h" 11#include "simple.h"
12 12
13/* 13/*
14 * implementation of simple 14 * implementation of simple
15 */ 15 */
@@ -18,13 +18,13 @@
18 * The factory is used for quicklaunching 18 * The factory is used for quicklaunching
19 * It needs a constructor ( c'tor ) with at least QWidget, const char* and WFlags as parameter and a static QString appName() matching the TARGET of the .pro 19 * It needs a constructor ( c'tor ) with at least QWidget, const char* and WFlags as parameter and a static QString appName() matching the TARGET of the .pro
20 * 20 *
21 * Depending on the global quick launch setting this will create 21 * Depending on the global quick launch setting this will create
22 * either a main method or one for our component plugin system 22 * either a main method or one for our component plugin system
23 */ 23 */
24 24using namespace Opie::Core;
25OPIE_EXPORT_APP( OApplicationFactory<Simple> ) 25OPIE_EXPORT_APP( OApplicationFactory<Simple> )
26 26
27Simple::Simple( QWidget* parent, const char* name, WFlags fl ) 27Simple::Simple( QWidget* parent, const char* name, WFlags fl )
28 : QWidget( parent, name, fl ) { 28 : QWidget( parent, name, fl ) {
29 29
30 /* 30 /*