summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/mailit/emailclient.cpp4
-rw-r--r--noncore/net/mailit/getmail.xpm21
-rw-r--r--noncore/net/mailit/sendmail.xpm20
-rw-r--r--noncore/unsupported/mailit/emailclient.cpp4
-rw-r--r--noncore/unsupported/mailit/getmail.xpm21
-rw-r--r--noncore/unsupported/mailit/sendmail.xpm20
6 files changed, 4 insertions, 86 deletions
diff --git a/noncore/net/mailit/emailclient.cpp b/noncore/net/mailit/emailclient.cpp
index 7ba5c75..2e82623 100644
--- a/noncore/net/mailit/emailclient.cpp
+++ b/noncore/net/mailit/emailclient.cpp
@@ -143,12 +143,12 @@ void EmailClient::init()
bar = new QToolBar(this);
- getMailButton = new QAction(tr("Get all mail"), QPixmap("getmail.xpm"), QString::null, 0, this, 0);
+ getMailButton = new QAction(tr("Get all mail"), Resource::loadPixmap("mailit/getmail"), QString::null, 0, this, 0);
connect(getMailButton, SIGNAL(activated()), this, SLOT(getAllNewMail()) );
getMailButton->addTo(bar);
getMailButton->addTo(mail);
- sendMailButton = new QAction(tr("Send mail"), QPixmap("sendmail.xpm"), QString::null, 0, this, 0);
+ sendMailButton = new QAction(tr("Send mail"), Resource::loadPixmap("mailit/sendmail"), QString::null, 0, this, 0);
connect(sendMailButton, SIGNAL(activated()), this, SLOT(sendQuedMail()) );
sendMailButton->addTo(bar);
sendMailButton->addTo(mail);
diff --git a/noncore/net/mailit/getmail.xpm b/noncore/net/mailit/getmail.xpm
deleted file mode 100644
index d294656..0000000
--- a/noncore/net/mailit/getmail.xpm
+++ b/dev/null
@@ -1,21 +0,0 @@
-/* XPM */
-static char*getmail[]={
-"16 13 5 1",
-"# c #040404",
-"a c #c3c3c3",
-"c c #000000",
-". c None",
-"b c #ffffff",
-".........###....",
-"........#...#.#.",
-".............##.",
-"............###.",
-"................",
-"..............aa",
-".bbbbbbbbbbbbbba",
-".bbbcbbcbbbcccba",
-".bbcbccbbbbcbcba",
-".bbbbbbbbbbcccba",
-".bbcbcccbbbbbbba",
-".bbbcbbbbbbbbbba",
-".bbbbbbbbbbbbbba"};
diff --git a/noncore/net/mailit/sendmail.xpm b/noncore/net/mailit/sendmail.xpm
deleted file mode 100644
index 2803793..0000000
--- a/noncore/net/mailit/sendmail.xpm
+++ b/dev/null
@@ -1,20 +0,0 @@
-/* XPM */
-static char*sendmail[]={
-"16 13 4 1",
-"a c #c3c3c3",
-"# c #000000",
-". c None",
-"b c #ffffff",
-".....#####aaa...",
-"....####aaaaa.a.",
-"....#.###...aaa.",
-"....#..###..aaa.",
-".......###......",
-"..............aa",
-".bbbbbbbbbbbbbba",
-".bbb#bb#bbb###ba",
-".bb#b##bbbb#b#ba",
-".bbbbbbbbbb###ba",
-".bb#b###bbbbbbba",
-".bbb#bbbbbbbbbba",
-".bbbbbbbbbbbbbba"};
diff --git a/noncore/unsupported/mailit/emailclient.cpp b/noncore/unsupported/mailit/emailclient.cpp
index 7ba5c75..2e82623 100644
--- a/noncore/unsupported/mailit/emailclient.cpp
+++ b/noncore/unsupported/mailit/emailclient.cpp
@@ -143,12 +143,12 @@ void EmailClient::init()
bar = new QToolBar(this);
- getMailButton = new QAction(tr("Get all mail"), QPixmap("getmail.xpm"), QString::null, 0, this, 0);
+ getMailButton = new QAction(tr("Get all mail"), Resource::loadPixmap("mailit/getmail"), QString::null, 0, this, 0);
connect(getMailButton, SIGNAL(activated()), this, SLOT(getAllNewMail()) );
getMailButton->addTo(bar);
getMailButton->addTo(mail);
- sendMailButton = new QAction(tr("Send mail"), QPixmap("sendmail.xpm"), QString::null, 0, this, 0);
+ sendMailButton = new QAction(tr("Send mail"), Resource::loadPixmap("mailit/sendmail"), QString::null, 0, this, 0);
connect(sendMailButton, SIGNAL(activated()), this, SLOT(sendQuedMail()) );
sendMailButton->addTo(bar);
sendMailButton->addTo(mail);
diff --git a/noncore/unsupported/mailit/getmail.xpm b/noncore/unsupported/mailit/getmail.xpm
deleted file mode 100644
index d294656..0000000
--- a/noncore/unsupported/mailit/getmail.xpm
+++ b/dev/null
@@ -1,21 +0,0 @@
-/* XPM */
-static char*getmail[]={
-"16 13 5 1",
-"# c #040404",
-"a c #c3c3c3",
-"c c #000000",
-". c None",
-"b c #ffffff",
-".........###....",
-"........#...#.#.",
-".............##.",
-"............###.",
-"................",
-"..............aa",
-".bbbbbbbbbbbbbba",
-".bbbcbbcbbbcccba",
-".bbcbccbbbbcbcba",
-".bbbbbbbbbbcccba",
-".bbcbcccbbbbbbba",
-".bbbcbbbbbbbbbba",
-".bbbbbbbbbbbbbba"};
diff --git a/noncore/unsupported/mailit/sendmail.xpm b/noncore/unsupported/mailit/sendmail.xpm
deleted file mode 100644
index 2803793..0000000
--- a/noncore/unsupported/mailit/sendmail.xpm
+++ b/dev/null
@@ -1,20 +0,0 @@
-/* XPM */
-static char*sendmail[]={
-"16 13 4 1",
-"a c #c3c3c3",
-"# c #000000",
-". c None",
-"b c #ffffff",
-".....#####aaa...",
-"....####aaaaa.a.",
-"....#.###...aaa.",
-"....#..###..aaa.",
-".......###......",
-"..............aa",
-".bbbbbbbbbbbbbba",
-".bbb#bb#bbb###ba",
-".bb#b##bbbb#b#ba",
-".bbbbbbbbbb###ba",
-".bb#b###bbbbbbba",
-".bbb#bbbbbbbbbba",
-".bbbbbbbbbbbbbba"};