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 | |
parent | 3c446259f59c03abe2a64b2eba9a65cb11a81a1b (diff) | |
download | opie-c85842bfd4b008eb6bd7527f0511f36dbf693ba5.zip opie-c85842bfd4b008eb6bd7527f0511f36dbf693ba5.tar.gz opie-c85842bfd4b008eb6bd7527f0511f36dbf693ba5.tar.bz2 |
Construct a OApplication instead of a QPEApplication
-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 @@ -10,33 +10,33 @@ ** ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. ** ** 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 #include <qtopia/qpeapplication.h> #undef private /* STD */ @@ -176,33 +176,33 @@ private: setproctitle(myargv[0]); prctl( PR_SET_NAME, (unsigned long)myargv[0], 0, 0, 0 ); #endif 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" ) { odebug << "QuickLauncher invoked as: " << arg0.data() << oendl; QuickLauncher::exec( argc, argv ); } else { #ifdef _OS_LINUX_ |