author | zautrix <zautrix> | 2005-06-03 12:55:27 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-06-03 12:55:27 (UTC) |
commit | f0554322b2f27e1fa60dc79a5d76ef0741bf3423 (patch) (unidiff) | |
tree | fa49feb527b57939d78e5ac786dfcbedd36f26ea | |
parent | dd80f5bb6eee2a924748b7d0acfb4fb892f58b86 (diff) | |
download | kdepimpi-f0554322b2f27e1fa60dc79a5d76ef0741bf3423.zip kdepimpi-f0554322b2f27e1fa60dc79a5d76ef0741bf3423.tar.gz kdepimpi-f0554322b2f27e1fa60dc79a5d76ef0741bf3423.tar.bz2 |
fixes
-rw-r--r-- | bin/kdepim/WhatsNew.txt | 3 | ||||
-rw-r--r-- | bin/kdepim/korganizer/germantranslation.txt | 12 | ||||
-rw-r--r-- | korganizer/koagenda.cpp | 2 | ||||
-rw-r--r-- | korganizer/koagendaview.cpp | 2 | ||||
-rw-r--r-- | korganizer/kolistview.cpp | 2 | ||||
-rw-r--r-- | korganizer/koprefs.cpp | 1 | ||||
-rw-r--r-- | korganizer/koprefs.h | 1 | ||||
-rw-r--r-- | korganizer/koprefsdialog.cpp | 19 |
8 files changed, 30 insertions, 12 deletions
diff --git a/bin/kdepim/WhatsNew.txt b/bin/kdepim/WhatsNew.txt index 05cffbf..3532084 100644 --- a/bin/kdepim/WhatsNew.txt +++ b/bin/kdepim/WhatsNew.txt | |||
@@ -1,32 +1,33 @@ | |||
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.1.5 ************ | 3 | ********** VERSION 2.1.5 ************ |
4 | 4 | ||
5 | This is the new stable version. | 5 | This is the new stable version. |
6 | Bugfix: | 6 | Bugfix: |
7 | Fixed a problem with agenda popup on the desktop in KO/Pi. | 7 | Fixed a problem with agenda popup on the desktop in KO/Pi. |
8 | Fixed a crash when reloading file, e.g. after a passive pi-sync operation. | 8 | Fixed a crash when reloading file, e.g. after a passive pi-sync synchronization. |
9 | Added config option to not display completed todos in agenda view. | ||
9 | 10 | ||
10 | ********** VERSION 2.1.4 ************ | 11 | ********** VERSION 2.1.4 ************ |
11 | 12 | ||
12 | Fixed two more bugs in the KA/Pi CSV import dialog: | 13 | Fixed two more bugs in the KA/Pi CSV import dialog: |
13 | Made it possible to read multi-line fields and import it to the "Note" field. | 14 | Made it possible to read multi-line fields and import it to the "Note" field. |
14 | Fixed a problem in mapping custom fields, whatever a custem field is... | 15 | Fixed a problem in mapping custom fields, whatever a custem field is... |
15 | 16 | ||
16 | ********** VERSION 2.1.3 ************ | 17 | ********** VERSION 2.1.3 ************ |
17 | 18 | ||
18 | Changed the menu structure of the alarm applet: | 19 | Changed the menu structure of the alarm applet: |
19 | Moved "Simulate" to " Play Beeps" submenu and re-added "Todo List". | 20 | Moved "Simulate" to " Play Beeps" submenu and re-added "Todo List". |
20 | 21 | ||
21 | Fixed several problems in the KA/Pi CSV import dialog: | 22 | Fixed several problems in the KA/Pi CSV import dialog: |
22 | Added "Category", made codec configureable and made it possible to map many fields to the "Note" field. | 23 | Added "Category", made codec configureable and made it possible to map many fields to the "Note" field. |
23 | 24 | ||
24 | 25 | ||
25 | ********** VERSION 2.1.2 ************ | 26 | ********** VERSION 2.1.2 ************ |
26 | 27 | ||
27 | Fixed a problem closing the alarm dialog on Zaurus with "OK" button. | 28 | Fixed a problem closing the alarm dialog on Zaurus with "OK" button. |
28 | 29 | ||
29 | Fixed a problem when importing data from Outlook with mutiple categories set. | 30 | Fixed a problem when importing data from Outlook with mutiple categories set. |
30 | 31 | ||
31 | Changed display of days in datenavigator: | 32 | Changed display of days in datenavigator: |
32 | Birthdays are now blue, not dark green. | 33 | Birthdays are now blue, not dark green. |
diff --git a/bin/kdepim/korganizer/germantranslation.txt b/bin/kdepim/korganizer/germantranslation.txt index 2cb0132..41868d9 100644 --- a/bin/kdepim/korganizer/germantranslation.txt +++ b/bin/kdepim/korganizer/germantranslation.txt | |||
@@ -647,49 +647,49 @@ | |||
647 | {"University","Universität"}, | 647 | {"University","Universität"}, |
648 | {"Vacation","Urlaub" }, | 648 | {"Vacation","Urlaub" }, |
649 | {"VIP","VIP" }, | 649 | {"VIP","VIP" }, |
650 | { "Import Sharp Calendar","Importiere Sharp Kalender" }, | 650 | { "Import Sharp Calendar","Importiere Sharp Kalender" }, |
651 | { "This todo has been cancelled!","Dieses Todo wurde gecancelt!" }, | 651 | { "This todo has been cancelled!","Dieses Todo wurde gecancelt!" }, |
652 | { "This event has been cancelled!","Dieser Termin wurde gecancelt!" }, | 652 | { "This event has been cancelled!","Dieser Termin wurde gecancelt!" }, |
653 | { "Cancelled","Gecancelt" }, | 653 | { "Cancelled","Gecancelt" }, |
654 | { "Multiple sync","Mehrfach Sync" }, | 654 | { "Multiple sync","Mehrfach Sync" }, |
655 | { "Local file","Lokale Datei" }, | 655 | { "Local file","Lokale Datei" }, |
656 | { "Last file","Letzte Datei" }, | 656 | { "Last file","Letzte Datei" }, |
657 | { "Keys + Colors...","Tasten + Farben..." }, | 657 | { "Keys + Colors...","Tasten + Farben..." }, |
658 | { "Mini icons in toolbar(nr)","Mini Icons in ToolBar(bn)" }, | 658 | { "Mini icons in toolbar(nr)","Mini Icons in ToolBar(bn)" }, |
659 | { "Quick load/save (w/o Unicode)","Schnelles Laden/Speichern (o Unicode)" }, | 659 | { "Quick load/save (w/o Unicode)","Schnelles Laden/Speichern (o Unicode)" }, |
660 | { "Choose...","Wähle..." }, | 660 | { "Choose...","Wähle..." }, |
661 | { "Use colors for application:","Setze Farben für Programm:" }, | 661 | { "Use colors for application:","Setze Farben für Programm:" }, |
662 | { "Buttons, menus, etc.:","Knöpfe, Menu, etc.:" }, | 662 | { "Buttons, menus, etc.:","Knöpfe, Menu, etc.:" }, |
663 | { "Frames, labels, etc.:","Rahmen, Label, etc.:" }, | 663 | { "Frames, labels, etc.:","Rahmen, Label, etc.:" }, |
664 | { "Show parent To-Do's","Zeige Ober-Todos" }, | 664 | { "Show parent To-Do's","Zeige Ober-Todos" }, |
665 | { "Show location","Zeige Orte" }, | 665 | { "Show location","Zeige Orte" }, |
666 | { "Show events that recur ","Zeige Termine, die sich wiederholen:" }, | 666 | { "Show events that recur ","Zeige Termine, die sich wiederholen:" }, |
667 | { "Show in every cell ","Zeige in jeder Zelle " }, | 667 | { "Show in every cell ","Zeige in jeder Zelle " }, |
668 | { "short month","kurzen Monat" }, | 668 | { "short month","kurzen Monat" }, |
669 | { "icons","Icons" }, | 669 | { "icons","Icons" }, |
670 | { "Show Sat/Sun together","Zeige Sam/Son zusammen" }, | 670 | { "Show Sat/Sun together","Zeige Sam/Son zusammen" }, |
671 | { "Categorie colors are applied to text","Kategorie Farben färben Text" }, | 671 | { "Category colors are applied to text","Kategorie Farben färben Text" }, |
672 | { "Month view uses day colors","Monatsansicht zeigt Tagesfarben" }, | 672 | { "Month view uses day colors","Monatsansicht zeigt Tagesfarben" }, |
673 | { "Day color odd months","Tagesfarbe ungerade Monate" }, | 673 | { "Day color odd months","Tagesfarbe ungerade Monate" }, |
674 | { "Day color even months","Tagesfarbe gerade Monate" }, | 674 | { "Day color even months","Tagesfarbe gerade Monate" }, |
675 | { "Color for Sundays + category \"Holiday\"","Farbe für Sonntag + Kateg.\" Feiertag\"" }, | 675 | { "Color for Sundays + category \"Holiday\"","Farbe für Sonntag + Kateg.\" Feiertag\"" }, |
676 | { "To-do view shows complete as 'xx %'","Zeige Prozent erledigt als 'xx %'" }, | 676 | { "To-do view shows complete as 'xx %'","Zeige Prozent erledigt als 'xx %'" }, |
677 | { "Small To-do view uses smaller font","Kleine To-do Ansicht nutzt kleineren Font" }, | 677 | { "Small To-do view uses smaller font","Kleine To-do Ansicht nutzt kleineren Font" }, |
678 | { "Colors are applied to text","Farben werden auf Text angewendet" }, | 678 | { "Colors are applied to text","Farben werden auf Text angewendet" }, |
679 | { "Use internal alarm notification","Nutze interne Alarm Benachrichtigung" }, | 679 | { "Use internal alarm notification","Nutze interne Alarm Benachrichtigung" }, |
680 | { "Note: KO/Pi must be running to notify you about an alarm. Recommended for use on Zaurus: Disable this option and install KO/Pi alarm applet.\n","Achtung: KO/Pi muß ausgeführt werden damit die Benachrichtigung funktioniert. Empfehlung für Zaurus: Diese Option nicht wählen und KO/Pi Alarm Applet installieren.\n" }, | 680 | { "Note: KO/Pi must be running to notify you about an alarm. Recommended for use on Zaurus: Disable this option and install KO/Pi alarm applet.\n","Achtung: KO/Pi muß ausgeführt werden damit die Benachrichtigung funktioniert. Empfehlung für Zaurus: Diese Option nicht wählen und KO/Pi Alarm Applet installieren.\n" }, |
681 | { "Play beeps count:","Anzahl der Alarmpiepse: " }, | 681 | { "Play beeps count:","Anzahl der Alarmpiepse: " }, |
682 | { "Beeps interval in sec:","Zeitintervall der Alarmpiepse: " }, | 682 | { "Beeps interval in sec:","Zeitintervall der Alarmpiepse: " }, |
683 | { "Default suspend time in min:","Standard Supendierungs Zeit: " }, | 683 | { "Default suspend time in min:","Standard Supendierungs Zeit: " }, |
684 | { "Auto suspend count:","Anzahl der auto Suspendierungen" }, | 684 | { "Auto suspend count:","Anzahl der auto Suspendierungen" }, |
685 | { "Alarm *.wav file for newly created alarm:","Alarm *.wav Datei für neu angelegte Alarme:" }, | 685 | { "Alarm *.wav file for newly created alarm:","Alarm *.wav Datei für neu angelegte Alarme:" }, |
686 | { "New profile","Neues Profil" }, | 686 | { "New profile","Neues Profil" }, |
687 | { "Clone profile","Klone Profil" }, | 687 | { "Clone profile","Klone Profil" }, |
688 | { "Delete profile","Lösche Profil" }, | 688 | { "Delete profile","Lösche Profil" }, |
689 | { "Profile:","Profil:" }, | 689 | { "Profile:","Profil:" }, |
690 | { "Include in multiple sync","Beziehe Profil in mehrfach Sync mit ein" }, | 690 | { "Include in multiple sync","Beziehe Profil in mehrfach Sync mit ein" }, |
691 | { "Force: Take local entry always","Erzwinge: Nimm immer lokalen Eintrag" }, | 691 | { "Force: Take local entry always","Erzwinge: Nimm immer lokalen Eintrag" }, |
692 | { "Force: Take remote entry always","Erzwinge: Nimm immer fernen Eintrag" }, | 692 | { "Force: Take remote entry always","Erzwinge: Nimm immer fernen Eintrag" }, |
693 | { "Show summary after sync","Zeige Zusammenfassung nach dem Synchronisieren" }, | 693 | { "Show summary after sync","Zeige Zusammenfassung nach dem Synchronisieren" }, |
694 | { "Write back file","Schreibe Datei zurück" }, | 694 | { "Write back file","Schreibe Datei zurück" }, |
695 | { "Remote file (w down/upload command)","Entfernte Datei (via down/upload Kommando)" }, | 695 | { "Remote file (w down/upload command)","Entfernte Datei (via down/upload Kommando)" }, |
@@ -1065,49 +1065,49 @@ | |||
1065 | { "Write back (calendar) entries for time period only","Schreibe nur Kalender Einträge für Zeitspanne zurück" }, | 1065 | { "Write back (calendar) entries for time period only","Schreibe nur Kalender Einträge für Zeitspanne zurück" }, |
1066 | { "Time period","Zeitspanne" }, | 1066 | { "Time period","Zeitspanne" }, |
1067 | { "From ","Von " }, | 1067 | { "From ","Von " }, |
1068 | { " weeks in the past to "," Wochen in der Vergangenheit bis zu " }, | 1068 | { " weeks in the past to "," Wochen in der Vergangenheit bis zu " }, |
1069 | { " weeks in the future "," Wochen in der Zukunft " }, | 1069 | { " weeks in the future "," Wochen in der Zukunft " }, |
1070 | { "Profile kind specific settings","Profil Art abhängige Einstellungen" }, | 1070 | { "Profile kind specific settings","Profil Art abhängige Einstellungen" }, |
1071 | { "Local temp file:","Lokale temp Datei:" }, | 1071 | { "Local temp file:","Lokale temp Datei:" }, |
1072 | { "Multiple profiles with same name!\nPlease use unique profile names!","Mehrere Profile mit demselben Namen!\nBitte verschiedene Namen benutzen!" }, | 1072 | { "Multiple profiles with same name!\nPlease use unique profile names!","Mehrere Profile mit demselben Namen!\nBitte verschiedene Namen benutzen!" }, |
1073 | { "Aborted! Nothing synced!","Abgebrochen! Nichts wurde gesynct!" }, | 1073 | { "Aborted! Nothing synced!","Abgebrochen! Nichts wurde gesynct!" }, |
1074 | { "Language","Sprache" }, | 1074 | { "Language","Sprache" }, |
1075 | { "Time Format","Zeit Format" }, | 1075 | { "Time Format","Zeit Format" }, |
1076 | { "Time Zone","Zeit Zone" }, | 1076 | { "Time Zone","Zeit Zone" }, |
1077 | { "%1 groups subscribed","%1 Guppen abboniert" }, | 1077 | { "%1 groups subscribed","%1 Guppen abboniert" }, |
1078 | { "Your current storage dir is:\n%1\nYour mail is stored in:\n(storagedir)/apps/kopiemail/localmail","Aktuelles Speicherverzeichnis ist:\n%1\nIhre Mail wird gespeichert in:\n(speicherverz.)/apps/kopiemail/localmail" }, | 1078 | { "Your current storage dir is:\n%1\nYour mail is stored in:\n(storagedir)/apps/kopiemail/localmail","Aktuelles Speicherverzeichnis ist:\n%1\nIhre Mail wird gespeichert in:\n(speicherverz.)/apps/kopiemail/localmail" }, |
1079 | { "<b>New data storage dir:</b>","<b>Neues Datenspeicherverzeichnis:</b>" }, | 1079 | { "<b>New data storage dir:</b>","<b>Neues Datenspeicherverzeichnis:</b>" }, |
1080 | { "New dirs are created automatically","Neue Verzeichnisse werden aut. erstellt" }, | 1080 | { "New dirs are created automatically","Neue Verzeichnisse werden aut. erstellt" }, |
1081 | { "Save settings","Speichere Einstellungen" }, | 1081 | { "Save settings","Speichere Einstellungen" }, |
1082 | { "Save standard","Speichere Standard" }, | 1082 | { "Save standard","Speichere Standard" }, |
1083 | { "<b>New settings are used\nafter a restart</b>","<b>Neue Einstellungen werden nach\neinem Neustart genutzt</b>" }, | 1083 | { "<b>New settings are used\nafter a restart</b>","<b>Neue Einstellungen werden nach\neinem Neustart genutzt</b>" }, |
1084 | { "Settings are stored in\n%1","Einstellungen werden gespeichert in:\n%1" }, | 1084 | { "Settings are stored in\n%1","Einstellungen werden gespeichert in:\n%1" }, |
1085 | { "Data storage path","Daten Speicherpfad" }, | 1085 | { "Data storage path","Daten Speicherpfad" }, |
1086 | { "Language","Sprache" }, | 1086 | { "Language","Sprache" }, |
1087 | { "Show time in agenda items","Zeige Zeit in Agenda Items" }, | 1087 | { "Show time in agenda items","Zeige Zeit in Agenda Items" }, |
1088 | { "Color for Sundays + category "Holiday"","Farbe für Sonntags + Kategorie "Feiertag"" }, | 1088 | { "Color for Sundays + category "Holiday"","Farbe für Sonntags + Kategorie "Feiertag"" }, |
1089 | { "Show events, that are done","Zeige abgelaufene Termine" }, | 1089 | { "Show events that are done","Zeige abgelaufene Termine" }, |
1090 | { "Hide not running Todos in To-do view","Verstecke nicht laufende Todos" }, | 1090 | { "Hide not running Todos in To-do view","Verstecke nicht laufende Todos" }, |
1091 | { "+01:00 Europe/Oslo(CET)","+01:00 Europe/Oslo(CET)" }, | 1091 | { "+01:00 Europe/Oslo(CET)","+01:00 Europe/Oslo(CET)" }, |
1092 | { "KO/Pi","KO/Pi" }, | 1092 | { "KO/Pi","KO/Pi" }, |
1093 | { "There is nothing to undo!","Es gibt nichts zum\nRückgängigmachen!" }, | 1093 | { "There is nothing to undo!","Es gibt nichts zum\nRückgängigmachen!" }, |
1094 | { "Recreating edit dialog. Please wait...","Recreating edit dialog. Please wait..." }, | 1094 | { "Recreating edit dialog. Please wait...","Recreating edit dialog. Please wait..." }, |
1095 | { "Sound.Al.: ","Sound.Al.: " }, | 1095 | { "Sound.Al.: ","Sound.Al.: " }, |
1096 | { "From: %1 To: %2 %3","Von: %1 Bis: %2 %3" }, | 1096 | { "From: %1 To: %2 %3","Von: %1 Bis: %2 %3" }, |
1097 | { "Restore","Wiederherstellen" }, | 1097 | { "Restore","Wiederherstellen" }, |
1098 | { "\nAre you sure you want\nto restore this?","\nMöchten Sie das wirklicht\nwiederherstellen?" }, | 1098 | { "\nAre you sure you want\nto restore this?","\nMöchten Sie das wirklicht\nwiederherstellen?" }, |
1099 | { "% completed","% erledigt" }, | 1099 | { "% completed","% erledigt" }, |
1100 | { "%d item(s) found.","%d Item(s) gefunden." }, | 1100 | { "%d item(s) found.","%d Item(s) gefunden." }, |
1101 | { "Set complete","Setze auf erledigt" }, | 1101 | { "Set complete","Setze auf erledigt" }, |
1102 | { "(cancelled)","(gecancelt)" }, | 1102 | { "(cancelled)","(gecancelt)" }, |
1103 | { "Click on the week number to\nshow week in agenda view","Klicke auf die Wochennummer\num die Woche in der Agenda anzuzeigen" }, | 1103 | { "Click on the week number to\nshow week in agenda view","Klicke auf die Wochennummer\num die Woche in der Agenda anzuzeigen" }, |
1104 | { " Local time "," Locale Zeit " }, | 1104 | { " Local time "," Locale Zeit " }, |
1105 | { "Form2","Form2" }, | 1105 | { "Form2","Form2" }, |
1106 | { "Filter enabled","Filter angeschaltet" }, | 1106 | { "Filter enabled","Filter angeschaltet" }, |
1107 | { "Edit Filters","Ändere Filter" }, | 1107 | { "Edit Filters","Ändere Filter" }, |
1108 | { "Print What's Next View...","Drucke What's Next Ansicht..." }, | 1108 | { "Print What's Next View...","Drucke What's Next Ansicht..." }, |
1109 | { "Agenda","Agenda" }, | 1109 | { "Agenda","Agenda" }, |
1110 | { " ("," (" }, | 1110 | { " ("," (" }, |
1111 | { "<p><b>Due on:</b> %1</p>","<p><b>Fällig am:</b> %1</p>" }, | 1111 | { "<p><b>Due on:</b> %1</p>","<p><b>Fällig am:</b> %1</p>" }, |
1112 | { "Print","Print" }, | 1112 | { "Print","Print" }, |
1113 | { "&Setup Printer...","Drucker &Setup..." }, | 1113 | { "&Setup Printer...","Drucker &Setup..." }, |
@@ -1179,49 +1179,49 @@ | |||
1179 | { "Yesterday","Gestern" }, | 1179 | { "Yesterday","Gestern" }, |
1180 | { "Day after tomorrow","Übermorgen" }, | 1180 | { "Day after tomorrow","Übermorgen" }, |
1181 | { "Tomorrow","Morgen" }, | 1181 | { "Tomorrow","Morgen" }, |
1182 | { "Day before yesterday","Vorgestern" }, | 1182 | { "Day before yesterday","Vorgestern" }, |
1183 | { "Size %1","Größe %1" }, | 1183 | { "Size %1","Größe %1" }, |
1184 | { "New Agendasize: %1","Neue Agendagröße: %1" }, | 1184 | { "New Agendasize: %1","Neue Agendagröße: %1" }, |
1185 | { " (%1 y.)"," (%1 J.)" }, | 1185 | { " (%1 y.)"," (%1 J.)" }, |
1186 | { "Allday:","Ganztägig:" }, | 1186 | { "Allday:","Ganztägig:" }, |
1187 | { "compl.todos","erled.Todos" }, | 1187 | { "compl.todos","erled.Todos" }, |
1188 | { "Day view","Tagesansicht" }, | 1188 | { "Day view","Tagesansicht" }, |
1189 | { "Next days","Nächste Tage" }, | 1189 | { "Next days","Nächste Tage" }, |
1190 | { "Next week","Nächste Woche" }, | 1190 | { "Next week","Nächste Woche" }, |
1191 | { "Next two weeks","Nächste zwei Wochen" }, | 1191 | { "Next two weeks","Nächste zwei Wochen" }, |
1192 | { "This month","Dieser Monat" }, | 1192 | { "This month","Dieser Monat" }, |
1193 | { "Journal view","Journal" }, | 1193 | { "Journal view","Journal" }, |
1194 | { "Display all opened","Zeige alle geöffnet" }, | 1194 | { "Display all opened","Zeige alle geöffnet" }, |
1195 | { "Display all closed","Zeige alle geschlossen" }, | 1195 | { "Display all closed","Zeige alle geschlossen" }, |
1196 | { "Display all flat","Zeige alle flach" }, | 1196 | { "Display all flat","Zeige alle flach" }, |
1197 | { "<p><i>Completed on %1</i></p>","<p><i>Erledigt am %1</i></p>" }, | 1197 | { "<p><i>Completed on %1</i></p>","<p><i>Erledigt am %1</i></p>" }, |
1198 | { "Default todo done color:","Standard Todo erledigt Farbe" }, | 1198 | { "Default todo done color:","Standard Todo erledigt Farbe" }, |
1199 | { "Select week %1-%2","Wähle Woche %1-%2" }, | 1199 | { "Select week %1-%2","Wähle Woche %1-%2" }, |
1200 | { "Select Week","Wähle Woche" }, | 1200 | { "Select Week","Wähle Woche" }, |
1201 | { "Set alarm for selected...","Setze Alarm für Selekt..." }, | 1201 | { "Set alarm for selected...","Setze Alarm für Selekt..." }, |
1202 | { "Set Alarm!","Setze Alarm!" }, | 1202 | { "Set Alarm!","Setze Alarm!" }, |
1203 | { "Canged alarm for %1 items","Alarm für %1 Items geändert" }, | 1203 | { "Changed alarm for %1 items","Alarm für %1 Items geändert" }, |
1204 | { " and "," und " }, | 1204 | { " and "," und " }, |
1205 | { "<IMG src="%1"> only )","nur <IMG src="%1"> )" }, | 1205 | { "<IMG src="%1"> only )","nur <IMG src="%1"> )" }, |
1206 | { "Mail to selected","Mail an Ausgewählte" }, | 1206 | { "Mail to selected","Mail an Ausgewählte" }, |
1207 | { "Mail to all","Mail an Alle" }, | 1207 | { "Mail to all","Mail an Alle" }, |
1208 | { "Week view mode uses bigger font","Wochenansicht Modus nutzt größeren Font" }, | 1208 | { "Week view mode uses bigger font","Wochenansicht Modus nutzt größeren Font" }, |
1209 | { "Set reminder ON with offset to:","Alarm AN mit Offset auf:" }, | 1209 | { "Set reminder ON with offset to:","Alarm AN mit Offset auf:" }, |
1210 | { " on"," am" }, | 1210 | { " on"," am" }, |
1211 | { " completed on "," erledigt am " }, | 1211 | { " completed on "," erledigt am " }, |
1212 | { "Save as Event template","Speichere als Vorlage" }, | 1212 | { "Save as Event template","Speichere als Vorlage" }, |
1213 | { "Load Event template","Lade Termin Vorlage" }, | 1213 | { "Load Event template","Lade Termin Vorlage" }, |
1214 | { "Save as Journal template","Speichere als Journal Vorlage" }, | 1214 | { "Save as Journal template","Speichere als Journal Vorlage" }, |
1215 | { "Insert Journal template","Füge Journal Vorlage ein" }, | 1215 | { "Insert Journal template","Füge Journal Vorlage ein" }, |
1216 | { "Sub todos:<br>","Unter Todos:<br>" }, | 1216 | { "Sub todos:<br>","Unter Todos:<br>" }, |
1217 | { "Parent todo:<br>","Über Todo:<br>" }, | 1217 | { "Parent todo:<br>","Über Todo:<br>" }, |
1218 | { "Set current as color category","Setze Gewählte als Farbkategorie" }, | 1218 | { "Set current as color category","Setze Gewählte als Farbkategorie" }, |
1219 | { " completed"," erledigt" }, | 1219 | { " completed"," erledigt" }, |
1220 | { "(c)2004 Lutz Rogowski (rogowski@kde.org)\nKO/Pi is based on KOrganizer\n(c)2002,2003 Cornelius Schumacher\n(schumacher@kde.org) and the KDE team.\nKOrganizer/Pi is licensed under the GPL.\nKO/Pi can be compiled for\nLinux, Zaurus-PDA and Windows\nwww.pi-sync.info --- www.korganizer.org\nSpecial thanks to Michael and Ben\nfor intensive testing!","(c)2004 Lutz Rogowski (rogowski@kde.org)\nKO/Pi basiert auf KOrganizer\n(c)2002,2003 Cornelius Schumacher\n(schumacher@kde.org) und das KDE Team.\nKOrganizer/Pi ist lizensiert unter der GPL.\nKO/Pi kann kompiliert werden für\nLinux, Zaurus-PDA und Windows\nwww.pi-sync.info --- www.korganizer.org\nBesonderen Dank an Michael und Ben\nfür intensives Testen!" }, | 1220 | { "(c)2004 Lutz Rogowski (rogowski@kde.org)\nKO/Pi is based on KOrganizer\n(c)2002,2003 Cornelius Schumacher\n(schumacher@kde.org) and the KDE team.\nKOrganizer/Pi is licensed under the GPL.\nKO/Pi can be compiled for\nLinux, Zaurus-PDA and Windows\nwww.pi-sync.info --- www.korganizer.org\nSpecial thanks to Michael and Ben\nfor intensive testing!","(c)2004 Lutz Rogowski (rogowski@kde.org)\nKO/Pi basiert auf KOrganizer\n(c)2002,2003 Cornelius Schumacher\n(schumacher@kde.org) und das KDE Team.\nKOrganizer/Pi ist lizensiert unter der GPL.\nKO/Pi kann kompiliert werden für\nLinux, Zaurus-PDA und Windows\nwww.pi-sync.info --- www.korganizer.org\nBesonderen Dank an Michael und Ben\nfür intensives Testen!" }, |
1221 | { "Syncing aborted. Nothing synced.","Syncing abgebrochen.Nichts wurde gesynct." }, | 1221 | { "Syncing aborted. Nothing synced.","Syncing abgebrochen.Nichts wurde gesynct." }, |
1222 | { "Connected! Sending request for remote file ...","Verbunden! Sende Daten Anfrage..." }, | 1222 | { "Connected! Sending request for remote file ...","Verbunden! Sende Daten Anfrage..." }, |
1223 | { "Trying to connect to remote...","Versuche mit Gegenstelle zu verbinden..." }, | 1223 | { "Trying to connect to remote...","Versuche mit Gegenstelle zu verbinden..." }, |
1224 | { "Connection to remote\nhost timed out!\nDid you forgot to enable\nsyncing on remote host?","Verbindungsversuch wegen\nZeitüberschreitung gescheitert!\nWurde vergessen Pi-Sync auf\nder Gegenstelle anzuschalten?" }, | 1224 | { "Connection to remote\nhost timed out!\nDid you forgot to enable\nsyncing on remote host?","Verbindungsversuch wegen\nZeitüberschreitung gescheitert!\nWurde vergessen Pi-Sync auf\nder Gegenstelle anzuschalten?" }, |
1225 | { "ERROR: Receiving remote file failed.","FEHLER: Empfang der entfernten Daten fehlgeschlagen." }, | 1225 | { "ERROR: Receiving remote file failed.","FEHLER: Empfang der entfernten Daten fehlgeschlagen." }, |
1226 | { "Error","Fehler" }, | 1226 | { "Error","Fehler" }, |
1227 | { ""You entered an invalid date!\n Date changed to current date.","Ungültiges Datum eingegeben.\nSetze heutiges Datum." }, | 1227 | { ""You entered an invalid date!\n Date changed to current date.","Ungültiges Datum eingegeben.\nSetze heutiges Datum." }, |
@@ -1348,28 +1348,34 @@ | |||
1348 | { "Click on new parent item","Klicke auf neues Übertodo" }, | 1348 | { "Click on new parent item","Klicke auf neues Übertodo" }, |
1349 | { "Reparenting aborted!","Übertodo setzen abgebrochen" }, | 1349 | { "Reparenting aborted!","Übertodo setzen abgebrochen" }, |
1350 | { "Cannot move Todo to itself\nor a child of itself","Kann nicht Todo auf\nsich selbst oder\nein Untertodo verschieben" }, | 1350 | { "Cannot move Todo to itself\nor a child of itself","Kann nicht Todo auf\nsich selbst oder\nein Untertodo verschieben" }, |
1351 | { "Recursive reparenting not possible!","Rekursives Verschieben nicht möglich" }, | 1351 | { "Recursive reparenting not possible!","Rekursives Verschieben nicht möglich" }, |
1352 | { "Delete all completed todos?\n(Completed recurring todos\nwill not be deleted!)","Entferne alle erledigten Todos?\n(Erledigte wiederholende Todos\nwerden nicht gelöscht!)" }, | 1352 | { "Delete all completed todos?\n(Completed recurring todos\nwill not be deleted!)","Entferne alle erledigten Todos?\n(Erledigte wiederholende Todos\nwerden nicht gelöscht!)" }, |
1353 | { "Alternating background of list views","Abwechselnder Hintergrund für Listen" }, | 1353 | { "Alternating background of list views","Abwechselnder Hintergrund für Listen" }, |
1354 | { "times","Zeiten" }, | 1354 | { "times","Zeiten" }, |
1355 | { "The todo\n%1\nhas subtodos!\nDo you want to set\nthe categories for\nall subtodos as well?","Das Todo\n%1\nhat Untertodos!\nMöchten Sie die Kategorien\nauch für alle Untertodos setzen?" }, | 1355 | { "The todo\n%1\nhas subtodos!\nDo you want to set\nthe categories for\nall subtodos as well?","Das Todo\n%1\nhat Untertodos!\nMöchten Sie die Kategorien\nauch für alle Untertodos setzen?" }, |
1356 | { "Backup enabled","Backup angeschaltet" }, | 1356 | { "Backup enabled","Backup angeschaltet" }, |
1357 | { "Use standard backup dir","Standard Backupverzeichnis" }, | 1357 | { "Use standard backup dir","Standard Backupverzeichnis" }, |
1358 | { "Number of Backups:","Anzahl der Backups" }, | 1358 | { "Number of Backups:","Anzahl der Backups" }, |
1359 | { "Make backup every ","Mache ein Backup alle " }, | 1359 | { "Make backup every ","Mache ein Backup alle " }, |
1360 | { " days"," Tage" }, | 1360 | { " days"," Tage" }, |
1361 | { "Creating backup ... please wait ...","Erzeuge Backup ... bitte warten ..." }, | 1361 | { "Creating backup ... please wait ...","Erzeuge Backup ... bitte warten ..." }, |
1362 | { "Backup Failed!","Backup Problem!" }, | 1362 | { "Backup Failed!","Backup Problem!" }, |
1363 | { "Try again now","Versuche jetzt nochmal" }, | 1363 | { "Try again now","Versuche jetzt nochmal" }, |
1364 | { "Try again later","Versuche später nochmal" }, | 1364 | { "Try again later","Versuche später nochmal" }, |
1365 | { "Try again tomorrow","Versuche morgen nochmal" }, | 1365 | { "Try again tomorrow","Versuche morgen nochmal" }, |
1366 | { "Disable backup","Schalte Backup ab" }, | 1366 | { "Disable backup","Schalte Backup ab" }, |
1367 | { "<b>Backup directory does not exist: </b>","<b>Backup Verzeichnis existiert nicht: </b>" }, | 1367 | { "<b>Backup directory does not exist: </b>","<b>Backup Verzeichnis existiert nicht: </b>" }, |
1368 | { "<b>The backup copy command failed!</b>","<b>Das Backup Kopierkommando is fehlgeschlagen!</b>" }, | 1368 | { "<b>The backup copy command failed!</b>","<b>Das Backup Kopierkommando is fehlgeschlagen!</b>" }, |
1369 | { "Choose action","Wähle Aktion" }, | 1369 | { "Choose action","Wähle Aktion" }, |
1370 | { "Comment for todo:","Kommentar zum Todo:" }, | 1370 | { "Comment for todo:","Kommentar zum Todo:" }, |
1371 | { "Stop+note","Stop+Notiz" }, | 1371 | { "Stop+note","Stop+Notiz" }, |
1372 | { "Agenda view shows completed todos","Agenda Ansicht zeigt erledigte Todos" }, | ||
1373 | { "","" }, | ||
1374 | { "","" }, | ||
1375 | { "","" }, | ||
1376 | { "","" }, | ||
1377 | { "","" }, | ||
1372 | { "","" }, | 1378 | { "","" }, |
1373 | { "","" }, | 1379 | { "","" }, |
1374 | { "","" }, | 1380 | { "","" }, |
1375 | { "","" }, \ No newline at end of file | 1381 | { "","" }, \ No newline at end of file |
diff --git a/korganizer/koagenda.cpp b/korganizer/koagenda.cpp index cdeeac5..2a2acb1 100644 --- a/korganizer/koagenda.cpp +++ b/korganizer/koagenda.cpp | |||
@@ -1563,48 +1563,50 @@ void KOAgenda::updateTodo( Todo * todo, int days, bool remove) | |||
1563 | QPtrList<KOAgendaItem> oldconflictItems = item->conflictItems(); | 1563 | QPtrList<KOAgendaItem> oldconflictItems = item->conflictItems(); |
1564 | KOAgendaItem *itemit; | 1564 | KOAgendaItem *itemit; |
1565 | //globalFlagBlockAgendaItemPaint = 1; | 1565 | //globalFlagBlockAgendaItemPaint = 1; |
1566 | for ( itemit=oldconflictItems.first(); itemit != 0; | 1566 | for ( itemit=oldconflictItems.first(); itemit != 0; |
1567 | itemit=oldconflictItems.next() ) { | 1567 | itemit=oldconflictItems.next() ) { |
1568 | if ( itemit != item ) | 1568 | if ( itemit != item ) |
1569 | placeSubCells(itemit); | 1569 | placeSubCells(itemit); |
1570 | } | 1570 | } |
1571 | qApp->processEvents(); | 1571 | qApp->processEvents(); |
1572 | //globalFlagBlockAgendaItemPaint = 0; | 1572 | //globalFlagBlockAgendaItemPaint = 0; |
1573 | for ( itemit=oldconflictItems.first(); itemit != 0; | 1573 | for ( itemit=oldconflictItems.first(); itemit != 0; |
1574 | itemit=oldconflictItems.next() ) { | 1574 | itemit=oldconflictItems.next() ) { |
1575 | globalFlagBlockAgendaItemUpdate = 0; | 1575 | globalFlagBlockAgendaItemUpdate = 0; |
1576 | if ( itemit != item ) | 1576 | if ( itemit != item ) |
1577 | itemit->repaintMe(); | 1577 | itemit->repaintMe(); |
1578 | globalFlagBlockAgendaItemUpdate = 1; | 1578 | globalFlagBlockAgendaItemUpdate = 1; |
1579 | itemit->repaint(); | 1579 | itemit->repaint(); |
1580 | } | 1580 | } |
1581 | blockSignals( false ); | 1581 | blockSignals( false ); |
1582 | } | 1582 | } |
1583 | if ( remove ) { | 1583 | if ( remove ) { |
1584 | //qDebug("remove****************************************** "); | 1584 | //qDebug("remove****************************************** "); |
1585 | return; | 1585 | return; |
1586 | } | 1586 | } |
1587 | if ( todo->hasCompletedDate() && !KOPrefs::instance()->mShowCompletedTodoInAgenda ) | ||
1588 | return; | ||
1587 | //qDebug("updateTodo+++++++++++++++++++++++++++++++++++++ "); | 1589 | //qDebug("updateTodo+++++++++++++++++++++++++++++++++++++ "); |
1588 | bool overdue = (!todo->isCompleted()) && (todo->dtDue() < QDate::currentDate())&& ( KOPrefs::instance()->mShowTodoInAgenda ); | 1590 | bool overdue = (!todo->isCompleted()) && (todo->dtDue() < QDate::currentDate())&& ( KOPrefs::instance()->mShowTodoInAgenda ); |
1589 | QDate currentDate; | 1591 | QDate currentDate; |
1590 | QDateTime dt; | 1592 | QDateTime dt; |
1591 | if ( todo->hasCompletedDate() ) | 1593 | if ( todo->hasCompletedDate() ) |
1592 | dt = todo->completed(); | 1594 | dt = todo->completed(); |
1593 | else | 1595 | else |
1594 | dt = todo->dtDue(); | 1596 | dt = todo->dtDue(); |
1595 | if ( overdue ) { | 1597 | if ( overdue ) { |
1596 | currentDate = QDate::currentDate(); | 1598 | currentDate = QDate::currentDate(); |
1597 | days += todo->dtDue().date().daysTo( currentDate ); | 1599 | days += todo->dtDue().date().daysTo( currentDate ); |
1598 | } | 1600 | } |
1599 | else | 1601 | else |
1600 | currentDate = dt.date(); | 1602 | currentDate = dt.date(); |
1601 | 1603 | ||
1602 | if (( todo->doesFloat() || overdue) && !todo->hasCompletedDate() ) { | 1604 | if (( todo->doesFloat() || overdue) && !todo->hasCompletedDate() ) { |
1603 | if ( ! mAllDayMode ) return; | 1605 | if ( ! mAllDayMode ) return; |
1604 | // aldayagenda | 1606 | // aldayagenda |
1605 | globalFlagBlockAgendaItemPaint = 1; | 1607 | globalFlagBlockAgendaItemPaint = 1; |
1606 | item = insertAllDayItem(todo, currentDate,days, days); | 1608 | item = insertAllDayItem(todo, currentDate,days, days); |
1607 | item->show(); | 1609 | item->show(); |
1608 | 1610 | ||
1609 | } | 1611 | } |
1610 | else { | 1612 | else { |
diff --git a/korganizer/koagendaview.cpp b/korganizer/koagendaview.cpp index b5a4199..fd9bf29 100644 --- a/korganizer/koagendaview.cpp +++ b/korganizer/koagendaview.cpp | |||
@@ -1215,49 +1215,49 @@ void KOAgendaView::fillAgenda() | |||
1215 | mMaxY[curCol] = mAgenda->timeToY(QTime(23,59)); | 1215 | mMaxY[curCol] = mAgenda->timeToY(QTime(23,59)); |
1216 | if (startY < mMinY[curCol]) mMinY[curCol] = startY; | 1216 | if (startY < mMinY[curCol]) mMinY[curCol] = startY; |
1217 | } else if (endX == curCol) { | 1217 | } else if (endX == curCol) { |
1218 | mMinY[curCol] = mAgenda->timeToY(QTime(0,0)); | 1218 | mMinY[curCol] = mAgenda->timeToY(QTime(0,0)); |
1219 | if (endY > mMaxY[curCol]) mMaxY[curCol] = endY; | 1219 | if (endY > mMaxY[curCol]) mMaxY[curCol] = endY; |
1220 | } else { | 1220 | } else { |
1221 | mMinY[curCol] = mAgenda->timeToY(QTime(0,0)); | 1221 | mMinY[curCol] = mAgenda->timeToY(QTime(0,0)); |
1222 | mMaxY[curCol] = mAgenda->timeToY(QTime(23,59)); | 1222 | mMaxY[curCol] = mAgenda->timeToY(QTime(23,59)); |
1223 | } | 1223 | } |
1224 | } else { | 1224 | } else { |
1225 | int startY = mAgenda->timeToY(event->dtStart().time()); | 1225 | int startY = mAgenda->timeToY(event->dtStart().time()); |
1226 | int endY = mAgenda->timeToY(event->dtEnd().time()) - 1; | 1226 | int endY = mAgenda->timeToY(event->dtEnd().time()) - 1; |
1227 | if (endY < startY) endY = startY; | 1227 | if (endY < startY) endY = startY; |
1228 | mAgenda->insertItem(event,currentDate,curCol,startY,endY); | 1228 | mAgenda->insertItem(event,currentDate,curCol,startY,endY); |
1229 | if (startY < mMinY[curCol]) mMinY[curCol] = startY; | 1229 | if (startY < mMinY[curCol]) mMinY[curCol] = startY; |
1230 | if (endY > mMaxY[curCol]) mMaxY[curCol] = endY; | 1230 | if (endY > mMaxY[curCol]) mMaxY[curCol] = endY; |
1231 | } | 1231 | } |
1232 | } | 1232 | } |
1233 | // ---------- [display Todos -------------- | 1233 | // ---------- [display Todos -------------- |
1234 | unsigned int numTodo; | 1234 | unsigned int numTodo; |
1235 | for (numTodo = 0; numTodo < todos.count(); ++numTodo) { | 1235 | for (numTodo = 0; numTodo < todos.count(); ++numTodo) { |
1236 | Todo *todo = todos.at(numTodo); | 1236 | Todo *todo = todos.at(numTodo); |
1237 | 1237 | ||
1238 | if ( ! todo->hasDueDate() && !todo->hasCompletedDate()) continue; // todo shall not be displayed if it has no date | 1238 | if ( ! todo->hasDueDate() && !todo->hasCompletedDate()) continue; // todo shall not be displayed if it has no date |
1239 | 1239 | if ( todo->hasCompletedDate() && !KOPrefs::instance()->mShowCompletedTodoInAgenda ) continue; | |
1240 | // ToDo items shall be displayed for the day they are due, but only showed today if they are already overdue. | 1240 | // ToDo items shall be displayed for the day they are due, but only showed today if they are already overdue. |
1241 | // Already completed items can be displayed on their original due date | 1241 | // Already completed items can be displayed on their original due date |
1242 | //if not KOPrefs::instance()->mShowTodoInAgenda, show overdue in agenda | 1242 | //if not KOPrefs::instance()->mShowTodoInAgenda, show overdue in agenda |
1243 | bool overdue = (!todo->isCompleted()) && (todo->dtDue() < today) && KOPrefs::instance()->mShowTodoInAgenda; | 1243 | bool overdue = (!todo->isCompleted()) && (todo->dtDue() < today) && KOPrefs::instance()->mShowTodoInAgenda; |
1244 | bool fillIn = false; | 1244 | bool fillIn = false; |
1245 | if ( todo->hasCompletedDate() && todo->completed().date() == currentDate ) | 1245 | if ( todo->hasCompletedDate() && todo->completed().date() == currentDate ) |
1246 | fillIn = true; | 1246 | fillIn = true; |
1247 | if ( ! fillIn && !todo->hasCompletedDate() ) | 1247 | if ( ! fillIn && !todo->hasCompletedDate() ) |
1248 | fillIn = ((todo->dtDue().date() == currentDate) && !overdue) || ((currentDate == today) && overdue); | 1248 | fillIn = ((todo->dtDue().date() == currentDate) && !overdue) || ((currentDate == today) && overdue); |
1249 | if ( fillIn ) { | 1249 | if ( fillIn ) { |
1250 | if ( (todo->doesFloat() || overdue ) && !todo->hasCompletedDate() ) { // Todo has no due-time set or is already overdue | 1250 | if ( (todo->doesFloat() || overdue ) && !todo->hasCompletedDate() ) { // Todo has no due-time set or is already overdue |
1251 | if ( KOPrefs::instance()->mShowTodoInAgenda ) | 1251 | if ( KOPrefs::instance()->mShowTodoInAgenda ) |
1252 | mAllDayAgenda->insertAllDayItem(todo, currentDate, curCol, curCol); | 1252 | mAllDayAgenda->insertAllDayItem(todo, currentDate, curCol, curCol); |
1253 | } | 1253 | } |
1254 | else { | 1254 | else { |
1255 | QDateTime dt; | 1255 | QDateTime dt; |
1256 | if ( todo->hasCompletedDate() ) | 1256 | if ( todo->hasCompletedDate() ) |
1257 | dt = todo->completed(); | 1257 | dt = todo->completed(); |
1258 | else | 1258 | else |
1259 | dt = todo->dtDue();; | 1259 | dt = todo->dtDue();; |
1260 | 1260 | ||
1261 | 1261 | ||
1262 | int endY = mAgenda->timeToY(dt.time()) - 1; | 1262 | int endY = mAgenda->timeToY(dt.time()) - 1; |
1263 | int hi = (18/KOPrefs::instance()->mHourSize); | 1263 | int hi = (18/KOPrefs::instance()->mHourSize); |
diff --git a/korganizer/kolistview.cpp b/korganizer/kolistview.cpp index 02247c8..5f32e79 100644 --- a/korganizer/kolistview.cpp +++ b/korganizer/kolistview.cpp | |||
@@ -414,49 +414,49 @@ void KOListView::setAlarm() | |||
414 | alarm->setStartOffset( j ); | 414 | alarm->setStartOffset( j ); |
415 | 415 | ||
416 | if (!kap.mAlarmProgram.isEmpty() && kap.mAlarmProgramButton->isOn()) { | 416 | if (!kap.mAlarmProgram.isEmpty() && kap.mAlarmProgramButton->isOn()) { |
417 | alarm->setProcedureAlarm(kap.mAlarmProgram); | 417 | alarm->setProcedureAlarm(kap.mAlarmProgram); |
418 | } | 418 | } |
419 | else if (!kap.mAlarmSound.isEmpty() && kap.mAlarmSoundButton->isOn()) | 419 | else if (!kap.mAlarmSound.isEmpty() && kap.mAlarmSoundButton->isOn()) |
420 | alarm->setAudioAlarm(kap.mAlarmSound); | 420 | alarm->setAudioAlarm(kap.mAlarmSound); |
421 | else | 421 | else |
422 | alarm->setType(Alarm::Invalid); | 422 | alarm->setType(Alarm::Invalid); |
423 | //alarm->setAudioAlarm("default"); | 423 | //alarm->setAudioAlarm("default"); |
424 | // TODO: Deal with multiple alarms | 424 | // TODO: Deal with multiple alarms |
425 | break; // For now, stop after the first alarm | 425 | break; // For now, stop after the first alarm |
426 | } | 426 | } |
427 | } else { | 427 | } else { |
428 | Alarm* alarm = inc->alarms().first(); | 428 | Alarm* alarm = inc->alarms().first(); |
429 | if ( alarm ) { | 429 | if ( alarm ) { |
430 | alarm->setEnabled(false); | 430 | alarm->setEnabled(false); |
431 | alarm->setType(Alarm::Invalid); | 431 | alarm->setType(Alarm::Invalid); |
432 | } | 432 | } |
433 | } | 433 | } |
434 | ListItemVisitor v(item, mStartDate ); | 434 | ListItemVisitor v(item, mStartDate ); |
435 | inc->accept(v); | 435 | inc->accept(v); |
436 | item = sel.next(); | 436 | item = sel.next(); |
437 | } | 437 | } |
438 | topLevelWidget()->setCaption( i18n("Canged alarm for %1 items").arg( count ) ); | 438 | topLevelWidget()->setCaption( i18n("Changed alarm for %1 items").arg( count ) ); |
439 | qDebug("KO: Set alarm for %d items", count); | 439 | qDebug("KO: Set alarm for %d items", count); |
440 | calendar()->reInitAlarmSettings(); | 440 | calendar()->reInitAlarmSettings(); |
441 | QTimer::singleShot( 1, this, SLOT ( resetFocus() ) ); | 441 | QTimer::singleShot( 1, this, SLOT ( resetFocus() ) ); |
442 | } | 442 | } |
443 | void KOListView::setCategories( bool removeOld ) | 443 | void KOListView::setCategories( bool removeOld ) |
444 | { | 444 | { |
445 | 445 | ||
446 | KPIM::CategorySelectDialog* csd = new KPIM::CategorySelectDialog( KOPrefs::instance(), 0 ); | 446 | KPIM::CategorySelectDialog* csd = new KPIM::CategorySelectDialog( KOPrefs::instance(), 0 ); |
447 | csd->setColorEnabled(); | 447 | csd->setColorEnabled(); |
448 | if (! csd->exec()) { | 448 | if (! csd->exec()) { |
449 | delete csd; | 449 | delete csd; |
450 | return; | 450 | return; |
451 | } | 451 | } |
452 | QStringList catList = csd->selectedCategories(); | 452 | QStringList catList = csd->selectedCategories(); |
453 | delete csd; | 453 | delete csd; |
454 | // if ( catList.count() == 0 ) | 454 | // if ( catList.count() == 0 ) |
455 | // return; | 455 | // return; |
456 | //catList.sort(); | 456 | //catList.sort(); |
457 | QString categoriesStr = catList.join(","); | 457 | QString categoriesStr = catList.join(","); |
458 | int i; | 458 | int i; |
459 | QStringList itemList; | 459 | QStringList itemList; |
460 | QPtrList<KOListViewItem> sel ; | 460 | QPtrList<KOListViewItem> sel ; |
461 | QListViewItem *qitem = mListView->firstChild (); | 461 | QListViewItem *qitem = mListView->firstChild (); |
462 | while ( qitem ) { | 462 | while ( qitem ) { |
diff --git a/korganizer/koprefs.cpp b/korganizer/koprefs.cpp index 34044ab..8f951ee 100644 --- a/korganizer/koprefs.cpp +++ b/korganizer/koprefs.cpp | |||
@@ -99,48 +99,49 @@ KOPrefs::KOPrefs() : | |||
99 | addItemBool("ShowIconToggleFull",&mShowIconToggleFull,addIcons); | 99 | addItemBool("ShowIconToggleFull",&mShowIconToggleFull,addIcons); |
100 | 100 | ||
101 | addItemInt("LastLoadedLanguage",&mOldLanguage,0); | 101 | addItemInt("LastLoadedLanguage",&mOldLanguage,0); |
102 | 102 | ||
103 | addItemBool("AskForQuit",&mAskForQuit,false); | 103 | addItemBool("AskForQuit",&mAskForQuit,false); |
104 | 104 | ||
105 | #ifndef DESKTOP_VERSION | 105 | #ifndef DESKTOP_VERSION |
106 | addItemBool("ShowFullMenu",&mShowFullMenu,false); | 106 | addItemBool("ShowFullMenu",&mShowFullMenu,false); |
107 | #else | 107 | #else |
108 | addItemBool("ShowFullMenu",&mShowFullMenu,true); | 108 | addItemBool("ShowFullMenu",&mShowFullMenu,true); |
109 | #endif | 109 | #endif |
110 | addItemBool("ToolBarHor",&mToolBarHor, true ); | 110 | addItemBool("ToolBarHor",&mToolBarHor, true ); |
111 | addItemBool("ToolBarUp",&mToolBarUp, false ); | 111 | addItemBool("ToolBarUp",&mToolBarUp, false ); |
112 | addItemBool("ToolBarHorV",&mToolBarHorV, true ); | 112 | addItemBool("ToolBarHorV",&mToolBarHorV, true ); |
113 | addItemBool("ToolBarUpV",&mToolBarUpV, false ); | 113 | addItemBool("ToolBarUpV",&mToolBarUpV, false ); |
114 | addItemBool("ToolBarHorN",&mToolBarHorN, true ); | 114 | addItemBool("ToolBarHorN",&mToolBarHorN, true ); |
115 | addItemBool("ToolBarUpN",&mToolBarUpN, false ); | 115 | addItemBool("ToolBarUpN",&mToolBarUpN, false ); |
116 | addItemBool("ToolBarHorF",&mToolBarHorF, true ); | 116 | addItemBool("ToolBarHorF",&mToolBarHorF, true ); |
117 | addItemBool("ToolBarUpF",&mToolBarUpF, false ); | 117 | addItemBool("ToolBarUpF",&mToolBarUpF, false ); |
118 | addItemBool("ToolBarMiniIcons",&mToolBarMiniIcons, false ); | 118 | addItemBool("ToolBarMiniIcons",&mToolBarMiniIcons, false ); |
119 | addItemInt("Whats Next Days",&mWhatsNextDays,3); | 119 | addItemInt("Whats Next Days",&mWhatsNextDays,3); |
120 | addItemInt("Whats Next Prios",&mWhatsNextPrios,1); | 120 | addItemInt("Whats Next Prios",&mWhatsNextPrios,1); |
121 | 121 | ||
122 | addItemBool("ShowTodoInAgenda",&mShowTodoInAgenda,true); | 122 | addItemBool("ShowTodoInAgenda",&mShowTodoInAgenda,true); |
123 | addItemBool("ShowCompletedTodoInAgenda",&mShowCompletedTodoInAgenda,true); | ||
123 | addItemBool("ShowTimeInAgenda",&mShowTimeInAgenda,true); | 124 | addItemBool("ShowTimeInAgenda",&mShowTimeInAgenda,true); |
124 | addItemBool("HideNonStartedTodos",&mHideNonStartedTodos,false); | 125 | addItemBool("HideNonStartedTodos",&mHideNonStartedTodos,false); |
125 | addItemBool("ShowCompletedTodo",&mShowCompletedTodo,true); | 126 | addItemBool("ShowCompletedTodo",&mShowCompletedTodo,true); |
126 | addItemInt("AllDay Size",&mAllDaySize,28); | 127 | addItemInt("AllDay Size",&mAllDaySize,28); |
127 | QString defAlarm = KGlobal::iconLoader()->iconPath()+"koalarm.wav"; | 128 | QString defAlarm = KGlobal::iconLoader()->iconPath()+"koalarm.wav"; |
128 | addItemString("DefaultAlarmFile",&mDefaultAlarmFile,defAlarm ); | 129 | addItemString("DefaultAlarmFile",&mDefaultAlarmFile,defAlarm ); |
129 | 130 | ||
130 | addItemStringList("LocationDefaults",&mLocationDefaults ); | 131 | addItemStringList("LocationDefaults",&mLocationDefaults ); |
131 | addItemStringList("EventSummary User",&mEventSummaryUser); | 132 | addItemStringList("EventSummary User",&mEventSummaryUser); |
132 | addItemStringList("TodoSummary User",&mTodoSummaryUser); | 133 | addItemStringList("TodoSummary User",&mTodoSummaryUser); |
133 | 134 | ||
134 | addItemBool("Enable Group Scheduling",&mEnableGroupScheduling,false); | 135 | addItemBool("Enable Group Scheduling",&mEnableGroupScheduling,false); |
135 | addItemBool("Enable Project View",&mEnableProjectView,false); | 136 | addItemBool("Enable Project View",&mEnableProjectView,false); |
136 | addItemBool("Auto Save",&mAutoSave,false); | 137 | addItemBool("Auto Save",&mAutoSave,false); |
137 | addItemInt("Auto Save Interval",&mAutoSaveInterval,3); | 138 | addItemInt("Auto Save Interval",&mAutoSaveInterval,3); |
138 | addItemBool("Confirm Deletes",&mConfirm,true); | 139 | addItemBool("Confirm Deletes",&mConfirm,true); |
139 | addItemString("Archive File",&mArchiveFile); | 140 | addItemString("Archive File",&mArchiveFile); |
140 | addItemString("Html Export File",&mHtmlExportFile, | 141 | addItemString("Html Export File",&mHtmlExportFile, |
141 | QDir::homeDirPath() + "/" + i18n("Default export file", "calendar.html")); | 142 | QDir::homeDirPath() + "/" + i18n("Default export file", "calendar.html")); |
142 | addItemBool("Html With Save",&mHtmlWithSave,false); | 143 | addItemBool("Html With Save",&mHtmlWithSave,false); |
143 | 144 | ||
144 | KPrefs::setCurrentGroup("Personal Settings"); | 145 | KPrefs::setCurrentGroup("Personal Settings"); |
145 | 146 | ||
146 | addItemInt("Mail Client",&mMailClient,MailClientKMail); | 147 | addItemInt("Mail Client",&mMailClient,MailClientKMail); |
diff --git a/korganizer/koprefs.h b/korganizer/koprefs.h index e06df1c..864cf1b 100644 --- a/korganizer/koprefs.h +++ b/korganizer/koprefs.h | |||
@@ -198,48 +198,49 @@ class KOPrefs : public KPimPrefs | |||
198 | bool mShowIconJournal; | 198 | bool mShowIconJournal; |
199 | bool mShowIconFilter; | 199 | bool mShowIconFilter; |
200 | bool mShowIconOnetoolbar; | 200 | bool mShowIconOnetoolbar; |
201 | bool mShowIconNavigator; | 201 | bool mShowIconNavigator; |
202 | bool mShowIconAllday; | 202 | bool mShowIconAllday; |
203 | bool mShowIconFilterview; | 203 | bool mShowIconFilterview; |
204 | bool mShowIconToggleFull; | 204 | bool mShowIconToggleFull; |
205 | 205 | ||
206 | bool mShowIconStretch; | 206 | bool mShowIconStretch; |
207 | 207 | ||
208 | bool mToolBarHor; | 208 | bool mToolBarHor; |
209 | bool mToolBarUp; | 209 | bool mToolBarUp; |
210 | bool mToolBarHorV; | 210 | bool mToolBarHorV; |
211 | bool mToolBarUpV; | 211 | bool mToolBarUpV; |
212 | bool mToolBarHorN; | 212 | bool mToolBarHorN; |
213 | bool mToolBarUpN; | 213 | bool mToolBarUpN; |
214 | bool mToolBarHorF; | 214 | bool mToolBarHorF; |
215 | bool mToolBarUpF; | 215 | bool mToolBarUpF; |
216 | bool mToolBarMiniIcons; | 216 | bool mToolBarMiniIcons; |
217 | 217 | ||
218 | bool mAskForQuit; | 218 | bool mAskForQuit; |
219 | bool mUsePassWd; | 219 | bool mUsePassWd; |
220 | bool mShowSyncEvents; | 220 | bool mShowSyncEvents; |
221 | bool mShowTodoInAgenda; | 221 | bool mShowTodoInAgenda; |
222 | bool mShowCompletedTodoInAgenda; | ||
222 | bool mShowTimeInAgenda; | 223 | bool mShowTimeInAgenda; |
223 | bool mHideNonStartedTodos; | 224 | bool mHideNonStartedTodos; |
224 | 225 | ||
225 | bool mBlockPopupMenu; | 226 | bool mBlockPopupMenu; |
226 | 227 | ||
227 | int mLastSyncTime; | 228 | int mLastSyncTime; |
228 | void setCategoryColor(QString cat,const QColor & color); | 229 | void setCategoryColor(QString cat,const QColor & color); |
229 | QColor *categoryColor(QString cat); | 230 | QColor *categoryColor(QString cat); |
230 | 231 | ||
231 | QString mArchiveFile; | 232 | QString mArchiveFile; |
232 | QString mHtmlExportFile; | 233 | QString mHtmlExportFile; |
233 | bool mHtmlWithSave; | 234 | bool mHtmlWithSave; |
234 | 235 | ||
235 | QStringList mSelectedPlugins; | 236 | QStringList mSelectedPlugins; |
236 | 237 | ||
237 | QString mLastImportFile; | 238 | QString mLastImportFile; |
238 | QString mLastVcalFile; | 239 | QString mLastVcalFile; |
239 | QString mLastSaveFile; | 240 | QString mLastSaveFile; |
240 | QString mLastLoadFile; | 241 | QString mLastLoadFile; |
241 | 242 | ||
242 | 243 | ||
243 | QString mDefaultAlarmFile; | 244 | QString mDefaultAlarmFile; |
244 | int mIMIPScheduler; | 245 | int mIMIPScheduler; |
245 | int mIMIPSend; | 246 | int mIMIPSend; |
diff --git a/korganizer/koprefsdialog.cpp b/korganizer/koprefsdialog.cpp index e4bee63..c9477e3 100644 --- a/korganizer/koprefsdialog.cpp +++ b/korganizer/koprefsdialog.cpp | |||
@@ -695,48 +695,59 @@ void KOPrefsDialog::setupViewsTab() | |||
695 | 695 | ||
696 | dummy = | 696 | dummy = |
697 | addWidBool(i18n("Use light color for highlight current day"), | 697 | addWidBool(i18n("Use light color for highlight current day"), |
698 | &(KOPrefs::instance()->mUseHighlightLightColor),topFrame); | 698 | &(KOPrefs::instance()->mUseHighlightLightColor),topFrame); |
699 | topLayout->addWidget(dummy->checkBox(),ii++,0); | 699 | topLayout->addWidget(dummy->checkBox(),ii++,0); |
700 | 700 | ||
701 | 701 | ||
702 | KPrefsDialogWidBool *marcusBainsEnabled = | 702 | KPrefsDialogWidBool *marcusBainsEnabled = |
703 | addWidBool(i18n("Show current time"), | 703 | addWidBool(i18n("Show current time"), |
704 | &(KOPrefs::instance()->mMarcusBainsEnabled),topFrame); | 704 | &(KOPrefs::instance()->mMarcusBainsEnabled),topFrame); |
705 | topLayout->addWidget(marcusBainsEnabled->checkBox(),ii++,0); | 705 | topLayout->addWidget(marcusBainsEnabled->checkBox(),ii++,0); |
706 | 706 | ||
707 | 707 | ||
708 | dummy = | 708 | dummy = |
709 | addWidBool(i18n("Set agenda to DayBeginsAt on change"), | 709 | addWidBool(i18n("Set agenda to DayBeginsAt on change"), |
710 | &(KOPrefs::instance()->mSetTimeToDayStartAt),topFrame); | 710 | &(KOPrefs::instance()->mSetTimeToDayStartAt),topFrame); |
711 | topLayout->addWidget(dummy->checkBox(),ii++,0); | 711 | topLayout->addWidget(dummy->checkBox(),ii++,0); |
712 | 712 | ||
713 | dummy = | 713 | dummy = |
714 | addWidBool(i18n("Set agenda to current time on change"), | 714 | addWidBool(i18n("Set agenda to current time on change"), |
715 | &(KOPrefs::instance()->mCenterOnCurrentTime),topFrame); | 715 | &(KOPrefs::instance()->mCenterOnCurrentTime),topFrame); |
716 | topLayout->addWidget(dummy->checkBox(),ii++,0); | 716 | topLayout->addWidget(dummy->checkBox(),ii++,0); |
717 | 717 | ||
718 | 718 | ||
719 | dummy = | ||
720 | addWidBool(i18n("Allday Agenda view shows todos"), | ||
721 | &(KOPrefs::instance()->mShowTodoInAgenda),topFrame); | ||
722 | topLayout->addWidget(dummy->checkBox(),ii++,0); | ||
723 | |||
724 | |||
725 | |||
726 | dummy = | ||
727 | addWidBool(i18n("Agenda view shows completed todos"), | ||
728 | &(KOPrefs::instance()->mShowCompletedTodoInAgenda),topFrame); | ||
729 | topLayout->addWidget(dummy->checkBox(),ii++,0); | ||
719 | 730 | ||
720 | 731 | ||
721 | 732 | ||
722 | 733 | ||
723 | 734 | ||
724 | topFrame = addPage(i18n("Month View"),0,0); | 735 | topFrame = addPage(i18n("Month View"),0,0); |
725 | // DesktopIcon("viewmag",KIcon::SizeMedium)); | 736 | // DesktopIcon("viewmag",KIcon::SizeMedium)); |
726 | 737 | ||
727 | topLayout = new QGridLayout(topFrame,5,1); | 738 | topLayout = new QGridLayout(topFrame,5,1); |
728 | topLayout->setSpacing(mSpacingHint); | 739 | topLayout->setSpacing(mSpacingHint); |
729 | topLayout->setMargin(mMarginHint); | 740 | topLayout->setMargin(mMarginHint); |
730 | ii = 0; | 741 | ii = 0; |
731 | QLabel *lab; | 742 | QLabel *lab; |
732 | QHBox *habo = new QHBox( topFrame ); | 743 | QHBox *habo = new QHBox( topFrame ); |
733 | if ( QApplication::desktop()->width() <= 480 ) { | 744 | if ( QApplication::desktop()->width() <= 480 ) { |
734 | lab = new QLabel ( i18n("Show events that recur "), topFrame ); | 745 | lab = new QLabel ( i18n("Show events that recur "), topFrame ); |
735 | topLayout->addMultiCellWidget(lab,ii, ii,0,1); | 746 | topLayout->addMultiCellWidget(lab,ii, ii,0,1); |
736 | ii++; | 747 | ii++; |
737 | } else { | 748 | } else { |
738 | new QLabel ( i18n("Show events that recur "), habo ); | 749 | new QLabel ( i18n("Show events that recur "), habo ); |
739 | } | 750 | } |
740 | dailyRecur = | 751 | dailyRecur = |
741 | addWidBool(i18n("daily"), | 752 | addWidBool(i18n("daily"), |
742 | &(KOPrefs::instance()->mMonthDailyRecur),habo); | 753 | &(KOPrefs::instance()->mMonthDailyRecur),habo); |
@@ -769,49 +780,49 @@ void KOPrefsDialog::setupViewsTab() | |||
769 | &(KOPrefs::instance()->mMonthShowTimes),habo); | 780 | &(KOPrefs::instance()->mMonthShowTimes),habo); |
770 | topLayout->addMultiCellWidget(habo,ii, ii,0,1); | 781 | topLayout->addMultiCellWidget(habo,ii, ii,0,1); |
771 | ii++; | 782 | ii++; |
772 | #ifdef DESKTOP_VERSION | 783 | #ifdef DESKTOP_VERSION |
773 | KPrefsDialogWidBool *enableMonthScroll = | 784 | KPrefsDialogWidBool *enableMonthScroll = |
774 | addWidBool(i18n("Enable scrollbars in month view cells"), | 785 | addWidBool(i18n("Enable scrollbars in month view cells"), |
775 | &(KOPrefs::instance()->mEnableMonthScroll),topFrame); | 786 | &(KOPrefs::instance()->mEnableMonthScroll),topFrame); |
776 | topLayout->addWidget(enableMonthScroll->checkBox(),ii++,0); | 787 | topLayout->addWidget(enableMonthScroll->checkBox(),ii++,0); |
777 | #endif | 788 | #endif |
778 | dummy = | 789 | dummy = |
779 | addWidBool(i18n("Week view mode uses bigger font"), | 790 | addWidBool(i18n("Week view mode uses bigger font"), |
780 | &(KOPrefs::instance()->mMonthViewUsesBigFont),topFrame); | 791 | &(KOPrefs::instance()->mMonthViewUsesBigFont),topFrame); |
781 | topLayout->addWidget(dummy->checkBox(),ii++,0); | 792 | topLayout->addWidget(dummy->checkBox(),ii++,0); |
782 | dummy = | 793 | dummy = |
783 | addWidBool(i18n("Show Sat/Sun together"), | 794 | addWidBool(i18n("Show Sat/Sun together"), |
784 | &(KOPrefs::instance()->mMonthViewSatSunTog),topFrame); | 795 | &(KOPrefs::instance()->mMonthViewSatSunTog),topFrame); |
785 | topLayout->addWidget(dummy->checkBox(),ii++,0); | 796 | topLayout->addWidget(dummy->checkBox(),ii++,0); |
786 | 797 | ||
787 | KPrefsDialogWidBool *coloredCategoriesInMonthView = | 798 | KPrefsDialogWidBool *coloredCategoriesInMonthView = |
788 | addWidBool(i18n("Month view uses category colors"), | 799 | addWidBool(i18n("Month view uses category colors"), |
789 | &(KOPrefs::instance()->mMonthViewUsesCategoryColor),topFrame); | 800 | &(KOPrefs::instance()->mMonthViewUsesCategoryColor),topFrame); |
790 | topLayout->addWidget(coloredCategoriesInMonthView->checkBox(),ii++,0); | 801 | topLayout->addWidget(coloredCategoriesInMonthView->checkBox(),ii++,0); |
791 | 802 | ||
792 | dummy = | 803 | dummy = |
793 | addWidBool(i18n("Categorie colors are applied to text"), | 804 | addWidBool(i18n("Category colors are applied to text"), |
794 | &(KOPrefs::instance()->mMonthViewUsesForegroundColor),topFrame); | 805 | &(KOPrefs::instance()->mMonthViewUsesForegroundColor),topFrame); |
795 | topLayout->addWidget(dummy->checkBox(),ii++,0); | 806 | topLayout->addWidget(dummy->checkBox(),ii++,0); |
796 | coloredCategoriesInMonthView = | 807 | coloredCategoriesInMonthView = |
797 | addWidBool(i18n("Month view uses day colors"), | 808 | addWidBool(i18n("Month view uses day colors"), |
798 | &(KOPrefs::instance()->mMonthViewUsesDayColors),topFrame); | 809 | &(KOPrefs::instance()->mMonthViewUsesDayColors),topFrame); |
799 | topLayout->addWidget(coloredCategoriesInMonthView->checkBox(),ii++,0); | 810 | topLayout->addWidget(coloredCategoriesInMonthView->checkBox(),ii++,0); |
800 | 811 | ||
801 | KPrefsDialogWidColor *holidayColor = | 812 | KPrefsDialogWidColor *holidayColor = |
802 | addWidColor(i18n("Day color odd months"), | 813 | addWidColor(i18n("Day color odd months"), |
803 | &(KOPrefs::instance()->mMonthViewOddColor),topFrame); | 814 | &(KOPrefs::instance()->mMonthViewOddColor),topFrame); |
804 | topLayout->addWidget(holidayColor->label(),ii,0); | 815 | topLayout->addWidget(holidayColor->label(),ii,0); |
805 | topLayout->addWidget(holidayColor->button(),ii++,1); | 816 | topLayout->addWidget(holidayColor->button(),ii++,1); |
806 | 817 | ||
807 | holidayColor = | 818 | holidayColor = |
808 | addWidColor(i18n("Day color even months"), | 819 | addWidColor(i18n("Day color even months"), |
809 | &(KOPrefs::instance()->mMonthViewEvenColor),topFrame); | 820 | &(KOPrefs::instance()->mMonthViewEvenColor),topFrame); |
810 | topLayout->addWidget(holidayColor->label(),ii,0); | 821 | topLayout->addWidget(holidayColor->label(),ii,0); |
811 | topLayout->addWidget(holidayColor->button(),ii++,1); | 822 | topLayout->addWidget(holidayColor->button(),ii++,1); |
812 | 823 | ||
813 | 824 | ||
814 | holidayColor = | 825 | holidayColor = |
815 | addWidColor(i18n("Color for Sundays + category \"Holiday\""), | 826 | addWidColor(i18n("Color for Sundays + category \"Holiday\""), |
816 | &(KOPrefs::instance()->mMonthViewHolidayColor),topFrame); | 827 | &(KOPrefs::instance()->mMonthViewHolidayColor),topFrame); |
817 | topLayout->addWidget(holidayColor->label(),ii,0); | 828 | topLayout->addWidget(holidayColor->label(),ii,0); |
@@ -822,49 +833,49 @@ void KOPrefsDialog::setupViewsTab() | |||
822 | 833 | ||
823 | topLayout = new QGridLayout(topFrame,4,1); | 834 | topLayout = new QGridLayout(topFrame,4,1); |
824 | topLayout->setSpacing(mSpacingHint); | 835 | topLayout->setSpacing(mSpacingHint); |
825 | topLayout->setMargin(mMarginHint); | 836 | topLayout->setMargin(mMarginHint); |
826 | ii = 0; | 837 | ii = 0; |
827 | 838 | ||
828 | 839 | ||
829 | QHBox* hdummy = new QHBox(topFrame); | 840 | QHBox* hdummy = new QHBox(topFrame); |
830 | new QLabel(i18n("Days in What's Next:"),hdummy); | 841 | new QLabel(i18n("Days in What's Next:"),hdummy); |
831 | mWhatsNextSpin = new QSpinBox(1,14,1,hdummy); | 842 | mWhatsNextSpin = new QSpinBox(1,14,1,hdummy); |
832 | 843 | ||
833 | topLayout->addWidget(hdummy,ii++,0); | 844 | topLayout->addWidget(hdummy,ii++,0); |
834 | 845 | ||
835 | QHBox *prioBox = new QHBox(topFrame); | 846 | QHBox *prioBox = new QHBox(topFrame); |
836 | // intervalBox->setSpacing(mSpacingHint); | 847 | // intervalBox->setSpacing(mSpacingHint); |
837 | topLayout->addWidget(prioBox,ii++,0); | 848 | topLayout->addWidget(prioBox,ii++,0); |
838 | 849 | ||
839 | QLabel *prioLabel = new QLabel(i18n("Number of max.displayed todo prios:"), prioBox); | 850 | QLabel *prioLabel = new QLabel(i18n("Number of max.displayed todo prios:"), prioBox); |
840 | mPrioSpin = new QSpinBox(0,5,1,prioBox); | 851 | mPrioSpin = new QSpinBox(0,5,1,prioBox); |
841 | if ( QApplication::desktop()->width() < 300 ) | 852 | if ( QApplication::desktop()->width() < 300 ) |
842 | mPrioSpin->setFixedWidth( 40 ); | 853 | mPrioSpin->setFixedWidth( 40 ); |
843 | 854 | ||
844 | KPrefsDialogWidBool *passwdk = | 855 | KPrefsDialogWidBool *passwdk = |
845 | 856 | ||
846 | addWidBool(i18n("Show events, that are done"), | 857 | addWidBool(i18n("Show events that are done"), |
847 | &(KOPrefs::instance()->mWNViewShowsPast),topFrame); | 858 | &(KOPrefs::instance()->mWNViewShowsPast),topFrame); |
848 | topLayout->addWidget(passwdk->checkBox(), ii++,0); | 859 | topLayout->addWidget(passwdk->checkBox(), ii++,0); |
849 | passwdk = | 860 | passwdk = |
850 | addWidBool(i18n("Show parent To-Do's"), | 861 | addWidBool(i18n("Show parent To-Do's"), |
851 | &(KOPrefs::instance()->mWNViewShowsParents),topFrame); | 862 | &(KOPrefs::instance()->mWNViewShowsParents),topFrame); |
852 | topLayout->addWidget(passwdk->checkBox(), ii++,0); | 863 | topLayout->addWidget(passwdk->checkBox(), ii++,0); |
853 | 864 | ||
854 | passwdk = | 865 | passwdk = |
855 | addWidBool(i18n("Show location"), | 866 | addWidBool(i18n("Show location"), |
856 | &(KOPrefs::instance()->mWNViewShowLocation),topFrame); | 867 | &(KOPrefs::instance()->mWNViewShowLocation),topFrame); |
857 | topLayout->addWidget(passwdk->checkBox(), ii++,0); | 868 | topLayout->addWidget(passwdk->checkBox(), ii++,0); |
858 | 869 | ||
859 | 870 | ||
860 | passwdk = | 871 | passwdk = |
861 | addWidBool(i18n("Use short date in WN+Event view"), | 872 | addWidBool(i18n("Use short date in WN+Event view"), |
862 | &(KOPrefs::instance()->mShortDateInViewer),topFrame); | 873 | &(KOPrefs::instance()->mShortDateInViewer),topFrame); |
863 | topLayout->addWidget(passwdk->checkBox(), ii++,0); | 874 | topLayout->addWidget(passwdk->checkBox(), ii++,0); |
864 | 875 | ||
865 | 876 | ||
866 | 877 | ||
867 | 878 | ||
868 | // *********************** Todo View | 879 | // *********************** Todo View |
869 | 880 | ||
870 | topFrame = addPage(i18n("Todo View"),0,0); | 881 | topFrame = addPage(i18n("Todo View"),0,0); |
@@ -917,52 +928,48 @@ dummy = | |||
917 | KPrefsDialogWidColor *todoDueTodayColor = | 928 | KPrefsDialogWidColor *todoDueTodayColor = |
918 | addWidColor(i18n("Todo due today color:"), | 929 | addWidColor(i18n("Todo due today color:"), |
919 | &(KOPrefs::instance()->mTodoDueTodayColor),wid); | 930 | &(KOPrefs::instance()->mTodoDueTodayColor),wid); |
920 | widLayout = new QHBoxLayout(wid); | 931 | widLayout = new QHBoxLayout(wid); |
921 | widLayout->addWidget( todoDueTodayColor->label() ); | 932 | widLayout->addWidget( todoDueTodayColor->label() ); |
922 | widLayout->addWidget( todoDueTodayColor->button() ); | 933 | widLayout->addWidget( todoDueTodayColor->button() ); |
923 | topLayout->addWidget(wid,ii++,0); | 934 | topLayout->addWidget(wid,ii++,0); |
924 | //topLayout->addWidget(todoDueTodayColor->button(),ii++,1); | 935 | //topLayout->addWidget(todoDueTodayColor->button(),ii++,1); |
925 | 936 | ||
926 | // Todo overdue color | 937 | // Todo overdue color |
927 | wid = new QWidget( topFrame ); | 938 | wid = new QWidget( topFrame ); |
928 | widLayout = new QHBoxLayout(wid); | 939 | widLayout = new QHBoxLayout(wid); |
929 | KPrefsDialogWidColor *todoOverdueColor = | 940 | KPrefsDialogWidColor *todoOverdueColor = |
930 | addWidColor(i18n("Todo overdue color:"), | 941 | addWidColor(i18n("Todo overdue color:"), |
931 | &(KOPrefs::instance()->mTodoOverdueColor),wid); | 942 | &(KOPrefs::instance()->mTodoOverdueColor),wid); |
932 | widLayout->addWidget(todoOverdueColor->label()); | 943 | widLayout->addWidget(todoOverdueColor->label()); |
933 | widLayout->addWidget(todoOverdueColor->button()); | 944 | widLayout->addWidget(todoOverdueColor->button()); |
934 | topLayout->addWidget(wid,ii++,0); | 945 | topLayout->addWidget(wid,ii++,0); |
935 | 946 | ||
936 | dummy = | 947 | dummy = |
937 | addWidBool(i18n("Colors are applied to text"), | 948 | addWidBool(i18n("Colors are applied to text"), |
938 | &(KOPrefs::instance()->mTodoViewUsesForegroundColor),topFrame); | 949 | &(KOPrefs::instance()->mTodoViewUsesForegroundColor),topFrame); |
939 | topLayout->addWidget(dummy->checkBox(),ii++,0); | 950 | topLayout->addWidget(dummy->checkBox(),ii++,0); |
940 | 951 | ||
941 | dummy = | ||
942 | addWidBool(i18n("Allday Agenda view shows todos"), | ||
943 | &(KOPrefs::instance()->mShowTodoInAgenda),topFrame); | ||
944 | topLayout->addWidget(dummy->checkBox(),ii++,0); | ||
945 | 952 | ||
946 | 953 | ||
947 | topFrame = addPage(i18n("View Options"),0,0); | 954 | topFrame = addPage(i18n("View Options"),0,0); |
948 | 955 | ||
949 | topLayout = new QGridLayout(topFrame,4,1); | 956 | topLayout = new QGridLayout(topFrame,4,1); |
950 | topLayout->setSpacing(mSpacingHint); | 957 | topLayout->setSpacing(mSpacingHint); |
951 | topLayout->setMargin(mMarginHint); | 958 | topLayout->setMargin(mMarginHint); |
952 | ii = 0; | 959 | ii = 0; |
953 | 960 | ||
954 | dummy = | 961 | dummy = |
955 | addWidBool(i18n("Show Sync Events"), | 962 | addWidBool(i18n("Show Sync Events"), |
956 | &(KOPrefs::instance()->mShowSyncEvents),topFrame); | 963 | &(KOPrefs::instance()->mShowSyncEvents),topFrame); |
957 | topLayout->addWidget(dummy->checkBox(), ii++,0); | 964 | topLayout->addWidget(dummy->checkBox(), ii++,0); |
958 | 965 | ||
959 | lab = new QLabel( i18n("Show in todo/event viewer:"), topFrame); | 966 | lab = new QLabel( i18n("Show in todo/event viewer:"), topFrame); |
960 | topLayout->addWidget(lab ,ii++,0); | 967 | topLayout->addWidget(lab ,ii++,0); |
961 | 968 | ||
962 | dummy = addWidBool(i18n("Details"), | 969 | dummy = addWidBool(i18n("Details"), |
963 | &(KOPrefs::instance()->mEVshowDetails),topFrame); | 970 | &(KOPrefs::instance()->mEVshowDetails),topFrame); |
964 | topLayout->addWidget(dummy->checkBox(),ii++,0); | 971 | topLayout->addWidget(dummy->checkBox(),ii++,0); |
965 | dummy = addWidBool(i18n("Created time"), | 972 | dummy = addWidBool(i18n("Created time"), |
966 | &(KOPrefs::instance()->mEVshowCreated),topFrame); | 973 | &(KOPrefs::instance()->mEVshowCreated),topFrame); |
967 | topLayout->addWidget(dummy->checkBox(),ii++,0); | 974 | topLayout->addWidget(dummy->checkBox(),ii++,0); |
968 | dummy = addWidBool(i18n("Last modified time"), | 975 | dummy = addWidBool(i18n("Last modified time"), |