-rw-r--r-- | core/applets/clockapplet/clock.cpp | 6 | ||||
-rw-r--r-- | core/applets/clockapplet/clockapplet.pro | 2 | ||||
-rw-r--r-- | core/applets/clockapplet/config.in | 2 | ||||
-rw-r--r-- | core/applets/clockapplet/opie-clockapplet.control | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/core/applets/clockapplet/clock.cpp b/core/applets/clockapplet/clock.cpp index d7d326d..ba8eb15 100644 --- a/core/applets/clockapplet/clock.cpp +++ b/core/applets/clockapplet/clock.cpp @@ -27,2 +27,3 @@ #include <opie2/odebug.h> +#include <opie2/oresource.h> #include <opie2/otaskbarapplet.h> @@ -32,3 +33,2 @@ #include <qpe/config.h> -#include <qpe/resource.h> @@ -77,4 +77,4 @@ void LauncherClock::mousePressEvent( QMouseEvent * ) bool alarmOn = config.readBoolEntry("Enabled", FALSE); - menu->insertItem(Resource::loadIconSet(alarmOn?"clockapplet/smallalarm":"clockapplet/smallalarm_off" ), - tr("Alarm..."), 2); + menu->insertItem( Opie::Core::OResource::loadPixmap( alarmOn ? "clockapplet/smallalarm" : "clockapplet/smallalarm_off", + Opie::Core::OResource::SmallIcon ), tr("Alarm..."), 2 ); diff --git a/core/applets/clockapplet/clockapplet.pro b/core/applets/clockapplet/clockapplet.pro index 910f44b..b227b77 100644 --- a/core/applets/clockapplet/clockapplet.pro +++ b/core/applets/clockapplet/clockapplet.pro @@ -8,3 +8,3 @@ INCLUDEPATH += $(OPIEDIR)/include DEPENDPATH += .. -LIBS += -lqpe +LIBS += -lqpe -lopiecore2 VERSION = 1.0.0 diff --git a/core/applets/clockapplet/config.in b/core/applets/clockapplet/config.in index 6c32f79..f934743 100644 --- a/core/applets/clockapplet/config.in +++ b/core/applets/clockapplet/config.in @@ -3,2 +3,2 @@ default "y" - depends ( LIBQPE || LIBQPE-X11 ) + depends ( LIBQPE || LIBQPE-X11 ) && LIBOPIE2CORE diff --git a/core/applets/clockapplet/opie-clockapplet.control b/core/applets/clockapplet/opie-clockapplet.control index 79d9fdd..32035d4 100644 --- a/core/applets/clockapplet/opie-clockapplet.control +++ b/core/applets/clockapplet/opie-clockapplet.control @@ -6,3 +6,3 @@ Maintainer: Opie Team <opie@handhelds.org> Architecture: arm -Depends: task-opie-minimal +Depends: task-opie-minimal, libopiecore2 Description: Clock applet |