summaryrefslogtreecommitdiff
path: root/noncore/apps/dagger/searchbar.cpp
Side-by-side diff
Diffstat (limited to 'noncore/apps/dagger/searchbar.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/dagger/searchbar.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/noncore/apps/dagger/searchbar.cpp b/noncore/apps/dagger/searchbar.cpp
index 9953e8f..b794bfd 100644
--- a/noncore/apps/dagger/searchbar.cpp
+++ b/noncore/apps/dagger/searchbar.cpp
@@ -19,4 +19,5 @@ file; see the file COPYING. If not, write to the Free Software Foundation, Inc.,
#include "textwidget.h"
+#include <opie2/oresource.h>
#include <opie2/owait.h>
@@ -33,4 +34,6 @@ file; see the file COPYING. If not, write to the Free Software Foundation, Inc.,
#include <versekey.h>
+using Opie::Core::OResource;
+
void searchCallback( char /*percent*/, void */*userData*/ )
{
@@ -49,5 +52,5 @@ SearchBar::SearchBar( QMainWindow *parent )
this, SLOT(slotTextChanged(const QString &)) );
- m_actionFind = new QAction( tr( "Find" ), Resource::loadPixmap( "find" ), QString::null,
+ m_actionFind = new QAction( tr( "Find" ), OResource::loadPixmap( "find", OResource::SmallIcon ), QString::null,
0, this, 0 );
m_actionFind->setEnabled( false );
@@ -58,5 +61,5 @@ SearchBar::SearchBar( QMainWindow *parent )
addSeparator();
- m_actionPrev = new QAction( tr( "Previous result" ), Resource::loadPixmap( "back" ),
+ m_actionPrev = new QAction( tr( "Previous result" ), OResource::loadPixmap( "back", OResource::SmallIcon ),
QString::null, 0, this, 0 );
m_actionPrev->setEnabled( false );
@@ -70,5 +73,5 @@ SearchBar::SearchBar( QMainWindow *parent )
connect( m_resultList, SIGNAL(activated(const QString &)), this, SIGNAL(sigResultClicked(const QString &)) );
- m_actionNext = new QAction( tr( "Next result" ), Resource::loadPixmap( "forward" ),
+ m_actionNext = new QAction( tr( "Next result" ), OResource::loadPixmap( "forward", OResource::SmallIcon ),
QString::null, 0, this, 0 );
m_actionNext->setEnabled( false );