summaryrefslogtreecommitdiff
path: root/examples/simple
Side-by-side diff
Diffstat (limited to 'examples/simple') (more/less context) (ignore whitespace changes)
-rw-r--r--examples/simple/simple.cpp4
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
@@ -4,7 +4,7 @@
#include <qpe/qpeapplication.h> // the QPEApplication
-#include <opie/oapplicationfactory.h> // a template + macro to save the main method and allow quick launching
+#include <opie2/oapplicationfactory.h> // a template + macro to save the main method and allow quick launching
#include "simple.h"
@@ -20,6 +20,8 @@
* either a main method or one for our component plugin system
*/
+/* The OApplicationFactory is in Opie::Core */
+using namespace Opie::Core;
OPIE_EXPORT_APP( OApplicationFactory<Simple> )
Simple::Simple( QWidget* parent, const char* name, WFlags fl )