summaryrefslogtreecommitdiff
path: root/noncore/apps/dagger/searchbar.cpp
Unidiff
Diffstat (limited to 'noncore/apps/dagger/searchbar.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/dagger/searchbar.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/noncore/apps/dagger/searchbar.cpp b/noncore/apps/dagger/searchbar.cpp
index b794bfd..b195f67 100644
--- a/noncore/apps/dagger/searchbar.cpp
+++ b/noncore/apps/dagger/searchbar.cpp
@@ -22,7 +22,6 @@ file; see the file COPYING. If not, write to the Free Software Foundation, Inc.,
22#include <opie2/owait.h> 22#include <opie2/owait.h>
23 23
24#include <qpe/qpeapplication.h> 24#include <qpe/qpeapplication.h>
25#include <qpe/resource.h>
26 25
27#include <qaction.h> 26#include <qaction.h>
28#include <qcombobox.h> 27#include <qcombobox.h>
@@ -33,8 +32,6 @@ file; see the file COPYING. If not, write to the Free Software Foundation, Inc.,
33#include <regex.h> 32#include <regex.h>
34#include <versekey.h> 33#include <versekey.h>
35 34
36using Opie::Core::OResource;
37
38void searchCallback( char /*percent*/, void */*userData*/ ) 35void searchCallback( char /*percent*/, void */*userData*/ )
39{ 36{
40 qApp->processEvents(); 37 qApp->processEvents();
@@ -51,8 +48,9 @@ SearchBar::SearchBar( QMainWindow *parent )
51 connect(m_searchText, SIGNAL(textChanged(const QString &)), 48 connect(m_searchText, SIGNAL(textChanged(const QString &)),
52 this, SLOT(slotTextChanged(const QString &)) ); 49 this, SLOT(slotTextChanged(const QString &)) );
53 50
54 m_actionFind = new QAction( tr( "Find" ), OResource::loadPixmap( "find", OResource::SmallIcon ), QString::null, 51 m_actionFind = new QAction( tr( "Find" ),
55 0, this, 0 ); 52 Opie::Core::OResource::loadPixmap( "find", Opie::Core::OResource::SmallIcon ),
53 QString::null, 0, this, 0 );
56 m_actionFind->setEnabled( false ); 54 m_actionFind->setEnabled( false );
57 m_actionFind->addTo( this ); 55 m_actionFind->addTo( this );
58 m_actionFind->setWhatsThis( tr( "Tap here search the current module for the text entered to the left." ) ); 56 m_actionFind->setWhatsThis( tr( "Tap here search the current module for the text entered to the left." ) );
@@ -60,8 +58,9 @@ SearchBar::SearchBar( QMainWindow *parent )
60 58
61 addSeparator(); 59 addSeparator();
62 60
63 m_actionPrev = new QAction( tr( "Previous result" ), OResource::loadPixmap( "back", OResource::SmallIcon ), 61 m_actionPrev = new QAction( tr( "Previous result" ),
64 QString::null, 0, this, 0 ); 62 Opie::Core::OResource::loadPixmap( "back", Opie::Core::OResource::SmallIcon ),
63 QString::null, 0, this, 0 );
65 m_actionPrev->setEnabled( false ); 64 m_actionPrev->setEnabled( false );
66 m_actionPrev->addTo( this ); 65 m_actionPrev->addTo( this );
67 m_actionPrev->setWhatsThis( tr( "Tap here to view the previous search result." ) ); 66 m_actionPrev->setWhatsThis( tr( "Tap here to view the previous search result." ) );
@@ -72,8 +71,9 @@ SearchBar::SearchBar( QMainWindow *parent )
72 QWhatsThis::add( m_resultList, tr( "Select the desired search result here." ) ); 71 QWhatsThis::add( m_resultList, tr( "Select the desired search result here." ) );
73 connect( m_resultList, SIGNAL(activated(const QString &)), this, SIGNAL(sigResultClicked(const QString &)) ); 72 connect( m_resultList, SIGNAL(activated(const QString &)), this, SIGNAL(sigResultClicked(const QString &)) );
74 73
75 m_actionNext = new QAction( tr( "Next result" ), OResource::loadPixmap( "forward", OResource::SmallIcon ), 74 m_actionNext = new QAction( tr( "Next result" ),
76 QString::null, 0, this, 0 ); 75 Opie::Core::OResource::loadPixmap( "forward", Opie::Core::OResource::SmallIcon ),
76 QString::null, 0, this, 0 );
77 m_actionNext->setEnabled( false ); 77 m_actionNext->setEnabled( false );
78 m_actionNext->addTo( this ); 78 m_actionNext->addTo( this );
79 m_actionNext->setWhatsThis( tr( "Tap here to view the next search result." ) ); 79 m_actionNext->setWhatsThis( tr( "Tap here to view the next search result." ) );