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 | |||
@@ -16,6 +16,8 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
16 | 16 | ||
17 | #include "mbox.h" | 17 | #include "mbox.h" |
18 | 18 | ||
19 | #include <opie2/oresource.h> | ||
20 | |||
19 | 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) | 21 | 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) |
20 | { | 22 | { |
21 | QVBoxLayout *layout = new QVBoxLayout(this); | 23 | QVBoxLayout *layout = new QVBoxLayout(this); |
@@ -36,13 +38,13 @@ MBox::MBox(int w, int h, int type, QString title, QString message, QString *btex | |||
36 | switch (type) | 38 | switch (type) |
37 | { | 39 | { |
38 | case 0: | 40 | case 0: |
39 | image->setPixmap(Resource::loadPixmap("opie-sh/info")); | 41 | image->setPixmap(Opie::Core::OResource::loadPixmap("opie-sh/info", Opie::Core::OResource::SmallIcon)); |
40 | break; | 42 | break; |
41 | case 1: | 43 | case 1: |
42 | image->setPixmap(Resource::loadPixmap("opie-sh/warning")); | 44 | image->setPixmap(Opie::Core::OResource::loadPixmap("opie-sh/warning", Opie::Core::OResource::SmallIcon)); |
43 | break; | 45 | break; |
44 | case 2: | 46 | case 2: |
45 | image->setPixmap(Resource::loadPixmap("opie-sh/error")); | 47 | image->setPixmap(Opie::Core::OResource::loadPixmap("opie-sh/error", Opie::Core::OResource::SmallIcon)); |
46 | break; | 48 | break; |
47 | } | 49 | } |
48 | 50 | ||