author | drw <drw> | 2005-04-06 22:41:05 (UTC) |
---|---|---|
committer | drw <drw> | 2005-04-06 22:41:05 (UTC) |
commit | 6ea302df768201e4ab8dd2ec797a5cc9ea6589bf (patch) (side-by-side diff) | |
tree | 9cffcfa9fecd49d0d6a0498de0cccd9aef52bf75 /core/pim/addressbook/abtable.cpp | |
parent | cd1b15147d372d8786c855764d397553651c358d (diff) | |
download | opie-6ea302df768201e4ab8dd2ec797a5cc9ea6589bf.zip opie-6ea302df768201e4ab8dd2ec797a5cc9ea6589bf.tar.gz opie-6ea302df768201e4ab8dd2ec797a5cc9ea6589bf.tar.bz2 |
Use OResource for loading images
Diffstat (limited to 'core/pim/addressbook/abtable.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/addressbook/abtable.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/core/pim/addressbook/abtable.cpp b/core/pim/addressbook/abtable.cpp index 60f3177..539d6ba 100644 --- a/core/pim/addressbook/abtable.cpp +++ b/core/pim/addressbook/abtable.cpp @@ -23,5 +23,5 @@ #include <opie2/opimrecordlist.h> +#include <opie2/oresource.h> #include <qpe/timestring.h> -#include <qpe/resource.h> @@ -631,3 +631,3 @@ ContactItem AbTable::findContactContact( const Opie::OPimContact &entry, int /* if ( !item.value.isEmpty() ) - item.icon = Resource::loadPixmap( "addressbook/email" ); + item.icon = Opie::Core::OResource::loadPixmap( "addressbook/email" ); break; @@ -636,3 +636,3 @@ ContactItem AbTable::findContactContact( const Opie::OPimContact &entry, int /* if ( !item.value.isEmpty() ) - item.icon = Resource::loadPixmap( "addressbook/email" ); + item.icon = Opie::Core::OResource::loadPixmap( "addressbook/email" ); break; @@ -656,3 +656,3 @@ ContactItem AbTable::findContactContact( const Opie::OPimContact &entry, int /* if ( !item.value.isEmpty() ) - item.icon = Resource::loadPixmap( "addressbook/phonehome" ); + item.icon = Opie::Core::OResource::loadPixmap( "addressbook/phonehome" ); break; @@ -661,3 +661,3 @@ ContactItem AbTable::findContactContact( const Opie::OPimContact &entry, int /* if ( !item.value.isEmpty() ) - item.icon = Resource::loadPixmap( "addressbook/faxhome" ); + item.icon = Opie::Core::OResource::loadPixmap( "addressbook/faxhome" ); break; @@ -666,3 +666,3 @@ ContactItem AbTable::findContactContact( const Opie::OPimContact &entry, int /* if ( !item.value.isEmpty() ) - item.icon = Resource::loadPixmap( "addressbook/mobilehome" ); + item.icon = Opie::Core::OResource::loadPixmap( "addressbook/mobilehome" ); break; @@ -671,3 +671,3 @@ ContactItem AbTable::findContactContact( const Opie::OPimContact &entry, int /* if ( !item.value.isEmpty() ) - item.icon = Resource::loadPixmap( "addressbook/webpagehome" ); + item.icon = Opie::Core::OResource::loadPixmap( "addressbook/webpagehome" ); break; @@ -691,3 +691,3 @@ ContactItem AbTable::findContactContact( const Opie::OPimContact &entry, int /* if ( !item.value.isEmpty() ) - item.icon = Resource::loadPixmap( "addressbook/webpagework" ); + item.icon = Opie::Core::OResource::loadPixmap( "addressbook/webpagework" ); break; @@ -705,3 +705,3 @@ ContactItem AbTable::findContactContact( const Opie::OPimContact &entry, int /* if ( !item.value.isEmpty() ) - item.icon = Resource::loadPixmap( "addressbook/phonework" ); + item.icon = Opie::Core::OResource::loadPixmap( "addressbook/phonework" ); break; @@ -710,3 +710,3 @@ ContactItem AbTable::findContactContact( const Opie::OPimContact &entry, int /* if ( !item.value.isEmpty() ) - item.icon = Resource::loadPixmap( "addressbook/faxwork" ); + item.icon = Opie::Core::OResource::loadPixmap( "addressbook/faxwork" ); break; @@ -715,3 +715,3 @@ ContactItem AbTable::findContactContact( const Opie::OPimContact &entry, int /* if ( !item.value.isEmpty() ) - item.icon = Resource::loadPixmap( "addressbook/mobilework" ); + item.icon = Opie::Core::OResource::loadPixmap( "addressbook/mobilework" ); break; |