From 56fa3f4bcedabb5255fedca463724d57316e2cdb Mon Sep 17 00:00:00 2001 From: drw Date: Wed, 04 May 2005 21:53:48 +0000 Subject: Resource -> OResource --- (limited to 'core') 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 @@ -25,12 +25,12 @@ /* OPIE */ #include +#include #include #include #include #include -#include #include @@ -75,8 +75,8 @@ void LauncherClock::mousePressEvent( QMouseEvent * ) Config config( "Clock" ); config.setGroup( "Daily Alarm" ); 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 ); /* FIXME use OTaskBarApplet ### */ 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 @@ -6,7 +6,7 @@ TARGET = clockapplet DESTDIR = $(OPIEDIR)/plugins/applets INCLUDEPATH += $(OPIEDIR)/include DEPENDPATH += .. -LIBS += -lqpe +LIBS += -lqpe -lopiecore2 VERSION = 1.0.0 include( $(OPIEDIR)/include.pro ) 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 @@ -1,4 +1,4 @@ config CLOCKAPPLET boolean "opie-clockapplet (Digital clock applet)" 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 @@ -4,7 +4,7 @@ Priority: optional Section: opie/applets Maintainer: Opie Team Architecture: arm -Depends: task-opie-minimal +Depends: task-opie-minimal, libopiecore2 Description: Clock applet Clock applet for the Opie environment taskbar. Version: $QPE_VERSION$EXTRAVERSION -- cgit v0.9.0.2