author | drw <drw> | 2005-04-24 19:29:20 (UTC) |
---|---|---|
committer | drw <drw> | 2005-04-24 19:29:20 (UTC) |
commit | 9f4dd8e0d2cbe83d23c5405394d5e076dd6c2c6b (patch) (side-by-side diff) | |
tree | ef243e01fd5347d74d06e7d90e9c3fc19d990534 /noncore/apps/dagger/searchbar.cpp | |
parent | d1ca2bbae79743f9f8a2c5ac1d702cc1c789fd27 (diff) | |
download | opie-9f4dd8e0d2cbe83d23c5405394d5e076dd6c2c6b.zip opie-9f4dd8e0d2cbe83d23c5405394d5e076dd6c2c6b.tar.gz opie-9f4dd8e0d2cbe83d23c5405394d5e076dd6c2c6b.tar.bz2 |
Resource -> OResource
Diffstat (limited to 'noncore/apps/dagger/searchbar.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/dagger/searchbar.cpp | 9 |
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 @@ -18,6 +18,7 @@ file; see the file COPYING. If not, write to the Free Software Foundation, Inc., #include "searchbar.h" #include "textwidget.h" +#include <opie2/oresource.h> #include <opie2/owait.h> #include <qpe/qpeapplication.h> @@ -32,6 +33,8 @@ file; see the file COPYING. If not, write to the Free Software Foundation, Inc., #include <regex.h> #include <versekey.h> +using Opie::Core::OResource; + void searchCallback( char /*percent*/, void */*userData*/ ) { qApp->processEvents(); @@ -48,7 +51,7 @@ SearchBar::SearchBar( QMainWindow *parent ) connect(m_searchText, SIGNAL(textChanged(const QString &)), 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 ); m_actionFind->addTo( this ); @@ -57,7 +60,7 @@ 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 ); m_actionPrev->addTo( this ); @@ -69,7 +72,7 @@ SearchBar::SearchBar( QMainWindow *parent ) QWhatsThis::add( m_resultList, tr( "Select the desired search result here." ) ); 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 ); m_actionNext->addTo( this ); |