author | zautrix <zautrix> | 2005-03-10 14:45:20 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-03-10 14:45:20 (UTC) |
commit | 3a1891136e7b1290a6b3ddd573a863e51bd3047b (patch) (unidiff) | |
tree | 1de78034c5b222e57ef05b7e735f979fe2944966 | |
parent | 34f5a1b758adb98c466ae8e45c9d980d62dfc544 (diff) | |
download | kdepimpi-3a1891136e7b1290a6b3ddd573a863e51bd3047b.zip kdepimpi-3a1891136e7b1290a6b3ddd573a863e51bd3047b.tar.gz kdepimpi-3a1891136e7b1290a6b3ddd573a863e51bd3047b.tar.bz2 |
fixes
-rw-r--r-- | bin/kdepim/WhatsNew.txt | 4 | ||||
-rw-r--r-- | korganizer/kodialogmanager.cpp | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/bin/kdepim/WhatsNew.txt b/bin/kdepim/WhatsNew.txt index 95a1866..5661955 100644 --- a/bin/kdepim/WhatsNew.txt +++ b/bin/kdepim/WhatsNew.txt | |||
@@ -1,274 +1,278 @@ | |||
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.15 ************ | 3 | ********** VERSION 2.0.15 ************ |
4 | 4 | ||
5 | PwM/Pi: | 5 | PwM/Pi: |
6 | Added keyboard shorcuts for | 6 | Added keyboard shorcuts for |
7 | - toggling summary view (space bar) | 7 | - toggling summary view (space bar) |
8 | - delete item (delete + backspace key) | 8 | - delete item (delete + backspace key) |
9 | - add new item ( i + n key) | 9 | - add new item ( i + n key) |
10 | Fixed length of info in the title. | 10 | Fixed length of info in the title. |
11 | 11 | ||
12 | KO/Pi-KA/Pi: | 12 | KO/Pi-KA/Pi: |
13 | Changed "ME" menu bar entry to an icon. | 13 | Changed "ME" menu bar entry to an icon. |
14 | 14 | ||
15 | KO/Pi: | 15 | KO/Pi: |
16 | Fixed two minor bugs in displaying todos. | 16 | Fixed two minor bugs in displaying todos. |
17 | If in month view a cell is selected, the key shortcut "d" shows now that date. | 17 | If in month view a cell is selected, the key shortcut "d" shows now that date. |
18 | Added complete info for a todo in month view as an icon left of the text. | 18 | Added complete info for a todo in month view as an icon left of the text. |
19 | Fixed problems of displaying data when "<" or ">" were used in summary/location/description. | ||
20 | Fixed problem of search dialog size when switching displays. | ||
21 | Cancel key now closes date picker. | ||
22 | Rearranged KO/Pi file menu structure. | ||
19 | 23 | ||
20 | 24 | ||
21 | ********** VERSION 2.0.14 ************ | 25 | ********** VERSION 2.0.14 ************ |
22 | 26 | ||
23 | Made Passwordmanager PwM/Pi more userfriendly: | 27 | Made Passwordmanager PwM/Pi more userfriendly: |
24 | Rearranged some toolbar icons, optimized setting of focus, fixed layout problems and more. | 28 | Rearranged some toolbar icons, optimized setting of focus, fixed layout problems and more. |
25 | Fixed bug in KO/Pi todo printing. | 29 | Fixed bug in KO/Pi todo printing. |
26 | Made Qtopia calendar import possible on desktop . | 30 | Made Qtopia calendar import possible on desktop . |
27 | 31 | ||
28 | ********** VERSION 2.0.13 ************ | 32 | ********** VERSION 2.0.13 ************ |
29 | 33 | ||
30 | Fixed a problem in the addressee select dialog and made it more user friendly by adding a minimize splitter. | 34 | Fixed a problem in the addressee select dialog and made it more user friendly by adding a minimize splitter. |
31 | 35 | ||
32 | In the search dialog you can switch now the focus from search line edit to the list view by pressing key "arrow down". | 36 | In the search dialog you can switch now the focus from search line edit to the list view by pressing key "arrow down". |
33 | 37 | ||
34 | OM/Pi: | 38 | OM/Pi: |
35 | Fixed a refresh problem of outgoing/sent/sendfailed folders after sending mails. | 39 | Fixed a refresh problem of outgoing/sent/sendfailed folders after sending mails. |
36 | Added missing German translation. | 40 | Added missing German translation. |
37 | Added warning if path is specified in local folder settings of account config. | 41 | Added warning if path is specified in local folder settings of account config. |
38 | 42 | ||
39 | ********** VERSION 2.0.12 ************ | 43 | ********** VERSION 2.0.12 ************ |
40 | 44 | ||
41 | KO/Pi: | 45 | KO/Pi: |
42 | Fixed a bug in todo start/due date handling for non recurring todos with a start and due date. | 46 | Fixed a bug in todo start/due date handling for non recurring todos with a start and due date. |
43 | Fixed some layout problems in the KO/Pi agenda view when there were many conflicting itmes. | 47 | Fixed some layout problems in the KO/Pi agenda view when there were many conflicting itmes. |
44 | Fixed several problems of the keyboard focus in the desktop versions when opening the search dialog/event viewer. | 48 | Fixed several problems of the keyboard focus in the desktop versions when opening the search dialog/event viewer. |
45 | 49 | ||
46 | Fixed problem in pi-sync mode when wrong password was sent. | 50 | Fixed problem in pi-sync mode when wrong password was sent. |
47 | 51 | ||
48 | OM/Pi: | 52 | OM/Pi: |
49 | Fixed a crash when displaying mails with "Show mail as html" was checked in the config. | 53 | Fixed a crash when displaying mails with "Show mail as html" was checked in the config. |
50 | Added a check before displaying the mail if the mail is in html format, if "Show mail as html" is enabled. | 54 | Added a check before displaying the mail if the mail is in html format, if "Show mail as html" is enabled. |
51 | 55 | ||
52 | ********** VERSION 2.0.11 ************ | 56 | ********** VERSION 2.0.11 ************ |
53 | 57 | ||
54 | Fixed some problems in pi-sync mode | 58 | Fixed some problems in pi-sync mode |
55 | (e.g. details of events were not synced properly) | 59 | (e.g. details of events were not synced properly) |
56 | 60 | ||
57 | ********** VERSION 2.0.10 ************ | 61 | ********** VERSION 2.0.10 ************ |
58 | 62 | ||
59 | KO/Pi: | 63 | KO/Pi: |
60 | In the desktop versions the context menu in the search dialog was broken after introducing the What'sThis info for the list view. | 64 | In the desktop versions the context menu in the search dialog was broken after introducing the What'sThis info for the list view. |
61 | This is fixed. | 65 | This is fixed. |
62 | Changed the search dialog a bit to make it more user friendly. | 66 | Changed the search dialog a bit to make it more user friendly. |
63 | (E.g.: Removed message box about "no items found" and set key focus to search line edit after search). | 67 | (E.g.: Removed message box about "no items found" and set key focus to search line edit after search). |
64 | 68 | ||
65 | Added config option to hide the week number in KO/Pi toolbar. | 69 | Added config option to hide the week number in KO/Pi toolbar. |
66 | 70 | ||
67 | ********** VERSION 2.0.9 ************ | 71 | ********** VERSION 2.0.9 ************ |
68 | 72 | ||
69 | Made month view icons for multiday events a bit nicer. | 73 | Made month view icons for multiday events a bit nicer. |
70 | Some minor fixes in KO/Pi | 74 | Some minor fixes in KO/Pi |
71 | (e.g. go to today did not work for new week view properly). | 75 | (e.g. go to today did not work for new week view properly). |
72 | 76 | ||
73 | 77 | ||
74 | ********** VERSION 2.0.8 ************ | 78 | ********** VERSION 2.0.8 ************ |
75 | 79 | ||
76 | Fixed a problem in dependency info in the ipk files for the Zaurus. | 80 | Fixed a problem in dependency info in the ipk files for the Zaurus. |
77 | 81 | ||
78 | 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. | 82 | 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. |
79 | 83 | ||
80 | Added a "go today" button to the datepicker. | 84 | Added a "go today" button to the datepicker. |
81 | 85 | ||
82 | Added "created" and "last modified" to event/todo viewer (and What'sThis viewer) | 86 | Added "created" and "last modified" to event/todo viewer (and What'sThis viewer) |
83 | and made it configureable to show these values. | 87 | and made it configureable to show these values. |
84 | 88 | ||
85 | Fixed a problem for events (from external iCal files) that do have a duration but no end date. | 89 | Fixed a problem for events (from external iCal files) that do have a duration but no end date. |
86 | 90 | ||
87 | 91 | ||
88 | ********** VERSION 2.0.7 ************ | 92 | ********** VERSION 2.0.7 ************ |
89 | 93 | ||
90 | Added global application font settings | 94 | Added global application font settings |
91 | (for all KDE-Pim/Pi apps) to the general settings. | 95 | (for all KDE-Pim/Pi apps) to the general settings. |
92 | 96 | ||
93 | Fixed a problem in OM/Pi when trying to login to some IMAP servers | 97 | Fixed a problem in OM/Pi when trying to login to some IMAP servers |
94 | (like the IMAP server of Apple: mail.mac.com ) | 98 | (like the IMAP server of Apple: mail.mac.com ) |
95 | 99 | ||
96 | Added recurring todos to KO/Pi. | 100 | Added recurring todos to KO/Pi. |
97 | 101 | ||
98 | 102 | ||
99 | ********** VERSION 2.0.6 ************ | 103 | ********** VERSION 2.0.6 ************ |
100 | 104 | ||
101 | Some bugfixes in the pi-sync mode. | 105 | Some bugfixes in the pi-sync mode. |
102 | Added German translation for pi-sync mode. | 106 | Added German translation for pi-sync mode. |
103 | 107 | ||
104 | KO/Pi: | 108 | KO/Pi: |
105 | Made the todolist using alternate background. | 109 | Made the todolist using alternate background. |
106 | 110 | ||
107 | Other minor fixes in KO/Pi. | 111 | Other minor fixes in KO/Pi. |
108 | 112 | ||
109 | 113 | ||
110 | ********** VERSION 2.0.5 ************ | 114 | ********** VERSION 2.0.5 ************ |
111 | 115 | ||
112 | Bugfixes in KO/Pi. | 116 | Bugfixes in KO/Pi. |
113 | 117 | ||
114 | ********** VERSION 2.0.4 ************ | 118 | ********** VERSION 2.0.4 ************ |
115 | 119 | ||
116 | KO/Pi: | 120 | KO/Pi: |
117 | Fixed problem loading translations for summary/location edit boxes in event/todo editor. | 121 | Fixed problem loading translations for summary/location edit boxes in event/todo editor. |
118 | 122 | ||
119 | Added a general "select week number" to the toolbar. | 123 | Added a general "select week number" to the toolbar. |
120 | 124 | ||
121 | Fixed some small problem of the new features introduced in version 2.0.3. | 125 | Fixed some small problem of the new features introduced in version 2.0.3. |
122 | 126 | ||
123 | Made it possible to specify one specific category as category color, | 127 | Made it possible to specify one specific category as category color, |
124 | if more than one categories are selected. | 128 | if more than one categories are selected. |
125 | 129 | ||
126 | Fixed a bug in saving colors for categories with non-ascii characters. | 130 | Fixed a bug in saving colors for categories with non-ascii characters. |
127 | (Like, e.g. German Umlauts). | 131 | (Like, e.g. German Umlauts). |
128 | Propably you have to set your colors again for those categories. | 132 | Propably you have to set your colors again for those categories. |
129 | 133 | ||
130 | 134 | ||
131 | ********** VERSION 2.0.3 ************ | 135 | ********** VERSION 2.0.3 ************ |
132 | 136 | ||
133 | KO/Pi: | 137 | KO/Pi: |
134 | Added feature for changing alarm settings for many items at once: | 138 | Added feature for changing alarm settings for many items at once: |
135 | Open list view (or search dialog), select the desired items and choose in | 139 | Open list view (or search dialog), select the desired items and choose in |
136 | the popup menu: Set alarm for selected... | 140 | the popup menu: Set alarm for selected... |
137 | 141 | ||
138 | Added to the event/todo viewer the option to send an email to | 142 | Added to the event/todo viewer the option to send an email to |
139 | all attendees or all selected (with RSVP) attendees. | 143 | all attendees or all selected (with RSVP) attendees. |
140 | 144 | ||
141 | Made the week-month mode changing in month view faster. | 145 | Made the week-month mode changing in month view faster. |
142 | 146 | ||
143 | Made month view better useable with keyboard. | 147 | Made month view better useable with keyboard. |
144 | Now TAB key jumps to next cell with an event/todo. | 148 | Now TAB key jumps to next cell with an event/todo. |
145 | Scroll in cell with coursor keys, scroll in time (next week) with | 149 | Scroll in cell with coursor keys, scroll in time (next week) with |
146 | Shift/Control + coursorkeys. | 150 | Shift/Control + coursorkeys. |
147 | 151 | ||
148 | Fixed bug that the todo view flat mode was reset after first view update. | 152 | Fixed bug that the todo view flat mode was reset after first view update. |
149 | 153 | ||
150 | If a todo is displayed closed in the todo view, | 154 | If a todo is displayed closed in the todo view, |
151 | it is now displayed in overdue/due today color depending on the subtodos overdue/due today properties. | 155 | it is now displayed in overdue/due today color depending on the subtodos overdue/due today properties. |
152 | 156 | ||
153 | Added info about the numbers of years to the caption (title) information about a birthday event. | 157 | Added info about the numbers of years to the caption (title) information about a birthday event. |
154 | 158 | ||
155 | Made completion date in todo editor editable. | 159 | Made completion date in todo editor editable. |
156 | 160 | ||
157 | Added possibility to save/load templates for journals. | 161 | Added possibility to save/load templates for journals. |
158 | (Which is just a simple "save text to file" or "insert text from file". | 162 | (Which is just a simple "save text to file" or "insert text from file". |
159 | 163 | ||
160 | ********** VERSION 2.0.2 ************ | 164 | ********** VERSION 2.0.2 ************ |
161 | 165 | ||
162 | KO/Pi: | 166 | KO/Pi: |
163 | Fixed the layout problem of the day label buttons | 167 | Fixed the layout problem of the day label buttons |
164 | of the agenda view introduced in version 2.0.1. | 168 | of the agenda view introduced in version 2.0.1. |
165 | 169 | ||
166 | Added WhatsThis support for the todo view and the list view. | 170 | Added WhatsThis support for the todo view and the list view. |
167 | 171 | ||
168 | Added a quite useful feature to the montview. | 172 | Added a quite useful feature to the montview. |
169 | Just click on the week numbers on the left. | 173 | Just click on the week numbers on the left. |
170 | And in the top right corner of month view/agenda view | 174 | And in the top right corner of month view/agenda view |
171 | there is now a "week number quick selector". | 175 | there is now a "week number quick selector". |
172 | (Click on the black triangle). | 176 | (Click on the black triangle). |
173 | 177 | ||
174 | Made the quite difficult timezone change in KO/Pi easy. | 178 | Made the quite difficult timezone change in KO/Pi easy. |
175 | 179 | ||
176 | OM/Pi: | 180 | OM/Pi: |
177 | Fixed too small icons on desktop. | 181 | Fixed too small icons on desktop. |
178 | Fixed non visible icons in mainwindow on Z with fastload enabled. | 182 | Fixed non visible icons in mainwindow on Z with fastload enabled. |
179 | Added signature file setting to smtp account config. | 183 | Added signature file setting to smtp account config. |
180 | And the signature can be edited and saved in the edit mail dialog. | 184 | And the signature can be edited and saved in the edit mail dialog. |
181 | That does mean: | 185 | That does mean: |
182 | Simply edit the signature for the selected smtp account in the | 186 | Simply edit the signature for the selected smtp account in the |
183 | edit new mail dialog and press the "save signature" button there. | 187 | edit new mail dialog and press the "save signature" button there. |
184 | Then the signature is saved to the file specified in the smtp account settings. | 188 | Then the signature is saved to the file specified in the smtp account settings. |
185 | If there is no file specified, it is saved automatically to the file | 189 | If there is no file specified, it is saved automatically to the file |
186 | kdepim/apps/kopiemail/<accountname>.sig. | 190 | kdepim/apps/kopiemail/<accountname>.sig. |
187 | 191 | ||
188 | 192 | ||
189 | 193 | ||
190 | ********** VERSION 2.0.1 ************ | 194 | ********** VERSION 2.0.1 ************ |
191 | 195 | ||
192 | Oooops ... I forgot to test on the Zaurus 5500 ... | 196 | Oooops ... I forgot to test on the Zaurus 5500 ... |
193 | 197 | ||
194 | Fixed many problems of new (english) strings (and german translations) | 198 | Fixed many problems of new (english) strings (and german translations) |
195 | introduced in the latest versions, where the text was not fitting on the | 199 | introduced in the latest versions, where the text was not fitting on the |
196 | 240x320 display of the Zaurus 5500. | 200 | 240x320 display of the Zaurus 5500. |
197 | 201 | ||
198 | KO/Pi: | 202 | KO/Pi: |
199 | Added a popup menu ( press pen and hold to get popup ) to the agenda view | 203 | Added a popup menu ( press pen and hold to get popup ) to the agenda view |
200 | with many useful items (add event/todo, show next week, two weeks, month, journal). | 204 | with many useful items (add event/todo, show next week, two weeks, month, journal). |
201 | 205 | ||
202 | Added items to the todolist popup menu for: | 206 | Added items to the todolist popup menu for: |
203 | Display all opened, all closed or all todos flat. | 207 | Display all opened, all closed or all todos flat. |
204 | The "flat" view makes is possible to sort all todos after ,e.g., prio or date. | 208 | The "flat" view makes is possible to sort all todos after ,e.g., prio or date. |
205 | Made the reparenting of todos on the desktop possible via Drag&Drop. | 209 | Made the reparenting of todos on the desktop possible via Drag&Drop. |
206 | Fixed several bugs in setting the completed datetime for todos. | 210 | Fixed several bugs in setting the completed datetime for todos. |
207 | Added info about completed datetime of todos to the todo viewer. | 211 | Added info about completed datetime of todos to the todo viewer. |
208 | Now displaying a completed todo (with completed datetime set) in the agenda view | 212 | Now displaying a completed todo (with completed datetime set) in the agenda view |
209 | at the time of the completion. Such that now it is possible to see in the agenda view | 213 | at the time of the completion. Such that now it is possible to see in the agenda view |
210 | when what todo was completed. | 214 | when what todo was completed. |
211 | Fixed behaviour of automatic setting completion of todos with sub-todos/parent todos. | 215 | Fixed behaviour of automatic setting completion of todos with sub-todos/parent todos. |
212 | Now the behaviour is: | 216 | Now the behaviour is: |
213 | Setting a parent to complete sets all (sub)childs to complete. | 217 | Setting a parent to complete sets all (sub)childs to complete. |
214 | Setting a parent to uncomplete does not change the childs. | 218 | Setting a parent to uncomplete does not change the childs. |
215 | Setting a child to uncomplete sets all parent to uncomplete. | 219 | Setting a child to uncomplete sets all parent to uncomplete. |
216 | Setting a child to complete does not change the parents. | 220 | Setting a child to complete does not change the parents. |
217 | 221 | ||
218 | Smart updating and double buffering of the daymatrix. | 222 | Smart updating and double buffering of the daymatrix. |
219 | Showing holidays in the day matrix. | 223 | Showing holidays in the day matrix. |
220 | Many other small performance updates. | 224 | Many other small performance updates. |
221 | 225 | ||
222 | Made day labels in agenda clickable. By clicking a label, the day is displayed in single day mode. | 226 | Made day labels in agenda clickable. By clicking a label, the day is displayed in single day mode. |
223 | 227 | ||
224 | Now the translation file usertranslation.txt is supposed to be in utf8 format. | 228 | Now the translation file usertranslation.txt is supposed to be in utf8 format. |
225 | If you want to translate a language from western europe, just change the germantranslation.txt file. Please read the updated Usertranslation HowTo in KO/Pi Help menu. | 229 | If you want to translate a language from western europe, just change the germantranslation.txt file. Please read the updated Usertranslation HowTo in KO/Pi Help menu. |
226 | 230 | ||
227 | 231 | ||
228 | ********** VERSION 2.0.0 ************ | 232 | ********** VERSION 2.0.0 ************ |
229 | 233 | ||
230 | Stable release 2.0.0! | 234 | Stable release 2.0.0! |
231 | 235 | ||
232 | KO/Pi: | 236 | KO/Pi: |
233 | Fixed problem in edit dialog recreation at startup. | 237 | Fixed problem in edit dialog recreation at startup. |
234 | Made "toggle view*" menu items enabled context sensitive. | 238 | Made "toggle view*" menu items enabled context sensitive. |
235 | Changed agenda size menu to items 1-10. | 239 | Changed agenda size menu to items 1-10. |
236 | Made it possible to change agenda size quickly by pressing mouse on timelabels in agenda view and move mouse up/down. | 240 | Made it possible to change agenda size quickly by pressing mouse on timelabels in agenda view and move mouse up/down. |
237 | Usebility enhancements in the KO/Pi menus. | 241 | Usebility enhancements in the KO/Pi menus. |
238 | Birthday import now adds year to summary. | 242 | Birthday import now adds year to summary. |
239 | What's Next view shows age in years for birthday. | 243 | What's Next view shows age in years for birthday. |
240 | 244 | ||
241 | OM/Pi: | 245 | OM/Pi: |
242 | Added three info lines to display subject, from and to of selected mails. | 246 | Added three info lines to display subject, from and to of selected mails. |
243 | 247 | ||
244 | KA/Pi: | 248 | KA/Pi: |
245 | Fixed jump bar behaviour on Zaurus. | 249 | Fixed jump bar behaviour on Zaurus. |
246 | Now KA/Pi search field supports searching for a range of starting characters. | 250 | Now KA/Pi search field supports searching for a range of starting characters. |
247 | E.g. to search for all contact beginning with b to n, type | 251 | E.g. to search for all contact beginning with b to n, type |
248 | b-n | 252 | b-n |
249 | in the search field. | 253 | in the search field. |
250 | 254 | ||
251 | ********** VERSION 1.9.20 ************ | 255 | ********** VERSION 1.9.20 ************ |
252 | 256 | ||
253 | KO/Pi: | 257 | KO/Pi: |
254 | Added for the "dislplay one day" agenda mode | 258 | Added for the "dislplay one day" agenda mode |
255 | info in the caption and in the day lables: | 259 | info in the caption and in the day lables: |
256 | Now it is displayed, if the selected day is from "day before yesterday" | 260 | Now it is displayed, if the selected day is from "day before yesterday" |
257 | to "day after tomorrow". | 261 | to "day after tomorrow". |
258 | Made it possible to delete a Todo, which has sub-todos. | 262 | Made it possible to delete a Todo, which has sub-todos. |
259 | Fixed two small problems in the todo view. | 263 | Fixed two small problems in the todo view. |
260 | Added missing German translation for filter edit and print dialog. | 264 | Added missing German translation for filter edit and print dialog. |
261 | Made search dialog closeable by cancel key. | 265 | Made search dialog closeable by cancel key. |
262 | 266 | ||
263 | Made it possible to select in the date picker the (ligt grey ) | 267 | Made it possible to select in the date picker the (ligt grey ) |
264 | dates of the prev./next month with the mouse. | 268 | dates of the prev./next month with the mouse. |
265 | 269 | ||
266 | OM/Pi: | 270 | OM/Pi: |
267 | "Delete mail" icon in main window now deletes all selected mails. | 271 | "Delete mail" icon in main window now deletes all selected mails. |
268 | Fixed the problem, that the state flag of imap mails was ignored. | 272 | Fixed the problem, that the state flag of imap mails was ignored. |
269 | Now mails with "FLAG_SEEN" on the imap server get no icon in the list view | 273 | Now mails with "FLAG_SEEN" on the imap server get no icon in the list view |
270 | to indecate that they are already seen. | 274 | to indecate that they are already seen. |
271 | Fixed the problem that the body of some mails was not displayed in the | 275 | Fixed the problem that the body of some mails was not displayed in the |
272 | mail viewer when fetching them from the imap server directly to read them. | 276 | mail viewer when fetching them from the imap server directly to read them. |
273 | Made it (configurable) possible to show the "To:" field in the list view. | 277 | Made it (configurable) possible to show the "To:" field in the list view. |
274 | Added to the mail viewer the option "View Source" to make it possible to see the raw mail data. | 278 | Added to the mail viewer the option "View Source" to make it possible to see the raw mail data. |
diff --git a/korganizer/kodialogmanager.cpp b/korganizer/kodialogmanager.cpp index 1af9dad..a8652ea 100644 --- a/korganizer/kodialogmanager.cpp +++ b/korganizer/kodialogmanager.cpp | |||
@@ -1,349 +1,350 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of KOrganizer. | 2 | This file is part of KOrganizer. |
3 | 3 | ||
4 | Copyright (c) 2001 | 4 | Copyright (c) 2001 |
5 | Cornelius Schumacher <schumacher@kde.org> | 5 | Cornelius Schumacher <schumacher@kde.org> |
6 | 6 | ||
7 | This program is free software; you can redistribute it and/or modify | 7 | This program is free software; you can redistribute it and/or modify |
8 | it under the terms of the GNU General Public License as published by | 8 | it under the terms of the GNU General Public License as published by |
9 | the Free Software Foundation; either version 2 of the License, or | 9 | the Free Software Foundation; either version 2 of the License, or |
10 | (at your option) any later version. | 10 | (at your option) any later version. |
11 | 11 | ||
12 | This program is distributed in the hope that it will be useful, | 12 | This program is distributed in the hope that it will be useful, |
13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the | 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the |
15 | GNU General Public License for more details. | 15 | GNU General Public License for more details. |
16 | 16 | ||
17 | You should have received a copy of the GNU General Public License | 17 | You should have received a copy of the GNU General Public License |
18 | along with this program; if not, write to the Free Software | 18 | along with this program; if not, write to the Free Software |
19 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 19 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
20 | */ | 20 | */ |
21 | 21 | ||
22 | #include <libkdepim/categoryeditdialog.h> | 22 | #include <libkdepim/categoryeditdialog.h> |
23 | 23 | ||
24 | #include "calendarview.h" | 24 | #include "calendarview.h" |
25 | #include "incomingdialog.h" | 25 | #include "incomingdialog.h" |
26 | #include "outgoingdialog.h" | 26 | #include "outgoingdialog.h" |
27 | #include "koprefsdialog.h" | 27 | #include "koprefsdialog.h" |
28 | #include "koeventeditor.h" | 28 | #include "koeventeditor.h" |
29 | #include "koprefs.h" | 29 | #include "koprefs.h" |
30 | #include "datenavigator.h" | 30 | #include "datenavigator.h" |
31 | #include "kotodoeditor.h" | 31 | #include "kotodoeditor.h" |
32 | #include "searchdialog.h" | 32 | #include "searchdialog.h" |
33 | #include "filtereditdialog.h" | 33 | #include "filtereditdialog.h" |
34 | #ifndef KORG_NOPLUGINS | 34 | #ifndef KORG_NOPLUGINS |
35 | #include "plugindialog.h" | 35 | #include "plugindialog.h" |
36 | #endif | 36 | #endif |
37 | #ifndef KORG_NOARCHIVE | 37 | #ifndef KORG_NOARCHIVE |
38 | #include "archivedialog.h" | 38 | #include "archivedialog.h" |
39 | #endif | 39 | #endif |
40 | 40 | ||
41 | #include "kconfig.h" | 41 | #include "kconfig.h" |
42 | #include "kodialogmanager.h" | 42 | #include "kodialogmanager.h" |
43 | 43 | ||
44 | KODialogManager::KODialogManager( CalendarView *mainView ) : | 44 | KODialogManager::KODialogManager( CalendarView *mainView ) : |
45 | QObject(), mMainView( mainView ) | 45 | QObject(), mMainView( mainView ) |
46 | { | 46 | { |
47 | mOutgoingDialog = 0; | 47 | mOutgoingDialog = 0; |
48 | mIncomingDialog = 0; | 48 | mIncomingDialog = 0; |
49 | mOptionsDialog = 0; | 49 | mOptionsDialog = 0; |
50 | mSearchDialog = 0; | 50 | mSearchDialog = 0; |
51 | mArchiveDialog = 0; | 51 | mArchiveDialog = 0; |
52 | mFilterEditDialog = 0; | 52 | mFilterEditDialog = 0; |
53 | mPluginDialog = 0; | 53 | mPluginDialog = 0; |
54 | 54 | ||
55 | // mCategoryEditDialog = new KPIM::CategoryEditDialog(KOPrefs::instance(),mMainView); | 55 | // mCategoryEditDialog = new KPIM::CategoryEditDialog(KOPrefs::instance(),mMainView); |
56 | //KOGlobals::fitDialogToScreen( mCategoryEditDialog ); | 56 | //KOGlobals::fitDialogToScreen( mCategoryEditDialog ); |
57 | } | 57 | } |
58 | 58 | ||
59 | KODialogManager::~KODialogManager() | 59 | KODialogManager::~KODialogManager() |
60 | { | 60 | { |
61 | delete mOutgoingDialog; | 61 | delete mOutgoingDialog; |
62 | delete mIncomingDialog; | 62 | delete mIncomingDialog; |
63 | delete mOptionsDialog; | 63 | delete mOptionsDialog; |
64 | delete mSearchDialog; | 64 | delete mSearchDialog; |
65 | #ifndef KORG_NOARCHIVE | 65 | #ifndef KORG_NOARCHIVE |
66 | delete mArchiveDialog; | 66 | delete mArchiveDialog; |
67 | #endif | 67 | #endif |
68 | delete mFilterEditDialog; | 68 | delete mFilterEditDialog; |
69 | #ifndef KORG_NOPLUGINS | 69 | #ifndef KORG_NOPLUGINS |
70 | delete mPluginDialog; | 70 | delete mPluginDialog; |
71 | #endif | 71 | #endif |
72 | } | 72 | } |
73 | 73 | ||
74 | OutgoingDialog *KODialogManager::outgoingDialog() | 74 | OutgoingDialog *KODialogManager::outgoingDialog() |
75 | { | 75 | { |
76 | createOutgoingDialog(); | 76 | createOutgoingDialog(); |
77 | return mOutgoingDialog; | 77 | return mOutgoingDialog; |
78 | } | 78 | } |
79 | 79 | ||
80 | void KODialogManager::createOutgoingDialog() | 80 | void KODialogManager::createOutgoingDialog() |
81 | { | 81 | { |
82 | if (!mOutgoingDialog) { | 82 | if (!mOutgoingDialog) { |
83 | mOutgoingDialog = new OutgoingDialog(mMainView->calendar(),mMainView); | 83 | mOutgoingDialog = new OutgoingDialog(mMainView->calendar(),mMainView); |
84 | if (mIncomingDialog) mIncomingDialog->setOutgoingDialog(mOutgoingDialog); | 84 | if (mIncomingDialog) mIncomingDialog->setOutgoingDialog(mOutgoingDialog); |
85 | connect(mOutgoingDialog,SIGNAL(numMessagesChanged(int)), | 85 | connect(mOutgoingDialog,SIGNAL(numMessagesChanged(int)), |
86 | mMainView,SIGNAL(numOutgoingChanged(int))); | 86 | mMainView,SIGNAL(numOutgoingChanged(int))); |
87 | } | 87 | } |
88 | } | 88 | } |
89 | 89 | ||
90 | void KODialogManager::showOptionsDialog( bool showSync ) | 90 | void KODialogManager::showOptionsDialog( bool showSync ) |
91 | { | 91 | { |
92 | 92 | ||
93 | if (!mOptionsDialog) { | 93 | if (!mOptionsDialog) { |
94 | mOptionsDialog = new KOPrefsDialog(mMainView); | 94 | mOptionsDialog = new KOPrefsDialog(mMainView); |
95 | //mOptionsDialog->readConfig(); | 95 | //mOptionsDialog->readConfig(); |
96 | connect(mOptionsDialog,SIGNAL(configChanged()), | 96 | connect(mOptionsDialog,SIGNAL(configChanged()), |
97 | mMainView,SLOT(updateConfig())); | 97 | mMainView,SLOT(updateConfig())); |
98 | //connect(mCategoryEditDialog,SIGNAL(categoryConfigChanged()), | 98 | //connect(mCategoryEditDialog,SIGNAL(categoryConfigChanged()), |
99 | // mOptionsDialog,SLOT(updateCategories())); | 99 | // mOptionsDialog,SLOT(updateCategories())); |
100 | 100 | ||
101 | } | 101 | } |
102 | mOptionsDialog->readConfig(); | 102 | mOptionsDialog->readConfig(); |
103 | #ifndef DESKTOP_VERSION | 103 | #ifndef DESKTOP_VERSION |
104 | mOptionsDialog->showMaximized(); | 104 | mOptionsDialog->showMaximized(); |
105 | #else | 105 | #else |
106 | mOptionsDialog->show(); | 106 | mOptionsDialog->show(); |
107 | #endif | 107 | #endif |
108 | if ( showSync ) | 108 | if ( showSync ) |
109 | mOptionsDialog->showSyncPage(); | 109 | mOptionsDialog->showSyncPage(); |
110 | mOptionsDialog->exec(); | 110 | mOptionsDialog->exec(); |
111 | 111 | ||
112 | } | 112 | } |
113 | void KODialogManager::showSyncOptions() | 113 | void KODialogManager::showSyncOptions() |
114 | { | 114 | { |
115 | showOptionsDialog( true ); | 115 | showOptionsDialog( true ); |
116 | 116 | ||
117 | } | 117 | } |
118 | void KODialogManager::showOutgoingDialog() | 118 | void KODialogManager::showOutgoingDialog() |
119 | { | 119 | { |
120 | createOutgoingDialog(); | 120 | createOutgoingDialog(); |
121 | mOutgoingDialog->show(); | 121 | mOutgoingDialog->show(); |
122 | mOutgoingDialog->raise(); | 122 | mOutgoingDialog->raise(); |
123 | } | 123 | } |
124 | 124 | ||
125 | IncomingDialog *KODialogManager::incomingDialog() | 125 | IncomingDialog *KODialogManager::incomingDialog() |
126 | { | 126 | { |
127 | createOutgoingDialog(); | 127 | createOutgoingDialog(); |
128 | if (!mIncomingDialog) { | 128 | if (!mIncomingDialog) { |
129 | mIncomingDialog = new IncomingDialog(mMainView->calendar(),mOutgoingDialog,mMainView); | 129 | mIncomingDialog = new IncomingDialog(mMainView->calendar(),mOutgoingDialog,mMainView); |
130 | connect(mIncomingDialog,SIGNAL(numMessagesChanged(int)), | 130 | connect(mIncomingDialog,SIGNAL(numMessagesChanged(int)), |
131 | mMainView,SIGNAL(numIncomingChanged(int))); | 131 | mMainView,SIGNAL(numIncomingChanged(int))); |
132 | connect(mIncomingDialog,SIGNAL(calendarUpdated()), | 132 | connect(mIncomingDialog,SIGNAL(calendarUpdated()), |
133 | mMainView,SLOT(updateView())); | 133 | mMainView,SLOT(updateView())); |
134 | } | 134 | } |
135 | return mIncomingDialog; | 135 | return mIncomingDialog; |
136 | } | 136 | } |
137 | 137 | ||
138 | void KODialogManager::createIncomingDialog() | 138 | void KODialogManager::createIncomingDialog() |
139 | { | 139 | { |
140 | createOutgoingDialog(); | 140 | createOutgoingDialog(); |
141 | if (!mIncomingDialog) { | 141 | if (!mIncomingDialog) { |
142 | mIncomingDialog = new IncomingDialog(mMainView->calendar(),mOutgoingDialog,mMainView); | 142 | mIncomingDialog = new IncomingDialog(mMainView->calendar(),mOutgoingDialog,mMainView); |
143 | connect(mIncomingDialog,SIGNAL(numMessagesChanged(int)), | 143 | connect(mIncomingDialog,SIGNAL(numMessagesChanged(int)), |
144 | mMainView,SIGNAL(numIncomingChanged(int))); | 144 | mMainView,SIGNAL(numIncomingChanged(int))); |
145 | connect(mIncomingDialog,SIGNAL(calendarUpdated()), | 145 | connect(mIncomingDialog,SIGNAL(calendarUpdated()), |
146 | mMainView,SLOT(updateView())); | 146 | mMainView,SLOT(updateView())); |
147 | } | 147 | } |
148 | } | 148 | } |
149 | 149 | ||
150 | void KODialogManager::showIncomingDialog() | 150 | void KODialogManager::showIncomingDialog() |
151 | { | 151 | { |
152 | createIncomingDialog(); | 152 | createIncomingDialog(); |
153 | mIncomingDialog->show(); | 153 | mIncomingDialog->show(); |
154 | mIncomingDialog->raise(); | 154 | mIncomingDialog->raise(); |
155 | } | 155 | } |
156 | /* | 156 | /* |
157 | void KODialogManager::showCategoryEditDialog() | 157 | void KODialogManager::showCategoryEditDialog() |
158 | { | 158 | { |
159 | mCategoryEditDialog->show(); | 159 | mCategoryEditDialog->show(); |
160 | } | 160 | } |
161 | */ | 161 | */ |
162 | void KODialogManager::hideSearchDialog() | 162 | void KODialogManager::hideSearchDialog() |
163 | { | 163 | { |
164 | if (mSearchDialog) | 164 | if (mSearchDialog) |
165 | mSearchDialog->hide(); | 165 | mSearchDialog->hide(); |
166 | } | 166 | } |
167 | 167 | ||
168 | void KODialogManager::showSearchDialog() | 168 | void KODialogManager::showSearchDialog() |
169 | { | 169 | { |
170 | if (!mSearchDialog) { | 170 | if (!mSearchDialog) { |
171 | mSearchDialog = new SearchDialog(mMainView->calendar(),mMainView); | 171 | mSearchDialog = new SearchDialog(mMainView->calendar(),mMainView); |
172 | KOListView * lview = mSearchDialog->listview(); | 172 | KOListView * lview = mSearchDialog->listview(); |
173 | 173 | ||
174 | connect(lview, SIGNAL(showIncidenceSignal(Incidence *)), | 174 | connect(lview, SIGNAL(showIncidenceSignal(Incidence *)), |
175 | mMainView, SLOT(showIncidence(Incidence *))); | 175 | mMainView, SLOT(showIncidence(Incidence *))); |
176 | connect(lview, SIGNAL(editIncidenceSignal(Incidence *)), | 176 | connect(lview, SIGNAL(editIncidenceSignal(Incidence *)), |
177 | mMainView, SLOT(editIncidence(Incidence *))); | 177 | mMainView, SLOT(editIncidence(Incidence *))); |
178 | connect(lview, SIGNAL(deleteIncidenceSignal(Incidence *)), | 178 | connect(lview, SIGNAL(deleteIncidenceSignal(Incidence *)), |
179 | mMainView, SLOT(deleteIncidence(Incidence *))); | 179 | mMainView, SLOT(deleteIncidence(Incidence *))); |
180 | connect(lview, SIGNAL(cloneIncidenceSignal(Incidence *)), | 180 | connect(lview, SIGNAL(cloneIncidenceSignal(Incidence *)), |
181 | mMainView, SLOT(cloneIncidence(Incidence *))); | 181 | mMainView, SLOT(cloneIncidence(Incidence *))); |
182 | connect(lview, SIGNAL(beamIncidenceSignal(Incidence *)), | 182 | connect(lview, SIGNAL(beamIncidenceSignal(Incidence *)), |
183 | mMainView, SLOT(beamIncidence(Incidence *))); | 183 | mMainView, SLOT(beamIncidence(Incidence *))); |
184 | connect(lview, SIGNAL(moveIncidenceSignal(Incidence *)), | 184 | connect(lview, SIGNAL(moveIncidenceSignal(Incidence *)), |
185 | mMainView, SLOT(moveIncidence(Incidence *))); | 185 | mMainView, SLOT(moveIncidence(Incidence *))); |
186 | connect(lview, SIGNAL(beamIncidenceList(QPtrList<Incidence> )), | 186 | connect(lview, SIGNAL(beamIncidenceList(QPtrList<Incidence> )), |
187 | mMainView, SLOT(beamIncidenceList(QPtrList<Incidence> ))); | 187 | mMainView, SLOT(beamIncidenceList(QPtrList<Incidence> ))); |
188 | 188 | ||
189 | connect(mMainView, SIGNAL(configChanged()), mSearchDialog, SLOT(updateConfig())); | 189 | connect(mMainView, SIGNAL(configChanged()), mSearchDialog, SLOT(updateConfig())); |
190 | connect(mMainView, SIGNAL(updateSearchDialog()), mSearchDialog, SLOT(updateList())); | 190 | connect(mMainView, SIGNAL(updateSearchDialog()), mSearchDialog, SLOT(updateList())); |
191 | // connect( lview, SIGNAL( incidenceSelected( Incidence * ) ), | 191 | // connect( lview, SIGNAL( incidenceSelected( Incidence * ) ), |
192 | // mMainView, SLOT( processMainViewSelection( Incidence * ) ) ); | 192 | // mMainView, SLOT( processMainViewSelection( Incidence * ) ) ); |
193 | #ifndef DESKTOP_VERSION | 193 | #ifndef DESKTOP_VERSION |
194 | mSearchDialog->setMaximumSize( QApplication::desktop()->size()); | 194 | mSearchDialog->setMaximumSize( QApplication::desktop()->size()); |
195 | mSearchDialog->showMaximized(); | 195 | mSearchDialog->showMaximized(); |
196 | #else | 196 | #else |
197 | KConfig *config = KOGlobals::config(); | 197 | KConfig *config = KOGlobals::config(); |
198 | config->setGroup("WidgetLayout"); | 198 | config->setGroup("WidgetLayout"); |
199 | QStringList list; | 199 | QStringList list; |
200 | list = config->readListEntry("SearchLayout"); | 200 | list = config->readListEntry("SearchLayout"); |
201 | int x,y,w,h; | 201 | int x,y,w,h; |
202 | if ( ! list.isEmpty() ) { | 202 | if ( ! list.isEmpty() ) { |
203 | x = list[0].toInt(); | 203 | x = list[0].toInt(); |
204 | y = list[1].toInt(); | 204 | y = list[1].toInt(); |
205 | w = list[2].toInt(); | 205 | w = list[2].toInt(); |
206 | h = list[3].toInt(); | 206 | h = list[3].toInt(); |
207 | mSearchDialog->setGeometry(x,y,w,h); | 207 | mSearchDialog->setGeometry(x,y,w,h); |
208 | 208 | ||
209 | } | 209 | } |
210 | 210 | ||
211 | #endif | 211 | #endif |
212 | } | 212 | } |
213 | // make sure the widget is on top again | 213 | // make sure the widget is on top again |
214 | #ifdef DESKTOP_VERSION | 214 | #ifdef DESKTOP_VERSION |
215 | mSearchDialog->show(); | 215 | mSearchDialog->show(); |
216 | #else | 216 | #else |
217 | mSearchDialog->setMaximumSize( QApplication::desktop()->size()); | ||
217 | mSearchDialog->showMaximized(); | 218 | mSearchDialog->showMaximized(); |
218 | #endif | 219 | #endif |
219 | mSearchDialog->raise(); | 220 | mSearchDialog->raise(); |
220 | } | 221 | } |
221 | 222 | ||
222 | SearchDialog * KODialogManager::getSearchDialog() | 223 | SearchDialog * KODialogManager::getSearchDialog() |
223 | { | 224 | { |
224 | return mSearchDialog; | 225 | return mSearchDialog; |
225 | } | 226 | } |
226 | void KODialogManager::showArchiveDialog() | 227 | void KODialogManager::showArchiveDialog() |
227 | { | 228 | { |
228 | #ifndef KORG_NOARCHIVE | 229 | #ifndef KORG_NOARCHIVE |
229 | if (!mArchiveDialog) { | 230 | if (!mArchiveDialog) { |
230 | mArchiveDialog = new ArchiveDialog(mMainView->calendar(),mMainView); | 231 | mArchiveDialog = new ArchiveDialog(mMainView->calendar(),mMainView); |
231 | connect(mArchiveDialog,SIGNAL(eventsDeleted()), | 232 | connect(mArchiveDialog,SIGNAL(eventsDeleted()), |
232 | mMainView,SLOT(updateView())); | 233 | mMainView,SLOT(updateView())); |
233 | } | 234 | } |
234 | mArchiveDialog->show(); | 235 | mArchiveDialog->show(); |
235 | mArchiveDialog->raise(); | 236 | mArchiveDialog->raise(); |
236 | 237 | ||
237 | // Workaround. | 238 | // Workaround. |
238 | QApplication::restoreOverrideCursor(); | 239 | QApplication::restoreOverrideCursor(); |
239 | #endif | 240 | #endif |
240 | } | 241 | } |
241 | 242 | ||
242 | void KODialogManager::showFilterEditDialog(QPtrList<CalFilter> *filters) | 243 | void KODialogManager::showFilterEditDialog(QPtrList<CalFilter> *filters) |
243 | { | 244 | { |
244 | if (!mFilterEditDialog) { | 245 | if (!mFilterEditDialog) { |
245 | mFilterEditDialog = new FilterEditDialog(filters,mMainView); | 246 | mFilterEditDialog = new FilterEditDialog(filters,mMainView); |
246 | connect(mFilterEditDialog,SIGNAL(filterChanged()), | 247 | connect(mFilterEditDialog,SIGNAL(filterChanged()), |
247 | mMainView,SLOT(filterEdited())); | 248 | mMainView,SLOT(filterEdited())); |
248 | 249 | ||
249 | } | 250 | } |
250 | 251 | ||
251 | #ifndef DESKTOP_VERSION | 252 | #ifndef DESKTOP_VERSION |
252 | mFilterEditDialog->showMaximized(); | 253 | mFilterEditDialog->showMaximized(); |
253 | #else | 254 | #else |
254 | mFilterEditDialog->show(); | 255 | mFilterEditDialog->show(); |
255 | #endif | 256 | #endif |
256 | mFilterEditDialog->raise(); | 257 | mFilterEditDialog->raise(); |
257 | } | 258 | } |
258 | 259 | ||
259 | void KODialogManager::showPluginDialog() | 260 | void KODialogManager::showPluginDialog() |
260 | { | 261 | { |
261 | #ifndef KORG_NOPLUGINS | 262 | #ifndef KORG_NOPLUGINS |
262 | if (!mPluginDialog) { | 263 | if (!mPluginDialog) { |
263 | mPluginDialog = new PluginDialog(mMainView); | 264 | mPluginDialog = new PluginDialog(mMainView); |
264 | connect(mPluginDialog,SIGNAL(configChanged()), | 265 | connect(mPluginDialog,SIGNAL(configChanged()), |
265 | mMainView,SLOT(updateConfig())); | 266 | mMainView,SLOT(updateConfig())); |
266 | } | 267 | } |
267 | mPluginDialog->show(); | 268 | mPluginDialog->show(); |
268 | mPluginDialog->raise(); | 269 | mPluginDialog->raise(); |
269 | #endif | 270 | #endif |
270 | } | 271 | } |
271 | 272 | ||
272 | KOEventEditor *KODialogManager::getEventEditor() | 273 | KOEventEditor *KODialogManager::getEventEditor() |
273 | { | 274 | { |
274 | KOEventEditor *eventEditor = new KOEventEditor( mMainView->calendar(), | 275 | KOEventEditor *eventEditor = new KOEventEditor( mMainView->calendar(), |
275 | mMainView ); | 276 | mMainView ); |
276 | 277 | ||
277 | connect(eventEditor,SIGNAL(eventAdded(Event *)), | 278 | connect(eventEditor,SIGNAL(eventAdded(Event *)), |
278 | mMainView,SLOT(eventAdded(Event *))); | 279 | mMainView,SLOT(eventAdded(Event *))); |
279 | connect(eventEditor,SIGNAL(eventChanged(Event *)), | 280 | connect(eventEditor,SIGNAL(eventChanged(Event *)), |
280 | mMainView,SLOT(eventChanged(Event *))); | 281 | mMainView,SLOT(eventChanged(Event *))); |
281 | connect(eventEditor,SIGNAL(eventDeleted()), | 282 | connect(eventEditor,SIGNAL(eventDeleted()), |
282 | mMainView,SLOT(eventDeleted())); | 283 | mMainView,SLOT(eventDeleted())); |
283 | connect(eventEditor,SIGNAL(deleteAttendee(Incidence *)), | 284 | connect(eventEditor,SIGNAL(deleteAttendee(Incidence *)), |
284 | mMainView,SLOT(schedule_cancel(Incidence *))); | 285 | mMainView,SLOT(schedule_cancel(Incidence *))); |
285 | connect( eventEditor, SIGNAL(jumpToTime( const QDate &)), | 286 | connect( eventEditor, SIGNAL(jumpToTime( const QDate &)), |
286 | mMainView->dateNavigator(), SLOT( selectWeek( const QDate & ) ) ); | 287 | mMainView->dateNavigator(), SLOT( selectWeek( const QDate & ) ) ); |
287 | connect( eventEditor, SIGNAL( showAgendaView( bool)), | 288 | connect( eventEditor, SIGNAL( showAgendaView( bool)), |
288 | mMainView->viewManager(), SLOT( showAgendaView( bool) ) ); | 289 | mMainView->viewManager(), SLOT( showAgendaView( bool) ) ); |
289 | 290 | ||
290 | // connect(mCategoryEditDialog,SIGNAL(categoryConfigChanged()), | 291 | // connect(mCategoryEditDialog,SIGNAL(categoryConfigChanged()), |
291 | // eventEditor,SLOT(updateCategoryConfig())); | 292 | // eventEditor,SLOT(updateCategoryConfig())); |
292 | // connect(eventEditor,SIGNAL(editCategories()), | 293 | // connect(eventEditor,SIGNAL(editCategories()), |
293 | // mCategoryEditDialog,SLOT(show())); | 294 | // mCategoryEditDialog,SLOT(show())); |
294 | connect(eventEditor,SIGNAL(dialogClose(Incidence*)), | 295 | connect(eventEditor,SIGNAL(dialogClose(Incidence*)), |
295 | mMainView,SLOT(dialogClosing(Incidence*))); | 296 | mMainView,SLOT(dialogClosing(Incidence*))); |
296 | 297 | ||
297 | //connect(mMainView,SIGNAL(closingDown()),eventEditor,SLOT(reject())); | 298 | //connect(mMainView,SIGNAL(closingDown()),eventEditor,SLOT(reject())); |
298 | 299 | ||
299 | #ifndef DESKTOP_VERSION | 300 | #ifndef DESKTOP_VERSION |
300 | eventEditor->resize( QApplication::desktop()->width() -20, 100 ); | 301 | eventEditor->resize( QApplication::desktop()->width() -20, 100 ); |
301 | #endif | 302 | #endif |
302 | return eventEditor; | 303 | return eventEditor; |
303 | } | 304 | } |
304 | 305 | ||
305 | KOTodoEditor *KODialogManager::getTodoEditor() | 306 | KOTodoEditor *KODialogManager::getTodoEditor() |
306 | { | 307 | { |
307 | KOTodoEditor *todoEditor = new KOTodoEditor( mMainView->calendar(), | 308 | KOTodoEditor *todoEditor = new KOTodoEditor( mMainView->calendar(), |
308 | mMainView ); | 309 | mMainView ); |
309 | 310 | ||
310 | // connect(mCategoryEditDialog,SIGNAL(categoryConfigChanged()), | 311 | // connect(mCategoryEditDialog,SIGNAL(categoryConfigChanged()), |
311 | // todoEditor,SLOT(updateCategoryConfig())); | 312 | // todoEditor,SLOT(updateCategoryConfig())); |
312 | // connect(todoEditor,SIGNAL(editCategories()),mCategoryEditDialog,SLOT(show())); | 313 | // connect(todoEditor,SIGNAL(editCategories()),mCategoryEditDialog,SLOT(show())); |
313 | 314 | ||
314 | connect(todoEditor,SIGNAL(todoAdded(Todo *)), | 315 | connect(todoEditor,SIGNAL(todoAdded(Todo *)), |
315 | mMainView,SLOT(todoAdded(Todo *))); | 316 | mMainView,SLOT(todoAdded(Todo *))); |
316 | connect(todoEditor,SIGNAL(todoChanged(Todo *)), | 317 | connect(todoEditor,SIGNAL(todoChanged(Todo *)), |
317 | mMainView,SLOT(todoChanged(Todo *))); | 318 | mMainView,SLOT(todoChanged(Todo *))); |
318 | connect(todoEditor,SIGNAL(todoDeleted()), | 319 | connect(todoEditor,SIGNAL(todoDeleted()), |
319 | mMainView,SLOT(todoDeleted())); | 320 | mMainView,SLOT(todoDeleted())); |
320 | connect(todoEditor,SIGNAL(dialogClose(Incidence*)), | 321 | connect(todoEditor,SIGNAL(dialogClose(Incidence*)), |
321 | mMainView,SLOT(dialogClosing(Incidence*))); | 322 | mMainView,SLOT(dialogClosing(Incidence*))); |
322 | connect( todoEditor, SIGNAL(jumpToTime( const QDate &)), | 323 | connect( todoEditor, SIGNAL(jumpToTime( const QDate &)), |
323 | mMainView->dateNavigator(), SLOT( selectWeek( const QDate & ) ) ); | 324 | mMainView->dateNavigator(), SLOT( selectWeek( const QDate & ) ) ); |
324 | connect( todoEditor, SIGNAL( showAgendaView( bool)), | 325 | connect( todoEditor, SIGNAL( showAgendaView( bool)), |
325 | mMainView->viewManager(), SLOT( showAgendaView( bool) ) ); | 326 | mMainView->viewManager(), SLOT( showAgendaView( bool) ) ); |
326 | // connect(todoEditor,SIGNAL(deleteAttendee(Incidence *)), | 327 | // connect(todoEditor,SIGNAL(deleteAttendee(Incidence *)), |
327 | // mMainView,SLOT(schedule_cancel(Incidence *))); | 328 | // mMainView,SLOT(schedule_cancel(Incidence *))); |
328 | //connect(mMainView,SIGNAL(closingDown()),todoEditor,SLOT(reject())); | 329 | //connect(mMainView,SIGNAL(closingDown()),todoEditor,SLOT(reject())); |
329 | #ifndef DESKTOP_VERSION | 330 | #ifndef DESKTOP_VERSION |
330 | todoEditor->resize( QApplication::desktop()->width() -20, 100 ); | 331 | todoEditor->resize( QApplication::desktop()->width() -20, 100 ); |
331 | #endif | 332 | #endif |
332 | return todoEditor; | 333 | return todoEditor; |
333 | } | 334 | } |
334 | 335 | ||
335 | void KODialogManager::updateSearchDialog() | 336 | void KODialogManager::updateSearchDialog() |
336 | { | 337 | { |
337 | if (mSearchDialog) mSearchDialog->updateView(); | 338 | if (mSearchDialog) mSearchDialog->updateView(); |
338 | } | 339 | } |
339 | 340 | ||
340 | void KODialogManager::setDocumentId( const QString &id ) | 341 | void KODialogManager::setDocumentId( const QString &id ) |
341 | { | 342 | { |
342 | if (mOutgoingDialog) mOutgoingDialog->setDocumentId( id ); | 343 | if (mOutgoingDialog) mOutgoingDialog->setDocumentId( id ); |
343 | } | 344 | } |
344 | 345 | ||
345 | void KODialogManager::writeSettings( KConfig *config ) | 346 | void KODialogManager::writeSettings( KConfig *config ) |
346 | { | 347 | { |
347 | if (mSearchDialog) | 348 | if (mSearchDialog) |
348 | mSearchDialog->listview()->writeSettings(config,"SearchListView Layout"); | 349 | mSearchDialog->listview()->writeSettings(config,"SearchListView Layout"); |
349 | } | 350 | } |