summaryrefslogtreecommitdiff
Unidiff
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
@@ -134,30 +134,30 @@ void EmailClient::init()
134 mb->insertItem( tr( "Accounts" ), configure); 134 mb->insertItem( tr( "Accounts" ), configure);
135 135
136 selectAccountMenu = new QPopupMenu(mb); 136 selectAccountMenu = new QPopupMenu(mb);
137 editAccountMenu = new QPopupMenu(mb); 137 editAccountMenu = new QPopupMenu(mb);
138 deleteAccountMenu = new QPopupMenu(mb); 138 deleteAccountMenu = new QPopupMenu(mb);
139 139
140 mail->insertItem(tr("Get Mail in"), selectAccountMenu); 140 mail->insertItem(tr("Get Mail in"), selectAccountMenu);
141 configure->insertItem(tr("Edit account"), editAccountMenu); 141 configure->insertItem(tr("Edit account"), editAccountMenu);
142 configure->insertItem(tr("Delete account"), deleteAccountMenu); 142 configure->insertItem(tr("Delete account"), deleteAccountMenu);
143 143
144 bar = new QToolBar(this); 144 bar = new QToolBar(this);
145 145
146 getMailButton = new QAction(tr("Get all mail"), QPixmap("getmail.xpm"), QString::null, 0, this, 0); 146 getMailButton = new QAction(tr("Get all mail"), Resource::loadPixmap("mailit/getmail"), QString::null, 0, this, 0);
147 connect(getMailButton, SIGNAL(activated()), this, SLOT(getAllNewMail()) ); 147 connect(getMailButton, SIGNAL(activated()), this, SLOT(getAllNewMail()) );
148 getMailButton->addTo(bar); 148 getMailButton->addTo(bar);
149 getMailButton->addTo(mail); 149 getMailButton->addTo(mail);
150 150
151 sendMailButton = new QAction(tr("Send mail"), QPixmap("sendmail.xpm"), QString::null, 0, this, 0); 151 sendMailButton = new QAction(tr("Send mail"), Resource::loadPixmap("mailit/sendmail"), QString::null, 0, this, 0);
152 connect(sendMailButton, SIGNAL(activated()), this, SLOT(sendQuedMail()) ); 152 connect(sendMailButton, SIGNAL(activated()), this, SLOT(sendQuedMail()) );
153 sendMailButton->addTo(bar); 153 sendMailButton->addTo(bar);
154 sendMailButton->addTo(mail); 154 sendMailButton->addTo(mail);
155 155
156 composeButton = new QAction(tr("Compose"), Resource::loadPixmap("new"), QString::null, 0, this, 0); 156 composeButton = new QAction(tr("Compose"), Resource::loadPixmap("new"), QString::null, 0, this, 0);
157 connect(composeButton, SIGNAL(activated()), this, SLOT(compose()) ); 157 connect(composeButton, SIGNAL(activated()), this, SLOT(compose()) );
158 composeButton->addTo(bar); 158 composeButton->addTo(bar);
159 composeButton->addTo(mail); 159 composeButton->addTo(mail);
160 160
161 cancelButton = new QAction(tr("Cancel transfer"), Resource::loadPixmap("reset"), QString::null, 0, this, 0); 161 cancelButton = new QAction(tr("Cancel transfer"), Resource::loadPixmap("reset"), QString::null, 0, this, 0);
162 connect(cancelButton, SIGNAL(activated()), this, SLOT(cancel()) ); 162 connect(cancelButton, SIGNAL(activated()), this, SLOT(cancel()) );
163 cancelButton->addTo(mail); 163 cancelButton->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 @@
1/* XPM */
2static char*getmail[]={
3"16 13 5 1",
4"# c #040404",
5"a c #c3c3c3",
6"c c #000000",
7". c None",
8"b c #ffffff",
9".........###....",
10"........#...#.#.",
11".............##.",
12"............###.",
13"................",
14"..............aa",
15".bbbbbbbbbbbbbba",
16".bbbcbbcbbbcccba",
17".bbcbccbbbbcbcba",
18".bbbbbbbbbbcccba",
19".bbcbcccbbbbbbba",
20".bbbcbbbbbbbbbba",
21".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 @@
1/* XPM */
2static char*sendmail[]={
3"16 13 4 1",
4"a c #c3c3c3",
5"# c #000000",
6". c None",
7"b c #ffffff",
8".....#####aaa...",
9"....####aaaaa.a.",
10"....#.###...aaa.",
11"....#..###..aaa.",
12".......###......",
13"..............aa",
14".bbbbbbbbbbbbbba",
15".bbb#bb#bbb###ba",
16".bb#b##bbbb#b#ba",
17".bbbbbbbbbb###ba",
18".bb#b###bbbbbbba",
19".bbb#bbbbbbbbbba",
20".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
@@ -134,30 +134,30 @@ void EmailClient::init()
134 mb->insertItem( tr( "Accounts" ), configure); 134 mb->insertItem( tr( "Accounts" ), configure);
135 135
136 selectAccountMenu = new QPopupMenu(mb); 136 selectAccountMenu = new QPopupMenu(mb);
137 editAccountMenu = new QPopupMenu(mb); 137 editAccountMenu = new QPopupMenu(mb);
138 deleteAccountMenu = new QPopupMenu(mb); 138 deleteAccountMenu = new QPopupMenu(mb);
139 139
140 mail->insertItem(tr("Get Mail in"), selectAccountMenu); 140 mail->insertItem(tr("Get Mail in"), selectAccountMenu);
141 configure->insertItem(tr("Edit account"), editAccountMenu); 141 configure->insertItem(tr("Edit account"), editAccountMenu);
142 configure->insertItem(tr("Delete account"), deleteAccountMenu); 142 configure->insertItem(tr("Delete account"), deleteAccountMenu);
143 143
144 bar = new QToolBar(this); 144 bar = new QToolBar(this);
145 145
146 getMailButton = new QAction(tr("Get all mail"), QPixmap("getmail.xpm"), QString::null, 0, this, 0); 146 getMailButton = new QAction(tr("Get all mail"), Resource::loadPixmap("mailit/getmail"), QString::null, 0, this, 0);
147 connect(getMailButton, SIGNAL(activated()), this, SLOT(getAllNewMail()) ); 147 connect(getMailButton, SIGNAL(activated()), this, SLOT(getAllNewMail()) );
148 getMailButton->addTo(bar); 148 getMailButton->addTo(bar);
149 getMailButton->addTo(mail); 149 getMailButton->addTo(mail);
150 150
151 sendMailButton = new QAction(tr("Send mail"), QPixmap("sendmail.xpm"), QString::null, 0, this, 0); 151 sendMailButton = new QAction(tr("Send mail"), Resource::loadPixmap("mailit/sendmail"), QString::null, 0, this, 0);
152 connect(sendMailButton, SIGNAL(activated()), this, SLOT(sendQuedMail()) ); 152 connect(sendMailButton, SIGNAL(activated()), this, SLOT(sendQuedMail()) );
153 sendMailButton->addTo(bar); 153 sendMailButton->addTo(bar);
154 sendMailButton->addTo(mail); 154 sendMailButton->addTo(mail);
155 155
156 composeButton = new QAction(tr("Compose"), Resource::loadPixmap("new"), QString::null, 0, this, 0); 156 composeButton = new QAction(tr("Compose"), Resource::loadPixmap("new"), QString::null, 0, this, 0);
157 connect(composeButton, SIGNAL(activated()), this, SLOT(compose()) ); 157 connect(composeButton, SIGNAL(activated()), this, SLOT(compose()) );
158 composeButton->addTo(bar); 158 composeButton->addTo(bar);
159 composeButton->addTo(mail); 159 composeButton->addTo(mail);
160 160
161 cancelButton = new QAction(tr("Cancel transfer"), Resource::loadPixmap("reset"), QString::null, 0, this, 0); 161 cancelButton = new QAction(tr("Cancel transfer"), Resource::loadPixmap("reset"), QString::null, 0, this, 0);
162 connect(cancelButton, SIGNAL(activated()), this, SLOT(cancel()) ); 162 connect(cancelButton, SIGNAL(activated()), this, SLOT(cancel()) );
163 cancelButton->addTo(mail); 163 cancelButton->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 @@
1/* XPM */
2static char*getmail[]={
3"16 13 5 1",
4"# c #040404",
5"a c #c3c3c3",
6"c c #000000",
7". c None",
8"b c #ffffff",
9".........###....",
10"........#...#.#.",
11".............##.",
12"............###.",
13"................",
14"..............aa",
15".bbbbbbbbbbbbbba",
16".bbbcbbcbbbcccba",
17".bbcbccbbbbcbcba",
18".bbbbbbbbbbcccba",
19".bbcbcccbbbbbbba",
20".bbbcbbbbbbbbbba",
21".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 @@
1/* XPM */
2static char*sendmail[]={
3"16 13 4 1",
4"a c #c3c3c3",
5"# c #000000",
6". c None",
7"b c #ffffff",
8".....#####aaa...",
9"....####aaaaa.a.",
10"....#.###...aaa.",
11"....#..###..aaa.",
12".......###......",
13"..............aa",
14".bbbbbbbbbbbbbba",
15".bbb#bb#bbb###ba",
16".bb#b##bbbb#b#ba",
17".bbbbbbbbbb###ba",
18".bb#b###bbbbbbba",
19".bbb#bbbbbbbbbba",
20".bbbbbbbbbbbbbba"};