-rw-r--r-- | bin/kdepim/WhatsNew.txt | 8 | ||||
-rw-r--r-- | korganizer/kotodoview.cpp | 6 |
2 files changed, 14 insertions, 0 deletions
diff --git a/bin/kdepim/WhatsNew.txt b/bin/kdepim/WhatsNew.txt index 7e5240c..6c9daad 100644 --- a/bin/kdepim/WhatsNew.txt +++ b/bin/kdepim/WhatsNew.txt | |||
@@ -1,203 +1,211 @@ | |||
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 | 3 | ||
4 | ********** VERSION 2.0.1 ************ | 4 | ********** VERSION 2.0.1 ************ |
5 | 5 | ||
6 | Oooops ... I forgot to test on the Zaurus 5500 ... | 6 | Oooops ... I forgot to test on the Zaurus 5500 ... |
7 | 7 | ||
8 | Fixed many problems of new (english) strings (and german translations) | 8 | Fixed many problems of new (english) strings (and german translations) |
9 | introduced in the latest versions, where the text was not fitting on the | 9 | introduced in the latest versions, where the text was not fitting on the |
10 | 240x320 display of the Zaurus 5500. | 10 | 240x320 display of the Zaurus 5500. |
11 | 11 | ||
12 | Added a popup menu ( press pen and hold to get popup ) to the agenda view | ||
13 | with may useful items. | ||
14 | |||
15 | Added items to the todolist popup menu for: | ||
16 | Display all opened, all closed or all todos flat. | ||
17 | The "flat" view makes is possible to sort all todos after ,e.g., prio or date. | ||
18 | |||
19 | |||
12 | ********** VERSION 2.0.0 ************ | 20 | ********** VERSION 2.0.0 ************ |
13 | 21 | ||
14 | Stable release 2.0.0! | 22 | Stable release 2.0.0! |
15 | 23 | ||
16 | KO/Pi: | 24 | KO/Pi: |
17 | Fixed problem in edit dialog recreation at startup. | 25 | Fixed problem in edit dialog recreation at startup. |
18 | Made "toggle view*" menu items enabled context sensitive. | 26 | Made "toggle view*" menu items enabled context sensitive. |
19 | Changed agenda size menu to items 1-10. | 27 | Changed agenda size menu to items 1-10. |
20 | Made it possible to change agenda size quickly by pressing mouse on timelabels in agenda view and move mouse up/down. | 28 | Made it possible to change agenda size quickly by pressing mouse on timelabels in agenda view and move mouse up/down. |
21 | Usebility enhancements in the KO/Pi menus. | 29 | Usebility enhancements in the KO/Pi menus. |
22 | Birthday import now adds year to summary. | 30 | Birthday import now adds year to summary. |
23 | What's Next view shows age in years for birthday. | 31 | What's Next view shows age in years for birthday. |
24 | 32 | ||
25 | OM/Pi: | 33 | OM/Pi: |
26 | Added three info lines to display subject, from and to of selected mails. | 34 | Added three info lines to display subject, from and to of selected mails. |
27 | 35 | ||
28 | KA/Pi: | 36 | KA/Pi: |
29 | Fixed jump bar behaviour on Zaurus. | 37 | Fixed jump bar behaviour on Zaurus. |
30 | Now KA/Pi search field supports searching for a range of starting characters. | 38 | Now KA/Pi search field supports searching for a range of starting characters. |
31 | E.g. to search for all contact beginning with b to n, type | 39 | E.g. to search for all contact beginning with b to n, type |
32 | b-n | 40 | b-n |
33 | in the search field. | 41 | in the search field. |
34 | 42 | ||
35 | ********** VERSION 1.9.20 ************ | 43 | ********** VERSION 1.9.20 ************ |
36 | 44 | ||
37 | KO/Pi: | 45 | KO/Pi: |
38 | Added for the "dislplay one day" agenda mode | 46 | Added for the "dislplay one day" agenda mode |
39 | info in the caption and in the day lables: | 47 | info in the caption and in the day lables: |
40 | Now it is displayed, if the selected day is from "day before yesterday" | 48 | Now it is displayed, if the selected day is from "day before yesterday" |
41 | to "day after tomorrow". | 49 | to "day after tomorrow". |
42 | Made it possible to delete a Todo, which has sub-todos. | 50 | Made it possible to delete a Todo, which has sub-todos. |
43 | Fixed two small problems in the todo view. | 51 | Fixed two small problems in the todo view. |
44 | Added missing German translation for filter edit and print dialog. | 52 | Added missing German translation for filter edit and print dialog. |
45 | Made search dialog closeable by cancel key. | 53 | Made search dialog closeable by cancel key. |
46 | 54 | ||
47 | Made it possible to select in the date picker the (ligt grey ) | 55 | Made it possible to select in the date picker the (ligt grey ) |
48 | dates of the prev./next month with the mouse. | 56 | dates of the prev./next month with the mouse. |
49 | 57 | ||
50 | OM/Pi: | 58 | OM/Pi: |
51 | "Delete mail" icon in main window now deletes all selected mails. | 59 | "Delete mail" icon in main window now deletes all selected mails. |
52 | Fixed the problem, that the state flag of imap mails was ignored. | 60 | Fixed the problem, that the state flag of imap mails was ignored. |
53 | Now mails with "FLAG_SEEN" on the imap server get no icon in the list view | 61 | Now mails with "FLAG_SEEN" on the imap server get no icon in the list view |
54 | to indecate that they are already seen. | 62 | to indecate that they are already seen. |
55 | Fixed the problem that the body of some mails was not displayed in the | 63 | Fixed the problem that the body of some mails was not displayed in the |
56 | mail viewer when fetching them from the imap server directly to read them. | 64 | mail viewer when fetching them from the imap server directly to read them. |
57 | Made it (configurable) possible to show the "To:" field in the list view. | 65 | Made it (configurable) possible to show the "To:" field in the list view. |
58 | Added to the mail viewer the option "View Source" to make it possible to see the raw mail data. | 66 | Added to the mail viewer the option "View Source" to make it possible to see the raw mail data. |
59 | Added a "Download Mail" button to the mail viewer to quickly download the viewed mail to the | 67 | Added a "Download Mail" button to the mail viewer to quickly download the viewed mail to the |
60 | local storage folder (specified in account settings) of the account of the mail. | 68 | local storage folder (specified in account settings) of the account of the mail. |
61 | Removed some memory leaks in OM/Pi. | 69 | Removed some memory leaks in OM/Pi. |
62 | 70 | ||
63 | 71 | ||
64 | ********** VERSION 1.9.19 ************ | 72 | ********** VERSION 1.9.19 ************ |
65 | 73 | ||
66 | Added a lot of missing translations to KA/Pi, | 74 | Added a lot of missing translations to KA/Pi, |
67 | Added some missing translations to KO/Pi and OM/Pi. | 75 | Added some missing translations to KO/Pi and OM/Pi. |
68 | 76 | ||
69 | Fixed some minor problems in KA/Pi + KO/Pi. | 77 | Fixed some minor problems in KA/Pi + KO/Pi. |
70 | 78 | ||
71 | Fixed a crash when closing PwM/Pi. | 79 | Fixed a crash when closing PwM/Pi. |
72 | Added German translation for PwM/Pi. | 80 | Added German translation for PwM/Pi. |
73 | 81 | ||
74 | Made view change and Month View update faster in KO/Pi. | 82 | Made view change and Month View update faster in KO/Pi. |
75 | 83 | ||
76 | 84 | ||
77 | ********** VERSION 1.9.18 ************ | 85 | ********** VERSION 1.9.18 ************ |
78 | 86 | ||
79 | FYI: The VERSION 1.9.17 was a testing release only. | 87 | FYI: The VERSION 1.9.17 was a testing release only. |
80 | Please read the changelog of VERSION 1.9.17 as well. | 88 | Please read the changelog of VERSION 1.9.17 as well. |
81 | 89 | ||
82 | Cleaned up the syncing config dialog. | 90 | Cleaned up the syncing config dialog. |
83 | Added sync config options for date range for events. | 91 | Added sync config options for date range for events. |
84 | Added sync config options for filters on incoming data. | 92 | Added sync config options for filters on incoming data. |
85 | Added sync config options for filters on outgoing data. | 93 | Added sync config options for filters on outgoing data. |
86 | Please read the updated SyncHowTo about the new filter settings. | 94 | Please read the updated SyncHowTo about the new filter settings. |
87 | These filter settings make it now possible to sync with shared | 95 | These filter settings make it now possible to sync with shared |
88 | calendars without writing back private or confidential data | 96 | calendars without writing back private or confidential data |
89 | (via the outgoing filters). | 97 | (via the outgoing filters). |
90 | To sync only with particular parts of a shared calendar, | 98 | To sync only with particular parts of a shared calendar, |
91 | the incoming filter settings can be used. | 99 | the incoming filter settings can be used. |
92 | An example can be found in the SyncHowTo. | 100 | An example can be found in the SyncHowTo. |
93 | Same for shared addressbooks. | 101 | Same for shared addressbooks. |
94 | 102 | ||
95 | Added a setting for the global kdepim data storage. | 103 | Added a setting for the global kdepim data storage. |
96 | Usually the data is stored in (yourhomedir/kdepim). | 104 | Usually the data is stored in (yourhomedir/kdepim). |
97 | Now you can set in the Global config dialog TAB, subTAB "Data storage path" | 105 | Now you can set in the Global config dialog TAB, subTAB "Data storage path" |
98 | a directory where all the kdepim data is stored. | 106 | a directory where all the kdepim data is stored. |
99 | That makes it easy to save all kdepim data on a SD card on the Z, for example. | 107 | That makes it easy to save all kdepim data on a SD card on the Z, for example. |
100 | 108 | ||
101 | KO/Pi: | 109 | KO/Pi: |
102 | The timeedit input has a pulldown list for times. | 110 | The timeedit input has a pulldown list for times. |
103 | If opened, this pulldown list should now has the right time highlighted. | 111 | If opened, this pulldown list should now has the right time highlighted. |
104 | Added the possibility to exclude events/todos/journals in a filter. | 112 | Added the possibility to exclude events/todos/journals in a filter. |
105 | You should exclude journals, if you do not want them to sync with a public calendar. | 113 | You should exclude journals, if you do not want them to sync with a public calendar. |
106 | 114 | ||
107 | KA/Pi: | 115 | KA/Pi: |
108 | Added the possibility to in/exclude public/private/confidential contacts to a filter. | 116 | Added the possibility to in/exclude public/private/confidential contacts to a filter. |
109 | If you have already defined filterrules in KA/Pi you have to adjust them all by setting the "include public/private/confidential" property manually. Sorry for that ... | 117 | If you have already defined filterrules in KA/Pi you have to adjust them all by setting the "include public/private/confidential" property manually. Sorry for that ... |
110 | Added printing of card view and details view on desktop. | 118 | Added printing of card view and details view on desktop. |
111 | Printing of list view is not working... | 119 | Printing of list view is not working... |
112 | Added button for removing pictures in contact editor. | 120 | Added button for removing pictures in contact editor. |
113 | Parsing data fix of KA/Pi version 1.9.17. | 121 | Parsing data fix of KA/Pi version 1.9.17. |
114 | Fixed the "parse name automatically" problem of KA/Pi version 1.9.17. | 122 | Fixed the "parse name automatically" problem of KA/Pi version 1.9.17. |
115 | Fixed some syncing merging problems. | 123 | Fixed some syncing merging problems. |
116 | 124 | ||
117 | 125 | ||
118 | ********** VERSION 1.9.17 ************ | 126 | ********** VERSION 1.9.17 ************ |
119 | 127 | ||
120 | KO/Pi: | 128 | KO/Pi: |
121 | Fixed that tooltips were not updated after moving an item in agenda view. | 129 | Fixed that tooltips were not updated after moving an item in agenda view. |
122 | Fixed a bug in sorting start date for recurring events in list view. | 130 | Fixed a bug in sorting start date for recurring events in list view. |
123 | Changed the left button in todo viewer from "Agenda" to "Set completed". | 131 | Changed the left button in todo viewer from "Agenda" to "Set completed". |
124 | This makes it possible to change a todo in the What's Next View quickly to the completed state without leaving the What's Next View. | 132 | This makes it possible to change a todo in the What's Next View quickly to the completed state without leaving the What's Next View. |
125 | Added more info in the todo viewer: Startdate, parent/sub todos. | 133 | Added more info in the todo viewer: Startdate, parent/sub todos. |
126 | 134 | ||
127 | 135 | ||
128 | KA/Pi: | 136 | KA/Pi: |
129 | All fields search does now actually search all the (possible) fields, | 137 | All fields search does now actually search all the (possible) fields, |
130 | not only those listed in the contact list. | 138 | not only those listed in the contact list. |
131 | Made is possible to inline a picture in a vcard on the Z. | 139 | Made is possible to inline a picture in a vcard on the Z. |
132 | This was only possible on the desktop, now is it possible on the Z as well. | 140 | This was only possible on the desktop, now is it possible on the Z as well. |
133 | Fixed of missing save settings after filter configuration. | 141 | Fixed of missing save settings after filter configuration. |
134 | Made saving of addressbook much faster. | 142 | Made saving of addressbook much faster. |
135 | Fixed extension widget layout problem. | 143 | Fixed extension widget layout problem. |
136 | Fixed saving of default formatted name settings. | 144 | Fixed saving of default formatted name settings. |
137 | Fixed formatted name handling in edit dialog. | 145 | Fixed formatted name handling in edit dialog. |
138 | Added an option for changing formatted names of many contacts | 146 | Added an option for changing formatted names of many contacts |
139 | (menu: File - Change - Set formatted name). | 147 | (menu: File - Change - Set formatted name). |
140 | 148 | ||
141 | QWhatsThis was not working on the Z ( only black rectangle was shown). | 149 | QWhatsThis was not working on the Z ( only black rectangle was shown). |
142 | This is Fixed. | 150 | This is Fixed. |
143 | 151 | ||
144 | KDE-Sync: | 152 | KDE-Sync: |
145 | Now readonly KDE resources are synced as well. | 153 | Now readonly KDE resources are synced as well. |
146 | (They are not changed in KDE itself, of course). | 154 | (They are not changed in KDE itself, of course). |
147 | 155 | ||
148 | 156 | ||
149 | 157 | ||
150 | ********** VERSION 1.9.16 ************ | 158 | ********** VERSION 1.9.16 ************ |
151 | 159 | ||
152 | KO/Pi: | 160 | KO/Pi: |
153 | Fixed search dialog size on Z 6000 (480x640 display). | 161 | Fixed search dialog size on Z 6000 (480x640 display). |
154 | Added setting to hide/show time in agenda items. | 162 | Added setting to hide/show time in agenda items. |
155 | Added setting to hide not running todos in todo view. | 163 | Added setting to hide not running todos in todo view. |
156 | Added columns for start date/time in todo view. | 164 | Added columns for start date/time in todo view. |
157 | Replaced the solid half-hour lines in agenda view by dot lines. | 165 | Replaced the solid half-hour lines in agenda view by dot lines. |
158 | Added possibility of printing the What's Next View on the desktop | 166 | Added possibility of printing the What's Next View on the desktop |
159 | (i.e. Windows and Linux). | 167 | (i.e. Windows and Linux). |
160 | Fixed a crash in KO/Pi when starting KO/Pi with What's Next view. | 168 | Fixed a crash in KO/Pi when starting KO/Pi with What's Next view. |
161 | Added tooltips in month view.(Tooltips only available on desktop) | 169 | Added tooltips in month view.(Tooltips only available on desktop) |
162 | 170 | ||
163 | Fixed a strange problem in KO/Pi alarm applet. | 171 | Fixed a strange problem in KO/Pi alarm applet. |
164 | Did not find the actual problem, | 172 | Did not find the actual problem, |
165 | such that now Qtopia reboots again if deinstalling the alarm applet. | 173 | such that now Qtopia reboots again if deinstalling the alarm applet. |
166 | But the alarm applet should work again. | 174 | But the alarm applet should work again. |
167 | 175 | ||
168 | KA/Pi: | 176 | KA/Pi: |
169 | Fixed the problem, that internal pictures were not saved. | 177 | Fixed the problem, that internal pictures were not saved. |
170 | 178 | ||
171 | Fixed a problem in the pi-sync mode by increasing the timeout for data transfer from 20 seconds to 5 minutes. | 179 | Fixed a problem in the pi-sync mode by increasing the timeout for data transfer from 20 seconds to 5 minutes. |
172 | 180 | ||
173 | Fixed some minor problems. (Like word wrap in help text windows). | 181 | Fixed some minor problems. (Like word wrap in help text windows). |
174 | 182 | ||
175 | Fixed a compiling problem in microkde/kresources. | 183 | Fixed a compiling problem in microkde/kresources. |
176 | 184 | ||
177 | KO/Pi is using zdbat (renamed to db2file) for syncing with Sharp DTM. | 185 | KO/Pi is using zdbat (renamed to db2file) for syncing with Sharp DTM. |
178 | This version now includes zdbat 1.0.0 (old version was zdbat 0.2.9) | 186 | This version now includes zdbat 1.0.0 (old version was zdbat 0.2.9) |
179 | such that now syncing KO/Pi with Sharp DTM should work on the | 187 | such that now syncing KO/Pi with Sharp DTM should work on the |
180 | Zaurus C 3000 model. | 188 | Zaurus C 3000 model. |
181 | 189 | ||
182 | ********** VERSION 1.9.15 ************ | 190 | ********** VERSION 1.9.15 ************ |
183 | 191 | ||
184 | Usebilty enhancements in KO/Pi: | 192 | Usebilty enhancements in KO/Pi: |
185 | When clicking on the date in a month view cell, the day view is shown. | 193 | When clicking on the date in a month view cell, the day view is shown. |
186 | Old behaviour was, that the "new event" dialog popped up. | 194 | Old behaviour was, that the "new event" dialog popped up. |
187 | 195 | ||
188 | Added a one step "undo delete" in KO/Pi (Accessable in the "Action" menu). | 196 | Added a one step "undo delete" in KO/Pi (Accessable in the "Action" menu). |
189 | That means, you can restore the latest | 197 | That means, you can restore the latest |
190 | event/todo/journal you have deleted. | 198 | event/todo/journal you have deleted. |
191 | A journal is deleted, if you clear all the text of the journal. | 199 | A journal is deleted, if you clear all the text of the journal. |
192 | 200 | ||
193 | Fixed the bug of the editor dialogs in KO/Pi of version 1.9.14. | 201 | Fixed the bug of the editor dialogs in KO/Pi of version 1.9.14. |
194 | 202 | ||
195 | KA/Pi starting in 480x640 resolution: | 203 | KA/Pi starting in 480x640 resolution: |
196 | Hide the filter action in toolbar | 204 | Hide the filter action in toolbar |
197 | and added icons for undo/delete/redo in toolbar. | 205 | and added icons for undo/delete/redo in toolbar. |
198 | 206 | ||
199 | Change in OM/Pi ViewMail dialog: | 207 | Change in OM/Pi ViewMail dialog: |
200 | When clicking on the "delete" icon the mail is deleted after confirmation as usual. | 208 | When clicking on the "delete" icon the mail is deleted after confirmation as usual. |
201 | But the edit dialog is not closed as before, now the next mail in the folder is shown automatically (if there is any). | 209 | But the edit dialog is not closed as before, now the next mail in the folder is shown automatically (if there is any). |
202 | 210 | ||
203 | Fixed a crash when deleting mail-accounts in OM/Pi. | 211 | Fixed a crash when deleting mail-accounts in OM/Pi. |
diff --git a/korganizer/kotodoview.cpp b/korganizer/kotodoview.cpp index 22486ba..1fb480d 100644 --- a/korganizer/kotodoview.cpp +++ b/korganizer/kotodoview.cpp | |||
@@ -851,362 +851,368 @@ void KOTodoView::setNewPercentage(int index) | |||
851 | if (mPercentage[index] == 100) { | 851 | if (mPercentage[index] == 100) { |
852 | mActiveItem->todo()->setCompleted(QDateTime::currentDateTime()); | 852 | mActiveItem->todo()->setCompleted(QDateTime::currentDateTime()); |
853 | } else { | 853 | } else { |
854 | mActiveItem->todo()->setCompleted(false); | 854 | mActiveItem->todo()->setCompleted(false); |
855 | } | 855 | } |
856 | mActiveItem->todo()->setPercentComplete(mPercentage[index]); | 856 | mActiveItem->todo()->setPercentComplete(mPercentage[index]); |
857 | mActiveItem->construct(); | 857 | mActiveItem->construct(); |
858 | todoModified (mActiveItem->todo (), KOGlobals::COMPLETION_MODIFIED); | 858 | todoModified (mActiveItem->todo (), KOGlobals::COMPLETION_MODIFIED); |
859 | mActiveItem->todo()->setRevision( mActiveItem->todo()->revision()+1 ); | 859 | mActiveItem->todo()->setRevision( mActiveItem->todo()->revision()+1 ); |
860 | } | 860 | } |
861 | } | 861 | } |
862 | 862 | ||
863 | 863 | ||
864 | QPopupMenu * KOTodoView::getCategoryPopupMenu (KOTodoViewItem *todoItem) | 864 | QPopupMenu * KOTodoView::getCategoryPopupMenu (KOTodoViewItem *todoItem) |
865 | { | 865 | { |
866 | QPopupMenu* tempMenu = new QPopupMenu (this); | 866 | QPopupMenu* tempMenu = new QPopupMenu (this); |
867 | QStringList checkedCategories = todoItem->todo()->categories (); | 867 | QStringList checkedCategories = todoItem->todo()->categories (); |
868 | 868 | ||
869 | tempMenu->setCheckable (true); | 869 | tempMenu->setCheckable (true); |
870 | for (QStringList::Iterator it = KOPrefs::instance()->mCustomCategories.begin (); | 870 | for (QStringList::Iterator it = KOPrefs::instance()->mCustomCategories.begin (); |
871 | it != KOPrefs::instance()->mCustomCategories.end (); | 871 | it != KOPrefs::instance()->mCustomCategories.end (); |
872 | ++it) { | 872 | ++it) { |
873 | int index = tempMenu->insertItem (*it); | 873 | int index = tempMenu->insertItem (*it); |
874 | mCategory[index] = *it; | 874 | mCategory[index] = *it; |
875 | if (checkedCategories.find (*it) != checkedCategories.end ()) tempMenu->setItemChecked (index, true); | 875 | if (checkedCategories.find (*it) != checkedCategories.end ()) tempMenu->setItemChecked (index, true); |
876 | } | 876 | } |
877 | 877 | ||
878 | connect (tempMenu, SIGNAL (activated (int)), SLOT (changedCategories (int))); | 878 | connect (tempMenu, SIGNAL (activated (int)), SLOT (changedCategories (int))); |
879 | return tempMenu; | 879 | return tempMenu; |
880 | 880 | ||
881 | 881 | ||
882 | } | 882 | } |
883 | void KOTodoView::changedCategories(int index) | 883 | void KOTodoView::changedCategories(int index) |
884 | { | 884 | { |
885 | if (mActiveItem && !mActiveItem->todo()->isReadOnly ()) { | 885 | if (mActiveItem && !mActiveItem->todo()->isReadOnly ()) { |
886 | QStringList categories = mActiveItem->todo()->categories (); | 886 | QStringList categories = mActiveItem->todo()->categories (); |
887 | if (categories.find (mCategory[index]) != categories.end ()) | 887 | if (categories.find (mCategory[index]) != categories.end ()) |
888 | categories.remove (mCategory[index]); | 888 | categories.remove (mCategory[index]); |
889 | else | 889 | else |
890 | categories.insert (categories.end(), mCategory[index]); | 890 | categories.insert (categories.end(), mCategory[index]); |
891 | categories.sort (); | 891 | categories.sort (); |
892 | mActiveItem->todo()->setCategories (categories); | 892 | mActiveItem->todo()->setCategories (categories); |
893 | mActiveItem->construct(); | 893 | mActiveItem->construct(); |
894 | mActiveItem->todo()->setRevision( mActiveItem->todo()->revision()+1 ); | 894 | mActiveItem->todo()->setRevision( mActiveItem->todo()->revision()+1 ); |
895 | todoModified (mActiveItem->todo (), KOGlobals::CATEGORY_MODIFIED); | 895 | todoModified (mActiveItem->todo (), KOGlobals::CATEGORY_MODIFIED); |
896 | } | 896 | } |
897 | } | 897 | } |
898 | void KOTodoView::itemDoubleClicked(QListViewItem *item) | 898 | void KOTodoView::itemDoubleClicked(QListViewItem *item) |
899 | { | 899 | { |
900 | if ( pendingSubtodo != 0 ) { | 900 | if ( pendingSubtodo != 0 ) { |
901 | topLevelWidget()->setCaption(i18n("Reparenting aborted!")); | 901 | topLevelWidget()->setCaption(i18n("Reparenting aborted!")); |
902 | } | 902 | } |
903 | pendingSubtodo = 0; | 903 | pendingSubtodo = 0; |
904 | if (!item) { | 904 | if (!item) { |
905 | newTodo(); | 905 | newTodo(); |
906 | return; | 906 | return; |
907 | } | 907 | } |
908 | if ( KOPrefs::instance()->mEditOnDoubleClick ) | 908 | if ( KOPrefs::instance()->mEditOnDoubleClick ) |
909 | editItem( item ); | 909 | editItem( item ); |
910 | else | 910 | else |
911 | showItem( item , QPoint(), 0 ); | 911 | showItem( item , QPoint(), 0 ); |
912 | } | 912 | } |
913 | void KOTodoView::itemClicked(QListViewItem *item) | 913 | void KOTodoView::itemClicked(QListViewItem *item) |
914 | { | 914 | { |
915 | 915 | ||
916 | if (!item) { | 916 | if (!item) { |
917 | if ( pendingSubtodo != 0 ) { | 917 | if ( pendingSubtodo != 0 ) { |
918 | topLevelWidget()->setCaption(i18n("Reparenting aborted!")); | 918 | topLevelWidget()->setCaption(i18n("Reparenting aborted!")); |
919 | } | 919 | } |
920 | pendingSubtodo = 0; | 920 | pendingSubtodo = 0; |
921 | return; | 921 | return; |
922 | } | 922 | } |
923 | KOTodoViewItem *todoItem = (KOTodoViewItem *)item; | 923 | KOTodoViewItem *todoItem = (KOTodoViewItem *)item; |
924 | if ( pendingSubtodo != 0 ) { | 924 | if ( pendingSubtodo != 0 ) { |
925 | bool allowReparent = true; | 925 | bool allowReparent = true; |
926 | QListViewItem *par = item; | 926 | QListViewItem *par = item; |
927 | while ( par ) { | 927 | while ( par ) { |
928 | if ( par == pendingSubtodo ) { | 928 | if ( par == pendingSubtodo ) { |
929 | allowReparent = false; | 929 | allowReparent = false; |
930 | break; | 930 | break; |
931 | } | 931 | } |
932 | par = par->parent(); | 932 | par = par->parent(); |
933 | } | 933 | } |
934 | if ( !allowReparent ) { | 934 | if ( !allowReparent ) { |
935 | topLevelWidget()->setCaption(i18n("Recursive reparenting not possible!")); | 935 | topLevelWidget()->setCaption(i18n("Recursive reparenting not possible!")); |
936 | qDebug("Recursive reparenting not possible "); | 936 | qDebug("Recursive reparenting not possible "); |
937 | pendingSubtodo = 0; | 937 | pendingSubtodo = 0; |
938 | } else { | 938 | } else { |
939 | Todo* newParent = todoItem->todo(); | 939 | Todo* newParent = todoItem->todo(); |
940 | Todo* newSub = pendingSubtodo->todo(); | 940 | Todo* newSub = pendingSubtodo->todo(); |
941 | pendingSubtodo = 0; | 941 | pendingSubtodo = 0; |
942 | emit reparentTodoSignal( newParent,newSub ); | 942 | emit reparentTodoSignal( newParent,newSub ); |
943 | return; | 943 | return; |
944 | } | 944 | } |
945 | } | 945 | } |
946 | int completed = todoItem->todo()->isCompleted(); // Completed or not? | 946 | int completed = todoItem->todo()->isCompleted(); // Completed or not? |
947 | 947 | ||
948 | if (todoItem->isOn()) { | 948 | if (todoItem->isOn()) { |
949 | if (!completed) { | 949 | if (!completed) { |
950 | todoItem->todo()->setCompleted(QDateTime::currentDateTime()); | 950 | todoItem->todo()->setCompleted(QDateTime::currentDateTime()); |
951 | } | 951 | } |
952 | } else { | 952 | } else { |
953 | if (completed) { | 953 | if (completed) { |
954 | todoItem->todo()->setCompleted(false); | 954 | todoItem->todo()->setCompleted(false); |
955 | } | 955 | } |
956 | } | 956 | } |
957 | } | 957 | } |
958 | 958 | ||
959 | void KOTodoView::setDocumentId( const QString &id ) | 959 | void KOTodoView::setDocumentId( const QString &id ) |
960 | { | 960 | { |
961 | kdDebug() << "KOTodoView::setDocumentId()" << endl; | 961 | kdDebug() << "KOTodoView::setDocumentId()" << endl; |
962 | 962 | ||
963 | mDocPrefs->setDoc( id ); | 963 | mDocPrefs->setDoc( id ); |
964 | } | 964 | } |
965 | 965 | ||
966 | void KOTodoView::itemStateChanged( QListViewItem *item ) | 966 | void KOTodoView::itemStateChanged( QListViewItem *item ) |
967 | { | 967 | { |
968 | if (!item) return; | 968 | if (!item) return; |
969 | 969 | ||
970 | KOTodoViewItem *todoItem = (KOTodoViewItem *)item; | 970 | KOTodoViewItem *todoItem = (KOTodoViewItem *)item; |
971 | 971 | ||
972 | // kdDebug() << "KOTodoView::itemStateChanged(): " << todoItem->todo()->summary() << endl; | 972 | // kdDebug() << "KOTodoView::itemStateChanged(): " << todoItem->todo()->summary() << endl; |
973 | 973 | ||
974 | if( mDocPrefs ) mDocPrefs->writeEntry( todoItem->todo()->uid(), todoItem->isOpen() ); | 974 | if( mDocPrefs ) mDocPrefs->writeEntry( todoItem->todo()->uid(), todoItem->isOpen() ); |
975 | } | 975 | } |
976 | 976 | ||
977 | void KOTodoView::saveLayout(KConfig *config, const QString &group) const | 977 | void KOTodoView::saveLayout(KConfig *config, const QString &group) const |
978 | { | 978 | { |
979 | mTodoListView->saveLayout(config,group); | 979 | mTodoListView->saveLayout(config,group); |
980 | } | 980 | } |
981 | 981 | ||
982 | void KOTodoView::restoreLayout(KConfig *config, const QString &group) | 982 | void KOTodoView::restoreLayout(KConfig *config, const QString &group) |
983 | { | 983 | { |
984 | mTodoListView->restoreLayout(config,group); | 984 | mTodoListView->restoreLayout(config,group); |
985 | } | 985 | } |
986 | 986 | ||
987 | void KOTodoView::processSelectionChange() | 987 | void KOTodoView::processSelectionChange() |
988 | { | 988 | { |
989 | // kdDebug() << "KOTodoView::processSelectionChange()" << endl; | 989 | // kdDebug() << "KOTodoView::processSelectionChange()" << endl; |
990 | 990 | ||
991 | KOTodoViewItem *item = | 991 | KOTodoViewItem *item = |
992 | static_cast<KOTodoViewItem *>( mTodoListView->selectedItem() ); | 992 | static_cast<KOTodoViewItem *>( mTodoListView->selectedItem() ); |
993 | 993 | ||
994 | if ( !item ) { | 994 | if ( !item ) { |
995 | emit incidenceSelected( 0 ); | 995 | emit incidenceSelected( 0 ); |
996 | } else { | 996 | } else { |
997 | emit incidenceSelected( item->todo() ); | 997 | emit incidenceSelected( item->todo() ); |
998 | } | 998 | } |
999 | } | 999 | } |
1000 | 1000 | ||
1001 | void KOTodoView::modified(bool b) | 1001 | void KOTodoView::modified(bool b) |
1002 | { | 1002 | { |
1003 | emit isModified(b); | 1003 | emit isModified(b); |
1004 | } | 1004 | } |
1005 | void KOTodoView::setTodoModified( Todo* todo ) | 1005 | void KOTodoView::setTodoModified( Todo* todo ) |
1006 | { | 1006 | { |
1007 | todoModified( todo, KOGlobals::UNKNOWN_MODIFIED ); | 1007 | todoModified( todo, KOGlobals::UNKNOWN_MODIFIED ); |
1008 | } | 1008 | } |
1009 | void KOTodoView::clearSelection() | 1009 | void KOTodoView::clearSelection() |
1010 | { | 1010 | { |
1011 | mTodoListView->selectAll( false ); | 1011 | mTodoListView->selectAll( false ); |
1012 | } | 1012 | } |
1013 | void KOTodoView::setAllOpen() | 1013 | void KOTodoView::setAllOpen() |
1014 | { | 1014 | { |
1015 | if ( isFlatDisplay ) { | 1015 | if ( isFlatDisplay ) { |
1016 | isFlatDisplay = false; | 1016 | isFlatDisplay = false; |
1017 | mPopupMenu->setItemChecked( 8,false ); | 1017 | mPopupMenu->setItemChecked( 8,false ); |
1018 | updateView(); | 1018 | updateView(); |
1019 | } | 1019 | } |
1020 | setOpen(mTodoListView->firstChild(), true); | 1020 | setOpen(mTodoListView->firstChild(), true); |
1021 | } | 1021 | } |
1022 | void KOTodoView::setAllClose() | 1022 | void KOTodoView::setAllClose() |
1023 | { | 1023 | { |
1024 | if ( isFlatDisplay ) { | 1024 | if ( isFlatDisplay ) { |
1025 | isFlatDisplay = false; | 1025 | isFlatDisplay = false; |
1026 | mPopupMenu->setItemChecked( 8,false ); | 1026 | mPopupMenu->setItemChecked( 8,false ); |
1027 | updateView(); | 1027 | updateView(); |
1028 | } | 1028 | } |
1029 | setOpen(mTodoListView->firstChild(), false); | 1029 | setOpen(mTodoListView->firstChild(), false); |
1030 | } | 1030 | } |
1031 | void KOTodoView::setOpen( QListViewItem* item, bool setOpenI) | 1031 | void KOTodoView::setOpen( QListViewItem* item, bool setOpenI) |
1032 | { | 1032 | { |
1033 | 1033 | ||
1034 | while ( item ) { | 1034 | while ( item ) { |
1035 | setOpen( item->firstChild(), setOpenI ); | 1035 | setOpen( item->firstChild(), setOpenI ); |
1036 | item->setOpen( setOpenI ); | 1036 | item->setOpen( setOpenI ); |
1037 | item = item->nextSibling(); | 1037 | item = item->nextSibling(); |
1038 | } | 1038 | } |
1039 | } | 1039 | } |
1040 | 1040 | ||
1041 | void KOTodoView::setAllFlat() | 1041 | void KOTodoView::setAllFlat() |
1042 | { | 1042 | { |
1043 | if ( isFlatDisplay ) { | ||
1044 | isFlatDisplay = false; | ||
1045 | mPopupMenu->setItemChecked( 8,false ); | ||
1046 | updateView(); | ||
1047 | return; | ||
1048 | } | ||
1043 | pendingSubtodo = 0; | 1049 | pendingSubtodo = 0; |
1044 | if ( mBlockUpdate ) { | 1050 | if ( mBlockUpdate ) { |
1045 | return; | 1051 | return; |
1046 | } | 1052 | } |
1047 | mPopupMenu->setItemChecked( 8,true ); | 1053 | mPopupMenu->setItemChecked( 8,true ); |
1048 | isFlatDisplay = true; | 1054 | isFlatDisplay = true; |
1049 | QPtrList<Todo> todoList = calendar()->todos(); | 1055 | QPtrList<Todo> todoList = calendar()->todos(); |
1050 | mTodoMap.clear(); | 1056 | mTodoMap.clear(); |
1051 | mTodoListView->clear(); | 1057 | mTodoListView->clear(); |
1052 | Todo *todo; | 1058 | Todo *todo; |
1053 | for(todo = todoList.first(); todo; todo = todoList.next()) { | 1059 | for(todo = todoList.first(); todo; todo = todoList.next()) { |
1054 | KOTodoViewItem *todoItem = new KOTodoViewItem(mTodoListView,todo,this); | 1060 | KOTodoViewItem *todoItem = new KOTodoViewItem(mTodoListView,todo,this); |
1055 | mTodoMap.insert(todo,todoItem); | 1061 | mTodoMap.insert(todo,todoItem); |
1056 | } | 1062 | } |
1057 | mTodoListView->setFocus(); | 1063 | mTodoListView->setFocus(); |
1058 | processSelectionChange(); | 1064 | processSelectionChange(); |
1059 | } | 1065 | } |
1060 | 1066 | ||
1061 | void KOTodoView::purgeCompleted() | 1067 | void KOTodoView::purgeCompleted() |
1062 | { | 1068 | { |
1063 | emit purgeCompletedSignal(); | 1069 | emit purgeCompletedSignal(); |
1064 | } | 1070 | } |
1065 | void KOTodoView::toggleQuickTodo() | 1071 | void KOTodoView::toggleQuickTodo() |
1066 | { | 1072 | { |
1067 | if ( mQuickAdd->isVisible() ) { | 1073 | if ( mQuickAdd->isVisible() ) { |
1068 | mQuickAdd->hide(); | 1074 | mQuickAdd->hide(); |
1069 | KOPrefs::instance()->mEnableQuickTodo = false; | 1075 | KOPrefs::instance()->mEnableQuickTodo = false; |
1070 | } | 1076 | } |
1071 | else { | 1077 | else { |
1072 | mQuickAdd->show(); | 1078 | mQuickAdd->show(); |
1073 | KOPrefs::instance()->mEnableQuickTodo = true; | 1079 | KOPrefs::instance()->mEnableQuickTodo = true; |
1074 | } | 1080 | } |
1075 | mPopupMenu->setItemChecked(4,KOPrefs::instance()->mEnableQuickTodo); | 1081 | mPopupMenu->setItemChecked(4,KOPrefs::instance()->mEnableQuickTodo); |
1076 | mItemPopupMenu->setItemChecked( 34 , KOPrefs::instance()->mEnableQuickTodo ); | 1082 | mItemPopupMenu->setItemChecked( 34 , KOPrefs::instance()->mEnableQuickTodo ); |
1077 | } | 1083 | } |
1078 | 1084 | ||
1079 | void KOTodoView::toggleRunning() | 1085 | void KOTodoView::toggleRunning() |
1080 | { | 1086 | { |
1081 | KOPrefs::instance()->mHideNonStartedTodos = !KOPrefs::instance()->mHideNonStartedTodos; | 1087 | KOPrefs::instance()->mHideNonStartedTodos = !KOPrefs::instance()->mHideNonStartedTodos; |
1082 | mPopupMenu->setItemChecked(5,KOPrefs::instance()->mHideNonStartedTodos); | 1088 | mPopupMenu->setItemChecked(5,KOPrefs::instance()->mHideNonStartedTodos); |
1083 | mItemPopupMenu->setItemChecked( 35 , KOPrefs::instance()->mHideNonStartedTodos ); | 1089 | mItemPopupMenu->setItemChecked( 35 , KOPrefs::instance()->mHideNonStartedTodos ); |
1084 | updateView(); | 1090 | updateView(); |
1085 | } | 1091 | } |
1086 | 1092 | ||
1087 | void KOTodoView::toggleCompleted() | 1093 | void KOTodoView::toggleCompleted() |
1088 | { | 1094 | { |
1089 | KOPrefs::instance()->mShowCompletedTodo = !KOPrefs::instance()->mShowCompletedTodo; | 1095 | KOPrefs::instance()->mShowCompletedTodo = !KOPrefs::instance()->mShowCompletedTodo; |
1090 | mPopupMenu->setItemChecked( 3,KOPrefs::instance()->mShowCompletedTodo ); | 1096 | mPopupMenu->setItemChecked( 3,KOPrefs::instance()->mShowCompletedTodo ); |
1091 | mItemPopupMenu->setItemChecked( 33 , KOPrefs::instance()->mShowCompletedTodo ); | 1097 | mItemPopupMenu->setItemChecked( 33 , KOPrefs::instance()->mShowCompletedTodo ); |
1092 | updateView(); | 1098 | updateView(); |
1093 | } | 1099 | } |
1094 | 1100 | ||
1095 | void KOTodoView::addQuickTodo() | 1101 | void KOTodoView::addQuickTodo() |
1096 | { | 1102 | { |
1097 | Todo *todo = new Todo(); | 1103 | Todo *todo = new Todo(); |
1098 | todo->setSummary(mQuickAdd->text()); | 1104 | todo->setSummary(mQuickAdd->text()); |
1099 | todo->setOrganizer(KOPrefs::instance()->email()); | 1105 | todo->setOrganizer(KOPrefs::instance()->email()); |
1100 | CalFilter * cf = mCalendar->filter(); | 1106 | CalFilter * cf = mCalendar->filter(); |
1101 | if ( cf ) { | 1107 | if ( cf ) { |
1102 | if ( cf->isEnabled()&& cf->showCategories()) { | 1108 | if ( cf->isEnabled()&& cf->showCategories()) { |
1103 | todo->setCategories(cf->categoryList()); | 1109 | todo->setCategories(cf->categoryList()); |
1104 | } | 1110 | } |
1105 | if ( cf->isEnabled() ) | 1111 | if ( cf->isEnabled() ) |
1106 | todo->setSecrecy( cf->getSecrecy()); | 1112 | todo->setSecrecy( cf->getSecrecy()); |
1107 | } | 1113 | } |
1108 | mCalendar->addTodo(todo); | 1114 | mCalendar->addTodo(todo); |
1109 | mQuickAdd->setText(""); | 1115 | mQuickAdd->setText(""); |
1110 | todoModified (todo, KOGlobals::EVENTADDED ); | 1116 | todoModified (todo, KOGlobals::EVENTADDED ); |
1111 | updateView(); | 1117 | updateView(); |
1112 | } | 1118 | } |
1113 | void KOTodoView::keyPressEvent ( QKeyEvent * e ) | 1119 | void KOTodoView::keyPressEvent ( QKeyEvent * e ) |
1114 | { | 1120 | { |
1115 | // e->ignore(); | 1121 | // e->ignore(); |
1116 | //return; | 1122 | //return; |
1117 | //qDebug("KOTodoView::keyPressEvent "); | 1123 | //qDebug("KOTodoView::keyPressEvent "); |
1118 | switch ( e->key() ) { | 1124 | switch ( e->key() ) { |
1119 | case Qt::Key_Down: | 1125 | case Qt::Key_Down: |
1120 | case Qt::Key_Up: | 1126 | case Qt::Key_Up: |
1121 | QWidget::keyPressEvent ( e ); | 1127 | QWidget::keyPressEvent ( e ); |
1122 | break; | 1128 | break; |
1123 | 1129 | ||
1124 | case Qt::Key_Q: | 1130 | case Qt::Key_Q: |
1125 | toggleQuickTodo(); | 1131 | toggleQuickTodo(); |
1126 | break; | 1132 | break; |
1127 | case Qt::Key_U: | 1133 | case Qt::Key_U: |
1128 | if ( e->state() == Qt::ControlButton|| e->state() == Qt::ShiftButton ) { | 1134 | if ( e->state() == Qt::ControlButton|| e->state() == Qt::ShiftButton ) { |
1129 | mActiveItem = (KOTodoViewItem*)mTodoListView->currentItem(); | 1135 | mActiveItem = (KOTodoViewItem*)mTodoListView->currentItem(); |
1130 | unparentTodo(); | 1136 | unparentTodo(); |
1131 | e->accept(); | 1137 | e->accept(); |
1132 | } else | 1138 | } else |
1133 | e->ignore(); | 1139 | e->ignore(); |
1134 | break; | 1140 | break; |
1135 | case Qt::Key_S: | 1141 | case Qt::Key_S: |
1136 | if ( e->state() == Qt::ControlButton ) { | 1142 | if ( e->state() == Qt::ControlButton ) { |
1137 | e->ignore(); | 1143 | e->ignore(); |
1138 | break; | 1144 | break; |
1139 | } | 1145 | } |
1140 | if ( e->state() == Qt::ShiftButton ) { | 1146 | if ( e->state() == Qt::ShiftButton ) { |
1141 | mActiveItem = (KOTodoViewItem*)mTodoListView->currentItem(); | 1147 | mActiveItem = (KOTodoViewItem*)mTodoListView->currentItem(); |
1142 | reparentTodo(); | 1148 | reparentTodo(); |
1143 | e->accept(); | 1149 | e->accept(); |
1144 | } else | 1150 | } else |
1145 | e->ignore(); | 1151 | e->ignore(); |
1146 | break; | 1152 | break; |
1147 | case Qt::Key_P: | 1153 | case Qt::Key_P: |
1148 | if ( e->state() == Qt::ControlButton|| e->state() == Qt::ShiftButton ) { | 1154 | if ( e->state() == Qt::ControlButton|| e->state() == Qt::ShiftButton ) { |
1149 | mActiveItem = (KOTodoViewItem*)mTodoListView->currentItem(); | 1155 | mActiveItem = (KOTodoViewItem*)mTodoListView->currentItem(); |
1150 | if ( pendingSubtodo ) | 1156 | if ( pendingSubtodo ) |
1151 | itemClicked(mActiveItem); | 1157 | itemClicked(mActiveItem); |
1152 | e->accept(); | 1158 | e->accept(); |
1153 | } else | 1159 | } else |
1154 | e->ignore(); | 1160 | e->ignore(); |
1155 | break; | 1161 | break; |
1156 | case Qt::Key_Escape: | 1162 | case Qt::Key_Escape: |
1157 | if ( pendingSubtodo ) { | 1163 | if ( pendingSubtodo ) { |
1158 | itemClicked(0); | 1164 | itemClicked(0); |
1159 | e->accept(); | 1165 | e->accept(); |
1160 | } else | 1166 | } else |
1161 | e->ignore(); | 1167 | e->ignore(); |
1162 | break; | 1168 | break; |
1163 | default: | 1169 | default: |
1164 | e->ignore(); | 1170 | e->ignore(); |
1165 | } | 1171 | } |
1166 | 1172 | ||
1167 | if ( true ) { | 1173 | if ( true ) { |
1168 | if ( e->key() == Qt::Key_I ) { | 1174 | if ( e->key() == Qt::Key_I ) { |
1169 | KOTodoViewItem*cn = (KOTodoViewItem*)mTodoListView->currentItem(); | 1175 | KOTodoViewItem*cn = (KOTodoViewItem*)mTodoListView->currentItem(); |
1170 | if ( cn ) { | 1176 | if ( cn ) { |
1171 | mActiveItem = cn; | 1177 | mActiveItem = cn; |
1172 | KOTodoViewItem* ci = (KOTodoViewItem*)( cn ); | 1178 | KOTodoViewItem* ci = (KOTodoViewItem*)( cn ); |
1173 | if ( ci ){ | 1179 | if ( ci ){ |
1174 | showTodo(); | 1180 | showTodo(); |
1175 | cn = (KOTodoViewItem*)cn->itemBelow(); | 1181 | cn = (KOTodoViewItem*)cn->itemBelow(); |
1176 | if ( cn ) { | 1182 | if ( cn ) { |
1177 | mTodoListView->setCurrentItem ( cn ); | 1183 | mTodoListView->setCurrentItem ( cn ); |
1178 | mTodoListView->ensureItemVisible ( cn ); | 1184 | mTodoListView->ensureItemVisible ( cn ); |
1179 | } | 1185 | } |
1180 | 1186 | ||
1181 | } | 1187 | } |
1182 | } | 1188 | } |
1183 | e->accept(); | 1189 | e->accept(); |
1184 | 1190 | ||
1185 | } | 1191 | } |
1186 | 1192 | ||
1187 | } | 1193 | } |
1188 | 1194 | ||
1189 | } | 1195 | } |
1190 | void KOTodoView::updateTodo( Todo * t, int type ) | 1196 | void KOTodoView::updateTodo( Todo * t, int type ) |
1191 | { | 1197 | { |
1192 | if ( mBlockUpdate) | 1198 | if ( mBlockUpdate) |
1193 | return; | 1199 | return; |
1194 | 1200 | ||
1195 | QMap<Todo *,KOTodoViewItem *>::ConstIterator itemIterator; | 1201 | QMap<Todo *,KOTodoViewItem *>::ConstIterator itemIterator; |
1196 | itemIterator = mTodoMap.find(t); | 1202 | itemIterator = mTodoMap.find(t); |
1197 | if (itemIterator != mTodoMap.end()) { | 1203 | if (itemIterator != mTodoMap.end()) { |
1198 | (*itemIterator)->construct(); | 1204 | (*itemIterator)->construct(); |
1199 | } else { | 1205 | } else { |
1200 | if ( type == KOGlobals::EVENTADDED ) { | 1206 | if ( type == KOGlobals::EVENTADDED ) { |
1201 | insertTodoItem( t ); | 1207 | insertTodoItem( t ); |
1202 | } | 1208 | } |
1203 | } | 1209 | } |
1204 | 1210 | ||
1205 | } | 1211 | } |
1206 | 1212 | ||
1207 | void KOTodoView::todoModified(Todo * t , int p ) | 1213 | void KOTodoView::todoModified(Todo * t , int p ) |
1208 | { | 1214 | { |
1209 | mBlockUpdate = true; | 1215 | mBlockUpdate = true; |
1210 | emit todoModifiedSignal ( t, p ); | 1216 | emit todoModifiedSignal ( t, p ); |
1211 | mBlockUpdate = false; | 1217 | mBlockUpdate = false; |
1212 | } | 1218 | } |