author | drw <drw> | 2005-05-04 23:28:55 (UTC) |
---|---|---|
committer | drw <drw> | 2005-05-04 23:28:55 (UTC) |
commit | 279fc4fd1986074acbadd3a8e86fcf3968a8dd5c (patch) (side-by-side diff) | |
tree | c2b98b5c0c342f2fe81a6ffa5f62a534087d2836 /noncore/apps/odict/odict.cpp | |
parent | 11833e51efabe194db59640c2d0ccea0a33c11ce (diff) | |
download | opie-279fc4fd1986074acbadd3a8e86fcf3968a8dd5c.zip opie-279fc4fd1986074acbadd3a8e86fcf3968a8dd5c.tar.gz opie-279fc4fd1986074acbadd3a8e86fcf3968a8dd5c.tar.bz2 |
Resource -> OResource
-rw-r--r-- | noncore/apps/odict/odict.cpp | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/noncore/apps/odict/odict.cpp b/noncore/apps/odict/odict.cpp index 497de36..96ba3ae 100644 --- a/noncore/apps/odict/odict.cpp +++ b/noncore/apps/odict/odict.cpp @@ -20,2 +20,6 @@ +#include <opie2/oresource.h> + +#include <qpe/config.h> + #include <qmenubar.h> @@ -30,5 +34,2 @@ -#include <qpe/resource.h> -#include <qpe/config.h> - ODict::ODict(QWidget* parent, const char* name, WFlags fl ) : QMainWindow(parent, name, fl ) @@ -204,6 +205,10 @@ void ODict::setupMenus() settings = new QPopupMenu( menu ); - setting_a = new QAction(tr( "Configuration" ), Resource::loadPixmap( "new" ), QString::null, 0, this, 0 ); + setting_a = new QAction( tr( "Configuration" ), + Opie::Core::OResource::loadPixmap( "SettingsIcon", Opie::Core::OResource::SmallIcon ), + QString::null, 0, this, 0 ); connect( setting_a, SIGNAL( activated() ), this, SLOT( slotSettings() ) ); setting_a->addTo( settings ); - setting_b = new QAction(tr( "Searchmethods" ), Resource::loadPixmap( "edit" ), QString::null, 0, this, 0 ); + setting_b = new QAction( tr( "Search methods" ), + Opie::Core::OResource::loadPixmap( "edit", Opie::Core::OResource::SmallIcon ), + QString::null, 0, this, 0 ); @@ -211,4 +216,3 @@ void ODict::setupMenus() connect( parameter, SIGNAL( activated(int) ), this, SLOT( slotSetParameter(int) ) ); - parameter->insertItem( tr( "C&ase sensitive" ), 0 ,0 ); - parameter->insertSeparator(); + parameter->insertItem( tr( "Case sensitive" ), 0 ,0 ); |