summaryrefslogtreecommitdiff
path: root/core/pim/addressbook/contacteditor.cpp
authordrw <drw>2005-04-06 22:41:05 (UTC)
committer drw <drw>2005-04-06 22:41:05 (UTC)
commit6ea302df768201e4ab8dd2ec797a5cc9ea6589bf (patch) (side-by-side diff)
tree9cffcfa9fecd49d0d6a0498de0cccd9aef52bf75 /core/pim/addressbook/contacteditor.cpp
parentcd1b15147d372d8786c855764d397553651c358d (diff)
downloadopie-6ea302df768201e4ab8dd2ec797a5cc9ea6589bf.zip
opie-6ea302df768201e4ab8dd2ec797a5cc9ea6589bf.tar.gz
opie-6ea302df768201e4ab8dd2ec797a5cc9ea6589bf.tar.bz2
Use OResource for loading images
Diffstat (limited to 'core/pim/addressbook/contacteditor.cpp') (more/less context) (show whitespace changes)
-rw-r--r--core/pim/addressbook/contacteditor.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/core/pim/addressbook/contacteditor.cpp b/core/pim/addressbook/contacteditor.cpp
index dec4c7c..4a0059a 100644
--- a/core/pim/addressbook/contacteditor.cpp
+++ b/core/pim/addressbook/contacteditor.cpp
@@ -26,2 +26,3 @@
#include <opie2/opimcontact.h>
+#include <opie2/oresource.h>
@@ -30,3 +31,2 @@
#include <qpe/qpedialog.h>
-#include <qpe/resource.h>
@@ -219,3 +219,4 @@ void ContactEditor::init() {
- btnNote = new QPushButton( Resource::loadPixmap( "edit" ), tr( "Notes..." ), container );
+ btnNote = new QPushButton( Opie::Core::OResource::loadPixmap( "edit", Opie::Core::OResource::SmallIcon ),
+ tr( "Notes..." ), container );
gl->addWidget( btnNote, 9, 1 );
@@ -532,3 +533,3 @@ void ContactEditor::init() {
- QPushButton* deleteButton = new QPushButton( QIconSet( Resource::loadPixmap( "trash" ) ),
+ QPushButton* deleteButton = new QPushButton( Opie::Core::OResource::loadPixmap( "trash", Opie::Core::OResource::SmallIcon ),
tr( "Delete" ),
@@ -557,3 +558,3 @@ void ContactEditor::init() {
- deleteButton = new QPushButton( QIconSet( Resource::loadPixmap( "trash" ) ),
+ deleteButton = new QPushButton( Opie::Core::OResource::loadPixmap( "trash", Opie::Core::OResource::SmallIcon ),
tr( "Delete" ),