summaryrefslogtreecommitdiff
path: root/core/pim/osearch/mainwindow.cpp
authordrw <drw>2005-04-15 17:18:32 (UTC)
committer drw <drw>2005-04-15 17:18:32 (UTC)
commite2d5048b65d95ba7d658aabadece4e91f17f6310 (patch) (side-by-side diff)
treef1ab32bf3790a315554fe4baa191d74f80d66933 /core/pim/osearch/mainwindow.cpp
parent4bf8d42034beee5e28b25182e21cf74f3c2da6a8 (diff)
downloadopie-e2d5048b65d95ba7d658aabadece4e91f17f6310.zip
opie-e2d5048b65d95ba7d658aabadece4e91f17f6310.tar.gz
opie-e2d5048b65d95ba7d658aabadece4e91f17f6310.tar.bz2
Resource -> OResource
Diffstat (limited to 'core/pim/osearch/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/osearch/mainwindow.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/pim/osearch/mainwindow.cpp b/core/pim/osearch/mainwindow.cpp
index 1d0331c..d71b167 100644
--- a/core/pim/osearch/mainwindow.cpp
+++ b/core/pim/osearch/mainwindow.cpp
@@ -21,13 +21,12 @@
#include "mainwindow.h"
#include <opie2/odebug.h>
+#include <opie2/oresource.h>
#include <opie2/owait.h>
#include <qpe/qpemessagebox.h>
-#include <qpe/resource.h>
#include <qpe/config.h>
-
#include <qpe/qpeapplication.h>
#include <qpe/global.h>
@@ -165,7 +164,7 @@ void MainWindow::makeMenu()
//SEARCH
SearchAllAction = new QAction( tr("Search all"),QString::null, 0, this, 0 );
- SearchAllAction->setIconSet( Resource::loadIconSet( "find" ) );
+ SearchAllAction->setIconSet( Opie::Core::OResource::loadPixmap( "find", Opie::Core::OResource::SmallIcon ) );
// QWhatsThis::add( SearchAllAction, tr("Search everything...") );
connect( SearchAllAction, SIGNAL(activated()), this, SLOT(searchAll()) );
SearchAllAction->addTo( searchMenu );