-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,35 +1,43 @@ | |||
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 ************ |
diff --git a/korganizer/kotodoview.cpp b/korganizer/kotodoview.cpp index 22486ba..1fb480d 100644 --- a/korganizer/kotodoview.cpp +++ b/korganizer/kotodoview.cpp | |||
@@ -1019,48 +1019,54 @@ void KOTodoView::setAllOpen() | |||
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 | { |