Diffstat (limited to 'noncore/graphics/opie-eye/gui/filesystem.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/graphics/opie-eye/gui/filesystem.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/noncore/graphics/opie-eye/gui/filesystem.cpp b/noncore/graphics/opie-eye/gui/filesystem.cpp index 8efcdf7..d84e9f8 100644 --- a/noncore/graphics/opie-eye/gui/filesystem.cpp +++ b/noncore/graphics/opie-eye/gui/filesystem.cpp @@ -1,30 +1,31 @@ /* * GPLv2 zecke@handhelds.org * No WArranty... */ #include <stdlib.h> #include <qpopupmenu.h> #include <qtoolbar.h> -#include <qpe/resource.h> +#include <opie2/oresource.h> + #include <qpe/storage.h> #include "filesystem.h" PFileSystem::PFileSystem( QToolBar* bar) : QToolButton( bar ) { - setIconSet( Resource::loadIconSet( "cardmon/pcmcia" ) ); + setIconSet( Opie::Core::OResource::loadPixmap( "cardmon/pcmcia", Opie::Core::OResource::SmallIcon ) ); m_pop = new QPopupMenu( this ); connect( m_pop, SIGNAL( activated( int ) ), this, SLOT(slotSelectDir( int ) ) ); m_storage = new StorageInfo(); connect(m_storage, SIGNAL(disksChanged() ), this, SLOT( changed() ) ); changed(); connect(this,SIGNAL(pressed()),SLOT(slotPopUp())); } |