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 @@ | |||
1 | /* | 1 | /* |
2 | * GPLv2 zecke@handhelds.org | 2 | * GPLv2 zecke@handhelds.org |
3 | * No WArranty... | 3 | * No WArranty... |
4 | */ | 4 | */ |
5 | #include <stdlib.h> | 5 | #include <stdlib.h> |
6 | #include <qpopupmenu.h> | 6 | #include <qpopupmenu.h> |
7 | #include <qtoolbar.h> | 7 | #include <qtoolbar.h> |
8 | 8 | ||
9 | #include <qpe/resource.h> | 9 | #include <opie2/oresource.h> |
10 | |||
10 | #include <qpe/storage.h> | 11 | #include <qpe/storage.h> |
11 | 12 | ||
12 | 13 | ||
13 | #include "filesystem.h" | 14 | #include "filesystem.h" |
14 | 15 | ||
15 | PFileSystem::PFileSystem( QToolBar* bar) | 16 | PFileSystem::PFileSystem( QToolBar* bar) |
16 | : QToolButton( bar ) | 17 | : QToolButton( bar ) |
17 | { | 18 | { |
18 | setIconSet( Resource::loadIconSet( "cardmon/pcmcia" ) ); | 19 | setIconSet( Opie::Core::OResource::loadPixmap( "cardmon/pcmcia", Opie::Core::OResource::SmallIcon ) ); |
19 | 20 | ||
20 | m_pop = new QPopupMenu( this ); | 21 | m_pop = new QPopupMenu( this ); |
21 | connect( m_pop, SIGNAL( activated( int ) ), | 22 | connect( m_pop, SIGNAL( activated( int ) ), |
22 | this, SLOT(slotSelectDir( int ) ) ); | 23 | this, SLOT(slotSelectDir( int ) ) ); |
23 | 24 | ||
24 | m_storage = new StorageInfo(); | 25 | m_storage = new StorageInfo(); |
25 | connect(m_storage, SIGNAL(disksChanged() ), | 26 | connect(m_storage, SIGNAL(disksChanged() ), |
26 | this, SLOT( changed() ) ); | 27 | this, SLOT( changed() ) ); |
27 | changed(); | 28 | changed(); |
28 | 29 | ||
29 | connect(this,SIGNAL(pressed()),SLOT(slotPopUp())); | 30 | connect(this,SIGNAL(pressed()),SLOT(slotPopUp())); |
30 | } | 31 | } |