From 6378f86d96d8d0003cdb9242871066b2db640cec Mon Sep 17 00:00:00 2001 From: drw Date: Wed, 04 May 2005 22:04:34 +0000 Subject: Resource -> OResource and add missing lib dependencies --- (limited to 'core') diff --git a/core/settings/security/multiauthconfig.cpp b/core/settings/security/multiauthconfig.cpp index da99804..43b453f 100644 --- a/core/settings/security/multiauthconfig.cpp +++ b/core/settings/security/multiauthconfig.cpp @@ -1,9 +1,9 @@ #include +#include #include #include #include -#include #include #include #include @@ -49,7 +49,7 @@ class ToolButton : public QToolButton { public: ToolButton( QWidget *parent, const char *name, const QString& icon, QObject *handler, const QString& slot, bool t = FALSE ) : QToolButton( parent, name ) { - setPixmap( Resource::loadPixmap( icon ) ); + setPixmap( Opie::Core::OResource::loadPixmap( icon, Opie::Core::OResource::SmallIcon ) ); setAutoRaise( TRUE ); setFocusPolicy( QWidget::NoFocus ); setToggleButton( t ); @@ -228,7 +228,8 @@ static void test_and_start() { plugin.pluginObject->pluginName() ); } // set the order/activate tab - QPixmap icon = Resource::loadPixmap( plugin.pluginObject->pixmapNameWidget() ); + QPixmap icon = Opie::Core::OResource::loadPixmap( plugin.pluginObject->pixmapNameWidget(), + Opie::Core::OResource::SmallIcon ); QCheckListItem * item = new QCheckListItem(m_pluginListView, plugin.pluginObject->pluginName(), QCheckListItem::CheckBox ); if ( !icon.isNull() ) { item->setPixmap( 0, icon ); diff --git a/core/settings/security/opie-security.control b/core/settings/security/opie-security.control index ab08c05..7d393a8 100644 --- a/core/settings/security/opie-security.control +++ b/core/settings/security/opie-security.control @@ -4,7 +4,7 @@ Priority: optional Section: opie/settings Maintainer: Opie Team Architecture: arm -Depends: task-opie-minimal +Depends: task-opie-minimal, libopiecore2, libopieui2, libopiesecurity2 Recommends: opie-lockapplet, opie-multiauth Description: Security settings dialog for the Opie environment. Version: $QPE_VERSION$EXTRAVERSION -- cgit v0.9.0.2