From 1c32fa9ffa9dda6b5726871bba948c0d2be3c7c8 Mon Sep 17 00:00:00 2001 From: zecke Date: Sun, 14 Mar 2004 18:23:16 +0000 Subject: QuickLauncher links now against opie2 --- (limited to 'core/tools') diff --git a/core/tools/quicklauncher/config.in b/core/tools/quicklauncher/config.in index c105e94..eacbcf6 100644 --- a/core/tools/quicklauncher/config.in +++ b/core/tools/quicklauncher/config.in @@ -1,4 +1,4 @@ config QUICKLAUNCHER boolean "The Quick Launcher Loader" default "y" - depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIE + depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIEUI2 && LIBOPIECORE2 diff --git a/core/tools/quicklauncher/dropins.h b/core/tools/quicklauncher/dropins.h index 3e2b5fd..7acace9 100644 --- a/core/tools/quicklauncher/dropins.h +++ b/core/tools/quicklauncher/dropins.h @@ -5,12 +5,12 @@ #include #include -#include +#include #include #include -namespace Opie { +namespace QuickPrivate { struct PluginLoader { PluginLoader( const char* ) { @@ -66,5 +66,3 @@ namespace Opie { } -/* small hack ;) */ -using namespace Opie; diff --git a/core/tools/quicklauncher/main.cpp b/core/tools/quicklauncher/main.cpp index 1d6774c..f3055cc 100644 --- a/core/tools/quicklauncher/main.cpp +++ b/core/tools/quicklauncher/main.cpp @@ -39,6 +39,8 @@ #include "dropins.h" +using QuickPrivate::PluginLoader; + static QPEApplication *app = 0; static PluginLoader *loader = 0; static ApplicationInterface *appIface = 0; @@ -52,6 +54,7 @@ extern char **environ; #define SPT_BUFSIZE 2048 #endif #include +using namespace Opie::Ui; void setproctitle (const char *fmt,...) { int i; char buf[SPT_BUFSIZE]; diff --git a/core/tools/quicklauncher/quicklauncher.pro b/core/tools/quicklauncher/quicklauncher.pro index 6ab5fc8..ae390e5 100644 --- a/core/tools/quicklauncher/quicklauncher.pro +++ b/core/tools/quicklauncher/quicklauncher.pro @@ -7,7 +7,7 @@ SOURCES = main.cpp INTERFACES = INCLUDEPATH += $(OPIEDIR)/include -LIBS += -lqpe -lopie +LIBS += -lqpe -lopiecore2 -lopieui2 TARGET = quicklauncher -- cgit v0.9.0.2