author | drw <drw> | 2005-05-16 17:49:55 (UTC) |
---|---|---|
committer | drw <drw> | 2005-05-16 17:49:55 (UTC) |
commit | d54ee25eca9a9e8d38e342828aa21589dc523ce3 (patch) (side-by-side diff) | |
tree | 89bc093b7696bd42b0e7fa3b88bca1890f002bcf /noncore/apps/dagger/searchbar.cpp | |
parent | d2426de3452342ab4af8e95214b9ff408f30744e (diff) | |
download | opie-d54ee25eca9a9e8d38e342828aa21589dc523ce3.zip opie-d54ee25eca9a9e8d38e342828aa21589dc523ce3.tar.gz opie-d54ee25eca9a9e8d38e342828aa21589dc523ce3.tar.bz2 |
Resource -> OResource
Diffstat (limited to 'noncore/apps/dagger/searchbar.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/dagger/searchbar.cpp | 18 |
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 @@ -19,25 +19,22 @@ 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> #include <qpe/qpeapplication.h> -#include <qpe/resource.h> #include <qaction.h> #include <qcombobox.h> #include <qlineedit.h> #include <qwhatsthis.h> #include <listkey.h> #include <regex.h> #include <versekey.h> -using Opie::Core::OResource; - void searchCallback( char /*percent*/, void */*userData*/ ) { qApp->processEvents(); } SearchBar::SearchBar( QMainWindow *parent ) @@ -48,35 +45,38 @@ SearchBar::SearchBar( QMainWindow *parent ) m_searchText = new QLineEdit( this ); setStretchableWidget( m_searchText ); QWhatsThis::add( m_searchText, tr( "Enter text to search for here." ) ); connect(m_searchText, SIGNAL(textChanged(const QString &)), this, SLOT(slotTextChanged(const QString &)) ); - m_actionFind = new QAction( tr( "Find" ), OResource::loadPixmap( "find", OResource::SmallIcon ), QString::null, - 0, this, 0 ); + m_actionFind = new QAction( tr( "Find" ), + Opie::Core::OResource::loadPixmap( "find", Opie::Core::OResource::SmallIcon ), + QString::null, 0, this, 0 ); m_actionFind->setEnabled( false ); m_actionFind->addTo( this ); m_actionFind->setWhatsThis( tr( "Tap here search the current module for the text entered to the left." ) ); connect( m_actionFind, SIGNAL(activated()), this, SLOT(slotFind()) ); addSeparator(); - m_actionPrev = new QAction( tr( "Previous result" ), OResource::loadPixmap( "back", OResource::SmallIcon ), - QString::null, 0, this, 0 ); + m_actionPrev = new QAction( tr( "Previous result" ), + Opie::Core::OResource::loadPixmap( "back", Opie::Core::OResource::SmallIcon ), + QString::null, 0, this, 0 ); m_actionPrev->setEnabled( false ); m_actionPrev->addTo( this ); m_actionPrev->setWhatsThis( tr( "Tap here to view the previous search result." ) ); connect( m_actionPrev, SIGNAL(activated()), this, SLOT(slotPrev()) ); m_resultList = new QComboBox( this ); m_resultList->setEnabled( false ); 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" ), OResource::loadPixmap( "forward", OResource::SmallIcon ), - QString::null, 0, this, 0 ); + m_actionNext = new QAction( tr( "Next result" ), + Opie::Core::OResource::loadPixmap( "forward", Opie::Core::OResource::SmallIcon ), + QString::null, 0, this, 0 ); m_actionNext->setEnabled( false ); m_actionNext->addTo( this ); m_actionNext->setWhatsThis( tr( "Tap here to view the next search result." ) ); connect( m_actionNext, SIGNAL(activated()), this, SLOT(slotNext()) ); if ( parent ) |