-rw-r--r-- | examples/simple/simple.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/simple/simple.cpp b/examples/simple/simple.cpp index a0bc308..faf13c9 100644 --- a/examples/simple/simple.cpp +++ b/examples/simple/simple.cpp | |||
@@ -3,9 +3,9 @@ | |||
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 | 6 | ||
7 | #include <opie/oapplicationfactory.h> // a template + macro to save the main method and allow quick launching | 7 | #include <opie2/oapplicationfactory.h> // a template + macro to save the main method and allow quick launching |
8 | 8 | ||
9 | #include "simple.h" | 9 | #include "simple.h" |
10 | 10 | ||
11 | /* | 11 | /* |
@@ -19,8 +19,10 @@ | |||
19 | * Depending on the global quick launch setting this will create | 19 | * Depending on the global quick launch setting this will create |
20 | * either a main method or one for our component plugin system | 20 | * either a main method or one for our component plugin system |
21 | */ | 21 | */ |
22 | 22 | ||
23 | /* The OApplicationFactory is in Opie::Core */ | ||
24 | using namespace Opie::Core; | ||
23 | OPIE_EXPORT_APP( OApplicationFactory<Simple> ) | 25 | OPIE_EXPORT_APP( OApplicationFactory<Simple> ) |
24 | 26 | ||
25 | Simple::Simple( QWidget* parent, const char* name, WFlags fl ) | 27 | Simple::Simple( QWidget* parent, const char* name, WFlags fl ) |
26 | : QWidget( parent, name, fl ) { | 28 | : QWidget( parent, name, fl ) { |