author | drw <drw> | 2005-05-24 00:09:07 (UTC) |
---|---|---|
committer | drw <drw> | 2005-05-24 00:09:07 (UTC) |
commit | 1ce0e947a999c2a98d6f6a78e69a8d1f433d7cba (patch) (side-by-side diff) | |
tree | 2ddbea9f816ad8bec8516dffc72bb42cf1a5b614 /noncore/tools/opie-sh/mbox.cpp | |
parent | 6f01d6a0d9daa537b2aa54ed36ea77e755a463d3 (diff) | |
download | opie-1ce0e947a999c2a98d6f6a78e69a8d1f433d7cba.zip opie-1ce0e947a999c2a98d6f6a78e69a8d1f433d7cba.tar.gz opie-1ce0e947a999c2a98d6f6a78e69a8d1f433d7cba.tar.bz2 |
Resource -> OResource
Diffstat (limited to 'noncore/tools/opie-sh/mbox.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/tools/opie-sh/mbox.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/noncore/tools/opie-sh/mbox.cpp b/noncore/tools/opie-sh/mbox.cpp index 04b397d..45145d9 100644 --- a/noncore/tools/opie-sh/mbox.cpp +++ b/noncore/tools/opie-sh/mbox.cpp @@ -18,2 +18,4 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +#include <opie2/oresource.h> + MBox::MBox(int w, int h, int type, QString title, QString message, QString *btext0, QString *btext1, QString *btext2, QWidget *parent, const char*name, bool modal, WFlags f):QDialog(parent, name, modal, f) @@ -38,9 +40,9 @@ MBox::MBox(int w, int h, int type, QString title, QString message, QString *btex case 0: - image->setPixmap(Resource::loadPixmap("opie-sh/info")); + image->setPixmap(Opie::Core::OResource::loadPixmap("opie-sh/info", Opie::Core::OResource::SmallIcon)); break; case 1: - image->setPixmap(Resource::loadPixmap("opie-sh/warning")); + image->setPixmap(Opie::Core::OResource::loadPixmap("opie-sh/warning", Opie::Core::OResource::SmallIcon)); break; case 2: - image->setPixmap(Resource::loadPixmap("opie-sh/error")); + image->setPixmap(Opie::Core::OResource::loadPixmap("opie-sh/error", Opie::Core::OResource::SmallIcon)); break; |