author | llornkcor <llornkcor> | 2003-04-06 18:53:54 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2003-04-06 18:53:54 (UTC) |
commit | 5628a65ad0a6139e2a05b45e5f62794f12ff3d0f (patch) (side-by-side diff) | |
tree | a338cd8b4481cbed2fdc531588e9096afde2a233 /noncore | |
parent | 215efb47060fbfe67deb4b1bbd14c44ae08caed6 (diff) | |
download | opie-5628a65ad0a6139e2a05b45e5f62794f12ff3d0f.zip opie-5628a65ad0a6139e2a05b45e5f62794f12ff3d0f.tar.gz opie-5628a65ad0a6139e2a05b45e5f62794f12ff3d0f.tar.bz2 |
change icons to pics dir
-rw-r--r-- | noncore/net/mailit/emailclient.cpp | 4 | ||||
-rw-r--r-- | noncore/net/mailit/getmail.xpm | 21 | ||||
-rw-r--r-- | noncore/net/mailit/sendmail.xpm | 20 | ||||
-rw-r--r-- | noncore/unsupported/mailit/emailclient.cpp | 4 | ||||
-rw-r--r-- | noncore/unsupported/mailit/getmail.xpm | 21 | ||||
-rw-r--r-- | noncore/unsupported/mailit/sendmail.xpm | 20 |
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() mb->insertItem( tr( "Accounts" ), configure); selectAccountMenu = new QPopupMenu(mb); editAccountMenu = new QPopupMenu(mb); deleteAccountMenu = new QPopupMenu(mb); mail->insertItem(tr("Get Mail in"), selectAccountMenu); configure->insertItem(tr("Edit account"), editAccountMenu); configure->insertItem(tr("Delete account"), deleteAccountMenu); 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); composeButton = new QAction(tr("Compose"), Resource::loadPixmap("new"), QString::null, 0, this, 0); connect(composeButton, SIGNAL(activated()), this, SLOT(compose()) ); composeButton->addTo(bar); composeButton->addTo(mail); cancelButton = new QAction(tr("Cancel transfer"), Resource::loadPixmap("reset"), QString::null, 0, this, 0); connect(cancelButton, SIGNAL(activated()), this, SLOT(cancel()) ); 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 @@ -/* 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 @@ -134,30 +134,30 @@ void EmailClient::init() mb->insertItem( tr( "Accounts" ), configure); selectAccountMenu = new QPopupMenu(mb); editAccountMenu = new QPopupMenu(mb); deleteAccountMenu = new QPopupMenu(mb); mail->insertItem(tr("Get Mail in"), selectAccountMenu); configure->insertItem(tr("Edit account"), editAccountMenu); configure->insertItem(tr("Delete account"), deleteAccountMenu); 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); composeButton = new QAction(tr("Compose"), Resource::loadPixmap("new"), QString::null, 0, this, 0); connect(composeButton, SIGNAL(activated()), this, SLOT(compose()) ); composeButton->addTo(bar); composeButton->addTo(mail); cancelButton = new QAction(tr("Cancel transfer"), Resource::loadPixmap("reset"), QString::null, 0, this, 0); connect(cancelButton, SIGNAL(activated()), this, SLOT(cancel()) ); 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 @@ -/* 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"}; |