author | drw <drw> | 2005-04-15 17:25:13 (UTC) |
---|---|---|
committer | drw <drw> | 2005-04-15 17:25:13 (UTC) |
commit | 86b1feed1ab2e47a082d974e1fcc513c59a74469 (patch) (unidiff) | |
tree | 2a3965d7adf4633db6b9e1e4150b4bd374cb761d /core/apps/helpbrowser/helpbrowser.cpp | |
parent | e2d5048b65d95ba7d658aabadece4e91f17f6310 (diff) | |
download | opie-86b1feed1ab2e47a082d974e1fcc513c59a74469.zip opie-86b1feed1ab2e47a082d974e1fcc513c59a74469.tar.gz opie-86b1feed1ab2e47a082d974e1fcc513c59a74469.tar.bz2 |
Resource -> OResource
Diffstat (limited to 'core/apps/helpbrowser/helpbrowser.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/apps/helpbrowser/helpbrowser.cpp | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/core/apps/helpbrowser/helpbrowser.cpp b/core/apps/helpbrowser/helpbrowser.cpp index 4bd9565..c2059c0 100644 --- a/core/apps/helpbrowser/helpbrowser.cpp +++ b/core/apps/helpbrowser/helpbrowser.cpp | |||
@@ -27,4 +27,6 @@ | |||
27 | #include <opie2/odebug.h> | 27 | #include <opie2/odebug.h> |
28 | #include <opie2/oresource.h> | ||
29 | |||
28 | #include <qpe/qpeapplication.h> | 30 | #include <qpe/qpeapplication.h> |
29 | #include <qpe/resource.h> | 31 | |
30 | using namespace Opie::Core; | 32 | using namespace Opie::Core; |
@@ -49,3 +51,3 @@ void HelpBrowser::init( const QString& _home ) | |||
49 | { | 51 | { |
50 | setIcon( Resource::loadPixmap( "HelpBrowser" ) ); | 52 | setIcon( Opie::Core::OResource::loadPixmap( "HelpBrowser", Opie::Core::OResource::SmallIcon ) ); |
51 | setBackgroundMode( PaletteButton ); | 53 | setBackgroundMode( PaletteButton ); |
@@ -71,3 +73,4 @@ void HelpBrowser::init( const QString& _home ) | |||
71 | QPopupMenu* go = new QPopupMenu( this ); | 73 | QPopupMenu* go = new QPopupMenu( this ); |
72 | backAction = new QAction( tr( "Backward" ), Resource::loadIconSet( "back" ), QString::null, 0, this, 0 ); | 74 | backAction = new QAction( tr( "Backward" ), Opie::Core::OResource::loadPixmap( "back", Opie::Core::OResource::SmallIcon ), |
75 | QString::null, 0, this, 0 ); | ||
73 | connect( backAction, SIGNAL( activated() ), browser, SLOT( backward() ) ); | 76 | connect( backAction, SIGNAL( activated() ), browser, SLOT( backward() ) ); |
@@ -79,3 +82,4 @@ void HelpBrowser::init( const QString& _home ) | |||
79 | 82 | ||
80 | forwardAction = new QAction( tr( "Forward" ), Resource::loadIconSet( "forward" ), QString::null, 0, this, 0 ); | 83 | forwardAction = new QAction( tr( "Forward" ), Opie::Core::OResource::loadPixmap( "forward", Opie::Core::OResource::SmallIcon ), |
84 | QString::null, 0, this, 0 ); | ||
81 | connect( forwardAction, SIGNAL( activated() ), browser, SLOT( forward() ) ); | 85 | connect( forwardAction, SIGNAL( activated() ), browser, SLOT( forward() ) ); |
@@ -87,3 +91,4 @@ void HelpBrowser::init( const QString& _home ) | |||
87 | 91 | ||
88 | QAction *a = new QAction( tr( "Home" ), Resource::loadIconSet( "home" ), QString::null, 0, this, 0 ); | 92 | QAction *a = new QAction( tr( "Home" ), Opie::Core::OResource::loadPixmap( "home", Opie::Core::OResource::SmallIcon ), |
93 | QString::null, 0, this, 0 ); | ||
89 | connect( a, SIGNAL( activated() ), browser, SLOT( home() ) ); | 94 | connect( a, SIGNAL( activated() ), browser, SLOT( home() ) ); |