author | drw <drw> | 2005-05-04 21:53:48 (UTC) |
---|---|---|
committer | drw <drw> | 2005-05-04 21:53:48 (UTC) |
commit | 56fa3f4bcedabb5255fedca463724d57316e2cdb (patch) (side-by-side diff) | |
tree | c8fd8e25e65d158eaf670c6d75041132584c032e /core/applets/clockapplet/clock.cpp | |
parent | a19581c15cdb15f17988b6af958e6aa27eb01c7d (diff) | |
download | opie-56fa3f4bcedabb5255fedca463724d57316e2cdb.zip opie-56fa3f4bcedabb5255fedca463724d57316e2cdb.tar.gz opie-56fa3f4bcedabb5255fedca463724d57316e2cdb.tar.bz2 |
Resource -> OResource
Diffstat (limited to 'core/applets/clockapplet/clock.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/applets/clockapplet/clock.cpp | 6 |
1 files changed, 3 insertions, 3 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 @@ -26,4 +26,5 @@ /* OPIE */ #include <opie2/odebug.h> +#include <opie2/oresource.h> #include <opie2/otaskbarapplet.h> @@ -31,5 +32,4 @@ #include <qpe/qcopenvelope_qws.h> #include <qpe/config.h> -#include <qpe/resource.h> #include <qpopupmenu.h> @@ -76,6 +76,6 @@ void LauncherClock::mousePressEvent( QMouseEvent * ) 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 ); |