author | zautrix <zautrix> | 2005-03-28 11:59:41 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-03-28 11:59:41 (UTC) |
commit | 314908d5d9139af7711c6e425260363bb014afce (patch) (unidiff) | |
tree | 8b4a72042d6f2e158c64b6b1cbfb7ef002d2fd61 | |
parent | 9ff0641f33e63cc88e96d0066dba43b4699ca489 (diff) | |
download | kdepimpi-314908d5d9139af7711c6e425260363bb014afce.zip kdepimpi-314908d5d9139af7711c6e425260363bb014afce.tar.gz kdepimpi-314908d5d9139af7711c6e425260363bb014afce.tar.bz2 |
toolbar fix
-rw-r--r-- | bin/kdepim/WhatsNew.txt | 5 | ||||
-rw-r--r-- | bin/kdepim/korganizer/germantranslation.txt | 2 | ||||
-rw-r--r-- | korganizer/koprefs.cpp | 1 | ||||
-rw-r--r-- | korganizer/koprefs.h | 1 | ||||
-rw-r--r-- | korganizer/mainwindow.cpp | 70 |
5 files changed, 47 insertions, 32 deletions
diff --git a/bin/kdepim/WhatsNew.txt b/bin/kdepim/WhatsNew.txt index 0a01bab..da27fea 100644 --- a/bin/kdepim/WhatsNew.txt +++ b/bin/kdepim/WhatsNew.txt | |||
@@ -1,209 +1,212 @@ | |||
1 | Info about the changes in new versions of KDE-Pim/Pi | 1 | Info about the changes in new versions of KDE-Pim/Pi |
2 | 2 | ||
3 | ********** VERSION 2.0.22 ************ | 3 | ********** VERSION 2.0.22 ************ |
4 | 4 | ||
5 | 5 | KO/Pi: | |
6 | Fix for creating events/todos via the abgenda context menu. | ||
7 | Added option to split toolbar to 3 toolbars. | ||
8 | Added option to show one small filter-view-toolbar. | ||
6 | 9 | ||
7 | ********** VERSION 2.0.21 ************ | 10 | ********** VERSION 2.0.21 ************ |
8 | 11 | ||
9 | Fixed another SMTP problem in OM/Pi. | 12 | Fixed another SMTP problem in OM/Pi. |
10 | Some small changed in the new datenavigator in KO/Pi. | 13 | Some small changed in the new datenavigator in KO/Pi. |
11 | Changed default setting for new filter in KA/Pi to "exclude categories". | 14 | Changed default setting for new filter in KA/Pi to "exclude categories". |
12 | Changed the default font size for 640x480 display . | 15 | Changed the default font size for 640x480 display . |
13 | Changed popup menu behaviour in agenda and list view. | 16 | Changed popup menu behaviour in agenda and list view. |
14 | Fixed some layout problems of the date label size in the month view. | 17 | Fixed some layout problems of the date label size in the month view. |
15 | Made month view update faster. | 18 | Made month view update faster. |
16 | Made first datenavigator repainting faster. | 19 | Made first datenavigator repainting faster. |
17 | Changed the title of the event/todo edit dialogs. | 20 | Changed the title of the event/todo edit dialogs. |
18 | Timelabels in agenga changed from 22:00 to 22 oo. ( the oo higher, of course). | 21 | Timelabels in agenga changed from 22:00 to 22 oo. ( the oo higher, of course). |
19 | Many small usebility fixes in KO/Pi. | 22 | Many small usebility fixes in KO/Pi. |
20 | Pressing the "Calendar" button on the Z switches now to the next view in KO/Pi. | 23 | Pressing the "Calendar" button on the Z switches now to the next view in KO/Pi. |
21 | The set of possible "next views" are the views you have toolbar buttons for. | 24 | The set of possible "next views" are the views you have toolbar buttons for. |
22 | 25 | ||
23 | Made alarm sound working on Linux. | 26 | Made alarm sound working on Linux. |
24 | 27 | ||
25 | KO/Pi alarm applet changed: | 28 | KO/Pi alarm applet changed: |
26 | Made buttons in alarm dialog much bigger. | 29 | Made buttons in alarm dialog much bigger. |
27 | Made setting of timer more user friendly by showing the actual timer fire time and making the buttons in the timer settings much bigger. | 30 | Made setting of timer more user friendly by showing the actual timer fire time and making the buttons in the timer settings much bigger. |
28 | The goal was it to make it possible to use a finger tip ( and not the stylus ) on the touchscreen to adjust the settings. | 31 | The goal was it to make it possible to use a finger tip ( and not the stylus ) on the touchscreen to adjust the settings. |
29 | 32 | ||
30 | And because this version is realeased at Easter, I added an Easter-egg: | 33 | And because this version is realeased at Easter, I added an Easter-egg: |
31 | With a new undocumented command you can get a message box about the next alarm. | 34 | With a new undocumented command you can get a message box about the next alarm. |
32 | Good luck to find it! | 35 | Good luck to find it! |
33 | 36 | ||
34 | 37 | ||
35 | 38 | ||
36 | ********** VERSION 2.0.20 ************ | 39 | ********** VERSION 2.0.20 ************ |
37 | 40 | ||
38 | Two small fixes in OM/Pi. | 41 | Two small fixes in OM/Pi. |
39 | 42 | ||
40 | Better resizing of the new datenavigator in KO/Pi. | 43 | Better resizing of the new datenavigator in KO/Pi. |
41 | 44 | ||
42 | ********** VERSION 2.0.19 ************ | 45 | ********** VERSION 2.0.19 ************ |
43 | KO/Pi: | 46 | KO/Pi: |
44 | Enhancements and bugfixes in the new datenavigator. | 47 | Enhancements and bugfixes in the new datenavigator. |
45 | Bugfix in this changelog: | 48 | Bugfix in this changelog: |
46 | The datenavigator was changed in version 2.0.18, not the datepicker. | 49 | The datenavigator was changed in version 2.0.18, not the datepicker. |
47 | 50 | ||
48 | ********** VERSION 2.0.18 ************ | 51 | ********** VERSION 2.0.18 ************ |
49 | KO/Pi: | 52 | KO/Pi: |
50 | Fixed some minor problems. | 53 | Fixed some minor problems. |
51 | Cleaned up the KO/Pi config dialog. | 54 | Cleaned up the KO/Pi config dialog. |
52 | Fixed problem moving events in aganda view. | 55 | Fixed problem moving events in aganda view. |
53 | Made datepicker scaleable, i.e. if the datenavigator shows now a | 56 | Made datepicker scaleable, i.e. if the datenavigator shows now a |
54 | datenavigator matrix depending on its size. | 57 | datenavigator matrix depending on its size. |
55 | Birthdays are now displayed green in the datenavigator. | 58 | Birthdays are now displayed green in the datenavigator. |
56 | What'sThis Help in datenavigator shows all events of the day. | 59 | What'sThis Help in datenavigator shows all events of the day. |
57 | 60 | ||
58 | OM/Pi: | 61 | OM/Pi: |
59 | Updated the backend mail library to the latest version. | 62 | Updated the backend mail library to the latest version. |
60 | Please backup your mail before using this version. | 63 | Please backup your mail before using this version. |
61 | 64 | ||
62 | ********** VERSION 2.0.17 ************ | 65 | ********** VERSION 2.0.17 ************ |
63 | 66 | ||
64 | KO/Pi: | 67 | KO/Pi: |
65 | Tooltips in month view were not sorted. Fixed. | 68 | Tooltips in month view were not sorted. Fixed. |
66 | Daylabel in agenda view ( for display of one day ) was too short. Fixed. | 69 | Daylabel in agenda view ( for display of one day ) was too short. Fixed. |
67 | Conflict display dialog for syncing was not on top of other windows. Fixed. | 70 | Conflict display dialog for syncing was not on top of other windows. Fixed. |
68 | Fixed some minor problems. | 71 | Fixed some minor problems. |
69 | 72 | ||
70 | Fixed an endless loop when importing vcs file with RESOURCES entry. | 73 | Fixed an endless loop when importing vcs file with RESOURCES entry. |
71 | 74 | ||
72 | ********** VERSION 2.0.16 ************ | 75 | ********** VERSION 2.0.16 ************ |
73 | OM/Pi: | 76 | OM/Pi: |
74 | Fixed the SMTP account setting the option. | 77 | Fixed the SMTP account setting the option. |
75 | Fixed something in mail sending. | 78 | Fixed something in mail sending. |
76 | 79 | ||
77 | KO/Pi: | 80 | KO/Pi: |
78 | Added possibility to export selected events/todos as vcal file. | 81 | Added possibility to export selected events/todos as vcal file. |
79 | 82 | ||
80 | ********** VERSION 2.0.15 ************ | 83 | ********** VERSION 2.0.15 ************ |
81 | 84 | ||
82 | PwM/Pi: | 85 | PwM/Pi: |
83 | Added keyboard shorcuts for | 86 | Added keyboard shorcuts for |
84 | - toggling summary view (space bar) | 87 | - toggling summary view (space bar) |
85 | - delete item (delete + backspace key) | 88 | - delete item (delete + backspace key) |
86 | - add new item ( i + n key) | 89 | - add new item ( i + n key) |
87 | Fixed length of info in the title. | 90 | Fixed length of info in the title. |
88 | 91 | ||
89 | KO/Pi-KA/Pi: | 92 | KO/Pi-KA/Pi: |
90 | Changed "ME" menu bar entry to an icon. | 93 | Changed "ME" menu bar entry to an icon. |
91 | 94 | ||
92 | KO/Pi: | 95 | KO/Pi: |
93 | Fixed two minor bugs in displaying todos. | 96 | Fixed two minor bugs in displaying todos. |
94 | If in month view a cell is selected, the key shortcut "d" shows now that date. | 97 | If in month view a cell is selected, the key shortcut "d" shows now that date. |
95 | Added complete info for a todo in month view as an icon left of the text. | 98 | Added complete info for a todo in month view as an icon left of the text. |
96 | Fixed problems of displaying data when "<" or ">" are used in summary/location/description. | 99 | Fixed problems of displaying data when "<" or ">" are used in summary/location/description. |
97 | Fixed problem of search dialog size when switching displays. | 100 | Fixed problem of search dialog size when switching displays. |
98 | Cancel key now closes date picker. | 101 | Cancel key now closes date picker. |
99 | Rearranged KO/Pi file menu structure. | 102 | Rearranged KO/Pi file menu structure. |
100 | 103 | ||
101 | OM/Pi: | 104 | OM/Pi: |
102 | Added to the SMTP account setting the option | 105 | Added to the SMTP account setting the option |
103 | "No secure connection". | 106 | "No secure connection". |
104 | You have to configure your SMTP accounts again, sorry. | 107 | You have to configure your SMTP accounts again, sorry. |
105 | 108 | ||
106 | KA/Pi: | 109 | KA/Pi: |
107 | Added support for importing quoted-printable. | 110 | Added support for importing quoted-printable. |
108 | Support was added by Peter P.. Thanks, Peter! | 111 | Support was added by Peter P.. Thanks, Peter! |
109 | 112 | ||
110 | 113 | ||
111 | ********** VERSION 2.0.14 ************ | 114 | ********** VERSION 2.0.14 ************ |
112 | 115 | ||
113 | Made Passwordmanager PwM/Pi more userfriendly: | 116 | Made Passwordmanager PwM/Pi more userfriendly: |
114 | Rearranged some toolbar icons, optimized setting of focus, fixed layout problems and more. | 117 | Rearranged some toolbar icons, optimized setting of focus, fixed layout problems and more. |
115 | Fixed bug in KO/Pi todo printing. | 118 | Fixed bug in KO/Pi todo printing. |
116 | Made Qtopia calendar import possible on desktop . | 119 | Made Qtopia calendar import possible on desktop . |
117 | 120 | ||
118 | ********** VERSION 2.0.13 ************ | 121 | ********** VERSION 2.0.13 ************ |
119 | 122 | ||
120 | Fixed a problem in the addressee select dialog and made it more user friendly by adding a minimize splitter. | 123 | Fixed a problem in the addressee select dialog and made it more user friendly by adding a minimize splitter. |
121 | 124 | ||
122 | In the search dialog you can switch now the focus from search line edit to the list view by pressing key "arrow down". | 125 | In the search dialog you can switch now the focus from search line edit to the list view by pressing key "arrow down". |
123 | 126 | ||
124 | OM/Pi: | 127 | OM/Pi: |
125 | Fixed a refresh problem of outgoing/sent/sendfailed folders after sending mails. | 128 | Fixed a refresh problem of outgoing/sent/sendfailed folders after sending mails. |
126 | Added missing German translation. | 129 | Added missing German translation. |
127 | Added warning if path is specified in local folder settings of account config. | 130 | Added warning if path is specified in local folder settings of account config. |
128 | 131 | ||
129 | ********** VERSION 2.0.12 ************ | 132 | ********** VERSION 2.0.12 ************ |
130 | 133 | ||
131 | KO/Pi: | 134 | KO/Pi: |
132 | Fixed a bug in todo start/due date handling for non recurring todos with a start and due date. | 135 | Fixed a bug in todo start/due date handling for non recurring todos with a start and due date. |
133 | Fixed some layout problems in the KO/Pi agenda view when there were many conflicting itmes. | 136 | Fixed some layout problems in the KO/Pi agenda view when there were many conflicting itmes. |
134 | Fixed several problems of the keyboard focus in the desktop versions when opening the search dialog/event viewer. | 137 | Fixed several problems of the keyboard focus in the desktop versions when opening the search dialog/event viewer. |
135 | 138 | ||
136 | Fixed problem in pi-sync mode when wrong password was sent. | 139 | Fixed problem in pi-sync mode when wrong password was sent. |
137 | 140 | ||
138 | OM/Pi: | 141 | OM/Pi: |
139 | Fixed a crash when displaying mails with "Show mail as html" was checked in the config. | 142 | Fixed a crash when displaying mails with "Show mail as html" was checked in the config. |
140 | Added a check before displaying the mail if the mail is in html format, if "Show mail as html" is enabled. | 143 | Added a check before displaying the mail if the mail is in html format, if "Show mail as html" is enabled. |
141 | 144 | ||
142 | ********** VERSION 2.0.11 ************ | 145 | ********** VERSION 2.0.11 ************ |
143 | 146 | ||
144 | Fixed some problems in pi-sync mode | 147 | Fixed some problems in pi-sync mode |
145 | (e.g. details of events were not synced properly) | 148 | (e.g. details of events were not synced properly) |
146 | 149 | ||
147 | ********** VERSION 2.0.10 ************ | 150 | ********** VERSION 2.0.10 ************ |
148 | 151 | ||
149 | KO/Pi: | 152 | KO/Pi: |
150 | In the desktop versions the context menu in the search dialog was broken after introducing the What'sThis info for the list view. | 153 | In the desktop versions the context menu in the search dialog was broken after introducing the What'sThis info for the list view. |
151 | This is fixed. | 154 | This is fixed. |
152 | Changed the search dialog a bit to make it more user friendly. | 155 | Changed the search dialog a bit to make it more user friendly. |
153 | (E.g.: Removed message box about "no items found" and set key focus to search line edit after search). | 156 | (E.g.: Removed message box about "no items found" and set key focus to search line edit after search). |
154 | 157 | ||
155 | Added config option to hide the week number in KO/Pi toolbar. | 158 | Added config option to hide the week number in KO/Pi toolbar. |
156 | 159 | ||
157 | ********** VERSION 2.0.9 ************ | 160 | ********** VERSION 2.0.9 ************ |
158 | 161 | ||
159 | Made month view icons for multiday events a bit nicer. | 162 | Made month view icons for multiday events a bit nicer. |
160 | Some minor fixes in KO/Pi | 163 | Some minor fixes in KO/Pi |
161 | (e.g. go to today did not work for new week view properly). | 164 | (e.g. go to today did not work for new week view properly). |
162 | 165 | ||
163 | 166 | ||
164 | ********** VERSION 2.0.8 ************ | 167 | ********** VERSION 2.0.8 ************ |
165 | 168 | ||
166 | Fixed a problem in dependency info in the ipk files for the Zaurus. | 169 | Fixed a problem in dependency info in the ipk files for the Zaurus. |
167 | 170 | ||
168 | Added icon for the stealth new week view and made navigation more user friendly in monthview by adding a prev/next week button to the navigator bar. | 171 | Added icon for the stealth new week view and made navigation more user friendly in monthview by adding a prev/next week button to the navigator bar. |
169 | 172 | ||
170 | Added a "go today" button to the datepicker. | 173 | Added a "go today" button to the datepicker. |
171 | 174 | ||
172 | Added "created" and "last modified" to event/todo viewer (and What'sThis viewer) | 175 | Added "created" and "last modified" to event/todo viewer (and What'sThis viewer) |
173 | and made it configureable to show these values. | 176 | and made it configureable to show these values. |
174 | 177 | ||
175 | Fixed a problem for events (from external iCal files) that do have a duration but no end date. | 178 | Fixed a problem for events (from external iCal files) that do have a duration but no end date. |
176 | 179 | ||
177 | 180 | ||
178 | ********** VERSION 2.0.7 ************ | 181 | ********** VERSION 2.0.7 ************ |
179 | 182 | ||
180 | Added global application font settings | 183 | Added global application font settings |
181 | (for all KDE-Pim/Pi apps) to the general settings. | 184 | (for all KDE-Pim/Pi apps) to the general settings. |
182 | 185 | ||
183 | Fixed a problem in OM/Pi when trying to login to some IMAP servers | 186 | Fixed a problem in OM/Pi when trying to login to some IMAP servers |
184 | (like the IMAP server of Apple: mail.mac.com ) | 187 | (like the IMAP server of Apple: mail.mac.com ) |
185 | 188 | ||
186 | Added recurring todos to KO/Pi. | 189 | Added recurring todos to KO/Pi. |
187 | 190 | ||
188 | 191 | ||
189 | ********** VERSION 2.0.6 ************ | 192 | ********** VERSION 2.0.6 ************ |
190 | 193 | ||
191 | Stable release 2.0.6! | 194 | Stable release 2.0.6! |
192 | 195 | ||
193 | Some bugfixes in the pi-sync mode. | 196 | Some bugfixes in the pi-sync mode. |
194 | Added German translation for pi-sync mode. | 197 | Added German translation for pi-sync mode. |
195 | 198 | ||
196 | KO/Pi: | 199 | KO/Pi: |
197 | Made the todolist using alternate background. | 200 | Made the todolist using alternate background. |
198 | 201 | ||
199 | Other minor fixes in KO/Pi. | 202 | Other minor fixes in KO/Pi. |
200 | 203 | ||
201 | 204 | ||
202 | You can find the complete changelog | 205 | You can find the complete changelog |
203 | from version 1.7.7 to 2.0.5 | 206 | from version 1.7.7 to 2.0.5 |
204 | in the source package or on | 207 | in the source package or on |
205 | 208 | ||
206 | http://www.pi-sync.net/html/changelog.html | 209 | http://www.pi-sync.net/html/changelog.html |
207 | 210 | ||
208 | 211 | ||
209 | 212 | ||
diff --git a/bin/kdepim/korganizer/germantranslation.txt b/bin/kdepim/korganizer/germantranslation.txt index 5ef60be..732bb3f 100644 --- a/bin/kdepim/korganizer/germantranslation.txt +++ b/bin/kdepim/korganizer/germantranslation.txt | |||
@@ -1,1325 +1,1325 @@ | |||
1 | { "10 minutes","10 Minuten" }, | 1 | { "10 minutes","10 Minuten" }, |
2 | { "10th","10." }, | 2 | { "10th","10." }, |
3 | { "11th","11." }, | 3 | { "11th","11." }, |
4 | { "12 pm Format","12 AM/PM Format" }, | 4 | { "12 pm Format","12 AM/PM Format" }, |
5 | { "12th","12." }, | 5 | { "12th","12." }, |
6 | { "13th","13." }, | 6 | { "13th","13." }, |
7 | { "14th","14." }, | 7 | { "14th","14." }, |
8 | { "15th","15." }, | 8 | { "15th","15." }, |
9 | { "16th","16." }, | 9 | { "16th","16." }, |
10 | { "17th","17." }, | 10 | { "17th","17." }, |
11 | { "18th","18." }, | 11 | { "18th","18." }, |
12 | { "19th","19." }, | 12 | { "19th","19." }, |
13 | { "1 Day","1 Tag" }, | 13 | { "1 Day","1 Tag" }, |
14 | { "1 h","1 Std" }, | 14 | { "1 h","1 Std" }, |
15 | { "1 (high)","1 (hoch)" }, | 15 | { "1 (high)","1 (hoch)" }, |
16 | { "5 (low)","5" }, | 16 | { "5 (low)","5" }, |
17 | { "1st","1." }, | 17 | { "1st","1." }, |
18 | { "20th","20." }, | 18 | { "20th","20." }, |
19 | { "21st","21." }, | 19 | { "21st","21." }, |
20 | { "22nd","22." }, | 20 | { "22nd","22." }, |
21 | { "23rd","23." }, | 21 | { "23rd","23." }, |
22 | { "24:00 Hour Format","24:00 Stunden Format" }, | 22 | { "24:00 Hour Format","24:00 Stunden Format" }, |
23 | { "24th","24." }, | 23 | { "24th","24." }, |
24 | { "25th","25." }, | 24 | { "25th","25." }, |
25 | { "26th","26." }, | 25 | { "26th","26." }, |
26 | { "27th","27." }, | 26 | { "27th","27." }, |
27 | { "28th","28." }, | 27 | { "28th","28." }, |
28 | { "29th","29." }, | 28 | { "29th","29." }, |
29 | { "2nd","2." }, | 29 | { "2nd","2." }, |
30 | { "30 minutes","30 Minuten" }, | 30 | { "30 minutes","30 Minuten" }, |
31 | { "30th","30." }, | 31 | { "30th","30." }, |
32 | { "31st","31." }, | 32 | { "31st","31." }, |
33 | { "3rd","3." }, | 33 | { "3rd","3." }, |
34 | { "4th","4." }, | 34 | { "4th","4." }, |
35 | { "5 (lowest)","5 (Niedrigster)" }, | 35 | { "5 (lowest)","5 (Niedrigster)" }, |
36 | { "5th","5." }, | 36 | { "5th","5." }, |
37 | { "6th","6." }, | 37 | { "6th","6." }, |
38 | { "7th","7." }, | 38 | { "7th","7." }, |
39 | { "8th","8." }, | 39 | { "8th","8." }, |
40 | { "9th","9." }, | 40 | { "9th","9." }, |
41 | { "About...","Über..." }, | 41 | { "About...","Über..." }, |
42 | { "&Accept","&Akzeptieren" }, | 42 | { "&Accept","&Akzeptieren" }, |
43 | { "Accept","Akzeptieren" }, | 43 | { "Accept","Akzeptieren" }, |
44 | { "Accept A&ll","A&lles Akzepieren" }, | 44 | { "Accept A&ll","A&lles Akzepieren" }, |
45 | { "Access:","Zugriff:" }, | 45 | { "Access:","Zugriff:" }, |
46 | { "A corresponding event is missing in your calendar!","Ein zugehöriger Termin fehlt in ihrem Kalender!" }, | 46 | { "A corresponding event is missing in your calendar!","Ein zugehöriger Termin fehlt in ihrem Kalender!" }, |
47 | { "Actions","Aktionen" }, | 47 | { "Actions","Aktionen" }, |
48 | { "Add Filter","Filter Hinzufügen" }, | 48 | { "Add Filter","Filter Hinzufügen" }, |
49 | { "&Add","Hinzufügen" }, | 49 | { "&Add","Hinzufügen" }, |
50 | { "Add","Hinzufügen" }, | 50 | { "Add","Hinzufügen" }, |
51 | { "Additional email addresses:","Zusätzliche E-Mail Adressen:" }, | 51 | { "Additional email addresses:","Zusätzliche E-Mail Adressen:" }, |
52 | { "Additional email address:","Zusätzliche E-Mail Adresse:" }, | 52 | { "Additional email address:","Zusätzliche E-Mail Adresse:" }, |
53 | { "&Addressbook","&Adressbuch" }, | 53 | { "&Addressbook","&Adressbuch" }, |
54 | { "Address &Book...","Adress&buch..." }, | 54 | { "Address &Book...","Adress&buch..." }, |
55 | { "Agenda Size","Agende Größe" }, | 55 | { "Agenda Size","Agende Größe" }, |
56 | { "Agenda Size:","Größe der Agenda:" }, | 56 | { "Agenda Size:","Größe der Agenda:" }, |
57 | { "Agenda view:","Agenda Ansicht:" }, | 57 | { "Agenda view:","Agenda Ansicht:" }, |
58 | { "Agenda view background color:","Hintergrund der Agenda Ansicht:" }, | 58 | { "Agenda view background color:","Hintergrund der Agenda Ansicht:" }, |
59 | { "All attendees","Alle Teilnehmer" }, | 59 | { "All attendees","Alle Teilnehmer" }, |
60 | { "AllDayAgenda Height:","Höhe Ganztages Agenda:" }, | 60 | { "AllDayAgenda Height:","Höhe Ganztages Agenda:" }, |
61 | { "All day event","Ganztägig" }, | 61 | { "All day event","Ganztägig" }, |
62 | { "Anonymous","Anonym" }, | 62 | { "Anonymous","Anonym" }, |
63 | { "Apply","Anwenden" }, | 63 | { "Apply","Anwenden" }, |
64 | { "Apr","Apr" }, | 64 | { "Apr","Apr" }, |
65 | { "April","April" }, | 65 | { "April","April" }, |
66 | {"Ask for every entry on conflict","Frage bei Konflikten nach"}, | 66 | {"Ask for every entry on conflict","Frage bei Konflikten nach"}, |
67 | { "Ask for preferences before syncing","Vor dem Syncronisieren nachfragen" }, | 67 | { "Ask for preferences before syncing","Vor dem Syncronisieren nachfragen" }, |
68 | { "Ask for quit when closing KO/Pi","Vor dem Beenden von KO/Pi nachfragen" }, | 68 | { "Ask for quit when closing KO/Pi","Vor dem Beenden von KO/Pi nachfragen" }, |
69 | { "Attendees","Teilnehmer" }, | 69 | { "Attendees","Teilnehmer" }, |
70 | { "Aug","Aug" }, | 70 | { "Aug","Aug" }, |
71 | { "August","August" }, | 71 | { "August","August" }, |
72 | { "Auto-Save","Automatisches Abspeichern" }, | 72 | { "Auto-Save","Automatisches Abspeichern" }, |
73 | { "Auto save delay in minutes:","Verzög.autom.Speichern in Min" }, | 73 | { "Auto save delay in minutes:","Verzög.autom.Speichern in Min" }, |
74 | { "Auto saving...","Automatische Sicherung..." }, | 74 | { "Auto saving...","Automatische Sicherung..." }, |
75 | { "Begin on:","Starte mit:" }, | 75 | { "Begin on:","Starte mit:" }, |
76 | { "Begins on: %1","Starte mit: %1" }, | 76 | { "Begins on: %1","Starte mit: %1" }, |
77 | { "<b>From:</b> %1 <b>To:</b> %2","<b>Vom:</b> %1 <b>Zum:</b> %2" }, | 77 | { "<b>From:</b> %1 <b>To:</b> %2","<b>Vom:</b> %1 <b>Zum:</b> %2" }, |
78 | { "<b>On:</b> %1","<b>Am:</b> %1" }, | 78 | { "<b>On:</b> %1","<b>Am:</b> %1" }, |
79 | { "<b>On:</b> %1 <b>From:S</b> %2 <b>To:</b> %3","<b>Am:</b> %1 <b>Vom:S</b> %2 <b>Zum:</b> %3" }, | 79 | { "<b>On:</b> %1 <b>From:S</b> %2 <b>To:</b> %3","<b>Am:</b> %1 <b>Vom:S</b> %2 <b>Zum:</b> %3" }, |
80 | { "<b>Original event:</b><p>","<b>Original Termin:</b><p>" }, | 80 | { "<b>Original event:</b><p>","<b>Original Termin:</b><p>" }, |
81 | { " - both are modified after last sync"," - beide wurden nach der letzten Syncronisation verändert" }, | 81 | { " - both are modified after last sync"," - beide wurden nach der letzten Syncronisation verändert" }, |
82 | { "Busy","Belegt" }, | 82 | { "Busy","Belegt" }, |
83 | { "&Cancel","Abbre&chen" }, | 83 | { "&Cancel","Abbre&chen" }, |
84 | { "Cancel","Abbrechen" }, | 84 | { "Cancel","Abbrechen" }, |
85 | { "Cannot delete To-Do\nwhich has children.","Kann Todo nicht löschen,\n da noch Einträge vorhanden sind" }, | 85 | { "Cannot delete To-Do\nwhich has children.","Kann Todo nicht löschen,\n da noch Einträge vorhanden sind" }, |
86 | { "Can't generate mail:\nNo event selected.","Kann e-Mail nicht erstellen:\nKein Termin ausgewählt." }, | 86 | { "Can't generate mail:\nNo event selected.","Kann e-Mail nicht erstellen:\nKein Termin ausgewählt." }, |
87 | { "Categories...","Kategorien..." }, | 87 | { "Categories...","Kategorien..." }, |
88 | { "Categories","Kategorien" }, | 88 | { "Categories","Kategorien" }, |
89 | { "Category","Kategorie" }, | 89 | { "Category","Kategorie" }, |
90 | { "Center View","Zentriere Ansicht" }, | 90 | { "Center View","Zentriere Ansicht" }, |
91 | { "Change","Ändere" }, | 91 | { "Change","Ändere" }, |
92 | { "Cinema","Kino" }, | 92 | { "Cinema","Kino" }, |
93 | { "Click to add a new Todo","Hier klicken, um ein neues Todo anzulegen" }, | 93 | { "Click to add a new Todo","Hier klicken, um ein neues Todo anzulegen" }, |
94 | { "Clone Item","Klone Eintrag" }, | 94 | { "Clone Item","Klone Eintrag" }, |
95 | { "&Close","S&chließen" }, | 95 | { "&Close","S&chließen" }, |
96 | { "Close","Schließen" }, | 96 | { "Close","Schließen" }, |
97 | { "Close this dialog to abort deletion!","Zum Abbrechen des Löschvorganges Dialog schließen!" }, | 97 | { "Close this dialog to abort deletion!","Zum Abbrechen des Löschvorganges Dialog schließen!" }, |
98 | { "Colors","Farben" }, | 98 | { "Colors","Farben" }, |
99 | { "completed","erledigt" }, | 99 | { "completed","erledigt" }, |
100 | { "completed on %1","erledigt am %1" }, | 100 | { "completed on %1","erledigt am %1" }, |
101 | { "Complete","Erledigt" }, | 101 | { "Complete","Erledigt" }, |
102 | { "Confidential","Vertraulich" }, | 102 | { "Confidential","Vertraulich" }, |
103 | { "Configure...","Einstellungen..." }, | 103 | { "Configure...","Einstellungen..." }, |
104 | { "Confirm &deletes","Löschvogang bestätigen" }, | 104 | { "Confirm &deletes","Löschvogang bestätigen" }, |
105 | { "Couldn't load calendar\n '%1'.","Kann Kalender\n '%1' nicht laden." }, | 105 | { "Couldn't load calendar\n '%1'.","Kann Kalender\n '%1' nicht laden." }, |
106 | { "Counter-event Viewer","Terminzähler Ansicht" }, | 106 | { "Counter-event Viewer","Terminzähler Ansicht" }, |
107 | { "Daily ending hour:","Feierabend:" }, | 107 | { "Daily ending hour:","Feierabend:" }, |
108 | { "Daily starting hour:","Anfangszeit:" }, | 108 | { "Daily starting hour:","Anfangszeit:" }, |
109 | { "Daily","Täglich" }, | 109 | { "Daily","Täglich" }, |
110 | { "Date Format","Datums Format" }, | 110 | { "Date Format","Datums Format" }, |
111 | { "Date Format:","Datums Format:" }, | 111 | { "Date Format:","Datums Format:" }, |
112 | { "DateNavigator:(nr)","Datums Navigator" }, | 112 | { "DateNavigator:(nr)","Datums Navigator" }, |
113 | { "Dates: ","Datum: " }, | 113 | { "Dates: ","Datum: " }, |
114 | { "Date && Time","Datum && Zeit" }, | 114 | { "Date && Time","Datum && Zeit" }, |
115 | { "Day begins at:","Der Tag beginnt um:" }, | 115 | { "Day begins at:","Der Tag beginnt um:" }, |
116 | { "Days in Next-X-Days:","Tage in Nächste-X-Tage:" }, | 116 | { "Days in Next-X-Days:","Tage in Nächste-X-Tage:" }, |
117 | { "Days in What's Next:","Tage in What's Next:" }, | 117 | { "Days in What's Next:","Tage in What's Next:" }, |
118 | { "day(s)","Tag(e)" }, | 118 | { "day(s)","Tag(e)" }, |
119 | { "Days to show in Next-X-Days view:","Welche Tage in Nächste-X-Tagen anzeigen:" }, | 119 | { "Days to show in Next-X-Days view:","Welche Tage in Nächste-X-Tagen anzeigen:" }, |
120 | { "day","Tag" }, | 120 | { "day","Tag" }, |
121 | { "Dec","Dez" }, | 121 | { "Dec","Dez" }, |
122 | { "December","Dezember" }, | 122 | { "December","Dezember" }, |
123 | { "Default alarm time:","Standard Alarmzeit:" }, | 123 | { "Default alarm time:","Standard Alarmzeit:" }, |
124 | { "Default appointment time:","Standard Termin Startzeit:" }, | 124 | { "Default appointment time:","Standard Termin Startzeit:" }, |
125 | { "Default event color:","Standard Terminfarbe:" }, | 125 | { "Default event color:","Standard Terminfarbe:" }, |
126 | { "Default","Standard" }, | 126 | { "Default","Standard" }, |
127 | { "Def. duration of new app.:","Standard Termin Länge:" }, | 127 | { "Def. duration of new app.:","Standard Termin Länge:" }, |
128 | { "Delete all completed To-Dos?","Alle bereits erledigten Todos löschen?" }, | 128 | { "Delete all completed To-Dos?","Alle bereits erledigten Todos löschen?" }, |
129 | { "Delete All","Lösche alles" }, | 129 | { "Delete All","Lösche alles" }, |
130 | { "Delete all selected","Lösche alle Selektierten" }, | 130 | { "Delete all selected","Lösche alle Selektierten" }, |
131 | { "Delete Current","Aktuellen löschen" }, | 131 | { "Delete Current","Aktuellen löschen" }, |
132 | { "Delete Event...","Lösche Termin..." }, | 132 | { "Delete Event...","Lösche Termin..." }, |
133 | { "Delete Event","Lösche Termin" }, | 133 | { "Delete Event","Lösche Termin" }, |
134 | { "&Delete","Löschen" }, | 134 | { "&Delete","Löschen" }, |
135 | { "Delete...","Löschen..." }, | 135 | { "Delete...","Löschen..." }, |
136 | { "Delete","Löschen" }, | 136 | { "Delete","Löschen" }, |
137 | { "Delete Todo...","Lösche Todo..." }, | 137 | { "Delete Todo...","Lösche Todo..." }, |
138 | { "Delete To-Do","Lösche Todo" }, | 138 | { "Delete To-Do","Lösche Todo" }, |
139 | { "Deleting item %d ...","Lösche Eintrag %d..." }, | 139 | { "Deleting item %d ...","Lösche Eintrag %d..." }, |
140 | { "Descriptions","Beschreibungen" }, | 140 | { "Descriptions","Beschreibungen" }, |
141 | { "Deselect all","Deselektiere Alle" }, | 141 | { "Deselect all","Deselektiere Alle" }, |
142 | { "Details","Details" }, | 142 | { "Details","Details" }, |
143 | { "Dinner","Abendessen" }, | 143 | { "Dinner","Abendessen" }, |
144 | { "Do you really want\nto close KO/Pi?","Möchten Sie wirklich\nKO/PI verlassen?" }, | 144 | { "Do you really want\nto close KO/Pi?","Möchten Sie wirklich\nKO/PI verlassen?" }, |
145 | { "Due Date","Fällig am" }, | 145 | { "Due Date","Fällig am" }, |
146 | { "Due: ","Fällig: "}, | 146 | { "Due: ","Fällig: "}, |
147 | { "Due Time","Fällig um" }, | 147 | { "Due Time","Fällig um" }, |
148 | { "Due:","Fällig:"}, | 148 | { "Due:","Fällig:"}, |
149 | { "Duration: ","Dauer: " }, | 149 | { "Duration: ","Dauer: " }, |
150 | { "Edit...","Bearbeite..." }, | 150 | { "Edit...","Bearbeite..." }, |
151 | { "Edit","Bearbeite" }, | 151 | { "Edit","Bearbeite" }, |
152 | { "Edit Event...","Bearbeite Termin..." }, | 152 | { "Edit Event...","Bearbeite Termin..." }, |
153 | { "Edit Event","Bearbeite Termin" }, | 153 | { "Edit Event","Bearbeite Termin" }, |
154 | { "Edit exceptions","Bearbeite Ausnahmen" }, | 154 | { "Edit exceptions","Bearbeite Ausnahmen" }, |
155 | { "EditorBox:","Editor Fenster:" }, | 155 | { "EditorBox:","Editor Fenster:" }, |
156 | { "Edit Recurrence Range","Bearbeite Wiederholung" }, | 156 | { "Edit Recurrence Range","Bearbeite Wiederholung" }, |
157 | { "Edit Todo...","Berabeite Todo..." }, | 157 | { "Edit Todo...","Berabeite Todo..." }, |
158 | { "Edit To-Do","Todo bearbeiten" }, | 158 | { "Edit To-Do","Todo bearbeiten" }, |
159 | { "E&mail address:","E&mail Adresse:" }, | 159 | { "E&mail address:","E&mail Adresse:" }, |
160 | { "(EmptyEmail)","(KeineEmail)" }, | 160 | { "(EmptyEmail)","(KeineEmail)" }, |
161 | { "(EmptyName)","(KeinName)" }, | 161 | { "(EmptyName)","(KeinName)" }, |
162 | { "Enable Recurrence","Wiederholender Termin" }, | 162 | { "Enable Recurrence","Wiederholender Termin" }, |
163 | { "End after","Endet nach"}, | 163 | { "End after","Endet nach"}, |
164 | { "End by:","Endet am"}, | 164 | { "End by:","Endet am"}, |
165 | { "End Date","End Datum" }, | 165 | { "End Date","End Datum" }, |
166 | { "End:","Ende:" }, | 166 | { "End:","Ende:" }, |
167 | { "End Time","End Zeit" }, | 167 | { "End Time","End Zeit" }, |
168 | { "English","Englisch" }, | 168 | { "English","Englisch" }, |
169 | { "Event","Termin" }, | 169 | { "Event","Termin" }, |
170 | { "Event list","Termin Liste" }, | 170 | { "Event list","Termin Liste" }, |
171 | { "Events","Termine" }, | 171 | { "Events","Termine" }, |
172 | { "Event Viewer:","Termin Übersicht:" }, | 172 | { "Event Viewer:","Termin Übersicht:" }, |
173 | { "every","jede" }, | 173 | { "every","jede" }, |
174 | { "Exceptions...","Ausnahmen..." }, | 174 | { "Exceptions...","Ausnahmen..." }, |
175 | { "Exceptions","Ausnahmen" }, | 175 | { "Exceptions","Ausnahmen" }, |
176 | { "Exclude holidays","Ohne freie Tage" }, | 176 | { "Exclude holidays","Ohne freie Tage" }, |
177 | { "Exclude Saturdays","Ohne Samstage" }, | 177 | { "Exclude Saturdays","Ohne Samstage" }, |
178 | { "Feb","Feb" }, | 178 | { "Feb","Feb" }, |
179 | { "February","Februar" }, | 179 | { "February","Februar" }, |
180 | { "&Find","Suche!" }, | 180 | { "&Find","Suche!" }, |
181 | { "Fonts","Schriftart" }, | 181 | { "Fonts","Schriftart" }, |
182 | { "Force take local entry always","Erzwinge:Nimm immer lokalen Eintrag" }, | 182 | { "Force take local entry always","Erzwinge:Nimm immer lokalen Eintrag" }, |
183 | { "Force take remote entry always","Erzwinge:Nimm immer fernen Eintrag"}, | 183 | { "Force take remote entry always","Erzwinge:Nimm immer fernen Eintrag"}, |
184 | { "Free","Frei" }, | 184 | { "Free","Frei" }, |
185 | { "Friday","Freitag" }, | 185 | { "Friday","Freitag" }, |
186 | { "Fri","Fr" }, | 186 | { "Fri","Fr" }, |
187 | { "From:","Vom:" }, | 187 | { "From:","Vom:" }, |
188 | { "Full &name:","Vor- und &Nachname:" }, | 188 | { "Full &name:","Vor- und &Nachname:" }, |
189 | { "General","Allgemein" }, | 189 | { "General","Allgemein" }, |
190 | { "German","Deutsch" }, | 190 | { "German","Deutsch" }, |
191 | { "Gifts","Geschenke" }, | 191 | { "Gifts","Geschenke" }, |
192 | { "Go to Today","Heute anzeigen" }, | 192 | { "Go to Today","Heute anzeigen" }, |
193 | { "Help","Hilfe" }, | 193 | { "Help","Hilfe" }, |
194 | { "Hide Dates","Daten ausblenden" }, | 194 | { "Hide Dates","Daten ausblenden" }, |
195 | { "Highlight color:","Markierungen:" }, | 195 | { "Highlight color:","Markierungen:" }, |
196 | { "Holiday color:","Freie Tage:" }, | 196 | { "Holiday color:","Freie Tage:" }, |
197 | { "hour(s)","Stunde(n)" }, | 197 | { "hour(s)","Stunde(n)" }, |
198 | { "In %1 days: ","In %1 Tagen: " }, | 198 | { "In %1 days: ","In %1 Tagen: " }, |
199 | { "Incomplete Todo:","Unerledigte Aufgaben:" }, | 199 | { "Incomplete Todo:","Unerledigte Aufgaben:" }, |
200 | { "Information","Information" }, | 200 | { "Information","Information" }, |
201 | { "Invalid search expression,\ncannot perform ","Kann Suche nicht ausführen" }, | 201 | { "Invalid search expression,\ncannot perform ","Kann Suche nicht ausführen" }, |
202 | { "Jan","Jan" }, | 202 | { "Jan","Jan" }, |
203 | { "January","Januar" }, | 203 | { "January","Januar" }, |
204 | { "JournalView:","Journal Ansicht:" }, | 204 | { "JournalView:","Journal Ansicht:" }, |
205 | { "Journals","Journale" }, | 205 | { "Journals","Journale" }, |
206 | { "Jul","Jul" }, | 206 | { "Jul","Jul" }, |
207 | { "July","Juli" }, | 207 | { "July","Juli" }, |
208 | { "Jump to date","Springe zum Datum" }, | 208 | { "Jump to date","Springe zum Datum" }, |
209 | { "June","Juni" }, | 209 | { "June","Juni" }, |
210 | { "Jun","Jun" }, | 210 | { "Jun","Jun" }, |
211 | { "Key Bindings...","Tastenzuordnung..." }, | 211 | { "Key Bindings...","Tastenzuordnung..." }, |
212 | { "Kids","Kinder" }, | 212 | { "Kids","Kinder" }, |
213 | { "Known Problems...","Bekannte Probleme..." }, | 213 | { "Known Problems...","Bekannte Probleme..." }, |
214 | { "KO/Pi Find ","KO/Pi Suchdialog " }, | 214 | { "KO/Pi Find ","KO/Pi Suchdialog " }, |
215 | { "KO/Pi Find: ","KO/Pi Suchen: " }, | 215 | { "KO/Pi Find: ","KO/Pi Suchen: " }, |
216 | { "KO/Pi is starting ... "," KO/Pi startet ... \n... Zeit für eine Kaffeepause ..." }, | 216 | { "KO/Pi is starting ... "," KO/Pi startet ... \n... Zeit für eine Kaffeepause ..." }, |
217 | { "Language:(needs restart)","Sprache (Neustart!)" }, | 217 | { "Language:(needs restart)","Sprache (Neustart!)" }, |
218 | { "Language:","Sprache" }, | 218 | { "Language:","Sprache" }, |
219 | { "Large","Etwas mehr" }, | 219 | { "Large","Etwas mehr" }, |
220 | { "List View:","Listenansicht:" }, | 220 | { "List View:","Listenansicht:" }, |
221 | { "List View","Listenansicht" }, | 221 | { "List View","Listenansicht" }, |
222 | { "Load/Save","Laden/Speichern" }, | 222 | { "Load/Save","Laden/Speichern" }, |
223 | { "Load Template","Lade Vorlage" }, | 223 | { "Load Template","Lade Vorlage" }, |
224 | { "Locale","Localisation" }, | 224 | { "Locale","Localisation" }, |
225 | { "Local temp file:","Lokale temp. Datei:" }, | 225 | { "Local temp file:","Lokale temp. Datei:" }, |
226 | { "Location: ","Ort: " }, | 226 | { "Location: ","Ort: " }, |
227 | { "Location:","Ort:" }, | 227 | { "Location:","Ort:" }, |
228 | { "Mail client","Mail Programm" }, | 228 | { "Mail client","Mail Programm" }, |
229 | { "Mail Client","Mail Programm" }, | 229 | { "Mail Client","Mail Programm" }, |
230 | { "March","März" }, | 230 | { "March","März" }, |
231 | { "Mar","Mär" }, | 231 | { "Mar","Mär" }, |
232 | { "May","Mai" }, | 232 | { "May","Mai" }, |
233 | { "M. Bains line:","M. Bains Linie:" }, | 233 | { "M. Bains line:","M. Bains Linie:" }, |
234 | { "Medium","Medium" }, | 234 | { "Medium","Medium" }, |
235 | { "Method","Methode" }, | 235 | { "Method","Methode" }, |
236 | { "minute(s)","Minute(n)" }, | 236 | { "minute(s)","Minute(n)" }, |
237 | { "Monday","Montag" }, | 237 | { "Monday","Montag" }, |
238 | { "Mon","Mo" }, | 238 | { "Mon","Mo" }, |
239 | { "Monthly","Monatlich" }, | 239 | { "Monthly","Monatlich" }, |
240 | { "Month not long enough","Monat ist nicht lang genug" }, | 240 | { "Month not long enough","Monat ist nicht lang genug" }, |
241 | { "month(s)","Monat(e)" }, | 241 | { "month(s)","Monat(e)" }, |
242 | { "Month view:","Monatsansicht:" }, | 242 | { "Month view:","Monatsansicht:" }, |
243 | { "Month view uses category colors","Monatsansicht zeigt Kategorie Farben" }, | 243 | { "Month view uses category colors","Monatsansicht zeigt Kategorie Farben" }, |
244 | { "Todo view uses category colors","To-Do Ansicht zeigt Kategorie Farben" }, | 244 | { "Todo view uses category colors","To-Do Ansicht zeigt Kategorie Farben" }, |
245 | { "Move &Down","Nach unten verschieben" }, | 245 | { "Move &Down","Nach unten verschieben" }, |
246 | { "Move &Up","Nach oben verschieben" }, | 246 | { "Move &Up","Nach oben verschieben" }, |
247 | { "Name:","Name:" }, | 247 | { "Name:","Name:" }, |
248 | { "Name","Name" }, | 248 | { "Name","Name" }, |
249 | { "\nAre you sure you want\nto delete this event?","\nSind Sie sicher, dass Sie\nden Termin löschen möchten?" }, | 249 | { "\nAre you sure you want\nto delete this event?","\nSind Sie sicher, dass Sie\nden Termin löschen möchten?" }, |
250 | { "%n Days","%n Tage" }, | 250 | { "%n Days","%n Tage" }, |
251 | { "Never","Nie" }, | 251 | { "Never","Nie" }, |
252 | { "New event...","Neuer Termin..." }, | 252 | { "New event...","Neuer Termin..." }, |
253 | { "New event","Neuer Termin" }, | 253 | { "New event","Neuer Termin" }, |
254 | { "New Event...","Neuer Termin..." }, | 254 | { "New Event...","Neuer Termin..." }, |
255 | { "New Events/Todos should","Neue Termine/Todos sollten" }, | 255 | { "New Events/Todos should","Neue Termine/Todos sollten" }, |
256 | { "&New","&Neu" }, | 256 | { "&New","&Neu" }, |
257 | { "New","Neu", }, | 257 | { "New","Neu", }, |
258 | { "New Sub-Todo...","Neues Sub-Todo..." }, | 258 | { "New Sub-Todo...","Neues Sub-Todo..." }, |
259 | { "New Todo...","Neues Todo..." }, | 259 | { "New Todo...","Neues Todo..." }, |
260 | { "Next Alarm: ","Nächster Alarm: ", }, | 260 | { "Next Alarm: ","Nächster Alarm: ", }, |
261 | { "&Next Day","&Nächster Tag", }, | 261 | { "&Next Day","&Nächster Tag", }, |
262 | { "Next days view uses full window","Nächste-X-Tage nutzt Vollbild" }, | 262 | { "Next days view uses full window","Nächste-X-Tage nutzt Vollbild" }, |
263 | { "Next month","Nächster Monat" }, | 263 | { "Next month","Nächster Monat" }, |
264 | { "&Next Week","&Nächste Woche" }, | 264 | { "&Next Week","&Nächste Woche" }, |
265 | { "Next year","Nächstes Jahr" }, | 265 | { "Next year","Nächstes Jahr" }, |
266 | { "Next Year","Nächstes Jahr" }, | 266 | { "Next Year","Nächstes Jahr" }, |
267 | { "%n h","%n Std" }, | 267 | { "%n h","%n Std" }, |
268 | { "No ending date","Kein End-Datum", }, | 268 | { "No ending date","Kein End-Datum", }, |
269 | { "No event, nothing to do.","Kein Termin, nichts zu tun.", }, | 269 | { "No event, nothing to do.","Kein Termin, nichts zu tun.", }, |
270 | { "No event selected.","Kein Termin selektiert" }, | 270 | { "No event selected.","Kein Termin selektiert" }, |
271 | { "No","Nein" }, | 271 | { "No","Nein" }, |
272 | { "No program set","Kein Programm ausgewählt", }, | 272 | { "No program set","Kein Programm ausgewählt", }, |
273 | { "Normal","Normal" }, | 273 | { "Normal","Normal" }, |
274 | { "[No selection]","Keine Selektion", }, | 274 | { "[No selection]","Keine Selektion", }, |
275 | { "No sound set","Kein Sound ausgewählt", }, | 275 | { "No sound set","Kein Sound ausgewählt", }, |
276 | { "no time ","keine Zeit ", }, | 276 | { "no time ","keine Zeit ", }, |
277 | { "no time","keine Zeit", }, | 277 | { "no time","keine Zeit", }, |
278 | { "No Time","Keine Zeit" }, | 278 | { "No Time","Keine Zeit" }, |
279 | { "November","November" }, | 279 | { "November","November" }, |
280 | { "Nov","Nov", }, | 280 | { "Nov","Nov", }, |
281 | { "\nThis event recurs\nover multiple dates.\n","\nDieser Termin wiederholt sich an mehreren Tagen.\n" }, | 281 | { "\nThis event recurs\nover multiple dates.\n","\nDieser Termin wiederholt sich an mehreren Tagen.\n" }, |
282 | { "occurrence(s)","Vorkommen" }, | 282 | { "occurrence(s)","Vorkommen" }, |
283 | { "October","Oktober" }, | 283 | { "October","Oktober" }, |
284 | { "Oct","Okt", }, | 284 | { "Oct","Okt", }, |
285 | { "O-due!","Ü-fällig! " }, | 285 | { "O-due!","Ü-fällig! " }, |
286 | { "&OK","&OK" }, | 286 | { "&OK","&OK" }, |
287 | { "Ok+Show!","Ok+Anzeigen" }, | 287 | { "Ok+Show!","Ok+Anzeigen" }, |
288 | { "Organizer: %1","Organisator %1" }, | 288 | { "Organizer: %1","Organisator %1" }, |
289 | { "Organizer","Organisator" }, | 289 | { "Organizer","Organisator" }, |
290 | { "Owner: ","Besitzer: " }, | 290 | { "Owner: ","Besitzer: " }, |
291 | { "Owner:","Besitzer:" }, | 291 | { "Owner:","Besitzer:" }, |
292 | { "<p><b>Priority:</b> %2</p>","<p><b>Priorität:</b> %2</p>" }, | 292 | { "<p><b>Priority:</b> %2</p>","<p><b>Priorität:</b> %2</p>" }, |
293 | { "Pick a date to display","Wähle einen Tag zum anzeigen aus" }, | 293 | { "Pick a date to display","Wähle einen Tag zum anzeigen aus" }, |
294 | { "Please specify a valid due date.","Bitte gültiges Fälligkeitsdatum angeben."}, | 294 | { "Please specify a valid due date.","Bitte gültiges Fälligkeitsdatum angeben."}, |
295 | { "Please specify a valid end date,\nfor example '%1'.","Bitte gültiges Enddatum angeben,\nz.B.'%1'." }, | 295 | { "Please specify a valid end date,\nfor example '%1'.","Bitte gültiges Enddatum angeben,\nz.B.'%1'." }, |
296 | { "Please specify a valid start date.","Bitte gültiges Startdatum angeben." }, | 296 | { "Please specify a valid start date.","Bitte gültiges Startdatum angeben." }, |
297 | { "Please specify a valid start date,\nfor example '%1'.","Bitte gültiges Startdatum angeben,\nz.B. '%1'." }, | 297 | { "Please specify a valid start date,\nfor example '%1'.","Bitte gültiges Startdatum angeben,\nz.B. '%1'." }, |
298 | { "Please specify a valid start time.","Bitte gültige Startzeit angeben."}, | 298 | { "Please specify a valid start time.","Bitte gültige Startzeit angeben."}, |
299 | { "Please specify a valid start time,\nfor example '%1'.","Bitte gültige Startzeit angeben,\nz.B. '%1'." }, | 299 | { "Please specify a valid start time,\nfor example '%1'.","Bitte gültige Startzeit angeben,\nz.B. '%1'." }, |
300 | { "Preferences - some settings need a restart (nr)","Einstellungen - teilweise Neustart erforderlich (bn)" }, | 300 | { "Preferences - some settings need a restart (nr)","Einstellungen - teilweise Neustart erforderlich (bn)" }, |
301 | { "&Previous Day","Vorheriger Tag" }, | 301 | { "&Previous Day","Vorheriger Tag" }, |
302 | { "Previous month","Vorheriger Monat" }, | 302 | { "Previous month","Vorheriger Monat" }, |
303 | { "Previous Month","Vorheriger Monat" }, | 303 | { "Previous Month","Vorheriger Monat" }, |
304 | { "&Previous Week","Vorherige Woche" }, | 304 | { "&Previous Week","Vorherige Woche" }, |
305 | { "Previous year","Vorheriges Jahr" }, | 305 | { "Previous year","Vorheriges Jahr" }, |
306 | { "Previous Year","Vorheriges Jahr" }, | 306 | { "Previous Year","Vorheriges Jahr" }, |
307 | { "Printing","Drucken" }, | 307 | { "Printing","Drucken" }, |
308 | { "Priority:","Priorität:" }, | 308 | { "Priority:","Priorität:" }, |
309 | { "Private","Privat" }, | 309 | { "Private","Privat" }, |
310 | { "Proceed","Weiter" }, | 310 | { "Proceed","Weiter" }, |
311 | { "Public","Öffentlich" }, | 311 | { "Public","Öffentlich" }, |
312 | { "Purge","Entferne" }, | 312 | { "Purge","Entferne" }, |
313 | { "Purge Completed","Entferne erledigte ToDos" }, | 313 | { "Purge Completed","Entferne erledigte ToDos" }, |
314 | { "Purge To-Dos","Todos bereinigen" }, | 314 | { "Purge To-Dos","Todos bereinigen" }, |
315 | { "read-only","schreibgeschützt" }, | 315 | { "read-only","schreibgeschützt" }, |
316 | { "Recur every","Wiederh. alle" }, | 316 | { "Recur every","Wiederh. alle" }, |
317 | { "Recur in the month of","Wiederh. im Monat" }, | 317 | { "Recur in the month of","Wiederh. im Monat" }, |
318 | { "Recur on the","Wiederh. am" }, | 318 | { "Recur on the","Wiederh. am" }, |
319 | { "Recur on this day","Wiederh. am diesen Tag" }, | 319 | { "Recur on this day","Wiederh. am diesen Tag" }, |
320 | { "Recurrence Range...","Wiederholungs Zeitraum..." }, | 320 | { "Recurrence Range...","Wiederholungs Zeitraum..." }, |
321 | { "Recurrence Range","Wiederholungs Zeitraum" }, | 321 | { "Recurrence Range","Wiederholungs Zeitraum" }, |
322 | { "Recurrence Rule","Wiederholungs Regel" }, | 322 | { "Recurrence Rule","Wiederholungs Regel" }, |
323 | { "Recurrence","Wiederholung" }, | 323 | { "Recurrence","Wiederholung" }, |
324 | { "Recurs","Wiederholung" }, | 324 | { "Recurs","Wiederholung" }, |
325 | {"&Reject","Abweisen"}, | 325 | {"&Reject","Abweisen"}, |
326 | { "Reminder:","Alarm:" }, | 326 | { "Reminder:","Alarm:" }, |
327 | { "Rem.:","Alarm:" }, | 327 | { "Rem.:","Alarm:" }, |
328 | { "Rem.","Alarm:" }, | 328 | { "Rem.","Alarm:" }, |
329 | { "Remote file:","Remote Datei:"}, | 329 | { "Remote file:","Remote Datei:"}, |
330 | { "Remote IP:","Remote (ferne) IP:" }, | 330 | { "Remote IP:","Remote (ferne) IP:" }, |
331 | { "Remote syncing (via ssh/scp) network settings ","Remote Sync (via ssh/scp) Netzwerk Einstellungen " }, | 331 | { "Remote syncing (via ssh/scp) network settings ","Remote Sync (via ssh/scp) Netzwerk Einstellungen " }, |
332 | { "Remote user:","Remote Benutzer"}, | 332 | { "Remote user:","Remote Benutzer"}, |
333 | { "&Remove","Entfe&rnen" }, | 333 | { "&Remove","Entfe&rnen" }, |
334 | { "Remove","Entfernen" }, | 334 | { "Remove","Entfernen" }, |
335 | { "Request response","Bemerkung anfordern" }, | 335 | { "Request response","Bemerkung anfordern" }, |
336 | { "Role:","Rolle:" }, | 336 | { "Role:","Rolle:" }, |
337 | { "Role","Rolle" }, | 337 | { "Role","Rolle" }, |
338 | { "Sat","Sa" }, | 338 | { "Sat","Sa" }, |
339 | { "Saturday","Samstag" }, | 339 | { "Saturday","Samstag" }, |
340 | { "Search for:","Suche nach:" }, | 340 | { "Search for:","Suche nach:" }, |
341 | { "Search In","Suche in" }, | 341 | { "Search In","Suche in" }, |
342 | { "Search...","Suche..." }, | 342 | { "Search...","Suche..." }, |
343 | { "Search","Suche" }, | 343 | { "Search","Suche" }, |
344 | { "Select Addresses","Wähle Adressen" }, | 344 | { "Select Addresses","Wähle Adressen" }, |
345 | { "Select all","Selektiere Alle" }, | 345 | { "Select all","Selektiere Alle" }, |
346 | { "Select a month","Wähle Monat" }, | 346 | { "Select a month","Wähle Monat" }, |
347 | { "Select a week","Wähle Woche" }, | 347 | { "Select a week","Wähle Woche" }, |
348 | { "Select a year","Wähle Jahr" }, | 348 | { "Select a year","Wähle Jahr" }, |
349 | { "Send directly","Sende direkt" }, | 349 | { "Send directly","Sende direkt" }, |
350 | { "&Send Messages","&Sende Nachrichten", }, | 350 | { "&Send Messages","&Sende Nachrichten", }, |
351 | { "Sep","Sep" }, | 351 | { "Sep","Sep" }, |
352 | { "September","September" }, | 352 | { "September","September" }, |
353 | { "Shopping","Einkaufen" }, | 353 | { "Shopping","Einkaufen" }, |
354 | { "Use short date in (WN/E) view","Kurzdatum in (WN/Termin) Ansicht" }, | 354 | { "Use short date in (WN/E) view","Kurzdatum in (WN/Termin) Ansicht" }, |
355 | { "Show Dates","Zeige Daten" }, | 355 | { "Show Dates","Zeige Daten" }, |
356 | { "Show events that recur daily in date nav.","Zeige tägl.wiederh.Term.in Datums Nav." }, | 356 | { "Show events that recur daily in date nav.","Zeige tägl.wiederh.Term.in Datums Nav." }, |
357 | { "Show Event...","Zeige Termin..." }, | 357 | { "Show Event...","Zeige Termin..." }, |
358 | { "Show ev. that recur weekly in date nav.","Zeige wöch.wiederh.Term.in Datums Nav." }, | 358 | { "Show ev. that recur weekly in date nav.","Zeige wöch.wiederh.Term.in Datums Nav." }, |
359 | { "Show Marcus Bains line","Zeige Marcus Bains Linie" }, | 359 | { "Show Marcus Bains line","Zeige Marcus Bains Linie" }, |
360 | { "Show summary after syncing","Zeige Zusammenfassung nach Sync." }, | 360 | { "Show summary after syncing","Zeige Zusammenfassung nach Sync." }, |
361 | { "Show time as:","Zeige Zeit als" }, | 361 | { "Show time as:","Zeige Zeit als" }, |
362 | { "Show Todo...","Zeige To-Do" }, | 362 | { "Show Todo...","Zeige To-Do" }, |
363 | { "Show topmost todo prios in What's N.:","Anz. höchster Prios in What's N.:"}, | 363 | { "Show topmost todo prios in What's N.:","Anz. höchster Prios in What's N.:"}, |
364 | { "Show topmost todo prios in What's Next:","Anz. höchster Prios in What's Next:"}, | 364 | { "Show topmost todo prios in What's Next:","Anz. höchster Prios in What's Next:"}, |
365 | { "Show vertical screen (Needs restart)","Vertikaler Bildschirm-Layout (Neustart!)" }, | 365 | { "Show vertical screen (Needs restart)","Vertikaler Bildschirm-Layout (Neustart!)" }, |
366 | { "&Show","Zeige" }, | 366 | { "&Show","Zeige" }, |
367 | { "Show...","Zeige..." }, | 367 | { "Show...","Zeige..." }, |
368 | { "Show","Zeige" }, | 368 | { "Show","Zeige" }, |
369 | { "Small","Klein" }, | 369 | { "Small","Klein" }, |
370 | { "Sorry","Entschuldigung" }, | 370 | { "Sorry","Entschuldigung" }, |
371 | {"Sorry, the copy command failed!\nCommand was:\n","Der Kopierbefehl schlug fehl!\nBefehl war:\n"}, | 371 | {"Sorry, the copy command failed!\nCommand was:\n","Der Kopierbefehl schlug fehl!\nBefehl war:\n"}, |
372 | { "Start:","Start:" }, | 372 | { "Start:","Start:" }, |
373 | { "Start Date","Start Datum" }, | 373 | { "Start Date","Start Datum" }, |
374 | { "Start date: %1","Start Datum: %1" }, | 374 | { "Start date: %1","Start Datum: %1" }, |
375 | { "Start Time","Start Zeit" }, | 375 | { "Start Time","Start Zeit" }, |
376 | { "Status:","Status:" }, | 376 | { "Status:","Status:" }, |
377 | { "Status","Status:" }, | 377 | { "Status","Status:" }, |
378 | { "Summaries","Titel" }, | 378 | { "Summaries","Titel" }, |
379 | { "Summary:","Titel:" }, | 379 | { "Summary:","Titel:" }, |
380 | { "Summary","Titel" }, | 380 | { "Summary","Titel" }, |
381 | { "Sunday","Sonntag" }, | 381 | { "Sunday","Sonntag" }, |
382 | { "Sun","So" }, | 382 | { "Sun","So" }, |
383 | { "Sync preferences:","Sync Einstellungen" }, | 383 | { "Sync preferences:","Sync Einstellungen" }, |
384 | { "Sync Prefs","Sync Einstellungen" }, | 384 | { "Sync Prefs","Sync Einstellungen" }, |
385 | { "Syncronize","Daten abgleich" }, | 385 | { "Syncronize","Daten abgleich" }, |
386 | { "Take local entry on conflict","Nimm lokalen Eintrag beim Konflikt" }, | 386 | { "Take local entry on conflict","Nimm lokalen Eintrag beim Konflikt" }, |
387 | { "Take newest entry on conflict","Nimm neuesten Eintrag beim Konflikt" }, | 387 | { "Take newest entry on conflict","Nimm neuesten Eintrag beim Konflikt" }, |
388 | { "Take remote entry on conflict","Nimm fernen Eintrag beim Konflikt" }, | 388 | { "Take remote entry on conflict","Nimm fernen Eintrag beim Konflikt" }, |
389 | { "Template '%1' does not contain a valid Todo.","Template '%1' enthält kein gültiges To-Do" }, | 389 | { "Template '%1' does not contain a valid Todo.","Template '%1' enthält kein gültiges To-Do" }, |
390 | { "Template does not contain a valid Event.","Template '%1' enthält keinen gültigen Termin" }, | 390 | { "Template does not contain a valid Event.","Template '%1' enthält keinen gültigen Termin" }, |
391 | { "Template...","Vorlage..." }, | 391 | { "Template...","Vorlage..." }, |
392 | { "This day","Dieser Tag" }, | 392 | { "This day","Dieser Tag" }, |
393 | { "This is an experimental feature. ","Dieses Feature ist experimentel" }, | 393 | { "This is an experimental feature. ","Dieses Feature ist experimentel" }, |
394 | { "This item will be\npermanently deleted.","Dieser Eintrag wird\nkomplett gelöscht." }, | 394 | { "This item will be\npermanently deleted.","Dieser Eintrag wird\nkomplett gelöscht." }, |
395 | { "This item will be permanently deleted.", "Dieser Eintrag wird komplett gelöscht." }, | 395 | { "This item will be permanently deleted.", "Dieser Eintrag wird komplett gelöscht." }, |
396 | { "Thu","Do" }, | 396 | { "Thu","Do" }, |
397 | { "Thursday","Donnerstag" }, | 397 | { "Thursday","Donnerstag" }, |
398 | { "Time associated","Mit Zeit" }, | 398 | { "Time associated","Mit Zeit" }, |
399 | { "Time bar:","Uhrzeit Zeile:" }, | 399 | { "Time bar:","Uhrzeit Zeile:" }, |
400 | { "Time && Date","Zeit und Datum" }, | 400 | { "Time && Date","Zeit und Datum" }, |
401 | { "Time Format","Zeit Format" }, | 401 | { "Time Format","Zeit Format" }, |
402 | { "Time Format(nr):","Zeit Format(Neustart!)" }, | 402 | { "Time Format(nr):","Zeit Format(Neustart!)" }, |
403 | { "Date Labels:","Datumsleiste:" }, | 403 | { "Date Labels:","Datumsleiste:" }, |
404 | { "Time: ","Zeit: " }, | 404 | { "Time: ","Zeit: " }, |
405 | { "Timezone:","Zeitzone:" }, | 405 | { "Timezone:","Zeitzone:" }, |
406 | { "To: ","Bis: " }, | 406 | { "To: ","Bis: " }, |
407 | { "To:","Bis:" }, | 407 | { "To:","Bis:" }, |
408 | { "Today: ","Heute: " }, | 408 | { "Today: ","Heute: " }, |
409 | { "Todo due today color:","Heute fällige To-Do's" }, | 409 | { "Todo due today color:","Heute fällige To-Do's" }, |
410 | { "To-do items:","To-Do items:" }, | 410 | { "To-do items:","To-Do items:" }, |
411 | { "Todo overdue color:","Überfällige To-Do's" }, | 411 | { "Todo overdue color:","Überfällige To-Do's" }, |
412 | { "Todo","Todo" }, | 412 | { "Todo","Todo" }, |
413 | { "To-do view shows completed Todos","To-do Ansicht zeigt erledigte To-dos" }, | 413 | { "To-do view shows completed Todos","To-do Ansicht zeigt erledigte To-dos" }, |
414 | { "ToDoView:","Todo Ansicht:" }, | 414 | { "ToDoView:","Todo Ansicht:" }, |
415 | { "Toggle Alarm","Wechsle Alarm" }, | 415 | { "Toggle Alarm","Wechsle Alarm" }, |
416 | { "Toggle Allday","Umschalten Ganztag" }, | 416 | { "Toggle Allday","Umschalten Ganztag" }, |
417 | { "Tomorrow: ","Morgen: " }, | 417 | { "Tomorrow: ","Morgen: " }, |
418 | { "Tue","Di" }, | 418 | { "Tue","Di" }, |
419 | { "Tuesday","Dienstag" }, | 419 | { "Tuesday","Dienstag" }, |
420 | { "Two entries are in conflict, if: ","Zwei Einträge haben einen Konflikt, wenn:" }, | 420 | { "Two entries are in conflict, if: ","Zwei Einträge haben einen Konflikt, wenn:" }, |
421 | { "Unable to find template '%1'.","Kann Vorlage '%1' nicht finden." }, | 421 | { "Unable to find template '%1'.","Kann Vorlage '%1' nicht finden." }, |
422 | { "Unknown","Unbekannt" }, | 422 | { "Unknown","Unbekannt" }, |
423 | { "Up","Hinauf" }, | 423 | { "Up","Hinauf" }, |
424 | { "Use password (if not, ask when syncing)","Passwort: (sonst jedesmal anfragen)" }, | 424 | { "Use password (if not, ask when syncing)","Passwort: (sonst jedesmal anfragen)" }, |
425 | { "User defined","Benutzerdefiniert" }, | 425 | { "User defined","Benutzerdefiniert" }, |
426 | { "User long date:","Format langes Datum:" }, | 426 | { "User long date:","Format langes Datum:" }, |
427 | { "User short date:","Forma kurzes Datum:" }, | 427 | { "User short date:","Forma kurzes Datum:" }, |
428 | { "View","Ansicht" }, | 428 | { "View","Ansicht" }, |
429 | { "View Fonts","Schriftarten Ansichten" }, | 429 | { "View Fonts","Schriftarten Ansichten" }, |
430 | { "Views","Ansichten" }, | 430 | { "Views","Ansichten" }, |
431 | { "Wed","Mi" }, | 431 | { "Wed","Mi" }, |
432 | { "Wednesday","Mittwoch" }, | 432 | { "Wednesday","Mittwoch" }, |
433 | { "Week %1","Woche %1" }, | 433 | { "Week %1","Woche %1" }, |
434 | { "Weekly","Wöchentlich" }, | 434 | { "Weekly","Wöchentlich" }, |
435 | { "Week starts on Sunday","Woche beginnt Sonntags" }, | 435 | { "Week starts on Sunday","Woche beginnt Sonntags" }, |
436 | { "What's Next View:","What's Next Anz." }, | 436 | { "What's Next View:","What's Next Anz." }, |
437 | { "What's next ?","Was kommt als nächstes?(What's Next)" }, | 437 | { "What's next ?","Was kommt als nächstes?(What's Next)" }, |
438 | { "Working Hours","Tägliche Arbeitszeit" }, | 438 | { "Working Hours","Tägliche Arbeitszeit" }, |
439 | { "Working hours color:","Arbeitszeit in der Agenda Ansicht:" }, | 439 | { "Working hours color:","Arbeitszeit in der Agenda Ansicht:" }, |
440 | { "Write back existing entries only","Nur exisitierende Einträge zurückschreiben" }, | 440 | { "Write back existing entries only","Nur exisitierende Einträge zurückschreiben" }, |
441 | { "Write back synced file","Syncronisierte Datei zurückschreiben" }, | 441 | { "Write back synced file","Syncronisierte Datei zurückschreiben" }, |
442 | { "Yearly","Jährlich" }, | 442 | { "Yearly","Jährlich" }, |
443 | { "year(s)","Jahr(e)" }, | 443 | { "year(s)","Jahr(e)" }, |
444 | { "Yes","Ja" }, | 444 | { "Yes","Ja" }, |
445 | { "You have %d item(s) selected.\n","Sie haben %d Einträge ausgewählt.\n" }, | 445 | { "You have %d item(s) selected.\n","Sie haben %d Einträge ausgewählt.\n" }, |
446 | { "You have to restart KOrganizer for this setting to take effect.","Sie müssem Korganizer neu starten, damit diese Einstellung aktiviert wird." }, | 446 | { "You have to restart KOrganizer for this setting to take effect.","Sie müssem Korganizer neu starten, damit diese Einstellung aktiviert wird." }, |
447 | { "week(s) on:","Woche(n) am: " }, | 447 | { "week(s) on:","Woche(n) am: " }, |
448 | { "Full menu bar(nr)","Volle Menuleiste(bn)" }, | 448 | { "Full menu bar(nr)","Volle Menuleiste(bn)" }, |
449 | { "Timezone has daylight saving","Zeitzone hat Sommerzeit" }, | 449 | { "Timezone has daylight saving","Zeitzone hat Sommerzeit" }, |
450 | { "Actual start and end is the\nsunday before this date.","Tatsächlicher Beginn/Ende ist der\nSonntag vor diesem Datum!" }, | 450 | { "Actual start and end is the\nsunday before this date.","Tatsächlicher Beginn/Ende ist der\nSonntag vor diesem Datum!" }, |
451 | { "The year in the date is ignored.","Das Jahr vom Datum wird ignoriert." }, | 451 | { "The year in the date is ignored.","Das Jahr vom Datum wird ignoriert." }, |
452 | { "Daylight start:","Sommerzeit Beginn:" }, | 452 | { "Daylight start:","Sommerzeit Beginn:" }, |
453 | { "Daylight end:","Sommerzeit Ende:" }, | 453 | { "Daylight end:","Sommerzeit Ende:" }, |
454 | { "Time Zone","Zeitzone" }, | 454 | { "Time Zone","Zeitzone" }, |
455 | { "Monday 19 April 2004: %A %d %B %Y","Montag 19 April 2004: %A %d %B %Y" }, | 455 | { "Monday 19 April 2004: %A %d %B %Y","Montag 19 April 2004: %A %d %B %Y" }, |
456 | { "%A: Monday --- %a: Mon","%A: Montag --- %a: Mon" }, | 456 | { "%A: Monday --- %a: Mon","%A: Montag --- %a: Mon" }, |
457 | { "minutely","minütlich" }, | 457 | { "minutely","minütlich" }, |
458 | { "hourly","stündlich" }, | 458 | { "hourly","stündlich" }, |
459 | { "daily","täglich" }, | 459 | { "daily","täglich" }, |
460 | { "weekly","wöchentlich" }, | 460 | { "weekly","wöchentlich" }, |
461 | { "monthly","monatlich" }, | 461 | { "monthly","monatlich" }, |
462 | { "day-monthly","tag-monatlich" }, | 462 | { "day-monthly","tag-monatlich" }, |
463 | { "month-yearly","monat-jährlich" }, | 463 | { "month-yearly","monat-jährlich" }, |
464 | { "day-yearly","tag-jährlich" }, | 464 | { "day-yearly","tag-jährlich" }, |
465 | { "position-yearly","pos-jährlich" }, | 465 | { "position-yearly","pos-jährlich" }, |
466 | { "Edit item on doubleclick (if not, show)","Editiere mit Doppelklick(wenn nicht, zeige)" }, | 466 | { "Edit item on doubleclick (if not, show)","Editiere mit Doppelklick(wenn nicht, zeige)" }, |
467 | { "Highlight current day in agenda","Hebe >>heute<< in Agenda hervor" }, | 467 | { "Highlight current day in agenda","Hebe >>heute<< in Agenda hervor" }, |
468 | { "Use light color for highlight current day","Helle Farbe für >>heute<< Hervorhebung" }, | 468 | { "Use light color for highlight current day","Helle Farbe für >>heute<< Hervorhebung" }, |
469 | { "Highlight selection in Time Edit","Hebe Auswahl in Zeit Edit hervor" }, | 469 | { "Highlight selection in Time Edit","Hebe Auswahl in Zeit Edit hervor" }, |
470 | { "Hold fullscreen on view change","Behalte Vollbild bei Ansichswechsel" }, | 470 | { "Hold fullscreen on view change","Behalte Vollbild bei Ansichswechsel" }, |
471 | { "Hold non-fullscreen on view change","Behalte Nicht-Vollbild bei Ansichtsw." }, | 471 | { "Hold non-fullscreen on view change","Behalte Nicht-Vollbild bei Ansichtsw." }, |
472 | { "Event list view uses full window","Listenansicht nutzt Vollbild" }, | 472 | { "Event list view uses full window","Listenansicht nutzt Vollbild" }, |
473 | { "Set agenda to DayBeginsAt on change","Setze Agenda auf TagBeginntUm bei Wechsel" }, | 473 | { "Set agenda to DayBeginsAt on change","Setze Agenda auf TagBeginntUm bei Wechsel" }, |
474 | { "Set agenda to current time on change","Setze Agenda auf gegenw.Zeit bei Wechsel" }, | 474 | { "Set agenda to current time on change","Setze Agenda auf gegenw.Zeit bei Wechsel" }, |
475 | { "Listview uses monthly timespan","Listenansicht zeigt monatliche Zeitspanne" }, | 475 | { "Listview uses monthly timespan","Listenansicht zeigt monatliche Zeitspanne" }, |
476 | { "ViewChange","Ansichtswechsel" }, | 476 | { "ViewChange","Ansichtswechsel" }, |
477 | { "Default alarm *.wav file:","Standard Alarm *.wav Datei:" }, | 477 | { "Default alarm *.wav file:","Standard Alarm *.wav Datei:" }, |
478 | { "This setting is useless for 5500 user!","Diese Einst. ist nutzlos für 5500 Nutzer" }, | 478 | { "This setting is useless for 5500 user!","Diese Einst. ist nutzlos für 5500 Nutzer" }, |
479 | { "File","Datei" }, | 479 | { "File","Datei" }, |
480 | { "Clone...","Dupliziere.." }, | 480 | { "Clone...","Dupliziere.." }, |
481 | { "Move...","Bewege..." }, | 481 | { "Move...","Bewege..." }, |
482 | { "Beam...","Sende via IR..." }, | 482 | { "Beam...","Sende via IR..." }, |
483 | { "&Clone...","Dupliziere.." }, | 483 | { "&Clone...","Dupliziere.." }, |
484 | { "&Move...","Bewege..." }, | 484 | { "&Move...","Bewege..." }, |
485 | { "&Beam...","Sende via IR..." }, | 485 | { "&Beam...","Sende via IR..." }, |
486 | { "Show Completed","Zeige erledigte Todos" }, | 486 | { "Show Completed","Zeige erledigte Todos" }, |
487 | { "Show Quick Todo","Zeige Quick Todo" }, | 487 | { "Show Quick Todo","Zeige Quick Todo" }, |
488 | { "Unparent Todo","Un-sub Todo" }, | 488 | { "Unparent Todo","Un-sub Todo" }, |
489 | { "Save selected to file...","Speichere Selektierte..." }, | 489 | { "Save selected to file...","Speichere Selektierte..." }, |
490 | { "Add Categ. to selected...","Füge zu Selekt. Kateg. hinzu..." }, | 490 | { "Add Categ. to selected...","Füge zu Selekt. Kateg. hinzu..." }, |
491 | { "Set Categ. for selected...","Setze Kateg. für Selekt." }, | 491 | { "Set Categ. for selected...","Setze Kateg. für Selekt." }, |
492 | { "Beam selected via IR","Sende Selekt. via IR..." }, | 492 | { "Beam selected via IR","Sende Selekt. via IR..." }, |
493 | { "Search","Suchen" }, | 493 | { "Search","Suchen" }, |
494 | { "Date Picker","Datum auswählen" }, | 494 | { "Date Picker","Datum auswählen" }, |
495 | { "Day View","Tagesansicht" }, | 495 | { "Day View","Tagesansicht" }, |
496 | { "Work Week","Arbeitswoche" }, | 496 | { "Work Week","Arbeitswoche" }, |
497 | { "Week","Wochenansicht" }, | 497 | { "Week","Wochenansicht" }, |
498 | { "Month","Monatsansicht" }, | 498 | { "Month","Monatsansicht" }, |
499 | { "Todo View","Todo Liste" }, | 499 | { "Todo View","Todo Liste" }, |
500 | { "Journal","Journal Ansicht" }, | 500 | { "Journal","Journal Ansicht" }, |
501 | { "Next days","Nächste Tage" }, | 501 | { "Next days","Nächste Tage" }, |
502 | { "Print agenda selection...","Drucke Agendaselektion..." }, | 502 | { "Print agenda selection...","Drucke Agendaselektion..." }, |
503 | { "Toggle DateNavigator","Navigator umschalten" }, | 503 | { "Toggle DateNavigator","Navigator umschalten" }, |
504 | { "Toggle FilterView","Filteransicht umschalten" }, | 504 | { "Toggle FilterView","Filteransicht umschalten" }, |
505 | { "Prev. month","Vorheriger Monat" }, | 505 | { "Prev. month","Vorheriger Monat" }, |
506 | { "Go backward","Gehe zurück" }, | 506 | { "Go backward","Gehe zurück" }, |
507 | { "Go forward","Gehe weiter" }, | 507 | { "Go forward","Gehe weiter" }, |
508 | { "Synchronize","Synchronisieren" }, | 508 | { "Synchronize","Synchronisieren" }, |
509 | { "AgendaSize","Agendagröße" }, | 509 | { "AgendaSize","Agendagröße" }, |
510 | { "Import (*.ics/*.vcs) file","Importiere (*.ics/*.vcs) Datei" }, | 510 | { "Import (*.ics/*.vcs) file","Importiere (*.ics/*.vcs) Datei" }, |
511 | { "Import last file","Importiere letzte Datei" }, | 511 | { "Import last file","Importiere letzte Datei" }, |
512 | { "Import Opie/Qtopia Cal.","Importiere Opie/Qtopia Kal." }, | 512 | { "Import Opie/Qtopia Cal.","Importiere Opie/Qtopia Kal." }, |
513 | { "Load Calendar Backup","Lade Kalender Backup" }, | 513 | { "Load Calendar Backup","Lade Kalender Backup" }, |
514 | { "Save Calendar Backup","Speichere Kalender Backup" }, | 514 | { "Save Calendar Backup","Speichere Kalender Backup" }, |
515 | { "Export VCalendar","Exportiere VCalendar" }, | 515 | { "Export VCalendar","Exportiere VCalendar" }, |
516 | { "Manage new categories...","Verwalte neue Kategorien..." }, | 516 | { "Manage new categories...","Verwalte neue Kategorien..." }, |
517 | { "Beam complete calendar...","Sende kompletten Kalender via IR" }, | 517 | { "Beam complete calendar...","Sende kompletten Kalender via IR" }, |
518 | { "Beam filtered calendar...","Sende gefilterten Kalender via IR" }, | 518 | { "Beam filtered calendar...","Sende gefilterten Kalender via IR" }, |
519 | { "Remote via ssh","Über Netzwerk via ssh" }, | 519 | { "Remote via ssh","Über Netzwerk via ssh" }, |
520 | { "With local file","Mit lokaler Datei" }, | 520 | { "With local file","Mit lokaler Datei" }, |
521 | { "With last file","Mit letzter Datei" }, | 521 | { "With last file","Mit letzter Datei" }, |
522 | { "KO/Pi: Ready for beaming","KO/Pi: Bereit zum Senden" }, | 522 | { "KO/Pi: Ready for beaming","KO/Pi: Bereit zum Senden" }, |
523 | { "KO/Pi:Beaming done","KO/Pi: Senden erfolgt" }, | 523 | { "KO/Pi:Beaming done","KO/Pi: Senden erfolgt" }, |
524 | { "Save filename","Speichern: Dateinamen wählen" }, | 524 | { "Save filename","Speichern: Dateinamen wählen" }, |
525 | { "File already exists!\nOld file from:\n%1\nOverwrite?\n","Dateiname existiert bereits!\nAlte Datei vom:\n%1\nÜberschreiben?\n" }, | 525 | { "File already exists!\nOld file from:\n%1\nOverwrite?\n","Dateiname existiert bereits!\nAlte Datei vom:\n%1\nÜberschreiben?\n" }, |
526 | { "KO/Pi: Warning!","KO/Pi: Warnung!" }, | 526 | { "KO/Pi: Warning!","KO/Pi: Warnung!" }, |
527 | { "Overwrite!","Überschreibe!" }, | 527 | { "Overwrite!","Überschreibe!" }, |
528 | { "KO/Pi:Saved %1","KO/Pi:Gespeichert %1" }, | 528 | { "KO/Pi:Saved %1","KO/Pi:Gespeichert %1" }, |
529 | { "All selected items will be\npermanently deleted.\n(Deleting items will take\nsome time on a PDA)\n","Alle selektierten Einträge werden\nunwiederbringlich gelöscht.\n(Löschen kann auf dem\nPDA einige Zeit dauern)\n" }, | 529 | { "All selected items will be\npermanently deleted.\n(Deleting items will take\nsome time on a PDA)\n","Alle selektierten Einträge werden\nunwiederbringlich gelöscht.\n(Löschen kann auf dem\nPDA einige Zeit dauern)\n" }, |
530 | { "KO/Pi Confirmation","KO/Pi Bestätigung" }, | 530 | { "KO/Pi Confirmation","KO/Pi Bestätigung" }, |
531 | { "Close dialog to abort deletion!","Schließe Dialog um das Löschen abzubrechen!" }, | 531 | { "Close dialog to abort deletion!","Schließe Dialog um das Löschen abzubrechen!" }, |
532 | { "Deleting item %d ...","Lösche Eintrag %d ..." }, | 532 | { "Deleting item %d ...","Lösche Eintrag %d ..." }, |
533 | { "%d items remaining in list.","%d Einträge sind in der Liste verblieben." }, | 533 | { "%d items remaining in list.","%d Einträge sind in der Liste verblieben." }, |
534 | { "Size","Größe" }, | 534 | { "Size","Größe" }, |
535 | { "Date","Datum" }, | 535 | { "Date","Datum" }, |
536 | { "Mime Type","Datei Typ" }, | 536 | { "Mime Type","Datei Typ" }, |
537 | { "All Files","Alle Dateien" }, | 537 | { "All Files","Alle Dateien" }, |
538 | { "Files","Dateien" }, | 538 | { "Files","Dateien" }, |
539 | { "Documents","DoKumente" }, | 539 | { "Documents","DoKumente" }, |
540 | { "Select Categories","Selektiere Kategorien" }, | 540 | { "Select Categories","Selektiere Kategorien" }, |
541 | { " &Deselect All "," Auswahl aufheben " }, | 541 | { " &Deselect All "," Auswahl aufheben " }, |
542 | { "A&dd","Hinzu" }, | 542 | { "A&dd","Hinzu" }, |
543 | { "&Modify","Ändern" }, | 543 | { "&Modify","Ändern" }, |
544 | { "Edit Categories","Editiere Kategorien" }, | 544 | { "Edit Categories","Editiere Kategorien" }, |
545 | { " &Edit Categories "," &Editiere Kategorien " }, | 545 | { " &Edit Categories "," &Editiere Kategorien " }, |
546 | { "Beam Options","Beam Einstellungen" }, | 546 | { "Beam Options","Beam Einstellungen" }, |
547 | { " With timezone "," Mit Zeitzone " }, | 547 | { " With timezone "," Mit Zeitzone " }, |
548 | { " Local time ", " Lokale Zeit " }, | 548 | { " Local time ", " Lokale Zeit " }, |
549 | { "Manage new Categories","Verwalte neue Kategorien" }, | 549 | { "Manage new Categories","Verwalte neue Kategorien" }, |
550 | { "Add to category list","Füge zur Kategorieliste hinzu" }, | 550 | { "Add to category list","Füge zur Kategorieliste hinzu" }, |
551 | { "Remove from Events/Todos","Entferne von Terminen/Todos" }, | 551 | { "Remove from Events/Todos","Entferne von Terminen/Todos" }, |
552 | { "After importing/loading/syncing\nthere may be new categories in\nevents or todos\nwhich are not in the category list.\nPlease choose what to do:\n ","Nach dem Importieren/Laden/Syncen\nkann es neue Kategorien in den \nTerminen oder Todos geben, die nicht\nin der Kategorieliste enthalten sind.\nBitte wählen Sie, was passieren soll:\n " }, | 552 | { "After importing/loading/syncing\nthere may be new categories in\nevents or todos\nwhich are not in the category list.\nPlease choose what to do:\n ","Nach dem Importieren/Laden/Syncen\nkann es neue Kategorien in den \nTerminen oder Todos geben, die nicht\nin der Kategorieliste enthalten sind.\nBitte wählen Sie, was passieren soll:\n " }, |
553 | { "New categories not in list:","Kategorien, die nicht in der Liste sind:" }, | 553 | { "New categories not in list:","Kategorien, die nicht in der Liste sind:" }, |
554 | { "File format","Datei Format" }, | 554 | { "File format","Datei Format" }, |
555 | { "Time format","Zeit Format" }, | 555 | { "Time format","Zeit Format" }, |
556 | { "Delete all\ncompleted To-Dos?","Lösche alle\nerledigten To-Dos?" }, | 556 | { "Delete all\ncompleted To-Dos?","Lösche alle\nerledigten To-Dos?" }, |
557 | { "KO/Pi:Saving Data to File ...","KO/Pi: Speichere Kalender in Datei ..." }, | 557 | { "KO/Pi:Saving Data to File ...","KO/Pi: Speichere Kalender in Datei ..." }, |
558 | { "KO/Pi:File Saved. Needed %d sec, %d ms","KO/Pi: Abgespeichert in %d sec, %d ms" }, | 558 | { "KO/Pi:File Saved. Needed %d sec, %d ms","KO/Pi: Abgespeichert in %d sec, %d ms" }, |
559 | { "h","Std" }, | 559 | { "h","Std" }, |
560 | { "min","Min" }, | 560 | { "min","Min" }, |
561 | { "hou","Std" }, | 561 | { "hou","Std" }, |
562 | { "day","Tag" }, | 562 | { "day","Tag" }, |
563 | { "French","Französich" }, | 563 | { "French","Französich" }, |
564 | { "Time","Zeit" }, | 564 | { "Time","Zeit" }, |
565 | { "Event Viewer","Termin Ansicht" }, | 565 | { "Event Viewer","Termin Ansicht" }, |
566 | { "Cancel Sync","Sync Abbrechen" }, | 566 | { "Cancel Sync","Sync Abbrechen" }, |
567 | { "Remote","Fern" }, | 567 | { "Remote","Fern" }, |
568 | { "Local","Lokal" }, | 568 | { "Local","Lokal" }, |
569 | { "Conflict! Please choose entry","Konflikt! Bitte Eintrag wählen" }, | 569 | { "Conflict! Please choose entry","Konflikt! Bitte Eintrag wählen" }, |
570 | { "Local: ","Lokal: " }, | 570 | { "Local: ","Lokal: " }, |
571 | { "Remote: ","Fern: " }, | 571 | { "Remote: ","Fern: " }, |
572 | { "Last modified: ","Zuletzt geändert: " }, | 572 | { "Last modified: ","Zuletzt geändert: " }, |
573 | { "Location: ","Ort: " }, | 573 | { "Location: ","Ort: " }, |
574 | { "<p><b>From:</b> %1 </p><p><b>To:</b> %2</p>","<p><b>Von:</b> %1 </p><p><b>Bis:</b> %2</p>" }, | 574 | { "<p><b>From:</b> %1 </p><p><b>To:</b> %2</p>","<p><b>Von:</b> %1 </p><p><b>Bis:</b> %2</p>" }, |
575 | { "<p><b>On:</b> %1</p>","<p><b>Am:</b> %1</p>" }, | 575 | { "<p><b>On:</b> %1</p>","<p><b>Am:</b> %1</p>" }, |
576 | { "<p><b>From:</b> %1</p> ","<p><b>Von:</b> %1</p> " }, | 576 | { "<p><b>From:</b> %1</p> ","<p><b>Von:</b> %1</p> " }, |
577 | { "<p><b>To:</b> %1</p>","<p><b>Bis:</b> %1</p>" }, | 577 | { "<p><b>To:</b> %1</p>","<p><b>Bis:</b> %1</p>" }, |
578 | { "<p><b>On:</b> %1</p> ","<p><b>Am:</b> %1</p> " }, | 578 | { "<p><b>On:</b> %1</p> ","<p><b>Am:</b> %1</p> " }, |
579 | { "<p><b>From:</b> %1 <b>To:</b> %2</p>","<p><b>Von:</b> %1 <b>Bis:</b> %2</p>" }, | 579 | { "<p><b>From:</b> %1 <b>To:</b> %2</p>","<p><b>Von:</b> %1 <b>Bis:</b> %2</p>" }, |
580 | { "This is a %1 recurring event.","Das ist ein %1 wiederholender Termin." }, | 580 | { "This is a %1 recurring event.","Das ist ein %1 wiederholender Termin." }, |
581 | { "<b>Next recurrence is on:</b>","<b>Nächste Wiederholung ist am:</b>" }, | 581 | { "<b>Next recurrence is on:</b>","<b>Nächste Wiederholung ist am:</b>" }, |
582 | { "<b>Last recurrence was on:</b>","<b>Letzte Wiederholung war am:</b>" }, | 582 | { "<b>Last recurrence was on:</b>","<b>Letzte Wiederholung war am:</b>" }, |
583 | { "( %1 min before )","( %1 min vorher )" }, | 583 | { "( %1 min before )","( %1 min vorher )" }, |
584 | { "<b>Alarm on: ","<b>Alarm am: " }, | 584 | { "<b>Alarm on: ","<b>Alarm am: " }, |
585 | { "<b>Details: </b>","<b>Details: </b>" }, | 585 | { "<b>Details: </b>","<b>Details: </b>" }, |
586 | { "<p><b>Priority:</b> %2</p>","<p><b>Priorität:</b> %2</p>" }, | 586 | { "<p><b>Priority:</b> %2</p>","<p><b>Priorität:</b> %2</p>" }, |
587 | { "<p><i>%1 % completed</i></p>","<p><i>%1 % erledigt</i></p>" }, | 587 | { "<p><i>%1 % completed</i></p>","<p><i>%1 % erledigt</i></p>" }, |
588 | { "Organizer","Organisator" }, | 588 | { "Organizer","Organisator" }, |
589 | { "Save","Speichern" }, | 589 | { "Save","Speichern" }, |
590 | { "Exit (+save)","Beenden (+ speichern)" }, | 590 | { "Exit (+save)","Beenden (+ speichern)" }, |
591 | { "Home","Zuhause" }, | 591 | { "Home","Zuhause" }, |
592 | { "Office","Büro" }, | 592 | { "Office","Büro" }, |
593 | { "Libary","Bücherei" }, | 593 | { "Libary","Bücherei" }, |
594 | { "Doctor","Arzt" }, | 594 | { "Doctor","Arzt" }, |
595 | { "Beach","Strand" }, | 595 | { "Beach","Strand" }, |
596 | { "Conference room","Konferenzraum" }, | 596 | { "Conference room","Konferenzraum" }, |
597 | { "Drive Home","Heimfahrt" }, | 597 | { "Drive Home","Heimfahrt" }, |
598 | { "Watch TV","Tv gucken" }, | 598 | { "Watch TV","Tv gucken" }, |
599 | { "Phone call","Telefonanruf" }, | 599 | { "Phone call","Telefonanruf" }, |
600 | { "Pay bill","Rechnung bezahlen" }, | 600 | { "Pay bill","Rechnung bezahlen" }, |
601 | { "Read book","Buch lesen" }, | 601 | { "Read book","Buch lesen" }, |
602 | { "Watering plants","Pflanzen giessen" }, | 602 | { "Watering plants","Pflanzen giessen" }, |
603 | {"Appointment","Verabredung" }, | 603 | {"Appointment","Verabredung" }, |
604 | {"Birthday","Geburtstag" }, | 604 | {"Birthday","Geburtstag" }, |
605 | {"Business","Geschäft" }, | 605 | {"Business","Geschäft" }, |
606 | {"Business Travel","Geschäftsreise" }, | 606 | {"Business Travel","Geschäftsreise" }, |
607 | {"Cinema","Kino" }, | 607 | {"Cinema","Kino" }, |
608 | {"Customer","Kunde" }, | 608 | {"Customer","Kunde" }, |
609 | {"Break","Pause" }, | 609 | {"Break","Pause" }, |
610 | {"Breakfast","Frühstück" }, | 610 | {"Breakfast","Frühstück" }, |
611 | {"Competition","Wettkampf" }, | 611 | {"Competition","Wettkampf" }, |
612 | {"Dinner","Abendessen" }, | 612 | {"Dinner","Abendessen" }, |
613 | {"Education","Erziehung" }, | 613 | {"Education","Erziehung" }, |
614 | {"Family","Familie" }, | 614 | {"Family","Familie" }, |
615 | {"Favorites","Favoriten" }, | 615 | {"Favorites","Favoriten" }, |
616 | {"Festival","Festival" }, | 616 | {"Festival","Festival" }, |
617 | {"Fishing","Angeln" }, | 617 | {"Fishing","Angeln" }, |
618 | {"Flight","Flug" }, | 618 | {"Flight","Flug" }, |
619 | {"Gifts","Geschenk" }, | 619 | {"Gifts","Geschenk" }, |
620 | {"Holiday","Feiertag" }, | 620 | {"Holiday","Feiertag" }, |
621 | {"Holiday Cards","Ansichtskarten" }, | 621 | {"Holiday Cards","Ansichtskarten" }, |
622 | {"Hot Contacts","Heisse Kontakte" }, | 622 | {"Hot Contacts","Heisse Kontakte" }, |
623 | {"Hiking","Wandern" }, | 623 | {"Hiking","Wandern" }, |
624 | {"Hunting","Jagen" }, | 624 | {"Hunting","Jagen" }, |
625 | {"Key Customer","Wichtiger Kunde" }, | 625 | {"Key Customer","Wichtiger Kunde" }, |
626 | {"Kids","Kinder" }, | 626 | {"Kids","Kinder" }, |
627 | {"Lunch","Mittagessen" }, | 627 | {"Lunch","Mittagessen" }, |
628 | {"Meeting","Treffen" }, | 628 | {"Meeting","Treffen" }, |
629 | {"Miscellaneous","Verschiedenes" }, | 629 | {"Miscellaneous","Verschiedenes" }, |
630 | {"Partner","Partner" }, | 630 | {"Partner","Partner" }, |
631 | {"Party","Partie" }, | 631 | {"Party","Partie" }, |
632 | {"Personal","Privat" }, | 632 | {"Personal","Privat" }, |
633 | {"Personal Travel","Privatreise"}, | 633 | {"Personal Travel","Privatreise"}, |
634 | {"PHB","PHB" }, | 634 | {"PHB","PHB" }, |
635 | {"Phone Calls","Telefonanruf" }, | 635 | {"Phone Calls","Telefonanruf" }, |
636 | {"Projects","Projekt" }, | 636 | {"Projects","Projekt" }, |
637 | {"Recurring","Wiederholend" }, | 637 | {"Recurring","Wiederholend" }, |
638 | {"School","Schule" }, | 638 | {"School","Schule" }, |
639 | {"Shopping","Einkaufen" }, | 639 | {"Shopping","Einkaufen" }, |
640 | {"Speach","Rede" }, | 640 | {"Speach","Rede" }, |
641 | {"Special Occasion","Spez.Gelegenheit" }, | 641 | {"Special Occasion","Spez.Gelegenheit" }, |
642 | {"Sports","Sport" }, | 642 | {"Sports","Sport" }, |
643 | {"Talk","Vortrag" }, | 643 | {"Talk","Vortrag" }, |
644 | {"Travel","Reise" }, | 644 | {"Travel","Reise" }, |
645 | {"TV","TV" }, | 645 | {"TV","TV" }, |
646 | {"Germany","Deutschland" }, | 646 | {"Germany","Deutschland" }, |
647 | {"Sweden","Schweden" }, | 647 | {"Sweden","Schweden" }, |
648 | {"Forest","Wald" }, | 648 | {"Forest","Wald" }, |
649 | { "Desert","Wüste" }, | 649 | { "Desert","Wüste" }, |
650 | { "Kitchen","Küche" }, | 650 | { "Kitchen","Küche" }, |
651 | { "Lake","See" }, | 651 | { "Lake","See" }, |
652 | {"University","Universität"}, | 652 | {"University","Universität"}, |
653 | {"Vacation","Urlaub" }, | 653 | {"Vacation","Urlaub" }, |
654 | {"VIP","VIP" }, | 654 | {"VIP","VIP" }, |
655 | { "Import Sharp Calendar","Importiere Sharp Kalender" }, | 655 | { "Import Sharp Calendar","Importiere Sharp Kalender" }, |
656 | { "This todo has been cancelled!","Dieses Todo wurde gecancelt!" }, | 656 | { "This todo has been cancelled!","Dieses Todo wurde gecancelt!" }, |
657 | { "This event has been cancelled!","Dieser Termin wurde gecancelt!" }, | 657 | { "This event has been cancelled!","Dieser Termin wurde gecancelt!" }, |
658 | { "Cancelled","Gecancelt" }, | 658 | { "Cancelled","Gecancelt" }, |
659 | { "Multiple sync","Mehrfach Sync" }, | 659 | { "Multiple sync","Mehrfach Sync" }, |
660 | { "Local file","Lokale Datei" }, | 660 | { "Local file","Lokale Datei" }, |
661 | { "Last file","Letzte Datei" }, | 661 | { "Last file","Letzte Datei" }, |
662 | { "Keys + Colors...","Tasten + Farben..." }, | 662 | { "Keys + Colors...","Tasten + Farben..." }, |
663 | { "Mini icons in toolbar(nr)","Mini Icons in ToolBar(bn)" }, | 663 | { "Mini icons in toolbar(nr)","Mini Icons in ToolBar(bn)" }, |
664 | { "Quick load/save (w/o Unicode)","Schnelles Laden/Speichern (o Unicode)" }, | 664 | { "Quick load/save (w/o Unicode)","Schnelles Laden/Speichern (o Unicode)" }, |
665 | { "Choose...","Wähle..." }, | 665 | { "Choose...","Wähle..." }, |
666 | { "Use colors for application:","Setze Farben für Programm:" }, | 666 | { "Use colors for application:","Setze Farben für Programm:" }, |
667 | { "Buttons, menus, etc.:","Knöpfe, Menu, etc.:" }, | 667 | { "Buttons, menus, etc.:","Knöpfe, Menu, etc.:" }, |
668 | { "Frames, labels, etc.:","Rahmen, Label, etc.:" }, | 668 | { "Frames, labels, etc.:","Rahmen, Label, etc.:" }, |
669 | { "Show parent To-Do's in What's Next view","Zeige Ober-Todo in What's Next Anz." }, | 669 | { "Show parent To-Do's in What's Next view","Zeige Ober-Todo in What's Next Anz." }, |
670 | { "Show location in What's Next view","Zeige Ort in What's Next Anz." }, | 670 | { "Show location in What's Next view","Zeige Ort in What's Next Anz." }, |
671 | { "Show events that recur ","Zeige Termine, die sich wiederholen:" }, | 671 | { "Show events that recur ","Zeige Termine, die sich wiederholen:" }, |
672 | { "Show in every cell ","Zeige in jeder Zelle " }, | 672 | { "Show in every cell ","Zeige in jeder Zelle " }, |
673 | { "short month","kurzen Monat" }, | 673 | { "short month","kurzen Monat" }, |
674 | { "icons","Icons" }, | 674 | { "icons","Icons" }, |
675 | { "Show Sat/Sun together","Zeige Sam/Son zusammen" }, | 675 | { "Show Sat/Sun together","Zeige Sam/Son zusammen" }, |
676 | { "Categorie colors are applied to text","Kategorie Farben färben Text" }, | 676 | { "Categorie colors are applied to text","Kategorie Farben färben Text" }, |
677 | { "Month view uses day colors","Monatsansicht zeigt Tagesfarben" }, | 677 | { "Month view uses day colors","Monatsansicht zeigt Tagesfarben" }, |
678 | { "Day color odd months","Tagesfarbe ungerade Monate" }, | 678 | { "Day color odd months","Tagesfarbe ungerade Monate" }, |
679 | { "Day color even months","Tagesfarbe gerade Monate" }, | 679 | { "Day color even months","Tagesfarbe gerade Monate" }, |
680 | { "Color for Sundays + category \"Holiday\"","Farbe für Sonntag + Kateg.\" Feiertag\"" }, | 680 | { "Color for Sundays + category \"Holiday\"","Farbe für Sonntag + Kateg.\" Feiertag\"" }, |
681 | { "To-do view shows complete as 'xx %'","Zeige Prozent erledigt als 'xx %'" }, | 681 | { "To-do view shows complete as 'xx %'","Zeige Prozent erledigt als 'xx %'" }, |
682 | { "Small To-do view uses smaller font","Kleine To-do Ansicht nutzt kleineren Font" }, | 682 | { "Small To-do view uses smaller font","Kleine To-do Ansicht nutzt kleineren Font" }, |
683 | { "Colors are applied to text","Farben werden auf Text angewendet" }, | 683 | { "Colors are applied to text","Farben werden auf Text angewendet" }, |
684 | { "Use internal alarm notification","Nutze interne Alarm Benachrichtigung" }, | 684 | { "Use internal alarm notification","Nutze interne Alarm Benachrichtigung" }, |
685 | { "Note: KO/Pi must be running to notify you about an alarm. Recommended for use on Zaurus: Disable this option and install KO/Pi alarm applet.\n","Achtung: KO/Pi muß ausgeführt werden damit die Benachrichtigung funktioniert. Empfehlung für Zaurus: Diese Option nicht wählen und KO/Pi Alarm Applet installieren.\n" }, | 685 | { "Note: KO/Pi must be running to notify you about an alarm. Recommended for use on Zaurus: Disable this option and install KO/Pi alarm applet.\n","Achtung: KO/Pi muß ausgeführt werden damit die Benachrichtigung funktioniert. Empfehlung für Zaurus: Diese Option nicht wählen und KO/Pi Alarm Applet installieren.\n" }, |
686 | { "Play beeps count:","Anzahl der Alarmpiepse: " }, | 686 | { "Play beeps count:","Anzahl der Alarmpiepse: " }, |
687 | { "Beeps interval in sec:","Zeitintervall der Alarmpiepse: " }, | 687 | { "Beeps interval in sec:","Zeitintervall der Alarmpiepse: " }, |
688 | { "Default suspend time in min:","Standard Supendierungs Zeit: " }, | 688 | { "Default suspend time in min:","Standard Supendierungs Zeit: " }, |
689 | { "Auto suspend count:","Anzahl der auto Suspendierungen" }, | 689 | { "Auto suspend count:","Anzahl der auto Suspendierungen" }, |
690 | { "Alarm *.wav file for newly created alarm:","Alarm *.wav Datei für neu angelegte Alarme:" }, | 690 | { "Alarm *.wav file for newly created alarm:","Alarm *.wav Datei für neu angelegte Alarme:" }, |
691 | { "New profile","Neues Profil" }, | 691 | { "New profile","Neues Profil" }, |
692 | { "Clone profile","Klone Profil" }, | 692 | { "Clone profile","Klone Profil" }, |
693 | { "Delete profile","Lösche Profil" }, | 693 | { "Delete profile","Lösche Profil" }, |
694 | { "Profile:","Profil:" }, | 694 | { "Profile:","Profil:" }, |
695 | { "Include in multiple sync","Beziehe Profil in mehrfach Sync mit ein" }, | 695 | { "Include in multiple sync","Beziehe Profil in mehrfach Sync mit ein" }, |
696 | { "Force: Take local entry always","Erzwinge: Nimm immer lokalen Eintrag" }, | 696 | { "Force: Take local entry always","Erzwinge: Nimm immer lokalen Eintrag" }, |
697 | { "Force: Take remote entry always","Erzwinge: Nimm immer fernen Eintrag" }, | 697 | { "Force: Take remote entry always","Erzwinge: Nimm immer fernen Eintrag" }, |
698 | { "Show summary after sync","Zeige Zusammenfassung nach dem Synchronisieren" }, | 698 | { "Show summary after sync","Zeige Zusammenfassung nach dem Synchronisieren" }, |
699 | { "Write back file","Schreibe Datei zurück" }, | 699 | { "Write back file","Schreibe Datei zurück" }, |
700 | { "Remote file (w down/upload command)","Entfernte Datei (via down/upload Kommando)" }, | 700 | { "Remote file (w down/upload command)","Entfernte Datei (via down/upload Kommando)" }, |
701 | { "Pre sync (download) command:","Bevor Sync (download) Kommando:" }, | 701 | { "Pre sync (download) command:","Bevor Sync (download) Kommando:" }, |
702 | { "Local device name:","Name dieses Gerätes:" }, | 702 | { "Local device name:","Name dieses Gerätes:" }, |
703 | { "Ask for preferences before sync","Frage nach Synchronisationseinstellungen vor dem Syncen" }, | 703 | { "Ask for preferences before sync","Frage nach Synchronisationseinstellungen vor dem Syncen" }, |
704 | { "Sync preferences","Synchronisations Einstellungen" }, | 704 | { "Sync preferences","Synchronisations Einstellungen" }, |
705 | { "Profile kind","Profil Art" }, | 705 | { "Profile kind","Profil Art" }, |
706 | { "Local file","Lokale Datei" }, | 706 | { "Local file","Lokale Datei" }, |
707 | { "Local file:","Lokale Datei:" }, | 707 | { "Local file:","Lokale Datei:" }, |
708 | { "Post sync (upload) command:","Nach Sync (upload) Kommando:" }, | 708 | { "Post sync (upload) command:","Nach Sync (upload) Kommando:" }, |
709 | { "Fill in default values for:","Setze Beispiel Werte ein für:" }, | 709 | { "Fill in default values for:","Setze Beispiel Werte ein für:" }, |
710 | { "Hint: Use $PWD$ for placeholder of password!","Hinweis: Benutze $PWD$ als Platzhalter für ein Passwort!" }, | 710 | { "Hint: Use $PWD$ for placeholder of password!","Hinweis: Benutze $PWD$ als Platzhalter für ein Passwort!" }, |
711 | { "Synchronization Preferences","Einstellungen der Synchronisationsprofile"}, | 711 | { "Synchronization Preferences","Einstellungen der Synchronisationsprofile"}, |
712 | { "Device","Gerät:" }, | 712 | { "Device","Gerät:" }, |
713 | { "Sync with file \n...%1\nfrom:\n%2\n","Sync mit Datei \n...%1\nvom:\n%2\n" }, | 713 | { "Sync with file \n...%1\nfrom:\n%2\n","Sync mit Datei \n...%1\nvom:\n%2\n" }, |
714 | { "Synchronization summary:\n\n %d items added to local\n %d items added to remote\n %d items updated on local\n %d items updated on remote\n %d items deleted on local\n %d items deleted on remote\n","Synchronisationsübersicht:\n\n %d items lokal hinzugefügt\n %d items entfernt hinzugefügt\n %d items lokal geändert\n %d items entfernt geändert\n %d items lokal gelöscht\n %d items entfernt gelöscht\n" }, | 714 | { "Synchronization summary:\n\n %d items added to local\n %d items added to remote\n %d items updated on local\n %d items updated on remote\n %d items deleted on local\n %d items deleted on remote\n","Synchronisationsübersicht:\n\n %d items lokal hinzugefügt\n %d items entfernt hinzugefügt\n %d items lokal geändert\n %d items entfernt geändert\n %d items lokal gelöscht\n %d items entfernt gelöscht\n" }, |
715 | { "Synchronization successful","Synchronisation erfolgreich" }, | 715 | { "Synchronization successful","Synchronisation erfolgreich" }, |
716 | { "Sync cancelled or failed. Nothing synced.","Sync abgebrochen oder fehlgeschlagen. Nichts wurde gesynced." }, | 716 | { "Sync cancelled or failed. Nothing synced.","Sync abgebrochen oder fehlgeschlagen. Nichts wurde gesynced." }, |
717 | { "Sync file \n...%1\ndoes not exist!\nNothing synced!\n","Sync Datei \n...%1\nexistiert nicht!\nNichts wurde gesynced!\n" }, | 717 | { "Sync file \n...%1\ndoes not exist!\nNothing synced!\n","Sync Datei \n...%1\nexistiert nicht!\nNichts wurde gesynced!\n" }, |
718 | { "Sync filename(*.ics/*.vcs)","Sync Dateiname(*.ics/*.vcs)" }, | 718 | { "Sync filename(*.ics/*.vcs)","Sync Dateiname(*.ics/*.vcs)" }, |
719 | { "Enter password","Passwort eingeben" }, | 719 | { "Enter password","Passwort eingeben" }, |
720 | { "Do you really want\nto remote sync\nwith profile \n","Wollen Sie wirklich\nmit dem entfernten\nProfil syncen: \n" }, | 720 | { "Do you really want\nto remote sync\nwith profile \n","Wollen Sie wirklich\nmit dem entfernten\nProfil syncen: \n" }, |
721 | { "Copy remote file to local machine...","Kopiere entfernte Datei auf lokalen Rechner..." }, | 721 | { "Copy remote file to local machine...","Kopiere entfernte Datei auf lokalen Rechner..." }, |
722 | { "Sorry, the copy command failed!\nCommand was:\n%1\n \nTry command on console to get more\ndetailed info about the reason.\n","Sorry, das Kopierkommando schlug fehl!\nKommando war:\n%1\n \nVersuche Kommando von Kosole um\nDetails für das Fehlschlagen\nzu erfahren.\n" }, | 722 | { "Sorry, the copy command failed!\nCommand was:\n%1\n \nTry command on console to get more\ndetailed info about the reason.\n","Sorry, das Kopierkommando schlug fehl!\nKommando war:\n%1\n \nVersuche Kommando von Kosole um\nDetails für das Fehlschlagen\nzu erfahren.\n" }, |
723 | { "Writing back file result: ","Resultat des Dateizurückschreibens: " }, | 723 | { "Writing back file result: ","Resultat des Dateizurückschreibens: " }, |
724 | { "Syncronization sucessfully completed","Synchronisation erfolgreich abgeschlossen" }, | 724 | { "Syncronization sucessfully completed","Synchronisation erfolgreich abgeschlossen" }, |
725 | { "Edit Calendar Filters","Editiere Kalendar Filter" }, | 725 | { "Edit Calendar Filters","Editiere Kalendar Filter" }, |
726 | { "Enter filter name:","Neuer Filter Name:" }, | 726 | { "Enter filter name:","Neuer Filter Name:" }, |
727 | { "Add Filter","Filter hinzufügen" }, | 727 | { "Add Filter","Filter hinzufügen" }, |
728 | { "Question","Frage" }, | 728 | { "Question","Frage" }, |
729 | { "Filter position: ","Filter Position: " }, | 729 | { "Filter position: ","Filter Position: " }, |
730 | { "Month View","Monatsansicht" }, | 730 | { "Month View","Monatsansicht" }, |
731 | { "This profil cannot be deleted!\n","Dieses Profil kann\nnicht gelöscht werden!" }, | 731 | { "This profil cannot be deleted!\n","Dieses Profil kann\nnicht gelöscht werden!" }, |
732 | { "KO/Pi config error","KO/Pi Konfig. Fehler" }, | 732 | { "KO/Pi config error","KO/Pi Konfig. Fehler" }, |
733 | { "Local device name undefined!\nPlease define device name!","Name dieses Gerätes undefiniert!\nBitte Namen angeben!" }, | 733 | { "Local device name undefined!\nPlease define device name!","Name dieses Gerätes undefiniert!\nBitte Namen angeben!" }, |
734 | { "Multiple profiles with same name!\nPlease use unique profile names!","Mehrere Profile haben denselben Namen!\nBitte unterschiedliche Namen wählen!" }, | 734 | { "Multiple profiles with same name!\nPlease use unique profile names!","Mehrere Profile haben denselben Namen!\nBitte unterschiedliche Namen wählen!" }, |
735 | { "Access: ","Zugriff: " }, | 735 | { "Access: ","Zugriff: " }, |
736 | { "Needs Action","Aktion notwendig" }, | 736 | { "Needs Action","Aktion notwendig" }, |
737 | { "Accepted","Akzeptiert" }, | 737 | { "Accepted","Akzeptiert" }, |
738 | { "Declined","Abgelehnt" }, | 738 | { "Declined","Abgelehnt" }, |
739 | { "Tentative","Vorläufig" }, | 739 | { "Tentative","Vorläufig" }, |
740 | { "Delegated","Beauftragt" }, | 740 | { "Delegated","Beauftragt" }, |
741 | { "Completed","Vollständig" }, | 741 | { "Completed","Vollständig" }, |
742 | { "In Process","In Bearbeitung" }, | 742 | { "In Process","In Bearbeitung" }, |
743 | { "Participant","Teilnehmer" }, | 743 | { "Participant","Teilnehmer" }, |
744 | { "Optional Participant","Möglicher Teilnehmer" }, | 744 | { "Optional Participant","Möglicher Teilnehmer" }, |
745 | { "Observer","Beobachter" }, | 745 | { "Observer","Beobachter" }, |
746 | { "Chair","Vorsitzender" }, | 746 | { "Chair","Vorsitzender" }, |
747 | { "Not supported \non desktop!\n","" }, | 747 | { "Not supported \non desktop!\n","" }, |
748 | { "Nothing selected!\n\nThis prints the full width of the Agenda view as you see it!\n\nTo determine the vertical range of the printing, please select\na vertical range (with the left mouse button down) in one column. ","Es ist nichts selektiert!\nDieses druckt die volle Breite der Agenda View, so wie man sie sieht.\nUm die verticale Auswahl zum Drucken zu bestimmen,\nbitte einen verticalen Zeitraum (mit gedrückter linker Maustaste)\nin einer Spalte auswählen. " }, | 748 | { "Nothing selected!\n\nThis prints the full width of the Agenda view as you see it!\n\nTo determine the vertical range of the printing, please select\na vertical range (with the left mouse button down) in one column. ","Es ist nichts selektiert!\nDieses druckt die volle Breite der Agenda View, so wie man sie sieht.\nUm die verticale Auswahl zum Drucken zu bestimmen,\nbitte einen verticalen Zeitraum (mit gedrückter linker Maustaste)\nin einer Spalte auswählen. " }, |
749 | { "Date range: ","Datums Zeitspanne: " }, | 749 | { "Date range: ","Datums Zeitspanne: " }, |
750 | { "Not supported \non PDA!\n","Nicht verfügbar\nauf dem PDA. " }, | 750 | { "Not supported \non PDA!\n","Nicht verfügbar\nauf dem PDA. " }, |
751 | { "Syncing - close to abort!","Syncing-schließe um abzubrechen." }, | 751 | { "Syncing - close to abort!","Syncing-schließe um abzubrechen." }, |
752 | { "Add / remove events","Add./entferne Termine" }, | 752 | { "Add / remove events","Add./entferne Termine" }, |
753 | { "File does not exist:\n '%1'.","Datei existiert nicht:\n '%1'." }, | 753 | { "File does not exist:\n '%1'.","Datei existiert nicht:\n '%1'." }, |
754 | { "Couldn't load calendar\n '%1'.","Kann Kalender nicht laden:\n '%1'." }, | 754 | { "Couldn't load calendar\n '%1'.","Kann Kalender nicht laden:\n '%1'." }, |
755 | { "\nThe file on disk has changed!\nFile size: %1 bytes.\nLast modified: %2\nDo you want to:\n\n - Save and overwrite file?\n - Sync with file, then save?\n - Cancel without saving? \n","\nDie gepeicherte Datei wurde verändert!\nDatei Grösse: %1 Bytes.\nZuletzt geändert: %2\nMöchten Sie:\n\n - Speichern und die Datei überschreiben?\n - Mit Datei Synchronisieren, dann speichern?\n - Abbrechen ohne zu speichern? \n" }, | 755 | { "\nThe file on disk has changed!\nFile size: %1 bytes.\nLast modified: %2\nDo you want to:\n\n - Save and overwrite file?\n - Sync with file, then save?\n - Cancel without saving? \n","\nDie gepeicherte Datei wurde verändert!\nDatei Grösse: %1 Bytes.\nZuletzt geändert: %2\nMöchten Sie:\n\n - Speichern und die Datei überschreiben?\n - Mit Datei Synchronisieren, dann speichern?\n - Abbrechen ohne zu speichern? \n" }, |
756 | { "Overwrite","Überschreiben" }, | 756 | { "Overwrite","Überschreiben" }, |
757 | { "Sync+save","Syncen+speichern" }, | 757 | { "Sync+save","Syncen+speichern" }, |
758 | { "Default","Standard" }, | 758 | { "Default","Standard" }, |
759 | { " Categories added to list! "," Kategorien zur Liste hinzugefügt! " }, | 759 | { " Categories added to list! "," Kategorien zur Liste hinzugefügt! " }, |
760 | { " %d items?"," %d Einträge?" }, | 760 | { " %d items?"," %d Einträge?" }, |
761 | { "\nThis event recurs\nover multiple dates.\nAre you sure you want\nto delete this event\nand all its recurrences?","\nDieses ist ein\nwiederholender Termin!.\nSind Sie sicher, dass Sie\ndiesen Termin und alle\nWiederholungen löschen möchten?" }, | 761 | { "\nThis event recurs\nover multiple dates.\nAre you sure you want\nto delete this event\nand all its recurrences?","\nDieses ist ein\nwiederholender Termin!.\nSind Sie sicher, dass Sie\ndiesen Termin und alle\nWiederholungen löschen möchten?" }, |
762 | { " ?\n\nDelete:\n"," ?\n\nLösche:\n" }, | 762 | { " ?\n\nDelete:\n"," ?\n\nLösche:\n" }, |
763 | { "Current","Aktuelle" }, | 763 | { "Current","Aktuelle" }, |
764 | { "\nThis event recurs\nover multiple dates.\nDo you want to delete\nall it's recurrences,\nor only the current one on:\n","\nDieses ist ein\nwiederholender Termin!\nMöchten sie alle Wiederholungen\nlöschen, oder nur die aktuelle am:\n" }, | 764 | { "\nThis event recurs\nover multiple dates.\nDo you want to delete\nall it's recurrences,\nor only the current one on:\n","\nDieses ist ein\nwiederholender Termin!\nMöchten sie alle Wiederholungen\nlöschen, oder nur die aktuelle am:\n" }, |
765 | { "All","Alle" }, | 765 | { "All","Alle" }, |
766 | { "Data Loss Warning","Datenverlust Warnung" }, | 766 | { "Data Loss Warning","Datenverlust Warnung" }, |
767 | { "Proceed","Weitermachen" }, | 767 | { "Proceed","Weitermachen" }, |
768 | { "The journal entries can not be\nexported to a vCalendar file.","Die Journal Einträge können\nnicht in eine vCalendar\nDatei exportiert werden!" }, | 768 | { "The journal entries can not be\nexported to a vCalendar file.","Die Journal Einträge können\nnicht in eine vCalendar\nDatei exportiert werden!" }, |
769 | { "Filter disabled ","Filter abgeschaltet" }, | 769 | { "Filter disabled ","Filter abgeschaltet" }, |
770 | { "Filter selected: ","Gewählter Filter: " }, | 770 | { "Filter selected: ","Gewählter Filter: " }, |
771 | { "Toggle Cancel","Gecancelt ändern" }, | 771 | { "Toggle Cancel","Gecancelt ändern" }, |
772 | { "&Toggle Cancel","Gecancel&t ändern" }, | 772 | { "&Toggle Cancel","Gecancel&t ändern" }, |
773 | { "Configure Toolbar","Konfiguriere Toolbar" }, | 773 | { "Configure Toolbar","Konfiguriere Toolbar" }, |
774 | { "Stretched TB","Gedehnte TB" }, | 774 | { "Stretched TB","Gedehnte TB" }, |
775 | { "Import file \n...%1\ndoes not exist!\nNothing imported!\n","Import Datei \n...%1\nexistiert nicht!\nNichts importiert!\n" }, | 775 | { "Import file \n...%1\ndoes not exist!\nNothing imported!\n","Import Datei \n...%1\nexistiert nicht!\nNichts importiert!\n" }, |
776 | { "Import filename(*.ics/*.vcs)","Import Dateiname(*.ics/*.vcs)" }, | 776 | { "Import filename(*.ics/*.vcs)","Import Dateiname(*.ics/*.vcs)" }, |
777 | { "When importing a calendar twice\nduplicated events will be ignored!\nYou can create a backup file with\nFile - Save Calendar Backup\nto revert importing","Wenn ein Kalender doppelt importiert\nwird, werden doppelte Einträge ignoriert!\nSie können eine Backup Datei anlegen unter\nDatei - Speichere Kalender Backup\num den Import rückgängig machen zu können.\n" }, | 777 | { "When importing a calendar twice\nduplicated events will be ignored!\nYou can create a backup file with\nFile - Save Calendar Backup\nto revert importing","Wenn ein Kalender doppelt importiert\nwird, werden doppelte Einträge ignoriert!\nSie können eine Backup Datei anlegen unter\nDatei - Speichere Kalender Backup\num den Import rückgängig machen zu können.\n" }, |
778 | { "Not supported \non desktop!\n","Nur verfügbar auf PDA!" }, | 778 | { "Not supported \non desktop!\n","Nur verfügbar auf PDA!" }, |
779 | { "Imported file successfully","Datei erfolgreich importiert" }, | 779 | { "Imported file successfully","Datei erfolgreich importiert" }, |
780 | { "Error importing file","Fehler beim Importieren der Datei" }, | 780 | { "Error importing file","Fehler beim Importieren der Datei" }, |
781 | { "Export vcal filename(*.vcs)","Export vcal Dateiname(*.vcs)" }, | 781 | { "Export vcal filename(*.vcs)","Export vcal Dateiname(*.vcs)" }, |
782 | { "Save file\nalready exists!\nOld save file from:\n%1\nOverwrite?\n","Zu speichernde Datei\existiert bereits!\nExist. Datei vom:\n%1\nÜberschreiben?\n" }, | 782 | { "Save file\nalready exists!\nOld save file from:\n%1\nOverwrite?\n","Zu speichernde Datei\existiert bereits!\nExist. Datei vom:\n%1\nÜberschreiben?\n" }, |
783 | { "Overwrite!","Überschreiben!" }, | 783 | { "Overwrite!","Überschreiben!" }, |
784 | { "Import file \n...%1\nfrom:\n%2\nDuplicated entries\nwill not be imported!\n","Import Datei \n...%1\nvom:\n%2\nDuplizierte Einträge\nwerden nicht importiert!\n" }, | 784 | { "Import file \n...%1\nfrom:\n%2\nDuplicated entries\nwill not be imported!\n","Import Datei \n...%1\nvom:\n%2\nDuplizierte Einträge\nwerden nicht importiert!\n" }, |
785 | { "Load backup filename","Lade Backup Dateiname" }, | 785 | { "Load backup filename","Lade Backup Dateiname" }, |
786 | { "Backup file\ndoes not exist!\nNothing loaded!","Backup Datei\nexistiert nicht!\nNichts geladen!" }, | 786 | { "Backup file\ndoes not exist!\nNothing loaded!","Backup Datei\nexistiert nicht!\nNichts geladen!" }, |
787 | { "KO/Pi:Loaded %1","KO/Pi:Geladen %1" }, | 787 | { "KO/Pi:Loaded %1","KO/Pi:Geladen %1" }, |
788 | { "Save backup filename","Speichere Backup Dateiname" }, | 788 | { "Save backup filename","Speichere Backup Dateiname" }, |
789 | { "Backup file\nalready exists!\nOld backup file from:\n%1\nOverwrite?\n","Backup Datei\nexistiert bereits!\nAlte Backup Datei vom:\n%1\nÜberschreiben?\n" }, | 789 | { "Backup file\nalready exists!\nOld backup file from:\n%1\nOverwrite?\n","Backup Datei\nexistiert bereits!\nAlte Backup Datei vom:\n%1\nÜberschreiben?\n" }, |
790 | { "KO/Pi:Saved %1","KO/Pi:Gespeichert %1" }, | 790 | { "KO/Pi:Saved %1","KO/Pi:Gespeichert %1" }, |
791 | { "Details of attendee","Teilnehmerdetails" }, | 791 | { "Details of attendee","Teilnehmerdetails" }, |
792 | { "Work phone:\n","Telefon Arbeit:\n" }, | 792 | { "Work phone:\n","Telefon Arbeit:\n" }, |
793 | { "Work mobile phone:\n","Mobiltelefon Arbeit:\n" }, | 793 | { "Work mobile phone:\n","Mobiltelefon Arbeit:\n" }, |
794 | { "Home phone:\n","Telefon privat:\n" }, | 794 | { "Home phone:\n","Telefon privat:\n" }, |
795 | { "Mobile home phone:\n","Mobiltelefon privat:\n" }, | 795 | { "Mobile home phone:\n","Mobiltelefon privat:\n" }, |
796 | { "Email:\n","Email:\n" }, | 796 | { "Email:\n","Email:\n" }, |
797 | { "Alarm disabled for this item","Alarm deaktiviert für dieses Item" }, | 797 | { "Alarm disabled for this item","Alarm deaktiviert für dieses Item" }, |
798 | { "Audio Al.: ","Audio Al.: " }, | 798 | { "Audio Al.: ","Audio Al.: " }, |
799 | { "Proc.Al.: ","Proz.Al.: " }, | 799 | { "Proc.Al.: ","Proz.Al.: " }, |
800 | { "No sound set","Kein Sound definiert" }, | 800 | { "No sound set","Kein Sound definiert" }, |
801 | { "*.wav|Wav Files","*.wav|Wav Dateien" }, | 801 | { "*.wav|Wav Files","*.wav|Wav Dateien" }, |
802 | { "No program set","Kein Programm definiert" }, | 802 | { "No program set","Kein Programm definiert" }, |
803 | { "Running '%1'","Ausführen '%1'" }, | 803 | { "Running '%1'","Ausführen '%1'" }, |
804 | { "Playing '%1'","Abspielen '%1'" }, | 804 | { "Playing '%1'","Abspielen '%1'" }, |
805 | { "Show Sync Events in WN/Agenda view","Zeige Sync Events in WN/Agenda Ansicht" }, | 805 | { "Show Sync Events in WN/Agenda view","Zeige Sync Events in WN/Agenda Ansicht" }, |
806 | { "User defined (usertranslation.txt)","Benutzerdefiniert (usertranslation.txt)" }, | 806 | { "User defined (usertranslation.txt)","Benutzerdefiniert (usertranslation.txt)" }, |
807 | { "Load!","Laden!" }, | 807 | { "Load!","Laden!" }, |
808 | { "Backup file from:\n%1\nLoading backup\nfile will delete\nyour current Data!\n","Backup Datei vom:\n%1\nDas Laden der Backup Datei\nlöscht die aktuellen Daten!\n" }, | 808 | { "Backup file from:\n%1\nLoading backup\nfile will delete\nyour current Data!\n","Backup Datei vom:\n%1\nDas Laden der Backup Datei\nlöscht die aktuellen Daten!\n" }, |
809 | { "KO/Pi Features and hints","KO/Pi Eigenschaften und Tipps" }, | 809 | { "KO/Pi Features and hints","KO/Pi Eigenschaften und Tipps" }, |
810 | { "KO/Pi User translation HowTo","KO/Pi Benutzer-Übersetzung HowTo" }, | 810 | { "KO/Pi User translation HowTo","KO/Pi Benutzer-Übersetzung HowTo" }, |
811 | { "KO/Pi Synchronization HowTo","KO/Pi Synchronisation HowTo" }, | 811 | { "KO/Pi Synchronization HowTo","KO/Pi Synchronisation HowTo" }, |
812 | { "Features + hints...","Eigenschaften + Tipps..." }, | 812 | { "Features + hints...","Eigenschaften + Tipps..." }, |
813 | { "User translation...","Benutzer Übersetzung..." }, | 813 | { "User translation...","Benutzer Übersetzung..." }, |
814 | { "Sync HowTo...","Synchronisation HowTo..." }, | 814 | { "Sync HowTo...","Synchronisation HowTo..." }, |
815 | { "Print calendar...","Drucke Kalender..." }, | 815 | { "Print calendar...","Drucke Kalender..." }, |
816 | { "Anniversary","Jahrestag" }, | 816 | { "Anniversary","Jahrestag" }, |
817 | { "When importing birthdays twice\nduplicated events will be ignored,\nif the event has not been\nchanged in KO/Pi!\n","Wenn Geburtstage mehrfach importiert\nwerden, werden doppelte Einträge ignoriert\nwenn sie nicht verändert wurden.\n" }, | 817 | { "When importing birthdays twice\nduplicated events will be ignored,\nif the event has not been\nchanged in KO/Pi!\n","Wenn Geburtstage mehrfach importiert\nwerden, werden doppelte Einträge ignoriert\nwenn sie nicht verändert wurden.\n" }, |
818 | { "Import Birthdays (KA/Pi)","Importiere Geburtstage (KA/Pi)" }, | 818 | { "Import Birthdays (KA/Pi)","Importiere Geburtstage (KA/Pi)" }, |
819 | { "Next recurrence is on: ","Nächste Wiederholung ist am:" }, | 819 | { "Next recurrence is on: ","Nächste Wiederholung ist am:" }, |
820 | { "<b>Alarm on: </b>","<b>Alarm am: </b>" }, | 820 | { "<b>Alarm on: </b>","<b>Alarm am: </b>" }, |
821 | { "<b>Access: </b>","<b>Zugriff: </b>" }, | 821 | { "<b>Access: </b>","<b>Zugriff: </b>" }, |
822 | { "(%1 min before)","(%1 min vorher)" }, | 822 | { "(%1 min before)","(%1 min vorher)" }, |
823 | { "<b>Categories: </b>","<b>Kategorien: </b>" }, | 823 | { "<b>Categories: </b>","<b>Kategorien: </b>" }, |
824 | { "Save Journal/Description...","Speichere Journal/Details..." }, | 824 | { "Save Journal/Description...","Speichere Journal/Details..." }, |
825 | { "This saves the text/details of selected\nJournals and Events/Todos\nto a text file.","Das speichert den Text bzw.\ndie Details von selektierten\nJournalen und Events/Todos\nin eine Textdatei." }, | 825 | { "This saves the text/details of selected\nJournals and Events/Todos\nto a text file.","Das speichert den Text bzw.\ndie Details von selektierten\nJournalen und Events/Todos\nin eine Textdatei." }, |
826 | { "Continue","Weitermachen" }, | 826 | { "Continue","Weitermachen" }, |
827 | { " birthdays/anniversaries added!"," Geburts-/Jahrestage hinzugefügt" }, | 827 | { " birthdays/anniversaries added!"," Geburts-/Jahrestage hinzugefügt" }, |
828 | { "Attendee:","Teilnehmer:" }, | 828 | { "Attendee:","Teilnehmer:" }, |
829 | { "Click OK to search ->","Klicke zum Suchen auf OK ->" }, | 829 | { "Click OK to search ->","Klicke zum Suchen auf OK ->" }, |
830 | { "On day ","Am Tag " }, | 830 | { "On day ","Am Tag " }, |
831 | { "%1 of ","%1 des Monats" }, | 831 | { "%1 of ","%1 des Monats" }, |
832 | { "%1 of the year","%1 des Jahres" }, | 832 | { "%1 of the year","%1 des Jahres" }, |
833 | { "Anonymous","Anonymo" }, | 833 | { "Anonymous","Anonymo" }, |
834 | { "nobody@nowhere","niemand@nirgendwo" }, | 834 | { "nobody@nowhere","niemand@nirgendwo" }, |
835 | { "calendar.html","calendar.html" }, | 835 | { "calendar.html","calendar.html" }, |
836 | { " Local Time"," Locale Zeit" }, | 836 | { " Local Time"," Locale Zeit" }, |
837 | { "Unknown Name","Unbekannter Name" }, | 837 | { "Unknown Name","Unbekannter Name" }, |
838 | { "unknown@nowhere","unbekannt@nirgendwo" }, | 838 | { "unknown@nowhere","unbekannt@nirgendwo" }, |
839 | { "Beam via IR!","Beam via IR!" }, | 839 | { "Beam via IR!","Beam via IR!" }, |
840 | { "Next Month","Nächster Monat" }, | 840 | { "Next Month","Nächster Monat" }, |
841 | { "Prio","Prio" }, | 841 | { "Prio","Prio" }, |
842 | { "Reparent Todo","Mache Sub-Todo" }, | 842 | { "Reparent Todo","Mache Sub-Todo" }, |
843 | { "tomorrow","morgen" }, | 843 | { "tomorrow","morgen" }, |
844 | { "today","heute" }, | 844 | { "today","heute" }, |
845 | { "yesterday","gestern" }, | 845 | { "yesterday","gestern" }, |
846 | { "Ok","Ok" }, | 846 | { "Ok","Ok" }, |
847 | { "Ok+Agenda","Ok+Agenda" }, | 847 | { "Ok+Agenda","Ok+Agenda" }, |
848 | { "Email","Email" }, | 848 | { "Email","Email" }, |
849 | { "RSVP","RSVP" }, | 849 | { "RSVP","RSVP" }, |
850 | { "Email:","Email:" }, | 850 | { "Email:","Email:" }, |
851 | { "Appointment Time ","Termin Zeit " }, | 851 | { "Appointment Time ","Termin Zeit " }, |
852 | { "2","2" }, | 852 | { "2","2" }, |
853 | { "3","3" }, | 853 | { "3","3" }, |
854 | { "4","4" }, | 854 | { "4","4" }, |
855 | { " 0 %"," 0 %" }, | 855 | { " 0 %"," 0 %" }, |
856 | { " 20 %"," 20 %" }, | 856 | { " 20 %"," 20 %" }, |
857 | { " 40 %"," 40 %" }, | 857 | { " 40 %"," 40 %" }, |
858 | { " 60 %"," 60 %" }, | 858 | { " 60 %"," 60 %" }, |
859 | { " 80 %"," 80 %" }, | 859 | { " 80 %"," 80 %" }, |
860 | { "100 %","100 %" }, | 860 | { "100 %","100 %" }, |
861 | { "Filter","Filter" }, | 861 | { "Filter","Filter" }, |
862 | { "Configure","Konfiguriere" }, | 862 | { "Configure","Konfiguriere" }, |
863 | { "What's Next","What's Next" }, | 863 | { "What's Next","What's Next" }, |
864 | { "Complete calendar...","Kompletten Kalender..." }, | 864 | { "Complete calendar...","Kompletten Kalender..." }, |
865 | { "Filtered calendar...","Gefilterten Kalender..." }, | 865 | { "Filtered calendar...","Gefilterten Kalender..." }, |
866 | { "Export to phone","Exportiere zum Handy" }, | 866 | { "Export to phone","Exportiere zum Handy" }, |
867 | { "Beam receive enabled","Beam Empfang an" }, | 867 | { "Beam receive enabled","Beam Empfang an" }, |
868 | { "What's new?","Was ist neu?" }, | 868 | { "What's new?","Was ist neu?" }, |
869 | { "FAQ...","FAQ..." }, | 869 | { "FAQ...","FAQ..." }, |
870 | { "Licence...","Licence..." }, | 870 | { "Licence...","Licence..." }, |
871 | { "What's This?","What's This?" }, | 871 | { "What's This?","What's This?" }, |
872 | { "&Edit...","&Editiere..." }, | 872 | { "&Edit...","&Editiere..." }, |
873 | { "Oktober","Oktober" }, | 873 | { "Oktober","Oktober" }, |
874 | { "Title","Titel" }, | 874 | { "Title","Titel" }, |
875 | { "%1 %","%1 %" }, | 875 | { "%1 %","%1 %" }, |
876 | { "Enable Pi-Sync","Schalte Pi-Sync an" }, | 876 | { "Enable Pi-Sync","Schalte Pi-Sync an" }, |
877 | { "Import!","Importiere!" }, | 877 | { "Import!","Importiere!" }, |
878 | { "inserting birthdays - close to abort!","Burzeltage werden eingefügt - schließe um abzubrechen!" }, | 878 | { "inserting birthdays - close to abort!","Burzeltage werden eingefügt - schließe um abzubrechen!" }, |
879 | { "Export to phone options","Export ans Handy Optionen" }, | 879 | { "Export to phone options","Export ans Handy Optionen" }, |
880 | { "Please read Help-Sync Howto\nto know what settings to use.","Bitte lese Hilfe-Sync Howto\num zu erfahren welche Einstellungen\ndie richtigen sind." }, | 880 | { "Please read Help-Sync Howto\nto know what settings to use.","Bitte lese Hilfe-Sync Howto\num zu erfahren welche Einstellungen\ndie richtigen sind." }, |
881 | { "I/O device: ","I/O device: " }, | 881 | { "I/O device: ","I/O device: " }, |
882 | { "Connection: ","Connection: " }, | 882 | { "Connection: ","Connection: " }, |
883 | { "Model(opt.): ","Model(opt.): " }, | 883 | { "Model(opt.): ","Model(opt.): " }, |
884 | { "Write back events in future only","Schreibe nur zukünftige Termine zurück" }, | 884 | { "Write back events in future only","Schreibe nur zukünftige Termine zurück" }, |
885 | { "Max. weeks in future: ","Max. Wochen in der Zukunft: " }, | 885 | { "Max. weeks in future: ","Max. Wochen in der Zukunft: " }, |
886 | { "NOTE: This will remove all old\ntodo/calendar data on phone!","ACHTUNG: Das löscht alle alten\nToDo/Kalender Daten auf dem Handy!" }, | 886 | { "NOTE: This will remove all old\ntodo/calendar data on phone!","ACHTUNG: Das löscht alle alten\nToDo/Kalender Daten auf dem Handy!" }, |
887 | { "Export to mobile phone!","Exportiere auf das Handy!" }, | 887 | { "Export to mobile phone!","Exportiere auf das Handy!" }, |
888 | { "Export complete calendar","Exportiere kompletten Kalender" }, | 888 | { "Export complete calendar","Exportiere kompletten Kalender" }, |
889 | { "Writing to phone...","Sende Daten ans Handy..." }, | 889 | { "Writing to phone...","Sende Daten ans Handy..." }, |
890 | { " This may take 1-3 minutes!"," Das kann 1-3 Minuten dauern!" }, | 890 | { " This may take 1-3 minutes!"," Das kann 1-3 Minuten dauern!" }, |
891 | { "Retry","Nochmal versuchen" }, | 891 | { "Retry","Nochmal versuchen" }, |
892 | { "KDE/Pim phone access","KDE/Pim Handy Zugriff" }, | 892 | { "KDE/Pim phone access","KDE/Pim Handy Zugriff" }, |
893 | { "Error accessing device!\nPlease turn on connection\nand retry!","Fehler beim Zugriff auf das Gerät!\nBitte die Verbindung aktivieren\nund nochmal versuchen!" }, | 893 | { "Error accessing device!\nPlease turn on connection\nand retry!","Fehler beim Zugriff auf das Gerät!\nBitte die Verbindung aktivieren\nund nochmal versuchen!" }, |
894 | { "Error exporting to phone!","Fehler beim Export auf das Handy!" }, | 894 | { "Error exporting to phone!","Fehler beim Export auf das Handy!" }, |
895 | { "Export filtered calendar","Exportiere gefilterten Kalender" }, | 895 | { "Export filtered calendar","Exportiere gefilterten Kalender" }, |
896 | { "Preferences","Vorlieben" }, | 896 | { "Preferences","Vorlieben" }, |
897 | { "Global","Global" }, | 897 | { "Global","Global" }, |
898 | { "Phone","Phone" }, | 898 | { "Phone","Phone" }, |
899 | { "SMS","SMS" }, | 899 | { "SMS","SMS" }, |
900 | { "Fax","Fax" }, | 900 | { "Fax","Fax" }, |
901 | { "Pager","Pager" }, | 901 | { "Pager","Pager" }, |
902 | { "SIP","SIP" }, | 902 | { "SIP","SIP" }, |
903 | { "Italian","Italienisch" }, | 903 | { "Italian","Italienisch" }, |
904 | { "24:00","24:00" }, | 904 | { "24:00","24:00" }, |
905 | { "12:00am","12:00am" }, | 905 | { "12:00am","12:00am" }, |
906 | { "24.03.2004 (%d.%m.%Y|%A %d %B %Y)","24.03.2004 (%d.%m.%Y|%A %d %B %Y)" }, | 906 | { "24.03.2004 (%d.%m.%Y|%A %d %B %Y)","24.03.2004 (%d.%m.%Y|%A %d %B %Y)" }, |
907 | { "03.24.2004 (%m.%d.%Y|%A %B %d %Y)","03.24.2004 (%m.%d.%Y|%A %B %d %Y)" }, | 907 | { "03.24.2004 (%m.%d.%Y|%A %B %d %Y)","03.24.2004 (%m.%d.%Y|%A %B %d %Y)" }, |
908 | { "2004-03-24 (%Y-%m-%d|%A %Y %B %d)","2004-03-24 (%Y-%m-%d|%A %Y %B %d)" }, | 908 | { "2004-03-24 (%Y-%m-%d|%A %Y %B %d)","2004-03-24 (%Y-%m-%d|%A %Y %B %d)" }, |
909 | { "Mon 19.04.04: %a %d.%m.%y","Mon 19.04.04: %a %d.%m.%y" }, | 909 | { "Mon 19.04.04: %a %d.%m.%y","Mon 19.04.04: %a %d.%m.%y" }, |
910 | { "Mon, 19.Apr.04: %a, %d.%b.%y","Mon, 19.Apr.04: %a, %d.%b.%y" }, | 910 | { "Mon, 19.Apr.04: %a, %d.%b.%y","Mon, 19.Apr.04: %a, %d.%b.%y" }, |
911 | { "Add 30 min to selected Timezone","Addiere 30 min zur Zeitzone" }, | 911 | { "Add 30 min to selected Timezone","Addiere 30 min zur Zeitzone" }, |
912 | { "Used Mail Client","Benutzter Mail Client" }, | 912 | { "Used Mail Client","Benutzter Mail Client" }, |
913 | { "Channel:","Channel:" }, | 913 | { "Channel:","Channel:" }, |
914 | { "Message:","Message:" }, | 914 | { "Message:","Message:" }, |
915 | { "Parameters:","Parameter:" }, | 915 | { "Parameters:","Parameter:" }, |
916 | { "HINT: Delimiter=; Name=%1,Email=%2","Hinweis: Begrenzer=; Name=%1,Email=%2" }, | 916 | { "HINT: Delimiter=; Name=%1,Email=%2","Hinweis: Begrenzer=; Name=%1,Email=%2" }, |
917 | { "extra Message:","extra Message:" }, | 917 | { "extra Message:","extra Message:" }, |
918 | { "extra Parameters:","extra Parameter:" }, | 918 | { "extra Parameters:","extra Parameter:" }, |
919 | { "HINT: Emails=%1,Attachments=%2","Hinweis: Emails=%1,Attachments=%2" }, | 919 | { "HINT: Emails=%1,Attachments=%2","Hinweis: Emails=%1,Attachments=%2" }, |
920 | { "External Apps.","Externe Appl." }, | 920 | { "External Apps.","Externe Appl." }, |
921 | { "24 hours","24 Std." }, | 921 | { "24 hours","24 Std." }, |
922 | { "3 hours","3 Std." }, | 922 | { "3 hours","3 Std." }, |
923 | { "1 hour","1 Std." }, | 923 | { "1 hour","1 Std." }, |
924 | { "15 minutes","15 Min." }, | 924 | { "15 minutes","15 Min." }, |
925 | { "5 minutes","5 Min." }, | 925 | { "5 minutes","5 Min." }, |
926 | { "1 minute","1 Min." }, | 926 | { "1 minute","1 Min." }, |
927 | { "23","23" }, | 927 | { "23","23" }, |
928 | { "Mon 15","Mon 15" }, | 928 | { "Mon 15","Mon 15" }, |
929 | { "Configure KO","Konfiguriere KO" }, | 929 | { "Configure KO","Konfiguriere KO" }, |
930 | { "Event text","Termin Text" }, | 930 | { "Event text","Termin Text" }, |
931 | { "ToDo","ToDo" }, | 931 | { "ToDo","ToDo" }, |
932 | { "Today","Heute" }, | 932 | { "Today","Heute" }, |
933 | { "What's Next View","What's Next Ansicht" }, | 933 | { "What's Next View","What's Next Ansicht" }, |
934 | { "Show Sync Events in \nWhat's Next/Agenda view","Zeige Sync Termine in \nWhat's Next/Agenda view" }, | 934 | { "Show Sync Events in \nWhat's Next/Agenda view","Zeige Sync Termine in \nWhat's Next/Agenda view" }, |
935 | { "Use short date in \nWhat's Next/Event view","Zeige Kurzdatum in \nWhat's Next/Event view" }, | 935 | { "Use short date in \nWhat's Next/Event view","Zeige Kurzdatum in \nWhat's Next/Event view" }, |
936 | { "Allday Agenda view shows todos","Ganztag Agenda zeigt Todos" }, | 936 | { "Allday Agenda view shows todos","Ganztag Agenda zeigt Todos" }, |
937 | { "Alarm","Alarm" }, | 937 | { "Alarm","Alarm" }, |
938 | { "Used %1 Client","Benutzter %1 Client" }, | 938 | { "Used %1 Client","Benutzter %1 Client" }, |
939 | { "No email client installed","Kein Email Klient installiert" }, | 939 | { "No email client installed","Kein Email Klient installiert" }, |
940 | { "Userdefined email client","Benutzerdef. Email Klient" }, | 940 | { "Userdefined email client","Benutzerdef. Email Klient" }, |
941 | { "OM/Pi email client","OM/Pi Email Klient" }, | 941 | { "OM/Pi email client","OM/Pi Email Klient" }, |
942 | { "Include in multiple ","Beziehe in multiple " }, | 942 | { "Include in multiple ","Beziehe in multiple " }, |
943 | { "calendar ","Kalender " }, | 943 | { "calendar ","Kalender " }, |
944 | { "addressbook ","Adressbuch " }, | 944 | { "addressbook ","Adressbuch " }, |
945 | { "pwmanager","PWmanager" }, | 945 | { "pwmanager","PWmanager" }, |
946 | { " sync"," Sync ein" }, | 946 | { " sync"," Sync ein" }, |
947 | { "Write back synced data","Schreibe gesyncte Daten zurück" }, | 947 | { "Write back synced data","Schreibe gesyncte Daten zurück" }, |
948 | { "-- Write back (on remote) existing entries only","-- Schreibe nur existierende (entfernte) Einträge zurück" }, | 948 | { "-- Write back (on remote) existing entries only","-- Schreibe nur existierende (entfernte) Einträge zurück" }, |
949 | { "-- Write back (calendar) entries in future only","-- Schreibe nur zukünftige Kalender-Einträge zurück" }, | 949 | { "-- Write back (calendar) entries in future only","-- Schreibe nur zukünftige Kalender-Einträge zurück" }, |
950 | { "---- Max. weeks in future: ","---- Max. wochen in der Zukunft: " }, | 950 | { "---- Max. weeks in future: ","---- Max. wochen in der Zukunft: " }, |
951 | { "Pi-Sync ( direct Kx/Pi to Kx/Pi sync )","Pi-Sync ( direktes Kx/Pi zu Kx/Pi sync )" }, | 951 | { "Pi-Sync ( direct Kx/Pi to Kx/Pi sync )","Pi-Sync ( direktes Kx/Pi zu Kx/Pi sync )" }, |
952 | { "Mobile device (cell phone)","Mobiles Gerät (Handy)" }, | 952 | { "Mobile device (cell phone)","Mobiles Gerät (Handy)" }, |
953 | { "Help...","Hilfe..." }, | 953 | { "Help...","Hilfe..." }, |
954 | { "Local file Cal:","Lokale Datei Kal:" }, | 954 | { "Local file Cal:","Lokale Datei Kal:" }, |
955 | { "Local file ABook:","Lokale Datei ABuch:" }, | 955 | { "Local file ABook:","Lokale Datei ABuch:" }, |
956 | { "Local file PWMgr:","Lokale Datei PWMgr:" }, | 956 | { "Local file PWMgr:","Lokale Datei PWMgr:" }, |
957 | { "Addressbook file (*.vcf) is used by KA/Pi","Adressbuch Datei (*.vcf) wird von KA/Pi genutzt" }, | 957 | { "Addressbook file (*.vcf) is used by KA/Pi","Adressbuch Datei (*.vcf) wird von KA/Pi genutzt" }, |
958 | { "Calendar:","Kalender:" }, | 958 | { "Calendar:","Kalender:" }, |
959 | { "AddressBook:","AdressBuch:" }, | 959 | { "AddressBook:","AdressBuch:" }, |
960 | { "PWManager:","PWManager:" }, | 960 | { "PWManager:","PWManager:" }, |
961 | { "Addressbook file is used by KA/Pi","Adressbuch Datei wird von KA/Pi genutzt" }, | 961 | { "Addressbook file is used by KA/Pi","Adressbuch Datei wird von KA/Pi genutzt" }, |
962 | { "ssh/scp","ssh/scp" }, | 962 | { "ssh/scp","ssh/scp" }, |
963 | { "ftp","ftp" }, | 963 | { "ftp","ftp" }, |
964 | { "Password for remote access: (could be the same for each)","Passwort für entfernten Zugriff: (kann dasselbe sein für alle)" }, | 964 | { "Password for remote access: (could be the same for each)","Passwort für entfernten Zugriff: (kann dasselbe sein für alle)" }, |
965 | { "Remote IP address: (could be the same for each)","Entfernte IP Adresse: (kann dasselbe sein für alle)" }, | 965 | { "Remote IP address: (could be the same for each)","Entfernte IP Adresse: (kann dasselbe sein für alle)" }, |
966 | { "Remote port number: (should be different for each)","Entfernte Port Nummer: (Sollte für alle unterschiedlich sein)" }, | 966 | { "Remote port number: (should be different for each)","Entfernte Port Nummer: (Sollte für alle unterschiedlich sein)" }, |
967 | { "command for downloading remote file to local device","Kommando zum Download der entfernten Datei zum lokalen Gerät" }, | 967 | { "command for downloading remote file to local device","Kommando zum Download der entfernten Datei zum lokalen Gerät" }, |
968 | { "command for uploading local temp file to remote device","Kommando zum Upload der lokalen temp. Datei zum entfernten Gerät" }, | 968 | { "command for uploading local temp file to remote device","Kommando zum Upload der lokalen temp. Datei zum entfernten Gerät" }, |
969 | { "Insert device where\nphone is connected. E.g.:\n","Füge Device ein, an dem\ndas Handy angeschlossen ist. Z.B.:\n" }, | 969 | { "Insert device where\nphone is connected. E.g.:\n","Füge Device ein, an dem\ndas Handy angeschlossen ist. Z.B.:\n" }, |
970 | { "KDE-Pim sync config","KDE-Pim sync Konfig" }, | 970 | { "KDE-Pim sync config","KDE-Pim sync Konfig" }, |
971 | { "Insert kind of connection,e.g.:\n","Füge Art der Verbindung ein,z.B.:\n" }, | 971 | { "Insert kind of connection,e.g.:\n","Füge Art der Verbindung ein,z.B.:\n" }, |
972 | { "Recommended: Leave empty!\n(Such that model can\nbe auto detected)\nOr insert name of model:\n","Empfohlen: Leer lassen!\n(So dass das Model\nautomatisch erkannt\nwerden kann)\nOder füge Model Name ein:\n" }, | 972 | { "Recommended: Leave empty!\n(Such that model can\nbe auto detected)\nOr insert name of model:\n","Empfohlen: Leer lassen!\n(So dass das Model\nautomatisch erkannt\nwerden kann)\nOder füge Model Name ein:\n" }, |
973 | { "Port number (Default: %1)","Port Nummer (Default: %1)" }, | 973 | { "Port number (Default: %1)","Port Nummer (Default: %1)" }, |
974 | { "Password to enable\naccess from remote:","Passwort um entfernten\nZugriff zuzulassen:" }, | 974 | { "Password to enable\naccess from remote:","Passwort um entfernten\nZugriff zuzulassen:" }, |
975 | { "Automatically start\nat application startup","Starte automatisch\nbeim Programmstart" }, | 975 | { "Automatically start\nat application startup","Starte automatisch\nbeim Programmstart" }, |
976 | { "Automatically sync\nwith KDE-Desktop","Automatischer Sync\nmit dem KDE-Desktop" }, | 976 | { "Automatically sync\nwith KDE-Desktop","Automatischer Sync\nmit dem KDE-Desktop" }, |
977 | { "Enter port for Pi-Sync","Port Nummer für Pi-Sync" }, | 977 | { "Enter port for Pi-Sync","Port Nummer für Pi-Sync" }, |
978 | { "Disable Pi-Sync","Schalte Pi-Sync aus" }, | 978 | { "Disable Pi-Sync","Schalte Pi-Sync aus" }, |
979 | { "Do you really want\nto multiple sync\nwith all checked profiles?\nSyncing takes some\ntime - all profiles\nare synced twice!","Wollen Sie wirklich\nmit allen selektierten\nProfilen \"Multi-Syncen\"?\nDas Syncen dauert einige Zeit -\nalle Profile werden zweimal gesynct!" }, | 979 | { "Do you really want\nto multiple sync\nwith all checked profiles?\nSyncing takes some\ntime - all profiles\nare synced twice!","Wollen Sie wirklich\nmit allen selektierten\nProfilen \"Multi-Syncen\"?\nDas Syncen dauert einige Zeit -\nalle Profile werden zweimal gesynct!" }, |
980 | { "KDE-Pim Sync","KDE-Pim Sync" }, | 980 | { "KDE-Pim Sync","KDE-Pim Sync" }, |
981 | { "Multiple profiles","Multi-Sync Profile" }, | 981 | { "Multiple profiles","Multi-Sync Profile" }, |
982 | { "Device: ","Gerät: " }, | 982 | { "Device: ","Gerät: " }, |
983 | { "Multiple sync started.","Multi-Sync gestartet." }, | 983 | { "Multiple sync started.","Multi-Sync gestartet." }, |
984 | { "Nothing synced! No profiles defined for multisync!","Nichts gesynct! Keine Profile\nselektiert für Multi-Sync" }, | 984 | { "Nothing synced! No profiles defined for multisync!","Nichts gesynct! Keine Profile\nselektiert für Multi-Sync" }, |
985 | { "Turn filter on","Schalte Filter an" }, | 985 | { "Turn filter on","Schalte Filter an" }, |
986 | { "Turn filter off","Schalte Filter aus" }, | 986 | { "Turn filter off","Schalte Filter aus" }, |
987 | { "Key bindings KOrganizer/Pi","Tastatur Belegung KOrganizer/Pi" }, | 987 | { "Key bindings KOrganizer/Pi","Tastatur Belegung KOrganizer/Pi" }, |
988 | { "<p><b>White</b>: Item readonly</p>\n","<p><b>Weiss</b>: Eintrag schreibgeschützt</p>\n" }, | 988 | { "<p><b>White</b>: Item readonly</p>\n","<p><b>Weiss</b>: Eintrag schreibgeschützt</p>\n" }, |
989 | { "<p><b>Dark yellow</b>: Event/todo with attendees.</p>\n","<p><b>Dunkelgelb</b>: Termin/Todo mit Teilnehmern.</p>\n" }, | 989 | { "<p><b>Dark yellow</b>: Event/todo with attendees.</p>\n","<p><b>Dunkelgelb</b>: Termin/Todo mit Teilnehmern.</p>\n" }, |
990 | { "<p><b>Black</b>: Event/todo with attendees. You are the organizer!</p>\n","<p><b>Schwarz</b>: Termin/Todo mit Teilnehmern. Sie sind der Organisator!</p>\n" }, | 990 | { "<p><b>Black</b>: Event/todo with attendees. You are the organizer!</p>\n","<p><b>Schwarz</b>: Termin/Todo mit Teilnehmern. Sie sind der Organisator!</p>\n" }, |
991 | { "<p><b>Dark green</b>: Information(description) available.([i] in WN view)</p>\n","<p><b>Dunkelgrün</b>: Information(Beschreibung) verfügbar.([i] in WN Ansicht)</p>\n" }, | 991 | { "<p><b>Dark green</b>: Information(description) available.([i] in WN view)</p>\n","<p><b>Dunkelgrün</b>: Information(Beschreibung) verfügbar.([i] in WN Ansicht)</p>\n" }, |
992 | { "<p><b>Blue</b>: Recurrent event.([r] in Whats'Next view)</p>\n","<p><b>Blau</b>: Wiederholender Termin.([r] in Whats'Next Ansicht)</p>\n" }, | 992 | { "<p><b>Blue</b>: Recurrent event.([r] in Whats'Next view)</p>\n","<p><b>Blau</b>: Wiederholender Termin.([r] in Whats'Next Ansicht)</p>\n" }, |
993 | { "<p><b>Red</b>: Alarm set.([a] in Whats'Next view)</p>\n","<p><b>Rot</b>: Alarm gesetzt.([a] in Whats'Next Ansicht)</p>\n" }, | 993 | { "<p><b>Red</b>: Alarm set.([a] in Whats'Next view)</p>\n","<p><b>Rot</b>: Alarm gesetzt.([a] in Whats'Next Ansicht)</p>\n" }, |
994 | { "<p><b>Cross</b>: Item cancelled.([c] in Whats'Next view)</p>\n","<p><b>Kreuz</b>: Eintrag gecancelt.([c] in Whats'Next Ansicht)</p>\n" }, | 994 | { "<p><b>Cross</b>: Item cancelled.([c] in Whats'Next view)</p>\n","<p><b>Kreuz</b>: Eintrag gecancelt.([c] in Whats'Next Ansicht)</p>\n" }, |
995 | { "<p><b>(for square icons in agenda and month view)</b></p>\n","<p><b>(für quadratische Icons in Agenda und Monats Ansicht)</b></p>\n" }, | 995 | { "<p><b>(for square icons in agenda and month view)</b></p>\n","<p><b>(für quadratische Icons in Agenda und Monats Ansicht)</b></p>\n" }, |
996 | { "<p><h2>KO/Pi icon colors:</h2></p>\n","<p><h2>KO/Pi Icon Farben:</h2></p>\n" }, | 996 | { "<p><h2>KO/Pi icon colors:</h2></p>\n","<p><h2>KO/Pi Icon Farben:</h2></p>\n" }, |
997 | { "<p><b>E</b>: Edit item</p>\n","<p><b>E</b>: Editiere Eintrag</p>\n" }, | 997 | { "<p><b>E</b>: Edit item</p>\n","<p><b>E</b>: Editiere Eintrag</p>\n" }, |
998 | { "<p><b>A</b>: Show agenda view.</p>\n","<p><b>A</b>: Zeige Agenda Ansicht.</p>\n" }, | 998 | { "<p><b>A</b>: Show agenda view.</p>\n","<p><b>A</b>: Zeige Agenda Ansicht.</p>\n" }, |
999 | { "<p><b>I,C</b>: Close dialog.</p>\n","<p><b>I,C</b>: Schließe Dialog.</p>\n" }, | 999 | { "<p><b>I,C</b>: Close dialog.</p>\n","<p><b>I,C</b>: Schließe Dialog.</p>\n" }, |
1000 | { "<p><h3>In event/todo viewer:</h3></p>\n","<p><h3>In Termin/Todo Detail-Anzeige:</h3></p>\n" }, | 1000 | { "<p><h3>In event/todo viewer:</h3></p>\n","<p><h3>In Termin/Todo Detail-Anzeige:</h3></p>\n" }, |
1001 | { "<p><b>shift+up/down</b>: Goto first/last item</p>\n","<p><b>shift+up/down</b>: Gehe zum ersten/letzten Eintrag</p>\n" }, | 1001 | { "<p><b>shift+up/down</b>: Goto first/last item</p>\n","<p><b>shift+up/down</b>: Gehe zum ersten/letzten Eintrag</p>\n" }, |
1002 | { "<p><b>ctrl+up/down</b>: Goto up/down by 20% of items</p>\n","<p><b>ctrl+up/down</b>: Gehe hoch/runter 20% aller Einträge</p>\n" }, | 1002 | { "<p><b>ctrl+up/down</b>: Goto up/down by 20% of items</p>\n","<p><b>ctrl+up/down</b>: Gehe hoch/runter 20% aller Einträge</p>\n" }, |
1003 | { "<p><b>up/down</b>: Next/prev item</p>\n","<p><b>up/down</b>: Nächster/vorheriger Eintrag</p>\n" }, | 1003 | { "<p><b>up/down</b>: Next/prev item</p>\n","<p><b>up/down</b>: Nächster/vorheriger Eintrag</p>\n" }, |
1004 | { "<p><b>return+shift</b>: Deselect item+one step down</p>\n","<p><b>return+shift</b>: Deselektiere Item+Cursor einen Eintrag runter</p>\n" }, | 1004 | { "<p><b>return+shift</b>: Deselect item+one step down</p>\n","<p><b>return+shift</b>: Deselektiere Item+Cursor einen Eintrag runter</p>\n" }, |
1005 | { "<p><b>return</b>: Select item+one step down</p>\n","<p><b>return</b>: Selektiere Item+Cursor einen Eintrag runter</p>\n" }, | 1005 | { "<p><b>return</b>: Select item+one step down</p>\n","<p><b>return</b>: Selektiere Item+Cursor einen Eintrag runter</p>\n" }, |
1006 | { "<p><b>I</b>: Show info of current item+one step down.</p>\n","<p><b>I</b>: Zeige Detail-Ansicht vom sel.Eintrag+Cursor einen Eintrag runter.</p>\n" }, | 1006 | { "<p><b>I</b>: Show info of current item+one step down.</p>\n","<p><b>I</b>: Zeige Detail-Ansicht vom sel.Eintrag+Cursor einen Eintrag runter.</p>\n" }, |
1007 | { "<p><h3>In list view:</h3></p>\n","<p><h3>In Listen Ansicht:</h3></p>\n" }, | 1007 | { "<p><h3>In list view:</h3></p>\n","<p><h3>In Listen Ansicht:</h3></p>\n" }, |
1008 | { "<p><b>return+shift</b>: Mark item as not completed+one step down</p>\n","<p><b>return+shift</b>: Markiere Todo als nicht erledigt+Cursor einen Eintrag runter</p>\n" }, | 1008 | { "<p><b>return+shift</b>: Mark item as not completed+one step down</p>\n","<p><b>return+shift</b>: Markiere Todo als nicht erledigt+Cursor einen Eintrag runter</p>\n" }, |
1009 | { "<p><b>return</b>: Mark item as completed+one step down.</p>\n","<p><b>return</b>: Markiere Todo als erledigt+Cursor einen Eintrag runter.</p>\n" }, | 1009 | { "<p><b>return</b>: Mark item as completed+one step down.</p>\n","<p><b>return</b>: Markiere Todo als erledigt+Cursor einen Eintrag runter.</p>\n" }, |
1010 | { "<p><b>Q</b>: Toggle quick todo line edit.</p>\n","<p><b>Q</b>: Zeige/verstecke Quick Todo Eingabe Zeile.</p>\n" }, | 1010 | { "<p><b>Q</b>: Toggle quick todo line edit.</p>\n","<p><b>Q</b>: Zeige/verstecke Quick Todo Eingabe Zeile.</p>\n" }, |
1011 | { "<p><b>shift+P</b>: Make new <b>P</b>arent for todo selected with shift+S</p>\n","<p><b>shift+P</b>: Mache Todo zum neuen <b>P</b>arent Todo für das Todo, welches mit shift+Sselektiert wurde.</p>\n" }, | 1011 | { "<p><b>shift+P</b>: Make new <b>P</b>arent for todo selected with shift+S</p>\n","<p><b>shift+P</b>: Mache Todo zum neuen <b>P</b>arent Todo für das Todo, welches mit shift+Sselektiert wurde.</p>\n" }, |
1012 | { "<p><b>shift+S</b>: Make <b>S</b>ubtodo (reparent todo)</p>\n","<p><b>shift+S</b>: Mache Todo zum <b>S</b>ubtodo</p>\n" }, | 1012 | { "<p><b>shift+S</b>: Make <b>S</b>ubtodo (reparent todo)</p>\n","<p><b>shift+S</b>: Mache Todo zum <b>S</b>ubtodo</p>\n" }, |
1013 | { "<p><b>shift+U</b>: <b>U</b>nparent todo (make root todo)</p>\n","<p><b>shift+U</b>: <b>U</b>nparent Todo (Mache Sub-Todo zum Toplevel Todo)</p>\n" }, | 1013 | { "<p><b>shift+U</b>: <b>U</b>nparent todo (make root todo)</p>\n","<p><b>shift+U</b>: <b>U</b>nparent Todo (Mache Sub-Todo zum Toplevel Todo)</p>\n" }, |
1014 | { "<p><h3>In todo view:</h3></p>\n","<p><h3>In Todo Anzige:</h3></p>\n" }, | 1014 | { "<p><h3>In todo view:</h3></p>\n","<p><h3>In Todo Anzige:</h3></p>\n" }, |
1015 | { "<p><b>ctrl+up/down</b>: Scroll small todo view</p>\n","<p><b>ctrl+up/down</b>: Scrolle kleine Todo Ansicht</p>\n" }, | 1015 | { "<p><b>ctrl+up/down</b>: Scroll small todo view</p>\n","<p><b>ctrl+up/down</b>: Scrolle kleine Todo Ansicht</p>\n" }, |
1016 | { "<p><b>up/down</b>: Scroll agenda view</p>\n","<p><b>up/down</b>: Scrolle Agenda Ansicht</p>\n" }, | 1016 | { "<p><b>up/down</b>: Scroll agenda view</p>\n","<p><b>up/down</b>: Scrolle Agenda Ansicht</p>\n" }, |
1017 | { "<p><h3>In agenda view:</h3></p>\n","<p><h3>In Agenda Ansicht:</h3></p>\n" }, | 1017 | { "<p><h3>In agenda view:</h3></p>\n","<p><h3>In Agenda Ansicht:</h3></p>\n" }, |
1018 | { "<p><b>del,backspace</b>: Delete selected item</p>\n","<p><b>del,backspace</b>: Lösche selektiertes Item</p>\n" }, | 1018 | { "<p><b>del,backspace</b>: Delete selected item</p>\n","<p><b>del,backspace</b>: Lösche selektiertes Item</p>\n" }, |
1019 | { "<p><b>left</b>: Prev. week | <b>left+ctrl</b>: Prev. month</p>\n","<p><b>left</b>: Vorh. Woche | <b>left+ctrl</b>: Vorh. Monat</p>\n" }, | 1019 | { "<p><b>left</b>: Prev. week | <b>left+ctrl</b>: Prev. month</p>\n","<p><b>left</b>: Vorh. Woche | <b>left+ctrl</b>: Vorh. Monat</p>\n" }, |
1020 | { "<p><b>right</b>: Next week | <b>right+ctrl</b>: Next month</p>\n","<p><b>right</b>: Nächste Woche | <b>right+ctrl</b>: Nächste Woche</p>\n" }, | 1020 | { "<p><b>right</b>: Next week | <b>right+ctrl</b>: Next month</p>\n","<p><b>right</b>: Nächste Woche | <b>right+ctrl</b>: Nächste Woche</p>\n" }, |
1021 | { "<p><b>B</b>: Edit description (details) of selected item</p>\n","<p><b>B</b>: Editiere Beschreibung (Details) des selektierten Items</p>\n" }, | 1021 | { "<p><b>B</b>: Edit description (details) of selected item</p>\n","<p><b>B</b>: Editiere Beschreibung (Details) des selektierten Items</p>\n" }, |
1022 | { "<p><b>C</b>: Show current time in agenda view</p>\n","<p><b>C</b>: Zeige aktuelle Zeit in Agenda Ansicht</p>\n" }, | 1022 | { "<p><b>C</b>: Show current time in agenda view</p>\n","<p><b>C</b>: Zeige aktuelle Zeit in Agenda Ansicht</p>\n" }, |
1023 | { "<p><b>+,-</b> : Zoom in/out agenda | <b>A</b>: Toggle allday agenda height</p>\n","<p><b>+,-</b> : Zoom rein/raus Agenda | <b>A</b>: Wechsle Ganztag Agenda Höhe</p>\n" }, | 1023 | { "<p><b>+,-</b> : Zoom in/out agenda | <b>A</b>: Toggle allday agenda height</p>\n","<p><b>+,-</b> : Zoom rein/raus Agenda | <b>A</b>: Wechsle Ganztag Agenda Höhe</p>\n" }, |
1024 | { "<p><b>S+ctrl</b>: Add sub-todo | <b>X</b>: Toggle datenavigator</p>\n","<p><b>S+ctrl</b>: Füge Sub-Todo hinzu | <b>X</b>: Zeige/verstecke Datumsnavigator</p>\n" }, | 1024 | { "<p><b>S+ctrl</b>: Add sub-todo | <b>X</b>: Toggle datenavigator</p>\n","<p><b>S+ctrl</b>: Füge Sub-Todo hinzu | <b>X</b>: Zeige/verstecke Datumsnavigator</p>\n" }, |
1025 | { "<p><b>T</b>: Goto today | <b>T+ctrl</b>: New Todo</p>\n","<p><b>T</b>: Gehe zu Heute | <b>T+ctrl</b>: Neues Todo</p>\n" }, | 1025 | { "<p><b>T</b>: Goto today | <b>T+ctrl</b>: New Todo</p>\n","<p><b>T</b>: Gehe zu Heute | <b>T+ctrl</b>: Neues Todo</p>\n" }, |
1026 | { "<p><b>E</b>: Edit selected item |<b> E+ctrl</b>: New Event</p>\n","<p><b>E</b>: Editiere selektiertes Item |<b> E+ctrl</b>: Neuer Termin</p>\n" }, | 1026 | { "<p><b>E</b>: Edit selected item |<b> E+ctrl</b>: New Event</p>\n","<p><b>E</b>: Editiere selektiertes Item |<b> E+ctrl</b>: Neuer Termin</p>\n" }, |
1027 | { "<p><b>D</b>: One day view | <b>M</b>: Month view</p>\n","<p><b>D</b>: Ein-Tages Ansicht | <b>M</b>: Monatsansicht</p>\n" }, | 1027 | { "<p><b>D</b>: One day view | <b>M</b>: Month view</p>\n","<p><b>D</b>: Ein-Tages Ansicht | <b>M</b>: Monatsansicht</p>\n" }, |
1028 | { "<p><b>Z,Y</b>: Work week view | <b>U</b>: Week view</p>\n","<p><b>Z,Y</b>: Arbeitswochenansicht | <b>U</b>: Wochenansicht</p>\n" }, | 1028 | { "<p><b>Z,Y</b>: Work week view | <b>U</b>: Week view</p>\n","<p><b>Z,Y</b>: Arbeitswochenansicht | <b>U</b>: Wochenansicht</p>\n" }, |
1029 | { "<p><b>V</b>: Todo view | <b>L</b>: Event list view</p>\n","<p><b>V</b>: Todo Ansicht | <b>L</b>: Termin Listen Ansicht</p>\n" }, | 1029 | { "<p><b>V</b>: Todo view | <b>L</b>: Event list view</p>\n","<p><b>V</b>: Todo Ansicht | <b>L</b>: Termin Listen Ansicht</p>\n" }, |
1030 | { "<p><b>N</b>: Next days view| <b>W</b>: What's next view\n ","<p><b>N</b>: Nächste-Tage Ansicht | <b>W</b>: What's Next Ansicht\n " }, | 1030 | { "<p><b>N</b>: Next days view| <b>W</b>: What's next view\n ","<p><b>N</b>: Nächste-Tage Ansicht | <b>W</b>: What's Next Ansicht\n " }, |
1031 | { "<p><b>1-0</b> (+<b>ctrl</b>): Select filter 1-10 (11-20)</p>\n","<p><b>1-0</b> (+<b>ctrl</b>): Selektiere Filter 1-10 (11-20)</p>\n" }, | 1031 | { "<p><b>1-0</b> (+<b>ctrl</b>): Select filter 1-10 (11-20)</p>\n","<p><b>1-0</b> (+<b>ctrl</b>): Selektiere Filter 1-10 (11-20)</p>\n" }, |
1032 | { "<p><b>O</b>: Filter On/Off | <b>J</b>: Journal view</p>\n","<p><b>O</b>: Filter An/Aus | <b>J</b>: Journal Ansicht</p>\n" }, | 1032 | { "<p><b>O</b>: Filter On/Off | <b>J</b>: Journal view</p>\n","<p><b>O</b>: Filter An/Aus | <b>J</b>: Journal Ansicht</p>\n" }, |
1033 | { "<p><b>F</b>: Toggle filterview |<b>F+ctrl</b>: Edit filter </p>\n","<p><b>F</b>: Zeige/verstecke Filter Ansicht |<b>F+ctrl</b>: Editiere Filter </p>\n" }, | 1033 | { "<p><b>F</b>: Toggle filterview |<b>F+ctrl</b>: Edit filter </p>\n","<p><b>F</b>: Zeige/verstecke Filter Ansicht |<b>F+ctrl</b>: Editiere Filter </p>\n" }, |
1034 | { "<p><b>Space</b>: Toggle fullscreen | <b>P</b>: Date picker</p>\n","<p><b>Space</b>: Zeige fullscreen | <b>P</b>: Datums Picker</p>\n" }, | 1034 | { "<p><b>Space</b>: Toggle fullscreen | <b>P</b>: Date picker</p>\n","<p><b>Space</b>: Zeige fullscreen | <b>P</b>: Datums Picker</p>\n" }, |
1035 | { "<p><b>I</b>: Show info for selected event/todo</p>\n","<p><b>I</b>: Zeige Info (Details) für selektiertes Item</p>\n" }, | 1035 | { "<p><b>I</b>: Show info for selected event/todo</p>\n","<p><b>I</b>: Zeige Info (Details) für selektiertes Item</p>\n" }, |
1036 | { "<p><b>H</b>: This help dialog | <b>S</b>: Search dialog</p>\n","<p><b>H</b>: Dieser Hilfe Dialog | <b>S</b>: Such Dialog</p>\n" }, | 1036 | { "<p><b>H</b>: This help dialog | <b>S</b>: Search dialog</p>\n","<p><b>H</b>: Dieser Hilfe Dialog | <b>S</b>: Such Dialog</p>\n" }, |
1037 | { "<p><h2>KO/Pi key shortcuts:</h2></p>\n","<p><h2>KO/Pi Tastatur Kurzbefehle:</h2></p>\n" }, | 1037 | { "<p><h2>KO/Pi key shortcuts:</h2></p>\n","<p><h2>KO/Pi Tastatur Kurzbefehle:</h2></p>\n" }, |
1038 | { "After changing something, the data is\nautomatically saved to the file\n~/kdepim/apps/korganizer/mycalendar.ics\nafter (configurable) three minutes.\nFor safety reasons there is one autosaving\nafter 10 minutes (of idle time) again. The \ndata is saved automatically when closing KO/Pi\nYou can create a backup file \nwith: File - Save Calendar Backup\n","Nachdem etwas geändert wurde, werden die\nDaten automatisch in die Datei abgespeichert\n~/kdepim/apps/korganizer/mycalendar.ics\nnach (konfigurierbar) drei Minuten.\nAus Sicherheitsgründen wird noch einmal\nnach 10 Min. abgespeichert, wenn keine\nÄnderungen vorgenommen wurden. Die \nDaten werden automatisch gespeichert,\nwenn KO/Pi beendet wird.\nSie können eine Backup-Datei erstellen im\nMenu: Datei - Speichere Kalender Backup\n" }, | 1038 | { "After changing something, the data is\nautomatically saved to the file\n~/kdepim/apps/korganizer/mycalendar.ics\nafter (configurable) three minutes.\nFor safety reasons there is one autosaving\nafter 10 minutes (of idle time) again. The \ndata is saved automatically when closing KO/Pi\nYou can create a backup file \nwith: File - Save Calendar Backup\n","Nachdem etwas geändert wurde, werden die\nDaten automatisch in die Datei abgespeichert\n~/kdepim/apps/korganizer/mycalendar.ics\nnach (konfigurierbar) drei Minuten.\nAus Sicherheitsgründen wird noch einmal\nnach 10 Min. abgespeichert, wenn keine\nÄnderungen vorgenommen wurden. Die \nDaten werden automatisch gespeichert,\nwenn KO/Pi beendet wird.\nSie können eine Backup-Datei erstellen im\nMenu: Datei - Speichere Kalender Backup\n" }, |
1039 | { "Auto Saving in KOrganizer/Pi","Auto Speichern in KOrganizer/Pi" }, | 1039 | { "Auto Saving in KOrganizer/Pi","Auto Speichern in KOrganizer/Pi" }, |
1040 | { "\nhttp://sourceforge.net/projects/kdepimpi\n","\nhttp://sourceforge.net/projects/kdepimpi\n" }, | 1040 | { "\nhttp://sourceforge.net/projects/kdepimpi\n","\nhttp://sourceforge.net/projects/kdepimpi\n" }, |
1041 | { "\nor report them in the bugtracker on\n","\noder trage sie in dem Bugtracker ein auf\n" }, | 1041 | { "\nor report them in the bugtracker on\n","\noder trage sie in dem Bugtracker ein auf\n" }, |
1042 | { "\nPlease report unexpected behaviour to\nlutz@pi-sync.info\n","\nBitte melde fehlerhaftes Verhalten an\nlutz@pi-sync.info\n" }, | 1042 | { "\nPlease report unexpected behaviour to\nlutz@pi-sync.info\n","\nBitte melde fehlerhaftes Verhalten an\nlutz@pi-sync.info\n" }, |
1043 | { "2) Audio alarm daemon\nfor Zaurus is available!\nas an additional small application\n","2) Ein Audio Alarm Daemon\nfür den Zaurus ist verfügbar\nals zusätzliche Anwendung\n" }, | 1043 | { "2) Audio alarm daemon\nfor Zaurus is available!\nas an additional small application\n","2) Ein Audio Alarm Daemon\nfür den Zaurus ist verfügbar\nals zusätzliche Anwendung\n" }, |
1044 | { "1) Importing *.vcs or *.ics files from\nother applications may not work properly,\nif there are events with properties\nKO/Pi does not support.\n","1) Importieren von *.vcs oder *.ics Dateien von\nanderen Anwendungen kann möglicherweise\n nicht richtig funktionieren,\nwenn die Termine Eigenschaften haben,\ndie KO/Pi nicht unterstützt.\n" }, | 1044 | { "1) Importing *.vcs or *.ics files from\nother applications may not work properly,\nif there are events with properties\nKO/Pi does not support.\n","1) Importieren von *.vcs oder *.ics Dateien von\nanderen Anwendungen kann möglicherweise\n nicht richtig funktionieren,\nwenn die Termine Eigenschaften haben,\ndie KO/Pi nicht unterstützt.\n" }, |
1045 | { "Known Problems in KOrganizer/Pi","Bekannte Probleme in KOrganizer/Pi" }, | 1045 | { "Known Problems in KOrganizer/Pi","Bekannte Probleme in KOrganizer/Pi" }, |
1046 | { "KO/Pi FAQ","KO/Pi FAQ" }, | 1046 | { "KO/Pi FAQ","KO/Pi FAQ" }, |
1047 | { "PDA-Edition\nfor: Zaurus 5x00/7x0/860/3000/6000\n","PDA-Edition\nfür: Zaurus 5x00/7x0/860/3000/6000\n" }, | 1047 | { "PDA-Edition\nfor: Zaurus 5x00/7x0/860/3000/6000\n","PDA-Edition\nfür: Zaurus 5x00/7x0/860/3000/6000\n" }, |
1048 | { "KOrganizer/Platform-independent\n","KOrganizer/Platform-independent\n" }, | 1048 | { "KOrganizer/Platform-independent\n","KOrganizer/Platform-independent\n" }, |
1049 | { "About KOrganizer/Pi","Über KOrganizer/Pi" }, | 1049 | { "About KOrganizer/Pi","Über KOrganizer/Pi" }, |
1050 | { "From: ","Von: " }, | 1050 | { "From: ","Von: " }, |
1051 | { "Remove sync info","Entferne Sync Info" }, | 1051 | { "Remove sync info","Entferne Sync Info" }, |
1052 | { "For all profiles","Für alle Profile" }, | 1052 | { "For all profiles","Für alle Profile" }, |
1053 | { "Hide not Running","Verstecke nicht Laufende" }, | 1053 | { "Hide not Running","Verstecke nicht Laufende" }, |
1054 | { "ME","ME" }, | 1054 | { "ME","ME" }, |
1055 | { "Toolbar","Toolbar" }, | 1055 | { "Toolbar","Toolbar" }, |
1056 | { "Undo Delete...","Löschen rückgängig machen..." }, | 1056 | { "Undo Delete...","Löschen rückgängig machen..." }, |
1057 | { "Undo Delete","Löschen rückgängig machen" }, | 1057 | { "Undo Delete","Löschen rückgängig machen" }, |
1058 | { "KDE Sync HowTo...","KDE Sync HowTo..." }, | 1058 | { "KDE Sync HowTo...","KDE Sync HowTo..." }, |
1059 | { "Multi Sync HowTo...","Multi Sync HowTo..." }, | 1059 | { "Multi Sync HowTo...","Multi Sync HowTo..." }, |
1060 | { "Januar","Januar" }, | 1060 | { "Januar","Januar" }, |
1061 | { "KO/Pi Keys + Colors","KO/Pi Tasten + Farben" }, | 1061 | { "KO/Pi Keys + Colors","KO/Pi Tasten + Farben" }, |
1062 | { "No Filter","Kein Filter" }, | 1062 | { "No Filter","Kein Filter" }, |
1063 | { "Multiple Sync options","Multi Sync Optionen" }, | 1063 | { "Multiple Sync options","Multi Sync Optionen" }, |
1064 | { "Sync algo options","Sync Ablauf Optionen" }, | 1064 | { "Sync algo options","Sync Ablauf Optionen" }, |
1065 | { "Apply filter when adding data to local:","Filter für das Hinzufügen von Daten zu Lokal:" }, | 1065 | { "Apply filter when adding data to local:","Filter für das Hinzufügen von Daten zu Lokal:" }, |
1066 | { "Incoming calendar filter:","Eingehender Kalender Filter:" }, | 1066 | { "Incoming calendar filter:","Eingehender Kalender Filter:" }, |
1067 | { "Incoming addressbook filter:","Eingehender Adressbuch Filter:" }, | 1067 | { "Incoming addressbook filter:","Eingehender Adressbuch Filter:" }, |
1068 | { "Write back options","Optionen zum Zurückschreiben" }, | 1068 | { "Write back options","Optionen zum Zurückschreiben" }, |
1069 | { "Write back (on remote) existing entries only","Schreibe nur existierende (auf Entfernt) Einträge zurück" }, | 1069 | { "Write back (on remote) existing entries only","Schreibe nur existierende (auf Entfernt) Einträge zurück" }, |
1070 | { "Apply filter when adding data to remote:","Filter für das Hinzufügen von Daten zu Entfernt:" }, | 1070 | { "Apply filter when adding data to remote:","Filter für das Hinzufügen von Daten zu Entfernt:" }, |
1071 | { "Outgoing calendar filter:","Ausgehender Kalender Filter:" }, | 1071 | { "Outgoing calendar filter:","Ausgehender Kalender Filter:" }, |
1072 | { "Outgoing addressbook filter:","Ausgehender Adressbuch Filter:" }, | 1072 | { "Outgoing addressbook filter:","Ausgehender Adressbuch Filter:" }, |
1073 | { "Write back (calendar) entries for time period only","Schreibe nur Kalender Einträge für Zeitspanne zurück" }, | 1073 | { "Write back (calendar) entries for time period only","Schreibe nur Kalender Einträge für Zeitspanne zurück" }, |
1074 | { "Time period","Zeitspanne" }, | 1074 | { "Time period","Zeitspanne" }, |
1075 | { "From ","Von " }, | 1075 | { "From ","Von " }, |
1076 | { " weeks in the past to "," Wochen in der Vergangenheit bis zu " }, | 1076 | { " weeks in the past to "," Wochen in der Vergangenheit bis zu " }, |
1077 | { " weeks in the future "," Wochen in der Zukunft " }, | 1077 | { " weeks in the future "," Wochen in der Zukunft " }, |
1078 | { "Profile kind specific settings","Profil Art abhängige Einstellungen" }, | 1078 | { "Profile kind specific settings","Profil Art abhängige Einstellungen" }, |
1079 | { "Local temp file:","Lokale temp Datei:" }, | 1079 | { "Local temp file:","Lokale temp Datei:" }, |
1080 | { "Multiple profiles with same name!\nPlease use unique profile names!","Mehrere Profile mit demselben Namen!\nBitte verschiedene Namen benutzen!" }, | 1080 | { "Multiple profiles with same name!\nPlease use unique profile names!","Mehrere Profile mit demselben Namen!\nBitte verschiedene Namen benutzen!" }, |
1081 | { "Aborted! Nothing synced!","Abgebrochen! Nichts wurde gesynct!" }, | 1081 | { "Aborted! Nothing synced!","Abgebrochen! Nichts wurde gesynct!" }, |
1082 | { "Language","Sprache" }, | 1082 | { "Language","Sprache" }, |
1083 | { "Time Format","Zeit Format" }, | 1083 | { "Time Format","Zeit Format" }, |
1084 | { "Time Zone","Zeit Zone" }, | 1084 | { "Time Zone","Zeit Zone" }, |
1085 | { "%1 groups subscribed","%1 Guppen abboniert" }, | 1085 | { "%1 groups subscribed","%1 Guppen abboniert" }, |
1086 | { "Your current storage dir is:\n%1\nYour mail is stored in:\n(storagedir)/apps/kopiemail/localmail","Aktuelles Speicherverzeichnis ist:\n%1\nIhre Mail wird gespeichert in:\n(speicherverz.)/apps/kopiemail/localmail" }, | 1086 | { "Your current storage dir is:\n%1\nYour mail is stored in:\n(storagedir)/apps/kopiemail/localmail","Aktuelles Speicherverzeichnis ist:\n%1\nIhre Mail wird gespeichert in:\n(speicherverz.)/apps/kopiemail/localmail" }, |
1087 | { "<b>New data storage dir:</b>","<b>Neues Datenspeicherverzeichnis:</b>" }, | 1087 | { "<b>New data storage dir:</b>","<b>Neues Datenspeicherverzeichnis:</b>" }, |
1088 | { "New dirs are created automatically","Neue Verzeichnisse werden aut. erstellt" }, | 1088 | { "New dirs are created automatically","Neue Verzeichnisse werden aut. erstellt" }, |
1089 | { "Save settings","Speichere Einstellungen" }, | 1089 | { "Save settings","Speichere Einstellungen" }, |
1090 | { "Save standard","Speichere Standard" }, | 1090 | { "Save standard","Speichere Standard" }, |
1091 | { "<b>New settings are used\nafter a restart</b>","<b>Neue Einstellungen werden nach\neinem Neustart genutzt</b>" }, | 1091 | { "<b>New settings are used\nafter a restart</b>","<b>Neue Einstellungen werden nach\neinem Neustart genutzt</b>" }, |
1092 | { "Settings are stored in\n%1","Einstellungen werden gespeichert in:\n%1" }, | 1092 | { "Settings are stored in\n%1","Einstellungen werden gespeichert in:\n%1" }, |
1093 | { "Data storage path","Daten Speicherpfad" }, | 1093 | { "Data storage path","Daten Speicherpfad" }, |
1094 | { "Language","Sprache" }, | 1094 | { "Language","Sprache" }, |
1095 | { "Show time in agenda items","Zeige Zeit in Agenda Items" }, | 1095 | { "Show time in agenda items","Zeige Zeit in Agenda Items" }, |
1096 | { "Color for Sundays + category "Holiday"","Farbe für Sonntags + Kategorie "Feiertag"" }, | 1096 | { "Color for Sundays + category "Holiday"","Farbe für Sonntags + Kategorie "Feiertag"" }, |
1097 | { "Show events, that are done in \nWhat's Next view","Zeige abgelaufene Termine in\nWhat's Next Ansicht" }, | 1097 | { "Show events, that are done in \nWhat's Next view","Zeige abgelaufene Termine in\nWhat's Next Ansicht" }, |
1098 | { "Hide not running Todos in To-do view","Verstecke nicht laufende Todos" }, | 1098 | { "Hide not running Todos in To-do view","Verstecke nicht laufende Todos" }, |
1099 | { "+01:00 Europe/Oslo(CET)","+01:00 Europe/Oslo(CET)" }, | 1099 | { "+01:00 Europe/Oslo(CET)","+01:00 Europe/Oslo(CET)" }, |
1100 | { "KO/Pi","KO/Pi" }, | 1100 | { "KO/Pi","KO/Pi" }, |
1101 | { "There is nothing to undo!","Es gibt nichts zum\nRückgängigmachen!" }, | 1101 | { "There is nothing to undo!","Es gibt nichts zum\nRückgängigmachen!" }, |
1102 | { "Recreating edit dialog. Please wait...","Recreating edit dialog. Please wait..." }, | 1102 | { "Recreating edit dialog. Please wait...","Recreating edit dialog. Please wait..." }, |
1103 | { "Sound.Al.: ","Sound.Al.: " }, | 1103 | { "Sound.Al.: ","Sound.Al.: " }, |
1104 | { "From: %1 To: %2 %3","Von: %1 Bis: %2 %3" }, | 1104 | { "From: %1 To: %2 %3","Von: %1 Bis: %2 %3" }, |
1105 | { "Restore","Wiederherstellen" }, | 1105 | { "Restore","Wiederherstellen" }, |
1106 | { "\nAre you sure you want\nto restore this?","\nMöchten Sie das wirklicht\nwiederherstellen?" }, | 1106 | { "\nAre you sure you want\nto restore this?","\nMöchten Sie das wirklicht\nwiederherstellen?" }, |
1107 | { "% completed","% erledigt" }, | 1107 | { "% completed","% erledigt" }, |
1108 | { "%d item(s) found.","%d Item(s) gefunden." }, | 1108 | { "%d item(s) found.","%d Item(s) gefunden." }, |
1109 | { "Set complete","Setze auf erledigt" }, | 1109 | { "Set complete","Setze auf erledigt" }, |
1110 | { "(cancelled)","(gecancelt)" }, | 1110 | { "(cancelled)","(gecancelt)" }, |
1111 | { "Click on the week number to\nshow week in agenda view","Klicke auf die Wochennummer\num die Woche in der Agenda anzuzeigen" }, | 1111 | { "Click on the week number to\nshow week in agenda view","Klicke auf die Wochennummer\num die Woche in der Agenda anzuzeigen" }, |
1112 | { " Local time "," Locale Zeit " }, | 1112 | { " Local time "," Locale Zeit " }, |
1113 | { "Form2","Form2" }, | 1113 | { "Form2","Form2" }, |
1114 | { "Filter enabled","Filter angeschaltet" }, | 1114 | { "Filter enabled","Filter angeschaltet" }, |
1115 | { "Edit Filters","Ändere Filter" }, | 1115 | { "Edit Filters","Ändere Filter" }, |
1116 | { "Print What's Next View...","Drucke What's Next Ansicht..." }, | 1116 | { "Print What's Next View...","Drucke What's Next Ansicht..." }, |
1117 | { "Agenda","Agenda" }, | 1117 | { "Agenda","Agenda" }, |
1118 | { " ("," (" }, | 1118 | { " ("," (" }, |
1119 | { "<p><b>Due on:</b> %1</p>","<p><b>Fällig am:</b> %1</p>" }, | 1119 | { "<p><b>Due on:</b> %1</p>","<p><b>Fällig am:</b> %1</p>" }, |
1120 | { "Print","Print" }, | 1120 | { "Print","Print" }, |
1121 | { "&Setup Printer...","Drucker &Setup..." }, | 1121 | { "&Setup Printer...","Drucker &Setup..." }, |
1122 | { "View Type","Zeige Typ" }, | 1122 | { "View Type","Zeige Typ" }, |
1123 | { "Page &orientation:","Seiten Ausrichtung:" }, | 1123 | { "Page &orientation:","Seiten Ausrichtung:" }, |
1124 | { "Use Default of Selected Style","Default des selektierten Stils" }, | 1124 | { "Use Default of Selected Style","Default des selektierten Stils" }, |
1125 | { "Use Default Setting of Printer","Default Einstellung des Druckers" }, | 1125 | { "Use Default Setting of Printer","Default Einstellung des Druckers" }, |
1126 | { "Portrait","Portrait" }, | 1126 | { "Portrait","Portrait" }, |
1127 | { "Landscape","Landschaft" }, | 1127 | { "Landscape","Landschaft" }, |
1128 | { "Print day","Drucke Tag" }, | 1128 | { "Print day","Drucke Tag" }, |
1129 | { "CalPrintDay_Base","CalPrintDay_Base" }, | 1129 | { "CalPrintDay_Base","CalPrintDay_Base" }, |
1130 | { "Date && Time Range","Datum && Zeitspanne" }, | 1130 | { "Date && Time Range","Datum && Zeitspanne" }, |
1131 | { "&End date:","&Enddatum:" }, | 1131 | { "&End date:","&Enddatum:" }, |
1132 | { "&Start date:","&Startdatum:" }, | 1132 | { "&Start date:","&Startdatum:" }, |
1133 | { "Start &time:","Startzeit:" }, | 1133 | { "Start &time:","Startzeit:" }, |
1134 | { "End ti&me:","Endzeit:" }, | 1134 | { "End ti&me:","Endzeit:" }, |
1135 | { "E&xtend time range to include all events","Erweitere Zeitspanne um alle Termine einzuschliessen" }, | 1135 | { "E&xtend time range to include all events","Erweitere Zeitspanne um alle Termine einzuschliessen" }, |
1136 | { "Include to&dos that are due on the printed day(s)","Inclusive To&dos, die an den selektierten Tagen fällig sind" }, | 1136 | { "Include to&dos that are due on the printed day(s)","Inclusive To&dos, die an den selektierten Tagen fällig sind" }, |
1137 | { "Alt+D","Alt+D" }, | 1137 | { "Alt+D","Alt+D" }, |
1138 | { "&Use colors","Nutze Farben" }, | 1138 | { "&Use colors","Nutze Farben" }, |
1139 | { "Alt+U","Alt+U" }, | 1139 | { "Alt+U","Alt+U" }, |
1140 | { "Print week","Drucke Woche" }, | 1140 | { "Print week","Drucke Woche" }, |
1141 | { "CalPrintWeek_Base","CalPrintWeek_Base" }, | 1141 | { "CalPrintWeek_Base","CalPrintWeek_Base" }, |
1142 | { "Use &colors","Nutze Farben" }, | 1142 | { "Use &colors","Nutze Farben" }, |
1143 | { "Type of View","Typ der Ansicht" }, | 1143 | { "Type of View","Typ der Ansicht" }, |
1144 | { "Print as &Filofax page","Drucke als &Filofax Seite" }, | 1144 | { "Print as &Filofax page","Drucke als &Filofax Seite" }, |
1145 | { "Alt+F","Alt+F" }, | 1145 | { "Alt+F","Alt+F" }, |
1146 | { "Print as &timetable view:","Drucke als Zeittabelle:" }, | 1146 | { "Print as &timetable view:","Drucke als Zeittabelle:" }, |
1147 | { "Alt+T","Alt+T" }, | 1147 | { "Alt+T","Alt+T" }, |
1148 | { "Print as split week view","Drucke als gesplittete Wochenansicht" }, | 1148 | { "Print as split week view","Drucke als gesplittete Wochenansicht" }, |
1149 | { "Print month","Drucke Monat" }, | 1149 | { "Print month","Drucke Monat" }, |
1150 | { "CalPrintMonth_Base","CalPrintMonth_Base" }, | 1150 | { "CalPrintMonth_Base","CalPrintMonth_Base" }, |
1151 | { "&Start month:","&Startmonat:" }, | 1151 | { "&Start month:","&Startmonat:" }, |
1152 | { "&End month:","&Endmonat:" }, | 1152 | { "&End month:","&Endmonat:" }, |
1153 | { "Print week &numbers","Drucke Wochen Nummer(n)" }, | 1153 | { "Print week &numbers","Drucke Wochen Nummer(n)" }, |
1154 | { "Print todos","Drucke Todos" }, | 1154 | { "Print todos","Drucke Todos" }, |
1155 | { "CalPrintTodoConfig_Base","CalPrintTodoConfig_Base" }, | 1155 | { "CalPrintTodoConfig_Base","CalPrintTodoConfig_Base" }, |
1156 | { "Include &description of the item","Inclusive Itembeschreibung" }, | 1156 | { "Include &description of the item","Inclusive Itembeschreibung" }, |
1157 | { "Include d&ue date of the item","Inclusive Fälligkeitsdatum des Items" }, | 1157 | { "Include d&ue date of the item","Inclusive Fälligkeitsdatum des Items" }, |
1158 | { "Include &priority of the item","Inclusive Priorität des Items" }, | 1158 | { "Include &priority of the item","Inclusive Priorität des Items" }, |
1159 | { "Items to Print","Zu druckende Items" }, | 1159 | { "Items to Print","Zu druckende Items" }, |
1160 | { "&From:","Von:" }, | 1160 | { "&From:","Von:" }, |
1161 | { "&To:","Bis:" }, | 1161 | { "&To:","Bis:" }, |
1162 | { "Print &all todo items","Drucke alle Todo Items" }, | 1162 | { "Print &all todo items","Drucke alle Todo Items" }, |
1163 | { "Print only &uncompleted items","Drucke nur nicht erledigte Todos" }, | 1163 | { "Print only &uncompleted items","Drucke nur nicht erledigte Todos" }, |
1164 | { "Only items due in the &range:","Nur Items in dem Zeitraum:" }, | 1164 | { "Only items due in the &range:","Nur Items in dem Zeitraum:" }, |
1165 | { "Todo List","Todo Liste" }, | 1165 | { "Todo List","Todo Liste" }, |
1166 | { "&Title:","&Titel:" }, | 1166 | { "&Title:","&Titel:" }, |
1167 | { "Co&nnect subtodos with its parent","Verbinde Unter-Todos mit ihren Ober-Todos" }, | 1167 | { "Co&nnect subtodos with its parent","Verbinde Unter-Todos mit ihren Ober-Todos" }, |
1168 | { "Todo list","Todo Liste" }, | 1168 | { "Todo list","Todo Liste" }, |
1169 | { "&Print...","Drucke..." }, | 1169 | { "&Print...","Drucke..." }, |
1170 | { "<qt>Printing on printer <b>%1</b></qt>","<qt>Drucke auf Drucker <b>%1</b></qt>" }, | 1170 | { "<qt>Printing on printer <b>%1</b></qt>","<qt>Drucke auf Drucker <b>%1</b></qt>" }, |
1171 | { "[Unconfigured]","[Unkonfiguriert]" }, | 1171 | { "[Unconfigured]","[Unkonfiguriert]" }, |
1172 | { "OK","OK" }, | 1172 | { "OK","OK" }, |
1173 | { "FilterEditor","FilterEditor" }, | 1173 | { "FilterEditor","FilterEditor" }, |
1174 | { "Include","Inclusive" }, | 1174 | { "Include","Inclusive" }, |
1175 | { "Exclude","Exclusive" }, | 1175 | { "Exclude","Exclusive" }, |
1176 | { "Edit Selection...","Editiere Auswahl" }, | 1176 | { "Edit Selection...","Editiere Auswahl" }, |
1177 | { "recurring events","wiederholende Termine" }, | 1177 | { "recurring events","wiederholende Termine" }, |
1178 | { "recurr. events","wiederh.Termine" }, | 1178 | { "recurr. events","wiederh.Termine" }, |
1179 | { "completed to-dos","erledigte Todos" }, | 1179 | { "completed to-dos","erledigte Todos" }, |
1180 | { "events","Termine" }, | 1180 | { "events","Termine" }, |
1181 | { "todos","Todos" }, | 1181 | { "todos","Todos" }, |
1182 | { "journals","Journale" }, | 1182 | { "journals","Journale" }, |
1183 | { "public","öffentl." }, | 1183 | { "public","öffentl." }, |
1184 | { "private","privat" }, | 1184 | { "private","privat" }, |
1185 | { "confidential","vertraul." }, | 1185 | { "confidential","vertraul." }, |
1186 | { "\nhas sub-todos.\nAll completed sub-todos\nwill be deleted as well!","\nhat Unter-Todos.\nAlle erledigten Unter-Todos\nwerden auch gelöscht!" }, | 1186 | { "\nhas sub-todos.\nAll completed sub-todos\nwill be deleted as well!","\nhat Unter-Todos.\nAlle erledigten Unter-Todos\nwerden auch gelöscht!" }, |
1187 | { "Yesterday","Gestern" }, | 1187 | { "Yesterday","Gestern" }, |
1188 | { "Day after tomorrow","Übermorgen" }, | 1188 | { "Day after tomorrow","Übermorgen" }, |
1189 | { "Tomorrow","Morgen" }, | 1189 | { "Tomorrow","Morgen" }, |
1190 | { "Day before yesterday","Vorgestern" }, | 1190 | { "Day before yesterday","Vorgestern" }, |
1191 | { "Size %1","Größe %1" }, | 1191 | { "Size %1","Größe %1" }, |
1192 | { "New Agendasize: %1","Neue Agendagröße: %1" }, | 1192 | { "New Agendasize: %1","Neue Agendagröße: %1" }, |
1193 | { " (%1 y.)"," (%1 J.)" }, | 1193 | { " (%1 y.)"," (%1 J.)" }, |
1194 | { "Allday:","Ganztägig:" }, | 1194 | { "Allday:","Ganztägig:" }, |
1195 | { "compl.todos","erled.Todos" }, | 1195 | { "compl.todos","erled.Todos" }, |
1196 | { "Day view","Tagesansicht" }, | 1196 | { "Day view","Tagesansicht" }, |
1197 | { "Next days","Nächste Tage" }, | 1197 | { "Next days","Nächste Tage" }, |
1198 | { "Next week","Nächste Woche" }, | 1198 | { "Next week","Nächste Woche" }, |
1199 | { "Next two weeks","Nächste zwei Wochen" }, | 1199 | { "Next two weeks","Nächste zwei Wochen" }, |
1200 | { "Next month","Nächster Monat" }, | 1200 | { "Next month","Nächster Monat" }, |
1201 | { "Journal view","Journal" }, | 1201 | { "Journal view","Journal" }, |
1202 | { "Display all opened","Zeige alle geöffnet" }, | 1202 | { "Display all opened","Zeige alle geöffnet" }, |
1203 | { "Display all closed","Zeige alle geschlossen" }, | 1203 | { "Display all closed","Zeige alle geschlossen" }, |
1204 | { "Display all flat","Zeige alle flach" }, | 1204 | { "Display all flat","Zeige alle flach" }, |
1205 | { "<p><i>Completed on %1</i></p>","<p><i>Erledigt am %1</i></p>" }, | 1205 | { "<p><i>Completed on %1</i></p>","<p><i>Erledigt am %1</i></p>" }, |
1206 | { "Default todo done color:","Standard Todo erledigt Farbe" }, | 1206 | { "Default todo done color:","Standard Todo erledigt Farbe" }, |
1207 | { "Select week %1-%2","Wähle Woche %1-%2" }, | 1207 | { "Select week %1-%2","Wähle Woche %1-%2" }, |
1208 | { "Select Week","Wähle Woche" }, | 1208 | { "Select Week","Wähle Woche" }, |
1209 | { "Set alarm for selected...","Setze Alarm für Selekt..." }, | 1209 | { "Set alarm for selected...","Setze Alarm für Selekt..." }, |
1210 | { "Set Alarm!","Setze Alarm!" }, | 1210 | { "Set Alarm!","Setze Alarm!" }, |
1211 | { "Canged alarm for %1 items","Alarm für %1 Items geändert" }, | 1211 | { "Canged alarm for %1 items","Alarm für %1 Items geändert" }, |
1212 | { " and "," und " }, | 1212 | { " and "," und " }, |
1213 | { "<IMG src="%1"> only )","nur <IMG src="%1"> )" }, | 1213 | { "<IMG src="%1"> only )","nur <IMG src="%1"> )" }, |
1214 | { "Mail to selected","Mail an Ausgewählte" }, | 1214 | { "Mail to selected","Mail an Ausgewählte" }, |
1215 | { "Mail to all","Mail an Alle" }, | 1215 | { "Mail to all","Mail an Alle" }, |
1216 | { "Week view mode uses bigger font","Wochenansicht Modus nutzt größeren Font" }, | 1216 | { "Week view mode uses bigger font","Wochenansicht Modus nutzt größeren Font" }, |
1217 | { "Set reminder ON with offset to:","Alarm AN mit Offset auf:" }, | 1217 | { "Set reminder ON with offset to:","Alarm AN mit Offset auf:" }, |
1218 | { " on"," am" }, | 1218 | { " on"," am" }, |
1219 | { " completed on "," erledigt am " }, | 1219 | { " completed on "," erledigt am " }, |
1220 | { "Save as Event template","Speichere als Vorlage" }, | 1220 | { "Save as Event template","Speichere als Vorlage" }, |
1221 | { "Load Event template","Lade Termin Vorlage" }, | 1221 | { "Load Event template","Lade Termin Vorlage" }, |
1222 | { "Save as Journal template","Speichere als Journal Vorlage" }, | 1222 | { "Save as Journal template","Speichere als Journal Vorlage" }, |
1223 | { "Insert Journal template","Füge Journal Vorlage ein" }, | 1223 | { "Insert Journal template","Füge Journal Vorlage ein" }, |
1224 | { "Sub todos:<br>","Unter Todos:<br>" }, | 1224 | { "Sub todos:<br>","Unter Todos:<br>" }, |
1225 | { "Parent todo:<br>","Über Todo:<br>" }, | 1225 | { "Parent todo:<br>","Über Todo:<br>" }, |
1226 | { "Set current as color category","Setze Gewählte als Farbkategorie" }, | 1226 | { "Set current as color category","Setze Gewählte als Farbkategorie" }, |
1227 | { " completed"," erledigt" }, | 1227 | { " completed"," erledigt" }, |
1228 | { "(c)2004 Lutz Rogowski (rogowski@kde.org)\nKO/Pi is based on KOrganizer\n(c)2002,2003 Cornelius Schumacher\n(schumacher@kde.org) and the KDE team.\nKOrganizer/Pi is licensed under the GPL.\nKO/Pi can be compiled for\nLinux, Zaurus-PDA and Windows\nwww.pi-sync.info --- www.korganizer.org\nSpecial thanks to Michael and Ben\nfor intensive testing!","(c)2004 Lutz Rogowski (rogowski@kde.org)\nKO/Pi basiert auf KOrganizer\n(c)2002,2003 Cornelius Schumacher\n(schumacher@kde.org) und das KDE Team.\nKOrganizer/Pi ist lizensiert unter der GPL.\nKO/Pi kann kompiliert werden für\nLinux, Zaurus-PDA und Windows\nwww.pi-sync.info --- www.korganizer.org\nBesonderen Dank an Michael und Ben\nfür intensives Testen!" }, | 1228 | { "(c)2004 Lutz Rogowski (rogowski@kde.org)\nKO/Pi is based on KOrganizer\n(c)2002,2003 Cornelius Schumacher\n(schumacher@kde.org) and the KDE team.\nKOrganizer/Pi is licensed under the GPL.\nKO/Pi can be compiled for\nLinux, Zaurus-PDA and Windows\nwww.pi-sync.info --- www.korganizer.org\nSpecial thanks to Michael and Ben\nfor intensive testing!","(c)2004 Lutz Rogowski (rogowski@kde.org)\nKO/Pi basiert auf KOrganizer\n(c)2002,2003 Cornelius Schumacher\n(schumacher@kde.org) und das KDE Team.\nKOrganizer/Pi ist lizensiert unter der GPL.\nKO/Pi kann kompiliert werden für\nLinux, Zaurus-PDA und Windows\nwww.pi-sync.info --- www.korganizer.org\nBesonderen Dank an Michael und Ben\nfür intensives Testen!" }, |
1229 | { "Syncing aborted. Nothing synced.","Syncing abgebrochen.Nichts wurde gesynct." }, | 1229 | { "Syncing aborted. Nothing synced.","Syncing abgebrochen.Nichts wurde gesynct." }, |
1230 | { "Connected! Sending request for remote file ...","Verbunden! Sende Daten Anfrage..." }, | 1230 | { "Connected! Sending request for remote file ...","Verbunden! Sende Daten Anfrage..." }, |
1231 | { "Trying to connect to remote...","Versuche mit Gegenstelle zu verbinden..." }, | 1231 | { "Trying to connect to remote...","Versuche mit Gegenstelle zu verbinden..." }, |
1232 | { "Connection to remote\nhost timed out!\nDid you forgot to enable\nsyncing on remote host?","Verbindungsversuch wegen\nZeitüberschreitung gescheitert!\nWurde vergessen Pi-Sync auf\nder Gegenstelle anzuschalten?" }, | 1232 | { "Connection to remote\nhost timed out!\nDid you forgot to enable\nsyncing on remote host?","Verbindungsversuch wegen\nZeitüberschreitung gescheitert!\nWurde vergessen Pi-Sync auf\nder Gegenstelle anzuschalten?" }, |
1233 | { "ERROR: Receiving remote file failed.","FEHLER: Empfang der entfernten Daten fehlgeschlagen." }, | 1233 | { "ERROR: Receiving remote file failed.","FEHLER: Empfang der entfernten Daten fehlgeschlagen." }, |
1234 | { "Error","Fehler" }, | 1234 | { "Error","Fehler" }, |
1235 | { ""You entered an invalid date!\n Date changed to current date.","Ungültiges Datum eingegeben.\nSetze heutiges Datum." }, | 1235 | { ""You entered an invalid date!\n Date changed to current date.","Ungültiges Datum eingegeben.\nSetze heutiges Datum." }, |
1236 | { "You entered an invalid date!\n Will use current date instead.","Ungültiges Datum eingegeben.\nSetze stattdessen heutiges Datum." }, | 1236 | { "You entered an invalid date!\n Will use current date instead.","Ungültiges Datum eingegeben.\nSetze stattdessen heutiges Datum." }, |
1237 | { "Warning","Warnung" }, | 1237 | { "Warning","Warnung" }, |
1238 | { "Select week number","Wähle Wochen Nummer" }, | 1238 | { "Select week number","Wähle Wochen Nummer" }, |
1239 | { "Februar","Februar" }, | 1239 | { "Februar","Februar" }, |
1240 | { "Click on the week number to\nshow week zoomed","Klicke auf die Wochennummer\num die Woche groß zu zeigen" }, | 1240 | { "Click on the week number to\nshow week zoomed","Klicke auf die Wochennummer\num die Woche groß zu zeigen" }, |
1241 | { "W","W" }, | 1241 | { "W","W" }, |
1242 | { "Click on this to\nselect week number","Klicke hierauf um\ndie Woche auszuwählen" }, | 1242 | { "Click on this to\nselect week number","Klicke hierauf um\ndie Woche auszuwählen" }, |
1243 | { "T: %1","T: %1" }, | 1243 | { "T: %1","T: %1" }, |
1244 | { "Start: ","Start: " }, | 1244 | { "Start: ","Start: " }, |
1245 | { "Pi-Sync options for device: ","Pi-Sync Einstellungen für Gerät: " }, | 1245 | { "Pi-Sync options for device: ","Pi-Sync Einstellungen für Gerät: " }, |
1246 | { "Password for remote access:","Passwort für fernen Zugriff:" }, | 1246 | { "Password for remote access:","Passwort für fernen Zugriff:" }, |
1247 | { "Remote IP address:","Ferne IP Adresse:" }, | 1247 | { "Remote IP address:","Ferne IP Adresse:" }, |
1248 | { "Remote port number:","Ferne Port Nummer:" }, | 1248 | { "Remote port number:","Ferne Port Nummer:" }, |
1249 | { "Remote file saved to temp file.","Ferne Daten in temp Datei gespeichert." }, | 1249 | { "Remote file saved to temp file.","Ferne Daten in temp Datei gespeichert." }, |
1250 | { "Remote from: ","Fern von: " }, | 1250 | { "Remote from: ","Fern von: " }, |
1251 | { "Local from: ","Lokal von: " }, | 1251 | { "Local from: ","Lokal von: " }, |
1252 | { "Synchronization summary:\n\n %d items added to local\n %d items added to remote\n %d items updated on local\n %d items updated on remote\n %d items deleted on local\n %d items deleted on remote\n %d incoming filtered out\n %d outgoing filtered out\n","Synchronisationsübersicht:\n\n %d lokal hinzugefügt\n %d fern hinzugefügt\n %d lokal geändert\n %d fern geändert\n %d lokal gelöscht\n %d fern gelöscht\n %d eingehende ausgefiltert\n %d ausgehende ausgefiltert\n" }, | 1252 | { "Synchronization summary:\n\n %d items added to local\n %d items added to remote\n %d items updated on local\n %d items updated on remote\n %d items deleted on local\n %d items deleted on remote\n %d incoming filtered out\n %d outgoing filtered out\n","Synchronisationsübersicht:\n\n %d lokal hinzugefügt\n %d fern hinzugefügt\n %d lokal geändert\n %d fern geändert\n %d lokal gelöscht\n %d fern gelöscht\n %d eingehende ausgefiltert\n %d ausgehende ausgefiltert\n" }, |
1253 | { "Local calendar changed!\n","Lokaler Kalender geändert!\n" }, | 1253 | { "Local calendar changed!\n","Lokaler Kalender geändert!\n" }, |
1254 | { "Write back","Schreibe zurück" }, | 1254 | { "Write back","Schreibe zurück" }, |
1255 | { "KO/Pi Synchronization","KO/Pi Synchronisation" }, | 1255 | { "KO/Pi Synchronization","KO/Pi Synchronisation" }, |
1256 | { "Pi-Sync succesful!","Pi-Sync erfolgreich!" }, | 1256 | { "Pi-Sync succesful!","Pi-Sync erfolgreich!" }, |
1257 | { "Received sync request","Sync Anfrage erhalten" }, | 1257 | { "Received sync request","Sync Anfrage erhalten" }, |
1258 | { "Synchronizing from remote ...\n\nDo not use this application!\n\nIf syncing fails\nyou can close this dialog.","Ferne Synchronisation ...\n\nBenutze diese Anwendung nicht!\n\nWenn das Syncen fehlschlägt kann\ndieser Dialog geschlossen werden." }, | 1258 | { "Synchronizing from remote ...\n\nDo not use this application!\n\nIf syncing fails\nyou can close this dialog.","Ferne Synchronisation ...\n\nBenutze diese Anwendung nicht!\n\nWenn das Syncen fehlschlägt kann\ndieser Dialog geschlossen werden." }, |
1259 | { "Saving Data to temp file ...","Speichere Daten in temp Datei..." }, | 1259 | { "Saving Data to temp file ...","Speichere Daten in temp Datei..." }, |
1260 | { "Data saved to temp file!","Daten in temp Datei gespeichert!" }, | 1260 | { "Data saved to temp file!","Daten in temp Datei gespeichert!" }, |
1261 | { "Sending file...","Sende Datei..." }, | 1261 | { "Sending file...","Sende Datei..." }, |
1262 | { "Waiting for synced file...","Warte auf gesyncte Daten..." }, | 1262 | { "Waiting for synced file...","Warte auf gesyncte Daten..." }, |
1263 | { "Receiving synced file...","Gesyncte Daten erhalten..." }, | 1263 | { "Receiving synced file...","Gesyncte Daten erhalten..." }, |
1264 | { "Received %1 bytes","%1 Bytes erhalten" }, | 1264 | { "Received %1 bytes","%1 Bytes erhalten" }, |
1265 | { "Writing file to disk...","Speichere Datei..." }, | 1265 | { "Writing file to disk...","Speichere Datei..." }, |
1266 | { "Pi-Sync successful!","Pi-Sync erfolgreich!" }, | 1266 | { "Pi-Sync successful!","Pi-Sync erfolgreich!" }, |
1267 | { "Clock skew of\nsyncing devices\nis %1 seconds!","Uhrzeitunterschied der\nsyncenden Geräte\nist %1 Sekunden!" }, | 1267 | { "Clock skew of\nsyncing devices\nis %1 seconds!","Uhrzeitunterschied der\nsyncenden Geräte\nist %1 Sekunden!" }, |
1268 | { "Synchronize!","Synchronisiere!" }, | 1268 | { "Synchronize!","Synchronisiere!" }, |
1269 | { "High clock skew!","Großer Uhrzeitunterschied!" }, | 1269 | { "High clock skew!","Großer Uhrzeitunterschied!" }, |
1270 | { "ADJUST\nYOUR\nCLOCKS!","JUSTIERE\nDIE\nUHREN!" }, | 1270 | { "ADJUST\nYOUR\nCLOCKS!","JUSTIERE\nDIE\nUHREN!" }, |
1271 | { "The clocks of the syncing\ndevices have a difference\nof more than 5 minutes.\nPlease adjust your clocks.\nYou may get wrong syncing results!\nPlease confirm synchronization!","Die Uhren der syncenden Geräte\nhaben einen Unterschied von\nmehr als 5 Minuten. Bitte die\nUhrzeiten anpassen. Sie können\nfalsche Sync-Resultate erhalten!\nBitte das Syncen bestätigen!" }, | 1271 | { "The clocks of the syncing\ndevices have a difference\nof more than 5 minutes.\nPlease adjust your clocks.\nYou may get wrong syncing results!\nPlease confirm synchronization!","Die Uhren der syncenden Geräte\nhaben einen Unterschied von\nmehr als 5 Minuten. Bitte die\nUhrzeiten anpassen. Sie können\nfalsche Sync-Resultate erhalten!\nBitte das Syncen bestätigen!" }, |
1272 | { "This is a %1 recurring todo.","Das ist eine %1 wiederholende Aufgabe." }, | 1272 | { "This is a %1 recurring todo.","Das ist eine %1 wiederholende Aufgabe." }, |
1273 | { "<p><b>Start on:</b> %1</p>","<p><b>Start am:</b> %1</p>" }, | 1273 | { "<p><b>Start on:</b> %1</p>","<p><b>Start am:</b> %1</p>" }, |
1274 | { "List week view","Listenwochenansicht" }, | 1274 | { "List week view","Listenwochenansicht" }, |
1275 | { "List week","Listenwochenansicht" }, | 1275 | { "List week","Listenwochenansicht" }, |
1276 | { "Next Week","Nächste Woche" }, | 1276 | { "Next Week","Nächste Woche" }, |
1277 | { "Previous Week","Vorherige Woche" }, | 1277 | { "Previous Week","Vorherige Woche" }, |
1278 | { "No items were found matching\nyour search expression.\nUse the wildcard characters\n'*' and '?' where needed.","Keine Einträge gefunden die\ndem Suchausdruck entsprechen.\nBenutze Platzhalter Zeichen\n'*' und '?' wo benötigt." }, | 1278 | { "No items were found matching\nyour search expression.\nUse the wildcard characters\n'*' and '?' where needed.","Keine Einträge gefunden die\ndem Suchausdruck entsprechen.\nBenutze Platzhalter Zeichen\n'*' und '?' wo benötigt." }, |
1279 | { "Show in todo/event viewer:","Zeige in Termin/Todo Anzeige:" }, | 1279 | { "Show in todo/event viewer:","Zeige in Termin/Todo Anzeige:" }, |
1280 | { "Details","Details" }, | 1280 | { "Details","Details" }, |
1281 | { "Created time","Erstellt Zeit" }, | 1281 | { "Created time","Erstellt Zeit" }, |
1282 | { "Last modified time","Geändert Zeit" }, | 1282 | { "Last modified time","Geändert Zeit" }, |
1283 | { "Show in What'sThis quick overview:","Zeige in What'sThis Schnellübersicht:" }, | 1283 | { "Show in What'sThis quick overview:","Zeige in What'sThis Schnellübersicht:" }, |
1284 | { "View Options","Anzeige Optionen" }, | 1284 | { "View Options","Anzeige Optionen" }, |
1285 | { "<b>Created: ","<b>Erstellt am: " }, | 1285 | { "<b>Created: ","<b>Erstellt am: " }, |
1286 | { "<b>Last modified: ","<b>Zuletzt geändert am: " }, | 1286 | { "<b>Last modified: ","<b>Zuletzt geändert am: " }, |
1287 | { "Journal: ","Journal: " }, | 1287 | { "Journal: ","Journal: " }, |
1288 | { "yearly","jährlich" }, | 1288 | { "yearly","jährlich" }, |
1289 | { "(%1) ","%1-" }, | 1289 | { "(%1) ","%1-" }, |
1290 | { "<p><b>K</b>: Week view in Month view syle</p>\n","<p><b>K</b>: Wochenansicht in Art der Monatsansicht</p>\n" }, | 1290 | { "<p><b>K</b>: Week view in Month view syle</p>\n","<p><b>K</b>: Wochenansicht in Art der Monatsansicht</p>\n" }, |
1291 | { "Enable tooltips displaying summary of ev.","Titel-Tooltips anzeigen" }, | 1291 | { "Enable tooltips displaying summary of ev.","Titel-Tooltips anzeigen" }, |
1292 | { "Enable scrollbars in month view cells","Scrollbar in Zellen anzeigen" }, | 1292 | { "Enable scrollbars in month view cells","Scrollbar in Zellen anzeigen" }, |
1293 | { "Summary/Loc.","Titel/Ort" }, | 1293 | { "Summary/Loc.","Titel/Ort" }, |
1294 | { "No items found. Use '*' and '?' where needed.","Nichts gefunden. Benutze '*' and '?' wo benötigt." }, | 1294 | { "No items found. Use '*' and '?' where needed.","Nichts gefunden. Benutze '*' and '?' wo benötigt." }, |
1295 | { "Week Number","Wochennummer" }, | 1295 | { "Week Number","Wochennummer" }, |
1296 | { "Import","Importiere" }, | 1296 | { "Import","Importiere" }, |
1297 | { "Export","Exportiere" }, | 1297 | { "Export","Exportiere" }, |
1298 | { "Beam","Beame" }, | 1298 | { "Beam","Beame" }, |
1299 | { "Export selected","Exportiere Selektierte" }, | 1299 | { "Export selected","Exportiere Selektierte" }, |
1300 | { "As iCal (ics) file...","Als iCal (ics) Datei..." }, | 1300 | { "As iCal (ics) file...","Als iCal (ics) Datei..." }, |
1301 | { "As vCal (vcs) file...","Als vCal (vcs) Datei..." }, | 1301 | { "As vCal (vcs) file...","Als vCal (vcs) Datei..." }, |
1302 | { "Journal/Details...","Journale/Details..." }, | 1302 | { "Journal/Details...","Journale/Details..." }, |
1303 | { "Agenda View","Agenda Ansicht" }, | 1303 | { "Agenda View","Agenda Ansicht" }, |
1304 | { "Show current time","Zeige aktuelle Zeit" }, | 1304 | { "Show current time","Zeige aktuelle Zeit" }, |
1305 | { "Edit new item","Bearbeite neuen Eintrag" }, | 1305 | { "Edit new item","Bearbeite neuen Eintrag" }, |
1306 | { "Please select at least one\nof the types to search for:\n\nEvents\nTodos\nJournals","Bitte wählen Sie mindestens\neinen dieser Typen\num darin zu suchen:\n\nTermine\nTodos\nJournale" }, | 1306 | { "Please select at least one\nof the types to search for:\n\nEvents\nTodos\nJournals","Bitte wählen Sie mindestens\neinen dieser Typen\num darin zu suchen:\n\nTermine\nTodos\nJournale" }, |
1307 | { "There is no next alarm.","Es gibt keinen nächsten Alarm." }, | 1307 | { "There is no next alarm.","Es gibt keinen nächsten Alarm." }, |
1308 | { "%1 %2 - %3 (next event/todo with alarm)","%1 %2 - %3 (nächster Termin/Todo mit Alarm)" }, | 1308 | { "%1 %2 - %3 (next event/todo with alarm)","%1 %2 - %3 (nächster Termin/Todo mit Alarm)" }, |
1309 | { "The next alarm is in:\n","Der nächste Alarm ist in:\n" }, | 1309 | { "The next alarm is in:\n","Der nächste Alarm ist in:\n" }, |
1310 | { "%1 days\n","%1 Tagen\n" }, | 1310 | { "%1 days\n","%1 Tagen\n" }, |
1311 | { "1 day\n","1 Tag\n" }, | 1311 | { "1 day\n","1 Tag\n" }, |
1312 | { "%1 hours\n","%1 Stunden\n" }, | 1312 | { "%1 hours\n","%1 Stunden\n" }, |
1313 | { "1 hour\n","1 Stunde\n" }, | 1313 | { "1 hour\n","1 Stunde\n" }, |
1314 | { "%1 minutes\n","%1 Minuten\n" }, | 1314 | { "%1 minutes\n","%1 Minuten\n" }, |
1315 | { "1 minute\n","1 Minute\n" }, | 1315 | { "1 minute\n","1 Minute\n" }, |
1316 | { "","" }, | 1316 | { "Only one toolbar","Nur eine Toolbar" }, |
1317 | { "","" }, | 1317 | { "","" }, |
1318 | { "","" }, | 1318 | { "","" }, |
1319 | { "","" }, | 1319 | { "","" }, |
1320 | { "","" }, | 1320 | { "","" }, |
1321 | { "","" }, | 1321 | { "","" }, |
1322 | { "","" }, | 1322 | { "","" }, |
1323 | { "","" }, | 1323 | { "","" }, |
1324 | { "","" }, | 1324 | { "","" }, |
1325 | { "","" }, \ No newline at end of file | 1325 | { "","" }, \ No newline at end of file |
diff --git a/korganizer/koprefs.cpp b/korganizer/koprefs.cpp index 2168094..1e68a44 100644 --- a/korganizer/koprefs.cpp +++ b/korganizer/koprefs.cpp | |||
@@ -1,499 +1,500 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of KOrganizer. | 2 | This file is part of KOrganizer. |
3 | Copyright (c) 2001 Cornelius Schumacher <schumacher@kde.org> | 3 | Copyright (c) 2001 Cornelius Schumacher <schumacher@kde.org> |
4 | 4 | ||
5 | This program is free software; you can redistribute it and/or modify | 5 | This program is free software; you can redistribute it and/or modify |
6 | it under the terms of the GNU General Public License as published by | 6 | it under the terms of the GNU General Public License as published by |
7 | the Free Software Foundation; either version 2 of the License, or | 7 | the Free Software Foundation; either version 2 of the License, or |
8 | (at your option) any later version. | 8 | (at your option) any later version. |
9 | 9 | ||
10 | This program is distributed in the hope that it will be useful, | 10 | This program is distributed in the hope that it will be useful, |
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
13 | GNU General Public License for more details. | 13 | GNU General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU General Public License | 15 | You should have received a copy of the GNU General Public License |
16 | along with this program; if not, write to the Free Software | 16 | along with this program; if not, write to the Free Software |
17 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 17 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
18 | 18 | ||
19 | As a special exception, permission is given to link this program | 19 | As a special exception, permission is given to link this program |
20 | with any edition of Qt, and distribute the resulting executable, | 20 | with any edition of Qt, and distribute the resulting executable, |
21 | without including the source code for Qt in the source distribution. | 21 | without including the source code for Qt in the source distribution. |
22 | */ | 22 | */ |
23 | 23 | ||
24 | #include <time.h> | 24 | #include <time.h> |
25 | #ifndef _WIN32_ | 25 | #ifndef _WIN32_ |
26 | #include <unistd.h> | 26 | #include <unistd.h> |
27 | #endif | 27 | #endif |
28 | #include <qdir.h> | 28 | #include <qdir.h> |
29 | #include <qtextstream.h> | 29 | #include <qtextstream.h> |
30 | #include <qtextcodec.h> | 30 | #include <qtextcodec.h> |
31 | #include <qstring.h> | 31 | #include <qstring.h> |
32 | #include <qregexp.h> | 32 | #include <qregexp.h> |
33 | #include <qfont.h> | 33 | #include <qfont.h> |
34 | #include <qcolor.h> | 34 | #include <qcolor.h> |
35 | #include <qstringlist.h> | 35 | #include <qstringlist.h> |
36 | #include <stdlib.h> | 36 | #include <stdlib.h> |
37 | 37 | ||
38 | #include <kglobal.h> | 38 | #include <kglobal.h> |
39 | #include <kglobalsettings.h> | 39 | #include <kglobalsettings.h> |
40 | #include <kconfig.h> | 40 | #include <kconfig.h> |
41 | #include <klocale.h> | 41 | #include <klocale.h> |
42 | #include <kdebug.h> | 42 | #include <kdebug.h> |
43 | #include <kemailsettings.h> | 43 | #include <kemailsettings.h> |
44 | #include <kstaticdeleter.h> | 44 | #include <kstaticdeleter.h> |
45 | #include <libkdepim/kpimglobalprefs.h> | 45 | #include <libkdepim/kpimglobalprefs.h> |
46 | 46 | ||
47 | #include "koprefs.h" | 47 | #include "koprefs.h" |
48 | #include "mainwindow.h" | 48 | #include "mainwindow.h" |
49 | 49 | ||
50 | KOPrefs *KOPrefs::mInstance = 0; | 50 | KOPrefs *KOPrefs::mInstance = 0; |
51 | static KStaticDeleter<KOPrefs> insd; | 51 | static KStaticDeleter<KOPrefs> insd; |
52 | 52 | ||
53 | KOPrefs::KOPrefs() : | 53 | KOPrefs::KOPrefs() : |
54 | KPimPrefs("korganizerrc") | 54 | KPimPrefs("korganizerrc") |
55 | { | 55 | { |
56 | mCategoryColors.setAutoDelete(true); | 56 | mCategoryColors.setAutoDelete(true); |
57 | fillMailDefaults(); | 57 | fillMailDefaults(); |
58 | mDefaultCategoryColor = QColor(175,210,255);//196,196,196); | 58 | mDefaultCategoryColor = QColor(175,210,255);//196,196,196); |
59 | QColor defaultHolidayColor = QColor(255,0,0); | 59 | QColor defaultHolidayColor = QColor(255,0,0); |
60 | QColor defaultHighlightColor = QColor(129,112,255);//64,64,255); | 60 | QColor defaultHighlightColor = QColor(129,112,255);//64,64,255); |
61 | QColor defaultAgendaBgColor = QColor(239,241,169);//128,128,128); | 61 | QColor defaultAgendaBgColor = QColor(239,241,169);//128,128,128); |
62 | QColor defaultWorkingHoursColor = QColor(170,223,150);//160,160,160); | 62 | QColor defaultWorkingHoursColor = QColor(170,223,150);//160,160,160); |
63 | QColor defaultTodoDueTodayColor = QColor(255,220,100); | 63 | QColor defaultTodoDueTodayColor = QColor(255,220,100); |
64 | QColor defaultTodoOverdueColor = QColor(255,153,125); | 64 | QColor defaultTodoOverdueColor = QColor(255,153,125); |
65 | 65 | ||
66 | 66 | ||
67 | KPrefs::setCurrentGroup("General"); | 67 | KPrefs::setCurrentGroup("General"); |
68 | 68 | ||
69 | 69 | ||
70 | addItemBool("Enable Group Scheduling",&mEnableGroupScheduling,false); | 70 | addItemBool("Enable Group Scheduling",&mEnableGroupScheduling,false); |
71 | 71 | ||
72 | addItemBool("ShowIconNewTodo",&mShowIconNewTodo,true); | 72 | addItemBool("ShowIconNewTodo",&mShowIconNewTodo,true); |
73 | addItemBool("ShowIconNewEvent",&mShowIconNewEvent,true); | 73 | addItemBool("ShowIconNewEvent",&mShowIconNewEvent,true); |
74 | addItemBool("ShowIconSearch",&mShowIconSearch,true); | 74 | addItemBool("ShowIconSearch",&mShowIconSearch,true); |
75 | addItemBool("ShowIconList",&mShowIconList,true); | 75 | addItemBool("ShowIconList",&mShowIconList,true); |
76 | addItemBool("ShowIconDay1",&mShowIconDay1,true); | 76 | addItemBool("ShowIconDay1",&mShowIconDay1,true); |
77 | addItemBool("ShowIconDay5",&mShowIconDay5,true); | 77 | addItemBool("ShowIconDay5",&mShowIconDay5,true); |
78 | addItemBool("ShowIconDay6",&mShowIconDay6,true); | 78 | addItemBool("ShowIconDay6",&mShowIconDay6,true); |
79 | addItemBool("ShowIconDay7",&mShowIconDay7,true); | 79 | addItemBool("ShowIconDay7",&mShowIconDay7,true); |
80 | addItemBool("ShowIconMonth",&mShowIconMonth,true); | 80 | addItemBool("ShowIconMonth",&mShowIconMonth,true); |
81 | addItemBool("ShowIconTodoview",&mShowIconTodoview,true); | 81 | addItemBool("ShowIconTodoview",&mShowIconTodoview,true); |
82 | addItemBool("ShowIconBackFast",&mShowIconBackFast,true); | 82 | addItemBool("ShowIconBackFast",&mShowIconBackFast,true); |
83 | addItemBool("ShowIconBack",&mShowIconBack,true); | 83 | addItemBool("ShowIconBack",&mShowIconBack,true); |
84 | addItemBool("ShowIconToday",&mShowIconToday,true); | 84 | addItemBool("ShowIconToday",&mShowIconToday,true); |
85 | addItemBool("ShowIconForward",&mShowIconForward,true); | 85 | addItemBool("ShowIconForward",&mShowIconForward,true); |
86 | addItemBool("ShowIconForwardFast",&mShowIconForwardFast,true); | 86 | addItemBool("ShowIconForwardFast",&mShowIconForwardFast,true); |
87 | addItemBool("ShowIconWhatsThis",&mShowIconWhatsThis,true); | 87 | addItemBool("ShowIconWhatsThis",&mShowIconWhatsThis,true); |
88 | addItemBool("ShowIconWeekNum",&mShowIconWeekNum,true); | 88 | addItemBool("ShowIconWeekNum",&mShowIconWeekNum,true); |
89 | addItemBool("ShowIconNextDays",&mShowIconNextDays,true); | 89 | addItemBool("ShowIconNextDays",&mShowIconNextDays,true); |
90 | addItemBool("ShowIconNext",&mShowIconNext,true); | 90 | addItemBool("ShowIconNext",&mShowIconNext,true); |
91 | addItemBool("ShowIconJournal",&mShowIconJournal,true); | 91 | addItemBool("ShowIconJournal",&mShowIconJournal,true); |
92 | addItemBool("ShowIconStretch",&mShowIconStretch,true); | 92 | addItemBool("ShowIconStretch",&mShowIconStretch,true); |
93 | addItemBool("ShowIconFilter",&mShowIconFilter,false); | 93 | addItemBool("ShowIconFilter",&mShowIconFilter,false); |
94 | addItemBool("ShowIconOnetoolbar",&mShowIconOnetoolbar,true); | ||
94 | addItemInt("LastLoadedLanguage",&mOldLanguage,0); | 95 | addItemInt("LastLoadedLanguage",&mOldLanguage,0); |
95 | 96 | ||
96 | addItemBool("AskForQuit",&mAskForQuit,false); | 97 | addItemBool("AskForQuit",&mAskForQuit,false); |
97 | 98 | ||
98 | #ifndef DESKTOP_VERSION | 99 | #ifndef DESKTOP_VERSION |
99 | addItemBool("ShowFullMenu",&mShowFullMenu,false); | 100 | addItemBool("ShowFullMenu",&mShowFullMenu,false); |
100 | #else | 101 | #else |
101 | addItemBool("ShowFullMenu",&mShowFullMenu,true); | 102 | addItemBool("ShowFullMenu",&mShowFullMenu,true); |
102 | #endif | 103 | #endif |
103 | addItemBool("ToolBarHor",&mToolBarHor, true ); | 104 | addItemBool("ToolBarHor",&mToolBarHor, true ); |
104 | addItemBool("ToolBarUp",&mToolBarUp, false ); | 105 | addItemBool("ToolBarUp",&mToolBarUp, false ); |
105 | addItemBool("ToolBarHorV",&mToolBarHorV, true ); | 106 | addItemBool("ToolBarHorV",&mToolBarHorV, true ); |
106 | addItemBool("ToolBarUpV",&mToolBarUpV, false ); | 107 | addItemBool("ToolBarUpV",&mToolBarUpV, false ); |
107 | addItemBool("ToolBarHorN",&mToolBarHorN, true ); | 108 | addItemBool("ToolBarHorN",&mToolBarHorN, true ); |
108 | addItemBool("ToolBarUpN",&mToolBarUpN, false ); | 109 | addItemBool("ToolBarUpN",&mToolBarUpN, false ); |
109 | addItemBool("ToolBarHorF",&mToolBarHorF, true ); | 110 | addItemBool("ToolBarHorF",&mToolBarHorF, true ); |
110 | addItemBool("ToolBarUpF",&mToolBarUpF, false ); | 111 | addItemBool("ToolBarUpF",&mToolBarUpF, false ); |
111 | addItemBool("ToolBarMiniIcons",&mToolBarMiniIcons, false ); | 112 | addItemBool("ToolBarMiniIcons",&mToolBarMiniIcons, false ); |
112 | addItemInt("Whats Next Days",&mWhatsNextDays,3); | 113 | addItemInt("Whats Next Days",&mWhatsNextDays,3); |
113 | addItemInt("Whats Next Prios",&mWhatsNextPrios,1); | 114 | addItemInt("Whats Next Prios",&mWhatsNextPrios,1); |
114 | 115 | ||
115 | addItemBool("ShowTodoInAgenda",&mShowTodoInAgenda,true); | 116 | addItemBool("ShowTodoInAgenda",&mShowTodoInAgenda,true); |
116 | addItemBool("ShowTimeInAgenda",&mShowTimeInAgenda,true); | 117 | addItemBool("ShowTimeInAgenda",&mShowTimeInAgenda,true); |
117 | addItemBool("HideNonStartedTodos",&mHideNonStartedTodos,false); | 118 | addItemBool("HideNonStartedTodos",&mHideNonStartedTodos,false); |
118 | addItemBool("ShowCompletedTodo",&mShowCompletedTodo,true); | 119 | addItemBool("ShowCompletedTodo",&mShowCompletedTodo,true); |
119 | addItemInt("AllDay Size",&mAllDaySize,28); | 120 | addItemInt("AllDay Size",&mAllDaySize,28); |
120 | QString defAlarm = KGlobal::iconLoader()->iconPath()+"koalarm.wav"; | 121 | QString defAlarm = KGlobal::iconLoader()->iconPath()+"koalarm.wav"; |
121 | addItemString("DefaultAlarmFile",&mDefaultAlarmFile,defAlarm ); | 122 | addItemString("DefaultAlarmFile",&mDefaultAlarmFile,defAlarm ); |
122 | 123 | ||
123 | addItemStringList("LocationDefaults",&mLocationDefaults ); | 124 | addItemStringList("LocationDefaults",&mLocationDefaults ); |
124 | addItemStringList("EventSummary User",&mEventSummaryUser); | 125 | addItemStringList("EventSummary User",&mEventSummaryUser); |
125 | addItemStringList("TodoSummary User",&mTodoSummaryUser); | 126 | addItemStringList("TodoSummary User",&mTodoSummaryUser); |
126 | 127 | ||
127 | addItemBool("Enable Group Scheduling",&mEnableGroupScheduling,false); | 128 | addItemBool("Enable Group Scheduling",&mEnableGroupScheduling,false); |
128 | addItemBool("Enable Project View",&mEnableProjectView,false); | 129 | addItemBool("Enable Project View",&mEnableProjectView,false); |
129 | addItemBool("Auto Save",&mAutoSave,false); | 130 | addItemBool("Auto Save",&mAutoSave,false); |
130 | addItemInt("Auto Save Interval",&mAutoSaveInterval,3); | 131 | addItemInt("Auto Save Interval",&mAutoSaveInterval,3); |
131 | addItemBool("Confirm Deletes",&mConfirm,true); | 132 | addItemBool("Confirm Deletes",&mConfirm,true); |
132 | addItemString("Archive File",&mArchiveFile); | 133 | addItemString("Archive File",&mArchiveFile); |
133 | addItemString("Html Export File",&mHtmlExportFile, | 134 | addItemString("Html Export File",&mHtmlExportFile, |
134 | QDir::homeDirPath() + "/" + i18n("Default export file", "calendar.html")); | 135 | QDir::homeDirPath() + "/" + i18n("Default export file", "calendar.html")); |
135 | addItemBool("Html With Save",&mHtmlWithSave,false); | 136 | addItemBool("Html With Save",&mHtmlWithSave,false); |
136 | 137 | ||
137 | KPrefs::setCurrentGroup("Personal Settings"); | 138 | KPrefs::setCurrentGroup("Personal Settings"); |
138 | 139 | ||
139 | addItemInt("Mail Client",&mMailClient,MailClientKMail); | 140 | addItemInt("Mail Client",&mMailClient,MailClientKMail); |
140 | addItemBool("Use Control Center Email",&mEmailControlCenter,false); | 141 | addItemBool("Use Control Center Email",&mEmailControlCenter,false); |
141 | addItemBool("Bcc",&mBcc,false); | 142 | addItemBool("Bcc",&mBcc,false); |
142 | 143 | ||
143 | KPrefs::setCurrentGroup("Time & Date"); | 144 | KPrefs::setCurrentGroup("Time & Date"); |
144 | 145 | ||
145 | 146 | ||
146 | addItemInt("Default Start Time",&mStartTime,10); | 147 | addItemInt("Default Start Time",&mStartTime,10); |
147 | addItemInt("Default Duration",&mDefaultDuration,2); | 148 | addItemInt("Default Duration",&mDefaultDuration,2); |
148 | addItemInt("Default Alarm Time",&mAlarmTime,3); | 149 | addItemInt("Default Alarm Time",&mAlarmTime,3); |
149 | KPrefs::setCurrentGroup("AlarmSettings"); | 150 | KPrefs::setCurrentGroup("AlarmSettings"); |
150 | addItemInt("AlarmPlayBeeps",&mAlarmPlayBeeps,20); | 151 | addItemInt("AlarmPlayBeeps",&mAlarmPlayBeeps,20); |
151 | addItemInt("AlarmSuspendTime",&mAlarmSuspendTime,7); | 152 | addItemInt("AlarmSuspendTime",&mAlarmSuspendTime,7); |
152 | addItemInt("AlarmSuspendCount",&mAlarmSuspendCount,5); | 153 | addItemInt("AlarmSuspendCount",&mAlarmSuspendCount,5); |
153 | addItemInt("AlarmBeepInterval",&mAlarmBeepInterval,3); | 154 | addItemInt("AlarmBeepInterval",&mAlarmBeepInterval,3); |
154 | 155 | ||
155 | 156 | ||
156 | KPrefs::setCurrentGroup("Calendar"); | 157 | KPrefs::setCurrentGroup("Calendar"); |
157 | 158 | ||
158 | addItemInt("Default Calendar Format",&mDefaultFormat,FormatICalendar); | 159 | addItemInt("Default Calendar Format",&mDefaultFormat,FormatICalendar); |
159 | 160 | ||
160 | KPrefs::setCurrentGroup("Fonts"); | 161 | KPrefs::setCurrentGroup("Fonts"); |
161 | // qDebug(" KPrefs::setCurrentGroup(Fonts); "); | 162 | // qDebug(" KPrefs::setCurrentGroup(Fonts); "); |
162 | addItemFont("TimeBar Font",&mTimeBarFont,KGlobalSettings::generalFont() ); | 163 | addItemFont("TimeBar Font",&mTimeBarFont,KGlobalSettings::generalFont() ); |
163 | addItemFont("MonthView Font",&mMonthViewFont,KGlobalSettings::generalFont()); | 164 | addItemFont("MonthView Font",&mMonthViewFont,KGlobalSettings::generalFont()); |
164 | addItemFont("AgendaView Font",&mAgendaViewFont,KGlobalSettings::generalFont()); | 165 | addItemFont("AgendaView Font",&mAgendaViewFont,KGlobalSettings::generalFont()); |
165 | addItemFont("MarcusBains Font",&mMarcusBainsFont,KGlobalSettings::generalFont()); | 166 | addItemFont("MarcusBains Font",&mMarcusBainsFont,KGlobalSettings::generalFont()); |
166 | addItemFont("TimeLabels Font",&mTimeLabelsFont,KGlobalSettings::generalFont()); | 167 | addItemFont("TimeLabels Font",&mTimeLabelsFont,KGlobalSettings::generalFont()); |
167 | addItemFont("TodoView Font",&mTodoViewFont,KGlobalSettings::generalFont()); | 168 | addItemFont("TodoView Font",&mTodoViewFont,KGlobalSettings::generalFont()); |
168 | addItemFont("ListView Font",&mListViewFont,KGlobalSettings::generalFont()); | 169 | addItemFont("ListView Font",&mListViewFont,KGlobalSettings::generalFont()); |
169 | addItemFont("DateNavigator Font",&mDateNavigatorFont,KGlobalSettings::generalFont()); | 170 | addItemFont("DateNavigator Font",&mDateNavigatorFont,KGlobalSettings::generalFont()); |
170 | addItemFont("EditBox Font",&mEditBoxFont,KGlobalSettings::generalFont()); | 171 | addItemFont("EditBox Font",&mEditBoxFont,KGlobalSettings::generalFont()); |
171 | addItemFont("JournalView Font",&mJornalViewFont,KGlobalSettings::generalFont()); | 172 | addItemFont("JournalView Font",&mJornalViewFont,KGlobalSettings::generalFont()); |
172 | addItemFont("WhatsNextView Font",&mWhatsNextFont,KGlobalSettings::generalFont()); | 173 | addItemFont("WhatsNextView Font",&mWhatsNextFont,KGlobalSettings::generalFont()); |
173 | addItemFont("EventView Font",&mEventViewFont,KGlobalSettings::generalFont()); | 174 | addItemFont("EventView Font",&mEventViewFont,KGlobalSettings::generalFont()); |
174 | 175 | ||
175 | KPrefs::setCurrentGroup("RemoteSyncing"); | 176 | KPrefs::setCurrentGroup("RemoteSyncing"); |
176 | addItemString("ActiveSyncPort",&mActiveSyncPort,"9197" ); | 177 | addItemString("ActiveSyncPort",&mActiveSyncPort,"9197" ); |
177 | addItemString("ActiveSyncIP",&mActiveSyncIP,"192.168.0.40" ); | 178 | addItemString("ActiveSyncIP",&mActiveSyncIP,"192.168.0.40" ); |
178 | addItemBool("ShowSyncEvents",&mShowSyncEvents,false); | 179 | addItemBool("ShowSyncEvents",&mShowSyncEvents,false); |
179 | addItemInt("LastSyncTime",&mLastSyncTime,0); | 180 | addItemInt("LastSyncTime",&mLastSyncTime,0); |
180 | 181 | ||
181 | #ifdef _WIN32_ | 182 | #ifdef _WIN32_ |
182 | QString hdp= locateLocal("data","korganizer")+"\\\\"; | 183 | QString hdp= locateLocal("data","korganizer")+"\\\\"; |
183 | #else | 184 | #else |
184 | QString hdp= locateLocal("data","korganizer")+"/"; | 185 | QString hdp= locateLocal("data","korganizer")+"/"; |
185 | #endif | 186 | #endif |
186 | 187 | ||
187 | KPrefs::setCurrentGroup("LoadSaveFileNames"); | 188 | KPrefs::setCurrentGroup("LoadSaveFileNames"); |
188 | 189 | ||
189 | addItemString("LastImportFile", &mLastImportFile ,hdp +"import.ics" ); | 190 | addItemString("LastImportFile", &mLastImportFile ,hdp +"import.ics" ); |
190 | addItemString("LastVcalFile", &mLastVcalFile ,hdp +"export.vcs" ); | 191 | addItemString("LastVcalFile", &mLastVcalFile ,hdp +"export.vcs" ); |
191 | addItemString("LastSaveFile", &mLastSaveFile ,hdp +"mybackup.ics" ); | 192 | addItemString("LastSaveFile", &mLastSaveFile ,hdp +"mybackup.ics" ); |
192 | addItemString("LastLoadFile", &mLastLoadFile ,hdp +"mybackup.ics" ); | 193 | addItemString("LastLoadFile", &mLastLoadFile ,hdp +"mybackup.ics" ); |
193 | 194 | ||
194 | 195 | ||
195 | KPrefs::setCurrentGroup("Locale"); | 196 | KPrefs::setCurrentGroup("Locale"); |
196 | addItemBool("ShortDateInViewer",&mShortDateInViewer,false); | 197 | addItemBool("ShortDateInViewer",&mShortDateInViewer,false); |
197 | 198 | ||
198 | 199 | ||
199 | KPrefs::setCurrentGroup("Colors"); | 200 | KPrefs::setCurrentGroup("Colors"); |
200 | addItemColor("Holiday Color",&mHolidayColor,defaultHolidayColor); | 201 | addItemColor("Holiday Color",&mHolidayColor,defaultHolidayColor); |
201 | addItemColor("Highlight Color",&mHighlightColor,defaultHighlightColor); | 202 | addItemColor("Highlight Color",&mHighlightColor,defaultHighlightColor); |
202 | addItemColor("Event Color",&mEventColor,mDefaultCategoryColor); | 203 | addItemColor("Event Color",&mEventColor,mDefaultCategoryColor); |
203 | addItemColor("Todo done Color",&mTodoDoneColor,QColor(111,255,115) ); | 204 | addItemColor("Todo done Color",&mTodoDoneColor,QColor(111,255,115) ); |
204 | addItemColor("Agenda Background Color",&mAgendaBgColor,defaultAgendaBgColor); | 205 | addItemColor("Agenda Background Color",&mAgendaBgColor,defaultAgendaBgColor); |
205 | addItemColor("WorkingHours Color",&mWorkingHoursColor,defaultWorkingHoursColor); | 206 | addItemColor("WorkingHours Color",&mWorkingHoursColor,defaultWorkingHoursColor); |
206 | addItemColor("Todo due today Color",&mTodoDueTodayColor,defaultTodoDueTodayColor); | 207 | addItemColor("Todo due today Color",&mTodoDueTodayColor,defaultTodoDueTodayColor); |
207 | addItemColor("Todo overdue Color",&mTodoOverdueColor,defaultTodoOverdueColor); | 208 | addItemColor("Todo overdue Color",&mTodoOverdueColor,defaultTodoOverdueColor); |
208 | addItemColor("MonthViewEvenColor",&mMonthViewEvenColor,QColor( 160,160,255 )); | 209 | addItemColor("MonthViewEvenColor",&mMonthViewEvenColor,QColor( 160,160,255 )); |
209 | addItemColor("MonthViewOddColor",&mMonthViewOddColor,QColor( 160,255,160 )); | 210 | addItemColor("MonthViewOddColor",&mMonthViewOddColor,QColor( 160,255,160 )); |
210 | addItemColor("MonthViewHolidayColor",&mMonthViewHolidayColor,QColor( 255,160,160 )); | 211 | addItemColor("MonthViewHolidayColor",&mMonthViewHolidayColor,QColor( 255,160,160 )); |
211 | addItemBool("MonthViewUsesDayColors",&mMonthViewUsesDayColors,true); | 212 | addItemBool("MonthViewUsesDayColors",&mMonthViewUsesDayColors,true); |
212 | addItemBool("MonthViewSatSunTog",&mMonthViewSatSunTog,true); | 213 | addItemBool("MonthViewSatSunTog",&mMonthViewSatSunTog,true); |
213 | addItemBool("MonthViewWeek",&mMonthViewWeek,false); | 214 | addItemBool("MonthViewWeek",&mMonthViewWeek,false); |
214 | addItemBool("HightlightDateTimeEdit",&mHightlightDateTimeEdit,false); | 215 | addItemBool("HightlightDateTimeEdit",&mHightlightDateTimeEdit,false); |
215 | addItemColor("AppColor1",&mAppColor1,QColor( 130,170,255 )); | 216 | addItemColor("AppColor1",&mAppColor1,QColor( 130,170,255 )); |
216 | addItemColor("AppColor2",&mAppColor2,QColor( 174,216,255 )); | 217 | addItemColor("AppColor2",&mAppColor2,QColor( 174,216,255 )); |
217 | addItemBool("UseAppColors",&mUseAppColors,false); | 218 | addItemBool("UseAppColors",&mUseAppColors,false); |
218 | 219 | ||
219 | 220 | ||
220 | 221 | ||
221 | KPrefs::setCurrentGroup("Views"); | 222 | KPrefs::setCurrentGroup("Views"); |
222 | addItemBool("Show Date Navigator",&mShowDateNavigator,true); | 223 | addItemBool("Show Date Navigator",&mShowDateNavigator,true); |
223 | addItemInt("Hour Size",&mHourSize,8); | 224 | addItemInt("Hour Size",&mHourSize,8); |
224 | addItemBool("Show Daily Recurrences",&mDailyRecur,true); | 225 | addItemBool("Show Daily Recurrences",&mDailyRecur,true); |
225 | addItemBool("Show Weekly Recurrences",&mWeeklyRecur,true); | 226 | addItemBool("Show Weekly Recurrences",&mWeeklyRecur,true); |
226 | addItemBool("Show Month Daily Recurrences",&mMonthDailyRecur,true); | 227 | addItemBool("Show Month Daily Recurrences",&mMonthDailyRecur,true); |
227 | addItemBool("Show Month Weekly Recurrences",&mMonthWeeklyRecur,true); | 228 | addItemBool("Show Month Weekly Recurrences",&mMonthWeeklyRecur,true); |
228 | addItemBool("ShowShortMonthName",&mMonthShowShort,false); | 229 | addItemBool("ShowShortMonthName",&mMonthShowShort,false); |
229 | addItemBool("ShowIconsInMonthCell",&mMonthShowIcons,true); | 230 | addItemBool("ShowIconsInMonthCell",&mMonthShowIcons,true); |
230 | #ifdef DESKTOP_VERION | 231 | #ifdef DESKTOP_VERION |
231 | addItemBool("Enable ToolTips",&mEnableToolTips,true); | 232 | addItemBool("Enable ToolTips",&mEnableToolTips,true); |
232 | #else | 233 | #else |
233 | addItemBool("Enable ToolTips",&mEnableToolTips,false); | 234 | addItemBool("Enable ToolTips",&mEnableToolTips,false); |
234 | #endif | 235 | #endif |
235 | addItemBool("Enable MonthView ScrollBars",&mEnableMonthScroll,false); | 236 | addItemBool("Enable MonthView ScrollBars",&mEnableMonthScroll,false); |
236 | addItemBool("Marcus Bains shows seconds",&mMarcusBainsShowSeconds,false); | 237 | addItemBool("Marcus Bains shows seconds",&mMarcusBainsShowSeconds,false); |
237 | addItemBool("Show Marcus Bains",&mMarcusBainsEnabled,true); | 238 | addItemBool("Show Marcus Bains",&mMarcusBainsEnabled,true); |
238 | addItemBool("EditOnDoubleClick",&mEditOnDoubleClick,true); | 239 | addItemBool("EditOnDoubleClick",&mEditOnDoubleClick,true); |
239 | addItemBool("ViewChangeHoldFullscreen",&mViewChangeHoldFullscreen,true); | 240 | addItemBool("ViewChangeHoldFullscreen",&mViewChangeHoldFullscreen,true); |
240 | addItemBool("ViewChangeHoldNonFullscreen",&mViewChangeHoldNonFullscreen,false); | 241 | addItemBool("ViewChangeHoldNonFullscreen",&mViewChangeHoldNonFullscreen,false); |
241 | addItemBool("CenterOnCurrentTime",&mCenterOnCurrentTime,false); | 242 | addItemBool("CenterOnCurrentTime",&mCenterOnCurrentTime,false); |
242 | addItemBool("SetTimeToDayStartAt",&mSetTimeToDayStartAt,true); | 243 | addItemBool("SetTimeToDayStartAt",&mSetTimeToDayStartAt,true); |
243 | addItemBool("HighlightCurrentDay",&mHighlightCurrentDay,true); | 244 | addItemBool("HighlightCurrentDay",&mHighlightCurrentDay,true); |
244 | addItemBool("WNViewShowsParents",&mWNViewShowsParents,true);; | 245 | addItemBool("WNViewShowsParents",&mWNViewShowsParents,true);; |
245 | addItemBool("WNViewShowsPast",&mWNViewShowsPast,true); | 246 | addItemBool("WNViewShowsPast",&mWNViewShowsPast,true); |
246 | addItemBool("WNViewShowLocation",&mWNViewShowLocation,false); | 247 | addItemBool("WNViewShowLocation",&mWNViewShowLocation,false); |
247 | addItemBool("UseHighlightLightColor",&mUseHighlightLightColor,false); | 248 | addItemBool("UseHighlightLightColor",&mUseHighlightLightColor,false); |
248 | addItemBool("ListViewMonthTimespan",&mListViewMonthTimespan,true); | 249 | addItemBool("ListViewMonthTimespan",&mListViewMonthTimespan,true); |
249 | addItemBool("TodoViewUsesCatColors",&mTodoViewUsesCatColors,false); | 250 | addItemBool("TodoViewUsesCatColors",&mTodoViewUsesCatColors,false); |
250 | addItemBool("TodoViewShowsPercentage",&mTodoViewShowsPercentage,false); | 251 | addItemBool("TodoViewShowsPercentage",&mTodoViewShowsPercentage,false); |
251 | addItemBool("TodoViewUsesSmallFont",&mTodoViewUsesSmallFont,true); | 252 | addItemBool("TodoViewUsesSmallFont",&mTodoViewUsesSmallFont,true); |
252 | addItemBool("MonthViewUsesBigFont",&mMonthViewUsesBigFont,true); | 253 | addItemBool("MonthViewUsesBigFont",&mMonthViewUsesBigFont,true); |
253 | addItemBool("TodoViewUsesForegroundColor",&mTodoViewUsesForegroundColor,false); | 254 | addItemBool("TodoViewUsesForegroundColor",&mTodoViewUsesForegroundColor,false); |
254 | addItemBool("MonthViewUsesForegroundColor",&mMonthViewUsesForegroundColor,false); | 255 | addItemBool("MonthViewUsesForegroundColor",&mMonthViewUsesForegroundColor,false); |
255 | #ifdef DESKTOP_VERSION | 256 | #ifdef DESKTOP_VERSION |
256 | addItemBool("UseInternalAlarmNotification",&mUseInternalAlarmNotification,true); | 257 | addItemBool("UseInternalAlarmNotification",&mUseInternalAlarmNotification,true); |
257 | #else | 258 | #else |
258 | addItemBool("UseInternalAlarmNotification",&mUseInternalAlarmNotification,false); | 259 | addItemBool("UseInternalAlarmNotification",&mUseInternalAlarmNotification,false); |
259 | #endif | 260 | #endif |
260 | addItemInt("Day Begins",&mDayBegins,7); | 261 | addItemInt("Day Begins",&mDayBegins,7); |
261 | addItemInt("Working Hours Start",&mWorkingHoursStart,8); | 262 | addItemInt("Working Hours Start",&mWorkingHoursStart,8); |
262 | addItemInt("Working Hours End",&mWorkingHoursEnd,17); | 263 | addItemInt("Working Hours End",&mWorkingHoursEnd,17); |
263 | addItemBool("Exclude Holidays",&mExcludeHolidays,true); | 264 | addItemBool("Exclude Holidays",&mExcludeHolidays,true); |
264 | addItemBool("Exclude Saturdays",&mExcludeSaturdays,true); | 265 | addItemBool("Exclude Saturdays",&mExcludeSaturdays,true); |
265 | 266 | ||
266 | addItemBool("Month View Uses Category Color",&mMonthViewUsesCategoryColor,false); | 267 | addItemBool("Month View Uses Category Color",&mMonthViewUsesCategoryColor,false); |
267 | addItemBool("Full View Month",&mFullViewMonth,true); | 268 | addItemBool("Full View Month",&mFullViewMonth,true); |
268 | addItemBool("Full View Todo",&mFullViewTodo,true); | 269 | addItemBool("Full View Todo",&mFullViewTodo,true); |
269 | addItemBool("Quick Todo",&mEnableQuickTodo,false); | 270 | addItemBool("Quick Todo",&mEnableQuickTodo,false); |
270 | 271 | ||
271 | addItemInt("Next X Days",&mNextXDays,3); | 272 | addItemInt("Next X Days",&mNextXDays,3); |
272 | 273 | ||
273 | KPrefs::setCurrentGroup("Printer"); | 274 | KPrefs::setCurrentGroup("Printer"); |
274 | 275 | ||
275 | KPrefs::setCurrentGroup("Layout"); | 276 | KPrefs::setCurrentGroup("Layout"); |
276 | 277 | ||
277 | addItemBool("CompactDialogs",&mCompactDialogs,false); | 278 | addItemBool("CompactDialogs",&mCompactDialogs,false); |
278 | addItemBool("VerticalScreen",&mVerticalScreen,true); | 279 | addItemBool("VerticalScreen",&mVerticalScreen,true); |
279 | 280 | ||
280 | KPrefs::setCurrentGroup("KOrganizer Plugins"); | 281 | KPrefs::setCurrentGroup("KOrganizer Plugins"); |
281 | 282 | ||
282 | addItemStringList("SelectedPlugins",&mSelectedPlugins,"holidays"); | 283 | addItemStringList("SelectedPlugins",&mSelectedPlugins,"holidays"); |
283 | 284 | ||
284 | KPrefs::setCurrentGroup("Group Scheduling"); | 285 | KPrefs::setCurrentGroup("Group Scheduling"); |
285 | 286 | ||
286 | addItemInt("IMIPScheduler",&mIMIPScheduler,IMIPKMail); | 287 | addItemInt("IMIPScheduler",&mIMIPScheduler,IMIPKMail); |
287 | addItemInt("IMIPSend",&mIMIPSend,IMIPdirectsend); | 288 | addItemInt("IMIPSend",&mIMIPSend,IMIPdirectsend); |
288 | addItemStringList("AdditionalMails",&mAdditionalMails,""); | 289 | addItemStringList("AdditionalMails",&mAdditionalMails,""); |
289 | addItemInt("IMIP auto refresh",&mIMIPAutoRefresh,neverAuto); | 290 | addItemInt("IMIP auto refresh",&mIMIPAutoRefresh,neverAuto); |
290 | addItemInt("IMIP auto insert request",&mIMIPAutoInsertRequest,neverAuto); | 291 | addItemInt("IMIP auto insert request",&mIMIPAutoInsertRequest,neverAuto); |
291 | addItemInt("IMIP auto insert reply",&mIMIPAutoInsertReply,neverAuto); | 292 | addItemInt("IMIP auto insert reply",&mIMIPAutoInsertReply,neverAuto); |
292 | addItemInt("IMIP auto FreeBusy",&mIMIPAutoFreeBusy,neverAuto); | 293 | addItemInt("IMIP auto FreeBusy",&mIMIPAutoFreeBusy,neverAuto); |
293 | addItemInt("IMIP auto save FreeBusy",&mIMIPAutoFreeBusyReply,neverAuto); | 294 | addItemInt("IMIP auto save FreeBusy",&mIMIPAutoFreeBusyReply,neverAuto); |
294 | 295 | ||
295 | KPrefs::setCurrentGroup( "Editors" ); | 296 | KPrefs::setCurrentGroup( "Editors" ); |
296 | 297 | ||
297 | addItemStringList( "EventTemplates", &mEventTemplates ); | 298 | addItemStringList( "EventTemplates", &mEventTemplates ); |
298 | addItemStringList( "TodoTemplates", &mTodoTemplates ); | 299 | addItemStringList( "TodoTemplates", &mTodoTemplates ); |
299 | 300 | ||
300 | addItemInt("DestinationPolicy",&mDestination,standardDestination); | 301 | addItemInt("DestinationPolicy",&mDestination,standardDestination); |
301 | 302 | ||
302 | KPrefs::setCurrentGroup( "ViewOptions" ); | 303 | KPrefs::setCurrentGroup( "ViewOptions" ); |
303 | addItemBool("EVshowDetails",&mEVshowDetails,true); | 304 | addItemBool("EVshowDetails",&mEVshowDetails,true); |
304 | addItemBool("EVshowCreated",&mEVshowCreated,true); | 305 | addItemBool("EVshowCreated",&mEVshowCreated,true); |
305 | addItemBool("EVshowChanged",&mEVshowChanged,true); | 306 | addItemBool("EVshowChanged",&mEVshowChanged,true); |
306 | addItemBool("WTshowDetails",&mWTshowDetails,false); | 307 | addItemBool("WTshowDetails",&mWTshowDetails,false); |
307 | addItemBool("WTshowCreated",&mWTshowCreated,false); | 308 | addItemBool("WTshowCreated",&mWTshowCreated,false); |
308 | addItemBool("WTshowChanged",&mWTshowChanged,false); | 309 | addItemBool("WTshowChanged",&mWTshowChanged,false); |
309 | 310 | ||
310 | } | 311 | } |
311 | 312 | ||
312 | 313 | ||
313 | KOPrefs::~KOPrefs() | 314 | KOPrefs::~KOPrefs() |
314 | { | 315 | { |
315 | if (mInstance == this) | 316 | if (mInstance == this) |
316 | mInstance = insd.setObject(0); | 317 | mInstance = insd.setObject(0); |
317 | 318 | ||
318 | //qDebug("KOPrefs::~KOPrefs() "); | 319 | //qDebug("KOPrefs::~KOPrefs() "); |
319 | } | 320 | } |
320 | 321 | ||
321 | 322 | ||
322 | KOPrefs *KOPrefs::instance() | 323 | KOPrefs *KOPrefs::instance() |
323 | { | 324 | { |
324 | if (!mInstance) { | 325 | if (!mInstance) { |
325 | mInstance = insd.setObject(new KOPrefs()); | 326 | mInstance = insd.setObject(new KOPrefs()); |
326 | mInstance->readConfig(); | 327 | mInstance->readConfig(); |
327 | } | 328 | } |
328 | 329 | ||
329 | return mInstance; | 330 | return mInstance; |
330 | } | 331 | } |
331 | 332 | ||
332 | void KOPrefs::usrSetDefaults() | 333 | void KOPrefs::usrSetDefaults() |
333 | { | 334 | { |
334 | 335 | ||
335 | } | 336 | } |
336 | 337 | ||
337 | void KOPrefs::fillMailDefaults() | 338 | void KOPrefs::fillMailDefaults() |
338 | { | 339 | { |
339 | if (mName.isEmpty()) mName = i18n("Anonymous"); | 340 | if (mName.isEmpty()) mName = i18n("Anonymous"); |
340 | if (mEmail.isEmpty()) mEmail = i18n("nobody@nowhere"); | 341 | if (mEmail.isEmpty()) mEmail = i18n("nobody@nowhere"); |
341 | } | 342 | } |
342 | 343 | ||
343 | void KOPrefs::setTimeZoneIdDefault() | 344 | void KOPrefs::setTimeZoneIdDefault() |
344 | { | 345 | { |
345 | ; | 346 | ; |
346 | } | 347 | } |
347 | 348 | ||
348 | void KOPrefs::setAllDefaults() | 349 | void KOPrefs::setAllDefaults() |
349 | { | 350 | { |
350 | setCategoryDefaults(); | 351 | setCategoryDefaults(); |
351 | mEventSummaryUser = getDefaultList() ; | 352 | mEventSummaryUser = getDefaultList() ; |
352 | mTodoSummaryUser = getDefaultList() ; | 353 | mTodoSummaryUser = getDefaultList() ; |
353 | mLocationDefaults = getLocationDefaultList(); | 354 | mLocationDefaults = getLocationDefaultList(); |
354 | } | 355 | } |
355 | 356 | ||
356 | void KOPrefs::setCategoryDefaults() | 357 | void KOPrefs::setCategoryDefaults() |
357 | { | 358 | { |
358 | mCustomCategories.clear(); | 359 | mCustomCategories.clear(); |
359 | mCustomCategories = getDefaultList(); | 360 | mCustomCategories = getDefaultList(); |
360 | 361 | ||
361 | QStringList::Iterator it; | 362 | QStringList::Iterator it; |
362 | for (it = mCustomCategories.begin();it != mCustomCategories.end();++it ) { | 363 | for (it = mCustomCategories.begin();it != mCustomCategories.end();++it ) { |
363 | setCategoryColor(*it,mDefaultCategoryColor); | 364 | setCategoryColor(*it,mDefaultCategoryColor); |
364 | } | 365 | } |
365 | } | 366 | } |
366 | QStringList KOPrefs::getLocationDefaultList() | 367 | QStringList KOPrefs::getLocationDefaultList() |
367 | { | 368 | { |
368 | QStringList retval ; | 369 | QStringList retval ; |
369 | retval << i18n("Home") << i18n("Office") << i18n("Library") << i18n("School") << i18n("Doctor") << i18n("Beach") | 370 | retval << i18n("Home") << i18n("Office") << i18n("Library") << i18n("School") << i18n("Doctor") << i18n("Beach") |
370 | << i18n("University") << i18n("Restaurant") << i18n("Bar") << i18n("Conference room") | 371 | << i18n("University") << i18n("Restaurant") << i18n("Bar") << i18n("Conference room") |
371 | << i18n("Cinema") << i18n("Lake") << i18n("Kindergarten") | 372 | << i18n("Cinema") << i18n("Lake") << i18n("Kindergarten") |
372 | << i18n("Germany") << i18n("Sweden") << i18n("Forest") << i18n("Desert") << i18n("Kitchen") ; | 373 | << i18n("Germany") << i18n("Sweden") << i18n("Forest") << i18n("Desert") << i18n("Kitchen") ; |
373 | // << i18n("") << i18n("") << i18n("") << i18n("") << i18n("") << i18n("") << i18n("") << i18n("") | 374 | // << i18n("") << i18n("") << i18n("") << i18n("") << i18n("") << i18n("") << i18n("") << i18n("") |
374 | 375 | ||
375 | retval.sort(); | 376 | retval.sort(); |
376 | return retval; | 377 | return retval; |
377 | } | 378 | } |
378 | QStringList KOPrefs::getDefaultList() | 379 | QStringList KOPrefs::getDefaultList() |
379 | { | 380 | { |
380 | QStringList retval ; | 381 | QStringList retval ; |
381 | retval << i18n("Anniversary") << i18n("Appointment") << i18n("Birthday") << i18n("Business") << i18n("Business Travel") << i18n("Cinema") << i18n("Customer") | 382 | retval << i18n("Anniversary") << i18n("Appointment") << i18n("Birthday") << i18n("Business") << i18n("Business Travel") << i18n("Cinema") << i18n("Customer") |
382 | << i18n("Break")<< i18n("Breakfast")<< i18n("Competition")<< i18n("Dinner") | 383 | << i18n("Break")<< i18n("Breakfast")<< i18n("Competition")<< i18n("Dinner") |
383 | << i18n("Education")<< i18n("Family") << i18n("Favorites") << i18n("Festival")<< i18n("Fishing")<< i18n("Flight") << i18n("Gifts") | 384 | << i18n("Education")<< i18n("Family") << i18n("Favorites") << i18n("Festival")<< i18n("Fishing")<< i18n("Flight") << i18n("Gifts") |
384 | << i18n("Holiday") << i18n("Holiday Cards")<< i18n("Hot Contacts") << i18n("Hiking") << i18n("Hunting") << i18n("Key Customer") << i18n("Kids") | 385 | << i18n("Holiday") << i18n("Holiday Cards")<< i18n("Hot Contacts") << i18n("Hiking") << i18n("Hunting") << i18n("Key Customer") << i18n("Kids") |
385 | << i18n("Lunch") << i18n("Meeting") << i18n("Miscellaneous") << i18n("Partner")<< i18n("Party") << i18n("Personal") << i18n("Personal Travel") | 386 | << i18n("Lunch") << i18n("Meeting") << i18n("Miscellaneous") << i18n("Partner")<< i18n("Party") << i18n("Personal") << i18n("Personal Travel") |
386 | << i18n("PHB") << i18n("Phone Calls") << i18n("Projects") << i18n("Recurring") << i18n("School") << i18n("Shopping") | 387 | << i18n("PHB") << i18n("Phone Calls") << i18n("Projects") << i18n("Recurring") << i18n("School") << i18n("Shopping") |
387 | << i18n("Speach") << i18n("Special Occasion") << i18n("Sports") << i18n("Talk") << i18n("Travel") << i18n("TV")<< i18n("University") | 388 | << i18n("Speach") << i18n("Special Occasion") << i18n("Sports") << i18n("Talk") << i18n("Travel") << i18n("TV")<< i18n("University") |
388 | << i18n("Vacation") << i18n("VIP") << i18n("SyncEvent") ; | 389 | << i18n("Vacation") << i18n("VIP") << i18n("SyncEvent") ; |
389 | retval.sort(); | 390 | retval.sort(); |
390 | //qDebug("cat %s ", retval.join("-").latin1()); | 391 | //qDebug("cat %s ", retval.join("-").latin1()); |
391 | return retval; | 392 | return retval; |
392 | } | 393 | } |
393 | 394 | ||
394 | void KOPrefs::usrReadConfig() | 395 | void KOPrefs::usrReadConfig() |
395 | { | 396 | { |
396 | config()->setGroup("General"); | 397 | config()->setGroup("General"); |
397 | 398 | ||
398 | //qDebug("KOPrefs::usrReadConfig() "); | 399 | //qDebug("KOPrefs::usrReadConfig() "); |
399 | mCustomCategories = config()->readListEntry("Custom Categories"); | 400 | mCustomCategories = config()->readListEntry("Custom Categories"); |
400 | mOldLoadedLanguage = mOldLanguage ; | 401 | mOldLoadedLanguage = mOldLanguage ; |
401 | mOldLanguage = KPimGlobalPrefs::instance()->mPreferredLanguage; | 402 | mOldLanguage = KPimGlobalPrefs::instance()->mPreferredLanguage; |
402 | if (mLocationDefaults.isEmpty()) { | 403 | if (mLocationDefaults.isEmpty()) { |
403 | mLocationDefaults = getLocationDefaultList(); | 404 | mLocationDefaults = getLocationDefaultList(); |
404 | } | 405 | } |
405 | 406 | ||
406 | if (mEventSummaryUser.isEmpty()) { | 407 | if (mEventSummaryUser.isEmpty()) { |
407 | mEventSummaryUser = getDefaultList() ; | 408 | mEventSummaryUser = getDefaultList() ; |
408 | } | 409 | } |
409 | if (mTodoSummaryUser.isEmpty()) { | 410 | if (mTodoSummaryUser.isEmpty()) { |
410 | mTodoSummaryUser = getDefaultList() ; | 411 | mTodoSummaryUser = getDefaultList() ; |
411 | } | 412 | } |
412 | 413 | ||
413 | if (mCustomCategories.isEmpty()) setCategoryDefaults(); | 414 | if (mCustomCategories.isEmpty()) setCategoryDefaults(); |
414 | 415 | ||
415 | config()->setGroup("Personal Settings"); | 416 | config()->setGroup("Personal Settings"); |
416 | mName = config()->readEntry("user_name",""); | 417 | mName = config()->readEntry("user_name",""); |
417 | mEmail = config()->readEntry("user_email",""); | 418 | mEmail = config()->readEntry("user_email",""); |
418 | fillMailDefaults(); | 419 | fillMailDefaults(); |
419 | 420 | ||
420 | config()->setGroup("Category Colors"); | 421 | config()->setGroup("Category Colors"); |
421 | QStringList::Iterator it; | 422 | QStringList::Iterator it; |
422 | for (it = mCustomCategories.begin();it != mCustomCategories.end();++it ) { | 423 | for (it = mCustomCategories.begin();it != mCustomCategories.end();++it ) { |
423 | setCategoryColor(*it,config()->readColorEntry(*it,&mDefaultCategoryColor)); | 424 | setCategoryColor(*it,config()->readColorEntry(*it,&mDefaultCategoryColor)); |
424 | 425 | ||
425 | } | 426 | } |
426 | 427 | ||
427 | KPimPrefs::usrReadConfig(); | 428 | KPimPrefs::usrReadConfig(); |
428 | } | 429 | } |
429 | 430 | ||
430 | 431 | ||
431 | void KOPrefs::usrWriteConfig() | 432 | void KOPrefs::usrWriteConfig() |
432 | { | 433 | { |
433 | config()->setGroup("General"); | 434 | config()->setGroup("General"); |
434 | config()->writeEntry("Custom Categories",mCustomCategories); | 435 | config()->writeEntry("Custom Categories",mCustomCategories); |
435 | 436 | ||
436 | config()->setGroup("Personal Settings"); | 437 | config()->setGroup("Personal Settings"); |
437 | config()->writeEntry("user_name",mName); | 438 | config()->writeEntry("user_name",mName); |
438 | config()->writeEntry("user_email",mEmail); | 439 | config()->writeEntry("user_email",mEmail); |
439 | 440 | ||
440 | config()->setGroup("Category Colors"); | 441 | config()->setGroup("Category Colors"); |
441 | QDictIterator<QColor> it(mCategoryColors); | 442 | QDictIterator<QColor> it(mCategoryColors); |
442 | while (it.current()) { | 443 | while (it.current()) { |
443 | config()->writeEntry(it.currentKey(),*(it.current())); | 444 | config()->writeEntry(it.currentKey(),*(it.current())); |
444 | ++it; | 445 | ++it; |
445 | } | 446 | } |
446 | 447 | ||
447 | 448 | ||
448 | KPimPrefs::usrWriteConfig(); | 449 | KPimPrefs::usrWriteConfig(); |
449 | } | 450 | } |
450 | 451 | ||
451 | void KOPrefs::setCategoryColor(QString cat,const QColor & color) | 452 | void KOPrefs::setCategoryColor(QString cat,const QColor & color) |
452 | { | 453 | { |
453 | mCategoryColors.replace(cat,new QColor(color)); | 454 | mCategoryColors.replace(cat,new QColor(color)); |
454 | } | 455 | } |
455 | 456 | ||
456 | QColor *KOPrefs::categoryColor(QString cat) | 457 | QColor *KOPrefs::categoryColor(QString cat) |
457 | { | 458 | { |
458 | QColor *color = 0; | 459 | QColor *color = 0; |
459 | 460 | ||
460 | if (!cat.isEmpty()) color = mCategoryColors[cat]; | 461 | if (!cat.isEmpty()) color = mCategoryColors[cat]; |
461 | 462 | ||
462 | if (color) return color; | 463 | if (color) return color; |
463 | else return &mDefaultCategoryColor; | 464 | else return &mDefaultCategoryColor; |
464 | } | 465 | } |
465 | 466 | ||
466 | void KOPrefs::setFullName(const QString &name) | 467 | void KOPrefs::setFullName(const QString &name) |
467 | { | 468 | { |
468 | mName = name; | 469 | mName = name; |
469 | } | 470 | } |
470 | 471 | ||
471 | void KOPrefs::setEmail(const QString &email) | 472 | void KOPrefs::setEmail(const QString &email) |
472 | { | 473 | { |
473 | //qDebug(" KOPrefs::setEmai*********** %s",email.latin1() ); | 474 | //qDebug(" KOPrefs::setEmai*********** %s",email.latin1() ); |
474 | mEmail = email; | 475 | mEmail = email; |
475 | } | 476 | } |
476 | 477 | ||
477 | QString KOPrefs::fullName() | 478 | QString KOPrefs::fullName() |
478 | { | 479 | { |
479 | if (mEmailControlCenter) { | 480 | if (mEmailControlCenter) { |
480 | KEMailSettings settings; | 481 | KEMailSettings settings; |
481 | return settings.getSetting(KEMailSettings::RealName); | 482 | return settings.getSetting(KEMailSettings::RealName); |
482 | } else { | 483 | } else { |
483 | return mName; | 484 | return mName; |
484 | } | 485 | } |
485 | } | 486 | } |
486 | 487 | ||
487 | QString KOPrefs::email() | 488 | QString KOPrefs::email() |
488 | { | 489 | { |
489 | if (mEmailControlCenter) { | 490 | if (mEmailControlCenter) { |
490 | KEMailSettings settings; | 491 | KEMailSettings settings; |
491 | return settings.getSetting(KEMailSettings::EmailAddress); | 492 | return settings.getSetting(KEMailSettings::EmailAddress); |
492 | } else { | 493 | } else { |
493 | return mEmail; | 494 | return mEmail; |
494 | } | 495 | } |
495 | } | 496 | } |
496 | KConfig* KOPrefs::getConfig() | 497 | KConfig* KOPrefs::getConfig() |
497 | { | 498 | { |
498 | return config(); | 499 | return config(); |
499 | } | 500 | } |
diff --git a/korganizer/koprefs.h b/korganizer/koprefs.h index 8dfdf69..fbce6ea 100644 --- a/korganizer/koprefs.h +++ b/korganizer/koprefs.h | |||
@@ -1,300 +1,301 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of KOrganizer. | 2 | This file is part of KOrganizer. |
3 | Copyright (c) 2000,2001 Cornelius Schumacher <schumacher@kde.org> | 3 | Copyright (c) 2000,2001 Cornelius Schumacher <schumacher@kde.org> |
4 | 4 | ||
5 | This program is free software; you can redistribute it and/or modify | 5 | This program is free software; you can redistribute it and/or modify |
6 | it under the terms of the GNU General Public License as published by | 6 | it under the terms of the GNU General Public License as published by |
7 | the Free Software Foundation; either version 2 of the License, or | 7 | the Free Software Foundation; either version 2 of the License, or |
8 | (at your option) any later version. | 8 | (at your option) any later version. |
9 | 9 | ||
10 | This program is distributed in the hope that it will be useful, | 10 | This program is distributed in the hope that it will be useful, |
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
13 | GNU General Public License for more details. | 13 | GNU General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU General Public License | 15 | You should have received a copy of the GNU General Public License |
16 | along with this program; if not, write to the Free Software | 16 | along with this program; if not, write to the Free Software |
17 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 17 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
18 | 18 | ||
19 | As a special exception, permission is given to link this program | 19 | As a special exception, permission is given to link this program |
20 | with any edition of Qt, and distribute the resulting executable, | 20 | with any edition of Qt, and distribute the resulting executable, |
21 | without including the source code for Qt in the source distribution. | 21 | without including the source code for Qt in the source distribution. |
22 | */ | 22 | */ |
23 | #ifndef KOPREFS_H | 23 | #ifndef KOPREFS_H |
24 | #define KOPREFS_H | 24 | #define KOPREFS_H |
25 | 25 | ||
26 | 26 | ||
27 | #include <libkdepim/kpimprefs.h> | 27 | #include <libkdepim/kpimprefs.h> |
28 | #include <qdict.h> | 28 | #include <qdict.h> |
29 | 29 | ||
30 | class KConfig; | 30 | class KConfig; |
31 | class QFont; | 31 | class QFont; |
32 | class QColor; | 32 | class QColor; |
33 | class QStringList; | 33 | class QStringList; |
34 | 34 | ||
35 | class KOPrefs : public KPimPrefs | 35 | class KOPrefs : public KPimPrefs |
36 | { | 36 | { |
37 | public: | 37 | public: |
38 | enum { FormatVCalendar, FormatICalendar }; | 38 | enum { FormatVCalendar, FormatICalendar }; |
39 | enum { MailClientKMail, MailClientSendmail }; | 39 | enum { MailClientKMail, MailClientSendmail }; |
40 | enum { IMIPDummy, IMIPKMail }; | 40 | enum { IMIPDummy, IMIPKMail }; |
41 | enum { IMIPOutbox, IMIPdirectsend }; | 41 | enum { IMIPOutbox, IMIPdirectsend }; |
42 | enum { neverAuto, addressbookAuto, selectedAuto }; | 42 | enum { neverAuto, addressbookAuto, selectedAuto }; |
43 | enum { standardDestination, askDestination }; | 43 | enum { standardDestination, askDestination }; |
44 | 44 | ||
45 | virtual ~KOPrefs(); | 45 | virtual ~KOPrefs(); |
46 | 46 | ||
47 | /** Get instance of KOPrefs. It is made sure that there is only one | 47 | /** Get instance of KOPrefs. It is made sure that there is only one |
48 | instance. */ | 48 | instance. */ |
49 | static KOPrefs *instance(); | 49 | static KOPrefs *instance(); |
50 | 50 | ||
51 | /** Set preferences to default values */ | 51 | /** Set preferences to default values */ |
52 | void usrSetDefaults(); | 52 | void usrSetDefaults(); |
53 | 53 | ||
54 | /** Read preferences from config file */ | 54 | /** Read preferences from config file */ |
55 | void usrReadConfig(); | 55 | void usrReadConfig(); |
56 | 56 | ||
57 | /** Write preferences to config file */ | 57 | /** Write preferences to config file */ |
58 | void usrWriteConfig(); | 58 | void usrWriteConfig(); |
59 | void setCategoryDefaults(); | 59 | void setCategoryDefaults(); |
60 | void setAllDefaults(); | 60 | void setAllDefaults(); |
61 | 61 | ||
62 | protected: | 62 | protected: |
63 | void setTimeZoneIdDefault(); | 63 | void setTimeZoneIdDefault(); |
64 | 64 | ||
65 | /** Fill empty mail fields with default values. */ | 65 | /** Fill empty mail fields with default values. */ |
66 | void fillMailDefaults(); | 66 | void fillMailDefaults(); |
67 | 67 | ||
68 | private: | 68 | private: |
69 | /** Constructor disabled for public. Use instance() to create a KOPrefs | 69 | /** Constructor disabled for public. Use instance() to create a KOPrefs |
70 | object. */ | 70 | object. */ |
71 | KOPrefs(); | 71 | KOPrefs(); |
72 | 72 | ||
73 | static KOPrefs *mInstance; | 73 | static KOPrefs *mInstance; |
74 | QStringList getDefaultList(); | 74 | QStringList getDefaultList(); |
75 | QStringList getLocationDefaultList(); | 75 | QStringList getLocationDefaultList(); |
76 | public: | 76 | public: |
77 | // preferences data | 77 | // preferences data |
78 | KConfig* getConfig(); | 78 | KConfig* getConfig(); |
79 | void setFullName(const QString &); | 79 | void setFullName(const QString &); |
80 | QString fullName(); | 80 | QString fullName(); |
81 | void setEmail(const QString &); | 81 | void setEmail(const QString &); |
82 | QString email(); | 82 | QString email(); |
83 | 83 | ||
84 | QString mAdditional; | 84 | QString mAdditional; |
85 | 85 | ||
86 | bool mEmailControlCenter; | 86 | bool mEmailControlCenter; |
87 | 87 | ||
88 | bool mBcc; | 88 | bool mBcc; |
89 | bool mAutoSave; | 89 | bool mAutoSave; |
90 | int mAutoSaveInterval; | 90 | int mAutoSaveInterval; |
91 | bool mConfirm; | 91 | bool mConfirm; |
92 | 92 | ||
93 | bool mEnableGroupScheduling; | 93 | bool mEnableGroupScheduling; |
94 | bool mEnableProjectView; | 94 | bool mEnableProjectView; |
95 | 95 | ||
96 | int mDefaultFormat; | 96 | int mDefaultFormat; |
97 | int mMailClient; | 97 | int mMailClient; |
98 | 98 | ||
99 | int mStartTime; | 99 | int mStartTime; |
100 | int mDefaultDuration; | 100 | int mDefaultDuration; |
101 | int mAlarmTime; | 101 | int mAlarmTime; |
102 | 102 | ||
103 | int mWorkingHoursStart; | 103 | int mWorkingHoursStart; |
104 | int mWorkingHoursEnd; | 104 | int mWorkingHoursEnd; |
105 | bool mExcludeHolidays; | 105 | bool mExcludeHolidays; |
106 | bool mExcludeSaturdays; | 106 | bool mExcludeSaturdays; |
107 | bool mMarcusBainsShowSeconds; | 107 | bool mMarcusBainsShowSeconds; |
108 | 108 | ||
109 | QFont mTimeBarFont; | 109 | QFont mTimeBarFont; |
110 | QFont mMonthViewFont; | 110 | QFont mMonthViewFont; |
111 | QFont mAgendaViewFont; | 111 | QFont mAgendaViewFont; |
112 | QFont mMarcusBainsFont; | 112 | QFont mMarcusBainsFont; |
113 | QFont mTimeLabelsFont; | 113 | QFont mTimeLabelsFont; |
114 | QFont mTodoViewFont; | 114 | QFont mTodoViewFont; |
115 | QFont mListViewFont; | 115 | QFont mListViewFont; |
116 | QFont mDateNavigatorFont; | 116 | QFont mDateNavigatorFont; |
117 | QFont mEditBoxFont; | 117 | QFont mEditBoxFont; |
118 | QFont mJornalViewFont; | 118 | QFont mJornalViewFont; |
119 | QFont mWhatsNextFont; | 119 | QFont mWhatsNextFont; |
120 | QFont mEventViewFont; | 120 | QFont mEventViewFont; |
121 | 121 | ||
122 | 122 | ||
123 | 123 | ||
124 | 124 | ||
125 | QColor mHolidayColor; | 125 | QColor mHolidayColor; |
126 | QColor mHighlightColor; | 126 | QColor mHighlightColor; |
127 | QColor mEventColor; | 127 | QColor mEventColor; |
128 | QColor mTodoDoneColor; | 128 | QColor mTodoDoneColor; |
129 | QColor mAgendaBgColor; | 129 | QColor mAgendaBgColor; |
130 | QColor mWorkingHoursColor; | 130 | QColor mWorkingHoursColor; |
131 | QColor mTodoDueTodayColor; | 131 | QColor mTodoDueTodayColor; |
132 | QColor mTodoOverdueColor; | 132 | QColor mTodoOverdueColor; |
133 | QColor mMonthViewEvenColor; | 133 | QColor mMonthViewEvenColor; |
134 | QColor mMonthViewOddColor; | 134 | QColor mMonthViewOddColor; |
135 | QColor mMonthViewHolidayColor; | 135 | QColor mMonthViewHolidayColor; |
136 | bool mMonthViewUsesDayColors; | 136 | bool mMonthViewUsesDayColors; |
137 | bool mMonthViewSatSunTog; | 137 | bool mMonthViewSatSunTog; |
138 | bool mMonthViewWeek; | 138 | bool mMonthViewWeek; |
139 | QColor mAppColor1; | 139 | QColor mAppColor1; |
140 | QColor mAppColor2; | 140 | QColor mAppColor2; |
141 | bool mUseAppColors; | 141 | bool mUseAppColors; |
142 | 142 | ||
143 | int mDayBegins; | 143 | int mDayBegins; |
144 | int mHourSize; | 144 | int mHourSize; |
145 | int mAllDaySize; | 145 | int mAllDaySize; |
146 | bool mShowFullMenu; | 146 | bool mShowFullMenu; |
147 | bool mDailyRecur; | 147 | bool mDailyRecur; |
148 | bool mWeeklyRecur; | 148 | bool mWeeklyRecur; |
149 | bool mMonthDailyRecur; | 149 | bool mMonthDailyRecur; |
150 | bool mMonthWeeklyRecur; | 150 | bool mMonthWeeklyRecur; |
151 | bool mMonthShowIcons; | 151 | bool mMonthShowIcons; |
152 | bool mMonthShowShort; | 152 | bool mMonthShowShort; |
153 | bool mEnableToolTips; | 153 | bool mEnableToolTips; |
154 | bool mEnableMonthScroll; | 154 | bool mEnableMonthScroll; |
155 | bool mFullViewMonth; | 155 | bool mFullViewMonth; |
156 | bool mMonthViewUsesCategoryColor; | 156 | bool mMonthViewUsesCategoryColor; |
157 | bool mFullViewTodo; | 157 | bool mFullViewTodo; |
158 | bool mShowCompletedTodo; | 158 | bool mShowCompletedTodo; |
159 | bool mMarcusBainsEnabled; | 159 | bool mMarcusBainsEnabled; |
160 | int mNextXDays; | 160 | int mNextXDays; |
161 | int mWhatsNextDays; | 161 | int mWhatsNextDays; |
162 | int mWhatsNextPrios; | 162 | int mWhatsNextPrios; |
163 | bool mEnableQuickTodo; | 163 | bool mEnableQuickTodo; |
164 | 164 | ||
165 | bool mCompactDialogs; | 165 | bool mCompactDialogs; |
166 | bool mVerticalScreen; | 166 | bool mVerticalScreen; |
167 | 167 | ||
168 | bool mShowIconNewTodo; | 168 | bool mShowIconNewTodo; |
169 | bool mShowIconNewEvent; | 169 | bool mShowIconNewEvent; |
170 | bool mShowIconSearch; | 170 | bool mShowIconSearch; |
171 | bool mShowIconList; | 171 | bool mShowIconList; |
172 | bool mShowIconDay1; | 172 | bool mShowIconDay1; |
173 | bool mShowIconDay5; | 173 | bool mShowIconDay5; |
174 | bool mShowIconDay6; | 174 | bool mShowIconDay6; |
175 | bool mShowIconDay7; | 175 | bool mShowIconDay7; |
176 | bool mShowIconMonth; | 176 | bool mShowIconMonth; |
177 | bool mShowIconTodoview; | 177 | bool mShowIconTodoview; |
178 | bool mShowIconBackFast; | 178 | bool mShowIconBackFast; |
179 | bool mShowIconBack; | 179 | bool mShowIconBack; |
180 | bool mShowIconToday; | 180 | bool mShowIconToday; |
181 | bool mShowIconForward; | 181 | bool mShowIconForward; |
182 | bool mShowIconForwardFast; | 182 | bool mShowIconForwardFast; |
183 | bool mShowIconWhatsThis; | 183 | bool mShowIconWhatsThis; |
184 | bool mShowIconWeekNum; | 184 | bool mShowIconWeekNum; |
185 | bool mShowIconNextDays; | 185 | bool mShowIconNextDays; |
186 | bool mShowIconNext; | 186 | bool mShowIconNext; |
187 | bool mShowIconJournal; | 187 | bool mShowIconJournal; |
188 | bool mShowIconFilter; | 188 | bool mShowIconFilter; |
189 | bool mShowIconOnetoolbar; | ||
189 | 190 | ||
190 | bool mShowIconStretch; | 191 | bool mShowIconStretch; |
191 | 192 | ||
192 | bool mToolBarHor; | 193 | bool mToolBarHor; |
193 | bool mToolBarUp; | 194 | bool mToolBarUp; |
194 | bool mToolBarHorV; | 195 | bool mToolBarHorV; |
195 | bool mToolBarUpV; | 196 | bool mToolBarUpV; |
196 | bool mToolBarHorN; | 197 | bool mToolBarHorN; |
197 | bool mToolBarUpN; | 198 | bool mToolBarUpN; |
198 | bool mToolBarHorF; | 199 | bool mToolBarHorF; |
199 | bool mToolBarUpF; | 200 | bool mToolBarUpF; |
200 | bool mToolBarMiniIcons; | 201 | bool mToolBarMiniIcons; |
201 | 202 | ||
202 | bool mAskForQuit; | 203 | bool mAskForQuit; |
203 | bool mUsePassWd; | 204 | bool mUsePassWd; |
204 | bool mShowSyncEvents; | 205 | bool mShowSyncEvents; |
205 | bool mShowTodoInAgenda; | 206 | bool mShowTodoInAgenda; |
206 | bool mShowTimeInAgenda; | 207 | bool mShowTimeInAgenda; |
207 | bool mHideNonStartedTodos; | 208 | bool mHideNonStartedTodos; |
208 | 209 | ||
209 | int mLastSyncTime; | 210 | int mLastSyncTime; |
210 | void setCategoryColor(QString cat,const QColor & color); | 211 | void setCategoryColor(QString cat,const QColor & color); |
211 | QColor *categoryColor(QString cat); | 212 | QColor *categoryColor(QString cat); |
212 | 213 | ||
213 | QString mArchiveFile; | 214 | QString mArchiveFile; |
214 | QString mHtmlExportFile; | 215 | QString mHtmlExportFile; |
215 | bool mHtmlWithSave; | 216 | bool mHtmlWithSave; |
216 | 217 | ||
217 | QStringList mSelectedPlugins; | 218 | QStringList mSelectedPlugins; |
218 | 219 | ||
219 | QString mLastImportFile; | 220 | QString mLastImportFile; |
220 | QString mLastVcalFile; | 221 | QString mLastVcalFile; |
221 | QString mLastSaveFile; | 222 | QString mLastSaveFile; |
222 | QString mLastLoadFile; | 223 | QString mLastLoadFile; |
223 | 224 | ||
224 | 225 | ||
225 | QString mDefaultAlarmFile; | 226 | QString mDefaultAlarmFile; |
226 | int mIMIPScheduler; | 227 | int mIMIPScheduler; |
227 | int mIMIPSend; | 228 | int mIMIPSend; |
228 | QStringList mAdditionalMails; | 229 | QStringList mAdditionalMails; |
229 | int mIMIPAutoRefresh; | 230 | int mIMIPAutoRefresh; |
230 | int mIMIPAutoInsertReply; | 231 | int mIMIPAutoInsertReply; |
231 | int mIMIPAutoInsertRequest; | 232 | int mIMIPAutoInsertRequest; |
232 | int mIMIPAutoFreeBusy; | 233 | int mIMIPAutoFreeBusy; |
233 | int mIMIPAutoFreeBusyReply; | 234 | int mIMIPAutoFreeBusyReply; |
234 | 235 | ||
235 | QStringList mTodoTemplates; | 236 | QStringList mTodoTemplates; |
236 | QStringList mEventTemplates; | 237 | QStringList mEventTemplates; |
237 | 238 | ||
238 | int mDestination; | 239 | int mDestination; |
239 | 240 | ||
240 | 241 | ||
241 | bool mEditOnDoubleClick; | 242 | bool mEditOnDoubleClick; |
242 | bool mViewChangeHoldFullscreen; | 243 | bool mViewChangeHoldFullscreen; |
243 | bool mViewChangeHoldNonFullscreen; | 244 | bool mViewChangeHoldNonFullscreen; |
244 | bool mCenterOnCurrentTime; | 245 | bool mCenterOnCurrentTime; |
245 | bool mSetTimeToDayStartAt; | 246 | bool mSetTimeToDayStartAt; |
246 | bool mHighlightCurrentDay; | 247 | bool mHighlightCurrentDay; |
247 | bool mUseHighlightLightColor; | 248 | bool mUseHighlightLightColor; |
248 | bool mListViewMonthTimespan; | 249 | bool mListViewMonthTimespan; |
249 | bool mWNViewShowsParents; | 250 | bool mWNViewShowsParents; |
250 | bool mWNViewShowsPast; | 251 | bool mWNViewShowsPast; |
251 | bool mWNViewShowLocation; | 252 | bool mWNViewShowLocation; |
252 | bool mTodoViewShowsPercentage; | 253 | bool mTodoViewShowsPercentage; |
253 | bool mTodoViewUsesCatColors; | 254 | bool mTodoViewUsesCatColors; |
254 | bool mMonthViewUsesBigFont; | 255 | bool mMonthViewUsesBigFont; |
255 | bool mTodoViewUsesSmallFont; | 256 | bool mTodoViewUsesSmallFont; |
256 | bool mTodoViewUsesForegroundColor; | 257 | bool mTodoViewUsesForegroundColor; |
257 | bool mMonthViewUsesForegroundColor; | 258 | bool mMonthViewUsesForegroundColor; |
258 | 259 | ||
259 | bool mHightlightDateTimeEdit; | 260 | bool mHightlightDateTimeEdit; |
260 | bool mShortDateInViewer; | 261 | bool mShortDateInViewer; |
261 | 262 | ||
262 | bool mShowDateNavigator; | 263 | bool mShowDateNavigator; |
263 | 264 | ||
264 | QStringList mLocationDefaults; | 265 | QStringList mLocationDefaults; |
265 | QStringList mEventSummaryUser; | 266 | QStringList mEventSummaryUser; |
266 | QStringList mTodoSummaryUser; | 267 | QStringList mTodoSummaryUser; |
267 | 268 | ||
268 | bool mUseInternalAlarmNotification; | 269 | bool mUseInternalAlarmNotification; |
269 | int mAlarmPlayBeeps; | 270 | int mAlarmPlayBeeps; |
270 | int mAlarmSuspendTime; | 271 | int mAlarmSuspendTime; |
271 | int mAlarmSuspendCount; | 272 | int mAlarmSuspendCount; |
272 | int mAlarmBeepInterval; | 273 | int mAlarmBeepInterval; |
273 | int mOldLanguage; | 274 | int mOldLanguage; |
274 | int mOldLoadedLanguage; | 275 | int mOldLoadedLanguage; |
275 | 276 | ||
276 | 277 | ||
277 | QString mActiveSyncPort; | 278 | QString mActiveSyncPort; |
278 | QString mActiveSyncIP; | 279 | QString mActiveSyncIP; |
279 | 280 | ||
280 | // settings for eventviewer | 281 | // settings for eventviewer |
281 | bool mEVshowDetails; | 282 | bool mEVshowDetails; |
282 | bool mEVshowCreated; | 283 | bool mEVshowCreated; |
283 | bool mEVshowChanged; | 284 | bool mEVshowChanged; |
284 | bool mWTshowDetails; | 285 | bool mWTshowDetails; |
285 | bool mWTshowCreated; | 286 | bool mWTshowCreated; |
286 | bool mWTshowChanged; | 287 | bool mWTshowChanged; |
287 | 288 | ||
288 | private: | 289 | private: |
289 | QDict<QColor> mCategoryColors; | 290 | QDict<QColor> mCategoryColors; |
290 | QColor mDefaultCategoryColor; | 291 | QColor mDefaultCategoryColor; |
291 | 292 | ||
292 | QFont mDefaultTimeBarFont; | 293 | QFont mDefaultTimeBarFont; |
293 | QFont mDefaultViewFont; | 294 | QFont mDefaultViewFont; |
294 | QFont mDefaultMonthViewFont; | 295 | QFont mDefaultMonthViewFont; |
295 | 296 | ||
296 | QString mName; | 297 | QString mName; |
297 | QString mEmail; | 298 | QString mEmail; |
298 | }; | 299 | }; |
299 | 300 | ||
300 | #endif | 301 | #endif |
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp index c6ae868..a4e0834 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp | |||
@@ -1,2292 +1,2302 @@ | |||
1 | #include <stdlib.h> | 1 | #include <stdlib.h> |
2 | 2 | ||
3 | #include <qaction.h> | 3 | #include <qaction.h> |
4 | #include <qpopupmenu.h> | 4 | #include <qpopupmenu.h> |
5 | #include <qpainter.h> | 5 | #include <qpainter.h> |
6 | #include <qwhatsthis.h> | 6 | #include <qwhatsthis.h> |
7 | #include <qpushbutton.h> | 7 | #include <qpushbutton.h> |
8 | #include <qmessagebox.h> | 8 | #include <qmessagebox.h> |
9 | #include <qlineedit.h> | 9 | #include <qlineedit.h> |
10 | #include <qtextcodec.h> | 10 | #include <qtextcodec.h> |
11 | #include <qfile.h> | 11 | #include <qfile.h> |
12 | #include <qdir.h> | 12 | #include <qdir.h> |
13 | #include <qapp.h> | 13 | #include <qapp.h> |
14 | #include <qfileinfo.h> | 14 | #include <qfileinfo.h> |
15 | #include <qlabel.h> | 15 | #include <qlabel.h> |
16 | #include <qspinbox.h> | 16 | #include <qspinbox.h> |
17 | #include <qcheckbox.h> | 17 | #include <qcheckbox.h> |
18 | #include <qmap.h> | 18 | #include <qmap.h> |
19 | #include <qwmatrix.h> | 19 | #include <qwmatrix.h> |
20 | #include <qtextbrowser.h> | 20 | #include <qtextbrowser.h> |
21 | #include <qtextstream.h> | 21 | #include <qtextstream.h> |
22 | #ifndef DESKTOP_VERSION | 22 | #ifndef DESKTOP_VERSION |
23 | #include <qpe/global.h> | 23 | #include <qpe/global.h> |
24 | #include <qpe/qpemenubar.h> | 24 | #include <qpe/qpemenubar.h> |
25 | #include <qpe/qpetoolbar.h> | 25 | #include <qpe/qpetoolbar.h> |
26 | #include <qpe/resource.h> | 26 | #include <qpe/resource.h> |
27 | #include <qpe/qpeapplication.h> | 27 | #include <qpe/qpeapplication.h> |
28 | #include <qtopia/alarmserver.h> | 28 | #include <qtopia/alarmserver.h> |
29 | #include <qtopia/qcopenvelope_qws.h> | 29 | #include <qtopia/qcopenvelope_qws.h> |
30 | #include <unistd.h> // for sleep | 30 | #include <unistd.h> // for sleep |
31 | #else | 31 | #else |
32 | #include <qmenubar.h> | 32 | #include <qmenubar.h> |
33 | #include <qtoolbar.h> | 33 | #include <qtoolbar.h> |
34 | #include <qapplication.h> | 34 | #include <qapplication.h> |
35 | //#include <resource.h> | 35 | //#include <resource.h> |
36 | 36 | ||
37 | #endif | 37 | #endif |
38 | #include <libkcal/calendarlocal.h> | 38 | #include <libkcal/calendarlocal.h> |
39 | #include <libkcal/todo.h> | 39 | #include <libkcal/todo.h> |
40 | #include <libkcal/phoneformat.h> | 40 | #include <libkcal/phoneformat.h> |
41 | #include <libkdepim/ksyncprofile.h> | 41 | #include <libkdepim/ksyncprofile.h> |
42 | #include <libkdepim/phoneaccess.h> | 42 | #include <libkdepim/phoneaccess.h> |
43 | #include <libkcal/kincidenceformatter.h> | 43 | #include <libkcal/kincidenceformatter.h> |
44 | #include <libkdepim/kpimglobalprefs.h> | 44 | #include <libkdepim/kpimglobalprefs.h> |
45 | 45 | ||
46 | #include "calendarview.h" | 46 | #include "calendarview.h" |
47 | #include "koviewmanager.h" | 47 | #include "koviewmanager.h" |
48 | #include "datenavigator.h" | 48 | #include "datenavigator.h" |
49 | #include "koagendaview.h" | 49 | #include "koagendaview.h" |
50 | #include "koagenda.h" | 50 | #include "koagenda.h" |
51 | #include "kodialogmanager.h" | 51 | #include "kodialogmanager.h" |
52 | #include "kdialogbase.h" | 52 | #include "kdialogbase.h" |
53 | #include "kapplication.h" | 53 | #include "kapplication.h" |
54 | #include "kofilterview.h" | 54 | #include "kofilterview.h" |
55 | #include "kstandarddirs.h" | 55 | #include "kstandarddirs.h" |
56 | #include "koprefs.h" | 56 | #include "koprefs.h" |
57 | #include "kfiledialog.h" | 57 | #include "kfiledialog.h" |
58 | #include "koglobals.h" | 58 | #include "koglobals.h" |
59 | #include "kglobal.h" | 59 | #include "kglobal.h" |
60 | #include "ktoolbar.h" | 60 | #include "ktoolbar.h" |
61 | #include "klocale.h" | 61 | #include "klocale.h" |
62 | #include "kconfig.h" | 62 | #include "kconfig.h" |
63 | #include "simplealarmclient.h" | 63 | #include "simplealarmclient.h" |
64 | #include "externalapphandler.h" | 64 | #include "externalapphandler.h" |
65 | 65 | ||
66 | using namespace KCal; | 66 | using namespace KCal; |
67 | #ifndef _WIN32_ | 67 | #ifndef _WIN32_ |
68 | #include <unistd.h> | 68 | #include <unistd.h> |
69 | #else | 69 | #else |
70 | #ifdef _OL_IMPORT_ | 70 | #ifdef _OL_IMPORT_ |
71 | #include "koimportoldialog.h" | 71 | #include "koimportoldialog.h" |
72 | #endif | 72 | #endif |
73 | #endif | 73 | #endif |
74 | #include "mainwindow.h" | 74 | #include "mainwindow.h" |
75 | 75 | ||
76 | 76 | ||
77 | class KOex2phonePrefs : public QDialog | 77 | class KOex2phonePrefs : public QDialog |
78 | { | 78 | { |
79 | public: | 79 | public: |
80 | KOex2phonePrefs( QWidget *parent=0, const char *name=0 ) : | 80 | KOex2phonePrefs( QWidget *parent=0, const char *name=0 ) : |
81 | QDialog( parent, name, true ) | 81 | QDialog( parent, name, true ) |
82 | { | 82 | { |
83 | setCaption( i18n("Export to phone options") ); | 83 | setCaption( i18n("Export to phone options") ); |
84 | QVBoxLayout* lay = new QVBoxLayout( this ); | 84 | QVBoxLayout* lay = new QVBoxLayout( this ); |
85 | lay->setSpacing( 3 ); | 85 | lay->setSpacing( 3 ); |
86 | lay->setMargin( 3 ); | 86 | lay->setMargin( 3 ); |
87 | QLabel *lab; | 87 | QLabel *lab; |
88 | lay->addWidget(lab = new QLabel( i18n("Please read Help-Sync Howto\nto know what settings to use."), this ) ); | 88 | lay->addWidget(lab = new QLabel( i18n("Please read Help-Sync Howto\nto know what settings to use."), this ) ); |
89 | lab->setAlignment (AlignHCenter ); | 89 | lab->setAlignment (AlignHCenter ); |
90 | QHBox* temphb; | 90 | QHBox* temphb; |
91 | temphb = new QHBox( this ); | 91 | temphb = new QHBox( this ); |
92 | new QLabel( i18n("I/O device: "), temphb ); | 92 | new QLabel( i18n("I/O device: "), temphb ); |
93 | mPhoneDevice = new QLineEdit( temphb); | 93 | mPhoneDevice = new QLineEdit( temphb); |
94 | lay->addWidget( temphb ); | 94 | lay->addWidget( temphb ); |
95 | temphb = new QHBox( this ); | 95 | temphb = new QHBox( this ); |
96 | new QLabel( i18n("Connection: "), temphb ); | 96 | new QLabel( i18n("Connection: "), temphb ); |
97 | mPhoneConnection = new QLineEdit( temphb); | 97 | mPhoneConnection = new QLineEdit( temphb); |
98 | lay->addWidget( temphb ); | 98 | lay->addWidget( temphb ); |
99 | temphb = new QHBox( this ); | 99 | temphb = new QHBox( this ); |
100 | new QLabel( i18n("Model(opt.): "), temphb ); | 100 | new QLabel( i18n("Model(opt.): "), temphb ); |
101 | mPhoneModel = new QLineEdit( temphb); | 101 | mPhoneModel = new QLineEdit( temphb); |
102 | lay->addWidget( temphb ); | 102 | lay->addWidget( temphb ); |
103 | mWriteBackFuture= new QCheckBox( i18n("Write back events in future only"), this ); | 103 | mWriteBackFuture= new QCheckBox( i18n("Write back events in future only"), this ); |
104 | mWriteBackFuture->setChecked( true ); | 104 | mWriteBackFuture->setChecked( true ); |
105 | lay->addWidget( mWriteBackFuture ); | 105 | lay->addWidget( mWriteBackFuture ); |
106 | temphb = new QHBox( this ); | 106 | temphb = new QHBox( this ); |
107 | new QLabel( i18n("Max. weeks in future: ") , temphb ); | 107 | new QLabel( i18n("Max. weeks in future: ") , temphb ); |
108 | mWriteBackFutureWeeks= new QSpinBox(1,104, 1, temphb); | 108 | mWriteBackFutureWeeks= new QSpinBox(1,104, 1, temphb); |
109 | mWriteBackFutureWeeks->setValue( 8 ); | 109 | mWriteBackFutureWeeks->setValue( 8 ); |
110 | lay->addWidget( temphb ); | 110 | lay->addWidget( temphb ); |
111 | lay->addWidget(lab = new QLabel( i18n("NOTE: This will remove all old\ntodo/calendar data on phone!"), this ) ); | 111 | lay->addWidget(lab = new QLabel( i18n("NOTE: This will remove all old\ntodo/calendar data on phone!"), this ) ); |
112 | lab->setAlignment (AlignHCenter ); | 112 | lab->setAlignment (AlignHCenter ); |
113 | QPushButton * ok = new QPushButton( i18n("Export to mobile phone!"), this ); | 113 | QPushButton * ok = new QPushButton( i18n("Export to mobile phone!"), this ); |
114 | lay->addWidget( ok ); | 114 | lay->addWidget( ok ); |
115 | QPushButton * cancel = new QPushButton( i18n("Cancel"), this ); | 115 | QPushButton * cancel = new QPushButton( i18n("Cancel"), this ); |
116 | lay->addWidget( cancel ); | 116 | lay->addWidget( cancel ); |
117 | connect ( ok,SIGNAL(clicked() ),this , SLOT ( accept() ) ); | 117 | connect ( ok,SIGNAL(clicked() ),this , SLOT ( accept() ) ); |
118 | connect (cancel, SIGNAL(clicked() ), this, SLOT ( reject()) ); | 118 | connect (cancel, SIGNAL(clicked() ), this, SLOT ( reject()) ); |
119 | resize( 220, 240 ); | 119 | resize( 220, 240 ); |
120 | qApp->processEvents(); | 120 | qApp->processEvents(); |
121 | int dw = QApplication::desktop()->width(); | 121 | int dw = QApplication::desktop()->width(); |
122 | int dh = QApplication::desktop()->height(); | 122 | int dh = QApplication::desktop()->height(); |
123 | move( (dw-width())/2, (dh - height() )/2 ); | 123 | move( (dw-width())/2, (dh - height() )/2 ); |
124 | } | 124 | } |
125 | 125 | ||
126 | public: | 126 | public: |
127 | QLineEdit* mPhoneConnection, *mPhoneDevice, *mPhoneModel; | 127 | QLineEdit* mPhoneConnection, *mPhoneDevice, *mPhoneModel; |
128 | QCheckBox* mWriteBackFuture; | 128 | QCheckBox* mWriteBackFuture; |
129 | QSpinBox* mWriteBackFutureWeeks; | 129 | QSpinBox* mWriteBackFutureWeeks; |
130 | }; | 130 | }; |
131 | 131 | ||
132 | int globalFlagBlockStartup; | 132 | int globalFlagBlockStartup; |
133 | MainWindow::MainWindow( QWidget *parent, const char *name, QString msg) : | 133 | MainWindow::MainWindow( QWidget *parent, const char *name, QString msg) : |
134 | QMainWindow( parent, name ) | 134 | QMainWindow( parent, name ) |
135 | { | 135 | { |
136 | 136 | ||
137 | mClosed = false; | 137 | mClosed = false; |
138 | //QString confFile = KStandardDirs::appDir() + "config/korganizerrc"; | 138 | //QString confFile = KStandardDirs::appDir() + "config/korganizerrc"; |
139 | QString confFile = locateLocal("config","korganizerrc"); | 139 | QString confFile = locateLocal("config","korganizerrc"); |
140 | QFileInfo finf ( confFile ); | 140 | QFileInfo finf ( confFile ); |
141 | bool showWarning = !finf.exists(); | 141 | bool showWarning = !finf.exists(); |
142 | setIcon(SmallIcon( "ko24" ) ); | 142 | setIcon(SmallIcon( "ko24" ) ); |
143 | mBlockAtStartup = true; | 143 | mBlockAtStartup = true; |
144 | mFlagKeyPressed = false; | 144 | mFlagKeyPressed = false; |
145 | setCaption("KO/Pi"); | 145 | setCaption("KO/Pi"); |
146 | KOPrefs *p = KOPrefs::instance(); | 146 | KOPrefs *p = KOPrefs::instance(); |
147 | KPimGlobalPrefs::instance()->setGlobalConfig(); | 147 | KPimGlobalPrefs::instance()->setGlobalConfig(); |
148 | if ( p->mHourSize > 22 ) | 148 | if ( p->mHourSize > 22 ) |
149 | p->mHourSize = 22; | 149 | p->mHourSize = 22; |
150 | QMainWindow::ToolBarDock tbd; | 150 | QMainWindow::ToolBarDock tbd; |
151 | if ( p->mToolBarHor ) { | 151 | if ( p->mToolBarHor ) { |
152 | if ( p->mToolBarUp ) | 152 | if ( p->mToolBarUp ) |
153 | tbd = Bottom; | 153 | tbd = Bottom; |
154 | else | 154 | else |
155 | tbd = Top; | 155 | tbd = Top; |
156 | } | 156 | } |
157 | else { | 157 | else { |
158 | if ( p->mToolBarUp ) | 158 | if ( p->mToolBarUp ) |
159 | tbd = Right; | 159 | tbd = Right; |
160 | else | 160 | else |
161 | tbd = Left; | 161 | tbd = Left; |
162 | } | 162 | } |
163 | if ( KOPrefs::instance()->mUseAppColors ) | 163 | if ( KOPrefs::instance()->mUseAppColors ) |
164 | QApplication::setPalette( QPalette (KOPrefs::instance()->mAppColor1, KOPrefs::instance()->mAppColor2), true ); | 164 | QApplication::setPalette( QPalette (KOPrefs::instance()->mAppColor1, KOPrefs::instance()->mAppColor2), true ); |
165 | globalFlagBlockStartup = 1; | 165 | globalFlagBlockStartup = 1; |
166 | iconToolBar = new QPEToolBar( this ); | 166 | iconToolBar = new QPEToolBar( this ); |
167 | addToolBar (iconToolBar , tbd ); | 167 | addToolBar (iconToolBar , tbd ); |
168 | 168 | ||
169 | if ( KOPrefs::instance()->mShowIconFilter ) { | 169 | if ( KOPrefs::instance()->mShowIconFilter ) { |
170 | if ( p->mToolBarHorF ) { | 170 | if ( p->mToolBarHorF ) { |
171 | if ( p->mToolBarUpF ) | 171 | if ( p->mToolBarUpF ) |
172 | tbd = Bottom; | 172 | tbd = Bottom; |
173 | else | 173 | else |
174 | tbd = Top; | 174 | tbd = Top; |
175 | } | 175 | } |
176 | else { | 176 | else { |
177 | if ( p->mToolBarUpF ) | 177 | if ( p->mToolBarUpF ) |
178 | tbd = Right; | 178 | tbd = Right; |
179 | else | 179 | else |
180 | tbd = Left; | 180 | tbd = Left; |
181 | } | 181 | } |
182 | filterToolBar = new QPEToolBar ( this ); | 182 | filterToolBar = new QPEToolBar ( this ); |
183 | filterMenubar = new QPEMenuBar( filterToolBar ); | 183 | filterMenubar = new QPEMenuBar( filterToolBar ); |
184 | QFontMetrics fm ( filterMenubar->font() ); | 184 | QFontMetrics fm ( filterMenubar->font() ); |
185 | 185 | ||
186 | filterPopupMenu = new QPopupMenu( this ); | 186 | filterPopupMenu = new QPopupMenu( this ); |
187 | filterMenubar->insertItem( i18n("No Filter"), filterPopupMenu,0 ); | 187 | filterMenubar->insertItem( i18n("No Filter"), filterPopupMenu,0 ); |
188 | filterMenubar->setFixedWidth( fm.width( i18n("No Filter")+"Ax" ) ); | 188 | filterMenubar->setFixedWidth( fm.width( i18n("No Filter")+"Ax" ) ); |
189 | addToolBar (filterToolBar , tbd ); | 189 | addToolBar (filterToolBar , tbd ); |
190 | connect ( filterPopupMenu , SIGNAL( activated ( int ) ), this, SLOT (selectFilterPopup( int ) ) ); | 190 | connect ( filterPopupMenu , SIGNAL( activated ( int ) ), this, SLOT (selectFilterPopup( int ) ) ); |
191 | connect ( filterPopupMenu , SIGNAL( aboutToShow() ), this, SLOT (fillFilterMenuPopup() ) ); | 191 | connect ( filterPopupMenu , SIGNAL( aboutToShow() ), this, SLOT (fillFilterMenuPopup() ) ); |
192 | } else { | 192 | } else { |
193 | filterToolBar = 0; | 193 | filterToolBar = 0; |
194 | filterMenubar = 0; | 194 | filterMenubar = 0; |
195 | filterPopupMenu = 0; | 195 | filterPopupMenu = 0; |
196 | } | 196 | } |
197 | 197 | if ( p->mShowIconOnetoolbar ) { | |
198 | if ( p->mToolBarHorV ) { | 198 | viewToolBar = iconToolBar ; |
199 | if ( p->mToolBarUpV ) | 199 | navigatorToolBar = iconToolBar ; |
200 | tbd = Bottom; | 200 | } else { |
201 | else | 201 | if ( p->mToolBarHorV ) { |
202 | tbd = Top; | 202 | if ( p->mToolBarUpV ) |
203 | } | 203 | tbd = Bottom; |
204 | else { | 204 | else |
205 | if ( p->mToolBarUpV ) | 205 | tbd = Top; |
206 | tbd = Right; | 206 | } |
207 | else | 207 | else { |
208 | tbd = Left; | 208 | if ( p->mToolBarUpV ) |
209 | } | 209 | tbd = Right; |
210 | viewToolBar = new QPEToolBar( this ); | 210 | else |
211 | addToolBar (viewToolBar , tbd ); | 211 | tbd = Left; |
212 | if ( p->mToolBarHorN ) { | 212 | } |
213 | if ( p->mToolBarUpN ) | 213 | viewToolBar = new QPEToolBar( this ); |
214 | tbd = Bottom; | 214 | addToolBar (viewToolBar , tbd ); |
215 | else | 215 | if ( p->mToolBarHorN ) { |
216 | tbd = Top; | 216 | if ( p->mToolBarUpN ) |
217 | } | 217 | tbd = Bottom; |
218 | else { | 218 | else |
219 | if ( p->mToolBarUpN ) | 219 | tbd = Top; |
220 | tbd = Right; | 220 | } |
221 | else | 221 | else { |
222 | tbd = Left; | 222 | if ( p->mToolBarUpN ) |
223 | tbd = Right; | ||
224 | else | ||
225 | tbd = Left; | ||
226 | } | ||
227 | navigatorToolBar = new QPEToolBar( this ); | ||
228 | addToolBar (navigatorToolBar , tbd ); | ||
223 | } | 229 | } |
224 | navigatorToolBar = new QPEToolBar( this ); | ||
225 | addToolBar (navigatorToolBar , tbd ); | ||
226 | |||
227 | 230 | ||
228 | 231 | ||
229 | 232 | ||
230 | mCalendarModifiedFlag = false; | 233 | mCalendarModifiedFlag = false; |
231 | QLabel* splash = new QLabel(i18n("KO/Pi is starting ... "), this ); | 234 | QLabel* splash = new QLabel(i18n("KO/Pi is starting ... "), this ); |
232 | splash->setAlignment ( AlignCenter ); | 235 | splash->setAlignment ( AlignCenter ); |
233 | setCentralWidget( splash ); | 236 | setCentralWidget( splash ); |
234 | #ifndef DESKTOP_VERSION | 237 | #ifndef DESKTOP_VERSION |
235 | showMaximized(); | 238 | showMaximized(); |
236 | #endif | 239 | #endif |
237 | 240 | ||
238 | //qDebug("Mainwidget x %d y %d w %d h %d", x(), y(), width(), height ()); | 241 | //qDebug("Mainwidget x %d y %d w %d h %d", x(), y(), width(), height ()); |
239 | setDefaultPreferences(); | 242 | setDefaultPreferences(); |
240 | mCalendar = new CalendarLocal(); | 243 | mCalendar = new CalendarLocal(); |
241 | mView = new CalendarView( mCalendar, this,"mCalendar " ); | 244 | mView = new CalendarView( mCalendar, this,"mCalendar " ); |
242 | mView->hide(); | 245 | mView->hide(); |
243 | //mView->resize(splash->size() ); | 246 | //mView->resize(splash->size() ); |
244 | initActions(); | 247 | initActions(); |
245 | mSyncManager = new KSyncManager((QWidget*)this, (KSyncInterface*)mView, KSyncManager::KOPI, KOPrefs::instance(), syncMenu); | 248 | mSyncManager = new KSyncManager((QWidget*)this, (KSyncInterface*)mView, KSyncManager::KOPI, KOPrefs::instance(), syncMenu); |
246 | mSyncManager->setBlockSave(false); | 249 | mSyncManager->setBlockSave(false); |
247 | mView->setSyncManager(mSyncManager); | 250 | mView->setSyncManager(mSyncManager); |
248 | #ifndef DESKTOP_VERSION | 251 | #ifndef DESKTOP_VERSION |
249 | iconToolBar->show(); | 252 | iconToolBar->show(); |
250 | qApp->processEvents(); | 253 | qApp->processEvents(); |
251 | #endif | 254 | #endif |
252 | //qDebug("Splashwidget x %d y %d w %d h %d", splash-> x(), splash->y(), splash->width(),splash-> height ()); | 255 | //qDebug("Splashwidget x %d y %d w %d h %d", splash-> x(), splash->y(), splash->width(),splash-> height ()); |
253 | int vh = height() ; | 256 | int vh = height() ; |
254 | int vw = width(); | 257 | int vw = width(); |
255 | //qDebug("Toolbar hei %d ",iconToolBar->height() ); | 258 | //qDebug("Toolbar hei %d ",iconToolBar->height() ); |
256 | if ( iconToolBar->orientation () == Qt:: Horizontal ) { | 259 | if ( iconToolBar->orientation () == Qt:: Horizontal ) { |
257 | vh -= iconToolBar->height(); | 260 | vh -= iconToolBar->height(); |
258 | } else { | 261 | } else { |
259 | vw -= iconToolBar->height(); | 262 | vw -= iconToolBar->height(); |
260 | } | 263 | } |
261 | //mView->setMaximumSize( splash->size() ); | 264 | //mView->setMaximumSize( splash->size() ); |
262 | //mView->resize( splash->size() ); | 265 | //mView->resize( splash->size() ); |
263 | //qDebug("MainView x %d y %d w %d h %d", mView->x(),mView-> y(), mView->width(), mView->height ()); | 266 | //qDebug("MainView x %d y %d w %d h %d", mView->x(),mView-> y(), mView->width(), mView->height ()); |
264 | mView->readSettings(); | 267 | mView->readSettings(); |
265 | bool newFile = false; | 268 | bool newFile = false; |
266 | if( !QFile::exists( defaultFileName() ) ) { | 269 | if( !QFile::exists( defaultFileName() ) ) { |
267 | QFileInfo finfo ( defaultFileName() ); | 270 | QFileInfo finfo ( defaultFileName() ); |
268 | QString oldFile = QDir::convertSeparators( QDir::homeDirPath()+"/Applications/korganizer/mycalendar.ics"); | 271 | QString oldFile = QDir::convertSeparators( QDir::homeDirPath()+"/Applications/korganizer/mycalendar.ics"); |
269 | qDebug("oldfile %s ", oldFile.latin1()); | 272 | qDebug("oldfile %s ", oldFile.latin1()); |
270 | QString message = "You are starting KO/Pi for the\nfirst time after updating to a\nversion >= 1.9.1. The location of the\ndefault calendar file has changed.\nA mycalendar.ics file was detected\nat the old location.\nThis file will be loaded now\nand stored at the new location!\n(Config file location has changed, too!)\nPlease read menu Help-What's New!\n"; | 273 | QString message = "You are starting KO/Pi for the\nfirst time after updating to a\nversion >= 1.9.1. The location of the\ndefault calendar file has changed.\nA mycalendar.ics file was detected\nat the old location.\nThis file will be loaded now\nand stored at the new location!\n(Config file location has changed, too!)\nPlease read menu Help-What's New!\n"; |
271 | finfo.setFile( oldFile ); | 274 | finfo.setFile( oldFile ); |
272 | if (finfo.exists() ) { | 275 | if (finfo.exists() ) { |
273 | KMessageBox::information( this, message); | 276 | KMessageBox::information( this, message); |
274 | mView->openCalendar( oldFile ); | 277 | mView->openCalendar( oldFile ); |
275 | qApp->processEvents(); | 278 | qApp->processEvents(); |
276 | } else { | 279 | } else { |
277 | oldFile = QDir::convertSeparators( QDir::homeDirPath()+"/korganizer/mycalendar.ics"); | 280 | oldFile = QDir::convertSeparators( QDir::homeDirPath()+"/korganizer/mycalendar.ics"); |
278 | finfo.setFile( oldFile ); | 281 | finfo.setFile( oldFile ); |
279 | if (finfo.exists() ) { | 282 | if (finfo.exists() ) { |
280 | KMessageBox::information( this, message); | 283 | KMessageBox::information( this, message); |
281 | mView->openCalendar( oldFile ); | 284 | mView->openCalendar( oldFile ); |
282 | qApp->processEvents(); | 285 | qApp->processEvents(); |
283 | } | 286 | } |
284 | } | 287 | } |
285 | mView->saveCalendar( defaultFileName() ); | 288 | mView->saveCalendar( defaultFileName() ); |
286 | newFile = true; | 289 | newFile = true; |
287 | } | 290 | } |
288 | 291 | ||
289 | QTime neededSaveTime = QDateTime::currentDateTime().time(); | 292 | QTime neededSaveTime = QDateTime::currentDateTime().time(); |
290 | mView->openCalendar( defaultFileName() ); | 293 | mView->openCalendar( defaultFileName() ); |
291 | int msNeeded = neededSaveTime.msecsTo( QDateTime::currentDateTime().time() ); | 294 | int msNeeded = neededSaveTime.msecsTo( QDateTime::currentDateTime().time() ); |
292 | qDebug("KO: Calendar loading time: %d ms",msNeeded ); | 295 | qDebug("KO: Calendar loading time: %d ms",msNeeded ); |
293 | 296 | ||
294 | if ( KPimGlobalPrefs::instance()->mPreferredLanguage != KOPrefs::instance()->mOldLoadedLanguage ) { | 297 | if ( KPimGlobalPrefs::instance()->mPreferredLanguage != KOPrefs::instance()->mOldLoadedLanguage ) { |
295 | KOPrefs::instance()->setAllDefaults(); | 298 | KOPrefs::instance()->setAllDefaults(); |
296 | int count = mView->addCategories(); | 299 | int count = mView->addCategories(); |
297 | } | 300 | } |
298 | processIncidenceSelection( 0 ); | 301 | processIncidenceSelection( 0 ); |
299 | connect( mView, SIGNAL( incidenceSelected( Incidence * ) ), | 302 | connect( mView, SIGNAL( incidenceSelected( Incidence * ) ), |
300 | SLOT( processIncidenceSelection( Incidence * ) ) ); | 303 | SLOT( processIncidenceSelection( Incidence * ) ) ); |
301 | connect( mView, SIGNAL( modifiedChanged( bool ) ), | 304 | connect( mView, SIGNAL( modifiedChanged( bool ) ), |
302 | SLOT( slotModifiedChanged( bool ) ) ); | 305 | SLOT( slotModifiedChanged( bool ) ) ); |
303 | 306 | ||
304 | 307 | ||
305 | connect( mView, SIGNAL( tempDisableBR(bool) ), | 308 | connect( mView, SIGNAL( tempDisableBR(bool) ), |
306 | SLOT( disableBR(bool) ) ); | 309 | SLOT( disableBR(bool) ) ); |
307 | connect( &mSaveTimer, SIGNAL( timeout() ), SLOT( save() ) ); | 310 | connect( &mSaveTimer, SIGNAL( timeout() ), SLOT( save() ) ); |
308 | mView->setModified( false ); | 311 | mView->setModified( false ); |
309 | mBlockAtStartup = false; | 312 | mBlockAtStartup = false; |
310 | mView->setModified( false ); | 313 | mView->setModified( false ); |
311 | setCentralWidget( mView ); | 314 | setCentralWidget( mView ); |
312 | globalFlagBlockStartup = 0; | 315 | globalFlagBlockStartup = 0; |
313 | mView->show(); | 316 | mView->show(); |
314 | delete splash; | 317 | delete splash; |
315 | if ( newFile ) | 318 | if ( newFile ) |
316 | mView->updateConfig(); | 319 | mView->updateConfig(); |
317 | // qApp->processEvents(); | 320 | // qApp->processEvents(); |
318 | //qDebug("MainView x %d y %d w %d h %d", mView->x(),mView-> y(), mView->width(), mView->height ()); | 321 | //qDebug("MainView x %d y %d w %d h %d", mView->x(),mView-> y(), mView->width(), mView->height ()); |
319 | //fillSyncMenu(); | 322 | //fillSyncMenu(); |
320 | 323 | ||
321 | 324 | ||
322 | connect(mSyncManager , SIGNAL( save() ), this, SLOT( save() ) ); | 325 | connect(mSyncManager , SIGNAL( save() ), this, SLOT( save() ) ); |
323 | connect(mView , SIGNAL( save() ), this, SLOT( save() ) ); | 326 | connect(mView , SIGNAL( save() ), this, SLOT( save() ) ); |
324 | connect(mView , SIGNAL( saveStopTimer() ), this, SLOT( saveStopTimer() ) ); | 327 | connect(mView , SIGNAL( saveStopTimer() ), this, SLOT( saveStopTimer() ) ); |
325 | connect(mSyncManager , SIGNAL( request_file() ), this, SLOT( syncFileRequest() ) ); | 328 | connect(mSyncManager , SIGNAL( request_file() ), this, SLOT( syncFileRequest() ) ); |
326 | connect(mSyncManager , SIGNAL( getFile( bool )), this, SLOT(getFile( bool ) ) ); | 329 | connect(mSyncManager , SIGNAL( getFile( bool )), this, SLOT(getFile( bool ) ) ); |
327 | mSyncManager->setDefaultFileName( sentSyncFile()); | 330 | mSyncManager->setDefaultFileName( sentSyncFile()); |
328 | connect ( syncMenu, SIGNAL( activated ( int ) ), mSyncManager, SLOT (slotSyncMenu( int ) ) ); | 331 | connect ( syncMenu, SIGNAL( activated ( int ) ), mSyncManager, SLOT (slotSyncMenu( int ) ) ); |
329 | mSyncManager->fillSyncMenu(); | 332 | mSyncManager->fillSyncMenu(); |
330 | 333 | ||
331 | 334 | ||
332 | 335 | ||
333 | mView->viewManager()->agendaView()->setStartHour( KOPrefs::instance()->mDayBegins ); | 336 | mView->viewManager()->agendaView()->setStartHour( KOPrefs::instance()->mDayBegins ); |
334 | if ( showWarning ) { | 337 | if ( showWarning ) { |
335 | KMessageBox::information( this, | 338 | KMessageBox::information( this, |
336 | "You are starting KO/Pi for the first time.\nPlease read menu: Help-What's New,\nif you did an update!\nPlease choose your timezone in the \nConfigure Dialog TAB Time Zone!\nPlease choose your language\nin the TAB Locale!\nYou get the Configure Dialog\nvia Menu: Actions - Configure....\nClick OK to show the Configure Dialog!\n", "KO/Pi information"); | 339 | "You are starting KO/Pi for the first time.\nPlease read menu: Help-What's New,\nif you did an update!\nPlease choose your timezone in the \nConfigure Dialog TAB Time Zone!\nPlease choose your language\nin the TAB Locale!\nYou get the Configure Dialog\nvia Menu: Actions - Configure....\nClick OK to show the Configure Dialog!\n", "KO/Pi information"); |
337 | qApp->processEvents(); | 340 | qApp->processEvents(); |
338 | mView->dialogManager()->showSyncOptions(); | 341 | mView->dialogManager()->showSyncOptions(); |
339 | } | 342 | } |
340 | 343 | ||
341 | //US listen for result adressed from Ka/Pi | 344 | //US listen for result adressed from Ka/Pi |
342 | #ifndef DESKTOP_VERSION | 345 | #ifndef DESKTOP_VERSION |
343 | connect(qApp, SIGNAL (appMessage ( const QCString &, const QByteArray & )), ExternalAppHandler::instance(), SLOT (appMessage ( const QCString &, const QByteArray & ))); | 346 | connect(qApp, SIGNAL (appMessage ( const QCString &, const QByteArray & )), ExternalAppHandler::instance(), SLOT (appMessage ( const QCString &, const QByteArray & ))); |
344 | #endif | 347 | #endif |
345 | #ifndef DESKTOP_VERSION | 348 | #ifndef DESKTOP_VERSION |
346 | infrared = 0; | 349 | infrared = 0; |
347 | #endif | 350 | #endif |
348 | updateWeek( mView->startDate() ); | 351 | updateWeek( mView->startDate() ); |
349 | connect( mView->dateNavigator(), SIGNAL( datesSelected( const KCal::DateList & ) ), | 352 | connect( mView->dateNavigator(), SIGNAL( datesSelected( const KCal::DateList & ) ), |
350 | SLOT( updateWeekNum( const KCal::DateList & ) ) ); | 353 | SLOT( updateWeekNum( const KCal::DateList & ) ) ); |
351 | mBRdisabled = false; | 354 | mBRdisabled = false; |
352 | //toggleBeamReceive(); | 355 | //toggleBeamReceive(); |
353 | } | 356 | } |
354 | MainWindow::~MainWindow() | 357 | MainWindow::~MainWindow() |
355 | { | 358 | { |
356 | //qDebug("MainWindow::~MainWindow() "); | 359 | //qDebug("MainWindow::~MainWindow() "); |
357 | //save toolbar location | 360 | //save toolbar location |
358 | delete mCalendar; | 361 | delete mCalendar; |
359 | delete mSyncManager; | 362 | delete mSyncManager; |
360 | #ifndef DESKTOP_VERSION | 363 | #ifndef DESKTOP_VERSION |
361 | if ( infrared ) | 364 | if ( infrared ) |
362 | delete infrared; | 365 | delete infrared; |
363 | #endif | 366 | #endif |
364 | 367 | ||
365 | 368 | ||
366 | } | 369 | } |
367 | 370 | ||
368 | void MainWindow::disableBR(bool b) | 371 | void MainWindow::disableBR(bool b) |
369 | { | 372 | { |
370 | #ifndef DESKTOP_VERSION | 373 | #ifndef DESKTOP_VERSION |
371 | if ( b ) { | 374 | if ( b ) { |
372 | if ( infrared ) { | 375 | if ( infrared ) { |
373 | toggleBeamReceive(); | 376 | toggleBeamReceive(); |
374 | mBRdisabled = true; | 377 | mBRdisabled = true; |
375 | } | 378 | } |
376 | mBRdisabled = true; | 379 | mBRdisabled = true; |
377 | } else { | 380 | } else { |
378 | if ( mBRdisabled ) { | 381 | if ( mBRdisabled ) { |
379 | mBRdisabled = false; | 382 | mBRdisabled = false; |
380 | //makes no sense,because other cal ap is probably running | 383 | //makes no sense,because other cal ap is probably running |
381 | // toggleBeamReceive(); | 384 | // toggleBeamReceive(); |
382 | } | 385 | } |
383 | } | 386 | } |
384 | #endif | 387 | #endif |
385 | 388 | ||
386 | } | 389 | } |
387 | bool MainWindow::beamReceiveEnabled() | 390 | bool MainWindow::beamReceiveEnabled() |
388 | { | 391 | { |
389 | #ifndef DESKTOP_VERSION | 392 | #ifndef DESKTOP_VERSION |
390 | return ( infrared != 0 ); | 393 | return ( infrared != 0 ); |
391 | #endif | 394 | #endif |
392 | return false; | 395 | return false; |
393 | } | 396 | } |
394 | 397 | ||
395 | void MainWindow::toggleBeamReceive() | 398 | void MainWindow::toggleBeamReceive() |
396 | { | 399 | { |
397 | if ( mBRdisabled ) | 400 | if ( mBRdisabled ) |
398 | return; | 401 | return; |
399 | #ifndef DESKTOP_VERSION | 402 | #ifndef DESKTOP_VERSION |
400 | if ( infrared ) { | 403 | if ( infrared ) { |
401 | qDebug("disable BeamReceive "); | 404 | qDebug("disable BeamReceive "); |
402 | delete infrared; | 405 | delete infrared; |
403 | infrared = 0; | 406 | infrared = 0; |
404 | brAction->setOn(false); | 407 | brAction->setOn(false); |
405 | return; | 408 | return; |
406 | } | 409 | } |
407 | qDebug("enable BeamReceive "); | 410 | qDebug("enable BeamReceive "); |
408 | brAction->setOn(true); | 411 | brAction->setOn(true); |
409 | infrared = new QCopChannel("QPE/Application/datebook",this, "channel" ) ; | 412 | infrared = new QCopChannel("QPE/Application/datebook",this, "channel" ) ; |
410 | QObject::connect( infrared, SIGNAL (received ( const QCString &, const QByteArray & )),this, SLOT(recieve( const QCString&, const QByteArray& ))); | 413 | QObject::connect( infrared, SIGNAL (received ( const QCString &, const QByteArray & )),this, SLOT(recieve( const QCString&, const QByteArray& ))); |
411 | #endif | 414 | #endif |
412 | } | 415 | } |
413 | void MainWindow::showMaximized () | 416 | void MainWindow::showMaximized () |
414 | { | 417 | { |
415 | #ifndef DESKTOP_VERSION | 418 | #ifndef DESKTOP_VERSION |
416 | if ( ! globalFlagBlockStartup ) | 419 | if ( ! globalFlagBlockStartup ) |
417 | if ( mClosed ) | 420 | if ( mClosed ) |
418 | mView->goToday(); | 421 | mView->goToday(); |
419 | #endif | 422 | #endif |
420 | QWidget::showMaximized () ; | 423 | QWidget::showMaximized () ; |
421 | mClosed = false; | 424 | mClosed = false; |
422 | } | 425 | } |
423 | void MainWindow::closeEvent( QCloseEvent* ce ) | 426 | void MainWindow::closeEvent( QCloseEvent* ce ) |
424 | { | 427 | { |
425 | 428 | ||
426 | 429 | ||
427 | 430 | ||
428 | if ( ! KOPrefs::instance()->mAskForQuit ) { | 431 | if ( ! KOPrefs::instance()->mAskForQuit ) { |
429 | saveOnClose(); | 432 | saveOnClose(); |
430 | mClosed = true; | 433 | mClosed = true; |
431 | ce->accept(); | 434 | ce->accept(); |
432 | return; | 435 | return; |
433 | 436 | ||
434 | } | 437 | } |
435 | 438 | ||
436 | switch( QMessageBox::information( this, "KO/Pi", | 439 | switch( QMessageBox::information( this, "KO/Pi", |
437 | i18n("Do you really want\nto close KO/Pi?"), | 440 | i18n("Do you really want\nto close KO/Pi?"), |
438 | i18n("Close"), i18n("No"), | 441 | i18n("Close"), i18n("No"), |
439 | 0, 0 ) ) { | 442 | 0, 0 ) ) { |
440 | case 0: | 443 | case 0: |
441 | saveOnClose(); | 444 | saveOnClose(); |
442 | mClosed = true; | 445 | mClosed = true; |
443 | ce->accept(); | 446 | ce->accept(); |
444 | break; | 447 | break; |
445 | case 1: | 448 | case 1: |
446 | ce->ignore(); | 449 | ce->ignore(); |
447 | break; | 450 | break; |
448 | case 2: | 451 | case 2: |
449 | 452 | ||
450 | default: | 453 | default: |
451 | break; | 454 | break; |
452 | } | 455 | } |
453 | 456 | ||
454 | 457 | ||
455 | } | 458 | } |
456 | 459 | ||
457 | void MainWindow::recieve( const QCString& cmsg, const QByteArray& data ) | 460 | void MainWindow::recieve( const QCString& cmsg, const QByteArray& data ) |
458 | { | 461 | { |
459 | QDataStream stream( data, IO_ReadOnly ); | 462 | QDataStream stream( data, IO_ReadOnly ); |
460 | // QMessageBox::about( this, "About KOrganizer/Pi", "*" +msg +"*" ); | 463 | // QMessageBox::about( this, "About KOrganizer/Pi", "*" +msg +"*" ); |
461 | //QString datamess; | 464 | //QString datamess; |
462 | //qDebug("message "); | 465 | //qDebug("message "); |
463 | qDebug("KO: QCOP message received: %s ", cmsg.data() ); | 466 | qDebug("KO: QCOP message received: %s ", cmsg.data() ); |
464 | 467 | ||
465 | if ( cmsg == "setDocument(QString)" ) { | 468 | if ( cmsg == "setDocument(QString)" ) { |
466 | QDataStream stream( data, IO_ReadOnly ); | 469 | QDataStream stream( data, IO_ReadOnly ); |
467 | QString fileName; | 470 | QString fileName; |
468 | stream >> fileName; | 471 | stream >> fileName; |
469 | //qDebug("filename %s ", fileName.latin1()); | 472 | //qDebug("filename %s ", fileName.latin1()); |
470 | showMaximized(); | 473 | showMaximized(); |
471 | raise(); | 474 | raise(); |
472 | KOPrefs::instance()->mLastSyncedLocalFile = fileName ; | 475 | KOPrefs::instance()->mLastSyncedLocalFile = fileName ; |
473 | mSyncManager->slotSyncMenu( 1002 ); | 476 | mSyncManager->slotSyncMenu( 1002 ); |
474 | return; | 477 | return; |
475 | } | 478 | } |
476 | 479 | ||
477 | if ( cmsg == "-writeFile" ) { | 480 | if ( cmsg == "-writeFile" ) { |
478 | // I made from the "-writeFile" an "-writeAlarm" | 481 | // I made from the "-writeFile" an "-writeAlarm" |
479 | mView->viewManager()->showWhatsNextView(); | 482 | mView->viewManager()->showWhatsNextView(); |
480 | mCalendar->checkAlarmForIncidence( 0, true); | 483 | mCalendar->checkAlarmForIncidence( 0, true); |
481 | showMaximized(); | 484 | showMaximized(); |
482 | raise(); | 485 | raise(); |
483 | return; | 486 | return; |
484 | 487 | ||
485 | } | 488 | } |
486 | if ( cmsg == "-writeFileSilent" ) { | 489 | if ( cmsg == "-writeFileSilent" ) { |
487 | // I made from the "-writeFile" an "-writeAlarm" | 490 | // I made from the "-writeFile" an "-writeAlarm" |
488 | // mView->viewManager()->showWhatsNextView(); | 491 | // mView->viewManager()->showWhatsNextView(); |
489 | mCalendar->checkAlarmForIncidence( 0, true); | 492 | mCalendar->checkAlarmForIncidence( 0, true); |
490 | //showMaximized(); | 493 | //showMaximized(); |
491 | //raise(); | 494 | //raise(); |
492 | hide(); | 495 | hide(); |
493 | return; | 496 | return; |
494 | } | 497 | } |
495 | if ( cmsg == "-newCountdown" ) { | 498 | if ( cmsg == "-newCountdown" ) { |
496 | qDebug("newCountdown "); | 499 | qDebug("newCountdown "); |
497 | 500 | ||
498 | } | 501 | } |
499 | QString msg ; | 502 | QString msg ; |
500 | QString allmsg = cmsg; | 503 | QString allmsg = cmsg; |
501 | while ( allmsg.length() > 0 ) { | 504 | while ( allmsg.length() > 0 ) { |
502 | int nextC = allmsg.find( "-", 1 ); | 505 | int nextC = allmsg.find( "-", 1 ); |
503 | if ( nextC == -1 ) { | 506 | if ( nextC == -1 ) { |
504 | msg = allmsg; | 507 | msg = allmsg; |
505 | allmsg = ""; | 508 | allmsg = ""; |
506 | } else{ | 509 | } else{ |
507 | msg = allmsg.left( nextC ); | 510 | msg = allmsg.left( nextC ); |
508 | allmsg = allmsg.mid( nextC, allmsg.length()-nextC ); | 511 | allmsg = allmsg.mid( nextC, allmsg.length()-nextC ); |
509 | } | 512 | } |
510 | //qDebug("msg: %s all: %s ", msg.latin1(), allmsg.latin1() ); | 513 | //qDebug("msg: %s all: %s ", msg.latin1(), allmsg.latin1() ); |
511 | if ( msg == "-newEvent" ) { | 514 | if ( msg == "-newEvent" ) { |
512 | mView->newEvent(); | 515 | mView->newEvent(); |
513 | } | 516 | } |
514 | if ( msg == "-newTodo" ) { | 517 | if ( msg == "-newTodo" ) { |
515 | mView->newTodo(); | 518 | mView->newTodo(); |
516 | 519 | ||
517 | } | 520 | } |
518 | if ( msg == "-showWN" ) { | 521 | if ( msg == "-showWN" ) { |
519 | mView->viewManager()->showWhatsNextView(); | 522 | mView->viewManager()->showWhatsNextView(); |
520 | } | 523 | } |
521 | if ( msg == "-showTodo" ) { | 524 | if ( msg == "-showTodo" ) { |
522 | mView->viewManager()->showTodoView(); | 525 | mView->viewManager()->showTodoView(); |
523 | } | 526 | } |
524 | if ( msg == "-showList" ) { | 527 | if ( msg == "-showList" ) { |
525 | mView->viewManager()->showListView(); | 528 | mView->viewManager()->showListView(); |
526 | } | 529 | } |
527 | else if ( msg == "-showDay" ) { | 530 | else if ( msg == "-showDay" ) { |
528 | mView->viewManager()->showDayView(); | 531 | mView->viewManager()->showDayView(); |
529 | } | 532 | } |
530 | else if ( msg == "-showWWeek" ) { | 533 | else if ( msg == "-showWWeek" ) { |
531 | mView->viewManager()->showWorkWeekView(); | 534 | mView->viewManager()->showWorkWeekView(); |
532 | } | 535 | } |
533 | else if ( msg == "-ringSync" ) { | 536 | else if ( msg == "-ringSync" ) { |
534 | mSyncManager->multiSync( false ); | 537 | mSyncManager->multiSync( false ); |
535 | } | 538 | } |
536 | else if ( msg == "-showWeek" ) { | 539 | else if ( msg == "-showWeek" ) { |
537 | mView->viewManager()->showWeekView(); | 540 | mView->viewManager()->showWeekView(); |
538 | } | 541 | } |
539 | else if ( msg == "-showTodo" ) { | 542 | else if ( msg == "-showTodo" ) { |
540 | mView->viewManager()->showTodoView(); | 543 | mView->viewManager()->showTodoView(); |
541 | } | 544 | } |
542 | else if ( msg == "-showJournal" ) { | 545 | else if ( msg == "-showJournal" ) { |
543 | mView->dateNavigator()->selectDates( 1 ); | 546 | mView->dateNavigator()->selectDates( 1 ); |
544 | mView->dateNavigator()->selectToday(); | 547 | mView->dateNavigator()->selectToday(); |
545 | mView->viewManager()->showJournalView(); | 548 | mView->viewManager()->showJournalView(); |
546 | } | 549 | } |
547 | else if ( msg == "-showKO" ) { | 550 | else if ( msg == "-showKO" ) { |
548 | mView->viewManager()->showNextXView(); | 551 | mView->viewManager()->showNextXView(); |
549 | } | 552 | } |
550 | else if ( msg == "-showWNext" ) { | 553 | else if ( msg == "-showWNext" ) { |
551 | mView->viewManager()->showWhatsNextView(); | 554 | mView->viewManager()->showWhatsNextView(); |
552 | } | 555 | } |
553 | else if ( msg == "nextView()" ) { | 556 | else if ( msg == "nextView()" ) { |
554 | mView->viewManager()->showNextView(); | 557 | mView->viewManager()->showNextView(); |
555 | } | 558 | } |
556 | else if ( msg == "-showNextXView" ) { | 559 | else if ( msg == "-showNextXView" ) { |
557 | mView->viewManager()->showNextXView(); | 560 | mView->viewManager()->showNextXView(); |
558 | } | 561 | } |
559 | 562 | ||
560 | 563 | ||
561 | } | 564 | } |
562 | 565 | ||
563 | showMaximized(); | 566 | showMaximized(); |
564 | raise(); | 567 | raise(); |
565 | } | 568 | } |
566 | 569 | ||
567 | QPixmap MainWindow::loadPixmap( QString name ) | 570 | QPixmap MainWindow::loadPixmap( QString name ) |
568 | { | 571 | { |
569 | return SmallIcon( name ); | 572 | return SmallIcon( name ); |
570 | 573 | ||
571 | } | 574 | } |
572 | void MainWindow::initActions() | 575 | void MainWindow::initActions() |
573 | { | 576 | { |
574 | //KOPrefs::instance()->mShowFullMenu | 577 | //KOPrefs::instance()->mShowFullMenu |
575 | iconToolBar->clear(); | 578 | iconToolBar->clear(); |
576 | KOPrefs *p = KOPrefs::instance(); | 579 | KOPrefs *p = KOPrefs::instance(); |
577 | //QPEMenuBar *menuBar1;// = new QPEMenuBar( iconToolBar ); | 580 | //QPEMenuBar *menuBar1;// = new QPEMenuBar( iconToolBar ); |
578 | 581 | ||
579 | QPopupMenu *viewMenu = new QPopupMenu( this ); | 582 | QPopupMenu *viewMenu = new QPopupMenu( this ); |
580 | QPopupMenu *actionMenu = new QPopupMenu( this ); | 583 | QPopupMenu *actionMenu = new QPopupMenu( this ); |
581 | QPopupMenu *importMenu = new QPopupMenu( this ); | 584 | QPopupMenu *importMenu = new QPopupMenu( this ); |
582 | QPopupMenu *importMenu_X = new QPopupMenu( this ); | 585 | QPopupMenu *importMenu_X = new QPopupMenu( this ); |
583 | QPopupMenu *exportMenu_X = new QPopupMenu( this ); | 586 | QPopupMenu *exportMenu_X = new QPopupMenu( this ); |
584 | QPopupMenu *beamMenu_X = new QPopupMenu( this ); | 587 | QPopupMenu *beamMenu_X = new QPopupMenu( this ); |
585 | selectFilterMenu = new QPopupMenu( this ); | 588 | selectFilterMenu = new QPopupMenu( this ); |
586 | selectFilterMenu->setCheckable( true ); | 589 | selectFilterMenu->setCheckable( true ); |
587 | syncMenu = new QPopupMenu( this ); | 590 | syncMenu = new QPopupMenu( this ); |
588 | configureAgendaMenu = new QPopupMenu( this ); | 591 | configureAgendaMenu = new QPopupMenu( this ); |
589 | configureToolBarMenu = new QPopupMenu( this ); | 592 | configureToolBarMenu = new QPopupMenu( this ); |
590 | QPopupMenu *helpMenu = new QPopupMenu( this ); | 593 | QPopupMenu *helpMenu = new QPopupMenu( this ); |
591 | QIconSet icon; | 594 | QIconSet icon; |
592 | int pixWid = 22, pixHei = 22; | 595 | int pixWid = 22, pixHei = 22; |
593 | QString pathString = ""; | 596 | QString pathString = ""; |
594 | if ( !p->mToolBarMiniIcons ) { | 597 | if ( !p->mToolBarMiniIcons ) { |
595 | if ( QApplication::desktop()->width() < 480 ) { | 598 | if ( QApplication::desktop()->width() < 480 ) { |
596 | pathString += "icons16/"; | 599 | pathString += "icons16/"; |
597 | pixWid = 18; pixHei = 16; | 600 | pixWid = 18; pixHei = 16; |
598 | } | 601 | } |
599 | } else { | 602 | } else { |
600 | pathString += "iconsmini/"; | 603 | pathString += "iconsmini/"; |
601 | pixWid = 18; pixHei = 16; | 604 | pixWid = 18; pixHei = 16; |
602 | } | 605 | } |
603 | if ( KOPrefs::instance()->mShowFullMenu ) { | 606 | if ( KOPrefs::instance()->mShowFullMenu ) { |
604 | QMenuBar *menuBar1; | 607 | QMenuBar *menuBar1; |
605 | menuBar1 = menuBar(); | 608 | menuBar1 = menuBar(); |
606 | menuBar1->insertItem( i18n("File"), importMenu ); | 609 | menuBar1->insertItem( i18n("File"), importMenu ); |
607 | menuBar1->insertItem( i18n("View"), viewMenu ); | 610 | menuBar1->insertItem( i18n("View"), viewMenu ); |
608 | menuBar1->insertItem( i18n("Actions"), actionMenu ); | 611 | menuBar1->insertItem( i18n("Actions"), actionMenu ); |
609 | #ifdef DESKTOP_VERSION | 612 | #ifdef DESKTOP_VERSION |
610 | menuBar1->insertItem( i18n("Synchronize"), syncMenu ); | 613 | menuBar1->insertItem( i18n("Synchronize"), syncMenu ); |
611 | menuBar1->insertItem( i18n("AgendaSize"),configureAgendaMenu ); | 614 | menuBar1->insertItem( i18n("AgendaSize"),configureAgendaMenu ); |
612 | #else | 615 | #else |
613 | menuBar1->insertItem( i18n("Sync"), syncMenu ); | 616 | menuBar1->insertItem( i18n("Sync"), syncMenu ); |
614 | menuBar1->insertItem( i18n("Agenda"),configureAgendaMenu ); | 617 | menuBar1->insertItem( i18n("Agenda"),configureAgendaMenu ); |
615 | #endif | 618 | #endif |
616 | //menuBar1->insertItem( i18n("Toolbar"),configureToolBarMenu ); | 619 | //menuBar1->insertItem( i18n("Toolbar"),configureToolBarMenu ); |
617 | menuBar1->insertItem( i18n("Filter"),selectFilterMenu ); | 620 | menuBar1->insertItem( i18n("Filter"),selectFilterMenu ); |
618 | menuBar1->insertItem( i18n("Help"), helpMenu ); | 621 | menuBar1->insertItem( i18n("Help"), helpMenu ); |
619 | } else { | 622 | } else { |
620 | QPEMenuBar *menuBar1; | 623 | QPEMenuBar *menuBar1; |
621 | menuBar1 = new QPEMenuBar( iconToolBar ); | 624 | menuBar1 = new QPEMenuBar( iconToolBar ); |
622 | QPopupMenu *menuBar = new QPopupMenu( this ); | 625 | QPopupMenu *menuBar = new QPopupMenu( this ); |
623 | icon = loadPixmap( pathString + "z_menu" ); | 626 | icon = loadPixmap( pathString + "z_menu" ); |
624 | menuBar1->insertItem( icon.pixmap(), menuBar); | 627 | menuBar1->insertItem( icon.pixmap(), menuBar); |
625 | //menuBar1->insertItem( i18n("ME"), menuBar); | 628 | //menuBar1->insertItem( i18n("ME"), menuBar); |
626 | menuBar->insertItem( i18n("File"), importMenu ); | 629 | menuBar->insertItem( i18n("File"), importMenu ); |
627 | menuBar->insertItem( i18n("View"), viewMenu ); | 630 | menuBar->insertItem( i18n("View"), viewMenu ); |
628 | menuBar->insertItem( i18n("Actions"), actionMenu ); | 631 | menuBar->insertItem( i18n("Actions"), actionMenu ); |
629 | menuBar->insertItem( i18n("Synchronize"), syncMenu ); | 632 | menuBar->insertItem( i18n("Synchronize"), syncMenu ); |
630 | menuBar->insertItem( i18n("AgendaSize"),configureAgendaMenu ); | 633 | menuBar->insertItem( i18n("AgendaSize"),configureAgendaMenu ); |
631 | menuBar->insertItem( i18n("Toolbar"),configureToolBarMenu ); | 634 | menuBar->insertItem( i18n("Toolbar"),configureToolBarMenu ); |
632 | menuBar->insertItem( i18n("Filter"),selectFilterMenu ); | 635 | menuBar->insertItem( i18n("Filter"),selectFilterMenu ); |
633 | menuBar->insertItem( i18n("Help"), helpMenu ); | 636 | menuBar->insertItem( i18n("Help"), helpMenu ); |
634 | //menuBar1->setMaximumWidth( menuBar1->sizeHint().width() ); | 637 | //menuBar1->setMaximumWidth( menuBar1->sizeHint().width() ); |
635 | menuBar1->setMaximumSize( menuBar1->sizeHint( )); | 638 | menuBar1->setMaximumSize( menuBar1->sizeHint( )); |
636 | } | 639 | } |
637 | connect ( selectFilterMenu, SIGNAL( activated ( int ) ), this, SLOT (selectFilter( int ) ) ); | 640 | connect ( selectFilterMenu, SIGNAL( activated ( int ) ), this, SLOT (selectFilter( int ) ) ); |
638 | connect ( selectFilterMenu, SIGNAL( aboutToShow() ), this, SLOT (fillFilterMenu() ) ); | 641 | connect ( selectFilterMenu, SIGNAL( aboutToShow() ), this, SLOT (fillFilterMenu() ) ); |
639 | mWeekBgColor = iconToolBar->backgroundColor(); | 642 | mWeekBgColor = iconToolBar->backgroundColor(); |
640 | mWeekPixmap.resize( pixWid , pixHei ); | 643 | mWeekPixmap.resize( pixWid , pixHei ); |
641 | mWeekPixmap.fill( mWeekBgColor ); | 644 | mWeekPixmap.fill( mWeekBgColor ); |
642 | icon = mWeekPixmap; | 645 | icon = mWeekPixmap; |
643 | mWeekAction = new QAction( i18n("Select week number"),icon, i18n("Select week number"), 0, this ); | 646 | mWeekAction = new QAction( i18n("Select week number"),icon, i18n("Select week number"), 0, this ); |
644 | if ( p-> mShowIconWeekNum ) | 647 | if ( p-> mShowIconWeekNum ) |
645 | mWeekAction->addTo( iconToolBar ); | 648 | mWeekAction->addTo( iconToolBar ); |
646 | mWeekFont = font(); | 649 | mWeekFont = font(); |
647 | 650 | ||
648 | int fontPoint = mWeekFont.pointSize(); | 651 | int fontPoint = mWeekFont.pointSize(); |
649 | QFontMetrics f( mWeekFont ); | 652 | QFontMetrics f( mWeekFont ); |
650 | int fontWid = f.width( "30" ); | 653 | int fontWid = f.width( "30" ); |
651 | while ( fontWid > pixWid ) { | 654 | while ( fontWid > pixWid ) { |
652 | --fontPoint; | 655 | --fontPoint; |
653 | mWeekFont.setPointSize( fontPoint ); | 656 | mWeekFont.setPointSize( fontPoint ); |
654 | QFontMetrics f( mWeekFont ); | 657 | QFontMetrics f( mWeekFont ); |
655 | fontWid = f.width( "30" ); | 658 | fontWid = f.width( "30" ); |
656 | //qDebug("dec-- "); | 659 | //qDebug("dec-- "); |
657 | } | 660 | } |
658 | 661 | ||
659 | connect( mWeekAction, SIGNAL( activated() ), | 662 | connect( mWeekAction, SIGNAL( activated() ), |
660 | this, SLOT( weekAction() ) ); | 663 | this, SLOT( weekAction() ) ); |
661 | 664 | ||
662 | connect( this, SIGNAL( selectWeek ( int ) ), mView->dateNavigator(), SLOT( selectWeek ( int ) ) ); | 665 | connect( this, SIGNAL( selectWeek ( int ) ), mView->dateNavigator(), SLOT( selectWeek ( int ) ) ); |
663 | 666 | ||
664 | //#endif | 667 | //#endif |
665 | // ****************** | 668 | // ****************** |
666 | QAction *action; | 669 | QAction *action; |
667 | // QPopupMenu *configureMenu= new QPopupMenu( menuBar ); | 670 | // QPopupMenu *configureMenu= new QPopupMenu( menuBar ); |
668 | configureToolBarMenu->setCheckable( true ); | 671 | configureToolBarMenu->setCheckable( true ); |
669 | 672 | ||
670 | 673 | ||
671 | configureAgendaMenu->setCheckable( true ); | 674 | configureAgendaMenu->setCheckable( true ); |
672 | int iii ; | 675 | int iii ; |
673 | for ( iii = 1;iii<= 10 ;++iii ){ | 676 | for ( iii = 1;iii<= 10 ;++iii ){ |
674 | configureAgendaMenu->insertItem(i18n("Size %1").arg(iii), (iii+1)*2 ); | 677 | configureAgendaMenu->insertItem(i18n("Size %1").arg(iii), (iii+1)*2 ); |
675 | } | 678 | } |
676 | //configureMenu->insertItem( "AgendaSize",configureAgendaMenu ); | 679 | //configureMenu->insertItem( "AgendaSize",configureAgendaMenu ); |
677 | 680 | ||
678 | connect( configureAgendaMenu, SIGNAL( aboutToShow()), | 681 | connect( configureAgendaMenu, SIGNAL( aboutToShow()), |
679 | this, SLOT( showConfigureAgenda( ) ) ); | 682 | this, SLOT( showConfigureAgenda( ) ) ); |
680 | 683 | ||
681 | icon = loadPixmap( pathString + "configure" ); | 684 | icon = loadPixmap( pathString + "configure" ); |
682 | action = new QAction( i18n("Configure"),icon, i18n("Configure..."), 0, this ); | 685 | action = new QAction( i18n("Configure"),icon, i18n("Configure..."), 0, this ); |
683 | action->addTo( actionMenu ); | 686 | action->addTo( actionMenu ); |
684 | connect( action, SIGNAL( activated() ), | 687 | connect( action, SIGNAL( activated() ), |
685 | mView, SLOT( edit_options() ) ); | 688 | mView, SLOT( edit_options() ) ); |
686 | actionMenu->insertSeparator(); | 689 | actionMenu->insertSeparator(); |
687 | 690 | ||
688 | action = new QAction( i18n("Undo Delete"), i18n("Undo Delete..."), 0, this ); | 691 | action = new QAction( i18n("Undo Delete"), i18n("Undo Delete..."), 0, this ); |
689 | action->addTo( actionMenu ); | 692 | action->addTo( actionMenu ); |
690 | connect( action, SIGNAL( activated() ), | 693 | connect( action, SIGNAL( activated() ), |
691 | mView, SLOT( undo_delete() ) ); | 694 | mView, SLOT( undo_delete() ) ); |
692 | actionMenu->insertSeparator(); | 695 | actionMenu->insertSeparator(); |
693 | 696 | ||
694 | icon = loadPixmap( pathString + "newevent" ); | 697 | icon = loadPixmap( pathString + "newevent" ); |
695 | configureToolBarMenu->insertItem(i18n("Stretched TB"), 5 ); | 698 | configureToolBarMenu->insertItem(i18n("Stretched TB"), 5 ); |
699 | configureToolBarMenu->insertItem(i18n("Only one toolbar"), 6 ); | ||
696 | configureToolBarMenu->insertSeparator(); | 700 | configureToolBarMenu->insertSeparator(); |
697 | configureToolBarMenu->insertItem(i18n("Filtermenu"), 7 ); | 701 | configureToolBarMenu->insertItem(i18n("Filtermenu"), 7 ); |
698 | configureToolBarMenu->insertSeparator(); | 702 | configureToolBarMenu->insertSeparator(); |
699 | configureToolBarMenu->insertItem(i18n("Week Number"), 400); | 703 | configureToolBarMenu->insertItem(i18n("Week Number"), 400); |
700 | configureToolBarMenu->insertItem(icon, i18n("New Event..."), 10 ); | 704 | configureToolBarMenu->insertItem(icon, i18n("New Event..."), 10 ); |
701 | QAction* ne_action = new QAction( i18n("New Event..."), icon, i18n("New Event..."), 0, this ); | 705 | QAction* ne_action = new QAction( i18n("New Event..."), icon, i18n("New Event..."), 0, this ); |
702 | ne_action->addTo( actionMenu ); | 706 | ne_action->addTo( actionMenu ); |
703 | connect( ne_action, SIGNAL( activated() ), | 707 | connect( ne_action, SIGNAL( activated() ), |
704 | mView, SLOT( newEvent() ) ); | 708 | mView, SLOT( newEvent() ) ); |
705 | icon = loadPixmap( pathString + "newtodo" ); | 709 | icon = loadPixmap( pathString + "newtodo" ); |
706 | configureToolBarMenu->insertItem(icon, i18n("New Todo..."), 20 ); | 710 | configureToolBarMenu->insertItem(icon, i18n("New Todo..."), 20 ); |
707 | QAction* nt_action = new QAction( i18n("New Todo..."), icon, i18n("New Todo..."), 0, this ); | 711 | QAction* nt_action = new QAction( i18n("New Todo..."), icon, i18n("New Todo..."), 0, this ); |
708 | nt_action->addTo( actionMenu ); | 712 | nt_action->addTo( actionMenu ); |
709 | connect( nt_action, SIGNAL( activated() ), | 713 | connect( nt_action, SIGNAL( activated() ), |
710 | mView, SLOT( newTodo() ) ); | 714 | mView, SLOT( newTodo() ) ); |
711 | 715 | ||
712 | icon = loadPixmap( pathString + "today" ); | 716 | icon = loadPixmap( pathString + "today" ); |
713 | QAction* today_action = new QAction( i18n("Go to Today"), icon, i18n("Go to Today"), 0, this ); | 717 | QAction* today_action = new QAction( i18n("Go to Today"), icon, i18n("Go to Today"), 0, this ); |
714 | today_action->addTo( viewMenu ); | 718 | today_action->addTo( viewMenu ); |
715 | connect( today_action, SIGNAL( activated() ), | 719 | connect( today_action, SIGNAL( activated() ), |
716 | mView, SLOT( goToday() ) ); | 720 | mView, SLOT( goToday() ) ); |
717 | viewMenu->insertSeparator(); | 721 | viewMenu->insertSeparator(); |
718 | 722 | ||
719 | icon = loadPixmap( pathString + "navi" ); | 723 | icon = loadPixmap( pathString + "navi" ); |
720 | action = new QAction( i18n("Toggle DateNavigator"), icon, i18n("Toggle DateNavigator"), 0, this ); | 724 | action = new QAction( i18n("Toggle DateNavigator"), icon, i18n("Toggle DateNavigator"), 0, this ); |
721 | action->addTo( viewMenu ); | 725 | action->addTo( viewMenu ); |
722 | connect( action, SIGNAL( activated() ), | 726 | connect( action, SIGNAL( activated() ), |
723 | mView, SLOT( toggleDateNavigatorWidget() ) ); | 727 | mView, SLOT( toggleDateNavigatorWidget() ) ); |
724 | mToggleNav = action ; | 728 | mToggleNav = action ; |
725 | icon = loadPixmap( pathString + "filter" ); | 729 | icon = loadPixmap( pathString + "filter" ); |
726 | action = new QAction( i18n("Toggle FilterView"), icon, i18n("Toggle FilterView"), 0, this ); | 730 | action = new QAction( i18n("Toggle FilterView"), icon, i18n("Toggle FilterView"), 0, this ); |
727 | action->addTo( viewMenu ); | 731 | action->addTo( viewMenu ); |
728 | connect( action, SIGNAL( activated() ), | 732 | connect( action, SIGNAL( activated() ), |
729 | mView, SLOT( toggleFilter() ) ); | 733 | mView, SLOT( toggleFilter() ) ); |
730 | mToggleFilter = action; | 734 | mToggleFilter = action; |
731 | icon = loadPixmap( pathString + "allday" ); | 735 | icon = loadPixmap( pathString + "allday" ); |
732 | action = new QAction( i18n("Toggle Allday"), icon,i18n("Toggle Allday"), 0, this ); | 736 | action = new QAction( i18n("Toggle Allday"), icon,i18n("Toggle Allday"), 0, this ); |
733 | action->addTo( viewMenu ); | 737 | action->addTo( viewMenu ); |
734 | connect( action, SIGNAL( activated() ), | 738 | connect( action, SIGNAL( activated() ), |
735 | mView, SLOT( toggleAllDaySize() ) ); | 739 | mView, SLOT( toggleAllDaySize() ) ); |
736 | mToggleAllday = action; | 740 | mToggleAllday = action; |
737 | 741 | ||
738 | 742 | ||
739 | connect( mView->viewManager(), SIGNAL( signalFullScreen( bool ) ), | 743 | connect( mView->viewManager(), SIGNAL( signalFullScreen( bool ) ), |
740 | mToggleNav, SLOT( setEnabled ( bool ) ) ); | 744 | mToggleNav, SLOT( setEnabled ( bool ) ) ); |
741 | connect( mView->viewManager(), SIGNAL( signalFullScreen( bool ) ), | 745 | connect( mView->viewManager(), SIGNAL( signalFullScreen( bool ) ), |
742 | mToggleFilter, SLOT( setEnabled ( bool ) ) ); | 746 | mToggleFilter, SLOT( setEnabled ( bool ) ) ); |
743 | connect( mView->viewManager(), SIGNAL( signalAgendaView( bool ) ), | 747 | connect( mView->viewManager(), SIGNAL( signalAgendaView( bool ) ), |
744 | mToggleAllday, SLOT( setEnabled ( bool ) ) ); | 748 | mToggleAllday, SLOT( setEnabled ( bool ) ) ); |
745 | 749 | ||
746 | viewMenu->insertSeparator(); | 750 | viewMenu->insertSeparator(); |
747 | icon = loadPixmap( pathString + "picker" ); | 751 | icon = loadPixmap( pathString + "picker" ); |
748 | action = new QAction( i18n("Date Picker"), icon, i18n("Date Picker"), 0, this ); | 752 | action = new QAction( i18n("Date Picker"), icon, i18n("Date Picker"), 0, this ); |
749 | action->addTo( viewMenu ); | 753 | action->addTo( viewMenu ); |
750 | connect( action, SIGNAL( activated() ), | 754 | connect( action, SIGNAL( activated() ), |
751 | mView, SLOT( showDatePicker() ) ); | 755 | mView, SLOT( showDatePicker() ) ); |
752 | action->addTo( iconToolBar ); | 756 | action->addTo( iconToolBar ); |
753 | viewMenu->insertSeparator(); | 757 | viewMenu->insertSeparator(); |
754 | 758 | ||
755 | 759 | ||
756 | icon = loadPixmap( pathString + "whatsnext" ); | 760 | icon = loadPixmap( pathString + "whatsnext" ); |
757 | configureToolBarMenu->insertItem(icon, i18n("What's Next"), 110 ); | 761 | configureToolBarMenu->insertItem(icon, i18n("What's Next"), 110 ); |
758 | QAction* whatsnext_action = new QAction( i18n("What's Next"), icon, i18n("What's Next"), 0, this ); | 762 | QAction* whatsnext_action = new QAction( i18n("What's Next"), icon, i18n("What's Next"), 0, this ); |
759 | whatsnext_action->addTo( viewMenu ); | 763 | whatsnext_action->addTo( viewMenu ); |
760 | connect( whatsnext_action, SIGNAL( activated() ), | 764 | connect( whatsnext_action, SIGNAL( activated() ), |
761 | mView->viewManager(), SLOT( showWhatsNextView() ) ); | 765 | mView->viewManager(), SLOT( showWhatsNextView() ) ); |
762 | 766 | ||
763 | icon = loadPixmap( pathString + "xdays" ); | 767 | icon = loadPixmap( pathString + "xdays" ); |
764 | configureToolBarMenu->insertItem(icon, i18n("Next days"), 100 ); | 768 | configureToolBarMenu->insertItem(icon, i18n("Next days"), 100 ); |
765 | QAction* xdays_action = new QAction( i18n("Next days"), icon, i18n("Next days"), 0, this ); | 769 | QAction* xdays_action = new QAction( i18n("Next days"), icon, i18n("Next days"), 0, this ); |
766 | xdays_action->addTo( viewMenu ); | 770 | xdays_action->addTo( viewMenu ); |
767 | connect( xdays_action, SIGNAL( activated() ), | 771 | connect( xdays_action, SIGNAL( activated() ), |
768 | mView->viewManager(), SLOT( showNextXView() ) ); | 772 | mView->viewManager(), SLOT( showNextXView() ) ); |
769 | 773 | ||
770 | 774 | ||
771 | icon = loadPixmap( pathString + "journal" ); | 775 | icon = loadPixmap( pathString + "journal" ); |
772 | configureToolBarMenu->insertItem(icon, i18n("Journal"), 90 ); | 776 | configureToolBarMenu->insertItem(icon, i18n("Journal"), 90 ); |
773 | QAction* viewjournal_action = new QAction( i18n("Journal"), icon, i18n("Journal"), 0, this ); | 777 | QAction* viewjournal_action = new QAction( i18n("Journal"), icon, i18n("Journal"), 0, this ); |
774 | viewjournal_action->addTo( viewMenu ); | 778 | viewjournal_action->addTo( viewMenu ); |
775 | connect( viewjournal_action, SIGNAL( activated() ), | 779 | connect( viewjournal_action, SIGNAL( activated() ), |
776 | mView->viewManager(), SLOT( showJournalView() ) ); | 780 | mView->viewManager(), SLOT( showJournalView() ) ); |
777 | 781 | ||
778 | 782 | ||
779 | icon = loadPixmap( pathString + "day" ); | 783 | icon = loadPixmap( pathString + "day" ); |
780 | configureToolBarMenu->insertItem(icon, i18n("Day View"), 40 ); | 784 | configureToolBarMenu->insertItem(icon, i18n("Day View"), 40 ); |
781 | QAction* day1_action = new QAction( i18n("Day View"), icon, i18n("Day View"), 0, this ); | 785 | QAction* day1_action = new QAction( i18n("Day View"), icon, i18n("Day View"), 0, this ); |
782 | day1_action->addTo( viewMenu ); | 786 | day1_action->addTo( viewMenu ); |
783 | // action->addTo( toolBar ); | 787 | // action->addTo( toolBar ); |
784 | connect( day1_action, SIGNAL( activated() ), | 788 | connect( day1_action, SIGNAL( activated() ), |
785 | mView->viewManager(), SLOT( showDayView() ) ); | 789 | mView->viewManager(), SLOT( showDayView() ) ); |
786 | 790 | ||
787 | icon = loadPixmap( pathString + "workweek" ); | 791 | icon = loadPixmap( pathString + "workweek" ); |
788 | configureToolBarMenu->insertItem(icon, i18n("Work Week"), 50 ); | 792 | configureToolBarMenu->insertItem(icon, i18n("Work Week"), 50 ); |
789 | QAction* day5_action = new QAction( i18n("Work Week"), icon, i18n("Work Week"), 0, this ); | 793 | QAction* day5_action = new QAction( i18n("Work Week"), icon, i18n("Work Week"), 0, this ); |
790 | day5_action->addTo( viewMenu ); | 794 | day5_action->addTo( viewMenu ); |
791 | connect( day5_action, SIGNAL( activated() ), | 795 | connect( day5_action, SIGNAL( activated() ), |
792 | mView->viewManager(), SLOT( showWorkWeekView() ) ); | 796 | mView->viewManager(), SLOT( showWorkWeekView() ) ); |
793 | 797 | ||
794 | icon = loadPixmap( pathString + "week" ); | 798 | icon = loadPixmap( pathString + "week" ); |
795 | configureToolBarMenu->insertItem(icon, i18n("Week"), 60 ); | 799 | configureToolBarMenu->insertItem(icon, i18n("Week"), 60 ); |
796 | QAction* day7_action = new QAction( i18n("Week"), icon, i18n("Week"), 0, this ); | 800 | QAction* day7_action = new QAction( i18n("Week"), icon, i18n("Week"), 0, this ); |
797 | day7_action->addTo( viewMenu ); | 801 | day7_action->addTo( viewMenu ); |
798 | connect( day7_action, SIGNAL( activated() ), | 802 | connect( day7_action, SIGNAL( activated() ), |
799 | mView->viewManager(), SLOT( showWeekView() ) ); | 803 | mView->viewManager(), SLOT( showWeekView() ) ); |
800 | 804 | ||
801 | icon = loadPixmap( pathString + "workweek2" ); | 805 | icon = loadPixmap( pathString + "workweek2" ); |
802 | configureToolBarMenu->insertItem(icon, i18n("List week view"), 75 ); | 806 | configureToolBarMenu->insertItem(icon, i18n("List week view"), 75 ); |
803 | QAction* day6_action = new QAction( i18n("List week"), icon, i18n("List week"), 0, this ); | 807 | QAction* day6_action = new QAction( i18n("List week"), icon, i18n("List week"), 0, this ); |
804 | day6_action->addTo( viewMenu ); | 808 | day6_action->addTo( viewMenu ); |
805 | connect( day6_action, SIGNAL( activated() ), | 809 | connect( day6_action, SIGNAL( activated() ), |
806 | mView->viewManager(), SLOT( showMonthViewWeek() ) ); | 810 | mView->viewManager(), SLOT( showMonthViewWeek() ) ); |
807 | 811 | ||
808 | icon = loadPixmap( pathString + "month" ); | 812 | icon = loadPixmap( pathString + "month" ); |
809 | configureToolBarMenu->insertItem(icon, i18n("Month"), 70 ); | 813 | configureToolBarMenu->insertItem(icon, i18n("Month"), 70 ); |
810 | QAction* month_action = new QAction( i18n("Month"), icon, i18n("Month"), 0, this ); | 814 | QAction* month_action = new QAction( i18n("Month"), icon, i18n("Month"), 0, this ); |
811 | month_action->addTo( viewMenu ); | 815 | month_action->addTo( viewMenu ); |
812 | connect( month_action, SIGNAL( activated() ), | 816 | connect( month_action, SIGNAL( activated() ), |
813 | mView->viewManager(), SLOT( showMonthView() ) ); | 817 | mView->viewManager(), SLOT( showMonthView() ) ); |
814 | 818 | ||
815 | icon = loadPixmap( pathString + "list" ); | 819 | icon = loadPixmap( pathString + "list" ); |
816 | configureToolBarMenu->insertItem(icon, i18n("List View"), 30 ); | 820 | configureToolBarMenu->insertItem(icon, i18n("List View"), 30 ); |
817 | QAction* showlist_action = new QAction( i18n("List View"), icon, i18n("List View"), 0, this ); | 821 | QAction* showlist_action = new QAction( i18n("List View"), icon, i18n("List View"), 0, this ); |
818 | showlist_action->addTo( viewMenu ); | 822 | showlist_action->addTo( viewMenu ); |
819 | connect( showlist_action, SIGNAL( activated() ), | 823 | connect( showlist_action, SIGNAL( activated() ), |
820 | mView->viewManager(), SLOT( showListView() ) ); | 824 | mView->viewManager(), SLOT( showListView() ) ); |
821 | 825 | ||
822 | icon = loadPixmap( pathString + "todo" ); | 826 | icon = loadPixmap( pathString + "todo" ); |
823 | configureToolBarMenu->insertItem(icon, i18n("Todo View"), 80 ); | 827 | configureToolBarMenu->insertItem(icon, i18n("Todo View"), 80 ); |
824 | QAction* todoview_action = new QAction( i18n("Todo View"), icon, i18n("Todo View"), 0, this ); | 828 | QAction* todoview_action = new QAction( i18n("Todo View"), icon, i18n("Todo View"), 0, this ); |
825 | todoview_action->addTo( viewMenu ); | 829 | todoview_action->addTo( viewMenu ); |
826 | connect( todoview_action, SIGNAL( activated() ), | 830 | connect( todoview_action, SIGNAL( activated() ), |
827 | mView->viewManager(), SLOT( showTodoView() ) ); | 831 | mView->viewManager(), SLOT( showTodoView() ) ); |
828 | 832 | ||
829 | 833 | ||
830 | 834 | ||
831 | #if 0 | 835 | #if 0 |
832 | action = new QAction( "view_timespan", "Time Span", 0, this ); | 836 | action = new QAction( "view_timespan", "Time Span", 0, this ); |
833 | action->addTo( viewMenu ); | 837 | action->addTo( viewMenu ); |
834 | connect( action, SIGNAL( activated() ), | 838 | connect( action, SIGNAL( activated() ), |
835 | mView->viewManager(), SLOT( showTimeSpanView() ) ); | 839 | mView->viewManager(), SLOT( showTimeSpanView() ) ); |
836 | #endif | 840 | #endif |
837 | 841 | ||
838 | mNewSubTodoAction = new QAction( "new_subtodo", i18n("New Sub-Todo..."), 0, | 842 | mNewSubTodoAction = new QAction( "new_subtodo", i18n("New Sub-Todo..."), 0, |
839 | this ); | 843 | this ); |
840 | mNewSubTodoAction->addTo( actionMenu ); | 844 | mNewSubTodoAction->addTo( actionMenu ); |
841 | connect( mNewSubTodoAction, SIGNAL( activated() ), | 845 | connect( mNewSubTodoAction, SIGNAL( activated() ), |
842 | mView, SLOT( newSubTodo() ) ); | 846 | mView, SLOT( newSubTodo() ) ); |
843 | 847 | ||
844 | actionMenu->insertSeparator(); | 848 | actionMenu->insertSeparator(); |
845 | 849 | ||
846 | mShowAction = new QAction( "show_incidence", i18n("Show..."), 0, this ); | 850 | mShowAction = new QAction( "show_incidence", i18n("Show..."), 0, this ); |
847 | mShowAction->addTo( actionMenu ); | 851 | mShowAction->addTo( actionMenu ); |
848 | connect( mShowAction, SIGNAL( activated() ), | 852 | connect( mShowAction, SIGNAL( activated() ), |
849 | mView, SLOT( showIncidence() ) ); | 853 | mView, SLOT( showIncidence() ) ); |
850 | 854 | ||
851 | mEditAction = new QAction( "edit_incidence", i18n("Edit..."), 0, this ); | 855 | mEditAction = new QAction( "edit_incidence", i18n("Edit..."), 0, this ); |
852 | mEditAction->addTo( actionMenu ); | 856 | mEditAction->addTo( actionMenu ); |
853 | connect( mEditAction, SIGNAL( activated() ), | 857 | connect( mEditAction, SIGNAL( activated() ), |
854 | mView, SLOT( editIncidence() ) ); | 858 | mView, SLOT( editIncidence() ) ); |
855 | 859 | ||
856 | mDeleteAction = new QAction( "delete_incidence", i18n("Delete..."), 0, this ); | 860 | mDeleteAction = new QAction( "delete_incidence", i18n("Delete..."), 0, this ); |
857 | mDeleteAction->addTo( actionMenu ); | 861 | mDeleteAction->addTo( actionMenu ); |
858 | connect( mDeleteAction, SIGNAL( activated() ), | 862 | connect( mDeleteAction, SIGNAL( activated() ), |
859 | mView, SLOT( deleteIncidence() ) ); | 863 | mView, SLOT( deleteIncidence() ) ); |
860 | 864 | ||
861 | 865 | ||
862 | mCloneAction = new QAction( "clone_incidence", i18n("Clone..."), 0, this ); | 866 | mCloneAction = new QAction( "clone_incidence", i18n("Clone..."), 0, this ); |
863 | mCloneAction->addTo( actionMenu ); | 867 | mCloneAction->addTo( actionMenu ); |
864 | connect( mCloneAction, SIGNAL( activated() ), | 868 | connect( mCloneAction, SIGNAL( activated() ), |
865 | mView, SLOT( cloneIncidence() ) ); | 869 | mView, SLOT( cloneIncidence() ) ); |
866 | mMoveAction = new QAction( "Move_incidence", i18n("Move..."), 0, this ); | 870 | mMoveAction = new QAction( "Move_incidence", i18n("Move..."), 0, this ); |
867 | mMoveAction->addTo( actionMenu ); | 871 | mMoveAction->addTo( actionMenu ); |
868 | connect( mMoveAction, SIGNAL( activated() ), | 872 | connect( mMoveAction, SIGNAL( activated() ), |
869 | mView, SLOT( moveIncidence() ) ); | 873 | mView, SLOT( moveIncidence() ) ); |
870 | mBeamAction = new QAction( "Beam_incidence", i18n("Beam..."), 0, this ); | 874 | mBeamAction = new QAction( "Beam_incidence", i18n("Beam..."), 0, this ); |
871 | mBeamAction->addTo( actionMenu ); | 875 | mBeamAction->addTo( actionMenu ); |
872 | connect( mBeamAction, SIGNAL( activated() ), | 876 | connect( mBeamAction, SIGNAL( activated() ), |
873 | mView, SLOT( beamIncidence() ) ); | 877 | mView, SLOT( beamIncidence() ) ); |
874 | mCancelAction = new QAction( "Cancel_incidence", i18n("Toggle Cancel"), 0, this ); | 878 | mCancelAction = new QAction( "Cancel_incidence", i18n("Toggle Cancel"), 0, this ); |
875 | mCancelAction->addTo( actionMenu ); | 879 | mCancelAction->addTo( actionMenu ); |
876 | connect( mCancelAction, SIGNAL( activated() ), | 880 | connect( mCancelAction, SIGNAL( activated() ), |
877 | mView, SLOT( toggleCancelIncidence() ) ); | 881 | mView, SLOT( toggleCancelIncidence() ) ); |
878 | 882 | ||
879 | actionMenu->insertSeparator(); | 883 | actionMenu->insertSeparator(); |
880 | 884 | ||
881 | action = new QAction( "purge_completed", i18n("Purge Completed"), 0, | 885 | action = new QAction( "purge_completed", i18n("Purge Completed"), 0, |
882 | this ); | 886 | this ); |
883 | action->addTo( actionMenu ); | 887 | action->addTo( actionMenu ); |
884 | connect( action, SIGNAL( activated() ), mView, SLOT( purgeCompleted() ) ); | 888 | connect( action, SIGNAL( activated() ), mView, SLOT( purgeCompleted() ) ); |
885 | 889 | ||
886 | icon = loadPixmap( pathString + "search" ); | 890 | icon = loadPixmap( pathString + "search" ); |
887 | QAction* search_action = new QAction( i18n("Search"), icon, i18n("Search..."), 0, this ); | 891 | QAction* search_action = new QAction( i18n("Search"), icon, i18n("Search..."), 0, this ); |
888 | configureToolBarMenu->insertItem(icon, i18n("Search"), 120 , 5); | 892 | configureToolBarMenu->insertItem(icon, i18n("Search"), 120 , 5); |
889 | search_action->addTo( actionMenu ); | 893 | search_action->addTo( actionMenu ); |
890 | connect( search_action, SIGNAL( activated() ), | 894 | connect( search_action, SIGNAL( activated() ), |
891 | mView->dialogManager(), SLOT( showSearchDialog() ) ); | 895 | mView->dialogManager(), SLOT( showSearchDialog() ) ); |
892 | 896 | ||
893 | 897 | ||
894 | 898 | ||
895 | if ( KOPrefs::instance()->mShowFullMenu ) { | 899 | if ( KOPrefs::instance()->mShowFullMenu ) { |
896 | actionMenu->insertSeparator(); | 900 | actionMenu->insertSeparator(); |
897 | actionMenu->insertItem( i18n("Configure Toolbar"),configureToolBarMenu ); | 901 | actionMenu->insertItem( i18n("Configure Toolbar"),configureToolBarMenu ); |
898 | 902 | ||
899 | } | 903 | } |
900 | // actionMenu->insertSeparator(); | 904 | // actionMenu->insertSeparator(); |
901 | action = new QAction( "import_qtopia", i18n("Import (*.ics/*.vcs) file"), 0, | 905 | action = new QAction( "import_qtopia", i18n("Import (*.ics/*.vcs) file"), 0, |
902 | this ); | 906 | this ); |
903 | action->addTo( importMenu_X ); | 907 | action->addTo( importMenu_X ); |
904 | connect( action, SIGNAL( activated() ), SLOT( importIcal() ) ); | 908 | connect( action, SIGNAL( activated() ), SLOT( importIcal() ) ); |
905 | action = new QAction( "import_quick", i18n("Import last file"), 0, | 909 | action = new QAction( "import_quick", i18n("Import last file"), 0, |
906 | this ); | 910 | this ); |
907 | action->addTo( importMenu_X ); | 911 | action->addTo( importMenu_X ); |
908 | connect( action, SIGNAL( activated() ), SLOT( quickImportIcal() ) ); | 912 | connect( action, SIGNAL( activated() ), SLOT( quickImportIcal() ) ); |
909 | importMenu_X->insertSeparator(); | 913 | importMenu_X->insertSeparator(); |
910 | action = new QAction( "import_bday", i18n("Import Birthdays (KA/Pi)"), 0, | 914 | action = new QAction( "import_bday", i18n("Import Birthdays (KA/Pi)"), 0, |
911 | this ); | 915 | this ); |
912 | action->addTo( importMenu_X ); | 916 | action->addTo( importMenu_X ); |
913 | connect( action, SIGNAL( activated() ), SLOT( importBday() ) ); | 917 | connect( action, SIGNAL( activated() ), SLOT( importBday() ) ); |
914 | //#ifndef DESKTOP_VERSION | 918 | //#ifndef DESKTOP_VERSION |
915 | importMenu_X->insertSeparator(); | 919 | importMenu_X->insertSeparator(); |
916 | action = new QAction( "import_qtopia", i18n("Import Opie/Qtopia Cal."), 0, | 920 | action = new QAction( "import_qtopia", i18n("Import Opie/Qtopia Cal."), 0, |
917 | this ); | 921 | this ); |
918 | action->addTo( importMenu_X ); | 922 | action->addTo( importMenu_X ); |
919 | connect( action, SIGNAL( activated() ), SLOT( importQtopia() ) ); | 923 | connect( action, SIGNAL( activated() ), SLOT( importQtopia() ) ); |
920 | //#else | 924 | //#else |
921 | #ifdef _OL_IMPORT_ | 925 | #ifdef _OL_IMPORT_ |
922 | importMenu_X->insertSeparator(); | 926 | importMenu_X->insertSeparator(); |
923 | action = new QAction( "import_ol", i18n("Import from OL"), 0, | 927 | action = new QAction( "import_ol", i18n("Import from OL"), 0, |
924 | this ); | 928 | this ); |
925 | action->addTo( importMenu_X ); | 929 | action->addTo( importMenu_X ); |
926 | connect( action, SIGNAL( activated() ), SLOT( importOL() ) ); | 930 | connect( action, SIGNAL( activated() ), SLOT( importOL() ) ); |
927 | #endif | 931 | #endif |
928 | //#endif | 932 | //#endif |
929 | 933 | ||
930 | //importMenu->insertSeparator(); | 934 | //importMenu->insertSeparator(); |
931 | action = new QAction( "load_cal", i18n("Load Calendar Backup"), 0, | 935 | action = new QAction( "load_cal", i18n("Load Calendar Backup"), 0, |
932 | this ); | 936 | this ); |
933 | action->addTo( importMenu ); | 937 | action->addTo( importMenu ); |
934 | connect( action, SIGNAL( activated() ), SLOT( loadCalendar() ) ); | 938 | connect( action, SIGNAL( activated() ), SLOT( loadCalendar() ) ); |
935 | 939 | ||
936 | action = new QAction( "save_cal", i18n("Save Calendar Backup"), 0, | 940 | action = new QAction( "save_cal", i18n("Save Calendar Backup"), 0, |
937 | this ); | 941 | this ); |
938 | action->addTo( importMenu ); | 942 | action->addTo( importMenu ); |
939 | connect( action, SIGNAL( activated() ), SLOT( saveCalendar() ) ); | 943 | connect( action, SIGNAL( activated() ), SLOT( saveCalendar() ) ); |
940 | importMenu->insertSeparator(); | 944 | importMenu->insertSeparator(); |
941 | importMenu->insertItem( i18n("Import"), importMenu_X ); | 945 | importMenu->insertItem( i18n("Import"), importMenu_X ); |
942 | //importMenu->insertSeparator(); | 946 | //importMenu->insertSeparator(); |
943 | action = new QAction( "import_qtopia", i18n("Export VCalendar"), 0, | 947 | action = new QAction( "import_qtopia", i18n("Export VCalendar"), 0, |
944 | this ); | 948 | this ); |
945 | action->addTo( exportMenu_X ); | 949 | action->addTo( exportMenu_X ); |
946 | connect( action, SIGNAL( activated() ), SLOT( exportVCalendar() ) ); | 950 | connect( action, SIGNAL( activated() ), SLOT( exportVCalendar() ) ); |
947 | 951 | ||
948 | 952 | ||
949 | //LR | 953 | //LR |
950 | QPopupMenu *ex2phone = new QPopupMenu( this ); | 954 | QPopupMenu *ex2phone = new QPopupMenu( this ); |
951 | ex2phone->insertItem(i18n("Complete calendar..."), 1 ); | 955 | ex2phone->insertItem(i18n("Complete calendar..."), 1 ); |
952 | ex2phone->insertItem(i18n("Filtered calendar..."), 2 ); | 956 | ex2phone->insertItem(i18n("Filtered calendar..."), 2 ); |
953 | connect( ex2phone, SIGNAL( activated(int) ), this, SLOT( exportToPhone( int)) ); | 957 | connect( ex2phone, SIGNAL( activated(int) ), this, SLOT( exportToPhone( int)) ); |
954 | exportMenu_X->insertItem( i18n("Export to phone"), ex2phone ); | 958 | exportMenu_X->insertItem( i18n("Export to phone"), ex2phone ); |
955 | 959 | ||
956 | importMenu->insertItem( i18n("Export"), exportMenu_X ); | 960 | importMenu->insertItem( i18n("Export"), exportMenu_X ); |
957 | #ifndef DESKTOP_VERSION | 961 | #ifndef DESKTOP_VERSION |
958 | //importMenu->insertSeparator(); | 962 | //importMenu->insertSeparator(); |
959 | brAction = new QAction( "beam toggle", i18n("Beam receive enabled"), 0, | 963 | brAction = new QAction( "beam toggle", i18n("Beam receive enabled"), 0, |
960 | this ); | 964 | this ); |
961 | brAction->addTo( beamMenu_X ); | 965 | brAction->addTo( beamMenu_X ); |
962 | brAction->setToggleAction (true ) ; | 966 | brAction->setToggleAction (true ) ; |
963 | connect( brAction, SIGNAL( activated() ), this, SLOT( toggleBeamReceive() ) ); | 967 | connect( brAction, SIGNAL( activated() ), this, SLOT( toggleBeamReceive() ) ); |
964 | 968 | ||
965 | action = new QAction( "beam all", i18n("Beam complete calendar..."), 0, | 969 | action = new QAction( "beam all", i18n("Beam complete calendar..."), 0, |
966 | this ); | 970 | this ); |
967 | action->addTo( beamMenu_X ); | 971 | action->addTo( beamMenu_X ); |
968 | connect( action, SIGNAL( activated() ), mView, SLOT( beamCalendar() ) ); | 972 | connect( action, SIGNAL( activated() ), mView, SLOT( beamCalendar() ) ); |
969 | 973 | ||
970 | action = new QAction( "beam all", i18n("Beam filtered calendar..."), 0, | 974 | action = new QAction( "beam all", i18n("Beam filtered calendar..."), 0, |
971 | this ); | 975 | this ); |
972 | action->addTo( beamMenu_X ); | 976 | action->addTo( beamMenu_X ); |
973 | connect( action, SIGNAL( activated() ), mView, SLOT( beamFilteredCalendar()) ); | 977 | connect( action, SIGNAL( activated() ), mView, SLOT( beamFilteredCalendar()) ); |
974 | importMenu->insertItem( i18n("Beam"), beamMenu_X ); | 978 | importMenu->insertItem( i18n("Beam"), beamMenu_X ); |
975 | #else | 979 | #else |
976 | //importMenu->insertSeparator(); | 980 | //importMenu->insertSeparator(); |
977 | icon = loadPixmap( pathString + "print" ); | 981 | icon = loadPixmap( pathString + "print" ); |
978 | action = new QAction( i18n("Print calendar..."),icon,i18n("Print calendar..."), 0, this ); | 982 | action = new QAction( i18n("Print calendar..."),icon,i18n("Print calendar..."), 0, this ); |
979 | action->addTo( beamMenu_X ); | 983 | action->addTo( beamMenu_X ); |
980 | connect( action, SIGNAL( activated() ), | 984 | connect( action, SIGNAL( activated() ), |
981 | this, SLOT( printCal() ) ); | 985 | this, SLOT( printCal() ) ); |
982 | 986 | ||
983 | icon = loadPixmap( pathString + "print" ); | 987 | icon = loadPixmap( pathString + "print" ); |
984 | action = new QAction( i18n("Print agenda selection..."),icon,i18n("Print agenda selection..."), 0, this ); | 988 | action = new QAction( i18n("Print agenda selection..."),icon,i18n("Print agenda selection..."), 0, this ); |
985 | action->addTo( beamMenu_X ); | 989 | action->addTo( beamMenu_X ); |
986 | connect( action, SIGNAL( activated() ), | 990 | connect( action, SIGNAL( activated() ), |
987 | this, SLOT( printSel() ) ); | 991 | this, SLOT( printSel() ) ); |
988 | action = new QAction( i18n("Print What's Next View..."),icon,i18n("Print What's Next View..."), 0, this ); | 992 | action = new QAction( i18n("Print What's Next View..."),icon,i18n("Print What's Next View..."), 0, this ); |
989 | action->addTo( beamMenu_X ); | 993 | action->addTo( beamMenu_X ); |
990 | connect( action, SIGNAL( activated() ), | 994 | connect( action, SIGNAL( activated() ), |
991 | mView->viewManager(), SIGNAL( printWNV() ) ); | 995 | mView->viewManager(), SIGNAL( printWNV() ) ); |
992 | importMenu->insertItem( i18n("Print"), beamMenu_X ); | 996 | importMenu->insertItem( i18n("Print"), beamMenu_X ); |
993 | #endif | 997 | #endif |
994 | importMenu->insertSeparator(); | 998 | importMenu->insertSeparator(); |
995 | action = new QAction( "manage cat", i18n("Manage new categories..."), 0, | 999 | action = new QAction( "manage cat", i18n("Manage new categories..."), 0, |
996 | this ); | 1000 | this ); |
997 | action->addTo( importMenu ); | 1001 | action->addTo( importMenu ); |
998 | connect( action, SIGNAL( activated() ), mView, SLOT( manageCategories() ) ); | 1002 | connect( action, SIGNAL( activated() ), mView, SLOT( manageCategories() ) ); |
999 | importMenu->insertSeparator(); | 1003 | importMenu->insertSeparator(); |
1000 | action = new QAction( "beam all", i18n("Save"), 0, | 1004 | action = new QAction( "beam all", i18n("Save"), 0, |
1001 | this ); | 1005 | this ); |
1002 | action->addTo( importMenu ); | 1006 | action->addTo( importMenu ); |
1003 | connect( action, SIGNAL( activated() ), this, SLOT( save() ) ); | 1007 | connect( action, SIGNAL( activated() ), this, SLOT( save() ) ); |
1004 | action = new QAction( "beam all", i18n("Exit (+save)"), 0, | 1008 | action = new QAction( "beam all", i18n("Exit (+save)"), 0, |
1005 | this ); | 1009 | this ); |
1006 | action->addTo( importMenu ); | 1010 | action->addTo( importMenu ); |
1007 | connect( action, SIGNAL( activated() ), this, SLOT( close() ) ); | 1011 | connect( action, SIGNAL( activated() ), this, SLOT( close() ) ); |
1008 | 1012 | ||
1009 | //menuBar->insertItem( "Configure",configureMenu ); | 1013 | //menuBar->insertItem( "Configure",configureMenu ); |
1010 | //configureMenu->insertItem( "Toolbar",configureToolBarMenu ); | 1014 | //configureMenu->insertItem( "Toolbar",configureToolBarMenu ); |
1011 | icon = loadPixmap( "korganizer/korganizer" ); | 1015 | icon = loadPixmap( "korganizer/korganizer" ); |
1012 | 1016 | ||
1013 | action = new QAction( "Whats New", i18n("What's new?"), 0,this ); | 1017 | action = new QAction( "Whats New", i18n("What's new?"), 0,this ); |
1014 | action->addTo( helpMenu ); | 1018 | action->addTo( helpMenu ); |
1015 | connect( action, SIGNAL( activated() ), | 1019 | connect( action, SIGNAL( activated() ), |
1016 | SLOT( whatsNew() ) ); | 1020 | SLOT( whatsNew() ) ); |
1017 | action = new QAction( "featureHowto", i18n("Features + hints..."), 0,this ); | 1021 | action = new QAction( "featureHowto", i18n("Features + hints..."), 0,this ); |
1018 | action->addTo( helpMenu ); | 1022 | action->addTo( helpMenu ); |
1019 | connect( action, SIGNAL( activated() ), | 1023 | connect( action, SIGNAL( activated() ), |
1020 | SLOT( features() ) ); | 1024 | SLOT( features() ) ); |
1021 | action = new QAction( "Keys + Colors", i18n("Keys + Colors..."), 0, this ); | 1025 | action = new QAction( "Keys + Colors", i18n("Keys + Colors..."), 0, this ); |
1022 | action->addTo( helpMenu ); | 1026 | action->addTo( helpMenu ); |
1023 | connect( action, SIGNAL( activated() ), | 1027 | connect( action, SIGNAL( activated() ), |
1024 | SLOT( keyBindings() ) ); | 1028 | SLOT( keyBindings() ) ); |
1025 | action = new QAction( "Sync Howto", i18n("Sync HowTo..."), 0,this ); | 1029 | action = new QAction( "Sync Howto", i18n("Sync HowTo..."), 0,this ); |
1026 | action->addTo( helpMenu ); | 1030 | action->addTo( helpMenu ); |
1027 | connect( action, SIGNAL( activated() ), | 1031 | connect( action, SIGNAL( activated() ), |
1028 | SLOT( synchowto() ) ); | 1032 | SLOT( synchowto() ) ); |
1029 | action = new QAction( "KDE Sync Howto", i18n("KDE Sync HowTo..."), 0,this ); | 1033 | action = new QAction( "KDE Sync Howto", i18n("KDE Sync HowTo..."), 0,this ); |
1030 | action->addTo( helpMenu ); | 1034 | action->addTo( helpMenu ); |
1031 | connect( action, SIGNAL( activated() ), | 1035 | connect( action, SIGNAL( activated() ), |
1032 | SLOT( kdesynchowto() ) ); | 1036 | SLOT( kdesynchowto() ) ); |
1033 | action = new QAction( "Multi Sync Howto", i18n("Multi Sync HowTo..."), 0,this ); | 1037 | action = new QAction( "Multi Sync Howto", i18n("Multi Sync HowTo..."), 0,this ); |
1034 | action->addTo( helpMenu ); | 1038 | action->addTo( helpMenu ); |
1035 | connect( action, SIGNAL( activated() ), | 1039 | connect( action, SIGNAL( activated() ), |
1036 | SLOT( multisynchowto() ) ); | 1040 | SLOT( multisynchowto() ) ); |
1037 | action = new QAction( "Auto saving", i18n("Auto saving..."), 0, this ); | 1041 | action = new QAction( "Auto saving", i18n("Auto saving..."), 0, this ); |
1038 | action->addTo( helpMenu ); | 1042 | action->addTo( helpMenu ); |
1039 | connect( action, SIGNAL( activated() ), | 1043 | connect( action, SIGNAL( activated() ), |
1040 | SLOT( aboutAutoSaving() ) ); | 1044 | SLOT( aboutAutoSaving() ) ); |
1041 | action = new QAction( "Problemd", i18n("Known Problems..."), 0,this ); | 1045 | action = new QAction( "Problemd", i18n("Known Problems..."), 0,this ); |
1042 | action->addTo( helpMenu ); | 1046 | action->addTo( helpMenu ); |
1043 | connect( action, SIGNAL( activated() ), | 1047 | connect( action, SIGNAL( activated() ), |
1044 | SLOT( aboutKnownBugs() ) ); | 1048 | SLOT( aboutKnownBugs() ) ); |
1045 | action = new QAction( "Translate Howto", i18n("User translation..."), 0,this ); | 1049 | action = new QAction( "Translate Howto", i18n("User translation..."), 0,this ); |
1046 | action->addTo( helpMenu ); | 1050 | action->addTo( helpMenu ); |
1047 | connect( action, SIGNAL( activated() ), | 1051 | connect( action, SIGNAL( activated() ), |
1048 | SLOT( usertrans() ) ); | 1052 | SLOT( usertrans() ) ); |
1049 | action = new QAction( "Frequently asked questions", i18n("FAQ..."), 0,this ); | 1053 | action = new QAction( "Frequently asked questions", i18n("FAQ..."), 0,this ); |
1050 | action->addTo( helpMenu ); | 1054 | action->addTo( helpMenu ); |
1051 | connect( action, SIGNAL( activated() ), | 1055 | connect( action, SIGNAL( activated() ), |
1052 | SLOT( faq() ) ); | 1056 | SLOT( faq() ) ); |
1053 | action = new QAction( "licence", i18n("Licence..."), 0, this ); | 1057 | action = new QAction( "licence", i18n("Licence..."), 0, this ); |
1054 | action->addTo( helpMenu ); | 1058 | action->addTo( helpMenu ); |
1055 | connect( action, SIGNAL( activated() ), | 1059 | connect( action, SIGNAL( activated() ), |
1056 | SLOT( licence() ) ); | 1060 | SLOT( licence() ) ); |
1057 | action = new QAction( "about", i18n("About..."), 0, this ); | 1061 | action = new QAction( "about", i18n("About..."), 0, this ); |
1058 | action->addTo( helpMenu ); | 1062 | action->addTo( helpMenu ); |
1059 | connect( action, SIGNAL( activated() ), | 1063 | connect( action, SIGNAL( activated() ), |
1060 | SLOT( about() ) ); | 1064 | SLOT( about() ) ); |
1061 | //menuBar->insertSeparator(); | 1065 | //menuBar->insertSeparator(); |
1062 | 1066 | ||
1063 | // ****************************************************** | 1067 | // ****************************************************** |
1064 | // menubar icons | 1068 | // menubar icons |
1065 | 1069 | ||
1066 | 1070 | ||
1067 | 1071 | ||
1068 | //menuBar->insertItem( iconToolBar ); | 1072 | //menuBar->insertItem( iconToolBar ); |
1069 | //xdays_action | 1073 | //xdays_action |
1070 | if (p-> mShowIconNewEvent) | 1074 | if (p-> mShowIconNewEvent) |
1071 | ne_action->addTo( iconToolBar ); | 1075 | ne_action->addTo( iconToolBar ); |
1072 | if (p->mShowIconNewTodo ) | 1076 | if (p->mShowIconNewTodo ) |
1073 | nt_action->addTo( iconToolBar ); | 1077 | nt_action->addTo( iconToolBar ); |
1074 | if (p-> mShowIconSearch) | 1078 | if (p-> mShowIconSearch) |
1075 | search_action->addTo( iconToolBar ); | 1079 | search_action->addTo( iconToolBar ); |
1076 | if (p-> mShowIconWhatsThis) | 1080 | if (p-> mShowIconWhatsThis) |
1077 | QWhatsThis::whatsThisButton ( iconToolBar ); | 1081 | QWhatsThis::whatsThisButton ( iconToolBar ); |
1078 | if (p-> mShowIconNext) | 1082 | if (p-> mShowIconNext) |
1079 | whatsnext_action->addTo( viewToolBar ); | 1083 | whatsnext_action->addTo( viewToolBar ); |
1080 | if (p-> mShowIconNextDays) | 1084 | if (p-> mShowIconNextDays) |
1081 | xdays_action->addTo( viewToolBar ); | 1085 | xdays_action->addTo( viewToolBar ); |
1082 | if (p-> mShowIconJournal) | 1086 | if (p-> mShowIconJournal) |
1083 | viewjournal_action->addTo( viewToolBar ); | 1087 | viewjournal_action->addTo( viewToolBar ); |
1084 | if (p-> mShowIconDay1) | 1088 | if (p-> mShowIconDay1) |
1085 | day1_action->addTo( viewToolBar ); | 1089 | day1_action->addTo( viewToolBar ); |
1086 | if (p-> mShowIconDay5) | 1090 | if (p-> mShowIconDay5) |
1087 | day5_action->addTo( viewToolBar ); | 1091 | day5_action->addTo( viewToolBar ); |
1088 | if (p-> mShowIconDay7) | 1092 | if (p-> mShowIconDay7) |
1089 | day7_action->addTo( viewToolBar ); | 1093 | day7_action->addTo( viewToolBar ); |
1090 | if (p-> mShowIconDay6) | 1094 | if (p-> mShowIconDay6) |
1091 | day6_action->addTo( viewToolBar ); | 1095 | day6_action->addTo( viewToolBar ); |
1092 | if (p-> mShowIconMonth) | 1096 | if (p-> mShowIconMonth) |
1093 | month_action->addTo( viewToolBar ); | 1097 | month_action->addTo( viewToolBar ); |
1094 | if (p-> mShowIconList) | 1098 | if (p-> mShowIconList) |
1095 | showlist_action->addTo( viewToolBar ); | 1099 | showlist_action->addTo( viewToolBar ); |
1096 | if (p-> mShowIconTodoview) | 1100 | if (p-> mShowIconTodoview) |
1097 | todoview_action->addTo( viewToolBar ); | 1101 | todoview_action->addTo( viewToolBar ); |
1098 | 1102 | ||
1099 | icon = loadPixmap( pathString + "2leftarrowB" ); | 1103 | icon = loadPixmap( pathString + "2leftarrowB" ); |
1100 | configureToolBarMenu->insertItem(icon, i18n("Prev. month"), 200); | 1104 | configureToolBarMenu->insertItem(icon, i18n("Prev. month"), 200); |
1101 | if (p-> mShowIconBackFast) { | 1105 | if (p-> mShowIconBackFast) { |
1102 | action = new QAction( i18n("Prev. month"), icon, i18n("Prev. month"),0 , this ); | 1106 | action = new QAction( i18n("Prev. month"), icon, i18n("Prev. month"),0 , this ); |
1103 | connect( action, SIGNAL( activated() ), | 1107 | connect( action, SIGNAL( activated() ), |
1104 | mView, SLOT( goPreviousMonth() ) ); | 1108 | mView, SLOT( goPreviousMonth() ) ); |
1105 | action->addTo( navigatorToolBar ); | 1109 | action->addTo( navigatorToolBar ); |
1106 | } | 1110 | } |
1107 | icon = loadPixmap( pathString + "1leftarrowB" ); | 1111 | icon = loadPixmap( pathString + "1leftarrowB" ); |
1108 | configureToolBarMenu->insertItem(icon, i18n("Go backward"), 210); | 1112 | configureToolBarMenu->insertItem(icon, i18n("Go backward"), 210); |
1109 | if (p-> mShowIconBack) { | 1113 | if (p-> mShowIconBack) { |
1110 | action = new QAction( i18n("Go backward"), icon, i18n("Go backward"),0 , this ); | 1114 | action = new QAction( i18n("Go backward"), icon, i18n("Go backward"),0 , this ); |
1111 | connect( action, SIGNAL( activated() ), | 1115 | connect( action, SIGNAL( activated() ), |
1112 | mView, SLOT( goPrevious() ) ); | 1116 | mView, SLOT( goPrevious() ) ); |
1113 | action->addTo( navigatorToolBar ); | 1117 | action->addTo( navigatorToolBar ); |
1114 | } | 1118 | } |
1115 | icon = loadPixmap( pathString + "today" ); | 1119 | icon = loadPixmap( pathString + "today" ); |
1116 | configureToolBarMenu->insertItem(icon, i18n("Go to Today"), 130); | 1120 | configureToolBarMenu->insertItem(icon, i18n("Go to Today"), 130); |
1117 | if (p-> mShowIconToday) | 1121 | if (p-> mShowIconToday) |
1118 | today_action->addTo( navigatorToolBar ); | 1122 | today_action->addTo( navigatorToolBar ); |
1119 | icon = loadPixmap( pathString + "1rightarrowB" ); | 1123 | icon = loadPixmap( pathString + "1rightarrowB" ); |
1120 | configureToolBarMenu->insertItem(icon, i18n("Go forward"), 220); | 1124 | configureToolBarMenu->insertItem(icon, i18n("Go forward"), 220); |
1121 | if (p-> mShowIconForward) { | 1125 | if (p-> mShowIconForward) { |
1122 | action = new QAction( i18n("Go forward"), icon, i18n("Go forward"),0 , this ); | 1126 | action = new QAction( i18n("Go forward"), icon, i18n("Go forward"),0 , this ); |
1123 | connect( action, SIGNAL( activated() ), | 1127 | connect( action, SIGNAL( activated() ), |
1124 | mView, SLOT( goNext() ) ); | 1128 | mView, SLOT( goNext() ) ); |
1125 | action->addTo( navigatorToolBar ); | 1129 | action->addTo( navigatorToolBar ); |
1126 | } | 1130 | } |
1127 | icon = loadPixmap( pathString + "2rightarrowB" ); | 1131 | icon = loadPixmap( pathString + "2rightarrowB" ); |
1128 | configureToolBarMenu->insertItem(icon, i18n("Next month"), 230); | 1132 | configureToolBarMenu->insertItem(icon, i18n("Next month"), 230); |
1129 | if (p-> mShowIconForwardFast) { | 1133 | if (p-> mShowIconForwardFast) { |
1130 | action = new QAction( i18n("Next month"), icon, i18n("Next month"),0 , this ); | 1134 | action = new QAction( i18n("Next month"), icon, i18n("Next month"),0 , this ); |
1131 | connect( action, SIGNAL( activated() ), | 1135 | connect( action, SIGNAL( activated() ), |
1132 | mView, SLOT( goNextMonth() ) ); | 1136 | mView, SLOT( goNextMonth() ) ); |
1133 | action->addTo( navigatorToolBar ); | 1137 | action->addTo( navigatorToolBar ); |
1134 | } | 1138 | } |
1135 | 1139 | ||
1136 | 1140 | ||
1137 | configureToolBarMenu->insertItem(i18n("What's This?"), 300, 6); | 1141 | configureToolBarMenu->insertItem(i18n("What's This?"), 300, 6); |
1138 | 1142 | ||
1139 | if (p-> mShowIconNewEvent) | 1143 | if (p-> mShowIconNewEvent) |
1140 | configureToolBarMenu->setItemChecked( 10, true ); | 1144 | configureToolBarMenu->setItemChecked( 10, true ); |
1141 | if (p->mShowIconNewTodo ) | 1145 | if (p->mShowIconNewTodo ) |
1142 | configureToolBarMenu->setItemChecked( 20, true ); | 1146 | configureToolBarMenu->setItemChecked( 20, true ); |
1143 | if (p-> mShowIconSearch) | 1147 | if (p-> mShowIconSearch) |
1144 | configureToolBarMenu->setItemChecked( 120, true ); | 1148 | configureToolBarMenu->setItemChecked( 120, true ); |
1145 | if (p-> mShowIconList) | 1149 | if (p-> mShowIconList) |
1146 | configureToolBarMenu->setItemChecked( 30, true ); | 1150 | configureToolBarMenu->setItemChecked( 30, true ); |
1147 | if (p-> mShowIconDay1) | 1151 | if (p-> mShowIconDay1) |
1148 | configureToolBarMenu->setItemChecked( 40, true ); | 1152 | configureToolBarMenu->setItemChecked( 40, true ); |
1149 | if (p-> mShowIconDay5) | 1153 | if (p-> mShowIconDay5) |
1150 | configureToolBarMenu->setItemChecked( 50, true ); | 1154 | configureToolBarMenu->setItemChecked( 50, true ); |
1151 | if (p-> mShowIconDay6) | 1155 | if (p-> mShowIconDay6) |
1152 | configureToolBarMenu->setItemChecked( 75, true ); | 1156 | configureToolBarMenu->setItemChecked( 75, true ); |
1153 | if (p-> mShowIconDay7) | 1157 | if (p-> mShowIconDay7) |
1154 | configureToolBarMenu->setItemChecked( 60, true ); | 1158 | configureToolBarMenu->setItemChecked( 60, true ); |
1155 | if (p-> mShowIconMonth) | 1159 | if (p-> mShowIconMonth) |
1156 | configureToolBarMenu->setItemChecked( 70, true ); | 1160 | configureToolBarMenu->setItemChecked( 70, true ); |
1157 | if (p-> mShowIconTodoview) | 1161 | if (p-> mShowIconTodoview) |
1158 | configureToolBarMenu->setItemChecked( 80, true ); | 1162 | configureToolBarMenu->setItemChecked( 80, true ); |
1159 | if (p-> mShowIconBackFast) | 1163 | if (p-> mShowIconBackFast) |
1160 | configureToolBarMenu->setItemChecked( 200, true ); | 1164 | configureToolBarMenu->setItemChecked( 200, true ); |
1161 | if (p-> mShowIconBack) | 1165 | if (p-> mShowIconBack) |
1162 | configureToolBarMenu->setItemChecked( 210, true ); | 1166 | configureToolBarMenu->setItemChecked( 210, true ); |
1163 | if (p-> mShowIconToday) | 1167 | if (p-> mShowIconToday) |
1164 | configureToolBarMenu->setItemChecked( 130, true ); | 1168 | configureToolBarMenu->setItemChecked( 130, true ); |
1165 | if (p-> mShowIconForward) | 1169 | if (p-> mShowIconForward) |
1166 | configureToolBarMenu->setItemChecked( 220, true ); | 1170 | configureToolBarMenu->setItemChecked( 220, true ); |
1167 | if (p-> mShowIconForwardFast) | 1171 | if (p-> mShowIconForwardFast) |
1168 | configureToolBarMenu->setItemChecked( 230, true ); | 1172 | configureToolBarMenu->setItemChecked( 230, true ); |
1169 | if (p-> mShowIconNextDays) | 1173 | if (p-> mShowIconNextDays) |
1170 | configureToolBarMenu->setItemChecked( 100, true ); | 1174 | configureToolBarMenu->setItemChecked( 100, true ); |
1171 | if (p-> mShowIconNext) | 1175 | if (p-> mShowIconNext) |
1172 | configureToolBarMenu->setItemChecked( 110, true ); | 1176 | configureToolBarMenu->setItemChecked( 110, true ); |
1173 | if (p-> mShowIconJournal) | 1177 | if (p-> mShowIconJournal) |
1174 | configureToolBarMenu->setItemChecked( 90, true ); | 1178 | configureToolBarMenu->setItemChecked( 90, true ); |
1175 | if (p-> mShowIconWhatsThis) | 1179 | if (p-> mShowIconWhatsThis) |
1176 | configureToolBarMenu->setItemChecked( 300, true ); | 1180 | configureToolBarMenu->setItemChecked( 300, true ); |
1177 | if (p-> mShowIconWeekNum) | 1181 | if (p-> mShowIconWeekNum) |
1178 | configureToolBarMenu->setItemChecked( 400, true ); | 1182 | configureToolBarMenu->setItemChecked( 400, true ); |
1179 | if (!p-> mShowIconStretch) { | 1183 | if (!p-> mShowIconStretch) { |
1180 | QLabel* dummy = new QLabel( iconToolBar ); | 1184 | QLabel* dummy = new QLabel( iconToolBar ); |
1181 | dummy->setBackgroundColor( iconToolBar->backgroundColor() ); | 1185 | dummy->setBackgroundColor( iconToolBar->backgroundColor() ); |
1182 | dummy->setMinimumWidth( 0 ); | 1186 | dummy->setMinimumWidth( 0 ); |
1183 | iconToolBar->setStretchableWidget ( dummy ) ; | 1187 | iconToolBar->setStretchableWidget ( dummy ) ; |
1184 | } | 1188 | } |
1185 | else { | 1189 | else { |
1186 | iconToolBar->setHorizontalStretchable (true ); | 1190 | iconToolBar->setHorizontalStretchable (true ); |
1187 | viewToolBar->setHorizontalStretchable (true ); | 1191 | viewToolBar->setHorizontalStretchable (true ); |
1188 | navigatorToolBar->setHorizontalStretchable (true ); | 1192 | navigatorToolBar->setHorizontalStretchable (true ); |
1189 | iconToolBar->setVerticalStretchable (true ); | 1193 | iconToolBar->setVerticalStretchable (true ); |
1190 | viewToolBar->setVerticalStretchable (true ); | 1194 | viewToolBar->setVerticalStretchable (true ); |
1191 | navigatorToolBar->setVerticalStretchable (true ); | 1195 | navigatorToolBar->setVerticalStretchable (true ); |
1192 | configureToolBarMenu->setItemChecked( 5, true ); | 1196 | configureToolBarMenu->setItemChecked( 5, true ); |
1193 | } | 1197 | } |
1194 | if (p-> mShowIconFilter) | 1198 | if (p-> mShowIconFilter) |
1195 | configureToolBarMenu->setItemChecked( 7, true ); | 1199 | configureToolBarMenu->setItemChecked( 7, true ); |
1200 | if (p-> mShowIconOnetoolbar) | ||
1201 | configureToolBarMenu->setItemChecked( 6, true ); | ||
1196 | 1202 | ||
1197 | 1203 | ||
1198 | if ( filterMenubar ) | 1204 | if ( filterMenubar ) |
1199 | connect( mView->filterView(), SIGNAL( filterChanged() ), SLOT( updateFilterToolbar() ) ); | 1205 | connect( mView->filterView(), SIGNAL( filterChanged() ), SLOT( updateFilterToolbar() ) ); |
1200 | connect( configureToolBarMenu, SIGNAL( activated( int ) ),this, SLOT(configureToolBar( int ) ) ); | 1206 | connect( configureToolBarMenu, SIGNAL( activated( int ) ),this, SLOT(configureToolBar( int ) ) ); |
1201 | configureAgenda( p->mHourSize ); | 1207 | configureAgenda( p->mHourSize ); |
1202 | connect( configureAgendaMenu, SIGNAL( activated( int ) ),this, SLOT(configureAgenda( int ) ) ); | 1208 | connect( configureAgendaMenu, SIGNAL( activated( int ) ),this, SLOT(configureAgenda( int ) ) ); |
1203 | } | 1209 | } |
1204 | 1210 | ||
1205 | void MainWindow::exportToPhone( int mode ) | 1211 | void MainWindow::exportToPhone( int mode ) |
1206 | { | 1212 | { |
1207 | 1213 | ||
1208 | //ex2phone->insertItem(i18n("Complete calendar..."), 1 ); | 1214 | //ex2phone->insertItem(i18n("Complete calendar..."), 1 ); |
1209 | //ex2phone->insertItem(i18n("Filtered calendar..."), 2 ); | 1215 | //ex2phone->insertItem(i18n("Filtered calendar..."), 2 ); |
1210 | KOex2phonePrefs ex2phone; | 1216 | KOex2phonePrefs ex2phone; |
1211 | 1217 | ||
1212 | ex2phone.mPhoneConnection->setText( KPimGlobalPrefs::instance()->mEx2PhoneConnection ); | 1218 | ex2phone.mPhoneConnection->setText( KPimGlobalPrefs::instance()->mEx2PhoneConnection ); |
1213 | ex2phone.mPhoneDevice->setText( KPimGlobalPrefs::instance()->mEx2PhoneDevice ); | 1219 | ex2phone.mPhoneDevice->setText( KPimGlobalPrefs::instance()->mEx2PhoneDevice ); |
1214 | ex2phone.mPhoneModel->setText( KPimGlobalPrefs::instance()->mEx2PhoneModel ); | 1220 | ex2phone.mPhoneModel->setText( KPimGlobalPrefs::instance()->mEx2PhoneModel ); |
1215 | if ( mode == 1 ) | 1221 | if ( mode == 1 ) |
1216 | ex2phone.setCaption(i18n("Export complete calendar")); | 1222 | ex2phone.setCaption(i18n("Export complete calendar")); |
1217 | if ( mode == 2 ) | 1223 | if ( mode == 2 ) |
1218 | ex2phone.setCaption(i18n("Export filtered calendar")); | 1224 | ex2phone.setCaption(i18n("Export filtered calendar")); |
1219 | 1225 | ||
1220 | if ( !ex2phone.exec() ) { | 1226 | if ( !ex2phone.exec() ) { |
1221 | return; | 1227 | return; |
1222 | } | 1228 | } |
1223 | KPimGlobalPrefs::instance()->mEx2PhoneConnection = ex2phone.mPhoneConnection->text(); | 1229 | KPimGlobalPrefs::instance()->mEx2PhoneConnection = ex2phone.mPhoneConnection->text(); |
1224 | KPimGlobalPrefs::instance()->mEx2PhoneDevice = ex2phone.mPhoneDevice->text(); | 1230 | KPimGlobalPrefs::instance()->mEx2PhoneDevice = ex2phone.mPhoneDevice->text(); |
1225 | KPimGlobalPrefs::instance()->mEx2PhoneModel = ex2phone.mPhoneModel->text(); | 1231 | KPimGlobalPrefs::instance()->mEx2PhoneModel = ex2phone.mPhoneModel->text(); |
1226 | 1232 | ||
1227 | int inFuture = 0; | 1233 | int inFuture = 0; |
1228 | if ( ex2phone.mWriteBackFuture->isChecked() ) | 1234 | if ( ex2phone.mWriteBackFuture->isChecked() ) |
1229 | inFuture = ex2phone.mWriteBackFutureWeeks->value(); | 1235 | inFuture = ex2phone.mWriteBackFutureWeeks->value(); |
1230 | QPtrList<Incidence> delSel; | 1236 | QPtrList<Incidence> delSel; |
1231 | if ( mode == 1 ) | 1237 | if ( mode == 1 ) |
1232 | delSel = mCalendar->rawIncidences(); | 1238 | delSel = mCalendar->rawIncidences(); |
1233 | if ( mode == 2 ) | 1239 | if ( mode == 2 ) |
1234 | delSel = mCalendar->incidences(); | 1240 | delSel = mCalendar->incidences(); |
1235 | CalendarLocal* cal = new CalendarLocal(); | 1241 | CalendarLocal* cal = new CalendarLocal(); |
1236 | cal->setLocalTime(); | 1242 | cal->setLocalTime(); |
1237 | Incidence *incidence = delSel.first(); | 1243 | Incidence *incidence = delSel.first(); |
1238 | QDateTime cur = QDateTime::currentDateTime().addDays( -7 ); | 1244 | QDateTime cur = QDateTime::currentDateTime().addDays( -7 ); |
1239 | QDateTime end = cur.addDays( ( inFuture +1 ) *7 ); | 1245 | QDateTime end = cur.addDays( ( inFuture +1 ) *7 ); |
1240 | while ( incidence ) { | 1246 | while ( incidence ) { |
1241 | if ( incidence->type() != "Journal" ) { | 1247 | if ( incidence->type() != "Journal" ) { |
1242 | bool add = true; | 1248 | bool add = true; |
1243 | if ( inFuture ) { | 1249 | if ( inFuture ) { |
1244 | QDateTime dt; | 1250 | QDateTime dt; |
1245 | if ( incidence->type() == "Todo" ) { | 1251 | if ( incidence->type() == "Todo" ) { |
1246 | Todo * t = (Todo*)incidence; | 1252 | Todo * t = (Todo*)incidence; |
1247 | if ( t->hasDueDate() ) | 1253 | if ( t->hasDueDate() ) |
1248 | dt = t->dtDue(); | 1254 | dt = t->dtDue(); |
1249 | else | 1255 | else |
1250 | dt = cur.addSecs( 62 ); | 1256 | dt = cur.addSecs( 62 ); |
1251 | } | 1257 | } |
1252 | else { | 1258 | else { |
1253 | bool ok; | 1259 | bool ok; |
1254 | dt = incidence->getNextOccurence( cur, &ok ); | 1260 | dt = incidence->getNextOccurence( cur, &ok ); |
1255 | if ( !ok ) | 1261 | if ( !ok ) |
1256 | dt = cur.addSecs( -62 ); | 1262 | dt = cur.addSecs( -62 ); |
1257 | } | 1263 | } |
1258 | if ( dt < cur || dt > end ) { | 1264 | if ( dt < cur || dt > end ) { |
1259 | add = false; | 1265 | add = false; |
1260 | } | 1266 | } |
1261 | } | 1267 | } |
1262 | if ( add ) { | 1268 | if ( add ) { |
1263 | Incidence *in = incidence->clone(); | 1269 | Incidence *in = incidence->clone(); |
1264 | cal->addIncidence( in ); | 1270 | cal->addIncidence( in ); |
1265 | } | 1271 | } |
1266 | } | 1272 | } |
1267 | incidence = delSel.next(); | 1273 | incidence = delSel.next(); |
1268 | } | 1274 | } |
1269 | PhoneAccess::writeConfig( KPimGlobalPrefs::instance()->mEx2PhoneDevice, | 1275 | PhoneAccess::writeConfig( KPimGlobalPrefs::instance()->mEx2PhoneDevice, |
1270 | KPimGlobalPrefs::instance()->mEx2PhoneConnection, | 1276 | KPimGlobalPrefs::instance()->mEx2PhoneConnection, |
1271 | KPimGlobalPrefs::instance()->mEx2PhoneModel ); | 1277 | KPimGlobalPrefs::instance()->mEx2PhoneModel ); |
1272 | 1278 | ||
1273 | setCaption( i18n("Writing to phone...")); | 1279 | setCaption( i18n("Writing to phone...")); |
1274 | if ( PhoneFormat::writeToPhone( cal ) ) | 1280 | if ( PhoneFormat::writeToPhone( cal ) ) |
1275 | setCaption( i18n("Export to phone successful!")); | 1281 | setCaption( i18n("Export to phone successful!")); |
1276 | else | 1282 | else |
1277 | setCaption( i18n("Error exporting to phone!")); | 1283 | setCaption( i18n("Error exporting to phone!")); |
1278 | delete cal; | 1284 | delete cal; |
1279 | } | 1285 | } |
1280 | 1286 | ||
1281 | 1287 | ||
1282 | void MainWindow::setDefaultPreferences() | 1288 | void MainWindow::setDefaultPreferences() |
1283 | { | 1289 | { |
1284 | KOPrefs *p = KOPrefs::instance(); | 1290 | KOPrefs *p = KOPrefs::instance(); |
1285 | 1291 | ||
1286 | p->mCompactDialogs = true; | 1292 | p->mCompactDialogs = true; |
1287 | p->mConfirm = true; | 1293 | p->mConfirm = true; |
1288 | // p->mEnableQuickTodo = false; | 1294 | // p->mEnableQuickTodo = false; |
1289 | 1295 | ||
1290 | } | 1296 | } |
1291 | 1297 | ||
1292 | QString MainWindow::resourcePath() | 1298 | QString MainWindow::resourcePath() |
1293 | { | 1299 | { |
1294 | return KGlobal::iconLoader()->iconPath(); | 1300 | return KGlobal::iconLoader()->iconPath(); |
1295 | } | 1301 | } |
1296 | 1302 | ||
1297 | void MainWindow::displayText( QString text ,QString cap ) | 1303 | void MainWindow::displayText( QString text ,QString cap ) |
1298 | { | 1304 | { |
1299 | QDialog dia( this, "name", true ); ; | 1305 | QDialog dia( this, "name", true ); ; |
1300 | dia.setCaption( cap ); | 1306 | dia.setCaption( cap ); |
1301 | QVBoxLayout* lay = new QVBoxLayout( &dia ); | 1307 | QVBoxLayout* lay = new QVBoxLayout( &dia ); |
1302 | lay->setSpacing( 3 ); | 1308 | lay->setSpacing( 3 ); |
1303 | lay->setMargin( 3 ); | 1309 | lay->setMargin( 3 ); |
1304 | QTextBrowser tb ( &dia ); | 1310 | QTextBrowser tb ( &dia ); |
1305 | lay->addWidget( &tb ); | 1311 | lay->addWidget( &tb ); |
1306 | tb.setText( text ); | 1312 | tb.setText( text ); |
1307 | #ifdef DESKTOP_VERSION | 1313 | #ifdef DESKTOP_VERSION |
1308 | dia.resize( 640, 480); | 1314 | dia.resize( 640, 480); |
1309 | #else | 1315 | #else |
1310 | dia.showMaximized(); | 1316 | dia.showMaximized(); |
1311 | #endif | 1317 | #endif |
1312 | dia.exec(); | 1318 | dia.exec(); |
1313 | } | 1319 | } |
1314 | 1320 | ||
1315 | void MainWindow::features() | 1321 | void MainWindow::features() |
1316 | { | 1322 | { |
1317 | 1323 | ||
1318 | KApplication::showFile( i18n("KO/Pi Features and hints"), "kdepim/korganizer/featuresKOPI.txt" ); | 1324 | KApplication::showFile( i18n("KO/Pi Features and hints"), "kdepim/korganizer/featuresKOPI.txt" ); |
1319 | } | 1325 | } |
1320 | 1326 | ||
1321 | void MainWindow::usertrans() | 1327 | void MainWindow::usertrans() |
1322 | { | 1328 | { |
1323 | 1329 | ||
1324 | KApplication::showFile( i18n("KO/Pi User translation HowTo"), "kdepim/korganizer/usertranslationHOWTO.txt" ); | 1330 | KApplication::showFile( i18n("KO/Pi User translation HowTo"), "kdepim/korganizer/usertranslationHOWTO.txt" ); |
1325 | } | 1331 | } |
1326 | 1332 | ||
1327 | void MainWindow::kdesynchowto() | 1333 | void MainWindow::kdesynchowto() |
1328 | { | 1334 | { |
1329 | KApplication::showFile( "KDE-Pim/Pi Synchronization HowTo", "kdepim/Zaurus-KDE_syncHowTo.txt" ); | 1335 | KApplication::showFile( "KDE-Pim/Pi Synchronization HowTo", "kdepim/Zaurus-KDE_syncHowTo.txt" ); |
1330 | } | 1336 | } |
1331 | void MainWindow::multisynchowto() | 1337 | void MainWindow::multisynchowto() |
1332 | { | 1338 | { |
1333 | KApplication::showFile( "KDE-Pim/Pi Synchronization HowTo", "kdepim/MultiSyncHowTo.txt" ); | 1339 | KApplication::showFile( "KDE-Pim/Pi Synchronization HowTo", "kdepim/MultiSyncHowTo.txt" ); |
1334 | } | 1340 | } |
1335 | void MainWindow::synchowto() | 1341 | void MainWindow::synchowto() |
1336 | { | 1342 | { |
1337 | KApplication::showFile( "KDE-Pim/Pi Synchronization HowTo", "kdepim/SyncHowto.txt" ); | 1343 | KApplication::showFile( "KDE-Pim/Pi Synchronization HowTo", "kdepim/SyncHowto.txt" ); |
1338 | } | 1344 | } |
1339 | void MainWindow::faq() | 1345 | void MainWindow::faq() |
1340 | { | 1346 | { |
1341 | KApplication::showFile( i18n("KO/Pi FAQ"), "kdepim/korganizer/kopiFAQ.txt" ); | 1347 | KApplication::showFile( i18n("KO/Pi FAQ"), "kdepim/korganizer/kopiFAQ.txt" ); |
1342 | 1348 | ||
1343 | } | 1349 | } |
1344 | void MainWindow::whatsNew() | 1350 | void MainWindow::whatsNew() |
1345 | { | 1351 | { |
1346 | KApplication::showFile( "KDE-Pim/Pi Version Info", "kdepim/WhatsNew.txt" ); | 1352 | KApplication::showFile( "KDE-Pim/Pi Version Info", "kdepim/WhatsNew.txt" ); |
1347 | 1353 | ||
1348 | } | 1354 | } |
1349 | void MainWindow::licence() | 1355 | void MainWindow::licence() |
1350 | { | 1356 | { |
1351 | KApplication::showLicence(); | 1357 | KApplication::showLicence(); |
1352 | 1358 | ||
1353 | } | 1359 | } |
1354 | void MainWindow::about() | 1360 | void MainWindow::about() |
1355 | { | 1361 | { |
1356 | QString version; | 1362 | QString version; |
1357 | #include <../version> | 1363 | #include <../version> |
1358 | QMessageBox::about( this, i18n("About KOrganizer/Pi"), | 1364 | QMessageBox::about( this, i18n("About KOrganizer/Pi"), |
1359 | i18n("KOrganizer/Platform-independent\n") + | 1365 | i18n("KOrganizer/Platform-independent\n") + |
1360 | "(KO/Pi) " + version + " - " + | 1366 | "(KO/Pi) " + version + " - " + |
1361 | 1367 | ||
1362 | #ifdef DESKTOP_VERSION | 1368 | #ifdef DESKTOP_VERSION |
1363 | i18n("Desktop Edition\n") + | 1369 | i18n("Desktop Edition\n") + |
1364 | #else | 1370 | #else |
1365 | i18n("PDA-Edition\nfor: Zaurus 5x00/7x0/860/3000/6000\n") + | 1371 | i18n("PDA-Edition\nfor: Zaurus 5x00/7x0/860/3000/6000\n") + |
1366 | #endif | 1372 | #endif |
1367 | i18n("(c)2004 Lutz Rogowski (rogowski@kde.org)\nKO/Pi is based on KOrganizer\n(c)2002,2003 Cornelius Schumacher\n(schumacher@kde.org) and the KDE team.\nKOrganizer/Pi is licensed under the GPL.\nKO/Pi can be compiled for\nLinux, Zaurus-PDA and Windows\nwww.pi-sync.info --- www.korganizer.org\nSpecial thanks to Michael and Ben\nfor intensive testing!") ); | 1373 | i18n("(c)2004 Lutz Rogowski (rogowski@kde.org)\nKO/Pi is based on KOrganizer\n(c)2002,2003 Cornelius Schumacher\n(schumacher@kde.org) and the KDE team.\nKOrganizer/Pi is licensed under the GPL.\nKO/Pi can be compiled for\nLinux, Zaurus-PDA and Windows\nwww.pi-sync.info --- www.korganizer.org\nSpecial thanks to Michael and Ben\nfor intensive testing!") ); |
1368 | } | 1374 | } |
1369 | void MainWindow::keyBindings() | 1375 | void MainWindow::keyBindings() |
1370 | { | 1376 | { |
1371 | QString cap = i18n("KO/Pi Keys + Colors"); | 1377 | QString cap = i18n("KO/Pi Keys + Colors"); |
1372 | QString text = i18n("<p><h2>KO/Pi key shortcuts:</h2></p>\n") + | 1378 | QString text = i18n("<p><h2>KO/Pi key shortcuts:</h2></p>\n") + |
1373 | i18n("<p><b>H</b>: This help dialog | <b>S</b>: Search dialog</p>\n")+ | 1379 | i18n("<p><b>H</b>: This help dialog | <b>S</b>: Search dialog</p>\n")+ |
1374 | i18n("<p><b>I</b>: Show info for selected event/todo</p>\n") + | 1380 | i18n("<p><b>I</b>: Show info for selected event/todo</p>\n") + |
1375 | i18n("<p><b>Space</b>: Toggle fullscreen | <b>P</b>: Date picker</p>\n")+ | 1381 | i18n("<p><b>Space</b>: Toggle fullscreen | <b>P</b>: Date picker</p>\n")+ |
1376 | i18n("<p><b>F</b>: Toggle filterview |<b>F+ctrl</b>: Edit filter </p>\n")+ | 1382 | i18n("<p><b>F</b>: Toggle filterview |<b>F+ctrl</b>: Edit filter </p>\n")+ |
1377 | i18n("<p><b>O</b>: Filter On/Off | <b>J</b>: Journal view</p>\n")+ | 1383 | i18n("<p><b>O</b>: Filter On/Off | <b>J</b>: Journal view</p>\n")+ |
1378 | i18n("<p><b>1-0</b> (+<b>ctrl</b>): Select filter 1-10 (11-20)</p>\n")+ | 1384 | i18n("<p><b>1-0</b> (+<b>ctrl</b>): Select filter 1-10 (11-20)</p>\n")+ |
1379 | i18n("<p><b>N</b>: Next days view| <b>W</b>: What's next view\n ")+ | 1385 | i18n("<p><b>N</b>: Next days view| <b>W</b>: What's next view\n ")+ |
1380 | i18n("<p><b>V</b>: Todo view | <b>L</b>: Event list view</p>\n")+ | 1386 | i18n("<p><b>V</b>: Todo view | <b>L</b>: Event list view</p>\n")+ |
1381 | i18n("<p><b>Z,Y</b>: Work week view | <b>U</b>: Week view</p>\n")+ | 1387 | i18n("<p><b>Z,Y</b>: Work week view | <b>U</b>: Week view</p>\n")+ |
1382 | i18n("<p><b>D</b>: One day view | <b>M</b>: Month view</p>\n")+ | 1388 | i18n("<p><b>D</b>: One day view | <b>M</b>: Month view</p>\n")+ |
1383 | i18n("<p><b>K</b>: Week view in Month view syle</p>\n")+ | 1389 | i18n("<p><b>K</b>: Week view in Month view syle</p>\n")+ |
1384 | i18n("<p><b>E</b>: Edit selected item |<b> E+ctrl</b>: New Event</p>\n")+ | 1390 | i18n("<p><b>E</b>: Edit selected item |<b> E+ctrl</b>: New Event</p>\n")+ |
1385 | i18n("<p><b>T</b>: Goto today | <b>T+ctrl</b>: New Todo</p>\n")+ | 1391 | i18n("<p><b>T</b>: Goto today | <b>T+ctrl</b>: New Todo</p>\n")+ |
1386 | i18n("<p><b>S+ctrl</b>: Add sub-todo | <b>X</b>: Toggle datenavigator</p>\n")+ | 1392 | i18n("<p><b>S+ctrl</b>: Add sub-todo | <b>X</b>: Toggle datenavigator</p>\n")+ |
1387 | i18n("<p><b>+,-</b> : Zoom in/out agenda | <b>A</b>: Toggle allday agenda height</p>\n")+ | 1393 | i18n("<p><b>+,-</b> : Zoom in/out agenda | <b>A</b>: Toggle allday agenda height</p>\n")+ |
1388 | i18n("<p><b>C</b>: Show current time in agenda view</p>\n")+ | 1394 | i18n("<p><b>C</b>: Show current time in agenda view</p>\n")+ |
1389 | i18n("<p><b>B</b>: Edit description (details) of selected item</p>\n")+ | 1395 | i18n("<p><b>B</b>: Edit description (details) of selected item</p>\n")+ |
1390 | i18n("<p><b>right</b>: Next week | <b>right+ctrl</b>: Next month</p>\n")+ | 1396 | i18n("<p><b>right</b>: Next week | <b>right+ctrl</b>: Next month</p>\n")+ |
1391 | i18n("<p><b>left</b>: Prev. week | <b>left+ctrl</b>: Prev. month</p>\n")+ | 1397 | i18n("<p><b>left</b>: Prev. week | <b>left+ctrl</b>: Prev. month</p>\n")+ |
1392 | i18n("<p><b>del,backspace</b>: Delete selected item</p>\n")+ | 1398 | i18n("<p><b>del,backspace</b>: Delete selected item</p>\n")+ |
1393 | i18n("<p><h3>In agenda view:</h3></p>\n") + | 1399 | i18n("<p><h3>In agenda view:</h3></p>\n") + |
1394 | i18n("<p><b>up/down</b>: Scroll agenda view</p>\n")+ | 1400 | i18n("<p><b>up/down</b>: Scroll agenda view</p>\n")+ |
1395 | i18n("<p><b>ctrl+up/down</b>: Scroll small todo view</p>\n")+ | 1401 | i18n("<p><b>ctrl+up/down</b>: Scroll small todo view</p>\n")+ |
1396 | i18n("<p><h3>In todo view:</h3></p>\n") + | 1402 | i18n("<p><h3>In todo view:</h3></p>\n") + |
1397 | i18n("<p><b>shift+U</b>: <b>U</b>nparent todo (make root todo)</p>\n")+ | 1403 | i18n("<p><b>shift+U</b>: <b>U</b>nparent todo (make root todo)</p>\n")+ |
1398 | i18n("<p><b>shift+S</b>: Make <b>S</b>ubtodo (reparent todo)</p>\n")+ | 1404 | i18n("<p><b>shift+S</b>: Make <b>S</b>ubtodo (reparent todo)</p>\n")+ |
1399 | i18n("<p><b>shift+P</b>: Make new <b>P</b>arent for todo selected with shift+S</p>\n")+ | 1405 | i18n("<p><b>shift+P</b>: Make new <b>P</b>arent for todo selected with shift+S</p>\n")+ |
1400 | i18n("<p><b>Q</b>: Toggle quick todo line edit.</p>\n")+ | 1406 | i18n("<p><b>Q</b>: Toggle quick todo line edit.</p>\n")+ |
1401 | i18n("<p><b>I</b>: Show info of current item+one step down.</p>\n")+ | 1407 | i18n("<p><b>I</b>: Show info of current item+one step down.</p>\n")+ |
1402 | i18n("<p><b>return</b>: Mark item as completed+one step down.</p>\n")+ | 1408 | i18n("<p><b>return</b>: Mark item as completed+one step down.</p>\n")+ |
1403 | i18n("<p><b>return+shift</b>: Mark item as not completed+one step down</p>\n")+ | 1409 | i18n("<p><b>return+shift</b>: Mark item as not completed+one step down</p>\n")+ |
1404 | i18n("<p><h3>In list view:</h3></p>\n") + | 1410 | i18n("<p><h3>In list view:</h3></p>\n") + |
1405 | i18n("<p><b>I</b>: Show info of current item+one step down.</p>\n")+ | 1411 | i18n("<p><b>I</b>: Show info of current item+one step down.</p>\n")+ |
1406 | i18n("<p><b>return</b>: Select item+one step down</p>\n")+ | 1412 | i18n("<p><b>return</b>: Select item+one step down</p>\n")+ |
1407 | i18n("<p><b>return+shift</b>: Deselect item+one step down</p>\n")+ | 1413 | i18n("<p><b>return+shift</b>: Deselect item+one step down</p>\n")+ |
1408 | i18n("<p><b>up/down</b>: Next/prev item</p>\n")+ | 1414 | i18n("<p><b>up/down</b>: Next/prev item</p>\n")+ |
1409 | i18n("<p><b>ctrl+up/down</b>: Goto up/down by 20% of items</p>\n")+ | 1415 | i18n("<p><b>ctrl+up/down</b>: Goto up/down by 20% of items</p>\n")+ |
1410 | i18n("<p><b>shift+up/down</b>: Goto first/last item</p>\n")+ | 1416 | i18n("<p><b>shift+up/down</b>: Goto first/last item</p>\n")+ |
1411 | i18n("<p><h3>In event/todo viewer:</h3></p>\n") + | 1417 | i18n("<p><h3>In event/todo viewer:</h3></p>\n") + |
1412 | i18n("<p><b>I,C</b>: Close dialog.</p>\n")+ | 1418 | i18n("<p><b>I,C</b>: Close dialog.</p>\n")+ |
1413 | i18n("<p><b>A</b>: Show agenda view.</p>\n")+ | 1419 | i18n("<p><b>A</b>: Show agenda view.</p>\n")+ |
1414 | i18n("<p><b>E</b>: Edit item</p>\n") + | 1420 | i18n("<p><b>E</b>: Edit item</p>\n") + |
1415 | i18n("<p><h2>KO/Pi icon colors:</h2></p>\n") + | 1421 | i18n("<p><h2>KO/Pi icon colors:</h2></p>\n") + |
1416 | i18n("<p><b>(for square icons in agenda and month view)</b></p>\n") + | 1422 | i18n("<p><b>(for square icons in agenda and month view)</b></p>\n") + |
1417 | i18n("<p><b>Cross</b>: Item cancelled.([c] in Whats'Next view)</p>\n")+ | 1423 | i18n("<p><b>Cross</b>: Item cancelled.([c] in Whats'Next view)</p>\n")+ |
1418 | i18n("<p><b>Red</b>: Alarm set.([a] in Whats'Next view)</p>\n")+ | 1424 | i18n("<p><b>Red</b>: Alarm set.([a] in Whats'Next view)</p>\n")+ |
1419 | i18n("<p><b>Blue</b>: Recurrent event.([r] in Whats'Next view)</p>\n")+ | 1425 | i18n("<p><b>Blue</b>: Recurrent event.([r] in Whats'Next view)</p>\n")+ |
1420 | i18n("<p><b>Dark green</b>: Information(description) available.([i] in WN view)</p>\n")+ | 1426 | i18n("<p><b>Dark green</b>: Information(description) available.([i] in WN view)</p>\n")+ |
1421 | i18n("<p><b>Black</b>: Event/todo with attendees. You are the organizer!</p>\n")+ | 1427 | i18n("<p><b>Black</b>: Event/todo with attendees. You are the organizer!</p>\n")+ |
1422 | i18n("<p><b>Dark yellow</b>: Event/todo with attendees.</p>\n") + | 1428 | i18n("<p><b>Dark yellow</b>: Event/todo with attendees.</p>\n") + |
1423 | i18n("<p><b>White</b>: Item readonly</p>\n"); | 1429 | i18n("<p><b>White</b>: Item readonly</p>\n"); |
1424 | displayText( text, cap); | 1430 | displayText( text, cap); |
1425 | } | 1431 | } |
1426 | void MainWindow::aboutAutoSaving() | 1432 | void MainWindow::aboutAutoSaving() |
1427 | { | 1433 | { |
1428 | QString text = i18n("After changing something, the data is\nautomatically saved to the file\n~/kdepim/apps/korganizer/mycalendar.ics\nafter (configurable) three minutes.\nFor safety reasons there is one autosaving\nafter 10 minutes (of idle time) again. The \ndata is saved automatically when closing KO/Pi\nYou can create a backup file \nwith: File - Save Calendar Backup\n"); | 1434 | QString text = i18n("After changing something, the data is\nautomatically saved to the file\n~/kdepim/apps/korganizer/mycalendar.ics\nafter (configurable) three minutes.\nFor safety reasons there is one autosaving\nafter 10 minutes (of idle time) again. The \ndata is saved automatically when closing KO/Pi\nYou can create a backup file \nwith: File - Save Calendar Backup\n"); |
1429 | 1435 | ||
1430 | KApplication::showText( i18n("Auto Saving in KOrganizer/Pi"), text); | 1436 | KApplication::showText( i18n("Auto Saving in KOrganizer/Pi"), text); |
1431 | 1437 | ||
1432 | } | 1438 | } |
1433 | void MainWindow::aboutKnownBugs() | 1439 | void MainWindow::aboutKnownBugs() |
1434 | { | 1440 | { |
1435 | QMessageBox* msg; | 1441 | QMessageBox* msg; |
1436 | msg = new QMessageBox( i18n("Known Problems in KOrganizer/Pi"), | 1442 | msg = new QMessageBox( i18n("Known Problems in KOrganizer/Pi"), |
1437 | i18n("1) Importing *.vcs or *.ics files from\nother applications may not work properly,\nif there are events with properties\nKO/Pi does not support.\n")+ | 1443 | i18n("1) Importing *.vcs or *.ics files from\nother applications may not work properly,\nif there are events with properties\nKO/Pi does not support.\n")+ |
1438 | i18n("2) Audio alarm daemon\nfor Zaurus is available!\nas an additional small application\n")+ | 1444 | i18n("2) Audio alarm daemon\nfor Zaurus is available!\nas an additional small application\n")+ |
1439 | i18n("\nPlease report unexpected behaviour to\nlutz@pi-sync.info\n") + | 1445 | i18n("\nPlease report unexpected behaviour to\nlutz@pi-sync.info\n") + |
1440 | i18n("\nor report them in the bugtracker on\n") + | 1446 | i18n("\nor report them in the bugtracker on\n") + |
1441 | i18n("\nhttp://sourceforge.net/projects/kdepimpi\n"), | 1447 | i18n("\nhttp://sourceforge.net/projects/kdepimpi\n"), |
1442 | QMessageBox::NoIcon, | 1448 | QMessageBox::NoIcon, |
1443 | QMessageBox::Ok, | 1449 | QMessageBox::Ok, |
1444 | QMessageBox::NoButton, | 1450 | QMessageBox::NoButton, |
1445 | QMessageBox::NoButton); | 1451 | QMessageBox::NoButton); |
1446 | msg->exec(); | 1452 | msg->exec(); |
1447 | delete msg; | 1453 | delete msg; |
1448 | 1454 | ||
1449 | } | 1455 | } |
1450 | 1456 | ||
1451 | QString MainWindow::defaultFileName() | 1457 | QString MainWindow::defaultFileName() |
1452 | { | 1458 | { |
1453 | return locateLocal( "data", "korganizer/mycalendar.ics" ); | 1459 | return locateLocal( "data", "korganizer/mycalendar.ics" ); |
1454 | } | 1460 | } |
1455 | QString MainWindow::syncFileName() | 1461 | QString MainWindow::syncFileName() |
1456 | { | 1462 | { |
1457 | #ifdef DESKTOP_VERSION | 1463 | #ifdef DESKTOP_VERSION |
1458 | return locateLocal( "tmp", "synccalendar.ics" ); | 1464 | return locateLocal( "tmp", "synccalendar.ics" ); |
1459 | #else | 1465 | #else |
1460 | return QString( "/tmp/synccalendar.ics" ); | 1466 | return QString( "/tmp/synccalendar.ics" ); |
1461 | #endif | 1467 | #endif |
1462 | } | 1468 | } |
1463 | void MainWindow::updateWeek(QDate seda) | 1469 | void MainWindow::updateWeek(QDate seda) |
1464 | { | 1470 | { |
1465 | int weekNum = 0; | 1471 | int weekNum = 0; |
1466 | QDate d = QDate ( seda.year(), 1,1); | 1472 | QDate d = QDate ( seda.year(), 1,1); |
1467 | seda = seda.addDays( 1-seda.dayOfWeek() );//we are on monday | 1473 | seda = seda.addDays( 1-seda.dayOfWeek() );//we are on monday |
1468 | if ( seda.addDays(6).year() != seda.year() ) { | 1474 | if ( seda.addDays(6).year() != seda.year() ) { |
1469 | if ( seda.year() != d.year() ) { | 1475 | if ( seda.year() != d.year() ) { |
1470 | if ( d.dayOfWeek() > 4 ) | 1476 | if ( d.dayOfWeek() > 4 ) |
1471 | d = QDate ( seda.year(), 1,1); | 1477 | d = QDate ( seda.year(), 1,1); |
1472 | else | 1478 | else |
1473 | weekNum = 1; | 1479 | weekNum = 1; |
1474 | } else { | 1480 | } else { |
1475 | QDate dd( seda.year()+1, 1,1); | 1481 | QDate dd( seda.year()+1, 1,1); |
1476 | if ( dd.dayOfWeek() <= 4 ) | 1482 | if ( dd.dayOfWeek() <= 4 ) |
1477 | weekNum = 1; | 1483 | weekNum = 1; |
1478 | } | 1484 | } |
1479 | } | 1485 | } |
1480 | if ( weekNum == 0 ){ | 1486 | if ( weekNum == 0 ){ |
1481 | int dow = d.dayOfWeek(); | 1487 | int dow = d.dayOfWeek(); |
1482 | if ( dow <= 4 ) | 1488 | if ( dow <= 4 ) |
1483 | d = d.addDays( 1-dow ); | 1489 | d = d.addDays( 1-dow ); |
1484 | else // 5,6,7 | 1490 | else // 5,6,7 |
1485 | d = d.addDays( 8-dow ); | 1491 | d = d.addDays( 8-dow ); |
1486 | // we have the first week of the year.we are on monday | 1492 | // we have the first week of the year.we are on monday |
1487 | weekNum = d.daysTo( seda ) / 7 +1; | 1493 | weekNum = d.daysTo( seda ) / 7 +1; |
1488 | } | 1494 | } |
1489 | 1495 | ||
1490 | mWeekPixmap.fill( mWeekBgColor ); | 1496 | mWeekPixmap.fill( mWeekBgColor ); |
1491 | QPainter p ( &mWeekPixmap ); | 1497 | QPainter p ( &mWeekPixmap ); |
1492 | p.setFont( mWeekFont ); | 1498 | p.setFont( mWeekFont ); |
1493 | p.drawText( 0,0,mWeekPixmap.width(), mWeekPixmap.height(),AlignCenter, QString::number( weekNum) ); | 1499 | p.drawText( 0,0,mWeekPixmap.width(), mWeekPixmap.height(),AlignCenter, QString::number( weekNum) ); |
1494 | p.end(); | 1500 | p.end(); |
1495 | QIconSet icon3 ( mWeekPixmap ); | 1501 | QIconSet icon3 ( mWeekPixmap ); |
1496 | mWeekAction->setIconSet ( icon3 ); | 1502 | mWeekAction->setIconSet ( icon3 ); |
1497 | 1503 | ||
1498 | } | 1504 | } |
1499 | void MainWindow::updateWeekNum(const DateList &selectedDates) | 1505 | void MainWindow::updateWeekNum(const DateList &selectedDates) |
1500 | { | 1506 | { |
1501 | updateWeek( selectedDates.first() ); | 1507 | updateWeek( selectedDates.first() ); |
1502 | } | 1508 | } |
1503 | void MainWindow::processIncidenceSelection( Incidence *incidence ) | 1509 | void MainWindow::processIncidenceSelection( Incidence *incidence ) |
1504 | { | 1510 | { |
1505 | 1511 | ||
1506 | if ( !incidence ) { | 1512 | if ( !incidence ) { |
1507 | enableIncidenceActions( false ); | 1513 | enableIncidenceActions( false ); |
1508 | 1514 | ||
1509 | mNewSubTodoAction->setEnabled( false ); | 1515 | mNewSubTodoAction->setEnabled( false ); |
1510 | setCaptionToDates(); | 1516 | setCaptionToDates(); |
1511 | return; | 1517 | return; |
1512 | 1518 | ||
1513 | } | 1519 | } |
1514 | 1520 | ||
1515 | //KGlobal::locale()->formatDateTime(nextA, true); | 1521 | //KGlobal::locale()->formatDateTime(nextA, true); |
1516 | QString startString = ""; | 1522 | QString startString = ""; |
1517 | if ( incidence->type() != "Todo" ) { | 1523 | if ( incidence->type() != "Todo" ) { |
1518 | if ( incidence->dtStart().date() < incidence->dtEnd().date() ) { | 1524 | if ( incidence->dtStart().date() < incidence->dtEnd().date() ) { |
1519 | if ( incidence->doesFloat() ) { | 1525 | if ( incidence->doesFloat() ) { |
1520 | startString += ": "+incidence->dtStartDateStr( true ); | 1526 | startString += ": "+incidence->dtStartDateStr( true ); |
1521 | startString += " --- "+((Event*)incidence)->dtEndDateStr( true ); | 1527 | startString += " --- "+((Event*)incidence)->dtEndDateStr( true ); |
1522 | 1528 | ||
1523 | } else { | 1529 | } else { |
1524 | startString = ": "+incidence->dtStartStr(true); | 1530 | startString = ": "+incidence->dtStartStr(true); |
1525 | startString += " --- "+((Event*)incidence)->dtEndStr(true); | 1531 | startString += " --- "+((Event*)incidence)->dtEndStr(true); |
1526 | 1532 | ||
1527 | } | 1533 | } |
1528 | 1534 | ||
1529 | } else { | 1535 | } else { |
1530 | if ( incidence->dtStart().time() != incidence->dtEnd().time() ) | 1536 | if ( incidence->dtStart().time() != incidence->dtEnd().time() ) |
1531 | startString = ": "+KGlobal::locale()->formatTime(incidence->dtStart().time())+ | 1537 | startString = ": "+KGlobal::locale()->formatTime(incidence->dtStart().time())+ |
1532 | "-"+KGlobal::locale()->formatTime(incidence->dtEnd().time()); | 1538 | "-"+KGlobal::locale()->formatTime(incidence->dtEnd().time()); |
1533 | if ( incidence->categories().contains( i18n("Birthday") ) || incidence->categories().contains( i18n("Anniversary") ) ) { | 1539 | if ( incidence->categories().contains( i18n("Birthday") ) || incidence->categories().contains( i18n("Anniversary") ) ) { |
1534 | bool ok; | 1540 | bool ok; |
1535 | QDateTime noc = incidence->getNextOccurence( mView->startDate().addDays(-1), &ok ); | 1541 | QDateTime noc = incidence->getNextOccurence( mView->startDate().addDays(-1), &ok ); |
1536 | if ( ok ) { | 1542 | if ( ok ) { |
1537 | int years = noc.date().year() - incidence->dtStart().date().year(); | 1543 | int years = noc.date().year() - incidence->dtStart().date().year(); |
1538 | startString += i18n(" (%1 y.)"). arg( years ); | 1544 | startString += i18n(" (%1 y.)"). arg( years ); |
1539 | } | 1545 | } |
1540 | } | 1546 | } |
1541 | else | 1547 | else |
1542 | startString +=" "+KGlobal::locale()->formatDate( incidence->dtStart().date(), true); | 1548 | startString +=" "+KGlobal::locale()->formatDate( incidence->dtStart().date(), true); |
1543 | } | 1549 | } |
1544 | 1550 | ||
1545 | } | 1551 | } |
1546 | else | 1552 | else |
1547 | startString = i18n(": (Prio ") +QString::number( (( KCal::Todo*)incidence)->priority() ) +") "+QString::number( (( KCal::Todo*)incidence)->percentComplete() ) +i18n("\% completed"); | 1553 | startString = i18n(": (Prio ") +QString::number( (( KCal::Todo*)incidence)->priority() ) +") "+QString::number( (( KCal::Todo*)incidence)->percentComplete() ) +i18n("\% completed"); |
1548 | if ( !incidence->location().isEmpty() ) | 1554 | if ( !incidence->location().isEmpty() ) |
1549 | startString += " (" +incidence->location()+")"; | 1555 | startString += " (" +incidence->location()+")"; |
1550 | setCaption( incidence->summary()+startString); | 1556 | setCaption( incidence->summary()+startString); |
1551 | 1557 | ||
1552 | enableIncidenceActions( true ); | 1558 | enableIncidenceActions( true ); |
1553 | 1559 | ||
1554 | if ( incidence->type() == "Event" ) { | 1560 | if ( incidence->type() == "Event" ) { |
1555 | mShowAction->setText( i18n("Show Event...") ); | 1561 | mShowAction->setText( i18n("Show Event...") ); |
1556 | mEditAction->setText( i18n("Edit Event...") ); | 1562 | mEditAction->setText( i18n("Edit Event...") ); |
1557 | mDeleteAction->setText( i18n("Delete Event...") ); | 1563 | mDeleteAction->setText( i18n("Delete Event...") ); |
1558 | 1564 | ||
1559 | mNewSubTodoAction->setEnabled( false ); | 1565 | mNewSubTodoAction->setEnabled( false ); |
1560 | } else if ( incidence->type() == "Todo" ) { | 1566 | } else if ( incidence->type() == "Todo" ) { |
1561 | mShowAction->setText( i18n("Show Todo...") ); | 1567 | mShowAction->setText( i18n("Show Todo...") ); |
1562 | mEditAction->setText( i18n("Edit Todo...") ); | 1568 | mEditAction->setText( i18n("Edit Todo...") ); |
1563 | mDeleteAction->setText( i18n("Delete Todo...") ); | 1569 | mDeleteAction->setText( i18n("Delete Todo...") ); |
1564 | 1570 | ||
1565 | mNewSubTodoAction->setEnabled( true ); | 1571 | mNewSubTodoAction->setEnabled( true ); |
1566 | } else { | 1572 | } else { |
1567 | mShowAction->setText( i18n("Show...") ); | 1573 | mShowAction->setText( i18n("Show...") ); |
1568 | mShowAction->setText( i18n("Edit...") ); | 1574 | mShowAction->setText( i18n("Edit...") ); |
1569 | mShowAction->setText( i18n("Delete...") ); | 1575 | mShowAction->setText( i18n("Delete...") ); |
1570 | 1576 | ||
1571 | mNewSubTodoAction->setEnabled( false ); | 1577 | mNewSubTodoAction->setEnabled( false ); |
1572 | } | 1578 | } |
1573 | } | 1579 | } |
1574 | 1580 | ||
1575 | void MainWindow::enableIncidenceActions( bool enabled ) | 1581 | void MainWindow::enableIncidenceActions( bool enabled ) |
1576 | { | 1582 | { |
1577 | mShowAction->setEnabled( enabled ); | 1583 | mShowAction->setEnabled( enabled ); |
1578 | mEditAction->setEnabled( enabled ); | 1584 | mEditAction->setEnabled( enabled ); |
1579 | mDeleteAction->setEnabled( enabled ); | 1585 | mDeleteAction->setEnabled( enabled ); |
1580 | 1586 | ||
1581 | mCloneAction->setEnabled( enabled ); | 1587 | mCloneAction->setEnabled( enabled ); |
1582 | mMoveAction->setEnabled( enabled ); | 1588 | mMoveAction->setEnabled( enabled ); |
1583 | mBeamAction->setEnabled( enabled ); | 1589 | mBeamAction->setEnabled( enabled ); |
1584 | mCancelAction->setEnabled( enabled ); | 1590 | mCancelAction->setEnabled( enabled ); |
1585 | } | 1591 | } |
1586 | 1592 | ||
1587 | void MainWindow::importOL() | 1593 | void MainWindow::importOL() |
1588 | { | 1594 | { |
1589 | #ifdef _OL_IMPORT_ | 1595 | #ifdef _OL_IMPORT_ |
1590 | KOImportOLdialog *id = new KOImportOLdialog("Import from OL - select folder!" , mView->calendar(),this ); | 1596 | KOImportOLdialog *id = new KOImportOLdialog("Import from OL - select folder!" , mView->calendar(),this ); |
1591 | id->exec(); | 1597 | id->exec(); |
1592 | delete id; | 1598 | delete id; |
1593 | mView->updateView(); | 1599 | mView->updateView(); |
1594 | #endif | 1600 | #endif |
1595 | } | 1601 | } |
1596 | void MainWindow::importBday() | 1602 | void MainWindow::importBday() |
1597 | { | 1603 | { |
1598 | int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"), | 1604 | int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"), |
1599 | i18n("When importing birthdays twice\nduplicated events will be ignored,\nif the event has not been\nchanged in KO/Pi!\n"), | 1605 | i18n("When importing birthdays twice\nduplicated events will be ignored,\nif the event has not been\nchanged in KO/Pi!\n"), |
1600 | i18n("Import!"), i18n("Cancel"), 0, | 1606 | i18n("Import!"), i18n("Cancel"), 0, |
1601 | 0, 1 ); | 1607 | 0, 1 ); |
1602 | if ( result == 0 ) { | 1608 | if ( result == 0 ) { |
1603 | mView->importBday(); | 1609 | mView->importBday(); |
1604 | 1610 | ||
1605 | } | 1611 | } |
1606 | 1612 | ||
1607 | 1613 | ||
1608 | } | 1614 | } |
1609 | void MainWindow::importQtopia() | 1615 | void MainWindow::importQtopia() |
1610 | { | 1616 | { |
1611 | //#ifndef DESKTOP_VERSION | 1617 | //#ifndef DESKTOP_VERSION |
1612 | QString mess = i18n("When importing a calendar twice\nduplicated events will be ignored!\nYou can create a backup file with\nFile - Save Calendar Backup\nto revert importing"); | 1618 | QString mess = i18n("When importing a calendar twice\nduplicated events will be ignored!\nYou can create a backup file with\nFile - Save Calendar Backup\nto revert importing"); |
1613 | #ifdef DESKTOP_VERSION | 1619 | #ifdef DESKTOP_VERSION |
1614 | mess += i18n("The content of the following files will be\nimported (located in your home directory (hd)):\n(hd)/Applications/datebook/datebook.xml\n(hd)/Applications/todolist/todolist.xml\nThe following category file will be used:\n(hd)/Settings/Categories.xml"); | 1620 | mess += i18n("The content of the following files will be\nimported (located in your home directory (hd)):\n(hd)/Applications/datebook/datebook.xml\n(hd)/Applications/todolist/todolist.xml\nThe following category file will be used:\n(hd)/Settings/Categories.xml"); |
1615 | #endif | 1621 | #endif |
1616 | int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"),mess, | 1622 | int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"),mess, |
1617 | i18n("Import!"), i18n("Cancel"), 0, | 1623 | i18n("Import!"), i18n("Cancel"), 0, |
1618 | 0, 1 ); | 1624 | 0, 1 ); |
1619 | if ( result == 0 ) { | 1625 | if ( result == 0 ) { |
1620 | #ifndef DESKTOP_VERSION | 1626 | #ifndef DESKTOP_VERSION |
1621 | QString datebook = Global::applicationFileName( "datebook", "datebook.xml"); | 1627 | QString datebook = Global::applicationFileName( "datebook", "datebook.xml"); |
1622 | QString todolist = Global::applicationFileName( "todolist", "todolist.xml"); | 1628 | QString todolist = Global::applicationFileName( "todolist", "todolist.xml"); |
1623 | QString categories = QString( getenv( "HOME" ) ) + "/Settings/Categories.xml"; | 1629 | QString categories = QString( getenv( "HOME" ) ) + "/Settings/Categories.xml"; |
1624 | #else | 1630 | #else |
1625 | QString datebook = QDir::homeDirPath()+ "/Applications/datebook/datebook.xml"; | 1631 | QString datebook = QDir::homeDirPath()+ "/Applications/datebook/datebook.xml"; |
1626 | QString todolist = QDir::homeDirPath()+ "/Applications/todolist/todolist.xml"; | 1632 | QString todolist = QDir::homeDirPath()+ "/Applications/todolist/todolist.xml"; |
1627 | QString categories = QDir::homeDirPath()+ "/Settings/Categories.xml"; | 1633 | QString categories = QDir::homeDirPath()+ "/Settings/Categories.xml"; |
1628 | #endif | 1634 | #endif |
1629 | mView->importQtopia( categories, datebook, todolist ); | 1635 | mView->importQtopia( categories, datebook, todolist ); |
1630 | } | 1636 | } |
1631 | #if 0 | 1637 | #if 0 |
1632 | int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"), | 1638 | int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"), |
1633 | i18n("Not supported \non desktop!\n"), | 1639 | i18n("Not supported \non desktop!\n"), |
1634 | i18n("Ok"), i18n("Cancel"), 0, | 1640 | i18n("Ok"), i18n("Cancel"), 0, |
1635 | 0, 1 ); | 1641 | 0, 1 ); |
1636 | 1642 | ||
1637 | #endif | 1643 | #endif |
1638 | } | 1644 | } |
1639 | 1645 | ||
1640 | void MainWindow::saveOnClose() | 1646 | void MainWindow::saveOnClose() |
1641 | { | 1647 | { |
1642 | KOPrefs *p = KOPrefs::instance(); | 1648 | KOPrefs *p = KOPrefs::instance(); |
1643 | p->mToolBarHor = ( iconToolBar->orientation () == Qt:: Horizontal ); | 1649 | p->mToolBarHor = ( iconToolBar->orientation () == Qt:: Horizontal ); |
1644 | if ( p->mToolBarHor ) | 1650 | if ( p->mToolBarHor ) |
1645 | p->mToolBarUp = iconToolBar->y() > height()/2; | 1651 | p->mToolBarUp = iconToolBar->y() > height()/2; |
1646 | else | 1652 | else |
1647 | p->mToolBarUp = iconToolBar->x() > width()/2; | 1653 | p->mToolBarUp = iconToolBar->x() > width()/2; |
1648 | p->mToolBarHorV = ( viewToolBar->orientation () == Qt:: Horizontal ); | 1654 | p->mToolBarHorV = ( viewToolBar->orientation () == Qt:: Horizontal ); |
1649 | if ( p->mToolBarHorV ) | 1655 | if ( p->mToolBarHorV ) |
1650 | p->mToolBarUpV = viewToolBar->y() > height()/2; | 1656 | p->mToolBarUpV = viewToolBar->y() > height()/2; |
1651 | else | 1657 | else |
1652 | p->mToolBarUpV = viewToolBar->x() > width()/2 ; | 1658 | p->mToolBarUpV = viewToolBar->x() > width()/2 ; |
1653 | p->mToolBarHorN = ( navigatorToolBar->orientation () == Qt:: Horizontal ); | 1659 | p->mToolBarHorN = ( navigatorToolBar->orientation () == Qt:: Horizontal ); |
1654 | if ( p->mToolBarHorN ) | 1660 | if ( p->mToolBarHorN ) |
1655 | p->mToolBarUpN = navigatorToolBar->y() > height()/2; | 1661 | p->mToolBarUpN = navigatorToolBar->y() > height()/2; |
1656 | else | 1662 | else |
1657 | p->mToolBarUpN = navigatorToolBar->x() > width()/2 ; | 1663 | p->mToolBarUpN = navigatorToolBar->x() > width()/2 ; |
1658 | if ( filterToolBar ) { | 1664 | if ( filterToolBar ) { |
1659 | p->mToolBarHorF = ( filterToolBar->orientation () == Qt:: Horizontal ); | 1665 | p->mToolBarHorF = ( filterToolBar->orientation () == Qt:: Horizontal ); |
1660 | if ( p->mToolBarHorF ) | 1666 | if ( p->mToolBarHorF ) |
1661 | p->mToolBarUpF = filterToolBar->y() > height()/2; | 1667 | p->mToolBarUpF = filterToolBar->y() > height()/2; |
1662 | else | 1668 | else |
1663 | p->mToolBarUpF = filterToolBar->x() > width()/2 ; | 1669 | p->mToolBarUpF = filterToolBar->x() > width()/2 ; |
1664 | } | 1670 | } |
1665 | mView->writeSettings(); | 1671 | mView->writeSettings(); |
1666 | if ( mCalendarModifiedFlag || mView->checkFileChanged( defaultFileName())) | 1672 | if ( mCalendarModifiedFlag || mView->checkFileChanged( defaultFileName())) |
1667 | save(); | 1673 | save(); |
1668 | } | 1674 | } |
1669 | void MainWindow::slotModifiedChanged( bool changed ) | 1675 | void MainWindow::slotModifiedChanged( bool changed ) |
1670 | { | 1676 | { |
1671 | if ( mBlockAtStartup ) | 1677 | if ( mBlockAtStartup ) |
1672 | return; | 1678 | return; |
1673 | 1679 | ||
1674 | int msec; | 1680 | int msec; |
1675 | // we store the changes after 1 minute, | 1681 | // we store the changes after 1 minute, |
1676 | // and for safety reasons after 10 minutes again | 1682 | // and for safety reasons after 10 minutes again |
1677 | if ( !mSyncManager->blockSave() ) | 1683 | if ( !mSyncManager->blockSave() ) |
1678 | msec = (1000 * 60*KOPrefs::instance()->mAutoSaveInterval) +1000; | 1684 | msec = (1000 * 60*KOPrefs::instance()->mAutoSaveInterval) +1000; |
1679 | else | 1685 | else |
1680 | msec = 1000 * 600; | 1686 | msec = 1000 * 600; |
1681 | mSaveTimer.start( msec, true ); // 1 minute | 1687 | mSaveTimer.start( msec, true ); // 1 minute |
1682 | qDebug("KO: Saving File in %d secs!", msec/1000); | 1688 | qDebug("KO: Saving File in %d secs!", msec/1000); |
1683 | mCalendarModifiedFlag = true; | 1689 | mCalendarModifiedFlag = true; |
1684 | } | 1690 | } |
1685 | void MainWindow::saveStopTimer() | 1691 | void MainWindow::saveStopTimer() |
1686 | { | 1692 | { |
1687 | mSaveTimer.stop(); | 1693 | mSaveTimer.stop(); |
1688 | if (mSaveTimer.isActive() ) | 1694 | if (mSaveTimer.isActive() ) |
1689 | qDebug("ti active "); | 1695 | qDebug("ti active "); |
1690 | else | 1696 | else |
1691 | qDebug("KO: Save timer stopped"); | 1697 | qDebug("KO: Save timer stopped"); |
1692 | } | 1698 | } |
1693 | void MainWindow::save() | 1699 | void MainWindow::save() |
1694 | { | 1700 | { |
1695 | if ( !mCalendarModifiedFlag ) { | 1701 | if ( !mCalendarModifiedFlag ) { |
1696 | qDebug("KO: Calendar not modified. Nothing saved."); | 1702 | qDebug("KO: Calendar not modified. Nothing saved."); |
1697 | return; | 1703 | return; |
1698 | } | 1704 | } |
1699 | if ( mSyncManager->blockSave() ) | 1705 | if ( mSyncManager->blockSave() ) |
1700 | return; | 1706 | return; |
1701 | mSyncManager->setBlockSave(true); | 1707 | mSyncManager->setBlockSave(true); |
1702 | if ( mView->checkFileVersion( defaultFileName()) ) { | 1708 | if ( mView->checkFileVersion( defaultFileName()) ) { |
1703 | QTime neededSaveTime = QDateTime::currentDateTime().time(); | 1709 | QTime neededSaveTime = QDateTime::currentDateTime().time(); |
1704 | setCaption(i18n("KO/Pi:Saving Data to File ..." )); | 1710 | setCaption(i18n("KO/Pi:Saving Data to File ..." )); |
1705 | qDebug("KO: Start saving data to file!"); | 1711 | qDebug("KO: Start saving data to file!"); |
1706 | mView->saveCalendar( defaultFileName() ); | 1712 | mView->saveCalendar( defaultFileName() ); |
1707 | mCalendarModifiedFlag = false; | 1713 | mCalendarModifiedFlag = false; |
1708 | int msNeeded = neededSaveTime.msecsTo( QDateTime::currentDateTime().time() ); | 1714 | int msNeeded = neededSaveTime.msecsTo( QDateTime::currentDateTime().time() ); |
1709 | qDebug("KO: Needed %d ms for saving.",msNeeded ); | 1715 | qDebug("KO: Needed %d ms for saving.",msNeeded ); |
1710 | QString savemes; | 1716 | QString savemes; |
1711 | savemes.sprintf(i18n("KO/Pi:File Saved. Needed %d sec, %d ms"),(msNeeded/1000)%100,msNeeded%1000 ); | 1717 | savemes.sprintf(i18n("KO/Pi:File Saved. Needed %d sec, %d ms"),(msNeeded/1000)%100,msNeeded%1000 ); |
1712 | setCaption(savemes); | 1718 | setCaption(savemes); |
1713 | } else | 1719 | } else |
1714 | setCaption(i18n("Saving cancelled!")); | 1720 | setCaption(i18n("Saving cancelled!")); |
1715 | mSyncManager->setBlockSave( false ); | 1721 | mSyncManager->setBlockSave( false ); |
1716 | } | 1722 | } |
1717 | 1723 | ||
1718 | void MainWindow::keyReleaseEvent ( QKeyEvent * e) | 1724 | void MainWindow::keyReleaseEvent ( QKeyEvent * e) |
1719 | { | 1725 | { |
1720 | if ( !e->isAutoRepeat() ) { | 1726 | if ( !e->isAutoRepeat() ) { |
1721 | mFlagKeyPressed = false; | 1727 | mFlagKeyPressed = false; |
1722 | } | 1728 | } |
1723 | } | 1729 | } |
1724 | void MainWindow::keyPressEvent ( QKeyEvent * e ) | 1730 | void MainWindow::keyPressEvent ( QKeyEvent * e ) |
1725 | { | 1731 | { |
1726 | qApp->processEvents(); | 1732 | qApp->processEvents(); |
1727 | if ( e->isAutoRepeat() && !mFlagKeyPressed ) { | 1733 | if ( e->isAutoRepeat() && !mFlagKeyPressed ) { |
1728 | e->ignore(); | 1734 | e->ignore(); |
1729 | // qDebug(" ignore %d",e->isAutoRepeat() ); | 1735 | // qDebug(" ignore %d",e->isAutoRepeat() ); |
1730 | return; | 1736 | return; |
1731 | } | 1737 | } |
1732 | if (! e->isAutoRepeat() ) | 1738 | if (! e->isAutoRepeat() ) |
1733 | mFlagKeyPressed = true; | 1739 | mFlagKeyPressed = true; |
1734 | KOPrefs *p = KOPrefs::instance(); | 1740 | KOPrefs *p = KOPrefs::instance(); |
1735 | bool showSelectedDates = false; | 1741 | bool showSelectedDates = false; |
1736 | int size; | 1742 | int size; |
1737 | int pro = 0; | 1743 | int pro = 0; |
1738 | //qDebug("MainWindow::keyPressEvent "); | 1744 | //qDebug("MainWindow::keyPressEvent "); |
1739 | switch ( e->key() ) { | 1745 | switch ( e->key() ) { |
1740 | case Qt::Key_Right: | 1746 | case Qt::Key_Right: |
1741 | if ( e->state() == Qt::ControlButton || e->state() == Qt::ShiftButton) | 1747 | if ( e->state() == Qt::ControlButton || e->state() == Qt::ShiftButton) |
1742 | mView->goNextMonth(); | 1748 | mView->goNextMonth(); |
1743 | else | 1749 | else |
1744 | mView->goNext(); | 1750 | mView->goNext(); |
1745 | showSelectedDates = true; | 1751 | showSelectedDates = true; |
1746 | break; | 1752 | break; |
1747 | case Qt::Key_Left: | 1753 | case Qt::Key_Left: |
1748 | if ( e->state() == Qt::ControlButton|| e->state() == Qt::ShiftButton ) | 1754 | if ( e->state() == Qt::ControlButton|| e->state() == Qt::ShiftButton ) |
1749 | mView->goPreviousMonth(); | 1755 | mView->goPreviousMonth(); |
1750 | else | 1756 | else |
1751 | mView->goPrevious(); | 1757 | mView->goPrevious(); |
1752 | showSelectedDates = true; | 1758 | showSelectedDates = true; |
1753 | break; | 1759 | break; |
1754 | case Qt::Key_Down: | 1760 | case Qt::Key_Down: |
1755 | mView->viewManager()->agendaView()->scrollOneHourDown(); | 1761 | mView->viewManager()->agendaView()->scrollOneHourDown(); |
1756 | break; | 1762 | break; |
1757 | case Qt::Key_Up: | 1763 | case Qt::Key_Up: |
1758 | mView->viewManager()->agendaView()->scrollOneHourUp(); | 1764 | mView->viewManager()->agendaView()->scrollOneHourUp(); |
1759 | break; | 1765 | break; |
1760 | case Qt::Key_K: | 1766 | case Qt::Key_K: |
1761 | mView->viewManager()->showMonthViewWeek(); | 1767 | mView->viewManager()->showMonthViewWeek(); |
1762 | break; | 1768 | break; |
1763 | case Qt::Key_I: | 1769 | case Qt::Key_I: |
1764 | mView->showIncidence(); | 1770 | mView->showIncidence(); |
1765 | break; | 1771 | break; |
1766 | case Qt::Key_Delete: | 1772 | case Qt::Key_Delete: |
1767 | case Qt::Key_Backspace: | 1773 | case Qt::Key_Backspace: |
1768 | mView->deleteIncidence(); | 1774 | mView->deleteIncidence(); |
1769 | break; | 1775 | break; |
1770 | case Qt::Key_D: | 1776 | case Qt::Key_D: |
1771 | mView->viewManager()->showDayView(); | 1777 | mView->viewManager()->showDayView(); |
1772 | showSelectedDates = true; | 1778 | showSelectedDates = true; |
1773 | break; | 1779 | break; |
1774 | case Qt::Key_O: | 1780 | case Qt::Key_O: |
1775 | mView->toggleFilerEnabled( ); | 1781 | mView->toggleFilerEnabled( ); |
1776 | break; | 1782 | break; |
1777 | case Qt::Key_0: | 1783 | case Qt::Key_0: |
1778 | case Qt::Key_1: | 1784 | case Qt::Key_1: |
1779 | case Qt::Key_2: | 1785 | case Qt::Key_2: |
1780 | case Qt::Key_3: | 1786 | case Qt::Key_3: |
1781 | case Qt::Key_4: | 1787 | case Qt::Key_4: |
1782 | case Qt::Key_5: | 1788 | case Qt::Key_5: |
1783 | case Qt::Key_6: | 1789 | case Qt::Key_6: |
1784 | case Qt::Key_7: | 1790 | case Qt::Key_7: |
1785 | case Qt::Key_8: | 1791 | case Qt::Key_8: |
1786 | case Qt::Key_9: | 1792 | case Qt::Key_9: |
1787 | pro = e->key()-48; | 1793 | pro = e->key()-48; |
1788 | if ( pro == 0 ) | 1794 | if ( pro == 0 ) |
1789 | pro = 10; | 1795 | pro = 10; |
1790 | if ( e->state() == Qt::ControlButton) | 1796 | if ( e->state() == Qt::ControlButton) |
1791 | pro += 10; | 1797 | pro += 10; |
1792 | break; | 1798 | break; |
1793 | case Qt::Key_M: | 1799 | case Qt::Key_M: |
1794 | mView->viewManager()->showMonthView(); | 1800 | mView->viewManager()->showMonthView(); |
1795 | showSelectedDates = true; | 1801 | showSelectedDates = true; |
1796 | break; | 1802 | break; |
1797 | case Qt::Key_Insert: | 1803 | case Qt::Key_Insert: |
1798 | mView->newEvent(); | 1804 | mView->newEvent(); |
1799 | break; | 1805 | break; |
1800 | case Qt::Key_S : | 1806 | case Qt::Key_S : |
1801 | if ( e->state() == Qt::ControlButton || e->state() == Qt::ShiftButton) | 1807 | if ( e->state() == Qt::ControlButton || e->state() == Qt::ShiftButton) |
1802 | mView->newSubTodo(); | 1808 | mView->newSubTodo(); |
1803 | else | 1809 | else |
1804 | mView->dialogManager()->showSearchDialog(); | 1810 | mView->dialogManager()->showSearchDialog(); |
1805 | break; | 1811 | break; |
1806 | case Qt::Key_Y : | 1812 | case Qt::Key_Y : |
1807 | case Qt::Key_Z : | 1813 | case Qt::Key_Z : |
1808 | mView->viewManager()->showWorkWeekView(); | 1814 | mView->viewManager()->showWorkWeekView(); |
1809 | showSelectedDates = true; | 1815 | showSelectedDates = true; |
1810 | break; | 1816 | break; |
1811 | case Qt::Key_U : | 1817 | case Qt::Key_U : |
1812 | mView->viewManager()->showWeekView(); | 1818 | mView->viewManager()->showWeekView(); |
1813 | showSelectedDates = true; | 1819 | showSelectedDates = true; |
1814 | break; | 1820 | break; |
1815 | case Qt::Key_H : | 1821 | case Qt::Key_H : |
1816 | keyBindings(); | 1822 | keyBindings(); |
1817 | break; | 1823 | break; |
1818 | case Qt::Key_W: | 1824 | case Qt::Key_W: |
1819 | mView->viewManager()->showWhatsNextView(); | 1825 | mView->viewManager()->showWhatsNextView(); |
1820 | break; | 1826 | break; |
1821 | case Qt::Key_L: | 1827 | case Qt::Key_L: |
1822 | mView->viewManager()->showListView(); | 1828 | mView->viewManager()->showListView(); |
1823 | break; | 1829 | break; |
1824 | case Qt::Key_N: | 1830 | case Qt::Key_N: |
1825 | if ( e->state() == Qt::ControlButton || e->state() == Qt::ShiftButton) | 1831 | if ( e->state() == Qt::ControlButton || e->state() == Qt::ShiftButton) |
1826 | mView->viewManager()->showNextView(); | 1832 | mView->viewManager()->showNextView(); |
1827 | else { | 1833 | else { |
1828 | mView->viewManager()->showNextXView(); | 1834 | mView->viewManager()->showNextXView(); |
1829 | showSelectedDates = true; | 1835 | showSelectedDates = true; |
1830 | } | 1836 | } |
1831 | break; | 1837 | break; |
1832 | case Qt::Key_V: | 1838 | case Qt::Key_V: |
1833 | mView->viewManager()->showTodoView(); | 1839 | mView->viewManager()->showTodoView(); |
1834 | break; | 1840 | break; |
1835 | case Qt::Key_C: | 1841 | case Qt::Key_C: |
1836 | mView->viewManager()->agendaView()->setStartHour( QTime::currentTime ().hour() ); | 1842 | mView->viewManager()->agendaView()->setStartHour( QTime::currentTime ().hour() ); |
1837 | break; | 1843 | break; |
1838 | case Qt::Key_P: | 1844 | case Qt::Key_P: |
1839 | mView->showDatePicker( ); | 1845 | mView->showDatePicker( ); |
1840 | break; | 1846 | break; |
1841 | case Qt::Key_F: | 1847 | case Qt::Key_F: |
1842 | if ( e->state() == Qt::ControlButton|| e->state() == Qt::ShiftButton ) | 1848 | if ( e->state() == Qt::ControlButton|| e->state() == Qt::ShiftButton ) |
1843 | mView->editFilters(); | 1849 | mView->editFilters(); |
1844 | else | 1850 | else |
1845 | mView->toggleFilter(); | 1851 | mView->toggleFilter(); |
1846 | break; | 1852 | break; |
1847 | case Qt::Key_X: | 1853 | case Qt::Key_X: |
1848 | mView->toggleDateNavigatorWidget(); | 1854 | mView->toggleDateNavigatorWidget(); |
1849 | break; | 1855 | break; |
1850 | case Qt::Key_Space: | 1856 | case Qt::Key_Space: |
1851 | mView->toggleExpand(); | 1857 | mView->toggleExpand(); |
1852 | break; | 1858 | break; |
1853 | case Qt::Key_A: | 1859 | case Qt::Key_A: |
1854 | if ( e->state() == Qt::ControlButton || e->state() == Qt::ShiftButton ) | 1860 | if ( e->state() == Qt::ControlButton || e->state() == Qt::ShiftButton ) |
1855 | mView->showNextAlarms(); | 1861 | mView->showNextAlarms(); |
1856 | else | 1862 | else |
1857 | mView->toggleAllDaySize(); | 1863 | mView->toggleAllDaySize(); |
1858 | break; | 1864 | break; |
1859 | case Qt::Key_T: | 1865 | case Qt::Key_T: |
1860 | if ( e->state() == Qt::ControlButton|| e->state() == Qt::ShiftButton ) | 1866 | if ( e->state() == Qt::ControlButton|| e->state() == Qt::ShiftButton ) |
1861 | mView->newTodo(); | 1867 | mView->newTodo(); |
1862 | else { | 1868 | else { |
1863 | mView->goToday(); | 1869 | mView->goToday(); |
1864 | showSelectedDates = true; | 1870 | showSelectedDates = true; |
1865 | } | 1871 | } |
1866 | break; | 1872 | break; |
1867 | case Qt::Key_J: | 1873 | case Qt::Key_J: |
1868 | mView->viewManager()->showJournalView(); | 1874 | mView->viewManager()->showJournalView(); |
1869 | break; | 1875 | break; |
1870 | case Qt::Key_B: | 1876 | case Qt::Key_B: |
1871 | mView->editIncidenceDescription();; | 1877 | mView->editIncidenceDescription();; |
1872 | break; | 1878 | break; |
1873 | // case Qt::Key_Return: | 1879 | // case Qt::Key_Return: |
1874 | case Qt::Key_E: | 1880 | case Qt::Key_E: |
1875 | if ( e->state() == Qt::ControlButton|| e->state() == Qt::ShiftButton ) | 1881 | if ( e->state() == Qt::ControlButton|| e->state() == Qt::ShiftButton ) |
1876 | mView->newEvent(); | 1882 | mView->newEvent(); |
1877 | else | 1883 | else |
1878 | mView->editIncidence(); | 1884 | mView->editIncidence(); |
1879 | break; | 1885 | break; |
1880 | case Qt::Key_Plus: | 1886 | case Qt::Key_Plus: |
1881 | size = p->mHourSize +2; | 1887 | size = p->mHourSize +2; |
1882 | if ( size <= 22 ) | 1888 | if ( size <= 22 ) |
1883 | configureAgenda( size ); | 1889 | configureAgenda( size ); |
1884 | break; | 1890 | break; |
1885 | case Qt::Key_Minus: | 1891 | case Qt::Key_Minus: |
1886 | size = p->mHourSize - 2; | 1892 | size = p->mHourSize - 2; |
1887 | if ( size >= 4 ) | 1893 | if ( size >= 4 ) |
1888 | configureAgenda( size ); | 1894 | configureAgenda( size ); |
1889 | break; | 1895 | break; |
1890 | 1896 | ||
1891 | 1897 | ||
1892 | default: | 1898 | default: |
1893 | e->ignore(); | 1899 | e->ignore(); |
1894 | } | 1900 | } |
1895 | if ( pro > 0 ) { | 1901 | if ( pro > 0 ) { |
1896 | mView->selectFilter( pro-1 ); | 1902 | mView->selectFilter( pro-1 ); |
1897 | } | 1903 | } |
1898 | if ( showSelectedDates ) { | 1904 | if ( showSelectedDates ) { |
1899 | ;// setCaptionToDates(); | 1905 | ;// setCaptionToDates(); |
1900 | } | 1906 | } |
1901 | 1907 | ||
1902 | } | 1908 | } |
1903 | 1909 | ||
1904 | void MainWindow::fillFilterMenu() | 1910 | void MainWindow::fillFilterMenu() |
1905 | { | 1911 | { |
1906 | selectFilterMenu->clear(); | 1912 | selectFilterMenu->clear(); |
1907 | selectFilterMenu->insertItem(i18n ( "Edit Filters" ), 0 ); | 1913 | selectFilterMenu->insertItem(i18n ( "Edit Filters" ), 0 ); |
1908 | selectFilterMenu->insertSeparator(); | 1914 | selectFilterMenu->insertSeparator(); |
1909 | selectFilterMenu->insertItem(i18n ( "No Filter" ), 1 ); | 1915 | selectFilterMenu->insertItem(i18n ( "No Filter" ), 1 ); |
1910 | 1916 | ||
1911 | selectFilterMenu->insertSeparator(); | 1917 | selectFilterMenu->insertSeparator(); |
1912 | QPtrList<CalFilter> fili = mView->filters(); | 1918 | QPtrList<CalFilter> fili = mView->filters(); |
1913 | CalFilter *curfilter = mView->filterView()->selectedFilter(); | 1919 | CalFilter *curfilter = mView->filterView()->selectedFilter(); |
1914 | CalFilter *filter = fili.first(); | 1920 | CalFilter *filter = fili.first(); |
1915 | int iii = 2; | 1921 | int iii = 2; |
1916 | bool checkitem = mView->filterView()->filtersEnabled(); | 1922 | bool checkitem = mView->filterView()->filtersEnabled(); |
1917 | while(filter) { | 1923 | while(filter) { |
1918 | selectFilterMenu->insertItem( filter->name(), iii ); | 1924 | selectFilterMenu->insertItem( filter->name(), iii ); |
1919 | if ( filter == curfilter) | 1925 | if ( filter == curfilter) |
1920 | selectFilterMenu->setItemChecked( iii, checkitem ); | 1926 | selectFilterMenu->setItemChecked( iii, checkitem ); |
1921 | filter = fili.next(); | 1927 | filter = fili.next(); |
1922 | ++iii; | 1928 | ++iii; |
1923 | } | 1929 | } |
1924 | if ( !checkitem ) | 1930 | if ( !checkitem ) |
1925 | selectFilterMenu->setItemChecked( 1, true ); | 1931 | selectFilterMenu->setItemChecked( 1, true ); |
1926 | } | 1932 | } |
1927 | void MainWindow::fillFilterMenuPopup() | 1933 | void MainWindow::fillFilterMenuPopup() |
1928 | { | 1934 | { |
1929 | filterPopupMenu->clear(); | 1935 | filterPopupMenu->clear(); |
1930 | filterPopupMenu->insertItem(i18n ( "No Filter" ), 0 ); | 1936 | filterPopupMenu->insertItem(i18n ( "No Filter" ), 0 ); |
1931 | 1937 | ||
1932 | filterPopupMenu->insertSeparator(); | 1938 | filterPopupMenu->insertSeparator(); |
1933 | QPtrList<CalFilter> fili = mView->filters(); | 1939 | QPtrList<CalFilter> fili = mView->filters(); |
1934 | CalFilter *curfilter = mView->filterView()->selectedFilter(); | 1940 | CalFilter *curfilter = mView->filterView()->selectedFilter(); |
1935 | CalFilter *filter = fili.first(); | 1941 | CalFilter *filter = fili.first(); |
1936 | int iii = 1; | 1942 | int iii = 1; |
1937 | bool checkitem = mView->filterView()->filtersEnabled(); | 1943 | bool checkitem = mView->filterView()->filtersEnabled(); |
1938 | while(filter) { | 1944 | while(filter) { |
1939 | filterPopupMenu->insertItem( filter->name(), iii ); | 1945 | filterPopupMenu->insertItem( filter->name(), iii ); |
1940 | if ( filter == curfilter) | 1946 | if ( filter == curfilter) |
1941 | filterPopupMenu->setItemChecked( iii, checkitem ); | 1947 | filterPopupMenu->setItemChecked( iii, checkitem ); |
1942 | filter = fili.next(); | 1948 | filter = fili.next(); |
1943 | ++iii; | 1949 | ++iii; |
1944 | } | 1950 | } |
1945 | if ( !checkitem ) | 1951 | if ( !checkitem ) |
1946 | filterPopupMenu->setItemChecked( 0, true ); | 1952 | filterPopupMenu->setItemChecked( 0, true ); |
1947 | } | 1953 | } |
1948 | void MainWindow::selectFilter( int fil ) | 1954 | void MainWindow::selectFilter( int fil ) |
1949 | { | 1955 | { |
1950 | 1956 | ||
1951 | if ( fil == 0 ) { | 1957 | if ( fil == 0 ) { |
1952 | mView->editFilters( ); | 1958 | mView->editFilters( ); |
1953 | } else if ( fil == 1 ){ | 1959 | } else if ( fil == 1 ){ |
1954 | if ( mView->filterView()->filtersEnabled() ) | 1960 | if ( mView->filterView()->filtersEnabled() ) |
1955 | mView->toggleFilerEnabled( ); | 1961 | mView->toggleFilerEnabled( ); |
1956 | } else { | 1962 | } else { |
1957 | if ( !mView->filterView()->filtersEnabled() ) | 1963 | if ( !mView->filterView()->filtersEnabled() ) { |
1964 | mView->filterView()->blockSignals( true ); | ||
1958 | mView->toggleFilerEnabled( ); | 1965 | mView->toggleFilerEnabled( ); |
1966 | mView->filterView()->blockSignals( false ); | ||
1967 | } | ||
1959 | mView->selectFilter( fil-2 ); | 1968 | mView->selectFilter( fil-2 ); |
1960 | } | 1969 | } |
1961 | } | 1970 | } |
1962 | void MainWindow::updateFilterToolbar() | 1971 | void MainWindow::updateFilterToolbar() |
1963 | { | 1972 | { |
1964 | if ( filterMenubar ) { | 1973 | if ( filterMenubar ) { |
1965 | if ( !mView->filterView()->filtersEnabled() ) { | 1974 | if ( !mView->filterView()->filtersEnabled() ) { |
1966 | filterMenubar->changeItem( 0, i18n("No Filter") ); | 1975 | filterMenubar->changeItem( 0, i18n("No Filter") ); |
1967 | } else { | 1976 | } else { |
1968 | CalFilter *curfilter = mView->filterView()->selectedFilter(); | 1977 | CalFilter *curfilter = mView->filterView()->selectedFilter(); |
1969 | if ( curfilter ) { | 1978 | if ( curfilter ) { |
1970 | filterMenubar->changeItem( 0, curfilter->name() ); | 1979 | filterMenubar->changeItem( 0, curfilter->name() ); |
1971 | } | 1980 | } |
1972 | } | 1981 | } |
1973 | } | 1982 | } |
1974 | } | 1983 | } |
1975 | void MainWindow::selectFilterPopup( int fil ) | 1984 | void MainWindow::selectFilterPopup( int fil ) |
1976 | { | 1985 | { |
1977 | selectFilter( fil + 1 ); | 1986 | selectFilter( fil + 1 ); |
1978 | 1987 | ||
1979 | } | 1988 | } |
1980 | void MainWindow::configureToolBar( int item ) | 1989 | void MainWindow::configureToolBar( int item ) |
1981 | { | 1990 | { |
1982 | 1991 | ||
1983 | configureToolBarMenu->setItemChecked( item, !configureToolBarMenu-> isItemChecked ( item ) ); | 1992 | configureToolBarMenu->setItemChecked( item, !configureToolBarMenu-> isItemChecked ( item ) ); |
1984 | KOPrefs *p = KOPrefs::instance(); | 1993 | KOPrefs *p = KOPrefs::instance(); |
1985 | p-> mShowIconStretch= configureToolBarMenu->isItemChecked( 5 ); | 1994 | p-> mShowIconStretch= configureToolBarMenu->isItemChecked( 5 ); |
1995 | p-> mShowIconOnetoolbar = configureToolBarMenu->isItemChecked( 6 ); | ||
1986 | p-> mShowIconFilter = configureToolBarMenu->isItemChecked( 7 ); | 1996 | p-> mShowIconFilter = configureToolBarMenu->isItemChecked( 7 ); |
1987 | p-> mShowIconNewEvent= configureToolBarMenu->isItemChecked( 10 ); | 1997 | p-> mShowIconNewEvent= configureToolBarMenu->isItemChecked( 10 ); |
1988 | p->mShowIconNewTodo = configureToolBarMenu->isItemChecked( 20 ); | 1998 | p->mShowIconNewTodo = configureToolBarMenu->isItemChecked( 20 ); |
1989 | p-> mShowIconSearch= configureToolBarMenu->isItemChecked( 120 ); | 1999 | p-> mShowIconSearch= configureToolBarMenu->isItemChecked( 120 ); |
1990 | p-> mShowIconList= configureToolBarMenu->isItemChecked( 30 ); | 2000 | p-> mShowIconList= configureToolBarMenu->isItemChecked( 30 ); |
1991 | p-> mShowIconDay1= configureToolBarMenu->isItemChecked( 40 ); | 2001 | p-> mShowIconDay1= configureToolBarMenu->isItemChecked( 40 ); |
1992 | p-> mShowIconDay5= configureToolBarMenu->isItemChecked( 50 ); | 2002 | p-> mShowIconDay5= configureToolBarMenu->isItemChecked( 50 ); |
1993 | p-> mShowIconDay6= configureToolBarMenu->isItemChecked( 75 ); | 2003 | p-> mShowIconDay6= configureToolBarMenu->isItemChecked( 75 ); |
1994 | p-> mShowIconDay7= configureToolBarMenu->isItemChecked( 60 ); | 2004 | p-> mShowIconDay7= configureToolBarMenu->isItemChecked( 60 ); |
1995 | p-> mShowIconMonth= configureToolBarMenu->isItemChecked( 70 ); | 2005 | p-> mShowIconMonth= configureToolBarMenu->isItemChecked( 70 ); |
1996 | p-> mShowIconTodoview= configureToolBarMenu->isItemChecked( 80 ); | 2006 | p-> mShowIconTodoview= configureToolBarMenu->isItemChecked( 80 ); |
1997 | p-> mShowIconBackFast= configureToolBarMenu->isItemChecked( 200 ); | 2007 | p-> mShowIconBackFast= configureToolBarMenu->isItemChecked( 200 ); |
1998 | p-> mShowIconBack = configureToolBarMenu->isItemChecked( 210 ); | 2008 | p-> mShowIconBack = configureToolBarMenu->isItemChecked( 210 ); |
1999 | p-> mShowIconToday= configureToolBarMenu->isItemChecked( 130 ); | 2009 | p-> mShowIconToday= configureToolBarMenu->isItemChecked( 130 ); |
2000 | p-> mShowIconForward= configureToolBarMenu->isItemChecked( 220 ); | 2010 | p-> mShowIconForward= configureToolBarMenu->isItemChecked( 220 ); |
2001 | p-> mShowIconForwardFast= configureToolBarMenu->isItemChecked( 230 ); | 2011 | p-> mShowIconForwardFast= configureToolBarMenu->isItemChecked( 230 ); |
2002 | p-> mShowIconNextDays= configureToolBarMenu->isItemChecked( 100 ); | 2012 | p-> mShowIconNextDays= configureToolBarMenu->isItemChecked( 100 ); |
2003 | p-> mShowIconNext= configureToolBarMenu->isItemChecked( 110 ); | 2013 | p-> mShowIconNext= configureToolBarMenu->isItemChecked( 110 ); |
2004 | p-> mShowIconJournal= configureToolBarMenu->isItemChecked( 90 ); | 2014 | p-> mShowIconJournal= configureToolBarMenu->isItemChecked( 90 ); |
2005 | p-> mShowIconWhatsThis= configureToolBarMenu->isItemChecked( 300 ); | 2015 | p-> mShowIconWhatsThis= configureToolBarMenu->isItemChecked( 300 ); |
2006 | p-> mShowIconWeekNum= configureToolBarMenu->isItemChecked( 400 ); | 2016 | p-> mShowIconWeekNum= configureToolBarMenu->isItemChecked( 400 ); |
2007 | // initActions(); | 2017 | // initActions(); |
2008 | } | 2018 | } |
2009 | void MainWindow::setCaption ( const QString & c ) | 2019 | void MainWindow::setCaption ( const QString & c ) |
2010 | { | 2020 | { |
2011 | QString cap = c; | 2021 | QString cap = c; |
2012 | cap.replace( QRegExp("\n"), " " ); | 2022 | cap.replace( QRegExp("\n"), " " ); |
2013 | cap = cap.stripWhiteSpace(); | 2023 | cap = cap.stripWhiteSpace(); |
2014 | if ( cap.isEmpty() ) | 2024 | if ( cap.isEmpty() ) |
2015 | cap = "KO/Pi"; | 2025 | cap = "KO/Pi"; |
2016 | QWidget::setCaption( cap ); | 2026 | QWidget::setCaption( cap ); |
2017 | } | 2027 | } |
2018 | void MainWindow::setCaptionToDates() | 2028 | void MainWindow::setCaptionToDates() |
2019 | { | 2029 | { |
2020 | QString selDates; | 2030 | QString selDates; |
2021 | QDate date = mView->startDate(); | 2031 | QDate date = mView->startDate(); |
2022 | if ( ! date.isValid() ) { | 2032 | if ( ! date.isValid() ) { |
2023 | setCaption(""); | 2033 | setCaption(""); |
2024 | return; | 2034 | return; |
2025 | } | 2035 | } |
2026 | selDates = KGlobal::locale()->formatDate( date, true); | 2036 | selDates = KGlobal::locale()->formatDate( date, true); |
2027 | if (mView->startDate() < mView->endDate() ) | 2037 | if (mView->startDate() < mView->endDate() ) |
2028 | selDates += " - " + KGlobal::locale()->formatDate(mView->endDate(), true); | 2038 | selDates += " - " + KGlobal::locale()->formatDate(mView->endDate(), true); |
2029 | else { | 2039 | else { |
2030 | QString addString; | 2040 | QString addString; |
2031 | if ( date == QDateTime::currentDateTime().date() ) | 2041 | if ( date == QDateTime::currentDateTime().date() ) |
2032 | addString = i18n("Today"); | 2042 | addString = i18n("Today"); |
2033 | else if ( date == QDateTime::currentDateTime().date().addDays(1) ) | 2043 | else if ( date == QDateTime::currentDateTime().date().addDays(1) ) |
2034 | addString = i18n("Tomorrow"); | 2044 | addString = i18n("Tomorrow"); |
2035 | if ( !addString.isEmpty() ) | 2045 | if ( !addString.isEmpty() ) |
2036 | selDates = addString+", "+selDates ; | 2046 | selDates = addString+", "+selDates ; |
2037 | } | 2047 | } |
2038 | setCaption( i18n("Dates: ") + selDates ); | 2048 | setCaption( i18n("Dates: ") + selDates ); |
2039 | 2049 | ||
2040 | } | 2050 | } |
2041 | void MainWindow::showConfigureAgenda( ) | 2051 | void MainWindow::showConfigureAgenda( ) |
2042 | { | 2052 | { |
2043 | int iii; | 2053 | int iii; |
2044 | for ( iii = 1;iii<= 10 ;++iii ){ | 2054 | for ( iii = 1;iii<= 10 ;++iii ){ |
2045 | configureAgendaMenu->setItemChecked( (iii+1)*2, false ); | 2055 | configureAgendaMenu->setItemChecked( (iii+1)*2, false ); |
2046 | } | 2056 | } |
2047 | configureAgendaMenu->setItemChecked( (KOPrefs::instance()->mHourSize/2)*2, true ); | 2057 | configureAgendaMenu->setItemChecked( (KOPrefs::instance()->mHourSize/2)*2, true ); |
2048 | } | 2058 | } |
2049 | void MainWindow::configureAgenda( int item ) | 2059 | void MainWindow::configureAgenda( int item ) |
2050 | { | 2060 | { |
2051 | if ( KOPrefs::instance()->mHourSize == item ) | 2061 | if ( KOPrefs::instance()->mHourSize == item ) |
2052 | return; | 2062 | return; |
2053 | KOPrefs::instance()->mHourSize=item; | 2063 | KOPrefs::instance()->mHourSize=item; |
2054 | mView->viewManager()->agendaView()->updateConfig(); | 2064 | mView->viewManager()->agendaView()->updateConfig(); |
2055 | } | 2065 | } |
2056 | 2066 | ||
2057 | void MainWindow::saveCalendar() | 2067 | void MainWindow::saveCalendar() |
2058 | { | 2068 | { |
2059 | QString fn = KOPrefs::instance()->mLastSaveFile; | 2069 | QString fn = KOPrefs::instance()->mLastSaveFile; |
2060 | fn = KFileDialog::getSaveFileName( fn, i18n("Save backup filename"), this ); | 2070 | fn = KFileDialog::getSaveFileName( fn, i18n("Save backup filename"), this ); |
2061 | 2071 | ||
2062 | if ( fn == "" ) | 2072 | if ( fn == "" ) |
2063 | return; | 2073 | return; |
2064 | QFileInfo info; | 2074 | QFileInfo info; |
2065 | info.setFile( fn ); | 2075 | info.setFile( fn ); |
2066 | QString mes; | 2076 | QString mes; |
2067 | bool createbup = true; | 2077 | bool createbup = true; |
2068 | if ( info. exists() ) { | 2078 | if ( info. exists() ) { |
2069 | mes = i18n("Backup file\nalready exists!\nOld backup file from:\n%1\nOverwrite?\n").arg(KGlobal::locale()->formatDateTime(info.lastModified (), true, false )) ; | 2079 | mes = i18n("Backup file\nalready exists!\nOld backup file from:\n%1\nOverwrite?\n").arg(KGlobal::locale()->formatDateTime(info.lastModified (), true, false )) ; |
2070 | int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"),mes, | 2080 | int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"),mes, |
2071 | i18n("Overwrite!"), i18n("Cancel"), 0, | 2081 | i18n("Overwrite!"), i18n("Cancel"), 0, |
2072 | 0, 1 ); | 2082 | 0, 1 ); |
2073 | if ( result != 0 ) { | 2083 | if ( result != 0 ) { |
2074 | createbup = false; | 2084 | createbup = false; |
2075 | } | 2085 | } |
2076 | } | 2086 | } |
2077 | if ( createbup ) { | 2087 | if ( createbup ) { |
2078 | mView->saveCalendar( fn ); | 2088 | mView->saveCalendar( fn ); |
2079 | mes = i18n("KO/Pi:Saved %1").arg(fn); | 2089 | mes = i18n("KO/Pi:Saved %1").arg(fn); |
2080 | KOPrefs::instance()->mLastSaveFile = fn; | 2090 | KOPrefs::instance()->mLastSaveFile = fn; |
2081 | setCaption(mes); | 2091 | setCaption(mes); |
2082 | } | 2092 | } |
2083 | } | 2093 | } |
2084 | void MainWindow::loadCalendar() | 2094 | void MainWindow::loadCalendar() |
2085 | { | 2095 | { |
2086 | 2096 | ||
2087 | QString fn = KOPrefs::instance()->mLastLoadFile; | 2097 | QString fn = KOPrefs::instance()->mLastLoadFile; |
2088 | fn = KFileDialog::getOpenFileName( fn, i18n("Load backup filename"), this ); | 2098 | fn = KFileDialog::getOpenFileName( fn, i18n("Load backup filename"), this ); |
2089 | 2099 | ||
2090 | if ( fn == "" ) | 2100 | if ( fn == "" ) |
2091 | return; | 2101 | return; |
2092 | QFileInfo info; | 2102 | QFileInfo info; |
2093 | info.setFile( fn ); | 2103 | info.setFile( fn ); |
2094 | QString mess; | 2104 | QString mess; |
2095 | bool loadbup = true; | 2105 | bool loadbup = true; |
2096 | if ( info. exists() ) { | 2106 | if ( info. exists() ) { |
2097 | mess = i18n("Backup file from:\n%1\nLoading backup\nfile will delete\nyour current Data!\n").arg(KGlobal::locale()->formatDateTime(info.lastModified (), true, false )); | 2107 | mess = i18n("Backup file from:\n%1\nLoading backup\nfile will delete\nyour current Data!\n").arg(KGlobal::locale()->formatDateTime(info.lastModified (), true, false )); |
2098 | int result = QMessageBox::warning( this, "KO/Pi: Warning!", | 2108 | int result = QMessageBox::warning( this, "KO/Pi: Warning!", |
2099 | mess, | 2109 | mess, |
2100 | i18n("Load!"), i18n("Cancel"), 0, | 2110 | i18n("Load!"), i18n("Cancel"), 0, |
2101 | 0, 1 ); | 2111 | 0, 1 ); |
2102 | if ( result != 0 ) { | 2112 | if ( result != 0 ) { |
2103 | loadbup = false; | 2113 | loadbup = false; |
2104 | } | 2114 | } |
2105 | } else { | 2115 | } else { |
2106 | QMessageBox::warning( this, i18n("KO/Pi: Warning!"), | 2116 | QMessageBox::warning( this, i18n("KO/Pi: Warning!"), |
2107 | i18n("Backup file\ndoes not exist!\nNothing loaded!"), 0, 0, | 2117 | i18n("Backup file\ndoes not exist!\nNothing loaded!"), 0, 0, |
2108 | 0, 1 ); | 2118 | 0, 1 ); |
2109 | 2119 | ||
2110 | return; | 2120 | return; |
2111 | } | 2121 | } |
2112 | if ( loadbup ) { | 2122 | if ( loadbup ) { |
2113 | mView->openCalendar( fn ); | 2123 | mView->openCalendar( fn ); |
2114 | KOPrefs::instance()->mLastLoadFile = fn; | 2124 | KOPrefs::instance()->mLastLoadFile = fn; |
2115 | mess = i18n("KO/Pi:Loaded %1").arg(fn) ; | 2125 | mess = i18n("KO/Pi:Loaded %1").arg(fn) ; |
2116 | setCaption(mess); | 2126 | setCaption(mess); |
2117 | } | 2127 | } |
2118 | 2128 | ||
2119 | } | 2129 | } |
2120 | void MainWindow::quickImportIcal() | 2130 | void MainWindow::quickImportIcal() |
2121 | { | 2131 | { |
2122 | importFile( KOPrefs::instance()->mLastImportFile, false ); | 2132 | importFile( KOPrefs::instance()->mLastImportFile, false ); |
2123 | } | 2133 | } |
2124 | void MainWindow::importFile( QString fn, bool quick ) | 2134 | void MainWindow::importFile( QString fn, bool quick ) |
2125 | { | 2135 | { |
2126 | QFileInfo info; | 2136 | QFileInfo info; |
2127 | info.setFile( fn ); | 2137 | info.setFile( fn ); |
2128 | QString mess; | 2138 | QString mess; |
2129 | bool loadbup = true; | 2139 | bool loadbup = true; |
2130 | if ( !info. exists() ) { | 2140 | if ( !info. exists() ) { |
2131 | mess = i18n("Import file \n...%1\ndoes not exist!\nNothing imported!\n").arg(fn.right( 30)); | 2141 | mess = i18n("Import file \n...%1\ndoes not exist!\nNothing imported!\n").arg(fn.right( 30)); |
2132 | int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"), | 2142 | int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"), |
2133 | mess ); | 2143 | mess ); |
2134 | return; | 2144 | return; |
2135 | } | 2145 | } |
2136 | int result = 0; | 2146 | int result = 0; |
2137 | if ( !quick ) { | 2147 | if ( !quick ) { |
2138 | mess = i18n( "Import file \n...%1\nfrom:\n%2\nDuplicated entries\nwill not be imported!\n").arg(fn.right( 25)).arg(KGlobal::locale()->formatDateTime(info.lastModified (), true, false )); | 2148 | mess = i18n( "Import file \n...%1\nfrom:\n%2\nDuplicated entries\nwill not be imported!\n").arg(fn.right( 25)).arg(KGlobal::locale()->formatDateTime(info.lastModified (), true, false )); |
2139 | result = QMessageBox::warning( this, "KO/Pi: Warning!", | 2149 | result = QMessageBox::warning( this, "KO/Pi: Warning!", |
2140 | mess, | 2150 | mess, |
2141 | "Import", "Cancel", 0, | 2151 | "Import", "Cancel", 0, |
2142 | 0, 1 ); | 2152 | 0, 1 ); |
2143 | } | 2153 | } |
2144 | if ( result == 0 ) { | 2154 | if ( result == 0 ) { |
2145 | if ( mView->openCalendar( fn, true )) { | 2155 | if ( mView->openCalendar( fn, true )) { |
2146 | KOPrefs::instance()->mLastImportFile = fn; | 2156 | KOPrefs::instance()->mLastImportFile = fn; |
2147 | setCaption(i18n("Imported file successfully")); | 2157 | setCaption(i18n("Imported file successfully")); |
2148 | } else { | 2158 | } else { |
2149 | setCaption(i18n("Error importing file")); | 2159 | setCaption(i18n("Error importing file")); |
2150 | } | 2160 | } |
2151 | } | 2161 | } |
2152 | } | 2162 | } |
2153 | 2163 | ||
2154 | void MainWindow::importIcal() | 2164 | void MainWindow::importIcal() |
2155 | { | 2165 | { |
2156 | 2166 | ||
2157 | QString fn =KOPrefs::instance()->mLastImportFile; | 2167 | QString fn =KOPrefs::instance()->mLastImportFile; |
2158 | 2168 | ||
2159 | fn =KFileDialog:: getOpenFileName( fn, i18n("Import filename(*.ics/*.vcs)"), this ); | 2169 | fn =KFileDialog:: getOpenFileName( fn, i18n("Import filename(*.ics/*.vcs)"), this ); |
2160 | if ( fn == "" ) | 2170 | if ( fn == "" ) |
2161 | return; | 2171 | return; |
2162 | importFile( fn, true ); | 2172 | importFile( fn, true ); |
2163 | 2173 | ||
2164 | } | 2174 | } |
2165 | 2175 | ||
2166 | void MainWindow::exportVCalendar() | 2176 | void MainWindow::exportVCalendar() |
2167 | { | 2177 | { |
2168 | QString fn = KOPrefs::instance()->mLastVcalFile; | 2178 | QString fn = KOPrefs::instance()->mLastVcalFile; |
2169 | fn = KFileDialog::getSaveFileName( fn, i18n("Export vcal filename(*.vcs)"), this ); | 2179 | fn = KFileDialog::getSaveFileName( fn, i18n("Export vcal filename(*.vcs)"), this ); |
2170 | if ( fn == "" ) | 2180 | if ( fn == "" ) |
2171 | return; | 2181 | return; |
2172 | QFileInfo info; | 2182 | QFileInfo info; |
2173 | info.setFile( fn ); | 2183 | info.setFile( fn ); |
2174 | QString mes; | 2184 | QString mes; |
2175 | bool createbup = true; | 2185 | bool createbup = true; |
2176 | if ( info. exists() ) { | 2186 | if ( info. exists() ) { |
2177 | mes = i18n("Save file\nalready exists!\nOld save file from:\n%1\nOverwrite?\n").arg (KGlobal::locale()->formatDateTime(info.lastModified (), true, false ) ); | 2187 | mes = i18n("Save file\nalready exists!\nOld save file from:\n%1\nOverwrite?\n").arg (KGlobal::locale()->formatDateTime(info.lastModified (), true, false ) ); |
2178 | int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"),mes, | 2188 | int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"),mes, |
2179 | i18n("Overwrite!"), i18n("Cancel"), 0, | 2189 | i18n("Overwrite!"), i18n("Cancel"), 0, |
2180 | 0, 1 ); | 2190 | 0, 1 ); |
2181 | if ( result != 0 ) { | 2191 | if ( result != 0 ) { |
2182 | createbup = false; | 2192 | createbup = false; |
2183 | } | 2193 | } |
2184 | } | 2194 | } |
2185 | if ( createbup ) { | 2195 | if ( createbup ) { |
2186 | if ( mView->exportVCalendar( fn ) ) { | 2196 | if ( mView->exportVCalendar( fn ) ) { |
2187 | KOPrefs::instance()->mLastVcalFile = fn; | 2197 | KOPrefs::instance()->mLastVcalFile = fn; |
2188 | if ( fn.length() > 20 ) | 2198 | if ( fn.length() > 20 ) |
2189 | mes = i18n("KO/Pi:Exported to ...%1").arg(fn.right(20)) ; | 2199 | mes = i18n("KO/Pi:Exported to ...%1").arg(fn.right(20)) ; |
2190 | else | 2200 | else |
2191 | mes = i18n("KO/Pi:Exported to %1").arg(fn ); | 2201 | mes = i18n("KO/Pi:Exported to %1").arg(fn ); |
2192 | setCaption(mes); | 2202 | setCaption(mes); |
2193 | } | 2203 | } |
2194 | } | 2204 | } |
2195 | 2205 | ||
2196 | } | 2206 | } |
2197 | QString MainWindow::sentSyncFile() | 2207 | QString MainWindow::sentSyncFile() |
2198 | { | 2208 | { |
2199 | #ifdef DESKTOP_VERSION | 2209 | #ifdef DESKTOP_VERSION |
2200 | return locateLocal( "tmp", "copysynccal.ics" ); | 2210 | return locateLocal( "tmp", "copysynccal.ics" ); |
2201 | #else | 2211 | #else |
2202 | return QString( "/tmp/copysynccal.ics" ); | 2212 | return QString( "/tmp/copysynccal.ics" ); |
2203 | #endif | 2213 | #endif |
2204 | } | 2214 | } |
2205 | 2215 | ||
2206 | void MainWindow::syncFileRequest() | 2216 | void MainWindow::syncFileRequest() |
2207 | { | 2217 | { |
2208 | if ( KOPrefs::instance()->mPassiveSyncWithDesktop ) { | 2218 | if ( KOPrefs::instance()->mPassiveSyncWithDesktop ) { |
2209 | mSyncManager->slotSyncMenu( 999 ); | 2219 | mSyncManager->slotSyncMenu( 999 ); |
2210 | } | 2220 | } |
2211 | 2221 | ||
2212 | setCaption(i18n("Saving Data to temp file ..." )); | 2222 | setCaption(i18n("Saving Data to temp file ..." )); |
2213 | mView->saveCalendar( sentSyncFile() ); | 2223 | mView->saveCalendar( sentSyncFile() ); |
2214 | setCaption(i18n("Data saved to temp file!" )); | 2224 | setCaption(i18n("Data saved to temp file!" )); |
2215 | 2225 | ||
2216 | } | 2226 | } |
2217 | void MainWindow::getFile( bool success ) | 2227 | void MainWindow::getFile( bool success ) |
2218 | { | 2228 | { |
2219 | if ( ! success ) { | 2229 | if ( ! success ) { |
2220 | setCaption( i18n("Error receiving file. Nothing changed!") ); | 2230 | setCaption( i18n("Error receiving file. Nothing changed!") ); |
2221 | return; | 2231 | return; |
2222 | } | 2232 | } |
2223 | mView->openCalendar( sentSyncFile() ); | 2233 | mView->openCalendar( sentSyncFile() ); |
2224 | if ( KOPrefs::instance()->mPassiveSyncWithDesktop ) { | 2234 | if ( KOPrefs::instance()->mPassiveSyncWithDesktop ) { |
2225 | mSyncManager->slotSyncMenu( 999 ); | 2235 | mSyncManager->slotSyncMenu( 999 ); |
2226 | } | 2236 | } |
2227 | setCaption( i18n("Pi-Sync successful!") ); | 2237 | setCaption( i18n("Pi-Sync successful!") ); |
2228 | } | 2238 | } |
2229 | 2239 | ||
2230 | void MainWindow::printSel( ) | 2240 | void MainWindow::printSel( ) |
2231 | { | 2241 | { |
2232 | mView->viewManager()->agendaView()->agenda()->printSelection(); | 2242 | mView->viewManager()->agendaView()->agenda()->printSelection(); |
2233 | } | 2243 | } |
2234 | 2244 | ||
2235 | void MainWindow::printCal() | 2245 | void MainWindow::printCal() |
2236 | { | 2246 | { |
2237 | mView->print();//mCp->showDialog(); | 2247 | mView->print();//mCp->showDialog(); |
2238 | } | 2248 | } |
2239 | 2249 | ||
2240 | 2250 | ||
2241 | #include "libkdepim/kdatepicker.h" | 2251 | #include "libkdepim/kdatepicker.h" |
2242 | #include <kdatetbl.h> | 2252 | #include <kdatetbl.h> |
2243 | void MainWindow::weekAction() | 2253 | void MainWindow::weekAction() |
2244 | { | 2254 | { |
2245 | int month; | 2255 | int month; |
2246 | KPopupFrame* popup = new KPopupFrame(this); | 2256 | KPopupFrame* popup = new KPopupFrame(this); |
2247 | KDateInternalWeekPicker* picker = new KDateInternalWeekPicker(popup); | 2257 | KDateInternalWeekPicker* picker = new KDateInternalWeekPicker(popup); |
2248 | // ----- | 2258 | // ----- |
2249 | picker->resize(picker->sizeHint()); | 2259 | picker->resize(picker->sizeHint()); |
2250 | popup->setMainWidget(picker); | 2260 | popup->setMainWidget(picker); |
2251 | picker->setFocus(); | 2261 | picker->setFocus(); |
2252 | connect(picker, SIGNAL(closeMe(int)), popup, SLOT(close(int))); | 2262 | connect(picker, SIGNAL(closeMe(int)), popup, SLOT(close(int))); |
2253 | int x = 0; | 2263 | int x = 0; |
2254 | int y = iconToolBar->height(); | 2264 | int y = iconToolBar->height(); |
2255 | int dX = 0; | 2265 | int dX = 0; |
2256 | int dY = 0; | 2266 | int dY = 0; |
2257 | if ( iconToolBar->orientation () == Qt:: Horizontal ) { | 2267 | if ( iconToolBar->orientation () == Qt:: Horizontal ) { |
2258 | if ( iconToolBar->y() > height()/2 ) { | 2268 | if ( iconToolBar->y() > height()/2 ) { |
2259 | dY = picker->sizeHint().height()+8; | 2269 | dY = picker->sizeHint().height()+8; |
2260 | y = 0; | 2270 | y = 0; |
2261 | } | 2271 | } |
2262 | } else { | 2272 | } else { |
2263 | if ( iconToolBar->x() > width()/2 ) { // right side | 2273 | if ( iconToolBar->x() > width()/2 ) { // right side |
2264 | x=0; | 2274 | x=0; |
2265 | dX= picker->sizeHint().width()+8; | 2275 | dX= picker->sizeHint().width()+8; |
2266 | y = 0; | 2276 | y = 0; |
2267 | } else { | 2277 | } else { |
2268 | x= iconToolBar->width(); | 2278 | x= iconToolBar->width(); |
2269 | y = 0; | 2279 | y = 0; |
2270 | } | 2280 | } |
2271 | } | 2281 | } |
2272 | //qDebug("dax %d dy %d %d %d ", dX, dY, iconToolBar->x(), iconToolBar->y() ); | 2282 | //qDebug("dax %d dy %d %d %d ", dX, dY, iconToolBar->x(), iconToolBar->y() ); |
2273 | if(popup->exec(iconToolBar->mapToGlobal(QPoint(x,y)-QPoint( dX,dY)))) | 2283 | if(popup->exec(iconToolBar->mapToGlobal(QPoint(x,y)-QPoint( dX,dY)))) |
2274 | { | 2284 | { |
2275 | month = picker->getResult(); | 2285 | month = picker->getResult(); |
2276 | emit selectWeek ( month ); | 2286 | emit selectWeek ( month ); |
2277 | //qDebug("weekSelected %d ", month); | 2287 | //qDebug("weekSelected %d ", month); |
2278 | } | 2288 | } |
2279 | delete popup; | 2289 | delete popup; |
2280 | } | 2290 | } |
2281 | 2291 | ||
2282 | void MainWindow::hideEvent ( QHideEvent * ) | 2292 | void MainWindow::hideEvent ( QHideEvent * ) |
2283 | { | 2293 | { |
2284 | QString message; | 2294 | QString message; |
2285 | QDateTime nextA = mCalendar->nextAlarmEventDateTime(); | 2295 | QDateTime nextA = mCalendar->nextAlarmEventDateTime(); |
2286 | if ( nextA.isValid() ) { | 2296 | if ( nextA.isValid() ) { |
2287 | QString sum = mCalendar->nextSummary(); | 2297 | QString sum = mCalendar->nextSummary(); |
2288 | 2298 | ||
2289 | message = i18n("%1 %2 - %3 (next event/todo with alarm)").arg( KGlobal::locale()->formatTime(nextA.time() , false)).arg(sum ).arg( KGlobal::locale()->formatDate(nextA.date() , false)); | 2299 | message = i18n("%1 %2 - %3 (next event/todo with alarm)").arg( KGlobal::locale()->formatTime(nextA.time() , false)).arg(sum ).arg( KGlobal::locale()->formatDate(nextA.date() , false)); |
2290 | setCaption( message ); | 2300 | setCaption( message ); |
2291 | } | 2301 | } |
2292 | } | 2302 | } |