author | zecke <zecke> | 2004-11-03 22:46:40 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-11-03 22:46:40 (UTC) |
commit | c85842bfd4b008eb6bd7527f0511f36dbf693ba5 (patch) (side-by-side diff) | |
tree | ad58890264a783108700f019a69f9e672f856780 /core/tools/quicklauncher/main.cpp | |
parent | 3c446259f59c03abe2a64b2eba9a65cb11a81a1b (diff) | |
download | opie-c85842bfd4b008eb6bd7527f0511f36dbf693ba5.zip opie-c85842bfd4b008eb6bd7527f0511f36dbf693ba5.tar.gz opie-c85842bfd4b008eb6bd7527f0511f36dbf693ba5.tar.bz2 |
Construct a OApplication instead of a QPEApplication
Diffstat (limited to 'core/tools/quicklauncher/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/tools/quicklauncher/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/tools/quicklauncher/main.cpp b/core/tools/quicklauncher/main.cpp index 286aed2..5f0d80b 100644 --- a/core/tools/quicklauncher/main.cpp +++ b/core/tools/quicklauncher/main.cpp @@ -14,25 +14,25 @@ ** See http://www.trolltech.com/gpl/ for GPL licensing information. ** ** Contact info@trolltech.com if any conditions of this licensing are ** not clear to you. ** **********************************************************************/ #define QTOPIA_INTERNAL_INITAPP #include "dropins.h" /* OPIE */ #include <opie2/odebug.h> -using namespace Opie::Core; +#include <opie2/oapplication.h> /* QT */ #include <qpainter.h> #include <qstrlist.h> #include <qtimer.h> #include <qguardedptr.h> #include <qcopchannel_qws.h> #ifdef private # undef private #endif #define private public @@ -180,25 +180,25 @@ private: connect(app, SIGNAL(lastWindowClosed()), app, SLOT(hideOrQuit())); app->exit_loop(); app->initApp( myargc, myargv ); exec( myargc, myargv ); } private: QCopChannel *qlChannel; }; int main( int argc, char** argv ) { - app = new QPEApplication( argc, argv ); + app = new Opie::Core::OApplication( argc, argv ); loader = new PluginLoader( "application" ); unsetenv( "LD_BIND_NOW" ); QCString arg0 = argv[0]; int sep = arg0.findRev( '/' ); if ( sep > 0 ) arg0 = arg0.mid( sep+1 ); if ( arg0 != "quicklauncher" ) { |