From 4ae9e590b1606ff1bf437ed7c1ebe019d19edd7b Mon Sep 17 00:00:00 2001 From: drw Date: Sun, 24 Apr 2005 20:40:30 +0000 Subject: Resource -> OResource --- (limited to 'core/applets') diff --git a/core/applets/aboutapplet/about.cpp b/core/applets/aboutapplet/about.cpp index ec214f3..accfdd6 100644 --- a/core/applets/aboutapplet/about.cpp +++ b/core/applets/aboutapplet/about.cpp @@ -1,9 +1,10 @@ #include "about.h" #include "widget.h" +#include + #include #include -#include #include #include @@ -44,11 +45,7 @@ QString AboutApplet::tr( const char* s, const char* p ) const QIconSet AboutApplet::icon() const { - QPixmap pix; - QImage img = Resource::loadImage ( "logo/opielogo" ); - - if ( !img.isNull() ) - pix.convertFromImage( img.smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) ); + QPixmap pix = Opie::Core::OResource::loadPixmap ( "logo/opielogo", Opie::Core::OResource::SmallIcon ); return pix; } diff --git a/core/applets/aboutapplet/aboutapplet.pro b/core/applets/aboutapplet/aboutapplet.pro index f12f7fd..c2841c4 100644 --- a/core/applets/aboutapplet/aboutapplet.pro +++ b/core/applets/aboutapplet/aboutapplet.pro @@ -7,7 +7,7 @@ TARGET = aboutapplet DESTDIR = $(OPIEDIR)/plugins/applets INCLUDEPATH += $(OPIEDIR)/include DEPENDPATH += $(OPIEDIR)/include -LIBS += -lqpe +LIBS += -lqpe -lopiecore2 VERSION = 1.0.0 include( $(OPIEDIR)/include.pro ) diff --git a/core/applets/aboutapplet/opie-aboutapplet.control b/core/applets/aboutapplet/opie-aboutapplet.control index 9d85de4..11fe300 100644 --- a/core/applets/aboutapplet/opie-aboutapplet.control +++ b/core/applets/aboutapplet/opie-aboutapplet.control @@ -4,7 +4,7 @@ Priority: optional Section: opie/applets Maintainer: Opie Team Architecture: arm -Depends: task-opie-minimal +Depends: task-opie-minimal, libopiecore2 Conflicts: opie-aboutapplet-ipaq Description: About Opie About box for Opie -- cgit v0.9.0.2