author | zautrix <zautrix> | 2004-07-04 14:48:38 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-07-04 14:48:38 (UTC) |
commit | 646f439eea8e96d6abec0bcd10f4c46abe243f86 (patch) (unidiff) | |
tree | d52dde119bb1a1b819ec3fe6f2c7cd0144088263 | |
parent | 2978e6b5327f619dc8e295685f46640158e1fab0 (diff) | |
download | kdepimpi-646f439eea8e96d6abec0bcd10f4c46abe243f86.zip kdepimpi-646f439eea8e96d6abec0bcd10f4c46abe243f86.tar.gz kdepimpi-646f439eea8e96d6abec0bcd10f4c46abe243f86.tar.bz2 |
Added 22x22 icons for 7x0
44 files changed, 4 insertions, 1 deletions
diff --git a/bin/kdepim/kaddressbook/icons22/1downarrow.png b/bin/kdepim/kaddressbook/icons22/1downarrow.png new file mode 100644 index 0000000..6dce81c --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/1downarrow.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons22/1leftarrow.png b/bin/kdepim/kaddressbook/icons22/1leftarrow.png new file mode 100644 index 0000000..3e8f12f --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/1leftarrow.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons22/1leftarrowB.png b/bin/kdepim/kaddressbook/icons22/1leftarrowB.png new file mode 100644 index 0000000..7e3fda7 --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/1leftarrowB.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons22/1rightarrow.png b/bin/kdepim/kaddressbook/icons22/1rightarrow.png new file mode 100644 index 0000000..64e126b --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/1rightarrow.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons22/1rightarrowB.png b/bin/kdepim/kaddressbook/icons22/1rightarrowB.png new file mode 100644 index 0000000..3264e13 --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/1rightarrowB.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons22/1uparrow.png b/bin/kdepim/kaddressbook/icons22/1uparrow.png new file mode 100644 index 0000000..2db1ce6 --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/1uparrow.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons22/2downarrow.png b/bin/kdepim/kaddressbook/icons22/2downarrow.png new file mode 100644 index 0000000..2a5fcc5 --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/2downarrow.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons22/2leftarrow.png b/bin/kdepim/kaddressbook/icons22/2leftarrow.png new file mode 100644 index 0000000..327abae --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/2leftarrow.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons22/2leftarrowB.png b/bin/kdepim/kaddressbook/icons22/2leftarrowB.png new file mode 100644 index 0000000..4506c40 --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/2leftarrowB.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons22/2rightarrow.png b/bin/kdepim/kaddressbook/icons22/2rightarrow.png new file mode 100644 index 0000000..29585b0 --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/2rightarrow.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons22/2rightarrowB.png b/bin/kdepim/kaddressbook/icons22/2rightarrowB.png new file mode 100644 index 0000000..7210438 --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/2rightarrowB.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons22/2uparrow.png b/bin/kdepim/kaddressbook/icons22/2uparrow.png new file mode 100644 index 0000000..795162b --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/2uparrow.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons22/configure.png b/bin/kdepim/kaddressbook/icons22/configure.png new file mode 100644 index 0000000..96ba433 --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/configure.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons22/configure_resources.png b/bin/kdepim/kaddressbook/icons22/configure_resources.png new file mode 100644 index 0000000..0c95c52 --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/configure_resources.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons22/configure_shortcuts.png b/bin/kdepim/kaddressbook/icons22/configure_shortcuts.png new file mode 100644 index 0000000..400f342 --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/configure_shortcuts.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons22/edit.png b/bin/kdepim/kaddressbook/icons22/edit.png new file mode 100644 index 0000000..ce8b226 --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/edit.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons22/editcopy.png b/bin/kdepim/kaddressbook/icons22/editcopy.png new file mode 100644 index 0000000..eac4d8c --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/editcopy.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons22/editcut.png b/bin/kdepim/kaddressbook/icons22/editcut.png new file mode 100644 index 0000000..192b575 --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/editcut.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons22/editdelete.png b/bin/kdepim/kaddressbook/icons22/editdelete.png new file mode 100644 index 0000000..6fb193f --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/editdelete.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons22/editpaste.png b/bin/kdepim/kaddressbook/icons22/editpaste.png new file mode 100644 index 0000000..52b992a --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/editpaste.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons22/edittrash.png b/bin/kdepim/kaddressbook/icons22/edittrash.png new file mode 100644 index 0000000..eea039d --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/edittrash.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons22/exit.png b/bin/kdepim/kaddressbook/icons22/exit.png new file mode 100644 index 0000000..119e5ef --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/exit.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons22/filenew.png b/bin/kdepim/kaddressbook/icons22/filenew.png new file mode 100755 index 0000000..78ec0f8 --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/filenew.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons22/fileopen.png b/bin/kdepim/kaddressbook/icons22/fileopen.png new file mode 100644 index 0000000..a79982e --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/fileopen.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons22/fileprint.png b/bin/kdepim/kaddressbook/icons22/fileprint.png new file mode 100644 index 0000000..6ddf8ea --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/fileprint.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons22/filesave.png b/bin/kdepim/kaddressbook/icons22/filesave.png new file mode 100644 index 0000000..3bc2a37 --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/filesave.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons22/filter.png b/bin/kdepim/kaddressbook/icons22/filter.png new file mode 100644 index 0000000..80187fc --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/filter.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons22/gohome.png b/bin/kdepim/kaddressbook/icons22/gohome.png new file mode 100644 index 0000000..37a5231 --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/gohome.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons22/kaddressbook.png b/bin/kdepim/kaddressbook/icons22/kaddressbook.png new file mode 100644 index 0000000..ff5cfdf --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/kaddressbook.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons22/mail_post_to.png b/bin/kdepim/kaddressbook/icons22/mail_post_to.png new file mode 100644 index 0000000..384cbf3 --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/mail_post_to.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons22/mail_send.png b/bin/kdepim/kaddressbook/icons22/mail_send.png new file mode 100644 index 0000000..a802f04 --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/mail_send.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons22/next.png b/bin/kdepim/kaddressbook/icons22/next.png new file mode 100644 index 0000000..cfab7cf --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/next.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons22/package_network.png b/bin/kdepim/kaddressbook/icons22/package_network.png new file mode 100644 index 0000000..3f7323c --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/package_network.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons22/package_toys.png b/bin/kdepim/kaddressbook/icons22/package_toys.png new file mode 100644 index 0000000..eea4fc7 --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/package_toys.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons22/redo.png b/bin/kdepim/kaddressbook/icons22/redo.png new file mode 100644 index 0000000..6aacd4f --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/redo.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons22/reload.png b/bin/kdepim/kaddressbook/icons22/reload.png new file mode 100644 index 0000000..3fa8db7 --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/reload.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons22/smallcal.png b/bin/kdepim/kaddressbook/icons22/smallcal.png new file mode 100644 index 0000000..ea7af8e --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/smallcal.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons22/undo.png b/bin/kdepim/kaddressbook/icons22/undo.png new file mode 100644 index 0000000..d4b682b --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/undo.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons22/vcard.png b/bin/kdepim/kaddressbook/icons22/vcard.png new file mode 100644 index 0000000..a8b9429 --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/vcard.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons22/view_detailed.png b/bin/kdepim/kaddressbook/icons22/view_detailed.png new file mode 100644 index 0000000..19ab36e --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/view_detailed.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons22/view_remove.png b/bin/kdepim/kaddressbook/icons22/view_remove.png new file mode 100644 index 0000000..02511b7 --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/view_remove.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons22/window_new.png b/bin/kdepim/kaddressbook/icons22/window_new.png new file mode 100644 index 0000000..4d0a40a --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/window_new.png | |||
Binary files differ | |||
diff --git a/bin/kdepim/kaddressbook/icons22/world.png b/bin/kdepim/kaddressbook/icons22/world.png new file mode 100644 index 0000000..e515bdd --- a/dev/null +++ b/bin/kdepim/kaddressbook/icons22/world.png | |||
Binary files differ | |||
diff --git a/kaddressbook/mainembedded.cpp b/kaddressbook/mainembedded.cpp index b7d6b2b..c127601 100644 --- a/kaddressbook/mainembedded.cpp +++ b/kaddressbook/mainembedded.cpp | |||
@@ -10,65 +10,68 @@ | |||
10 | 10 | ||
11 | #include <kstandarddirs.h> | 11 | #include <kstandarddirs.h> |
12 | #include <kglobal.h> | 12 | #include <kglobal.h> |
13 | #include <stdio.h> | 13 | #include <stdio.h> |
14 | #include <qdir.h> | 14 | #include <qdir.h> |
15 | #include "kaddressbookmain.h" | 15 | #include "kaddressbookmain.h" |
16 | 16 | ||
17 | int main( int argc, char **argv ) | 17 | int main( int argc, char **argv ) |
18 | { | 18 | { |
19 | #ifndef DESKTOP_VERSION | 19 | #ifndef DESKTOP_VERSION |
20 | QPEApplication a( argc, argv ); | 20 | QPEApplication a( argc, argv ); |
21 | a.setKeepRunning (); | 21 | a.setKeepRunning (); |
22 | #else | 22 | #else |
23 | QApplication a( argc, argv ); | 23 | QApplication a( argc, argv ); |
24 | QApplication::setStyle( new QPlatinumStyle ()); | 24 | QApplication::setStyle( new QPlatinumStyle ()); |
25 | #endif | 25 | #endif |
26 | 26 | ||
27 | bool exitHelp = false; | 27 | bool exitHelp = false; |
28 | if ( argc > 1 ) { | 28 | if ( argc > 1 ) { |
29 | QString command = argv[1]; | 29 | QString command = argv[1]; |
30 | if ( command == "-help" ){ | 30 | if ( command == "-help" ){ |
31 | printf("KA/E command line commands:\n"); | 31 | printf("KA/E command line commands:\n"); |
32 | printf(" no command: Start KA/E in usual way\n"); | 32 | printf(" no command: Start KA/E in usual way\n"); |
33 | printf(" -help: This output\n"); | 33 | printf(" -help: This output\n"); |
34 | printf(" KA/E is exiting now. Bye!\n"); | 34 | printf(" KA/E is exiting now. Bye!\n"); |
35 | exitHelp = true; | 35 | exitHelp = true; |
36 | } | 36 | } |
37 | } | 37 | } |
38 | if ( ! exitHelp ) { | 38 | if ( ! exitHelp ) { |
39 | 39 | ||
40 | KGlobal::setAppName( "kaddressbook" ); | 40 | KGlobal::setAppName( "kaddressbook" ); |
41 | #ifndef DESKTOP_VERSION | 41 | #ifndef DESKTOP_VERSION |
42 | KGlobal::iconLoader()->setIconPath(QString(getenv("QPEDIR"))+"/pics/kdepim/kaddressbook/icons16/"); | 42 | if ( QApplication::desktop()->width() > 320 ) |
43 | KGlobal::iconLoader()->setIconPath(QString(getenv("QPEDIR"))+"/pics/kdepim/kaddressbook/icons22/"); | ||
44 | else | ||
45 | KGlobal::iconLoader()->setIconPath(QString(getenv("QPEDIR"))+"/pics/kdepim/kaddressbook/icons16/"); | ||
43 | #else | 46 | #else |
44 | QString fileName ; | 47 | QString fileName ; |
45 | fileName = qApp->applicationDirPath () + "/kdepim/kaddressbook/"; | 48 | fileName = qApp->applicationDirPath () + "/kdepim/kaddressbook/"; |
46 | KGlobal::iconLoader()->setIconPath(QDir::convertSeparators(fileName)); | 49 | KGlobal::iconLoader()->setIconPath(QDir::convertSeparators(fileName)); |
47 | 50 | ||
48 | #endif | 51 | #endif |
49 | KStandardDirs::setAppDir( QDir::convertSeparators(locateLocal("data", "kaddressbook"))); | 52 | KStandardDirs::setAppDir( QDir::convertSeparators(locateLocal("data", "kaddressbook"))); |
50 | KAddressBookMain* m = new KAddressBookMain(); | 53 | KAddressBookMain* m = new KAddressBookMain(); |
51 | //US MainWindow m; | 54 | //US MainWindow m; |
52 | //US QObject::connect( &a, SIGNAL (appMessage ( const QCString &, const QByteArray & )),&m, SLOT(recieve( const QCString&, const QByteArray& ))); | 55 | //US QObject::connect( &a, SIGNAL (appMessage ( const QCString &, const QByteArray & )),&m, SLOT(recieve( const QCString&, const QByteArray& ))); |
53 | 56 | ||
54 | #ifndef DESKTOP_VERSION | 57 | #ifndef DESKTOP_VERSION |
55 | a.showMainWidget(m ); | 58 | a.showMainWidget(m ); |
56 | m->showMaximized(); | 59 | m->showMaximized(); |
57 | #else | 60 | #else |
58 | a.setMainWidget(m ); | 61 | a.setMainWidget(m ); |
59 | m->show(); | 62 | m->show(); |
60 | //m->resize( 640, 480 ); | 63 | //m->resize( 640, 480 ); |
61 | #endif | 64 | #endif |
62 | a.exec(); | 65 | a.exec(); |
63 | 66 | ||
64 | } | 67 | } |
65 | qDebug("KA: Bye! "); | 68 | qDebug("KA: Bye! "); |
66 | } | 69 | } |
67 | 70 | ||
68 | /* | 71 | /* |
69 | #include <stdlib.h> | 72 | #include <stdlib.h> |
70 | 73 | ||
71 | #include <qstring.h> | 74 | #include <qstring.h> |
72 | 75 | ||
73 | #include <kabc/stdaddressbook.h> | 76 | #include <kabc/stdaddressbook.h> |
74 | #include <kaboutdata.h> | 77 | #include <kaboutdata.h> |