35 files changed, 4 insertions, 1 deletions
diff --git a/bin/kdepim/kmicromail/icons22/SettingsIcon.png b/bin/kdepim/kmicromail/icons22/SettingsIcon.png new file mode 100644 index 0000000..2cbc1da --- a/dev/null +++ b/bin/kdepim/kmicromail/icons22/SettingsIcon.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kmicromail/icons22/add.png b/bin/kdepim/kmicromail/icons22/add.png new file mode 100644 index 0000000..6dce81c --- a/dev/null +++ b/bin/kdepim/kmicromail/icons22/add.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kmicromail/icons22/addbook.png b/bin/kdepim/kmicromail/icons22/addbook.png new file mode 100644 index 0000000..7596e67 --- a/dev/null +++ b/bin/kdepim/kmicromail/icons22/addbook.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kmicromail/icons22/attach.png b/bin/kdepim/kmicromail/icons22/attach.png new file mode 100644 index 0000000..2760b33 --- a/dev/null +++ b/bin/kdepim/kmicromail/icons22/attach.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kmicromail/icons22/composemail.png b/bin/kdepim/kmicromail/icons22/composemail.png new file mode 100644 index 0000000..5f17176 --- a/dev/null +++ b/bin/kdepim/kmicromail/icons22/composemail.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kmicromail/icons22/edit.png b/bin/kdepim/kmicromail/icons22/edit.png new file mode 100644 index 0000000..dfbaa04 --- a/dev/null +++ b/bin/kdepim/kmicromail/icons22/edit.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kmicromail/icons22/editaccounts.png b/bin/kdepim/kmicromail/icons22/editaccounts.png new file mode 100644 index 0000000..ba82b2c --- a/dev/null +++ b/bin/kdepim/kmicromail/icons22/editaccounts.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kmicromail/icons22/enter.png b/bin/kdepim/kmicromail/icons22/enter.png new file mode 100644 index 0000000..31c064b --- a/dev/null +++ b/bin/kdepim/kmicromail/icons22/enter.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kmicromail/icons22/forward.png b/bin/kdepim/kmicromail/icons22/forward.png new file mode 100644 index 0000000..919b41e --- a/dev/null +++ b/bin/kdepim/kmicromail/icons22/forward.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kmicromail/icons22/ftechmail.png b/bin/kdepim/kmicromail/icons22/ftechmail.png new file mode 100644 index 0000000..d8d2deb --- a/dev/null +++ b/bin/kdepim/kmicromail/icons22/ftechmail.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kmicromail/icons22/html.png b/bin/kdepim/kmicromail/icons22/html.png new file mode 100644 index 0000000..d0df8e9 --- a/dev/null +++ b/bin/kdepim/kmicromail/icons22/html.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kmicromail/icons22/imapfolder.png b/bin/kdepim/kmicromail/icons22/imapfolder.png new file mode 100644 index 0000000..f7a2901 --- a/dev/null +++ b/bin/kdepim/kmicromail/icons22/imapfolder.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kmicromail/icons22/inbox.png b/bin/kdepim/kmicromail/icons22/inbox.png new file mode 100644 index 0000000..b34f5fe --- a/dev/null +++ b/bin/kdepim/kmicromail/icons22/inbox.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kmicromail/icons22/kmicromail.png b/bin/kdepim/kmicromail/icons22/kmicromail.png new file mode 100755 index 0000000..6c707a8 --- a/dev/null +++ b/bin/kdepim/kmicromail/icons22/kmicromail.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kmicromail/icons22/kmmsgnew.png b/bin/kdepim/kmicromail/icons22/kmmsgnew.png new file mode 100644 index 0000000..245d156 --- a/dev/null +++ b/bin/kdepim/kmicromail/icons22/kmmsgnew.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kmicromail/icons22/kmmsgreplied.png b/bin/kdepim/kmicromail/icons22/kmmsgreplied.png new file mode 100644 index 0000000..685ab73 --- a/dev/null +++ b/bin/kdepim/kmicromail/icons22/kmmsgreplied.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kmicromail/icons22/kmmsgunseen.png b/bin/kdepim/kmicromail/icons22/kmmsgunseen.png new file mode 100644 index 0000000..8e3de20 --- a/dev/null +++ b/bin/kdepim/kmicromail/icons22/kmmsgunseen.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kmicromail/icons22/localfolder.png b/bin/kdepim/kmicromail/icons22/localfolder.png new file mode 100644 index 0000000..6b0ac61 --- a/dev/null +++ b/bin/kdepim/kmicromail/icons22/localfolder.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kmicromail/icons22/mail_new.png b/bin/kdepim/kmicromail/icons22/mail_new.png new file mode 100644 index 0000000..5f17176 --- a/dev/null +++ b/bin/kdepim/kmicromail/icons22/mail_new.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kmicromail/icons22/mboxfolder.png b/bin/kdepim/kmicromail/icons22/mboxfolder.png new file mode 100644 index 0000000..5012829 --- a/dev/null +++ b/bin/kdepim/kmicromail/icons22/mboxfolder.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kmicromail/icons22/newmail.png b/bin/kdepim/kmicromail/icons22/newmail.png new file mode 100644 index 0000000..5f17176 --- a/dev/null +++ b/bin/kdepim/kmicromail/icons22/newmail.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kmicromail/icons22/notconnected.png b/bin/kdepim/kmicromail/icons22/notconnected.png new file mode 100644 index 0000000..3c93f1a --- a/dev/null +++ b/bin/kdepim/kmicromail/icons22/notconnected.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kmicromail/icons22/outbox.png b/bin/kdepim/kmicromail/icons22/outbox.png new file mode 100644 index 0000000..3c81b43 --- a/dev/null +++ b/bin/kdepim/kmicromail/icons22/outbox.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kmicromail/icons22/pop3folder.png b/bin/kdepim/kmicromail/icons22/pop3folder.png new file mode 100644 index 0000000..65baa24 --- a/dev/null +++ b/bin/kdepim/kmicromail/icons22/pop3folder.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kmicromail/icons22/remove.png b/bin/kdepim/kmicromail/icons22/remove.png new file mode 100644 index 0000000..2db1ce6 --- a/dev/null +++ b/bin/kdepim/kmicromail/icons22/remove.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kmicromail/icons22/reply.png b/bin/kdepim/kmicromail/icons22/reply.png new file mode 100644 index 0000000..e0f50a7 --- a/dev/null +++ b/bin/kdepim/kmicromail/icons22/reply.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kmicromail/icons22/sendall.png b/bin/kdepim/kmicromail/icons22/sendall.png new file mode 100644 index 0000000..742a40b --- a/dev/null +++ b/bin/kdepim/kmicromail/icons22/sendall.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kmicromail/icons22/sendmail.png b/bin/kdepim/kmicromail/icons22/sendmail.png new file mode 100644 index 0000000..732b5b6 --- a/dev/null +++ b/bin/kdepim/kmicromail/icons22/sendmail.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kmicromail/icons22/sendqueue.png b/bin/kdepim/kmicromail/icons22/sendqueue.png new file mode 100644 index 0000000..a379214 --- a/dev/null +++ b/bin/kdepim/kmicromail/icons22/sendqueue.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kmicromail/icons22/sendqueued.png b/bin/kdepim/kmicromail/icons22/sendqueued.png new file mode 100644 index 0000000..a802f04 --- a/dev/null +++ b/bin/kdepim/kmicromail/icons22/sendqueued.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kmicromail/icons22/showfolders.png b/bin/kdepim/kmicromail/icons22/showfolders.png new file mode 100644 index 0000000..f3e3084 --- a/dev/null +++ b/bin/kdepim/kmicromail/icons22/showfolders.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kmicromail/icons22/showpasswd.png b/bin/kdepim/kmicromail/icons22/showpasswd.png new file mode 100644 index 0000000..e78e564 --- a/dev/null +++ b/bin/kdepim/kmicromail/icons22/showpasswd.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kmicromail/icons22/sync.png b/bin/kdepim/kmicromail/icons22/sync.png new file mode 100644 index 0000000..3fa8db7 --- a/dev/null +++ b/bin/kdepim/kmicromail/icons22/sync.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kmicromail/icons22/trash.png b/bin/kdepim/kmicromail/icons22/trash.png new file mode 100644 index 0000000..8b6e4ab --- a/dev/null +++ b/bin/kdepim/kmicromail/icons22/trash.png | |||
Binary files differ | |||
diff --git a/kmicromail/main.cpp b/kmicromail/main.cpp index f2879e8..a4f6a06 100644 --- a/kmicromail/main.cpp +++ b/kmicromail/main.cpp | |||
@@ -1,55 +1,58 @@ | |||
1 | 1 | ||
2 | #ifndef DESKTOP_VERSION | 2 | #ifndef DESKTOP_VERSION |
3 | #include <qpe/qpeapplication.h> | 3 | #include <qpe/qpeapplication.h> |
4 | #include <stdlib.h> | 4 | #include <stdlib.h> |
5 | #else | 5 | #else |
6 | #include <qapplication.h> | 6 | #include <qapplication.h> |
7 | #include <qstring.h> | 7 | #include <qstring.h> |
8 | #include <qwindowsstyle.h> | 8 | #include <qwindowsstyle.h> |
9 | #include <qplatinumstyle.h> | 9 | #include <qplatinumstyle.h> |
10 | #include <qsgistyle.h> | 10 | #include <qsgistyle.h> |
11 | #endif | 11 | #endif |
12 | #include "opiemail.h" | 12 | #include "opiemail.h" |
13 | #include <qdir.h> | 13 | #include <qdir.h> |
14 | #include <kstandarddirs.h> | 14 | #include <kstandarddirs.h> |
15 | #include <kglobal.h> | 15 | #include <kglobal.h> |
16 | #include <stdio.h> | 16 | #include <stdio.h> |
17 | #include "mainwindow.h" | 17 | #include "mainwindow.h" |
18 | 18 | ||
19 | using namespace Opie::Core; | 19 | using namespace Opie::Core; |
20 | int main( int argc, char **argv ) { | 20 | int main( int argc, char **argv ) { |
21 | 21 | ||
22 | #ifndef DESKTOP_VERSION | 22 | #ifndef DESKTOP_VERSION |
23 | QPEApplication a( argc, argv ); | 23 | QPEApplication a( argc, argv ); |
24 | a.setKeepRunning (); | 24 | a.setKeepRunning (); |
25 | #else | 25 | #else |
26 | QApplication a( argc, argv ); | 26 | QApplication a( argc, argv ); |
27 | QApplication::setStyle( new QPlatinumStyle ()); | 27 | QApplication::setStyle( new QPlatinumStyle ()); |
28 | #endif | 28 | #endif |
29 | 29 | ||
30 | KGlobal::setAppName( "kmicromail" ); | 30 | KGlobal::setAppName( "kmicromail" ); |
31 | QString fileName ; | 31 | QString fileName ; |
32 | #ifndef DESKTOP_VERSION | 32 | #ifndef DESKTOP_VERSION |
33 | fileName = getenv("QPEDIR"); | 33 | fileName = getenv("QPEDIR"); |
34 | KGlobal::iconLoader()->setIconPath( fileName +"/pics/kdepim/kmicromail/"); | 34 | if ( QApplication::desktop()->width() > 320 ) |
35 | KGlobal::iconLoader()->setIconPath( fileName +"/pics/kdepim/kmicromail/icons22/"); | ||
36 | else | ||
37 | KGlobal::iconLoader()->setIconPath( fileName +"/pics/kdepim/kmicromail/"); | ||
35 | #else | 38 | #else |
36 | fileName = qApp->applicationDirPath () + "/kdepim/kmicromail/"; | 39 | fileName = qApp->applicationDirPath () + "/kdepim/kmicromail/"; |
37 | KGlobal::iconLoader()->setIconPath(QDir::convertSeparators(fileName)); | 40 | KGlobal::iconLoader()->setIconPath(QDir::convertSeparators(fileName)); |
38 | #endif | 41 | #endif |
39 | KStandardDirs::setAppDir( QDir::convertSeparators(locateLocal("data", "kmicromail"))); | 42 | KStandardDirs::setAppDir( QDir::convertSeparators(locateLocal("data", "kmicromail"))); |
40 | OpieMail* mw = new OpieMail(); | 43 | OpieMail* mw = new OpieMail(); |
41 | #ifndef DESKTOP_VERSION | 44 | #ifndef DESKTOP_VERSION |
42 | //qDebug("CONNECT "); | 45 | //qDebug("CONNECT "); |
43 | QObject::connect( &a, SIGNAL (appMessage ( const QCString &, const QByteArray & )),mw, SLOT(message( const QCString&, const QByteArray& ))); | 46 | QObject::connect( &a, SIGNAL (appMessage ( const QCString &, const QByteArray & )),mw, SLOT(message( const QCString&, const QByteArray& ))); |
44 | a.showMainWidget(mw ); | 47 | a.showMainWidget(mw ); |
45 | #else | 48 | #else |
46 | a.setMainWidget(mw ); | 49 | a.setMainWidget(mw ); |
47 | m.show(); | 50 | m.show(); |
48 | //m.resize( 800, 600 ); | 51 | //m.resize( 800, 600 ); |
49 | #endif | 52 | #endif |
50 | QObject::connect(&a, SIGNAL(lastWindowClosed()), &a, SLOT(quit())); | 53 | QObject::connect(&a, SIGNAL(lastWindowClosed()), &a, SLOT(quit())); |
51 | int rv = a.exec(); | 54 | int rv = a.exec(); |
52 | delete mw; | 55 | delete mw; |
53 | return rv; | 56 | return rv; |
54 | 57 | ||
55 | } | 58 | } |