summaryrefslogtreecommitdiff
path: root/core/applets
authordrw <drw>2005-04-24 21:55:58 (UTC)
committer drw <drw>2005-04-24 21:55:58 (UTC)
commitb513e26413e5b2aa7a52c23044e936a45b681f4b (patch) (unidiff)
tree6d1af1360393d5b4f51d6e4072acf85346b01469 /core/applets
parent40a0b1f81d5f53fede7831707d89a840d6691bd9 (diff)
downloadopie-b513e26413e5b2aa7a52c23044e936a45b681f4b.zip
opie-b513e26413e5b2aa7a52c23044e936a45b681f4b.tar.gz
opie-b513e26413e5b2aa7a52c23044e936a45b681f4b.tar.bz2
Resource -> OResource, and fix dependency on libopiesecurity2 lib
Diffstat (limited to 'core/applets') (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/lockapplet/lock.cpp7
-rw-r--r--core/applets/lockapplet/lockapplet.pro2
-rw-r--r--core/applets/lockapplet/opie-lockapplet.control2
3 files changed, 4 insertions, 7 deletions
diff --git a/core/applets/lockapplet/lock.cpp b/core/applets/lockapplet/lock.cpp
index 89f27bb..a831b99 100644
--- a/core/applets/lockapplet/lock.cpp
+++ b/core/applets/lockapplet/lock.cpp
@@ -4,5 +4,5 @@
4#include <opie2/multiauthpassword.h> 4#include <opie2/multiauthpassword.h>
5#include <opie2/oresource.h>
5 6
6#include <qpe/applnk.h> 7#include <qpe/applnk.h>
7#include <qpe/resource.h>
8 8
@@ -40,6 +40,3 @@ QIconSet LockMenuApplet::icon() const
40{ 40{
41 QPixmap pix; 41 QPixmap pix = Opie::Core::OResource::loadPixmap( "security/lock", Opie::Core::OResource::SmallIcon );
42 QImage img = Resource::loadImage( "security/lock" );
43 if ( !img.isNull() )
44 pix.convertFromImage( img.smoothScale( AppLnk::smallIconSize(), AppLnk::smallIconSize() ) );
45 return pix; 42 return pix;
diff --git a/core/applets/lockapplet/lockapplet.pro b/core/applets/lockapplet/lockapplet.pro
index ce4761c..500acba 100644
--- a/core/applets/lockapplet/lockapplet.pro
+++ b/core/applets/lockapplet/lockapplet.pro
@@ -8,3 +8,3 @@ INCLUDEPATH += $(OPIEDIR)/include
8DEPENDPATH += $(OPIEDIR)/include 8DEPENDPATH += $(OPIEDIR)/include
9LIBS += -lqpe -lopiesecurity2 9LIBS += -lqpe -lopiecore2 -lopiesecurity2
10VERSION = 1.0.0 10VERSION = 1.0.0
diff --git a/core/applets/lockapplet/opie-lockapplet.control b/core/applets/lockapplet/opie-lockapplet.control
index cf76d69..97194ab 100644
--- a/core/applets/lockapplet/opie-lockapplet.control
+++ b/core/applets/lockapplet/opie-lockapplet.control
@@ -6,3 +6,3 @@ Maintainer: Opie Team <opie@handhelds.org>
6Architecture: arm 6Architecture: arm
7Depends: task-opie-minimal, opie-security 7Depends: task-opie-minimal, libopiecore2, libopiesecurity2
8Description: Lock Opie now 8Description: Lock Opie now