author | drw <drw> | 2005-06-15 19:04:33 (UTC) |
---|---|---|
committer | drw <drw> | 2005-06-15 19:04:33 (UTC) |
commit | b86723182311fa621451c2641acf62b3b89dceeb (patch) (side-by-side diff) | |
tree | f630932a4174f8c8ec030b19262a02a2adb4e27b /noncore/settings/networksettings/wlan/wlanimp2.cpp | |
parent | c93c8f75bb082c0257ce80f9e8a1eb470bdce397 (diff) | |
download | opie-b86723182311fa621451c2641acf62b3b89dceeb.zip opie-b86723182311fa621451c2641acf62b3b89dceeb.tar.gz opie-b86723182311fa621451c2641acf62b3b89dceeb.tar.bz2 |
Resource -> OResource and fix compiler warning
Diffstat (limited to 'noncore/settings/networksettings/wlan/wlanimp2.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/wlan/wlanimp2.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/settings/networksettings/wlan/wlanimp2.cpp b/noncore/settings/networksettings/wlan/wlanimp2.cpp index 2fd97c3..0c18bcc 100644 --- a/noncore/settings/networksettings/wlan/wlanimp2.cpp +++ b/noncore/settings/networksettings/wlan/wlanimp2.cpp @@ -3,25 +3,25 @@ #include "interfacesetupimp.h" #include "../interfaces/interface.h" #include <assert.h> #include <errno.h> #include <string.h> /* OPIE */ #include <opie2/odebug.h> #include <opie2/oprocess.h> #include <opie2/onetwork.h> #include <opie2/opcap.h> -#include <qpe/resource.h> +#include <opie2/oresource.h> using namespace Opie::Core; using namespace Opie::Net; /* QT */ #include <qapplication.h> #include <qfile.h> #include <qdir.h> #include <qdialog.h> #include <qtextstream.h> #include <qmessagebox.h> #include <qlineedit.h> #include <qlabel.h> @@ -593,25 +593,25 @@ void WLANImp::displayFoundNetwork( const QString& mode, int channel, const QStri { odebug << "found network: <" << (const char*) mode << ">, chn " << channel << ", ssid '" << (const char*) ssid << "', mac '" << (const char*) mac.toString() << "'" << oendl; QListViewItemIterator it( netView ); while ( it.current() && it.current()->text( col_ssid ) != ssid ) ++it; if ( !it.current() ) // ssid didn't show up yet { QListViewItem* item = new QListViewItem( netView, mode.left( 1 ).upper(), ssid, QString::number( channel ), mac.toString() ); QString name; name.sprintf( "networksettings/%s", (const char*) mode ); - item->setPixmap( col_mode, Resource::loadPixmap( name ) ); + item->setPixmap( col_mode, Opie::Core::OResource::loadPixmap( name, Opie::Core::OResource::SmallIcon ) ); qApp->processEvents(); } } void WLANImp::selectNetwork( QListViewItem* item ) { bool ok; if ( item ) { specifyAp->setChecked(true); |