summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--bin/kdepim/WhatsNew.txt8
-rw-r--r--korganizer/kotodoview.cpp6
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,107 +1,115 @@
1Info about the changes in new versions of KDE-Pim/Pi 1Info 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
6Oooops ... I forgot to test on the Zaurus 5500 ... 6Oooops ... I forgot to test on the Zaurus 5500 ...
7 7
8Fixed many problems of new (english) strings (and german translations) 8Fixed many problems of new (english) strings (and german translations)
9introduced in the latest versions, where the text was not fitting on the 9introduced in the latest versions, where the text was not fitting on the
10240x320 display of the Zaurus 5500. 10240x320 display of the Zaurus 5500.
11 11
12Added a popup menu ( press pen and hold to get popup ) to the agenda view
13with may useful items.
14
15Added items to the todolist popup menu for:
16Display all opened, all closed or all todos flat.
17The "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
14Stable release 2.0.0! 22Stable release 2.0.0!
15 23
16KO/Pi: 24KO/Pi:
17Fixed problem in edit dialog recreation at startup. 25Fixed problem in edit dialog recreation at startup.
18Made "toggle view*" menu items enabled context sensitive. 26Made "toggle view*" menu items enabled context sensitive.
19Changed agenda size menu to items 1-10. 27Changed agenda size menu to items 1-10.
20Made it possible to change agenda size quickly by pressing mouse on timelabels in agenda view and move mouse up/down. 28Made it possible to change agenda size quickly by pressing mouse on timelabels in agenda view and move mouse up/down.
21Usebility enhancements in the KO/Pi menus. 29Usebility enhancements in the KO/Pi menus.
22Birthday import now adds year to summary. 30Birthday import now adds year to summary.
23What's Next view shows age in years for birthday. 31What's Next view shows age in years for birthday.
24 32
25OM/Pi: 33OM/Pi:
26Added three info lines to display subject, from and to of selected mails. 34Added three info lines to display subject, from and to of selected mails.
27 35
28KA/Pi: 36KA/Pi:
29Fixed jump bar behaviour on Zaurus. 37Fixed jump bar behaviour on Zaurus.
30Now KA/Pi search field supports searching for a range of starting characters. 38Now KA/Pi search field supports searching for a range of starting characters.
31E.g. to search for all contact beginning with b to n, type 39E.g. to search for all contact beginning with b to n, type
32b-n 40b-n
33in the search field. 41in the search field.
34 42
35********** VERSION 1.9.20 ************ 43********** VERSION 1.9.20 ************
36 44
37KO/Pi: 45KO/Pi:
38Added for the "dislplay one day" agenda mode 46Added for the "dislplay one day" agenda mode
39info in the caption and in the day lables: 47info in the caption and in the day lables:
40Now it is displayed, if the selected day is from "day before yesterday" 48Now it is displayed, if the selected day is from "day before yesterday"
41to "day after tomorrow". 49to "day after tomorrow".
42Made it possible to delete a Todo, which has sub-todos. 50Made it possible to delete a Todo, which has sub-todos.
43Fixed two small problems in the todo view. 51Fixed two small problems in the todo view.
44Added missing German translation for filter edit and print dialog. 52Added missing German translation for filter edit and print dialog.
45Made search dialog closeable by cancel key. 53Made search dialog closeable by cancel key.
46 54
47Made it possible to select in the date picker the (ligt grey ) 55Made it possible to select in the date picker the (ligt grey )
48dates of the prev./next month with the mouse. 56dates of the prev./next month with the mouse.
49 57
50OM/Pi: 58OM/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.
52Fixed the problem, that the state flag of imap mails was ignored. 60Fixed the problem, that the state flag of imap mails was ignored.
53Now mails with "FLAG_SEEN" on the imap server get no icon in the list view 61Now mails with "FLAG_SEEN" on the imap server get no icon in the list view
54to indecate that they are already seen. 62to indecate that they are already seen.
55Fixed the problem that the body of some mails was not displayed in the 63Fixed the problem that the body of some mails was not displayed in the
56mail viewer when fetching them from the imap server directly to read them. 64mail viewer when fetching them from the imap server directly to read them.
57Made it (configurable) possible to show the "To:" field in the list view. 65Made it (configurable) possible to show the "To:" field in the list view.
58Added to the mail viewer the option "View Source" to make it possible to see the raw mail data. 66Added to the mail viewer the option "View Source" to make it possible to see the raw mail data.
59Added a "Download Mail" button to the mail viewer to quickly download the viewed mail to the 67Added a "Download Mail" button to the mail viewer to quickly download the viewed mail to the
60local storage folder (specified in account settings) of the account of the mail. 68local storage folder (specified in account settings) of the account of the mail.
61Removed some memory leaks in OM/Pi. 69Removed some memory leaks in OM/Pi.
62 70
63 71
64********** VERSION 1.9.19 ************ 72********** VERSION 1.9.19 ************
65 73
66Added a lot of missing translations to KA/Pi, 74Added a lot of missing translations to KA/Pi,
67Added some missing translations to KO/Pi and OM/Pi. 75Added some missing translations to KO/Pi and OM/Pi.
68 76
69Fixed some minor problems in KA/Pi + KO/Pi. 77Fixed some minor problems in KA/Pi + KO/Pi.
70 78
71Fixed a crash when closing PwM/Pi. 79Fixed a crash when closing PwM/Pi.
72Added German translation for PwM/Pi. 80Added German translation for PwM/Pi.
73 81
74Made view change and Month View update faster in KO/Pi. 82Made 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
79FYI: The VERSION 1.9.17 was a testing release only. 87FYI: The VERSION 1.9.17 was a testing release only.
80Please read the changelog of VERSION 1.9.17 as well. 88Please read the changelog of VERSION 1.9.17 as well.
81 89
82Cleaned up the syncing config dialog. 90Cleaned up the syncing config dialog.
83Added sync config options for date range for events. 91Added sync config options for date range for events.
84Added sync config options for filters on incoming data. 92Added sync config options for filters on incoming data.
85Added sync config options for filters on outgoing data. 93Added sync config options for filters on outgoing data.
86Please read the updated SyncHowTo about the new filter settings. 94Please read the updated SyncHowTo about the new filter settings.
87These filter settings make it now possible to sync with shared 95These filter settings make it now possible to sync with shared
88calendars without writing back private or confidential data 96calendars without writing back private or confidential data
89(via the outgoing filters). 97(via the outgoing filters).
90To sync only with particular parts of a shared calendar, 98To sync only with particular parts of a shared calendar,
91the incoming filter settings can be used. 99the incoming filter settings can be used.
92An example can be found in the SyncHowTo. 100An example can be found in the SyncHowTo.
93Same for shared addressbooks. 101Same for shared addressbooks.
94 102
95Added a setting for the global kdepim data storage. 103Added a setting for the global kdepim data storage.
96Usually the data is stored in (yourhomedir/kdepim). 104Usually the data is stored in (yourhomedir/kdepim).
97Now you can set in the Global config dialog TAB, subTAB "Data storage path" 105Now you can set in the Global config dialog TAB, subTAB "Data storage path"
98a directory where all the kdepim data is stored. 106a directory where all the kdepim data is stored.
99That makes it easy to save all kdepim data on a SD card on the Z, for example. 107That makes it easy to save all kdepim data on a SD card on the Z, for example.
100 108
101KO/Pi: 109KO/Pi:
102The timeedit input has a pulldown list for times. 110The timeedit input has a pulldown list for times.
103If opened, this pulldown list should now has the right time highlighted. 111If opened, this pulldown list should now has the right time highlighted.
104Added the possibility to exclude events/todos/journals in a filter. 112Added the possibility to exclude events/todos/journals in a filter.
105You should exclude journals, if you do not want them to sync with a public calendar. 113You should exclude journals, if you do not want them to sync with a public calendar.
106 114
107KA/Pi: 115KA/Pi:
diff --git a/korganizer/kotodoview.cpp b/korganizer/kotodoview.cpp
index 22486ba..1fb480d 100644
--- a/korganizer/kotodoview.cpp
+++ b/korganizer/kotodoview.cpp
@@ -947,192 +947,198 @@ void KOTodoView::itemClicked(QListViewItem *item)
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
959void KOTodoView::setDocumentId( const QString &id ) 959void 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
966void KOTodoView::itemStateChanged( QListViewItem *item ) 966void 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
977void KOTodoView::saveLayout(KConfig *config, const QString &group) const 977void KOTodoView::saveLayout(KConfig *config, const QString &group) const
978{ 978{
979 mTodoListView->saveLayout(config,group); 979 mTodoListView->saveLayout(config,group);
980} 980}
981 981
982void KOTodoView::restoreLayout(KConfig *config, const QString &group) 982void KOTodoView::restoreLayout(KConfig *config, const QString &group)
983{ 983{
984 mTodoListView->restoreLayout(config,group); 984 mTodoListView->restoreLayout(config,group);
985} 985}
986 986
987void KOTodoView::processSelectionChange() 987void 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
1001void KOTodoView::modified(bool b) 1001void KOTodoView::modified(bool b)
1002{ 1002{
1003 emit isModified(b); 1003 emit isModified(b);
1004} 1004}
1005void KOTodoView::setTodoModified( Todo* todo ) 1005void KOTodoView::setTodoModified( Todo* todo )
1006{ 1006{
1007 todoModified( todo, KOGlobals::UNKNOWN_MODIFIED ); 1007 todoModified( todo, KOGlobals::UNKNOWN_MODIFIED );
1008} 1008}
1009void KOTodoView::clearSelection() 1009void KOTodoView::clearSelection()
1010{ 1010{
1011 mTodoListView->selectAll( false ); 1011 mTodoListView->selectAll( false );
1012} 1012}
1013void KOTodoView::setAllOpen() 1013void 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}
1022void KOTodoView::setAllClose() 1022void 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}
1031void KOTodoView::setOpen( QListViewItem* item, bool setOpenI) 1031void 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
1041void KOTodoView::setAllFlat() 1041void 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
1061void KOTodoView::purgeCompleted() 1067void KOTodoView::purgeCompleted()
1062{ 1068{
1063 emit purgeCompletedSignal(); 1069 emit purgeCompletedSignal();
1064} 1070}
1065void KOTodoView::toggleQuickTodo() 1071void 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
1079void KOTodoView::toggleRunning() 1085void 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
1087void KOTodoView::toggleCompleted() 1093void 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
1095void KOTodoView::addQuickTodo() 1101void 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}
1113void KOTodoView::keyPressEvent ( QKeyEvent * e ) 1119void 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;