summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--bin/kdepim/korganizer/germantranslation.txt17
-rw-r--r--korganizer/kolistview.cpp10
-rw-r--r--korganizer/koprefsdialog.cpp17
-rw-r--r--korganizer/searchdialog.cpp12
-rw-r--r--libkdepim/categoryeditdialog.cpp4
-rw-r--r--libkdepim/categoryselectdialog.cpp4
6 files changed, 36 insertions, 28 deletions
diff --git a/bin/kdepim/korganizer/germantranslation.txt b/bin/kdepim/korganizer/germantranslation.txt
index 711509d..7e7f8b7 100644
--- a/bin/kdepim/korganizer/germantranslation.txt
+++ b/bin/kdepim/korganizer/germantranslation.txt
@@ -1,1343 +1,1340 @@
1{ "10 minutes","10 Minuten" }, 1{ "10 minutes","10 Minuten" },
2{ "10th","10." }, 2{ "10th","10." },
3{ "11th","11." }, 3{ "11th","11." },
4{ "12 pm Format","12 AM/PM Format" }, 4{ "12 pm Format","12 AM/PM Format" },
5{ "12th","12." }, 5{ "12th","12." },
6{ "13th","13." }, 6{ "13th","13." },
7{ "14th","14." }, 7{ "14th","14." },
8{ "15th","15." }, 8{ "15th","15." },
9{ "16th","16." }, 9{ "16th","16." },
10{ "17th","17." }, 10{ "17th","17." },
11{ "18th","18." }, 11{ "18th","18." },
12{ "19th","19." }, 12{ "19th","19." },
13{ "1 Day","1 Tag" }, 13{ "1 Day","1 Tag" },
14{ "1 h","1 Std" }, 14{ "1 h","1 Std" },
15{ "1 (high)","1 (hoch)" }, 15{ "1 (high)","1 (hoch)" },
16{ "5 (low)","5" }, 16{ "5 (low)","5" },
17{ "1st","1." }, 17{ "1st","1." },
18{ "20th","20." }, 18{ "20th","20." },
19{ "21st","21." }, 19{ "21st","21." },
20{ "22nd","22." }, 20{ "22nd","22." },
21{ "23rd","23." }, 21{ "23rd","23." },
22{ "24:00 Hour Format","24:00 Stunden Format" }, 22{ "24:00 Hour Format","24:00 Stunden Format" },
23{ "24th","24." }, 23{ "24th","24." },
24{ "25th","25." }, 24{ "25th","25." },
25{ "26th","26." }, 25{ "26th","26." },
26{ "27th","27." }, 26{ "27th","27." },
27{ "28th","28." }, 27{ "28th","28." },
28{ "29th","29." }, 28{ "29th","29." },
29{ "2nd","2." }, 29{ "2nd","2." },
30{ "30 minutes","30 Minuten" }, 30{ "30 minutes","30 Minuten" },
31{ "30th","30." }, 31{ "30th","30." },
32{ "31st","31." }, 32{ "31st","31." },
33{ "3rd","3." }, 33{ "3rd","3." },
34{ "4th","4." }, 34{ "4th","4." },
35{ "5 (lowest)","5 (Niedrigster)" }, 35{ "5 (lowest)","5 (Niedrigster)" },
36{ "5th","5." }, 36{ "5th","5." },
37{ "6th","6." }, 37{ "6th","6." },
38{ "7th","7." }, 38{ "7th","7." },
39{ "8th","8." }, 39{ "8th","8." },
40{ "9th","9." }, 40{ "9th","9." },
41{ "About...","Über..." }, 41{ "About...","Über..." },
42{ "&Accept","&Akzeptieren" }, 42{ "&Accept","&Akzeptieren" },
43{ "Accept","Akzeptieren" }, 43{ "Accept","Akzeptieren" },
44{ "Accept A&ll","A&lles Akzepieren" }, 44{ "Accept A&ll","A&lles Akzepieren" },
45{ "Access:","Zugriff:" }, 45{ "Access:","Zugriff:" },
46{ "A corresponding event is missing in your calendar!","Ein zugehöriger Termin fehlt in ihrem Kalender!" }, 46{ "A corresponding event is missing in your calendar!","Ein zugehöriger Termin fehlt in ihrem Kalender!" },
47{ "Actions","Aktionen" }, 47{ "Actions","Aktionen" },
48{ "Add Filter","Filter Hinzufügen" }, 48{ "Add Filter","Filter Hinzufügen" },
49{ "&Add","Hinzufügen" }, 49{ "&Add","Hinzufügen" },
50{ "Add","Hinzufügen" }, 50{ "Add","Hinzufügen" },
51{ "Additional email addresses:","Zusätzliche E-Mail Adressen:" }, 51{ "Additional email addresses:","Zusätzliche E-Mail Adressen:" },
52{ "Additional email address:","Zusätzliche E-Mail Adresse:" }, 52{ "Additional email address:","Zusätzliche E-Mail Adresse:" },
53{ "&Addressbook","&Adressbuch" }, 53{ "&Addressbook","&Adressbuch" },
54{ "Address &Book...","Adress&buch..." }, 54{ "Address &Book...","Adress&buch..." },
55{ "Agenda Size","Agende Größe" }, 55{ "Agenda Size","Agende Größe" },
56{ "Agenda Size:","Größe der Agenda:" }, 56{ "Agenda Size:","Größe der Agenda:" },
57{ "Agenda view:","Agenda Ansicht:" }, 57{ "Agenda view:","Agenda Ansicht:" },
58{ "Agenda view background color:","Hintergrund der Agenda Ansicht:" }, 58{ "Agenda view background color:","Hintergrund der Agenda Ansicht:" },
59{ "All attendees","Alle Teilnehmer" }, 59{ "All attendees","Alle Teilnehmer" },
60{ "AllDayAgenda Height:","Höhe Ganztages Agenda:" }, 60{ "AllDayAgenda Height:","Höhe Ganztages Agenda:" },
61{ "All day event","Ganztägig" }, 61{ "All day event","Ganztägig" },
62{ "Anonymous","Anonym" }, 62{ "Anonymous","Anonym" },
63{ "Apply","Anwenden" }, 63{ "Apply","Anwenden" },
64{ "Apr","Apr" }, 64{ "Apr","Apr" },
65{ "April","April" }, 65{ "April","April" },
66{"Ask for every entry on conflict","Frage bei Konflikten nach"}, 66{"Ask for every entry on conflict","Frage bei Konflikten nach"},
67{ "Ask for preferences before syncing","Vor dem Syncronisieren nachfragen" }, 67{ "Ask for preferences before syncing","Vor dem Syncronisieren nachfragen" },
68{ "Ask for quit when closing KO/Pi","Vor dem Beenden von KO/Pi nachfragen" }, 68{ "Ask for quit when closing KO/Pi","Vor dem Beenden von KO/Pi nachfragen" },
69{ "Attendees","Teilnehmer" }, 69{ "Attendees","Teilnehmer" },
70{ "Aug","Aug" }, 70{ "Aug","Aug" },
71{ "August","August" }, 71{ "August","August" },
72{ "Auto-Save","Automatisches Abspeichern" }, 72{ "Auto-Save","Automatisches Abspeichern" },
73{ "Auto save delay in minutes:","Verzög.autom.Speichern in Min" }, 73{ "Auto save delay in minutes:","Verzög.autom.Speichern in Min" },
74{ "Auto saving...","Automatische Sicherung..." }, 74{ "Auto saving...","Automatische Sicherung..." },
75{ "Begin on:","Starte mit:" }, 75{ "Begin on:","Starte mit:" },
76{ "Begins on: %1","Starte mit: %1" }, 76{ "Begins on: %1","Starte mit: %1" },
77{ "<b>From:</b> %1 <b>To:</b> %2","<b>Vom:</b> %1 <b>Zum:</b> %2" }, 77{ "<b>From:</b> %1 <b>To:</b> %2","<b>Vom:</b> %1 <b>Zum:</b> %2" },
78{ "<b>On:</b> %1","<b>Am:</b> %1" }, 78{ "<b>On:</b> %1","<b>Am:</b> %1" },
79{ "<b>On:</b> %1 <b>From:S</b> %2 <b>To:</b> %3","<b>Am:</b> %1 <b>Vom:S</b> %2 <b>Zum:</b> %3" }, 79{ "<b>On:</b> %1 <b>From:S</b> %2 <b>To:</b> %3","<b>Am:</b> %1 <b>Vom:S</b> %2 <b>Zum:</b> %3" },
80{ "<b>Original event:</b><p>","<b>Original Termin:</b><p>" }, 80{ "<b>Original event:</b><p>","<b>Original Termin:</b><p>" },
81{ " - both are modified after last sync"," - beide wurden nach der letzten Syncronisation verändert" }, 81{ " - both are modified after last sync"," - beide wurden nach der letzten Syncronisation verändert" },
82{ "Busy","Belegt" }, 82{ "Busy","Belegt" },
83{ "&Cancel","Abbre&chen" }, 83{ "&Cancel","Abbre&chen" },
84{ "Cancel","Abbrechen" }, 84{ "Cancel","Abbrechen" },
85{ "Cannot delete To-Do\nwhich has children.","Kann Todo nicht löschen,\n da noch Einträge vorhanden sind" }, 85{ "Cannot delete To-Do\nwhich has children.","Kann Todo nicht löschen,\n da noch Einträge vorhanden sind" },
86{ "Can't generate mail:\nNo event selected.","Kann e-Mail nicht erstellen:\nKein Termin ausgewählt." }, 86{ "Can't generate mail:\nNo event selected.","Kann e-Mail nicht erstellen:\nKein Termin ausgewählt." },
87{ "Categories...","Kategorien..." }, 87{ "Categories...","Kategorien..." },
88{ "Categories","Kategorien" }, 88{ "Categories","Kategorien" },
89{ "Category","Kategorie" }, 89{ "Category","Kategorie" },
90{ "Center View","Zentriere Ansicht" }, 90{ "Center View","Zentriere Ansicht" },
91{ "Change","Ändere" }, 91{ "Change","Ändere" },
92{ "Cinema","Kino" }, 92{ "Cinema","Kino" },
93{ "Click to add a new Todo","Hier klicken, um ein neues Todo anzulegen" }, 93{ "Click to add a new Todo","Hier klicken, um ein neues Todo anzulegen" },
94{ "Clone Item","Klone Eintrag" }, 94{ "Clone Item","Klone Eintrag" },
95{ "&Close","S&chließen" }, 95{ "&Close","S&chließen" },
96{ "Close","Schließen" }, 96{ "Close","Schließen" },
97{ "Close this dialog to abort deletion!","Zum Abbrechen des Löschvorganges Dialog schließen!" }, 97{ "Close this dialog to abort deletion!","Zum Abbrechen des Löschvorganges Dialog schließen!" },
98{ "Colors","Farben" }, 98{ "Colors","Farben" },
99{ "completed","erledigt" }, 99{ "completed","erledigt" },
100{ "completed on %1","erledigt am %1" }, 100{ "completed on %1","erledigt am %1" },
101{ "Complete","Erledigt" }, 101{ "Complete","Erledigt" },
102{ "Confidential","Vertraulich" }, 102{ "Confidential","Vertraulich" },
103{ "Configure...","Einstellungen..." }, 103{ "Configure...","Einstellungen..." },
104{ "Confirm &deletes","Löschvogang bestätigen" }, 104{ "Confirm &deletes","Löschvogang bestätigen" },
105{ "Couldn't load calendar\n '%1'.","Kann Kalender\n '%1' nicht laden." }, 105{ "Couldn't load calendar\n '%1'.","Kann Kalender\n '%1' nicht laden." },
106{ "Counter-event Viewer","Terminzähler Ansicht" }, 106{ "Counter-event Viewer","Terminzähler Ansicht" },
107{ "Daily ending hour:","Feierabend:" }, 107{ "Daily ending hour:","Feierabend:" },
108{ "Daily starting hour:","Anfangszeit:" }, 108{ "Daily starting hour:","Anfangszeit:" },
109{ "Daily","Täglich" }, 109{ "Daily","Täglich" },
110{ "Date Format","Datums Format" }, 110{ "Date Format","Datums Format" },
111{ "Date Format:","Datums Format:" }, 111{ "Date Format:","Datums Format:" },
112{ "DateNavigator:(nr)","Datums Navigator" }, 112{ "DateNavigator:(nr)","Datums Navigator" },
113{ "Dates: ","Datum: " }, 113{ "Dates: ","Datum: " },
114{ "Date && Time","Datum && Zeit" }, 114{ "Date && Time","Datum && Zeit" },
115{ "Day begins at:","Der Tag beginnt um:" }, 115{ "Day begins at:","Der Tag beginnt um:" },
116{ "Days in Next-X-Days:","Tage in Nächste-X-Tage:" }, 116{ "Days in Next-X-Days:","Tage in Nächste-X-Tage:" },
117{ "Days in What's Next:","Tage in What's Next:" }, 117{ "Days in What's Next:","Tage in What's Next:" },
118{ "day(s)","Tag(e)" }, 118{ "day(s)","Tag(e)" },
119{ "Days to show in Next-X-Days view:","Welche Tage in Nächste-X-Tagen anzeigen:" }, 119{ "Days to show in Next-X-Days view:","Welche Tage in Nächste-X-Tagen anzeigen:" },
120{ "day","Tag" }, 120{ "day","Tag" },
121{ "Dec","Dez" }, 121{ "Dec","Dez" },
122{ "December","Dezember" }, 122{ "December","Dezember" },
123{ "Default alarm time:","Standard Alarmzeit:" }, 123{ "Default alarm time:","Standard Alarmzeit:" },
124{ "Default appointment time:","Standard Termin Startzeit:" }, 124{ "Default appointment time:","Standard Termin Startzeit:" },
125{ "Default event color:","Standard Terminfarbe:" }, 125{ "Default event color:","Standard Terminfarbe:" },
126{ "Default","Standard" }, 126{ "Default","Standard" },
127{ "Def. duration of new app.:","Standard Termin Länge:" }, 127{ "Def. duration of new app.:","Standard Termin Länge:" },
128{ "Delete all completed To-Dos?","Alle bereits erledigten Todos löschen?" }, 128{ "Delete all completed To-Dos?","Alle bereits erledigten Todos löschen?" },
129{ "Delete All","Lösche alles" }, 129{ "Delete All","Lösche alles" },
130{ "Delete all selected","Lösche alle Selektierten" }, 130{ "Delete all selected","Lösche alle Selektierten" },
131{ "Delete Current","Aktuellen löschen" }, 131{ "Delete Current","Aktuellen löschen" },
132{ "Delete Event...","Lösche Termin..." }, 132{ "Delete Event...","Lösche Termin..." },
133{ "Delete Event","Lösche Termin" }, 133{ "Delete Event","Lösche Termin" },
134{ "&Delete","Löschen" }, 134{ "&Delete","Löschen" },
135{ "Delete...","Löschen..." }, 135{ "Delete...","Löschen..." },
136{ "Delete","Löschen" }, 136{ "Delete","Löschen" },
137{ "Delete Todo...","Lösche Todo..." }, 137{ "Delete Todo...","Lösche Todo..." },
138{ "Delete To-Do","Lösche Todo" }, 138{ "Delete To-Do","Lösche Todo" },
139{ "Deleting item %d ...","Lösche Eintrag %d..." }, 139{ "Deleting item %d ...","Lösche Eintrag %d..." },
140{ "Descriptions","Beschreibungen" }, 140{ "Descriptions","Beschreibungen" },
141{ "Deselect all","Deselektiere Alle" }, 141{ "Deselect all","Deselektiere Alle" },
142{ "Details","Details" }, 142{ "Details","Details" },
143{ "Dinner","Abendessen" }, 143{ "Dinner","Abendessen" },
144{ "Do you really want\nto close KO/Pi?","Möchten Sie wirklich\nKO/PI verlassen?" }, 144{ "Do you really want\nto close KO/Pi?","Möchten Sie wirklich\nKO/PI verlassen?" },
145{ "Due Date","Fällig am" }, 145{ "Due Date","Fällig am" },
146{ "Due: ","Fällig: "}, 146{ "Due: ","Fällig: "},
147{ "Due Time","Fällig um" }, 147{ "Due Time","Fällig um" },
148{ "Due:","Fällig:"}, 148{ "Due:","Fällig:"},
149{ "Duration: ","Dauer: " }, 149{ "Duration: ","Dauer: " },
150{ "Edit...","Bearbeite..." }, 150{ "Edit...","Bearbeite..." },
151{ "Edit","Bearbeite" }, 151{ "Edit","Bearbeite" },
152{ "Edit Event...","Bearbeite Termin..." }, 152{ "Edit Event...","Bearbeite Termin..." },
153{ "Edit Event","Bearbeite Termin" }, 153{ "Edit Event","Bearbeite Termin" },
154{ "Edit exceptions","Bearbeite Ausnahmen" }, 154{ "Edit exceptions","Bearbeite Ausnahmen" },
155{ "EditorBox:","Editor Fenster:" }, 155{ "EditorBox:","Editor Fenster:" },
156{ "Edit Recurrence Range","Bearbeite Wiederholung" }, 156{ "Edit Recurrence Range","Bearbeite Wiederholung" },
157{ "Edit Todo...","Berabeite Todo..." }, 157{ "Edit Todo...","Berabeite Todo..." },
158{ "Edit To-Do","Todo bearbeiten" }, 158{ "Edit To-Do","Todo bearbeiten" },
159{ "E&mail address:","E&mail Adresse:" }, 159{ "E&mail address:","E&mail Adresse:" },
160{ "(EmptyEmail)","(KeineEmail)" }, 160{ "(EmptyEmail)","(KeineEmail)" },
161{ "(EmptyName)","(KeinName)" }, 161{ "(EmptyName)","(KeinName)" },
162{ "Enable Recurrence","Wiederholender Termin" }, 162{ "Enable Recurrence","Wiederholender Termin" },
163{ "End after","Endet nach"}, 163{ "End after","Endet nach"},
164{ "End by:","Endet am"}, 164{ "End by:","Endet am"},
165{ "End Date","End Datum" }, 165{ "End Date","End Datum" },
166{ "End:","Ende:" }, 166{ "End:","Ende:" },
167{ "End Time","End Zeit" }, 167{ "End Time","End Zeit" },
168{ "English","Englisch" }, 168{ "English","Englisch" },
169{ "Event","Termin" }, 169{ "Event","Termin" },
170{ "Event list","Termin Liste" }, 170{ "Event list","Termin Liste" },
171{ "Events","Termine" }, 171{ "Events","Termine" },
172{ "Event Viewer:","Termin Übersicht:" }, 172{ "Event Viewer:","Termin Übersicht:" },
173{ "every","jede" }, 173{ "every","jede" },
174{ "Exceptions...","Ausnahmen..." }, 174{ "Exceptions...","Ausnahmen..." },
175{ "Exceptions","Ausnahmen" }, 175{ "Exceptions","Ausnahmen" },
176{ "Exclude holidays","Ohne freie Tage" }, 176{ "Exclude holidays","Ohne freie Tage" },
177{ "Exclude Saturdays","Ohne Samstage" }, 177{ "Exclude Saturdays","Ohne Samstage" },
178{ "Feb","Feb" }, 178{ "Feb","Feb" },
179{ "February","Februar" }, 179{ "February","Februar" },
180{ "&Find","Suche!" }, 180{ "&Find","Suche!" },
181{ "Fonts","Schriftart" }, 181{ "Fonts","Schriftart" },
182{ "Force take local entry always","Erzwinge:Nimm immer lokalen Eintrag" }, 182{ "Force take local entry always","Erzwinge:Nimm immer lokalen Eintrag" },
183{ "Force take remote entry always","Erzwinge:Nimm immer fernen Eintrag"}, 183{ "Force take remote entry always","Erzwinge:Nimm immer fernen Eintrag"},
184{ "Free","Frei" }, 184{ "Free","Frei" },
185{ "Friday","Freitag" }, 185{ "Friday","Freitag" },
186{ "Fri","Fr" }, 186{ "Fri","Fr" },
187{ "From:","Vom:" }, 187{ "From:","Vom:" },
188{ "Full &name:","Vor- und &Nachname:" }, 188{ "Full &name:","Vor- und &Nachname:" },
189{ "General","Allgemein" }, 189{ "General","Allgemein" },
190{ "German","Deutsch" }, 190{ "German","Deutsch" },
191{ "Gifts","Geschenke" }, 191{ "Gifts","Geschenke" },
192{ "Go to Today","Heute anzeigen" }, 192{ "Go to Today","Heute anzeigen" },
193{ "Help","Hilfe" }, 193{ "Help","Hilfe" },
194{ "Hide Dates","Daten ausblenden" }, 194{ "Hide Dates","Daten ausblenden" },
195{ "Highlight color:","Markierungen:" }, 195{ "Highlight color:","Markierungen:" },
196{ "Holiday color:","Freie Tage:" }, 196{ "Holiday color:","Freie Tage:" },
197{ "hour(s)","Stunde(n)" }, 197{ "hour(s)","Stunde(n)" },
198{ "In %1 days: ","In %1 Tagen: " }, 198{ "In %1 days: ","In %1 Tagen: " },
199{ "Incomplete Todo:","Unerledigte Aufgaben:" }, 199{ "Incomplete Todo:","Unerledigte Aufgaben:" },
200{ "Information","Information" }, 200{ "Information","Information" },
201{ "Invalid search expression,\ncannot perform ","Kann Suche nicht ausführen" }, 201{ "Invalid search expression,\ncannot perform ","Kann Suche nicht ausführen" },
202{ "Jan","Jan" }, 202{ "Jan","Jan" },
203{ "January","Januar" }, 203{ "January","Januar" },
204{ "JournalView:","Journal Ansicht:" }, 204{ "JournalView:","Journal Ansicht:" },
205{ "Journals","Journale" }, 205{ "Journals","Journale" },
206{ "Jul","Jul" }, 206{ "Jul","Jul" },
207{ "July","Juli" }, 207{ "July","Juli" },
208{ "Jump to date","Springe zum Datum" }, 208{ "Jump to date","Springe zum Datum" },
209{ "June","Juni" }, 209{ "June","Juni" },
210{ "Jun","Jun" }, 210{ "Jun","Jun" },
211{ "Key Bindings...","Tastenzuordnung..." }, 211{ "Key Bindings...","Tastenzuordnung..." },
212{ "Kids","Kinder" }, 212{ "Kids","Kinder" },
213{ "Known Problems...","Bekannte Probleme..." }, 213{ "Known Problems...","Bekannte Probleme..." },
214{ "KO/Pi Find ","KO/Pi Suchdialog " }, 214{ "KO/Pi Find ","KO/Pi Suchdialog " },
215{ "KO/Pi Find: ","KO/Pi Suchen: " }, 215{ "KO/Pi Find: ","KO/Pi Suchen: " },
216{ "KO/Pi is starting ... "," KO/Pi startet ... \n... Zeit für eine Kaffeepause ..." }, 216{ "KO/Pi is starting ... "," KO/Pi startet ... \n... Zeit für eine Kaffeepause ..." },
217{ "Language:(needs restart)","Sprache (Neustart!)" }, 217{ "Language:(needs restart)","Sprache (Neustart!)" },
218{ "Language:","Sprache" }, 218{ "Language:","Sprache" },
219{ "Large","Etwas mehr" }, 219{ "Large","Etwas mehr" },
220{ "List View:","Listenansicht:" }, 220{ "List View:","Listenansicht:" },
221{ "List View","Listenansicht" }, 221{ "List View","Listenansicht" },
222{ "Load/Save","Laden/Speichern" }, 222{ "Load/Save","Laden/Speichern" },
223{ "Load Template","Lade Vorlage" }, 223{ "Load Template","Lade Vorlage" },
224{ "Locale","Localisation" }, 224{ "Locale","Localisation" },
225{ "Local temp file:","Lokale temp. Datei:" }, 225{ "Local temp file:","Lokale temp. Datei:" },
226{ "Location: ","Ort: " }, 226{ "Location: ","Ort: " },
227{ "Location:","Ort:" }, 227{ "Location:","Ort:" },
228{ "Mail client","Mail Programm" }, 228{ "Mail client","Mail Programm" },
229{ "Mail Client","Mail Programm" }, 229{ "Mail Client","Mail Programm" },
230{ "March","März" }, 230{ "March","März" },
231{ "Mar","Mär" }, 231{ "Mar","Mär" },
232{ "May","Mai" }, 232{ "May","Mai" },
233{ "M. Bains line:","M. Bains Linie:" }, 233{ "M. Bains line:","M. Bains Linie:" },
234{ "Medium","Medium" }, 234{ "Medium","Medium" },
235{ "Method","Methode" }, 235{ "Method","Methode" },
236{ "minute(s)","Minute(n)" }, 236{ "minute(s)","Minute(n)" },
237{ "Monday","Montag" }, 237{ "Monday","Montag" },
238{ "Mon","Mo" }, 238{ "Mon","Mo" },
239{ "Monthly","Monatlich" }, 239{ "Monthly","Monatlich" },
240{ "Month not long enough","Monat ist nicht lang genug" }, 240{ "Month not long enough","Monat ist nicht lang genug" },
241{ "month(s)","Monat(e)" }, 241{ "month(s)","Monat(e)" },
242{ "Month view:","Monatsansicht:" }, 242{ "Month view:","Monatsansicht:" },
243{ "Month view uses category colors","Monatsansicht zeigt Kategorie Farben" }, 243{ "Month view uses category colors","Monatsansicht zeigt Kategorie Farben" },
244{ "Todo view uses category colors","To-Do Ansicht zeigt Kategorie Farben" }, 244{ "Todo view uses category colors","To-Do Ansicht zeigt Kategorie Farben" },
245{ "Move &Down","Nach unten verschieben" }, 245{ "Move &Down","Nach unten verschieben" },
246{ "Move &Up","Nach oben verschieben" }, 246{ "Move &Up","Nach oben verschieben" },
247{ "Name:","Name:" }, 247{ "Name:","Name:" },
248{ "Name","Name" }, 248{ "Name","Name" },
249{ "\nAre you sure you want\nto delete this event?","\nSind Sie sicher, dass Sie\nden Termin löschen möchten?" }, 249{ "\nAre you sure you want\nto delete this event?","\nSind Sie sicher, dass Sie\nden Termin löschen möchten?" },
250{ "%n Days","%n Tage" }, 250{ "%n Days","%n Tage" },
251{ "Never","Nie" }, 251{ "Never","Nie" },
252{ "New event...","Neuer Termin..." }, 252{ "New event...","Neuer Termin..." },
253{ "New event","Neuer Termin" }, 253{ "New event","Neuer Termin" },
254{ "New Event...","Neuer Termin..." }, 254{ "New Event...","Neuer Termin..." },
255{ "New Events/Todos should","Neue Termine/Todos sollten" }, 255{ "New Events/Todos should","Neue Termine/Todos sollten" },
256{ "&New","&Neu" }, 256{ "&New","&Neu" },
257{ "New","Neu", }, 257{ "New","Neu", },
258{ "New Sub-Todo...","Neues Sub-Todo..." }, 258{ "New Sub-Todo...","Neues Sub-Todo..." },
259{ "New Todo...","Neues Todo..." }, 259{ "New Todo...","Neues Todo..." },
260{ "Next Alarm: ","Nächster Alarm: ", }, 260{ "Next Alarm: ","Nächster Alarm: ", },
261{ "&Next Day","&Nächster Tag", }, 261{ "&Next Day","&Nächster Tag", },
262{ "Next days view uses full window","Nächste-X-Tage nutzt Vollbild" }, 262{ "Next days view uses full window","Nächste-X-Tage nutzt Vollbild" },
263{ "Next month","Nächster Monat" }, 263{ "Next month","Nächster Monat" },
264{ "&Next Week","&Nächste Woche" }, 264{ "&Next Week","&Nächste Woche" },
265{ "Next year","Nächstes Jahr" }, 265{ "Next year","Nächstes Jahr" },
266{ "Next Year","Nächstes Jahr" }, 266{ "Next Year","Nächstes Jahr" },
267{ "%n h","%n Std" }, 267{ "%n h","%n Std" },
268{ "No ending date","Kein End-Datum", }, 268{ "No ending date","Kein End-Datum", },
269{ "No event, nothing to do.","Kein Termin, nichts zu tun.", }, 269{ "No event, nothing to do.","Kein Termin, nichts zu tun.", },
270{ "No event selected.","Kein Termin selektiert" }, 270{ "No event selected.","Kein Termin selektiert" },
271{ "No","Nein" }, 271{ "No","Nein" },
272{ "No program set","Kein Programm ausgewählt", }, 272{ "No program set","Kein Programm ausgewählt", },
273{ "Normal","Normal" }, 273{ "Normal","Normal" },
274{ "[No selection]","Keine Selektion", }, 274{ "[No selection]","Keine Selektion", },
275{ "No sound set","Kein Sound ausgewählt", }, 275{ "No sound set","Kein Sound ausgewählt", },
276{ "no time ","keine Zeit ", }, 276{ "no time ","keine Zeit ", },
277{ "no time","keine Zeit", }, 277{ "no time","keine Zeit", },
278{ "No Time","Keine Zeit" }, 278{ "No Time","Keine Zeit" },
279{ "November","November" }, 279{ "November","November" },
280{ "Nov","Nov", }, 280{ "Nov","Nov", },
281{ "\nThis event recurs\nover multiple dates.\n","\nDieser Termin wiederholt sich an mehreren Tagen.\n" }, 281{ "\nThis event recurs\nover multiple dates.\n","\nDieser Termin wiederholt sich an mehreren Tagen.\n" },
282{ "occurrence(s)","Vorkommen" }, 282{ "occurrence(s)","Vorkommen" },
283{ "October","Oktober" }, 283{ "October","Oktober" },
284{ "Oct","Okt", }, 284{ "Oct","Okt", },
285{ "O-due!","Ü-fällig! " }, 285{ "O-due!","Ü-fällig! " },
286{ "&OK","&OK" }, 286{ "&OK","&OK" },
287{ "Ok+Show!","Ok+Anzeigen" }, 287{ "Ok+Show!","Ok+Anzeigen" },
288{ "Organizer: %1","Organisator %1" }, 288{ "Organizer: %1","Organisator %1" },
289{ "Organizer","Organisator" }, 289{ "Organizer","Organisator" },
290{ "Owner: ","Besitzer: " }, 290{ "Owner: ","Besitzer: " },
291{ "Owner:","Besitzer:" }, 291{ "Owner:","Besitzer:" },
292{ "<p><b>Priority:</b> %2</p>","<p><b>Priorität:</b> %2</p>" }, 292{ "<p><b>Priority:</b> %2</p>","<p><b>Priorität:</b> %2</p>" },
293{ "Pick a date to display","Wähle einen Tag zum anzeigen aus" }, 293{ "Pick a date to display","Wähle einen Tag zum anzeigen aus" },
294{ "Please specify a valid due date.","Bitte gültiges Fälligkeitsdatum angeben."}, 294{ "Please specify a valid due date.","Bitte gültiges Fälligkeitsdatum angeben."},
295{ "Please specify a valid end date,\nfor example '%1'.","Bitte gültiges Enddatum angeben,\nz.B.'%1'." }, 295{ "Please specify a valid end date,\nfor example '%1'.","Bitte gültiges Enddatum angeben,\nz.B.'%1'." },
296{ "Please specify a valid start date.","Bitte gültiges Startdatum angeben." }, 296{ "Please specify a valid start date.","Bitte gültiges Startdatum angeben." },
297{ "Please specify a valid start date,\nfor example '%1'.","Bitte gültiges Startdatum angeben,\nz.B. '%1'." }, 297{ "Please specify a valid start date,\nfor example '%1'.","Bitte gültiges Startdatum angeben,\nz.B. '%1'." },
298{ "Please specify a valid start time.","Bitte gültige Startzeit angeben."}, 298{ "Please specify a valid start time.","Bitte gültige Startzeit angeben."},
299{ "Please specify a valid start time,\nfor example '%1'.","Bitte gültige Startzeit angeben,\nz.B. '%1'." }, 299{ "Please specify a valid start time,\nfor example '%1'.","Bitte gültige Startzeit angeben,\nz.B. '%1'." },
300{ "Preferences - some settings need a restart (nr)","Einstellungen - teilweise Neustart erforderlich (bn)" }, 300{ "Preferences - some settings need a restart (nr)","Einstellungen - teilweise Neustart erforderlich (bn)" },
301{ "&Previous Day","Vorheriger Tag" }, 301{ "&Previous Day","Vorheriger Tag" },
302{ "Previous month","Vorheriger Monat" }, 302{ "Previous month","Vorheriger Monat" },
303{ "Previous Month","Vorheriger Monat" }, 303{ "Previous Month","Vorheriger Monat" },
304{ "&Previous Week","Vorherige Woche" }, 304{ "&Previous Week","Vorherige Woche" },
305{ "Previous year","Vorheriges Jahr" }, 305{ "Previous year","Vorheriges Jahr" },
306{ "Previous Year","Vorheriges Jahr" }, 306{ "Previous Year","Vorheriges Jahr" },
307{ "Printing","Drucken" }, 307{ "Printing","Drucken" },
308{ "Priority:","Priorität:" }, 308{ "Priority:","Priorität:" },
309{ "Private","Privat" }, 309{ "Private","Privat" },
310{ "Proceed","Weiter" }, 310{ "Proceed","Weiter" },
311{ "Public","Öffentlich" }, 311{ "Public","Öffentlich" },
312{ "Purge","Entferne" }, 312{ "Purge","Entferne" },
313{ "Purge Completed","Entferne erledigte ToDos" }, 313{ "Purge Completed","Entferne erledigte ToDos" },
314{ "Purge To-Dos","Todos bereinigen" }, 314{ "Purge To-Dos","Todos bereinigen" },
315{ "read-only","schreibgeschützt" }, 315{ "read-only","schreibgeschützt" },
316{ "Recur every","Wiederh. alle" }, 316{ "Recur every","Wiederh. alle" },
317{ "Recur in the month of","Wiederh. im Monat" }, 317{ "Recur in the month of","Wiederh. im Monat" },
318{ "Recur on the","Wiederh. am" }, 318{ "Recur on the","Wiederh. am" },
319{ "Recur on this day","Wiederh. am diesen Tag" }, 319{ "Recur on this day","Wiederh. am diesen Tag" },
320{ "Recurrence Range...","Wiederholungs Zeitraum..." }, 320{ "Recurrence Range...","Wiederholungs Zeitraum..." },
321{ "Recurrence Range","Wiederholungs Zeitraum" }, 321{ "Recurrence Range","Wiederholungs Zeitraum" },
322{ "Recurrence Rule","Wiederholungs Regel" }, 322{ "Recurrence Rule","Wiederholungs Regel" },
323{ "Recurrence","Wiederholung" }, 323{ "Recurrence","Wiederholung" },
324{ "Recurs","Wiederholung" }, 324{ "Recurs","Wiederholung" },
325{"&Reject","Abweisen"}, 325{"&Reject","Abweisen"},
326{ "Reminder:","Alarm:" }, 326{ "Reminder:","Alarm:" },
327{ "Rem.:","Alarm:" }, 327{ "Rem.:","Alarm:" },
328{ "Rem.","Alarm:" }, 328{ "Rem.","Alarm:" },
329{ "Remote file:","Remote Datei:"}, 329{ "Remote file:","Remote Datei:"},
330{ "Remote IP:","Remote (ferne) IP:" }, 330{ "Remote IP:","Remote (ferne) IP:" },
331{ "Remote syncing (via ssh/scp) network settings ","Remote Sync (via ssh/scp) Netzwerk Einstellungen " }, 331{ "Remote syncing (via ssh/scp) network settings ","Remote Sync (via ssh/scp) Netzwerk Einstellungen " },
332{ "Remote user:","Remote Benutzer"}, 332{ "Remote user:","Remote Benutzer"},
333{ "&Remove","Entfe&rnen" }, 333{ "&Remove","Entfe&rnen" },
334{ "Remove","Entfernen" }, 334{ "Remove","Entfernen" },
335{ "Request response","Bemerkung anfordern" }, 335{ "Request response","Bemerkung anfordern" },
336{ "Role:","Rolle:" }, 336{ "Role:","Rolle:" },
337{ "Role","Rolle" }, 337{ "Role","Rolle" },
338{ "Sat","Sa" }, 338{ "Sat","Sa" },
339{ "Saturday","Samstag" }, 339{ "Saturday","Samstag" },
340{ "Search for:","Suche nach:" }, 340{ "Search for:","Suche nach:" },
341{ "Search In","Suche in" }, 341{ "Search In","Suche in" },
342{ "Search...","Suche..." }, 342{ "Search...","Suche..." },
343{ "Search","Suche" }, 343{ "Search","Suche" },
344{ "Select Addresses","Wähle Adressen" }, 344{ "Select Addresses","Wähle Adressen" },
345{ "Select all","Selektiere Alle" }, 345{ "Select all","Selektiere Alle" },
346{ "Select a month","Wähle Monat" }, 346{ "Select a month","Wähle Monat" },
347{ "Select a week","Wähle Woche" }, 347{ "Select a week","Wähle Woche" },
348{ "Select a year","Wähle Jahr" }, 348{ "Select a year","Wähle Jahr" },
349{ "Send directly","Sende direkt" }, 349{ "Send directly","Sende direkt" },
350{ "&Send Messages","&Sende Nachrichten", }, 350{ "&Send Messages","&Sende Nachrichten", },
351{ "Sep","Sep" }, 351{ "Sep","Sep" },
352{ "September","September" }, 352{ "September","September" },
353{ "Shopping","Einkaufen" }, 353{ "Shopping","Einkaufen" },
354{ "Use short date in (WN/E) view","Kurzdatum in (WN/Termin) Ansicht" },
355{ "Show Dates","Zeige Daten" }, 354{ "Show Dates","Zeige Daten" },
356{ "Show events that recur daily in date nav.","Zeige tägl.wiederh.Term.in Datums Nav." }, 355{ "Show events that recur daily in date nav.","Zeige tägl.wiederh.Term.in Datums Nav." },
357{ "Show Event...","Zeige Termin..." }, 356{ "Show Event...","Zeige Termin..." },
358{ "Show ev. that recur weekly in date nav.","Zeige wöch.wiederh.Term.in Datums Nav." }, 357{ "Show ev. that recur weekly in date nav.","Zeige wöch.wiederh.Term.in Datums Nav." },
359{ "Show Marcus Bains line","Zeige Marcus Bains Linie" }, 358{ "Show Marcus Bains line","Zeige Marcus Bains Linie" },
360{ "Show summary after syncing","Zeige Zusammenfassung nach Sync." }, 359{ "Show summary after syncing","Zeige Zusammenfassung nach Sync." },
361{ "Show time as:","Zeige Zeit als" }, 360{ "Show time as:","Zeige Zeit als" },
362{ "Show Todo...","Zeige To-Do" }, 361{ "Show Todo...","Zeige To-Do" },
363{ "Show topmost todo prios in What's N.:","Anz. höchster Prios in What's N.:"},
364{ "Show topmost todo prios in What's Next:","Anz. höchster Prios in What's Next:"},
365{ "Show vertical screen (Needs restart)","Vertikaler Bildschirm-Layout (Neustart!)" }, 362{ "Show vertical screen (Needs restart)","Vertikaler Bildschirm-Layout (Neustart!)" },
366{ "&Show","Zeige" }, 363{ "&Show","Zeige" },
367{ "Show...","Zeige..." }, 364{ "Show...","Zeige..." },
368{ "Show","Zeige" }, 365{ "Show","Zeige" },
369{ "Small","Klein" }, 366{ "Small","Klein" },
370{ "Sorry","Entschuldigung" }, 367{ "Sorry","Entschuldigung" },
371{"Sorry, the copy command failed!\nCommand was:\n","Der Kopierbefehl schlug fehl!\nBefehl war:\n"}, 368{"Sorry, the copy command failed!\nCommand was:\n","Der Kopierbefehl schlug fehl!\nBefehl war:\n"},
372{ "Start:","Start:" }, 369{ "Start:","Start:" },
373{ "Start Date","Start Datum" }, 370{ "Start Date","Start Datum" },
374{ "Start date: %1","Start Datum: %1" }, 371{ "Start date: %1","Start Datum: %1" },
375{ "Start Time","Start Zeit" }, 372{ "Start Time","Start Zeit" },
376{ "Status:","Status:" }, 373{ "Status:","Status:" },
377{ "Status","Status:" }, 374{ "Status","Status:" },
378{ "Summaries","Titel" }, 375{ "Summaries","Titel" },
379{ "Summary:","Titel:" }, 376{ "Summary:","Titel:" },
380{ "Summary","Titel" }, 377{ "Summary","Titel" },
381{ "Sunday","Sonntag" }, 378{ "Sunday","Sonntag" },
382{ "Sun","So" }, 379{ "Sun","So" },
383{ "Sync preferences:","Sync Einstellungen" }, 380{ "Sync preferences:","Sync Einstellungen" },
384{ "Sync Prefs","Sync Einstellungen" }, 381{ "Sync Prefs","Sync Einstellungen" },
385{ "Syncronize","Daten abgleich" }, 382{ "Syncronize","Daten abgleich" },
386{ "Take local entry on conflict","Nimm lokalen Eintrag beim Konflikt" }, 383{ "Take local entry on conflict","Nimm lokalen Eintrag beim Konflikt" },
387{ "Take newest entry on conflict","Nimm neuesten Eintrag beim Konflikt" }, 384{ "Take newest entry on conflict","Nimm neuesten Eintrag beim Konflikt" },
388{ "Take remote entry on conflict","Nimm fernen Eintrag beim Konflikt" }, 385{ "Take remote entry on conflict","Nimm fernen Eintrag beim Konflikt" },
389{ "Template '%1' does not contain a valid Todo.","Template '%1' enthält kein gültiges To-Do" }, 386{ "Template '%1' does not contain a valid Todo.","Template '%1' enthält kein gültiges To-Do" },
390{ "Template does not contain a valid Event.","Template '%1' enthält keinen gültigen Termin" }, 387{ "Template does not contain a valid Event.","Template '%1' enthält keinen gültigen Termin" },
391{ "Template...","Vorlage..." }, 388{ "Template...","Vorlage..." },
392{ "This day","Dieser Tag" }, 389{ "This day","Dieser Tag" },
393{ "This is an experimental feature. ","Dieses Feature ist experimentel" }, 390{ "This is an experimental feature. ","Dieses Feature ist experimentel" },
394{ "This item will be\npermanently deleted.","Dieser Eintrag wird\nkomplett gelöscht." }, 391{ "This item will be\npermanently deleted.","Dieser Eintrag wird\nkomplett gelöscht." },
395{ "This item will be permanently deleted.", "Dieser Eintrag wird komplett gelöscht." }, 392{ "This item will be permanently deleted.", "Dieser Eintrag wird komplett gelöscht." },
396{ "Thu","Do" }, 393{ "Thu","Do" },
397{ "Thursday","Donnerstag" }, 394{ "Thursday","Donnerstag" },
398{ "Time associated","Mit Zeit" }, 395{ "Time associated","Mit Zeit" },
399{ "Time bar:","Uhrzeit Zeile:" }, 396{ "Time bar:","Uhrzeit Zeile:" },
400{ "Time && Date","Zeit und Datum" }, 397{ "Time && Date","Zeit und Datum" },
401{ "Time Format","Zeit Format" }, 398{ "Time Format","Zeit Format" },
402{ "Time Format(nr):","Zeit Format(Neustart!)" }, 399{ "Time Format(nr):","Zeit Format(Neustart!)" },
403{ "Date Labels:","Datumsleiste:" }, 400{ "Date Labels:","Datumsleiste:" },
404{ "Time: ","Zeit: " }, 401{ "Time: ","Zeit: " },
405{ "Timezone:","Zeitzone:" }, 402{ "Timezone:","Zeitzone:" },
406{ "To: ","Bis: " }, 403{ "To: ","Bis: " },
407{ "To:","Bis:" }, 404{ "To:","Bis:" },
408{ "Today: ","Heute: " }, 405{ "Today: ","Heute: " },
409{ "Todo due today color:","Heute fällige To-Do's" }, 406{ "Todo due today color:","Heute fällige To-Do's" },
410{ "To-do items:","To-Do items:" }, 407{ "To-do items:","To-Do items:" },
411{ "Todo overdue color:","Überfällige To-Do's" }, 408{ "Todo overdue color:","Überfällige To-Do's" },
412{ "Todo","Todo" }, 409{ "Todo","Todo" },
413{ "To-do view shows completed Todos","To-do Ansicht zeigt erledigte To-dos" }, 410{ "To-do view shows completed Todos","To-do Ansicht zeigt erledigte To-dos" },
414{ "ToDoView:","Todo Ansicht:" }, 411{ "ToDoView:","Todo Ansicht:" },
415{ "Toggle Alarm","Wechsle Alarm" }, 412{ "Toggle Alarm","Wechsle Alarm" },
416{ "Toggle Allday","Umschalten Ganztag" }, 413{ "Toggle Allday","Umschalten Ganztag" },
417{ "Tomorrow: ","Morgen: " }, 414{ "Tomorrow: ","Morgen: " },
418{ "Tue","Di" }, 415{ "Tue","Di" },
419{ "Tuesday","Dienstag" }, 416{ "Tuesday","Dienstag" },
420{ "Two entries are in conflict, if: ","Zwei Einträge haben einen Konflikt, wenn:" }, 417{ "Two entries are in conflict, if: ","Zwei Einträge haben einen Konflikt, wenn:" },
421{ "Unable to find template '%1'.","Kann Vorlage '%1' nicht finden." }, 418{ "Unable to find template '%1'.","Kann Vorlage '%1' nicht finden." },
422{ "Unknown","Unbekannt" }, 419{ "Unknown","Unbekannt" },
423{ "Up","Hinauf" }, 420{ "Up","Hinauf" },
424{ "Use password (if not, ask when syncing)","Passwort: (sonst jedesmal anfragen)" }, 421{ "Use password (if not, ask when syncing)","Passwort: (sonst jedesmal anfragen)" },
425{ "User defined","Benutzerdefiniert" }, 422{ "User defined","Benutzerdefiniert" },
426{ "User long date:","Format langes Datum:" }, 423{ "User long date:","Format langes Datum:" },
427{ "User short date:","Forma kurzes Datum:" }, 424{ "User short date:","Forma kurzes Datum:" },
428{ "View","Ansicht" }, 425{ "View","Ansicht" },
429{ "View Fonts","Schriftarten Ansichten" }, 426{ "View Fonts","Schriftarten Ansichten" },
430{ "Views","Ansichten" }, 427{ "Views","Ansichten" },
431{ "Wed","Mi" }, 428{ "Wed","Mi" },
432{ "Wednesday","Mittwoch" }, 429{ "Wednesday","Mittwoch" },
433{ "Week %1","Woche %1" }, 430{ "Week %1","Woche %1" },
434{ "Weekly","Wöchentlich" }, 431{ "Weekly","Wöchentlich" },
435{ "Week starts on Sunday","Woche beginnt Sonntags" }, 432{ "Week starts on Sunday","Woche beginnt Sonntags" },
436{ "What's Next View:","What's Next Anz." }, 433{ "What's Next View:","What's Next Anz." },
437{ "What's next ?","Was kommt als nächstes?(What's Next)" }, 434{ "What's next ?","Was kommt als nächstes?(What's Next)" },
438{ "Working Hours","Tägliche Arbeitszeit" }, 435{ "Working Hours","Tägliche Arbeitszeit" },
439{ "Working hours color:","Arbeitszeit in der Agenda Ansicht:" }, 436{ "Working hours color:","Arbeitszeit in der Agenda Ansicht:" },
440{ "Write back existing entries only","Nur exisitierende Einträge zurückschreiben" }, 437{ "Write back existing entries only","Nur exisitierende Einträge zurückschreiben" },
441{ "Write back synced file","Syncronisierte Datei zurückschreiben" }, 438{ "Write back synced file","Syncronisierte Datei zurückschreiben" },
442{ "Yearly","Jährlich" }, 439{ "Yearly","Jährlich" },
443{ "year(s)","Jahr(e)" }, 440{ "year(s)","Jahr(e)" },
444{ "Yes","Ja" }, 441{ "Yes","Ja" },
445{ "You have %d item(s) selected.\n","Sie haben %d Einträge ausgewählt.\n" }, 442{ "You have %d item(s) selected.\n","Sie haben %d Einträge ausgewählt.\n" },
446{ "You have to restart KOrganizer for this setting to take effect.","Sie müssem Korganizer neu starten, damit diese Einstellung aktiviert wird." }, 443{ "You have to restart KOrganizer for this setting to take effect.","Sie müssem Korganizer neu starten, damit diese Einstellung aktiviert wird." },
447{ "week(s) on:","Woche(n) am: " }, 444{ "week(s) on:","Woche(n) am: " },
448{ "Full menu bar(nr)","Volle Menuleiste(bn)" }, 445{ "Full menu bar(nr)","Volle Menuleiste(bn)" },
449{ "Timezone has daylight saving","Zeitzone hat Sommerzeit" }, 446{ "Timezone has daylight saving","Zeitzone hat Sommerzeit" },
450{ "Actual start and end is the\nsunday before this date.","Tatsächlicher Beginn/Ende ist der\nSonntag vor diesem Datum!" }, 447{ "Actual start and end is the\nsunday before this date.","Tatsächlicher Beginn/Ende ist der\nSonntag vor diesem Datum!" },
451{ "The year in the date is ignored.","Das Jahr vom Datum wird ignoriert." }, 448{ "The year in the date is ignored.","Das Jahr vom Datum wird ignoriert." },
452{ "Daylight start:","Sommerzeit Beginn:" }, 449{ "Daylight start:","Sommerzeit Beginn:" },
453{ "Daylight end:","Sommerzeit Ende:" }, 450{ "Daylight end:","Sommerzeit Ende:" },
454{ "Time Zone","Zeitzone" }, 451{ "Time Zone","Zeitzone" },
455{ "Monday 19 April 2004: %A %d %B %Y","Montag 19 April 2004: %A %d %B %Y" }, 452{ "Monday 19 April 2004: %A %d %B %Y","Montag 19 April 2004: %A %d %B %Y" },
456{ "%A: Monday --- %a: Mon","%A: Montag --- %a: Mon" }, 453{ "%A: Monday --- %a: Mon","%A: Montag --- %a: Mon" },
457{ "minutely","minütlich" }, 454{ "minutely","minütlich" },
458{ "hourly","stündlich" }, 455{ "hourly","stündlich" },
459{ "daily","täglich" }, 456{ "daily","täglich" },
460{ "weekly","wöchentlich" }, 457{ "weekly","wöchentlich" },
461{ "monthly","monatlich" }, 458{ "monthly","monatlich" },
462{ "day-monthly","tag-monatlich" }, 459{ "day-monthly","tag-monatlich" },
463{ "month-yearly","monat-jährlich" }, 460{ "month-yearly","monat-jährlich" },
464{ "day-yearly","tag-jährlich" }, 461{ "day-yearly","tag-jährlich" },
465{ "position-yearly","pos-jährlich" }, 462{ "position-yearly","pos-jährlich" },
466{ "Edit item on doubleclick (if not, show)","Editiere mit Doppelklick(wenn nicht, zeige)" }, 463{ "Edit item on doubleclick (if not, show)","Editiere mit Doppelklick(wenn nicht, zeige)" },
467{ "Highlight current day in agenda","Hebe >>heute<< in Agenda hervor" }, 464{ "Highlight current day in agenda","Hebe >>heute<< in Agenda hervor" },
468{ "Use light color for highlight current day","Helle Farbe für >>heute<< Hervorhebung" }, 465{ "Use light color for highlight current day","Helle Farbe für >>heute<< Hervorhebung" },
469{ "Highlight selection in Time Edit","Hebe Auswahl in Zeit Edit hervor" }, 466{ "Highlight selection in Time Edit","Hebe Auswahl in Zeit Edit hervor" },
470{ "Hold fullscreen on view change","Behalte Vollbild bei Ansichswechsel" }, 467{ "Hold fullscreen on view change","Behalte Vollbild bei Ansichswechsel" },
471{ "Hold non-fullscreen on view change","Behalte Nicht-Vollbild bei Ansichtsw." }, 468{ "Hold non-fullscreen on view change","Behalte Nicht-Vollbild bei Ansichtsw." },
472{ "Event list view uses full window","Listenansicht nutzt Vollbild" }, 469{ "Event list view uses full window","Listenansicht nutzt Vollbild" },
473{ "Set agenda to DayBeginsAt on change","Setze Agenda auf TagBeginntUm bei Wechsel" }, 470{ "Set agenda to DayBeginsAt on change","Setze Agenda auf TagBeginntUm bei Wechsel" },
474{ "Set agenda to current time on change","Setze Agenda auf gegenw.Zeit bei Wechsel" }, 471{ "Set agenda to current time on change","Setze Agenda auf gegenw.Zeit bei Wechsel" },
475{ "Listview uses monthly timespan","Listenansicht zeigt monatliche Zeitspanne" }, 472{ "Listview uses monthly timespan","Listenansicht zeigt monatliche Zeitspanne" },
476{ "ViewChange","Ansichtswechsel" }, 473{ "ViewChange","Ansichtswechsel" },
477{ "Default alarm *.wav file:","Standard Alarm *.wav Datei:" }, 474{ "Default alarm *.wav file:","Standard Alarm *.wav Datei:" },
478{ "This setting is useless for 5500 user!","Diese Einst. ist nutzlos für 5500 Nutzer" }, 475{ "This setting is useless for 5500 user!","Diese Einst. ist nutzlos für 5500 Nutzer" },
479{ "File","Datei" }, 476{ "File","Datei" },
480{ "Clone...","Dupliziere.." }, 477{ "Clone...","Dupliziere.." },
481{ "Move...","Bewege..." }, 478{ "Move...","Bewege..." },
482{ "Beam...","Sende via IR..." }, 479{ "Beam...","Sende via IR..." },
483{ "&Clone...","Dupliziere.." }, 480{ "&Clone...","Dupliziere.." },
484{ "&Move...","Bewege..." }, 481{ "&Move...","Bewege..." },
485{ "&Beam...","Sende via IR..." }, 482{ "&Beam...","Sende via IR..." },
486{ "Show Completed","Zeige erledigte Todos" }, 483{ "Show Completed","Zeige erledigte Todos" },
487{ "Show Quick Todo","Zeige Quick Todo" }, 484{ "Show Quick Todo","Zeige Quick Todo" },
488{ "Unparent Todo","Un-sub Todo" }, 485{ "Unparent Todo","Un-sub Todo" },
489{ "Save selected to file...","Speichere Selektierte..." }, 486{ "Save selected to file...","Speichere Selektierte..." },
490{ "Add Categ. to selected...","Füge zu Selekt. Kateg. hinzu..." }, 487{ "Add Categ. to selected...","Füge zu Selekt. Kateg. hinzu..." },
491{ "Set Categ. for selected...","Setze Kateg. für Selekt." }, 488{ "Set Categ. for selected...","Setze Kateg. für Selekt." },
492{ "Beam selected via IR","Sende Selekt. via IR..." }, 489{ "Beam selected via IR","Sende Selekt. via IR..." },
493{ "Search","Suchen" }, 490{ "Search","Suchen" },
494{ "Date Picker","Datum auswählen" }, 491{ "Date Picker","Datum auswählen" },
495{ "Day View","Tagesansicht" }, 492{ "Day View","Tagesansicht" },
496{ "Work Week","Arbeitswoche" }, 493{ "Work Week","Arbeitswoche" },
497{ "Week","Wochenansicht" }, 494{ "Week","Wochenansicht" },
498{ "Month","Monatsansicht" }, 495{ "Month","Monatsansicht" },
499{ "Todo View","Todo Liste" }, 496{ "Todo View","Todo Liste" },
500{ "Journal","Journal Ansicht" }, 497{ "Journal","Journal Ansicht" },
501{ "Next days","Nächste Tage" }, 498{ "Next days","Nächste Tage" },
502{ "Print agenda selection...","Drucke Agendaselektion..." }, 499{ "Print agenda selection...","Drucke Agendaselektion..." },
503{ "Toggle DateNavigator","Navigator umschalten" }, 500{ "Toggle DateNavigator","Navigator umschalten" },
504{ "Toggle FilterView","Filteransicht umschalten" }, 501{ "Toggle FilterView","Filteransicht umschalten" },
505{ "Prev. month","Vorheriger Monat" }, 502{ "Prev. month","Vorheriger Monat" },
506{ "Go backward","Gehe zurück" }, 503{ "Go backward","Gehe zurück" },
507{ "Go forward","Gehe weiter" }, 504{ "Go forward","Gehe weiter" },
508{ "Synchronize","Synchronisieren" }, 505{ "Synchronize","Synchronisieren" },
509{ "AgendaSize","Agendagröße" }, 506{ "AgendaSize","Agendagröße" },
510{ "Import (*.ics/*.vcs) file","Importiere (*.ics/*.vcs) Datei" }, 507{ "Import (*.ics/*.vcs) file","Importiere (*.ics/*.vcs) Datei" },
511{ "Import last file","Importiere letzte Datei" }, 508{ "Import last file","Importiere letzte Datei" },
512{ "Import Opie/Qtopia Cal.","Importiere Opie/Qtopia Kal." }, 509{ "Import Opie/Qtopia Cal.","Importiere Opie/Qtopia Kal." },
513{ "Load Calendar Backup","Lade Kalender Backup" }, 510{ "Load Calendar Backup","Lade Kalender Backup" },
514{ "Save Calendar Backup","Speichere Kalender Backup" }, 511{ "Save Calendar Backup","Speichere Kalender Backup" },
515{ "Export VCalendar","Exportiere VCalendar" }, 512{ "Export VCalendar","Exportiere VCalendar" },
516{ "Manage new categories...","Verwalte neue Kategorien..." }, 513{ "Manage new categories...","Verwalte neue Kategorien..." },
517{ "Beam complete calendar...","Sende kompletten Kalender via IR" }, 514{ "Beam complete calendar...","Sende kompletten Kalender via IR" },
518{ "Beam filtered calendar...","Sende gefilterten Kalender via IR" }, 515{ "Beam filtered calendar...","Sende gefilterten Kalender via IR" },
519{ "Remote via ssh","Über Netzwerk via ssh" }, 516{ "Remote via ssh","Über Netzwerk via ssh" },
520{ "With local file","Mit lokaler Datei" }, 517{ "With local file","Mit lokaler Datei" },
521{ "With last file","Mit letzter Datei" }, 518{ "With last file","Mit letzter Datei" },
522{ "KO/Pi: Ready for beaming","KO/Pi: Bereit zum Senden" }, 519{ "KO/Pi: Ready for beaming","KO/Pi: Bereit zum Senden" },
523{ "KO/Pi:Beaming done","KO/Pi: Senden erfolgt" }, 520{ "KO/Pi:Beaming done","KO/Pi: Senden erfolgt" },
524{ "Save filename","Speichern: Dateinamen wählen" }, 521{ "Save filename","Speichern: Dateinamen wählen" },
525{ "File already exists!\nOld file from:\n%1\nOverwrite?\n","Dateiname existiert bereits!\nAlte Datei vom:\n%1\nÜberschreiben?\n" }, 522{ "File already exists!\nOld file from:\n%1\nOverwrite?\n","Dateiname existiert bereits!\nAlte Datei vom:\n%1\nÜberschreiben?\n" },
526{ "KO/Pi: Warning!","KO/Pi: Warnung!" }, 523{ "KO/Pi: Warning!","KO/Pi: Warnung!" },
527{ "Overwrite!","Überschreibe!" }, 524{ "Overwrite!","Überschreibe!" },
528{ "KO/Pi:Saved %1","KO/Pi:Gespeichert %1" }, 525{ "KO/Pi:Saved %1","KO/Pi:Gespeichert %1" },
529{ "All selected items will be\npermanently deleted.\n(Deleting items will take\nsome time on a PDA)\n","Alle selektierten Einträge werden\nunwiederbringlich gelöscht.\n(Löschen kann auf dem\nPDA einige Zeit dauern)\n" }, 526{ "All selected items will be\npermanently deleted.\n(Deleting items will take\nsome time on a PDA)\n","Alle selektierten Einträge werden\nunwiederbringlich gelöscht.\n(Löschen kann auf dem\nPDA einige Zeit dauern)\n" },
530{ "KO/Pi Confirmation","KO/Pi Bestätigung" }, 527{ "KO/Pi Confirmation","KO/Pi Bestätigung" },
531{ "Close dialog to abort deletion!","Schließe Dialog um das Löschen abzubrechen!" }, 528{ "Close dialog to abort deletion!","Schließe Dialog um das Löschen abzubrechen!" },
532{ "Deleting item %d ...","Lösche Eintrag %d ..." }, 529{ "Deleting item %d ...","Lösche Eintrag %d ..." },
533{ "%d items remaining in list.","%d Einträge sind in der Liste verblieben." }, 530{ "%d items remaining in list.","%d Einträge sind in der Liste verblieben." },
534{ "Size","Größe" }, 531{ "Size","Größe" },
535{ "Date","Datum" }, 532{ "Date","Datum" },
536{ "Mime Type","Datei Typ" }, 533{ "Mime Type","Datei Typ" },
537{ "All Files","Alle Dateien" }, 534{ "All Files","Alle Dateien" },
538{ "Files","Dateien" }, 535{ "Files","Dateien" },
539{ "Documents","DoKumente" }, 536{ "Documents","DoKumente" },
540{ "Select Categories","Selektiere Kategorien" }, 537{ "Select Categories","Selektiere Kategorien" },
541{ " &Deselect All "," Auswahl aufheben " }, 538{ " &Deselect All "," Auswahl aufheben " },
542{ "A&dd","Hinzu" }, 539{ "A&dd","Hinzu" },
543{ "&Modify","Ändern" }, 540{ "&Modify","Ändern" },
544{ "Edit Categories","Editiere Kategorien" }, 541{ "Edit Categories","Editiere Kategorien" },
545{ " &Edit Categories "," &Editiere Kategorien " }, 542{ " &Edit Categories "," &Editiere Kategorien " },
546{ "Beam Options","Beam Einstellungen" }, 543{ "Beam Options","Beam Einstellungen" },
547{ " With timezone "," Mit Zeitzone " }, 544{ " With timezone "," Mit Zeitzone " },
548{ " Local time ", " Lokale Zeit " }, 545{ " Local time ", " Lokale Zeit " },
549{ "Manage new Categories","Verwalte neue Kategorien" }, 546{ "Manage new Categories","Verwalte neue Kategorien" },
550{ "Add to category list","Füge zur Kategorieliste hinzu" }, 547{ "Add to category list","Füge zur Kategorieliste hinzu" },
551{ "Remove from Events/Todos","Entferne von Terminen/Todos" }, 548{ "Remove from Events/Todos","Entferne von Terminen/Todos" },
552{ "After importing/loading/syncing\nthere may be new categories in\nevents or todos\nwhich are not in the category list.\nPlease choose what to do:\n ","Nach dem Importieren/Laden/Syncen\nkann es neue Kategorien in den \nTerminen oder Todos geben, die nicht\nin der Kategorieliste enthalten sind.\nBitte wählen Sie, was passieren soll:\n " }, 549{ "After importing/loading/syncing\nthere may be new categories in\nevents or todos\nwhich are not in the category list.\nPlease choose what to do:\n ","Nach dem Importieren/Laden/Syncen\nkann es neue Kategorien in den \nTerminen oder Todos geben, die nicht\nin der Kategorieliste enthalten sind.\nBitte wählen Sie, was passieren soll:\n " },
553{ "New categories not in list:","Kategorien, die nicht in der Liste sind:" }, 550{ "New categories not in list:","Kategorien, die nicht in der Liste sind:" },
554{ "File format","Datei Format" }, 551{ "File format","Datei Format" },
555{ "Time format","Zeit Format" }, 552{ "Time format","Zeit Format" },
556{ "Delete all\ncompleted To-Dos?","Lösche alle\nerledigten To-Dos?" }, 553{ "Delete all\ncompleted To-Dos?","Lösche alle\nerledigten To-Dos?" },
557{ "KO/Pi:Saving Data to File ...","KO/Pi: Speichere Kalender in Datei ..." }, 554{ "KO/Pi:Saving Data to File ...","KO/Pi: Speichere Kalender in Datei ..." },
558{ "KO/Pi:File Saved. Needed %d sec, %d ms","KO/Pi: Abgespeichert in %d sec, %d ms" }, 555{ "KO/Pi:File Saved. Needed %d sec, %d ms","KO/Pi: Abgespeichert in %d sec, %d ms" },
559{ "h","Std" }, 556{ "h","Std" },
560{ "min","Min" }, 557{ "min","Min" },
561{ "hou","Std" }, 558{ "hou","Std" },
562{ "day","Tag" }, 559{ "day","Tag" },
563{ "French","Französich" }, 560{ "French","Französich" },
564{ "Time","Zeit" }, 561{ "Time","Zeit" },
565{ "Event Viewer","Termin Ansicht" }, 562{ "Event Viewer","Termin Ansicht" },
566{ "Cancel Sync","Sync Abbrechen" }, 563{ "Cancel Sync","Sync Abbrechen" },
567{ "Remote","Fern" }, 564{ "Remote","Fern" },
568{ "Local","Lokal" }, 565{ "Local","Lokal" },
569{ "Conflict! Please choose entry","Konflikt! Bitte Eintrag wählen" }, 566{ "Conflict! Please choose entry","Konflikt! Bitte Eintrag wählen" },
570{ "Local: ","Lokal: " }, 567{ "Local: ","Lokal: " },
571{ "Remote: ","Fern: " }, 568{ "Remote: ","Fern: " },
572{ "Last modified: ","Zuletzt geändert: " }, 569{ "Last modified: ","Zuletzt geändert: " },
573{ "Location: ","Ort: " }, 570{ "Location: ","Ort: " },
574{ "<p><b>From:</b> %1 </p><p><b>To:</b> %2</p>","<p><b>Von:</b> %1 </p><p><b>Bis:</b> %2</p>" }, 571{ "<p><b>From:</b> %1 </p><p><b>To:</b> %2</p>","<p><b>Von:</b> %1 </p><p><b>Bis:</b> %2</p>" },
575{ "<p><b>On:</b> %1</p>","<p><b>Am:</b> %1</p>" }, 572{ "<p><b>On:</b> %1</p>","<p><b>Am:</b> %1</p>" },
576{ "<p><b>From:</b> %1</p> ","<p><b>Von:</b> %1</p> " }, 573{ "<p><b>From:</b> %1</p> ","<p><b>Von:</b> %1</p> " },
577{ "<p><b>To:</b> %1</p>","<p><b>Bis:</b> %1</p>" }, 574{ "<p><b>To:</b> %1</p>","<p><b>Bis:</b> %1</p>" },
578{ "<p><b>On:</b> %1</p> ","<p><b>Am:</b> %1</p> " }, 575{ "<p><b>On:</b> %1</p> ","<p><b>Am:</b> %1</p> " },
579{ "<p><b>From:</b> %1 <b>To:</b> %2</p>","<p><b>Von:</b> %1 <b>Bis:</b> %2</p>" }, 576{ "<p><b>From:</b> %1 <b>To:</b> %2</p>","<p><b>Von:</b> %1 <b>Bis:</b> %2</p>" },
580{ "This is a %1 recurring event.","Das ist ein %1 wiederholender Termin." }, 577{ "This is a %1 recurring event.","Das ist ein %1 wiederholender Termin." },
581{ "<b>Next recurrence is on:</b>","<b>Nächste Wiederholung ist am:</b>" }, 578{ "<b>Next recurrence is on:</b>","<b>Nächste Wiederholung ist am:</b>" },
582{ "<b>Last recurrence was on:</b>","<b>Letzte Wiederholung war am:</b>" }, 579{ "<b>Last recurrence was on:</b>","<b>Letzte Wiederholung war am:</b>" },
583{ "( %1 min before )","( %1 min vorher )" }, 580{ "( %1 min before )","( %1 min vorher )" },
584{ "<b>Alarm on: ","<b>Alarm am: " }, 581{ "<b>Alarm on: ","<b>Alarm am: " },
585{ "<b>Details: </b>","<b>Details: </b>" }, 582{ "<b>Details: </b>","<b>Details: </b>" },
586{ "<p><b>Priority:</b> %2</p>","<p><b>Priorität:</b> %2</p>" }, 583{ "<p><b>Priority:</b> %2</p>","<p><b>Priorität:</b> %2</p>" },
587{ "<p><i>%1 % completed</i></p>","<p><i>%1 % erledigt</i></p>" }, 584{ "<p><i>%1 % completed</i></p>","<p><i>%1 % erledigt</i></p>" },
588{ "Organizer","Organisator" }, 585{ "Organizer","Organisator" },
589{ "Save","Speichern" }, 586{ "Save","Speichern" },
590{ "Exit (+save)","Beenden (+ speichern)" }, 587{ "Exit (+save)","Beenden (+ speichern)" },
591{ "Home","Zuhause" }, 588{ "Home","Zuhause" },
592{ "Office","Büro" }, 589{ "Office","Büro" },
593{ "Libary","Bücherei" }, 590{ "Libary","Bücherei" },
594{ "Doctor","Arzt" }, 591{ "Doctor","Arzt" },
595{ "Beach","Strand" }, 592{ "Beach","Strand" },
596{ "Conference room","Konferenzraum" }, 593{ "Conference room","Konferenzraum" },
597{ "Drive Home","Heimfahrt" }, 594{ "Drive Home","Heimfahrt" },
598{ "Watch TV","Tv gucken" }, 595{ "Watch TV","Tv gucken" },
599{ "Phone call","Telefonanruf" }, 596{ "Phone call","Telefonanruf" },
600{ "Pay bill","Rechnung bezahlen" }, 597{ "Pay bill","Rechnung bezahlen" },
601{ "Read book","Buch lesen" }, 598{ "Read book","Buch lesen" },
602{ "Watering plants","Pflanzen giessen" }, 599{ "Watering plants","Pflanzen giessen" },
603{"Appointment","Verabredung" }, 600{"Appointment","Verabredung" },
604{"Birthday","Geburtstag" }, 601{"Birthday","Geburtstag" },
605{"Business","Geschäft" }, 602{"Business","Geschäft" },
606{"Business Travel","Geschäftsreise" }, 603{"Business Travel","Geschäftsreise" },
607{"Cinema","Kino" }, 604{"Cinema","Kino" },
608{"Customer","Kunde" }, 605{"Customer","Kunde" },
609{"Break","Pause" }, 606{"Break","Pause" },
610{"Breakfast","Frühstück" }, 607{"Breakfast","Frühstück" },
611{"Competition","Wettkampf" }, 608{"Competition","Wettkampf" },
612{"Dinner","Abendessen" }, 609{"Dinner","Abendessen" },
613{"Education","Erziehung" }, 610{"Education","Erziehung" },
614{"Family","Familie" }, 611{"Family","Familie" },
615{"Favorites","Favoriten" }, 612{"Favorites","Favoriten" },
616{"Festival","Festival" }, 613{"Festival","Festival" },
617{"Fishing","Angeln" }, 614{"Fishing","Angeln" },
618{"Flight","Flug" }, 615{"Flight","Flug" },
619{"Gifts","Geschenk" }, 616{"Gifts","Geschenk" },
620{"Holiday","Feiertag" }, 617{"Holiday","Feiertag" },
621{"Holiday Cards","Ansichtskarten" }, 618{"Holiday Cards","Ansichtskarten" },
622{"Hot Contacts","Heisse Kontakte" }, 619{"Hot Contacts","Heisse Kontakte" },
623{"Hiking","Wandern" }, 620{"Hiking","Wandern" },
624{"Hunting","Jagen" }, 621{"Hunting","Jagen" },
625{"Key Customer","Wichtiger Kunde" }, 622{"Key Customer","Wichtiger Kunde" },
626{"Kids","Kinder" }, 623{"Kids","Kinder" },
627{"Lunch","Mittagessen" }, 624{"Lunch","Mittagessen" },
628{"Meeting","Treffen" }, 625{"Meeting","Treffen" },
629{"Miscellaneous","Verschiedenes" }, 626{"Miscellaneous","Verschiedenes" },
630{"Partner","Partner" }, 627{"Partner","Partner" },
631{"Party","Partie" }, 628{"Party","Partie" },
632{"Personal","Privat" }, 629{"Personal","Privat" },
633{"Personal Travel","Privatreise"}, 630{"Personal Travel","Privatreise"},
634{"PHB","PHB" }, 631{"PHB","PHB" },
635{"Phone Calls","Telefonanruf" }, 632{"Phone Calls","Telefonanruf" },
636{"Projects","Projekt" }, 633{"Projects","Projekt" },
637{"Recurring","Wiederholend" }, 634{"Recurring","Wiederholend" },
638{"School","Schule" }, 635{"School","Schule" },
639{"Shopping","Einkaufen" }, 636{"Shopping","Einkaufen" },
640{"Speach","Rede" }, 637{"Speach","Rede" },
641{"Special Occasion","Spez.Gelegenheit" }, 638{"Special Occasion","Spez.Gelegenheit" },
642{"Sports","Sport" }, 639{"Sports","Sport" },
643{"Talk","Vortrag" }, 640{"Talk","Vortrag" },
644{"Travel","Reise" }, 641{"Travel","Reise" },
645{"TV","TV" }, 642{"TV","TV" },
646{"Germany","Deutschland" }, 643{"Germany","Deutschland" },
647{"Sweden","Schweden" }, 644{"Sweden","Schweden" },
648{"Forest","Wald" }, 645{"Forest","Wald" },
649{ "Desert","Wüste" }, 646{ "Desert","Wüste" },
650{ "Kitchen","Küche" }, 647{ "Kitchen","Küche" },
651{ "Lake","See" }, 648{ "Lake","See" },
652{"University","Universität"}, 649{"University","Universität"},
653{"Vacation","Urlaub" }, 650{"Vacation","Urlaub" },
654{"VIP","VIP" }, 651{"VIP","VIP" },
655{ "Import Sharp Calendar","Importiere Sharp Kalender" }, 652{ "Import Sharp Calendar","Importiere Sharp Kalender" },
656{ "This todo has been cancelled!","Dieses Todo wurde gecancelt!" }, 653{ "This todo has been cancelled!","Dieses Todo wurde gecancelt!" },
657{ "This event has been cancelled!","Dieser Termin wurde gecancelt!" }, 654{ "This event has been cancelled!","Dieser Termin wurde gecancelt!" },
658{ "Cancelled","Gecancelt" }, 655{ "Cancelled","Gecancelt" },
659{ "Multiple sync","Mehrfach Sync" }, 656{ "Multiple sync","Mehrfach Sync" },
660{ "Local file","Lokale Datei" }, 657{ "Local file","Lokale Datei" },
661{ "Last file","Letzte Datei" }, 658{ "Last file","Letzte Datei" },
662{ "Keys + Colors...","Tasten + Farben..." }, 659{ "Keys + Colors...","Tasten + Farben..." },
663{ "Mini icons in toolbar(nr)","Mini Icons in ToolBar(bn)" }, 660{ "Mini icons in toolbar(nr)","Mini Icons in ToolBar(bn)" },
664{ "Quick load/save (w/o Unicode)","Schnelles Laden/Speichern (o Unicode)" }, 661{ "Quick load/save (w/o Unicode)","Schnelles Laden/Speichern (o Unicode)" },
665{ "Choose...","Wähle..." }, 662{ "Choose...","Wähle..." },
666{ "Use colors for application:","Setze Farben für Programm:" }, 663{ "Use colors for application:","Setze Farben für Programm:" },
667{ "Buttons, menus, etc.:","Knöpfe, Menu, etc.:" }, 664{ "Buttons, menus, etc.:","Knöpfe, Menu, etc.:" },
668{ "Frames, labels, etc.:","Rahmen, Label, etc.:" }, 665{ "Frames, labels, etc.:","Rahmen, Label, etc.:" },
669{ "Show parent To-Do's in What's Next view","Zeige Ober-Todo in What's Next Anz." }, 666{ "Show parent To-Do's","Zeige Ober-Todos" },
670{ "Show location in What's Next view","Zeige Ort in What's Next Anz." }, 667{ "Show location","Zeige Orte" },
671{ "Show events that recur ","Zeige Termine, die sich wiederholen:" }, 668{ "Show events that recur ","Zeige Termine, die sich wiederholen:" },
672{ "Show in every cell ","Zeige in jeder Zelle " }, 669{ "Show in every cell ","Zeige in jeder Zelle " },
673{ "short month","kurzen Monat" }, 670{ "short month","kurzen Monat" },
674{ "icons","Icons" }, 671{ "icons","Icons" },
675{ "Show Sat/Sun together","Zeige Sam/Son zusammen" }, 672{ "Show Sat/Sun together","Zeige Sam/Son zusammen" },
676{ "Categorie colors are applied to text","Kategorie Farben färben Text" }, 673{ "Categorie colors are applied to text","Kategorie Farben färben Text" },
677{ "Month view uses day colors","Monatsansicht zeigt Tagesfarben" }, 674{ "Month view uses day colors","Monatsansicht zeigt Tagesfarben" },
678{ "Day color odd months","Tagesfarbe ungerade Monate" }, 675{ "Day color odd months","Tagesfarbe ungerade Monate" },
679{ "Day color even months","Tagesfarbe gerade Monate" }, 676{ "Day color even months","Tagesfarbe gerade Monate" },
680{ "Color for Sundays + category \"Holiday\"","Farbe für Sonntag + Kateg.\" Feiertag\"" }, 677{ "Color for Sundays + category \"Holiday\"","Farbe für Sonntag + Kateg.\" Feiertag\"" },
681{ "To-do view shows complete as 'xx %'","Zeige Prozent erledigt als 'xx %'" }, 678{ "To-do view shows complete as 'xx %'","Zeige Prozent erledigt als 'xx %'" },
682{ "Small To-do view uses smaller font","Kleine To-do Ansicht nutzt kleineren Font" }, 679{ "Small To-do view uses smaller font","Kleine To-do Ansicht nutzt kleineren Font" },
683{ "Colors are applied to text","Farben werden auf Text angewendet" }, 680{ "Colors are applied to text","Farben werden auf Text angewendet" },
684{ "Use internal alarm notification","Nutze interne Alarm Benachrichtigung" }, 681{ "Use internal alarm notification","Nutze interne Alarm Benachrichtigung" },
685{ "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" }, 682{ "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" },
686{ "Play beeps count:","Anzahl der Alarmpiepse: " }, 683{ "Play beeps count:","Anzahl der Alarmpiepse: " },
687{ "Beeps interval in sec:","Zeitintervall der Alarmpiepse: " }, 684{ "Beeps interval in sec:","Zeitintervall der Alarmpiepse: " },
688{ "Default suspend time in min:","Standard Supendierungs Zeit: " }, 685{ "Default suspend time in min:","Standard Supendierungs Zeit: " },
689{ "Auto suspend count:","Anzahl der auto Suspendierungen" }, 686{ "Auto suspend count:","Anzahl der auto Suspendierungen" },
690{ "Alarm *.wav file for newly created alarm:","Alarm *.wav Datei für neu angelegte Alarme:" }, 687{ "Alarm *.wav file for newly created alarm:","Alarm *.wav Datei für neu angelegte Alarme:" },
691{ "New profile","Neues Profil" }, 688{ "New profile","Neues Profil" },
692{ "Clone profile","Klone Profil" }, 689{ "Clone profile","Klone Profil" },
693{ "Delete profile","Lösche Profil" }, 690{ "Delete profile","Lösche Profil" },
694{ "Profile:","Profil:" }, 691{ "Profile:","Profil:" },
695{ "Include in multiple sync","Beziehe Profil in mehrfach Sync mit ein" }, 692{ "Include in multiple sync","Beziehe Profil in mehrfach Sync mit ein" },
696{ "Force: Take local entry always","Erzwinge: Nimm immer lokalen Eintrag" }, 693{ "Force: Take local entry always","Erzwinge: Nimm immer lokalen Eintrag" },
697{ "Force: Take remote entry always","Erzwinge: Nimm immer fernen Eintrag" }, 694{ "Force: Take remote entry always","Erzwinge: Nimm immer fernen Eintrag" },
698{ "Show summary after sync","Zeige Zusammenfassung nach dem Synchronisieren" }, 695{ "Show summary after sync","Zeige Zusammenfassung nach dem Synchronisieren" },
699{ "Write back file","Schreibe Datei zurück" }, 696{ "Write back file","Schreibe Datei zurück" },
700{ "Remote file (w down/upload command)","Entfernte Datei (via down/upload Kommando)" }, 697{ "Remote file (w down/upload command)","Entfernte Datei (via down/upload Kommando)" },
701{ "Pre sync (download) command:","Bevor Sync (download) Kommando:" }, 698{ "Pre sync (download) command:","Bevor Sync (download) Kommando:" },
702{ "Local device name:","Name dieses Gerätes:" }, 699{ "Local device name:","Name dieses Gerätes:" },
703{ "Ask for preferences before sync","Frage nach Synchronisationseinstellungen vor dem Syncen" }, 700{ "Ask for preferences before sync","Frage nach Synchronisationseinstellungen vor dem Syncen" },
704{ "Sync preferences","Synchronisations Einstellungen" }, 701{ "Sync preferences","Synchronisations Einstellungen" },
705{ "Profile kind","Profil Art" }, 702{ "Profile kind","Profil Art" },
706{ "Local file","Lokale Datei" }, 703{ "Local file","Lokale Datei" },
707{ "Local file:","Lokale Datei:" }, 704{ "Local file:","Lokale Datei:" },
708{ "Post sync (upload) command:","Nach Sync (upload) Kommando:" }, 705{ "Post sync (upload) command:","Nach Sync (upload) Kommando:" },
709{ "Fill in default values for:","Setze Beispiel Werte ein für:" }, 706{ "Fill in default values for:","Setze Beispiel Werte ein für:" },
710{ "Hint: Use $PWD$ for placeholder of password!","Hinweis: Benutze $PWD$ als Platzhalter für ein Passwort!" }, 707{ "Hint: Use $PWD$ for placeholder of password!","Hinweis: Benutze $PWD$ als Platzhalter für ein Passwort!" },
711{ "Synchronization Preferences","Einstellungen der Synchronisationsprofile"}, 708{ "Synchronization Preferences","Einstellungen der Synchronisationsprofile"},
712{ "Device","Gerät:" }, 709{ "Device","Gerät:" },
713{ "Sync with file \n...%1\nfrom:\n%2\n","Sync mit Datei \n...%1\nvom:\n%2\n" }, 710{ "Sync with file \n...%1\nfrom:\n%2\n","Sync mit Datei \n...%1\nvom:\n%2\n" },
714{ "Synchronization summary:\n\n %d items added to local\n %d items added to remote\n %d items updated on local\n %d items updated on remote\n %d items deleted on local\n %d items deleted on remote\n","Synchronisationsübersicht:\n\n %d items lokal hinzugefügt\n %d items entfernt hinzugefügt\n %d items lokal geändert\n %d items entfernt geändert\n %d items lokal gelöscht\n %d items entfernt gelöscht\n" }, 711{ "Synchronization summary:\n\n %d items added to local\n %d items added to remote\n %d items updated on local\n %d items updated on remote\n %d items deleted on local\n %d items deleted on remote\n","Synchronisationsübersicht:\n\n %d items lokal hinzugefügt\n %d items entfernt hinzugefügt\n %d items lokal geändert\n %d items entfernt geändert\n %d items lokal gelöscht\n %d items entfernt gelöscht\n" },
715{ "Synchronization successful","Synchronisation erfolgreich" }, 712{ "Synchronization successful","Synchronisation erfolgreich" },
716{ "Sync cancelled or failed. Nothing synced.","Sync abgebrochen oder fehlgeschlagen. Nichts wurde gesynced." }, 713{ "Sync cancelled or failed. Nothing synced.","Sync abgebrochen oder fehlgeschlagen. Nichts wurde gesynced." },
717{ "Sync file \n...%1\ndoes not exist!\nNothing synced!\n","Sync Datei \n...%1\nexistiert nicht!\nNichts wurde gesynced!\n" }, 714{ "Sync file \n...%1\ndoes not exist!\nNothing synced!\n","Sync Datei \n...%1\nexistiert nicht!\nNichts wurde gesynced!\n" },
718{ "Sync filename(*.ics/*.vcs)","Sync Dateiname(*.ics/*.vcs)" }, 715{ "Sync filename(*.ics/*.vcs)","Sync Dateiname(*.ics/*.vcs)" },
719{ "Enter password","Passwort eingeben" }, 716{ "Enter password","Passwort eingeben" },
720{ "Do you really want\nto remote sync\nwith profile \n","Wollen Sie wirklich\nmit dem entfernten\nProfil syncen: \n" }, 717{ "Do you really want\nto remote sync\nwith profile \n","Wollen Sie wirklich\nmit dem entfernten\nProfil syncen: \n" },
721{ "Copy remote file to local machine...","Kopiere entfernte Datei auf lokalen Rechner..." }, 718{ "Copy remote file to local machine...","Kopiere entfernte Datei auf lokalen Rechner..." },
722{ "Sorry, the copy command failed!\nCommand was:\n%1\n \nTry command on console to get more\ndetailed info about the reason.\n","Sorry, das Kopierkommando schlug fehl!\nKommando war:\n%1\n \nVersuche Kommando von Kosole um\nDetails für das Fehlschlagen\nzu erfahren.\n" }, 719{ "Sorry, the copy command failed!\nCommand was:\n%1\n \nTry command on console to get more\ndetailed info about the reason.\n","Sorry, das Kopierkommando schlug fehl!\nKommando war:\n%1\n \nVersuche Kommando von Kosole um\nDetails für das Fehlschlagen\nzu erfahren.\n" },
723{ "Writing back file result: ","Resultat des Dateizurückschreibens: " }, 720{ "Writing back file result: ","Resultat des Dateizurückschreibens: " },
724{ "Syncronization sucessfully completed","Synchronisation erfolgreich abgeschlossen" }, 721{ "Syncronization sucessfully completed","Synchronisation erfolgreich abgeschlossen" },
725{ "Edit Calendar Filters","Editiere Kalendar Filter" }, 722{ "Edit Calendar Filters","Editiere Kalendar Filter" },
726{ "Enter filter name:","Neuer Filter Name:" }, 723{ "Enter filter name:","Neuer Filter Name:" },
727{ "Add Filter","Filter hinzufügen" }, 724{ "Add Filter","Filter hinzufügen" },
728{ "Question","Frage" }, 725{ "Question","Frage" },
729{ "Filter position: ","Filter Position: " }, 726{ "Filter position: ","Filter Position: " },
730{ "Month View","Monatsansicht" }, 727{ "Month View","Monatsansicht" },
731{ "This profil cannot be deleted!\n","Dieses Profil kann\nnicht gelöscht werden!" }, 728{ "This profil cannot be deleted!\n","Dieses Profil kann\nnicht gelöscht werden!" },
732{ "KO/Pi config error","KO/Pi Konfig. Fehler" }, 729{ "KO/Pi config error","KO/Pi Konfig. Fehler" },
733{ "Local device name undefined!\nPlease define device name!","Name dieses Gerätes undefiniert!\nBitte Namen angeben!" }, 730{ "Local device name undefined!\nPlease define device name!","Name dieses Gerätes undefiniert!\nBitte Namen angeben!" },
734{ "Multiple profiles with same name!\nPlease use unique profile names!","Mehrere Profile haben denselben Namen!\nBitte unterschiedliche Namen wählen!" }, 731{ "Multiple profiles with same name!\nPlease use unique profile names!","Mehrere Profile haben denselben Namen!\nBitte unterschiedliche Namen wählen!" },
735{ "Access: ","Zugriff: " }, 732{ "Access: ","Zugriff: " },
736{ "Needs Action","Aktion notwendig" }, 733{ "Needs Action","Aktion notwendig" },
737{ "Accepted","Akzeptiert" }, 734{ "Accepted","Akzeptiert" },
738{ "Declined","Abgelehnt" }, 735{ "Declined","Abgelehnt" },
739{ "Tentative","Vorläufig" }, 736{ "Tentative","Vorläufig" },
740{ "Delegated","Beauftragt" }, 737{ "Delegated","Beauftragt" },
741{ "Completed","Vollständig" }, 738{ "Completed","Vollständig" },
742{ "In Process","In Bearbeitung" }, 739{ "In Process","In Bearbeitung" },
743{ "Participant","Teilnehmer" }, 740{ "Participant","Teilnehmer" },
744{ "Optional Participant","Möglicher Teilnehmer" }, 741{ "Optional Participant","Möglicher Teilnehmer" },
745{ "Observer","Beobachter" }, 742{ "Observer","Beobachter" },
746{ "Chair","Vorsitzender" }, 743{ "Chair","Vorsitzender" },
747{ "Not supported \non desktop!\n","" }, 744{ "Not supported \non desktop!\n","" },
748{ "Nothing selected!\n\nThis prints the full width of the Agenda view as you see it!\n\nTo determine the vertical range of the printing, please select\na vertical range (with the left mouse button down) in one column. ","Es ist nichts selektiert!\nDieses druckt die volle Breite der Agenda View, so wie man sie sieht.\nUm die vertikale Auswahl zum Drucken zu bestimmen,\nbitte einen vertikalen Zeitraum (mit gedrückter linker Maustaste)\nin einer Spalte auswählen.\n(Es wird danach direkt der Termin Dialog angezeigt\n - dort bitte auf Abbrechen klicken) " }, 745{ "Nothing selected!\n\nThis prints the full width of the Agenda view as you see it!\n\nTo determine the vertical range of the printing, please select\na vertical range (with the left mouse button down) in one column. ","Es ist nichts selektiert!\nDieses druckt die volle Breite der Agenda View, so wie man sie sieht.\nUm die vertikale Auswahl zum Drucken zu bestimmen,\nbitte einen vertikalen Zeitraum (mit gedrückter linker Maustaste)\nin einer Spalte auswählen.\n(Es wird danach direkt der Termin Dialog angezeigt\n - dort bitte auf Abbrechen klicken) " },
749{ "Date range: ","Datums Zeitspanne: " }, 746{ "Date range: ","Datums Zeitspanne: " },
750{ "Not supported \non PDA!\n","Nicht verfügbar\nauf dem PDA. " }, 747{ "Not supported \non PDA!\n","Nicht verfügbar\nauf dem PDA. " },
751{ "Syncing - close to abort!","Syncing-schließe um abzubrechen." }, 748{ "Syncing - close to abort!","Syncing-schließe um abzubrechen." },
752{ "Add / remove events","Add./entferne Termine" }, 749{ "Add / remove events","Add./entferne Termine" },
753{ "File does not exist:\n '%1'.","Datei existiert nicht:\n '%1'." }, 750{ "File does not exist:\n '%1'.","Datei existiert nicht:\n '%1'." },
754{ "Couldn't load calendar\n '%1'.","Kann Kalender nicht laden:\n '%1'." }, 751{ "Couldn't load calendar\n '%1'.","Kann Kalender nicht laden:\n '%1'." },
755{ "\nThe file on disk has changed!\nFile size: %1 bytes.\nLast modified: %2\nDo you want to:\n\n - Save and overwrite file?\n - Sync with file, then save?\n - Cancel without saving? \n","\nDie gepeicherte Datei wurde verändert!\nDatei Grösse: %1 Bytes.\nZuletzt geändert: %2\nMöchten Sie:\n\n - Speichern und die Datei überschreiben?\n - Mit Datei Synchronisieren, dann speichern?\n - Abbrechen ohne zu speichern? \n" }, 752{ "\nThe file on disk has changed!\nFile size: %1 bytes.\nLast modified: %2\nDo you want to:\n\n - Save and overwrite file?\n - Sync with file, then save?\n - Cancel without saving? \n","\nDie gepeicherte Datei wurde verändert!\nDatei Grösse: %1 Bytes.\nZuletzt geändert: %2\nMöchten Sie:\n\n - Speichern und die Datei überschreiben?\n - Mit Datei Synchronisieren, dann speichern?\n - Abbrechen ohne zu speichern? \n" },
756{ "Overwrite","Überschreiben" }, 753{ "Overwrite","Überschreiben" },
757{ "Sync+save","Syncen+speichern" }, 754{ "Sync+save","Syncen+speichern" },
758{ "Default","Standard" }, 755{ "Default","Standard" },
759{ " Categories added to list! "," Kategorien zur Liste hinzugefügt! " }, 756{ " Categories added to list! "," Kategorien zur Liste hinzugefügt! " },
760{ " %d items?"," %d Einträge?" }, 757{ " %d items?"," %d Einträge?" },
761{ "\nThis event recurs\nover multiple dates.\nAre you sure you want\nto delete this event\nand all its recurrences?","\nDieses ist ein\nwiederholender Termin!.\nSind Sie sicher, dass Sie\ndiesen Termin und alle\nWiederholungen löschen möchten?" }, 758{ "\nThis event recurs\nover multiple dates.\nAre you sure you want\nto delete this event\nand all its recurrences?","\nDieses ist ein\nwiederholender Termin!.\nSind Sie sicher, dass Sie\ndiesen Termin und alle\nWiederholungen löschen möchten?" },
762{ " ?\n\nDelete:\n"," ?\n\nLösche:\n" }, 759{ " ?\n\nDelete:\n"," ?\n\nLösche:\n" },
763{ "Current","Aktuelle" }, 760{ "Current","Aktuelle" },
764{ "\nThis event recurs\nover multiple dates.\nDo you want to delete\nall it's recurrences,\nor only the current one on:\n","\nDieses ist ein\nwiederholender Termin!\nMöchten sie alle Wiederholungen\nlöschen, oder nur die aktuelle am:\n" }, 761{ "\nThis event recurs\nover multiple dates.\nDo you want to delete\nall it's recurrences,\nor only the current one on:\n","\nDieses ist ein\nwiederholender Termin!\nMöchten sie alle Wiederholungen\nlöschen, oder nur die aktuelle am:\n" },
765{ "All","Alle" }, 762{ "All","Alle" },
766{ "Data Loss Warning","Datenverlust Warnung" }, 763{ "Data Loss Warning","Datenverlust Warnung" },
767{ "Proceed","Weitermachen" }, 764{ "Proceed","Weitermachen" },
768{ "The journal entries can not be\nexported to a vCalendar file.","Die Journal Einträge können\nnicht in eine vCalendar\nDatei exportiert werden!" }, 765{ "The journal entries can not be\nexported to a vCalendar file.","Die Journal Einträge können\nnicht in eine vCalendar\nDatei exportiert werden!" },
769{ "Filter disabled ","Filter abgeschaltet" }, 766{ "Filter disabled ","Filter abgeschaltet" },
770{ "Filter selected: ","Gewählter Filter: " }, 767{ "Filter selected: ","Gewählter Filter: " },
771{ "Toggle Cancel","Gecancelt ändern" }, 768{ "Toggle Cancel","Gecancelt ändern" },
772{ "&Toggle Cancel","Gecancel&t ändern" }, 769{ "&Toggle Cancel","Gecancel&t ändern" },
773{ "Configure Toolbar","Konfiguriere Toolbar" }, 770{ "Configure Toolbar","Konfiguriere Toolbar" },
774{ "Stretched TB","Gedehnte TB" }, 771{ "Stretched TB","Gedehnte TB" },
775{ "Import file \n...%1\ndoes not exist!\nNothing imported!\n","Import Datei \n...%1\nexistiert nicht!\nNichts importiert!\n" }, 772{ "Import file \n...%1\ndoes not exist!\nNothing imported!\n","Import Datei \n...%1\nexistiert nicht!\nNichts importiert!\n" },
776{ "Import filename(*.ics/*.vcs)","Import Dateiname(*.ics/*.vcs)" }, 773{ "Import filename(*.ics/*.vcs)","Import Dateiname(*.ics/*.vcs)" },
777{ "When importing a calendar twice\nduplicated events will be ignored!\nYou can create a backup file with\nFile - Save Calendar Backup\nto revert importing","Wenn ein Kalender doppelt importiert\nwird, werden doppelte Einträge ignoriert!\nSie können eine Backup Datei anlegen unter\nDatei - Speichere Kalender Backup\num den Import rückgängig machen zu können.\n" }, 774{ "When importing a calendar twice\nduplicated events will be ignored!\nYou can create a backup file with\nFile - Save Calendar Backup\nto revert importing","Wenn ein Kalender doppelt importiert\nwird, werden doppelte Einträge ignoriert!\nSie können eine Backup Datei anlegen unter\nDatei - Speichere Kalender Backup\num den Import rückgängig machen zu können.\n" },
778{ "Not supported \non desktop!\n","Nur verfügbar auf PDA!" }, 775{ "Not supported \non desktop!\n","Nur verfügbar auf PDA!" },
779{ "Imported file successfully","Datei erfolgreich importiert" }, 776{ "Imported file successfully","Datei erfolgreich importiert" },
780{ "Error importing file","Fehler beim Importieren der Datei" }, 777{ "Error importing file","Fehler beim Importieren der Datei" },
781{ "Export vcal filename(*.vcs)","Export vcal Dateiname(*.vcs)" }, 778{ "Export vcal filename(*.vcs)","Export vcal Dateiname(*.vcs)" },
782{ "Save file\nalready exists!\nOld save file from:\n%1\nOverwrite?\n","Zu speichernde Datei\existiert bereits!\nExist. Datei vom:\n%1\nÜberschreiben?\n" }, 779{ "Save file\nalready exists!\nOld save file from:\n%1\nOverwrite?\n","Zu speichernde Datei\existiert bereits!\nExist. Datei vom:\n%1\nÜberschreiben?\n" },
783{ "Overwrite!","Überschreiben!" }, 780{ "Overwrite!","Überschreiben!" },
784{ "Import file \n...%1\nfrom:\n%2\nDuplicated entries\nwill not be imported!\n","Import Datei \n...%1\nvom:\n%2\nDuplizierte Einträge\nwerden nicht importiert!\n" }, 781{ "Import file \n...%1\nfrom:\n%2\nDuplicated entries\nwill not be imported!\n","Import Datei \n...%1\nvom:\n%2\nDuplizierte Einträge\nwerden nicht importiert!\n" },
785{ "Load backup filename","Lade Backup Dateiname" }, 782{ "Load backup filename","Lade Backup Dateiname" },
786{ "Backup file\ndoes not exist!\nNothing loaded!","Backup Datei\nexistiert nicht!\nNichts geladen!" }, 783{ "Backup file\ndoes not exist!\nNothing loaded!","Backup Datei\nexistiert nicht!\nNichts geladen!" },
787{ "KO/Pi:Loaded %1","KO/Pi:Geladen %1" }, 784{ "KO/Pi:Loaded %1","KO/Pi:Geladen %1" },
788{ "Save backup filename","Speichere Backup Dateiname" }, 785{ "Save backup filename","Speichere Backup Dateiname" },
789{ "Backup file\nalready exists!\nOld backup file from:\n%1\nOverwrite?\n","Backup Datei\nexistiert bereits!\nAlte Backup Datei vom:\n%1\nÜberschreiben?\n" }, 786{ "Backup file\nalready exists!\nOld backup file from:\n%1\nOverwrite?\n","Backup Datei\nexistiert bereits!\nAlte Backup Datei vom:\n%1\nÜberschreiben?\n" },
790{ "KO/Pi:Saved %1","KO/Pi:Gespeichert %1" }, 787{ "KO/Pi:Saved %1","KO/Pi:Gespeichert %1" },
791{ "Details of attendee","Teilnehmerdetails" }, 788{ "Details of attendee","Teilnehmerdetails" },
792{ "Work phone:\n","Telefon Arbeit:\n" }, 789{ "Work phone:\n","Telefon Arbeit:\n" },
793{ "Work mobile phone:\n","Mobiltelefon Arbeit:\n" }, 790{ "Work mobile phone:\n","Mobiltelefon Arbeit:\n" },
794{ "Home phone:\n","Telefon privat:\n" }, 791{ "Home phone:\n","Telefon privat:\n" },
795{ "Mobile home phone:\n","Mobiltelefon privat:\n" }, 792{ "Mobile home phone:\n","Mobiltelefon privat:\n" },
796{ "Email:\n","Email:\n" }, 793{ "Email:\n","Email:\n" },
797{ "Alarm disabled for this item","Alarm deaktiviert für dieses Item" }, 794{ "Alarm disabled for this item","Alarm deaktiviert für dieses Item" },
798{ "Audio Al.: ","Audio Al.: " }, 795{ "Audio Al.: ","Audio Al.: " },
799{ "Proc.Al.: ","Proz.Al.: " }, 796{ "Proc.Al.: ","Proz.Al.: " },
800{ "No sound set","Kein Sound definiert" }, 797{ "No sound set","Kein Sound definiert" },
801{ "*.wav|Wav Files","*.wav|Wav Dateien" }, 798{ "*.wav|Wav Files","*.wav|Wav Dateien" },
802{ "No program set","Kein Programm definiert" }, 799{ "No program set","Kein Programm definiert" },
803{ "Running '%1'","Ausführen '%1'" }, 800{ "Running '%1'","Ausführen '%1'" },
804{ "Playing '%1'","Abspielen '%1'" }, 801{ "Playing '%1'","Abspielen '%1'" },
805{ "Show Sync Events in WN/Agenda view","Zeige Sync Events in WN/Agenda Ansicht" },
806{ "User defined (usertranslation.txt)","Benutzerdefiniert (usertranslation.txt)" }, 802{ "User defined (usertranslation.txt)","Benutzerdefiniert (usertranslation.txt)" },
807{ "Load!","Laden!" }, 803{ "Load!","Laden!" },
808{ "Backup file from:\n%1\nLoading backup\nfile will delete\nyour current Data!\n","Backup Datei vom:\n%1\nDas Laden der Backup Datei\nlöscht die aktuellen Daten!\n" }, 804{ "Backup file from:\n%1\nLoading backup\nfile will delete\nyour current Data!\n","Backup Datei vom:\n%1\nDas Laden der Backup Datei\nlöscht die aktuellen Daten!\n" },
809{ "KO/Pi Features and hints","KO/Pi Eigenschaften und Tipps" }, 805{ "KO/Pi Features and hints","KO/Pi Eigenschaften und Tipps" },
810{ "KO/Pi User translation HowTo","KO/Pi Benutzer-Übersetzung HowTo" }, 806{ "KO/Pi User translation HowTo","KO/Pi Benutzer-Übersetzung HowTo" },
811{ "KO/Pi Synchronization HowTo","KO/Pi Synchronisation HowTo" }, 807{ "KO/Pi Synchronization HowTo","KO/Pi Synchronisation HowTo" },
812{ "Features + hints...","Eigenschaften + Tipps..." }, 808{ "Features + hints...","Eigenschaften + Tipps..." },
813{ "User translation...","Benutzer Übersetzung..." }, 809{ "User translation...","Benutzer Übersetzung..." },
814{ "Sync HowTo...","Synchronisation HowTo..." }, 810{ "Sync HowTo...","Synchronisation HowTo..." },
815{ "Print calendar...","Drucke Kalender..." }, 811{ "Print calendar...","Drucke Kalender..." },
816{ "Anniversary","Jahrestag" }, 812{ "Anniversary","Jahrestag" },
817{ "When importing birthdays twice\nduplicated events will be ignored,\nif the event has not been\nchanged in KO/Pi!\n","Wenn Geburtstage mehrfach importiert\nwerden, werden doppelte Einträge ignoriert\nwenn sie nicht verändert wurden.\n" }, 813{ "When importing birthdays twice\nduplicated events will be ignored,\nif the event has not been\nchanged in KO/Pi!\n","Wenn Geburtstage mehrfach importiert\nwerden, werden doppelte Einträge ignoriert\nwenn sie nicht verändert wurden.\n" },
818{ "Import Birthdays (KA/Pi)","Importiere Geburtstage (KA/Pi)" }, 814{ "Import Birthdays (KA/Pi)","Importiere Geburtstage (KA/Pi)" },
819{ "Next recurrence is on: ","Nächste Wiederholung ist am:" }, 815{ "Next recurrence is on: ","Nächste Wiederholung ist am:" },
820{ "<b>Alarm on: </b>","<b>Alarm am: </b>" }, 816{ "<b>Alarm on: </b>","<b>Alarm am: </b>" },
821{ "<b>Access: </b>","<b>Zugriff: </b>" }, 817{ "<b>Access: </b>","<b>Zugriff: </b>" },
822{ "(%1 min before)","(%1 min vorher)" }, 818{ "(%1 min before)","(%1 min vorher)" },
823{ "<b>Categories: </b>","<b>Kategorien: </b>" }, 819{ "<b>Categories: </b>","<b>Kategorien: </b>" },
824{ "Save Journal/Description...","Speichere Journal/Details..." }, 820{ "Save Journal/Description...","Speichere Journal/Details..." },
825{ "This saves the text/details of selected\nJournals and Events/Todos\nto a text file.","Das speichert den Text bzw.\ndie Details von selektierten\nJournalen und Events/Todos\nin eine Textdatei." }, 821{ "This saves the text/details of selected\nJournals and Events/Todos\nto a text file.","Das speichert den Text bzw.\ndie Details von selektierten\nJournalen und Events/Todos\nin eine Textdatei." },
826{ "Continue","Weitermachen" }, 822{ "Continue","Weitermachen" },
827{ " birthdays/anniversaries added!"," Geburts-/Jahrestage hinzugefügt" }, 823{ " birthdays/anniversaries added!"," Geburts-/Jahrestage hinzugefügt" },
828{ "Attendee:","Teilnehmer:" }, 824{ "Attendee:","Teilnehmer:" },
829{ "Click OK to search ->","Klicke zum Suchen auf OK ->" }, 825{ "Click OK to search ->","Klicke zum Suchen auf OK ->" },
830{ "On day ","Am Tag " }, 826{ "On day ","Am Tag " },
831{ "%1 of ","%1 des Monats" }, 827{ "%1 of ","%1 des Monats" },
832{ "%1 of the year","%1 des Jahres" }, 828{ "%1 of the year","%1 des Jahres" },
833{ "Anonymous","Anonymo" }, 829{ "Anonymous","Anonymo" },
834{ "nobody@nowhere","niemand@nirgendwo" }, 830{ "nobody@nowhere","niemand@nirgendwo" },
835{ "calendar.html","calendar.html" }, 831{ "calendar.html","calendar.html" },
836{ " Local Time"," Locale Zeit" }, 832{ " Local Time"," Locale Zeit" },
837{ "Unknown Name","Unbekannter Name" }, 833{ "Unknown Name","Unbekannter Name" },
838{ "unknown@nowhere","unbekannt@nirgendwo" }, 834{ "unknown@nowhere","unbekannt@nirgendwo" },
839{ "Beam via IR!","Beam via IR!" }, 835{ "Beam via IR!","Beam via IR!" },
840{ "Next Month","Nächster Monat" }, 836{ "Next Month","Nächster Monat" },
841{ "Prio","Prio" }, 837{ "Prio","Prio" },
842{ "Reparent Todo","Mache Sub-Todo" }, 838{ "Reparent Todo","Mache Sub-Todo" },
843{ "tomorrow","morgen" }, 839{ "tomorrow","morgen" },
844{ "today","heute" }, 840{ "today","heute" },
845{ "yesterday","gestern" }, 841{ "yesterday","gestern" },
846{ "Ok","Ok" }, 842{ "Ok","Ok" },
847{ "Ok+Agenda","Ok+Agenda" }, 843{ "Ok+Agenda","Ok+Agenda" },
848{ "Email","Email" }, 844{ "Email","Email" },
849{ "RSVP","RSVP" }, 845{ "RSVP","RSVP" },
850{ "Email:","Email:" }, 846{ "Email:","Email:" },
851{ "Appointment Time ","Termin Zeit " }, 847{ "Appointment Time ","Termin Zeit " },
852{ "2","2" }, 848{ "2","2" },
853{ "3","3" }, 849{ "3","3" },
854{ "4","4" }, 850{ "4","4" },
855{ " 0 %"," 0 %" }, 851{ " 0 %"," 0 %" },
856{ " 20 %"," 20 %" }, 852{ " 20 %"," 20 %" },
857{ " 40 %"," 40 %" }, 853{ " 40 %"," 40 %" },
858{ " 60 %"," 60 %" }, 854{ " 60 %"," 60 %" },
859{ " 80 %"," 80 %" }, 855{ " 80 %"," 80 %" },
860{ "100 %","100 %" }, 856{ "100 %","100 %" },
861{ "Filter","Filter" }, 857{ "Filter","Filter" },
862{ "Configure","Konfiguriere" }, 858{ "Configure","Konfiguriere" },
863{ "What's Next","What's Next" }, 859{ "What's Next","What's Next" },
864{ "Complete calendar...","Kompletten Kalender..." }, 860{ "Complete calendar...","Kompletten Kalender..." },
865{ "Filtered calendar...","Gefilterten Kalender..." }, 861{ "Filtered calendar...","Gefilterten Kalender..." },
866{ "Export to phone","Exportiere zum Handy" }, 862{ "Export to phone","Exportiere zum Handy" },
867{ "Beam receive enabled","Beam Empfang an" }, 863{ "Beam receive enabled","Beam Empfang an" },
868{ "What's new?","Was ist neu?" }, 864{ "What's new?","Was ist neu?" },
869{ "FAQ...","FAQ..." }, 865{ "FAQ...","FAQ..." },
870{ "Licence...","Licence..." }, 866{ "Licence...","Licence..." },
871{ "What's This?","What's This?" }, 867{ "What's This?","What's This?" },
872{ "&Edit...","&Editiere..." }, 868{ "&Edit...","&Editiere..." },
873{ "Oktober","Oktober" }, 869{ "Oktober","Oktober" },
874{ "Title","Titel" }, 870{ "Title","Titel" },
875{ "%1 %","%1 %" }, 871{ "%1 %","%1 %" },
876{ "Enable Pi-Sync","Schalte Pi-Sync an" }, 872{ "Enable Pi-Sync","Schalte Pi-Sync an" },
877{ "Import!","Importiere!" }, 873{ "Import!","Importiere!" },
878{ "inserting birthdays - close to abort!","Burzeltage werden eingefügt - schließe um abzubrechen!" }, 874{ "inserting birthdays - close to abort!","Burzeltage werden eingefügt - schließe um abzubrechen!" },
879{ "Export to phone options","Export ans Handy Optionen" }, 875{ "Export to phone options","Export ans Handy Optionen" },
880{ "Please read Help-Sync Howto\nto know what settings to use.","Bitte lese Hilfe-Sync Howto\num zu erfahren welche Einstellungen\ndie richtigen sind." }, 876{ "Please read Help-Sync Howto\nto know what settings to use.","Bitte lese Hilfe-Sync Howto\num zu erfahren welche Einstellungen\ndie richtigen sind." },
881{ "I/O device: ","I/O device: " }, 877{ "I/O device: ","I/O device: " },
882{ "Connection: ","Connection: " }, 878{ "Connection: ","Connection: " },
883{ "Model(opt.): ","Model(opt.): " }, 879{ "Model(opt.): ","Model(opt.): " },
884{ "Write back events in future only","Schreibe nur zukünftige Termine zurück" }, 880{ "Write back events in future only","Schreibe nur zukünftige Termine zurück" },
885{ "Max. weeks in future: ","Max. Wochen in der Zukunft: " }, 881{ "Max. weeks in future: ","Max. Wochen in der Zukunft: " },
886{ "NOTE: This will remove all old\ntodo/calendar data on phone!","ACHTUNG: Das löscht alle alten\nToDo/Kalender Daten auf dem Handy!" }, 882{ "NOTE: This will remove all old\ntodo/calendar data on phone!","ACHTUNG: Das löscht alle alten\nToDo/Kalender Daten auf dem Handy!" },
887{ "Export to mobile phone!","Exportiere auf das Handy!" }, 883{ "Export to mobile phone!","Exportiere auf das Handy!" },
888{ "Export complete calendar","Exportiere kompletten Kalender" }, 884{ "Export complete calendar","Exportiere kompletten Kalender" },
889{ "Writing to phone...","Sende Daten ans Handy..." }, 885{ "Writing to phone...","Sende Daten ans Handy..." },
890{ " This may take 1-3 minutes!"," Das kann 1-3 Minuten dauern!" }, 886{ " This may take 1-3 minutes!"," Das kann 1-3 Minuten dauern!" },
891{ "Retry","Nochmal versuchen" }, 887{ "Retry","Nochmal versuchen" },
892{ "KDE/Pim phone access","KDE/Pim Handy Zugriff" }, 888{ "KDE/Pim phone access","KDE/Pim Handy Zugriff" },
893{ "Error accessing device!\nPlease turn on connection\nand retry!","Fehler beim Zugriff auf das Gerät!\nBitte die Verbindung aktivieren\nund nochmal versuchen!" }, 889{ "Error accessing device!\nPlease turn on connection\nand retry!","Fehler beim Zugriff auf das Gerät!\nBitte die Verbindung aktivieren\nund nochmal versuchen!" },
894{ "Error exporting to phone!","Fehler beim Export auf das Handy!" }, 890{ "Error exporting to phone!","Fehler beim Export auf das Handy!" },
895{ "Export filtered calendar","Exportiere gefilterten Kalender" }, 891{ "Export filtered calendar","Exportiere gefilterten Kalender" },
896{ "Preferences","Vorlieben" }, 892{ "Preferences","Vorlieben" },
897{ "Global","Global" }, 893{ "Global","Global" },
898{ "Phone","Phone" }, 894{ "Phone","Phone" },
899{ "SMS","SMS" }, 895{ "SMS","SMS" },
900{ "Fax","Fax" }, 896{ "Fax","Fax" },
901{ "Pager","Pager" }, 897{ "Pager","Pager" },
902{ "SIP","SIP" }, 898{ "SIP","SIP" },
903{ "Italian","Italienisch" }, 899{ "Italian","Italienisch" },
904{ "24:00","24:00" }, 900{ "24:00","24:00" },
905{ "12:00am","12:00am" }, 901{ "12:00am","12:00am" },
906{ "24.03.2004 (%d.%m.%Y|%A %d %B %Y)","24.03.2004 (%d.%m.%Y|%A %d %B %Y)" }, 902{ "24.03.2004 (%d.%m.%Y|%A %d %B %Y)","24.03.2004 (%d.%m.%Y|%A %d %B %Y)" },
907{ "03.24.2004 (%m.%d.%Y|%A %B %d %Y)","03.24.2004 (%m.%d.%Y|%A %B %d %Y)" }, 903{ "03.24.2004 (%m.%d.%Y|%A %B %d %Y)","03.24.2004 (%m.%d.%Y|%A %B %d %Y)" },
908{ "2004-03-24 (%Y-%m-%d|%A %Y %B %d)","2004-03-24 (%Y-%m-%d|%A %Y %B %d)" }, 904{ "2004-03-24 (%Y-%m-%d|%A %Y %B %d)","2004-03-24 (%Y-%m-%d|%A %Y %B %d)" },
909{ "Mon 19.04.04: %a %d.%m.%y","Mon 19.04.04: %a %d.%m.%y" }, 905{ "Mon 19.04.04: %a %d.%m.%y","Mon 19.04.04: %a %d.%m.%y" },
910{ "Mon, 19.Apr.04: %a, %d.%b.%y","Mon, 19.Apr.04: %a, %d.%b.%y" }, 906{ "Mon, 19.Apr.04: %a, %d.%b.%y","Mon, 19.Apr.04: %a, %d.%b.%y" },
911{ "Add 30 min to selected Timezone","Addiere 30 min zur Zeitzone" }, 907{ "Add 30 min to selected Timezone","Addiere 30 min zur Zeitzone" },
912{ "Used Mail Client","Benutzter Mail Client" }, 908{ "Used Mail Client","Benutzter Mail Client" },
913{ "Channel:","Channel:" }, 909{ "Channel:","Channel:" },
914{ "Message:","Message:" }, 910{ "Message:","Message:" },
915{ "Parameters:","Parameter:" }, 911{ "Parameters:","Parameter:" },
916{ "HINT: Delimiter=; Name=%1,Email=%2","Hinweis: Begrenzer=; Name=%1,Email=%2" }, 912{ "HINT: Delimiter=; Name=%1,Email=%2","Hinweis: Begrenzer=; Name=%1,Email=%2" },
917{ "extra Message:","extra Message:" }, 913{ "extra Message:","extra Message:" },
918{ "extra Parameters:","extra Parameter:" }, 914{ "extra Parameters:","extra Parameter:" },
919{ "HINT: Emails=%1,Attachments=%2","Hinweis: Emails=%1,Attachments=%2" }, 915{ "HINT: Emails=%1,Attachments=%2","Hinweis: Emails=%1,Attachments=%2" },
920{ "External Apps.","Externe Appl." }, 916{ "External Apps.","Externe Appl." },
921{ "24 hours","24 Std." }, 917{ "24 hours","24 Std." },
922{ "3 hours","3 Std." }, 918{ "3 hours","3 Std." },
923{ "1 hour","1 Std." }, 919{ "1 hour","1 Std." },
924{ "15 minutes","15 Min." }, 920{ "15 minutes","15 Min." },
925{ "5 minutes","5 Min." }, 921{ "5 minutes","5 Min." },
926{ "1 minute","1 Min." }, 922{ "1 minute","1 Min." },
927{ "23","23" }, 923{ "23","23" },
928{ "Mon 15","Mon 15" }, 924{ "Mon 15","Mon 15" },
929{ "Configure KO","Konfiguriere KO" }, 925{ "Configure KO","Konfiguriere KO" },
930{ "Event text","Termin Text" }, 926{ "Event text","Termin Text" },
931{ "ToDo","ToDo" }, 927{ "ToDo","ToDo" },
932{ "Today","Heute" }, 928{ "Today","Heute" },
933{ "What's Next View","What's Next Ansicht" }, 929{ "What's Next View","What's Next Ansicht" },
934{ "Show Sync Events in \nWhat's Next/Agenda view","Zeige Sync Termine in \nWhat's Next/Agenda view" },
935{ "Use short date in \nWhat's Next/Event view","Zeige Kurzdatum in \nWhat's Next/Event view" },
936{ "Allday Agenda view shows todos","Ganztag Agenda zeigt Todos" }, 930{ "Allday Agenda view shows todos","Ganztag Agenda zeigt Todos" },
937{ "Alarm","Alarm" }, 931{ "Alarm","Alarm" },
938{ "Used %1 Client","Benutzter %1 Client" }, 932{ "Used %1 Client","Benutzter %1 Client" },
939{ "No email client installed","Kein Email Klient installiert" }, 933{ "No email client installed","Kein Email Klient installiert" },
940{ "Userdefined email client","Benutzerdef. Email Klient" }, 934{ "Userdefined email client","Benutzerdef. Email Klient" },
941{ "OM/Pi email client","OM/Pi Email Klient" }, 935{ "OM/Pi email client","OM/Pi Email Klient" },
942{ "Include in multiple ","Beziehe in multiple " }, 936{ "Include in multiple ","Beziehe in multiple " },
943{ "calendar ","Kalender " }, 937{ "calendar ","Kalender " },
944{ "addressbook ","Adressbuch " }, 938{ "addressbook ","Adressbuch " },
945{ "pwmanager","PWmanager" }, 939{ "pwmanager","PWmanager" },
946{ " sync"," Sync ein" }, 940{ " sync"," Sync ein" },
947{ "Write back synced data","Schreibe gesyncte Daten zurück" }, 941{ "Write back synced data","Schreibe gesyncte Daten zurück" },
948{ "-- Write back (on remote) existing entries only","-- Schreibe nur existierende (entfernte) Einträge zurück" }, 942{ "-- Write back (on remote) existing entries only","-- Schreibe nur existierende (entfernte) Einträge zurück" },
949{ "-- Write back (calendar) entries in future only","-- Schreibe nur zukünftige Kalender-Einträge zurück" }, 943{ "-- Write back (calendar) entries in future only","-- Schreibe nur zukünftige Kalender-Einträge zurück" },
950{ "---- Max. weeks in future: ","---- Max. wochen in der Zukunft: " }, 944{ "---- Max. weeks in future: ","---- Max. wochen in der Zukunft: " },
951{ "Pi-Sync ( direct Kx/Pi to Kx/Pi sync )","Pi-Sync ( direktes Kx/Pi zu Kx/Pi sync )" }, 945{ "Pi-Sync ( direct Kx/Pi to Kx/Pi sync )","Pi-Sync ( direktes Kx/Pi zu Kx/Pi sync )" },
952{ "Mobile device (cell phone)","Mobiles Gerät (Handy)" }, 946{ "Mobile device (cell phone)","Mobiles Gerät (Handy)" },
953{ "Help...","Hilfe..." }, 947{ "Help...","Hilfe..." },
954{ "Local file Cal:","Lokale Datei Kal:" }, 948{ "Local file Cal:","Lokale Datei Kal:" },
955{ "Local file ABook:","Lokale Datei ABuch:" }, 949{ "Local file ABook:","Lokale Datei ABuch:" },
956{ "Local file PWMgr:","Lokale Datei PWMgr:" }, 950{ "Local file PWMgr:","Lokale Datei PWMgr:" },
957{ "Addressbook file (*.vcf) is used by KA/Pi","Adressbuch Datei (*.vcf) wird von KA/Pi genutzt" }, 951{ "Addressbook file (*.vcf) is used by KA/Pi","Adressbuch Datei (*.vcf) wird von KA/Pi genutzt" },
958{ "Calendar:","Kalender:" }, 952{ "Calendar:","Kalender:" },
959{ "AddressBook:","AdressBuch:" }, 953{ "AddressBook:","AdressBuch:" },
960{ "PWManager:","PWManager:" }, 954{ "PWManager:","PWManager:" },
961{ "Addressbook file is used by KA/Pi","Adressbuch Datei wird von KA/Pi genutzt" }, 955{ "Addressbook file is used by KA/Pi","Adressbuch Datei wird von KA/Pi genutzt" },
962{ "ssh/scp","ssh/scp" }, 956{ "ssh/scp","ssh/scp" },
963{ "ftp","ftp" }, 957{ "ftp","ftp" },
964{ "Password for remote access: (could be the same for each)","Passwort für entfernten Zugriff: (kann dasselbe sein für alle)" }, 958{ "Password for remote access: (could be the same for each)","Passwort für entfernten Zugriff: (kann dasselbe sein für alle)" },
965{ "Remote IP address: (could be the same for each)","Entfernte IP Adresse: (kann dasselbe sein für alle)" }, 959{ "Remote IP address: (could be the same for each)","Entfernte IP Adresse: (kann dasselbe sein für alle)" },
966{ "Remote port number: (should be different for each)","Entfernte Port Nummer: (Sollte für alle unterschiedlich sein)" }, 960{ "Remote port number: (should be different for each)","Entfernte Port Nummer: (Sollte für alle unterschiedlich sein)" },
967{ "command for downloading remote file to local device","Kommando zum Download der entfernten Datei zum lokalen Gerät" }, 961{ "command for downloading remote file to local device","Kommando zum Download der entfernten Datei zum lokalen Gerät" },
968{ "command for uploading local temp file to remote device","Kommando zum Upload der lokalen temp. Datei zum entfernten Gerät" }, 962{ "command for uploading local temp file to remote device","Kommando zum Upload der lokalen temp. Datei zum entfernten Gerät" },
969{ "Insert device where\nphone is connected. E.g.:\n","Füge Device ein, an dem\ndas Handy angeschlossen ist. Z.B.:\n" }, 963{ "Insert device where\nphone is connected. E.g.:\n","Füge Device ein, an dem\ndas Handy angeschlossen ist. Z.B.:\n" },
970{ "KDE-Pim sync config","KDE-Pim sync Konfig" }, 964{ "KDE-Pim sync config","KDE-Pim sync Konfig" },
971{ "Insert kind of connection,e.g.:\n","Füge Art der Verbindung ein,z.B.:\n" }, 965{ "Insert kind of connection,e.g.:\n","Füge Art der Verbindung ein,z.B.:\n" },
972{ "Recommended: Leave empty!\n(Such that model can\nbe auto detected)\nOr insert name of model:\n","Empfohlen: Leer lassen!\n(So dass das Model\nautomatisch erkannt\nwerden kann)\nOder füge Model Name ein:\n" }, 966{ "Recommended: Leave empty!\n(Such that model can\nbe auto detected)\nOr insert name of model:\n","Empfohlen: Leer lassen!\n(So dass das Model\nautomatisch erkannt\nwerden kann)\nOder füge Model Name ein:\n" },
973{ "Port number (Default: %1)","Port Nummer (Default: %1)" }, 967{ "Port number (Default: %1)","Port Nummer (Default: %1)" },
974{ "Password to enable\naccess from remote:","Passwort um entfernten\nZugriff zuzulassen:" }, 968{ "Password to enable\naccess from remote:","Passwort um entfernten\nZugriff zuzulassen:" },
975{ "Automatically start\nat application startup","Starte automatisch\nbeim Programmstart" }, 969{ "Automatically start\nat application startup","Starte automatisch\nbeim Programmstart" },
976{ "Automatically sync\nwith KDE-Desktop","Automatischer Sync\nmit dem KDE-Desktop" }, 970{ "Automatically sync\nwith KDE-Desktop","Automatischer Sync\nmit dem KDE-Desktop" },
977{ "Enter port for Pi-Sync","Port Nummer für Pi-Sync" }, 971{ "Enter port for Pi-Sync","Port Nummer für Pi-Sync" },
978{ "Disable Pi-Sync","Schalte Pi-Sync aus" }, 972{ "Disable Pi-Sync","Schalte Pi-Sync aus" },
979{ "Do you really want\nto multiple sync\nwith all checked profiles?\nSyncing takes some\ntime - all profiles\nare synced twice!","Wollen Sie wirklich\nmit allen selektierten\nProfilen \"Multi-Syncen\"?\nDas Syncen dauert einige Zeit -\nalle Profile werden zweimal gesynct!" }, 973{ "Do you really want\nto multiple sync\nwith all checked profiles?\nSyncing takes some\ntime - all profiles\nare synced twice!","Wollen Sie wirklich\nmit allen selektierten\nProfilen \"Multi-Syncen\"?\nDas Syncen dauert einige Zeit -\nalle Profile werden zweimal gesynct!" },
980{ "KDE-Pim Sync","KDE-Pim Sync" }, 974{ "KDE-Pim Sync","KDE-Pim Sync" },
981{ "Multiple profiles","Multi-Sync Profile" }, 975{ "Multiple profiles","Multi-Sync Profile" },
982{ "Device: ","Gerät: " }, 976{ "Device: ","Gerät: " },
983{ "Multiple sync started.","Multi-Sync gestartet." }, 977{ "Multiple sync started.","Multi-Sync gestartet." },
984{ "Nothing synced! No profiles defined for multisync!","Nichts gesynct! Keine Profile\nselektiert für Multi-Sync" }, 978{ "Nothing synced! No profiles defined for multisync!","Nichts gesynct! Keine Profile\nselektiert für Multi-Sync" },
985{ "Turn filter on","Schalte Filter an" }, 979{ "Turn filter on","Schalte Filter an" },
986{ "Turn filter off","Schalte Filter aus" }, 980{ "Turn filter off","Schalte Filter aus" },
987{ "Key bindings KOrganizer/Pi","Tastatur Belegung KOrganizer/Pi" }, 981{ "Key bindings KOrganizer/Pi","Tastatur Belegung KOrganizer/Pi" },
988{ "<p><b>White</b>: Item readonly</p>\n","<p><b>Weiss</b>: Eintrag schreibgeschützt</p>\n" }, 982{ "<p><b>White</b>: Item readonly</p>\n","<p><b>Weiss</b>: Eintrag schreibgeschützt</p>\n" },
989{ "<p><b>Dark yellow</b>: Event/todo with attendees.</p>\n","<p><b>Dunkelgelb</b>: Termin/Todo mit Teilnehmern.</p>\n" }, 983{ "<p><b>Dark yellow</b>: Event/todo with attendees.</p>\n","<p><b>Dunkelgelb</b>: Termin/Todo mit Teilnehmern.</p>\n" },
990{ "<p><b>Black</b>: Event/todo with attendees. You are the organizer!</p>\n","<p><b>Schwarz</b>: Termin/Todo mit Teilnehmern. Sie sind der Organisator!</p>\n" }, 984{ "<p><b>Black</b>: Event/todo with attendees. You are the organizer!</p>\n","<p><b>Schwarz</b>: Termin/Todo mit Teilnehmern. Sie sind der Organisator!</p>\n" },
991{ "<p><b>Dark green</b>: Information(description) available.([i] in WN view)</p>\n","<p><b>Dunkelgrün</b>: Information(Beschreibung) verfügbar.([i] in WN Ansicht)</p>\n" }, 985{ "<p><b>Dark green</b>: Information(description) available.([i] in WN view)</p>\n","<p><b>Dunkelgrün</b>: Information(Beschreibung) verfügbar.([i] in WN Ansicht)</p>\n" },
992{ "<p><b>Blue</b>: Recurrent event.([r] in Whats'Next view)</p>\n","<p><b>Blau</b>: Wiederholender Termin.([r] in Whats'Next Ansicht)</p>\n" }, 986{ "<p><b>Blue</b>: Recurrent event.([r] in Whats'Next view)</p>\n","<p><b>Blau</b>: Wiederholender Termin.([r] in Whats'Next Ansicht)</p>\n" },
993{ "<p><b>Red</b>: Alarm set.([a] in Whats'Next view)</p>\n","<p><b>Rot</b>: Alarm gesetzt.([a] in Whats'Next Ansicht)</p>\n" }, 987{ "<p><b>Red</b>: Alarm set.([a] in Whats'Next view)</p>\n","<p><b>Rot</b>: Alarm gesetzt.([a] in Whats'Next Ansicht)</p>\n" },
994{ "<p><b>Cross</b>: Item cancelled.([c] in Whats'Next view)</p>\n","<p><b>Kreuz</b>: Eintrag gecancelt.([c] in Whats'Next Ansicht)</p>\n" }, 988{ "<p><b>Cross</b>: Item cancelled.([c] in Whats'Next view)</p>\n","<p><b>Kreuz</b>: Eintrag gecancelt.([c] in Whats'Next Ansicht)</p>\n" },
995{ "<p><b>(for square icons in agenda and month view)</b></p>\n","<p><b>(für quadratische Icons in Agenda und Monats Ansicht)</b></p>\n" }, 989{ "<p><b>(for square icons in agenda and month view)</b></p>\n","<p><b>(für quadratische Icons in Agenda und Monats Ansicht)</b></p>\n" },
996{ "<p><h2>KO/Pi icon colors:</h2></p>\n","<p><h2>KO/Pi Icon Farben:</h2></p>\n" }, 990{ "<p><h2>KO/Pi icon colors:</h2></p>\n","<p><h2>KO/Pi Icon Farben:</h2></p>\n" },
997{ "<p><b>E</b>: Edit item</p>\n","<p><b>E</b>: Editiere Eintrag</p>\n" }, 991{ "<p><b>E</b>: Edit item</p>\n","<p><b>E</b>: Editiere Eintrag</p>\n" },
998{ "<p><b>A</b>: Show agenda view.</p>\n","<p><b>A</b>: Zeige Agenda Ansicht.</p>\n" }, 992{ "<p><b>A</b>: Show agenda view.</p>\n","<p><b>A</b>: Zeige Agenda Ansicht.</p>\n" },
999{ "<p><b>I,C</b>: Close dialog.</p>\n","<p><b>I,C</b>: Schließe Dialog.</p>\n" }, 993{ "<p><b>I,C</b>: Close dialog.</p>\n","<p><b>I,C</b>: Schließe Dialog.</p>\n" },
1000{ "<p><h3>In event/todo viewer:</h3></p>\n","<p><h3>In Termin/Todo Detail-Anzeige:</h3></p>\n" }, 994{ "<p><h3>In event/todo viewer:</h3></p>\n","<p><h3>In Termin/Todo Detail-Anzeige:</h3></p>\n" },
1001{ "<p><b>shift+up/down</b>: Goto first/last item</p>\n","<p><b>shift+up/down</b>: Gehe zum ersten/letzten Eintrag</p>\n" }, 995{ "<p><b>shift+up/down</b>: Goto first/last item</p>\n","<p><b>shift+up/down</b>: Gehe zum ersten/letzten Eintrag</p>\n" },
1002{ "<p><b>ctrl+up/down</b>: Goto up/down by 20% of items</p>\n","<p><b>ctrl+up/down</b>: Gehe hoch/runter 20% aller Einträge</p>\n" }, 996{ "<p><b>ctrl+up/down</b>: Goto up/down by 20% of items</p>\n","<p><b>ctrl+up/down</b>: Gehe hoch/runter 20% aller Einträge</p>\n" },
1003{ "<p><b>up/down</b>: Next/prev item</p>\n","<p><b>up/down</b>: Nächster/vorheriger Eintrag</p>\n" }, 997{ "<p><b>up/down</b>: Next/prev item</p>\n","<p><b>up/down</b>: Nächster/vorheriger Eintrag</p>\n" },
1004{ "<p><b>return+shift</b>: Deselect item+one step down</p>\n","<p><b>return+shift</b>: Deselektiere Item+Cursor einen Eintrag runter</p>\n" }, 998{ "<p><b>return+shift</b>: Deselect item+one step down</p>\n","<p><b>return+shift</b>: Deselektiere Item+Cursor einen Eintrag runter</p>\n" },
1005{ "<p><b>return</b>: Select item+one step down</p>\n","<p><b>return</b>: Selektiere Item+Cursor einen Eintrag runter</p>\n" }, 999{ "<p><b>return</b>: Select item+one step down</p>\n","<p><b>return</b>: Selektiere Item+Cursor einen Eintrag runter</p>\n" },
1006{ "<p><b>I</b>: Show info of current item+one step down.</p>\n","<p><b>I</b>: Zeige Detail-Ansicht vom sel.Eintrag+Cursor einen Eintrag runter.</p>\n" }, 1000{ "<p><b>I</b>: Show info of current item+one step down.</p>\n","<p><b>I</b>: Zeige Detail-Ansicht vom sel.Eintrag+Cursor einen Eintrag runter.</p>\n" },
1007{ "<p><h3>In list view:</h3></p>\n","<p><h3>In Listen Ansicht:</h3></p>\n" }, 1001{ "<p><h3>In list view:</h3></p>\n","<p><h3>In Listen Ansicht:</h3></p>\n" },
1008{ "<p><b>return+shift</b>: Mark item as not completed+one step down</p>\n","<p><b>return+shift</b>: Markiere Todo als nicht erledigt+Cursor einen Eintrag runter</p>\n" }, 1002{ "<p><b>return+shift</b>: Mark item as not completed+one step down</p>\n","<p><b>return+shift</b>: Markiere Todo als nicht erledigt+Cursor einen Eintrag runter</p>\n" },
1009{ "<p><b>return</b>: Mark item as completed+one step down.</p>\n","<p><b>return</b>: Markiere Todo als erledigt+Cursor einen Eintrag runter.</p>\n" }, 1003{ "<p><b>return</b>: Mark item as completed+one step down.</p>\n","<p><b>return</b>: Markiere Todo als erledigt+Cursor einen Eintrag runter.</p>\n" },
1010{ "<p><b>Q</b>: Toggle quick todo line edit.</p>\n","<p><b>Q</b>: Zeige/verstecke Quick Todo Eingabe Zeile.</p>\n" }, 1004{ "<p><b>Q</b>: Toggle quick todo line edit.</p>\n","<p><b>Q</b>: Zeige/verstecke Quick Todo Eingabe Zeile.</p>\n" },
1011{ "<p><b>shift+P</b>: Make new <b>P</b>arent for todo selected with shift+S</p>\n","<p><b>shift+P</b>: Mache Todo zum neuen <b>P</b>arent Todo für das Todo, welches mit shift+Sselektiert wurde.</p>\n" }, 1005{ "<p><b>shift+P</b>: Make new <b>P</b>arent for todo selected with shift+S</p>\n","<p><b>shift+P</b>: Mache Todo zum neuen <b>P</b>arent Todo für das Todo, welches mit shift+Sselektiert wurde.</p>\n" },
1012{ "<p><b>shift+S</b>: Make <b>S</b>ubtodo (reparent todo)</p>\n","<p><b>shift+S</b>: Mache Todo zum <b>S</b>ubtodo</p>\n" }, 1006{ "<p><b>shift+S</b>: Make <b>S</b>ubtodo (reparent todo)</p>\n","<p><b>shift+S</b>: Mache Todo zum <b>S</b>ubtodo</p>\n" },
1013{ "<p><b>shift+U</b>: <b>U</b>nparent todo (make root todo)</p>\n","<p><b>shift+U</b>: <b>U</b>nparent Todo (Mache Sub-Todo zum Toplevel Todo)</p>\n" }, 1007{ "<p><b>shift+U</b>: <b>U</b>nparent todo (make root todo)</p>\n","<p><b>shift+U</b>: <b>U</b>nparent Todo (Mache Sub-Todo zum Toplevel Todo)</p>\n" },
1014{ "<p><h3>In todo view:</h3></p>\n","<p><h3>In Todo Anzige:</h3></p>\n" }, 1008{ "<p><h3>In todo view:</h3></p>\n","<p><h3>In Todo Anzige:</h3></p>\n" },
1015{ "<p><b>ctrl+up/down</b>: Scroll small todo view</p>\n","<p><b>ctrl+up/down</b>: Scrolle kleine Todo Ansicht</p>\n" }, 1009{ "<p><b>ctrl+up/down</b>: Scroll small todo view</p>\n","<p><b>ctrl+up/down</b>: Scrolle kleine Todo Ansicht</p>\n" },
1016{ "<p><b>up/down</b>: Scroll agenda view</p>\n","<p><b>up/down</b>: Scrolle Agenda Ansicht</p>\n" }, 1010{ "<p><b>up/down</b>: Scroll agenda view</p>\n","<p><b>up/down</b>: Scrolle Agenda Ansicht</p>\n" },
1017{ "<p><h3>In agenda view:</h3></p>\n","<p><h3>In Agenda Ansicht:</h3></p>\n" }, 1011{ "<p><h3>In agenda view:</h3></p>\n","<p><h3>In Agenda Ansicht:</h3></p>\n" },
1018{ "<p><b>del,backspace</b>: Delete selected item</p>\n","<p><b>del,backspace</b>: Lösche selektiertes Item</p>\n" }, 1012{ "<p><b>del,backspace</b>: Delete selected item</p>\n","<p><b>del,backspace</b>: Lösche selektiertes Item</p>\n" },
1019{ "<p><b>left</b>: Prev. week | <b>left+ctrl</b>: Prev. month</p>\n","<p><b>left</b>: Vorh. Woche | <b>left+ctrl</b>: Vorh. Monat</p>\n" }, 1013{ "<p><b>left</b>: Prev. week | <b>left+ctrl</b>: Prev. month</p>\n","<p><b>left</b>: Vorh. Woche | <b>left+ctrl</b>: Vorh. Monat</p>\n" },
1020{ "<p><b>right</b>: Next week | <b>right+ctrl</b>: Next month</p>\n","<p><b>right</b>: Nächste Woche | <b>right+ctrl</b>: Nächste Woche</p>\n" }, 1014{ "<p><b>right</b>: Next week | <b>right+ctrl</b>: Next month</p>\n","<p><b>right</b>: Nächste Woche | <b>right+ctrl</b>: Nächste Woche</p>\n" },
1021{ "<p><b>B</b>: Edit description (details) of selected item</p>\n","<p><b>B</b>: Editiere Beschreibung (Details) des selektierten Items</p>\n" }, 1015{ "<p><b>B</b>: Edit description (details) of selected item</p>\n","<p><b>B</b>: Editiere Beschreibung (Details) des selektierten Items</p>\n" },
1022{ "<p><b>C</b>: Show current time in agenda view</p>\n","<p><b>C</b>: Zeige aktuelle Zeit in Agenda Ansicht</p>\n" }, 1016{ "<p><b>C</b>: Show current time in agenda view</p>\n","<p><b>C</b>: Zeige aktuelle Zeit in Agenda Ansicht</p>\n" },
1023{ "<p><b>+,-</b> : Zoom in/out agenda | <b>A</b>: Toggle allday agenda height</p>\n","<p><b>+,-</b> : Zoom rein/raus Agenda | <b>A</b>: Wechsle Ganztag Agenda Höhe</p>\n" }, 1017{ "<p><b>+,-</b> : Zoom in/out agenda | <b>A</b>: Toggle allday agenda height</p>\n","<p><b>+,-</b> : Zoom rein/raus Agenda | <b>A</b>: Wechsle Ganztag Agenda Höhe</p>\n" },
1024{ "<p><b>S+ctrl</b>: Add sub-todo | <b>X+ctrl</b>: Toggle datenavigator</p>\n","<p><b>S+ctrl</b>: Füge Sub-Todo hinzu | <b>X+ctrl</b>: Zeige/verstecke Datumsnavigator</p>\n" }, 1018{ "<p><b>S+ctrl</b>: Add sub-todo | <b>X+ctrl</b>: Toggle datenavigator</p>\n","<p><b>S+ctrl</b>: Füge Sub-Todo hinzu | <b>X+ctrl</b>: Zeige/verstecke Datumsnavigator</p>\n" },
1025{ "<p><b>T</b>: Goto today | <b>T+ctrl</b>: New Todo</p>\n","<p><b>T</b>: Gehe zu Heute | <b>T+ctrl</b>: Neues Todo</p>\n" }, 1019{ "<p><b>T</b>: Goto today | <b>T+ctrl</b>: New Todo</p>\n","<p><b>T</b>: Gehe zu Heute | <b>T+ctrl</b>: Neues Todo</p>\n" },
1026{ "<p><b>E</b>: Edit selected item |<b> E+ctrl</b>: New Event</p>\n","<p><b>E</b>: Editiere selektiertes Item |<b> E+ctrl</b>: Neuer Termin</p>\n" }, 1020{ "<p><b>E</b>: Edit selected item |<b> E+ctrl</b>: New Event</p>\n","<p><b>E</b>: Editiere selektiertes Item |<b> E+ctrl</b>: Neuer Termin</p>\n" },
1027{ "<p><b>D</b>: One day view | <b>M</b>: Month view</p>\n","<p><b>D</b>: Ein-Tages Ansicht | <b>M</b>: Monatsansicht</p>\n" }, 1021{ "<p><b>D</b>: One day view | <b>M</b>: Month view</p>\n","<p><b>D</b>: Ein-Tages Ansicht | <b>M</b>: Monatsansicht</p>\n" },
1028{ "<p><b>Z,Y</b>: Work week view | <b>U</b>: Week view</p>\n","<p><b>Z,Y</b>: Arbeitswochenansicht | <b>U</b>: Wochenansicht</p>\n" }, 1022{ "<p><b>Z,Y</b>: Work week view | <b>U</b>: Week view</p>\n","<p><b>Z,Y</b>: Arbeitswochenansicht | <b>U</b>: Wochenansicht</p>\n" },
1029{ "<p><b>V</b>: Todo view | <b>L</b>: Event list view</p>\n","<p><b>V</b>: Todo Ansicht | <b>L</b>: Termin Listen Ansicht</p>\n" }, 1023{ "<p><b>V</b>: Todo view | <b>L</b>: Event list view</p>\n","<p><b>V</b>: Todo Ansicht | <b>L</b>: Termin Listen Ansicht</p>\n" },
1030{ "<p><b>X</b>: Next X days view| <b>W</b>: What's next view\n ","<p><b>X</b>: Nächste-X-Tage Ansicht | <b>W</b>: What's Next Ansicht\n " }, 1024{ "<p><b>X</b>: Next X days view| <b>W</b>: What's next view\n ","<p><b>X</b>: Nächste-X-Tage Ansicht | <b>W</b>: What's Next Ansicht\n " },
1031{ "<p><b>1-0</b> (+<b>ctrl</b>): Select filter 1-10 (11-20)</p>\n","<p><b>1-0</b> (+<b>ctrl</b>): Selektiere Filter 1-10 (11-20)</p>\n" }, 1025{ "<p><b>1-0</b> (+<b>ctrl</b>): Select filter 1-10 (11-20)</p>\n","<p><b>1-0</b> (+<b>ctrl</b>): Selektiere Filter 1-10 (11-20)</p>\n" },
1032{ "<p><b>O</b>: Filter On/Off | <b>J</b>: Journal view</p>\n","<p><b>O</b>: Filter An/Aus | <b>J</b>: Journal Ansicht</p>\n" }, 1026{ "<p><b>O</b>: Filter On/Off | <b>J</b>: Journal view</p>\n","<p><b>O</b>: Filter An/Aus | <b>J</b>: Journal Ansicht</p>\n" },
1033{ "<p><b>F</b>: Toggle filterview |<b>F+ctrl</b>: Edit filter </p>\n","<p><b>F</b>: Zeige/verstecke Filter Ansicht |<b>F+ctrl</b>: Editiere Filter </p>\n" }, 1027{ "<p><b>F</b>: Toggle filterview |<b>F+ctrl</b>: Edit filter </p>\n","<p><b>F</b>: Zeige/verstecke Filter Ansicht |<b>F+ctrl</b>: Editiere Filter </p>\n" },
1034{ "<p><b>Space</b>: Toggle fullscreen | <b>P</b>: Date picker</p>\n","<p><b>Space</b>: Zeige fullscreen | <b>P</b>: Datums Picker</p>\n" }, 1028{ "<p><b>Space</b>: Toggle fullscreen | <b>P</b>: Date picker</p>\n","<p><b>Space</b>: Zeige fullscreen | <b>P</b>: Datums Picker</p>\n" },
1035{ "<p><b>I</b>: Show info for selected event/todo</p>\n","<p><b>I</b>: Zeige Info (Details) für selektiertes Item</p>\n" }, 1029{ "<p><b>I</b>: Show info for selected event/todo</p>\n","<p><b>I</b>: Zeige Info (Details) für selektiertes Item</p>\n" },
1036{ "<p><b>H</b>: This help dialog | <b>S</b>: Search dialog</p>\n","<p><b>H</b>: Dieser Hilfe Dialog | <b>S</b>: Such Dialog</p>\n" }, 1030{ "<p><b>H</b>: This help dialog | <b>S</b>: Search dialog</p>\n","<p><b>H</b>: Dieser Hilfe Dialog | <b>S</b>: Such Dialog</p>\n" },
1037{ "<p><h2>KO/Pi key shortcuts:</h2></p>\n","<p><h2>KO/Pi Tastatur Kurzbefehle:</h2></p>\n" }, 1031{ "<p><h2>KO/Pi key shortcuts:</h2></p>\n","<p><h2>KO/Pi Tastatur Kurzbefehle:</h2></p>\n" },
1038{ "After changing something, the data is\nautomatically saved to the file\n~/kdepim/apps/korganizer/mycalendar.ics\nafter (configurable) three minutes.\nFor safety reasons there is one autosaving\nafter 10 minutes (of idle time) again. The \ndata is saved automatically when closing KO/Pi\nYou can create a backup file \nwith: File - Save Calendar Backup\n","Nachdem etwas geändert wurde, werden die\nDaten automatisch in die Datei abgespeichert\n~/kdepim/apps/korganizer/mycalendar.ics\nnach (konfigurierbar) drei Minuten.\nAus Sicherheitsgründen wird noch einmal\nnach 10 Min. abgespeichert, wenn keine\nÄnderungen vorgenommen wurden. Die \nDaten werden automatisch gespeichert,\nwenn KO/Pi beendet wird.\nSie können eine Backup-Datei erstellen im\nMenu: Datei - Speichere Kalender Backup\n" }, 1032{ "After changing something, the data is\nautomatically saved to the file\n~/kdepim/apps/korganizer/mycalendar.ics\nafter (configurable) three minutes.\nFor safety reasons there is one autosaving\nafter 10 minutes (of idle time) again. The \ndata is saved automatically when closing KO/Pi\nYou can create a backup file \nwith: File - Save Calendar Backup\n","Nachdem etwas geändert wurde, werden die\nDaten automatisch in die Datei abgespeichert\n~/kdepim/apps/korganizer/mycalendar.ics\nnach (konfigurierbar) drei Minuten.\nAus Sicherheitsgründen wird noch einmal\nnach 10 Min. abgespeichert, wenn keine\nÄnderungen vorgenommen wurden. Die \nDaten werden automatisch gespeichert,\nwenn KO/Pi beendet wird.\nSie können eine Backup-Datei erstellen im\nMenu: Datei - Speichere Kalender Backup\n" },
1039{ "Auto Saving in KOrganizer/Pi","Auto Speichern in KOrganizer/Pi" }, 1033{ "Auto Saving in KOrganizer/Pi","Auto Speichern in KOrganizer/Pi" },
1040{ "\nhttp://sourceforge.net/projects/kdepimpi\n","\nhttp://sourceforge.net/projects/kdepimpi\n" }, 1034{ "\nhttp://sourceforge.net/projects/kdepimpi\n","\nhttp://sourceforge.net/projects/kdepimpi\n" },
1041{ "\nor report them in the bugtracker on\n","\noder trage sie in dem Bugtracker ein auf\n" }, 1035{ "\nor report them in the bugtracker on\n","\noder trage sie in dem Bugtracker ein auf\n" },
1042{ "\nPlease report unexpected behaviour to\nlutz@pi-sync.info\n","\nBitte melde fehlerhaftes Verhalten an\nlutz@pi-sync.info\n" }, 1036{ "\nPlease report unexpected behaviour to\nlutz@pi-sync.info\n","\nBitte melde fehlerhaftes Verhalten an\nlutz@pi-sync.info\n" },
1043{ "2) Audio alarm daemon\nfor Zaurus is available!\nas an additional small application\n","2) Ein Audio Alarm Daemon\nfür den Zaurus ist verfügbar\nals zusätzliche Anwendung\n" }, 1037{ "2) Audio alarm daemon\nfor Zaurus is available!\nas an additional small application\n","2) Ein Audio Alarm Daemon\nfür den Zaurus ist verfügbar\nals zusätzliche Anwendung\n" },
1044{ "1) Importing *.vcs or *.ics files from\nother applications may not work properly,\nif there are events with properties\nKO/Pi does not support.\n","1) Importieren von *.vcs oder *.ics Dateien von\nanderen Anwendungen kann möglicherweise\n nicht richtig funktionieren,\nwenn die Termine Eigenschaften haben,\ndie KO/Pi nicht unterstützt.\n" }, 1038{ "1) Importing *.vcs or *.ics files from\nother applications may not work properly,\nif there are events with properties\nKO/Pi does not support.\n","1) Importieren von *.vcs oder *.ics Dateien von\nanderen Anwendungen kann möglicherweise\n nicht richtig funktionieren,\nwenn die Termine Eigenschaften haben,\ndie KO/Pi nicht unterstützt.\n" },
1045{ "Known Problems in KOrganizer/Pi","Bekannte Probleme in KOrganizer/Pi" }, 1039{ "Known Problems in KOrganizer/Pi","Bekannte Probleme in KOrganizer/Pi" },
1046{ "KO/Pi FAQ","KO/Pi FAQ" }, 1040{ "KO/Pi FAQ","KO/Pi FAQ" },
1047{ "PDA-Edition\nfor: Zaurus 5x00/7x0/860/3000/6000\n","PDA-Edition\nfür: Zaurus 5x00/7x0/860/3000/6000\n" }, 1041{ "PDA-Edition\nfor: Zaurus 5x00/7x0/860/3000/6000\n","PDA-Edition\nfür: Zaurus 5x00/7x0/860/3000/6000\n" },
1048{ "KOrganizer/Platform-independent\n","KOrganizer/Platform-independent\n" }, 1042{ "KOrganizer/Platform-independent\n","KOrganizer/Platform-independent\n" },
1049{ "About KOrganizer/Pi","Über KOrganizer/Pi" }, 1043{ "About KOrganizer/Pi","Über KOrganizer/Pi" },
1050{ "From: ","Von: " }, 1044{ "From: ","Von: " },
1051{ "Remove sync info","Entferne Sync Info" }, 1045{ "Remove sync info","Entferne Sync Info" },
1052{ "For all profiles","Für alle Profile" }, 1046{ "For all profiles","Für alle Profile" },
1053{ "Hide not Running","Verstecke nicht Laufende" }, 1047{ "Hide not Running","Verstecke nicht Laufende" },
1054{ "ME","ME" }, 1048{ "ME","ME" },
1055{ "Toolbar","Toolbar" }, 1049{ "Toolbar","Toolbar" },
1056{ "Undo Delete...","Löschen rückgängig machen..." }, 1050{ "Undo Delete...","Löschen rückgängig machen..." },
1057{ "Undo Delete","Löschen rückgängig machen" }, 1051{ "Undo Delete","Löschen rückgängig machen" },
1058{ "KDE Sync HowTo...","KDE Sync HowTo..." }, 1052{ "KDE Sync HowTo...","KDE Sync HowTo..." },
1059{ "Multi Sync HowTo...","Multi Sync HowTo..." }, 1053{ "Multi Sync HowTo...","Multi Sync HowTo..." },
1060{ "Januar","Januar" }, 1054{ "Januar","Januar" },
1061{ "KO/Pi Keys + Colors","KO/Pi Tasten + Farben" }, 1055{ "KO/Pi Keys + Colors","KO/Pi Tasten + Farben" },
1062{ "No Filter","Kein Filter" }, 1056{ "No Filter","Kein Filter" },
1063{ "Multiple Sync options","Multi Sync Optionen" }, 1057{ "Multiple Sync options","Multi Sync Optionen" },
1064{ "Sync algo options","Sync Ablauf Optionen" }, 1058{ "Sync algo options","Sync Ablauf Optionen" },
1065{ "Apply filter when adding data to local:","Filter für das Hinzufügen von Daten zu Lokal:" }, 1059{ "Apply filter when adding data to local:","Filter für das Hinzufügen von Daten zu Lokal:" },
1066{ "Incoming calendar filter:","Eingehender Kalender Filter:" }, 1060{ "Incoming calendar filter:","Eingehender Kalender Filter:" },
1067{ "Incoming addressbook filter:","Eingehender Adressbuch Filter:" }, 1061{ "Incoming addressbook filter:","Eingehender Adressbuch Filter:" },
1068{ "Write back options","Optionen zum Zurückschreiben" }, 1062{ "Write back options","Optionen zum Zurückschreiben" },
1069{ "Write back (on remote) existing entries only","Schreibe nur existierende (auf Entfernt) Einträge zurück" }, 1063{ "Write back (on remote) existing entries only","Schreibe nur existierende (auf Entfernt) Einträge zurück" },
1070{ "Apply filter when adding data to remote:","Filter für das Hinzufügen von Daten zu Entfernt:" }, 1064{ "Apply filter when adding data to remote:","Filter für das Hinzufügen von Daten zu Entfernt:" },
1071{ "Outgoing calendar filter:","Ausgehender Kalender Filter:" }, 1065{ "Outgoing calendar filter:","Ausgehender Kalender Filter:" },
1072{ "Outgoing addressbook filter:","Ausgehender Adressbuch Filter:" }, 1066{ "Outgoing addressbook filter:","Ausgehender Adressbuch Filter:" },
1073{ "Write back (calendar) entries for time period only","Schreibe nur Kalender Einträge für Zeitspanne zurück" }, 1067{ "Write back (calendar) entries for time period only","Schreibe nur Kalender Einträge für Zeitspanne zurück" },
1074{ "Time period","Zeitspanne" }, 1068{ "Time period","Zeitspanne" },
1075{ "From ","Von " }, 1069{ "From ","Von " },
1076{ " weeks in the past to "," Wochen in der Vergangenheit bis zu " }, 1070{ " weeks in the past to "," Wochen in der Vergangenheit bis zu " },
1077{ " weeks in the future "," Wochen in der Zukunft " }, 1071{ " weeks in the future "," Wochen in der Zukunft " },
1078{ "Profile kind specific settings","Profil Art abhängige Einstellungen" }, 1072{ "Profile kind specific settings","Profil Art abhängige Einstellungen" },
1079{ "Local temp file:","Lokale temp Datei:" }, 1073{ "Local temp file:","Lokale temp Datei:" },
1080{ "Multiple profiles with same name!\nPlease use unique profile names!","Mehrere Profile mit demselben Namen!\nBitte verschiedene Namen benutzen!" }, 1074{ "Multiple profiles with same name!\nPlease use unique profile names!","Mehrere Profile mit demselben Namen!\nBitte verschiedene Namen benutzen!" },
1081{ "Aborted! Nothing synced!","Abgebrochen! Nichts wurde gesynct!" }, 1075{ "Aborted! Nothing synced!","Abgebrochen! Nichts wurde gesynct!" },
1082{ "Language","Sprache" }, 1076{ "Language","Sprache" },
1083{ "Time Format","Zeit Format" }, 1077{ "Time Format","Zeit Format" },
1084{ "Time Zone","Zeit Zone" }, 1078{ "Time Zone","Zeit Zone" },
1085{ "%1 groups subscribed","%1 Guppen abboniert" }, 1079{ "%1 groups subscribed","%1 Guppen abboniert" },
1086{ "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" }, 1080{ "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" },
1087{ "<b>New data storage dir:</b>","<b>Neues Datenspeicherverzeichnis:</b>" }, 1081{ "<b>New data storage dir:</b>","<b>Neues Datenspeicherverzeichnis:</b>" },
1088{ "New dirs are created automatically","Neue Verzeichnisse werden aut. erstellt" }, 1082{ "New dirs are created automatically","Neue Verzeichnisse werden aut. erstellt" },
1089{ "Save settings","Speichere Einstellungen" }, 1083{ "Save settings","Speichere Einstellungen" },
1090{ "Save standard","Speichere Standard" }, 1084{ "Save standard","Speichere Standard" },
1091{ "<b>New settings are used\nafter a restart</b>","<b>Neue Einstellungen werden nach\neinem Neustart genutzt</b>" }, 1085{ "<b>New settings are used\nafter a restart</b>","<b>Neue Einstellungen werden nach\neinem Neustart genutzt</b>" },
1092{ "Settings are stored in\n%1","Einstellungen werden gespeichert in:\n%1" }, 1086{ "Settings are stored in\n%1","Einstellungen werden gespeichert in:\n%1" },
1093{ "Data storage path","Daten Speicherpfad" }, 1087{ "Data storage path","Daten Speicherpfad" },
1094{ "Language","Sprache" }, 1088{ "Language","Sprache" },
1095{ "Show time in agenda items","Zeige Zeit in Agenda Items" }, 1089{ "Show time in agenda items","Zeige Zeit in Agenda Items" },
1096{ "Color for Sundays + category "Holiday"","Farbe für Sonntags + Kategorie "Feiertag"" }, 1090{ "Color for Sundays + category "Holiday"","Farbe für Sonntags + Kategorie "Feiertag"" },
1097{ "Show events, that are done in \nWhat's Next view","Zeige abgelaufene Termine in\nWhat's Next Ansicht" }, 1091{ "Show events, that are done","Zeige abgelaufene Termine" },
1098{ "Hide not running Todos in To-do view","Verstecke nicht laufende Todos" }, 1092{ "Hide not running Todos in To-do view","Verstecke nicht laufende Todos" },
1099{ "+01:00 Europe/Oslo(CET)","+01:00 Europe/Oslo(CET)" }, 1093{ "+01:00 Europe/Oslo(CET)","+01:00 Europe/Oslo(CET)" },
1100{ "KO/Pi","KO/Pi" }, 1094{ "KO/Pi","KO/Pi" },
1101{ "There is nothing to undo!","Es gibt nichts zum\nRückgängigmachen!" }, 1095{ "There is nothing to undo!","Es gibt nichts zum\nRückgängigmachen!" },
1102{ "Recreating edit dialog. Please wait...","Recreating edit dialog. Please wait..." }, 1096{ "Recreating edit dialog. Please wait...","Recreating edit dialog. Please wait..." },
1103{ "Sound.Al.: ","Sound.Al.: " }, 1097{ "Sound.Al.: ","Sound.Al.: " },
1104{ "From: %1 To: %2 %3","Von: %1 Bis: %2 %3" }, 1098{ "From: %1 To: %2 %3","Von: %1 Bis: %2 %3" },
1105{ "Restore","Wiederherstellen" }, 1099{ "Restore","Wiederherstellen" },
1106{ "\nAre you sure you want\nto restore this?","\nMöchten Sie das wirklicht\nwiederherstellen?" }, 1100{ "\nAre you sure you want\nto restore this?","\nMöchten Sie das wirklicht\nwiederherstellen?" },
1107{ "% completed","% erledigt" }, 1101{ "% completed","% erledigt" },
1108{ "%d item(s) found.","%d Item(s) gefunden." }, 1102{ "%d item(s) found.","%d Item(s) gefunden." },
1109{ "Set complete","Setze auf erledigt" }, 1103{ "Set complete","Setze auf erledigt" },
1110{ "(cancelled)","(gecancelt)" }, 1104{ "(cancelled)","(gecancelt)" },
1111{ "Click on the week number to\nshow week in agenda view","Klicke auf die Wochennummer\num die Woche in der Agenda anzuzeigen" }, 1105{ "Click on the week number to\nshow week in agenda view","Klicke auf die Wochennummer\num die Woche in der Agenda anzuzeigen" },
1112{ " Local time "," Locale Zeit " }, 1106{ " Local time "," Locale Zeit " },
1113{ "Form2","Form2" }, 1107{ "Form2","Form2" },
1114{ "Filter enabled","Filter angeschaltet" }, 1108{ "Filter enabled","Filter angeschaltet" },
1115{ "Edit Filters","Ändere Filter" }, 1109{ "Edit Filters","Ändere Filter" },
1116{ "Print What's Next View...","Drucke What's Next Ansicht..." }, 1110{ "Print What's Next View...","Drucke What's Next Ansicht..." },
1117{ "Agenda","Agenda" }, 1111{ "Agenda","Agenda" },
1118{ " ("," (" }, 1112{ " ("," (" },
1119{ "<p><b>Due on:</b> %1</p>","<p><b>Fällig am:</b> %1</p>" }, 1113{ "<p><b>Due on:</b> %1</p>","<p><b>Fällig am:</b> %1</p>" },
1120{ "Print","Print" }, 1114{ "Print","Print" },
1121{ "&Setup Printer...","Drucker &Setup..." }, 1115{ "&Setup Printer...","Drucker &Setup..." },
1122{ "View Type","Zeige Typ" }, 1116{ "View Type","Zeige Typ" },
1123{ "Page &orientation:","Seiten Ausrichtung:" }, 1117{ "Page &orientation:","Seiten Ausrichtung:" },
1124{ "Use Default of Selected Style","Default des selektierten Stils" }, 1118{ "Use Default of Selected Style","Default des selektierten Stils" },
1125{ "Use Default Setting of Printer","Default Einstellung des Druckers" }, 1119{ "Use Default Setting of Printer","Default Einstellung des Druckers" },
1126{ "Portrait","Portrait" }, 1120{ "Portrait","Portrait" },
1127{ "Landscape","Landschaft" }, 1121{ "Landscape","Landschaft" },
1128{ "Print day","Drucke Tag" }, 1122{ "Print day","Drucke Tag" },
1129{ "CalPrintDay_Base","CalPrintDay_Base" }, 1123{ "CalPrintDay_Base","CalPrintDay_Base" },
1130{ "Date && Time Range","Datum && Zeitspanne" }, 1124{ "Date && Time Range","Datum && Zeitspanne" },
1131{ "&End date:","&Enddatum:" }, 1125{ "&End date:","&Enddatum:" },
1132{ "&Start date:","&Startdatum:" }, 1126{ "&Start date:","&Startdatum:" },
1133{ "Start &time:","Startzeit:" }, 1127{ "Start &time:","Startzeit:" },
1134{ "End ti&me:","Endzeit:" }, 1128{ "End ti&me:","Endzeit:" },
1135{ "E&xtend time range to include all events","Erweitere Zeitspanne um alle Termine einzuschliessen" }, 1129{ "E&xtend time range to include all events","Erweitere Zeitspanne um alle Termine einzuschliessen" },
1136{ "Include to&dos that are due on the printed day(s)","Inclusive To&dos, die an den selektierten Tagen fällig sind" }, 1130{ "Include to&dos that are due on the printed day(s)","Inclusive To&dos, die an den selektierten Tagen fällig sind" },
1137{ "Alt+D","Alt+D" }, 1131{ "Alt+D","Alt+D" },
1138{ "&Use colors","Nutze Farben" }, 1132{ "&Use colors","Nutze Farben" },
1139{ "Alt+U","Alt+U" }, 1133{ "Alt+U","Alt+U" },
1140{ "Print week","Drucke Woche" }, 1134{ "Print week","Drucke Woche" },
1141{ "CalPrintWeek_Base","CalPrintWeek_Base" }, 1135{ "CalPrintWeek_Base","CalPrintWeek_Base" },
1142{ "Use &colors","Nutze Farben" }, 1136{ "Use &colors","Nutze Farben" },
1143{ "Type of View","Typ der Ansicht" }, 1137{ "Type of View","Typ der Ansicht" },
1144{ "Print as &Filofax page","Drucke als &Filofax Seite" }, 1138{ "Print as &Filofax page","Drucke als &Filofax Seite" },
1145{ "Alt+F","Alt+F" }, 1139{ "Alt+F","Alt+F" },
1146{ "Print as &timetable view:","Drucke als Zeittabelle:" }, 1140{ "Print as &timetable view:","Drucke als Zeittabelle:" },
1147{ "Alt+T","Alt+T" }, 1141{ "Alt+T","Alt+T" },
1148{ "Print as split week view","Drucke als gesplittete Wochenansicht" }, 1142{ "Print as split week view","Drucke als gesplittete Wochenansicht" },
1149{ "Print month","Drucke Monat" }, 1143{ "Print month","Drucke Monat" },
1150{ "CalPrintMonth_Base","CalPrintMonth_Base" }, 1144{ "CalPrintMonth_Base","CalPrintMonth_Base" },
1151{ "&Start month:","&Startmonat:" }, 1145{ "&Start month:","&Startmonat:" },
1152{ "&End month:","&Endmonat:" }, 1146{ "&End month:","&Endmonat:" },
1153{ "Print week &numbers","Drucke Wochen Nummer(n)" }, 1147{ "Print week &numbers","Drucke Wochen Nummer(n)" },
1154{ "Print todos","Drucke Todos" }, 1148{ "Print todos","Drucke Todos" },
1155{ "CalPrintTodoConfig_Base","CalPrintTodoConfig_Base" }, 1149{ "CalPrintTodoConfig_Base","CalPrintTodoConfig_Base" },
1156{ "Include &description of the item","Inclusive Itembeschreibung" }, 1150{ "Include &description of the item","Inclusive Itembeschreibung" },
1157{ "Include d&ue date of the item","Inclusive Fälligkeitsdatum des Items" }, 1151{ "Include d&ue date of the item","Inclusive Fälligkeitsdatum des Items" },
1158{ "Include &priority of the item","Inclusive Priorität des Items" }, 1152{ "Include &priority of the item","Inclusive Priorität des Items" },
1159{ "Items to Print","Zu druckende Items" }, 1153{ "Items to Print","Zu druckende Items" },
1160{ "&From:","Von:" }, 1154{ "&From:","Von:" },
1161{ "&To:","Bis:" }, 1155{ "&To:","Bis:" },
1162{ "Print &all todo items","Drucke alle Todo Items" }, 1156{ "Print &all todo items","Drucke alle Todo Items" },
1163{ "Print only &uncompleted items","Drucke nur nicht erledigte Todos" }, 1157{ "Print only &uncompleted items","Drucke nur nicht erledigte Todos" },
1164{ "Only items due in the &range:","Nur Items in dem Zeitraum:" }, 1158{ "Only items due in the &range:","Nur Items in dem Zeitraum:" },
1165{ "Todo List","Todo Liste" }, 1159{ "Todo List","Todo Liste" },
1166{ "&Title:","&Titel:" }, 1160{ "&Title:","&Titel:" },
1167{ "Co&nnect subtodos with its parent","Verbinde Unter-Todos mit ihren Ober-Todos" }, 1161{ "Co&nnect subtodos with its parent","Verbinde Unter-Todos mit ihren Ober-Todos" },
1168{ "Todo list","Todo Liste" }, 1162{ "Todo list","Todo Liste" },
1169{ "&Print...","Drucke..." }, 1163{ "&Print...","Drucke..." },
1170{ "<qt>Printing on printer <b>%1</b></qt>","<qt>Drucke auf Drucker <b>%1</b></qt>" }, 1164{ "<qt>Printing on printer <b>%1</b></qt>","<qt>Drucke auf Drucker <b>%1</b></qt>" },
1171{ "[Unconfigured]","[Unkonfiguriert]" }, 1165{ "[Unconfigured]","[Unkonfiguriert]" },
1172{ "OK","OK" }, 1166{ "OK","OK" },
1173{ "FilterEditor","FilterEditor" }, 1167{ "FilterEditor","FilterEditor" },
1174{ "Include","Inclusive" }, 1168{ "Include","Inclusive" },
1175{ "Exclude","Exclusive" }, 1169{ "Exclude","Exclusive" },
1176{ "Edit Selection...","Editiere Auswahl" }, 1170{ "Edit Selection...","Editiere Auswahl" },
1177{ "recurring events","wiederholende Termine" }, 1171{ "recurring events","wiederholende Termine" },
1178{ "recurr. events","wiederh.Termine" }, 1172{ "recurr. events","wiederh.Termine" },
1179{ "completed to-dos","erledigte Todos" }, 1173{ "completed to-dos","erledigte Todos" },
1180{ "events","Termine" }, 1174{ "events","Termine" },
1181{ "todos","Todos" }, 1175{ "todos","Todos" },
1182{ "journals","Journale" }, 1176{ "journals","Journale" },
1183{ "public","öffentl." }, 1177{ "public","öffentl." },
1184{ "private","privat" }, 1178{ "private","privat" },
1185{ "confidential","vertraul." }, 1179{ "confidential","vertraul." },
1186{ "\nhas sub-todos.\nAll completed sub-todos\nwill be deleted as well!","\nhat Unter-Todos.\nAlle erledigten Unter-Todos\nwerden auch gelöscht!" }, 1180{ "\nhas sub-todos.\nAll completed sub-todos\nwill be deleted as well!","\nhat Unter-Todos.\nAlle erledigten Unter-Todos\nwerden auch gelöscht!" },
1187{ "Yesterday","Gestern" }, 1181{ "Yesterday","Gestern" },
1188{ "Day after tomorrow","Übermorgen" }, 1182{ "Day after tomorrow","Übermorgen" },
1189{ "Tomorrow","Morgen" }, 1183{ "Tomorrow","Morgen" },
1190{ "Day before yesterday","Vorgestern" }, 1184{ "Day before yesterday","Vorgestern" },
1191{ "Size %1","Größe %1" }, 1185{ "Size %1","Größe %1" },
1192{ "New Agendasize: %1","Neue Agendagröße: %1" }, 1186{ "New Agendasize: %1","Neue Agendagröße: %1" },
1193{ " (%1 y.)"," (%1 J.)" }, 1187{ " (%1 y.)"," (%1 J.)" },
1194{ "Allday:","Ganztägig:" }, 1188{ "Allday:","Ganztägig:" },
1195{ "compl.todos","erled.Todos" }, 1189{ "compl.todos","erled.Todos" },
1196{ "Day view","Tagesansicht" }, 1190{ "Day view","Tagesansicht" },
1197{ "Next days","Nächste Tage" }, 1191{ "Next days","Nächste Tage" },
1198{ "Next week","Nächste Woche" }, 1192{ "Next week","Nächste Woche" },
1199{ "Next two weeks","Nächste zwei Wochen" }, 1193{ "Next two weeks","Nächste zwei Wochen" },
1200{ "This month","Dieser Monat" }, 1194{ "This month","Dieser Monat" },
1201{ "Journal view","Journal" }, 1195{ "Journal view","Journal" },
1202{ "Display all opened","Zeige alle geöffnet" }, 1196{ "Display all opened","Zeige alle geöffnet" },
1203{ "Display all closed","Zeige alle geschlossen" }, 1197{ "Display all closed","Zeige alle geschlossen" },
1204{ "Display all flat","Zeige alle flach" }, 1198{ "Display all flat","Zeige alle flach" },
1205{ "<p><i>Completed on %1</i></p>","<p><i>Erledigt am %1</i></p>" }, 1199{ "<p><i>Completed on %1</i></p>","<p><i>Erledigt am %1</i></p>" },
1206{ "Default todo done color:","Standard Todo erledigt Farbe" }, 1200{ "Default todo done color:","Standard Todo erledigt Farbe" },
1207{ "Select week %1-%2","Wähle Woche %1-%2" }, 1201{ "Select week %1-%2","Wähle Woche %1-%2" },
1208{ "Select Week","Wähle Woche" }, 1202{ "Select Week","Wähle Woche" },
1209{ "Set alarm for selected...","Setze Alarm für Selekt..." }, 1203{ "Set alarm for selected...","Setze Alarm für Selekt..." },
1210{ "Set Alarm!","Setze Alarm!" }, 1204{ "Set Alarm!","Setze Alarm!" },
1211{ "Canged alarm for %1 items","Alarm für %1 Items geändert" }, 1205{ "Canged alarm for %1 items","Alarm für %1 Items geändert" },
1212{ " and "," und " }, 1206{ " and "," und " },
1213{ "<IMG src="%1"> only )","nur <IMG src="%1"> )" }, 1207{ "<IMG src="%1"> only )","nur <IMG src="%1"> )" },
1214{ "Mail to selected","Mail an Ausgewählte" }, 1208{ "Mail to selected","Mail an Ausgewählte" },
1215{ "Mail to all","Mail an Alle" }, 1209{ "Mail to all","Mail an Alle" },
1216{ "Week view mode uses bigger font","Wochenansicht Modus nutzt größeren Font" }, 1210{ "Week view mode uses bigger font","Wochenansicht Modus nutzt größeren Font" },
1217{ "Set reminder ON with offset to:","Alarm AN mit Offset auf:" }, 1211{ "Set reminder ON with offset to:","Alarm AN mit Offset auf:" },
1218{ " on"," am" }, 1212{ " on"," am" },
1219{ " completed on "," erledigt am " }, 1213{ " completed on "," erledigt am " },
1220{ "Save as Event template","Speichere als Vorlage" }, 1214{ "Save as Event template","Speichere als Vorlage" },
1221{ "Load Event template","Lade Termin Vorlage" }, 1215{ "Load Event template","Lade Termin Vorlage" },
1222{ "Save as Journal template","Speichere als Journal Vorlage" }, 1216{ "Save as Journal template","Speichere als Journal Vorlage" },
1223{ "Insert Journal template","Füge Journal Vorlage ein" }, 1217{ "Insert Journal template","Füge Journal Vorlage ein" },
1224{ "Sub todos:<br>","Unter Todos:<br>" }, 1218{ "Sub todos:<br>","Unter Todos:<br>" },
1225{ "Parent todo:<br>","Über Todo:<br>" }, 1219{ "Parent todo:<br>","Über Todo:<br>" },
1226{ "Set current as color category","Setze Gewählte als Farbkategorie" }, 1220{ "Set current as color category","Setze Gewählte als Farbkategorie" },
1227{ " completed"," erledigt" }, 1221{ " completed"," erledigt" },
1228{ "(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!" }, 1222{ "(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!" },
1229{ "Syncing aborted. Nothing synced.","Syncing abgebrochen.Nichts wurde gesynct." }, 1223{ "Syncing aborted. Nothing synced.","Syncing abgebrochen.Nichts wurde gesynct." },
1230{ "Connected! Sending request for remote file ...","Verbunden! Sende Daten Anfrage..." }, 1224{ "Connected! Sending request for remote file ...","Verbunden! Sende Daten Anfrage..." },
1231{ "Trying to connect to remote...","Versuche mit Gegenstelle zu verbinden..." }, 1225{ "Trying to connect to remote...","Versuche mit Gegenstelle zu verbinden..." },
1232{ "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?" }, 1226{ "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?" },
1233{ "ERROR: Receiving remote file failed.","FEHLER: Empfang der entfernten Daten fehlgeschlagen." }, 1227{ "ERROR: Receiving remote file failed.","FEHLER: Empfang der entfernten Daten fehlgeschlagen." },
1234{ "Error","Fehler" }, 1228{ "Error","Fehler" },
1235{ ""You entered an invalid date!\n Date changed to current date.","Ungültiges Datum eingegeben.\nSetze heutiges Datum." }, 1229{ ""You entered an invalid date!\n Date changed to current date.","Ungültiges Datum eingegeben.\nSetze heutiges Datum." },
1236{ "You entered an invalid date!\n Will use current date instead.","Ungültiges Datum eingegeben.\nSetze stattdessen heutiges Datum." }, 1230{ "You entered an invalid date!\n Will use current date instead.","Ungültiges Datum eingegeben.\nSetze stattdessen heutiges Datum." },
1237{ "Warning","Warnung" }, 1231{ "Warning","Warnung" },
1238{ "Select week number","Wähle Wochen Nummer" }, 1232{ "Select week number","Wähle Wochen Nummer" },
1239{ "Februar","Februar" }, 1233{ "Februar","Februar" },
1240{ "Click on the week number to\nshow week zoomed","Klicke auf die Wochennummer\num die Woche groß zu zeigen" }, 1234{ "Click on the week number to\nshow week zoomed","Klicke auf die Wochennummer\num die Woche groß zu zeigen" },
1241{ "W","W" }, 1235{ "W","W" },
1242{ "Click on this to\nselect week number","Klicke hierauf um\ndie Woche auszuwählen" }, 1236{ "Click on this to\nselect week number","Klicke hierauf um\ndie Woche auszuwählen" },
1243{ "T: %1","T: %1" }, 1237{ "T: %1","T: %1" },
1244{ "Start: ","Start: " }, 1238{ "Start: ","Start: " },
1245{ "Pi-Sync options for device: ","Pi-Sync Einstellungen für Gerät: " }, 1239{ "Pi-Sync options for device: ","Pi-Sync Einstellungen für Gerät: " },
1246{ "Password for remote access:","Passwort für fernen Zugriff:" }, 1240{ "Password for remote access:","Passwort für fernen Zugriff:" },
1247{ "Remote IP address:","Ferne IP Adresse:" }, 1241{ "Remote IP address:","Ferne IP Adresse:" },
1248{ "Remote port number:","Ferne Port Nummer:" }, 1242{ "Remote port number:","Ferne Port Nummer:" },
1249{ "Remote file saved to temp file.","Ferne Daten in temp Datei gespeichert." }, 1243{ "Remote file saved to temp file.","Ferne Daten in temp Datei gespeichert." },
1250{ "Remote from: ","Fern von: " }, 1244{ "Remote from: ","Fern von: " },
1251{ "Local from: ","Lokal von: " }, 1245{ "Local from: ","Lokal von: " },
1252{ "Synchronization summary:\n\n %d items added to local\n %d items added to remote\n %d items updated on local\n %d items updated on remote\n %d items deleted on local\n %d items deleted on remote\n %d incoming filtered out\n %d outgoing filtered out\n","Synchronisationsübersicht:\n\n %d lokal hinzugefügt\n %d fern hinzugefügt\n %d lokal geändert\n %d fern geändert\n %d lokal gelöscht\n %d fern gelöscht\n %d eingehende ausgefiltert\n %d ausgehende ausgefiltert\n" }, 1246{ "Synchronization summary:\n\n %d items added to local\n %d items added to remote\n %d items updated on local\n %d items updated on remote\n %d items deleted on local\n %d items deleted on remote\n %d incoming filtered out\n %d outgoing filtered out\n","Synchronisationsübersicht:\n\n %d lokal hinzugefügt\n %d fern hinzugefügt\n %d lokal geändert\n %d fern geändert\n %d lokal gelöscht\n %d fern gelöscht\n %d eingehende ausgefiltert\n %d ausgehende ausgefiltert\n" },
1253{ "Local calendar changed!\n","Lokaler Kalender geändert!\n" }, 1247{ "Local calendar changed!\n","Lokaler Kalender geändert!\n" },
1254{ "Write back","Schreibe zurück" }, 1248{ "Write back","Schreibe zurück" },
1255{ "KO/Pi Synchronization","KO/Pi Synchronisation" }, 1249{ "KO/Pi Synchronization","KO/Pi Synchronisation" },
1256{ "Pi-Sync succesful!","Pi-Sync erfolgreich!" }, 1250{ "Pi-Sync succesful!","Pi-Sync erfolgreich!" },
1257{ "Received sync request","Sync Anfrage erhalten" }, 1251{ "Received sync request","Sync Anfrage erhalten" },
1258{ "Synchronizing from remote ...\n\nDo not use this application!\n\nIf syncing fails\nyou can close this dialog.","Ferne Synchronisation ...\n\nBenutze diese Anwendung nicht!\n\nWenn das Syncen fehlschlägt kann\ndieser Dialog geschlossen werden." }, 1252{ "Synchronizing from remote ...\n\nDo not use this application!\n\nIf syncing fails\nyou can close this dialog.","Ferne Synchronisation ...\n\nBenutze diese Anwendung nicht!\n\nWenn das Syncen fehlschlägt kann\ndieser Dialog geschlossen werden." },
1259{ "Saving Data to temp file ...","Speichere Daten in temp Datei..." }, 1253{ "Saving Data to temp file ...","Speichere Daten in temp Datei..." },
1260{ "Data saved to temp file!","Daten in temp Datei gespeichert!" }, 1254{ "Data saved to temp file!","Daten in temp Datei gespeichert!" },
1261{ "Sending file...","Sende Datei..." }, 1255{ "Sending file...","Sende Datei..." },
1262{ "Waiting for synced file...","Warte auf gesyncte Daten..." }, 1256{ "Waiting for synced file...","Warte auf gesyncte Daten..." },
1263{ "Receiving synced file...","Gesyncte Daten erhalten..." }, 1257{ "Receiving synced file...","Gesyncte Daten erhalten..." },
1264{ "Received %1 bytes","%1 Bytes erhalten" }, 1258{ "Received %1 bytes","%1 Bytes erhalten" },
1265{ "Writing file to disk...","Speichere Datei..." }, 1259{ "Writing file to disk...","Speichere Datei..." },
1266{ "Pi-Sync successful!","Pi-Sync erfolgreich!" }, 1260{ "Pi-Sync successful!","Pi-Sync erfolgreich!" },
1267{ "Clock skew of\nsyncing devices\nis %1 seconds!","Uhrzeitunterschied der\nsyncenden Geräte\nist %1 Sekunden!" }, 1261{ "Clock skew of\nsyncing devices\nis %1 seconds!","Uhrzeitunterschied der\nsyncenden Geräte\nist %1 Sekunden!" },
1268{ "Synchronize!","Synchronisiere!" }, 1262{ "Synchronize!","Synchronisiere!" },
1269{ "High clock skew!","Großer Uhrzeitunterschied!" }, 1263{ "High clock skew!","Großer Uhrzeitunterschied!" },
1270{ "ADJUST\nYOUR\nCLOCKS!","JUSTIERE\nDIE\nUHREN!" }, 1264{ "ADJUST\nYOUR\nCLOCKS!","JUSTIERE\nDIE\nUHREN!" },
1271{ "The clocks of the syncing\ndevices have a difference\nof more than 5 minutes.\nPlease adjust your clocks.\nYou may get wrong syncing results!\nPlease confirm synchronization!","Die Uhren der syncenden Geräte\nhaben einen Unterschied von\nmehr als 5 Minuten. Bitte die\nUhrzeiten anpassen. Sie können\nfalsche Sync-Resultate erhalten!\nBitte das Syncen bestätigen!" }, 1265{ "The clocks of the syncing\ndevices have a difference\nof more than 5 minutes.\nPlease adjust your clocks.\nYou may get wrong syncing results!\nPlease confirm synchronization!","Die Uhren der syncenden Geräte\nhaben einen Unterschied von\nmehr als 5 Minuten. Bitte die\nUhrzeiten anpassen. Sie können\nfalsche Sync-Resultate erhalten!\nBitte das Syncen bestätigen!" },
1272{ "This is a %1 recurring todo.","Das ist eine %1 wiederholende Aufgabe." }, 1266{ "This is a %1 recurring todo.","Das ist eine %1 wiederholende Aufgabe." },
1273{ "<p><b>Start on:</b> %1</p>","<p><b>Start am:</b> %1</p>" }, 1267{ "<p><b>Start on:</b> %1</p>","<p><b>Start am:</b> %1</p>" },
1274{ "List week view","Listenwochenansicht" }, 1268{ "List week view","Listenwochenansicht" },
1275{ "List week","Listenwochenansicht" }, 1269{ "List week","Listenwochenansicht" },
1276{ "Next Week","Nächste Woche" }, 1270{ "Next Week","Nächste Woche" },
1277{ "Previous Week","Vorherige Woche" }, 1271{ "Previous Week","Vorherige Woche" },
1278{ "No items were found matching\nyour search expression.\nUse the wildcard characters\n'*' and '?' where needed.","Keine Einträge gefunden die\ndem Suchausdruck entsprechen.\nBenutze Platzhalter Zeichen\n'*' und '?' wo benötigt." }, 1272{ "No items were found matching\nyour search expression.\nUse the wildcard characters\n'*' and '?' where needed.","Keine Einträge gefunden die\ndem Suchausdruck entsprechen.\nBenutze Platzhalter Zeichen\n'*' und '?' wo benötigt." },
1279{ "Show in todo/event viewer:","Zeige in Termin/Todo Anzeige:" }, 1273{ "Show in todo/event viewer:","Zeige in Termin/Todo Anzeige:" },
1280{ "Details","Details" }, 1274{ "Details","Details" },
1281{ "Created time","Erstellt Zeit" }, 1275{ "Created time","Erstellt Zeit" },
1282{ "Last modified time","Geändert Zeit" }, 1276{ "Last modified time","Geändert Zeit" },
1283{ "Show in What'sThis quick overview:","Zeige in What'sThis Schnellübersicht:" }, 1277{ "Show in What'sThis quick overview:","Zeige in What'sThis Schnellübersicht:" },
1284{ "View Options","Anzeige Optionen" }, 1278{ "View Options","Anzeige Optionen" },
1285{ "<b>Created: ","<b>Erstellt am: " }, 1279{ "<b>Created: ","<b>Erstellt am: " },
1286{ "<b>Last modified: ","<b>Zuletzt geändert am: " }, 1280{ "<b>Last modified: ","<b>Zuletzt geändert am: " },
1287{ "Journal: ","Journal: " }, 1281{ "Journal: ","Journal: " },
1288{ "yearly","jährlich" }, 1282{ "yearly","jährlich" },
1289{ "(%1) ","%1-" }, 1283{ "(%1) ","%1-" },
1290{ "<p><b>K</b>: Week view in Month view syle</p>\n","<p><b>K</b>: Wochenansicht in Art der Monatsansicht</p>\n" }, 1284{ "<p><b>K</b>: Week view in Month view syle</p>\n","<p><b>K</b>: Wochenansicht in Art der Monatsansicht</p>\n" },
1291{ "Enable tooltips displaying summary of ev.","Titel-Tooltips anzeigen" }, 1285{ "Enable tooltips displaying summary of ev.","Titel-Tooltips anzeigen" },
1292{ "Enable scrollbars in month view cells","Scrollbar in Zellen anzeigen" }, 1286{ "Enable scrollbars in month view cells","Scrollbar in Zellen anzeigen" },
1293{ "Summary/Loc.","Titel/Ort" }, 1287{ "Summary/Loc.","Titel/Ort" },
1294{ "No items found. Use '*' and '?' where needed.","Nichts gefunden. Benutze '*' and '?' wo benötigt." }, 1288{ "No items found. Use '*' and '?' where needed.","Nichts gefunden. Benutze '*' and '?' wo benötigt." },
1295{ "Week Number","Wochennummer" }, 1289{ "Week Number","Wochennummer" },
1296{ "Import","Importiere" }, 1290{ "Import","Importiere" },
1297{ "Export","Exportiere" }, 1291{ "Export","Exportiere" },
1298{ "Beam","Beame" }, 1292{ "Beam","Beame" },
1299{ "Export selected","Exportiere Selektierte" }, 1293{ "Export selected","Exportiere Selektierte" },
1300{ "As iCal (ics) file...","Als iCal (ics) Datei..." }, 1294{ "As iCal (ics) file...","Als iCal (ics) Datei..." },
1301{ "As vCal (vcs) file...","Als vCal (vcs) Datei..." }, 1295{ "As vCal (vcs) file...","Als vCal (vcs) Datei..." },
1302{ "Journal/Details...","Journale/Details..." }, 1296{ "Journal/Details...","Journale/Details..." },
1303{ "Agenda View","Agenda Ansicht" }, 1297{ "Agenda View","Agenda Ansicht" },
1304{ "Show current time","Zeige aktuelle Zeit" }, 1298{ "Show current time","Zeige aktuelle Zeit" },
1305{ "Edit new item","Bearbeite neuen Eintrag" }, 1299{ "Edit new item","Bearbeite neuen Eintrag" },
1306{ "Please select at least one\nof the types to search for:\n\nEvents\nTodos\nJournals","Bitte wählen Sie mindestens\neinen dieser Typen\num darin zu suchen:\n\nTermine\nTodos\nJournale" }, 1300{ "Please select at least one\nof the types to search for:\n\nEvents\nTodos\nJournals","Bitte wählen Sie mindestens\neinen dieser Typen\num darin zu suchen:\n\nTermine\nTodos\nJournale" },
1307{ "There is no next alarm.","Es gibt keinen nächsten Alarm." }, 1301{ "There is no next alarm.","Es gibt keinen nächsten Alarm." },
1308{ "%1 %2 - %3 (next event/todo with alarm)","%1 %2 - %3 (nächster Termin/Todo mit Alarm)" }, 1302{ "%1 %2 - %3 (next event/todo with alarm)","%1 %2 - %3 (nächster Termin/Todo mit Alarm)" },
1309{ "The next alarm is in:\n","Der nächste Alarm ist in:\n" }, 1303{ "The next alarm is in:\n","Der nächste Alarm ist in:\n" },
1310{ "%1 days\n","%1 Tagen\n" }, 1304{ "%1 days\n","%1 Tagen\n" },
1311{ "1 day\n","1 Tag\n" }, 1305{ "1 day\n","1 Tag\n" },
1312{ "%1 hours\n","%1 Stunden\n" }, 1306{ "%1 hours\n","%1 Stunden\n" },
1313{ "1 hour\n","1 Stunde\n" }, 1307{ "1 hour\n","1 Stunde\n" },
1314{ "%1 minutes\n","%1 Minuten\n" }, 1308{ "%1 minutes\n","%1 Minuten\n" },
1315{ "1 minute\n","1 Minute\n" }, 1309{ "1 minute\n","1 Minute\n" },
1316{ "Only one toolbar","Nur eine Toolbar" }, 1310{ "Only one toolbar","Nur eine Toolbar" },
1317{ "Print","Drucke" }, 1311{ "Print","Drucke" },
1318{ "Print selected event / todo...","Drucke ausgewählten Termin / Todo..." }, 1312{ "Print selected event / todo...","Drucke ausgewählten Termin / Todo..." },
1319{ "There is nothing selected!","Es ist nichts ausgewählt!" }, 1313{ "There is nothing selected!","Es ist nichts ausgewählt!" },
1320{ "\n\nDo you really want to print this item?","\n\nMöchten Sie wirklich diesen Eintrag ausdrucken? " }, 1314{ "\n\nDo you really want to print this item?","\n\nMöchten Sie wirklich diesen Eintrag ausdrucken? " },
1321{ "KO/Pi Print Confirmation","KO/Pi Druckbestätigung" }, 1315{ "KO/Pi Print Confirmation","KO/Pi Druckbestätigung" },
1322{ "This prints the view as you see it.\n(With the complete content, of course.)\nYou may change the print layout by resizing the view.\nPrint unscaled may print several pages\ndepending on the amount of data.\nPrint scaled down will print all on one page.\nPrint scaled up/down will print all on one page,\nbut will scale up the text to page boundaries,\nif the text is smaller than the page.\nYou can select page geometry setup in the next dialog.\n","Dies druckt die Ansicht wie man sie sieht.\n(Mit dem kompletten Inhalt natürlich.)\nMan kann das Layout ändern durch ändern der Fenstergröße.\nDrucke unskaliert druckt ggf. mehrere Seiten\nabhängig von der Menge der Daten.\nDrucke runterskaliert um auf eine Seite zu passen\ndruckt alles auf eine Seite.\nDrucke hoch/runterskaliert um genau auf eine Seite zu passen\nvergrößert den Text gegebenenfalls.\nDas Seitenlayout kann im nächsten Dialog gewählt werden.\n" }, 1316{ "This prints the view as you see it.\n(With the complete content, of course.)\nYou may change the print layout by resizing the view.\nPrint unscaled may print several pages\ndepending on the amount of data.\nPrint scaled down will print all on one page.\nPrint scaled up/down will print all on one page,\nbut will scale up the text to page boundaries,\nif the text is smaller than the page.\nYou can select page geometry setup in the next dialog.\n","Dies druckt die Ansicht wie man sie sieht.\n(Mit dem kompletten Inhalt natürlich.)\nMan kann das Layout ändern durch ändern der Fenstergröße.\nDrucke unskaliert druckt ggf. mehrere Seiten\nabhängig von der Menge der Daten.\nDrucke runterskaliert um auf eine Seite zu passen\ndruckt alles auf eine Seite.\nDrucke hoch/runterskaliert um genau auf eine Seite zu passen\nvergrößert den Text gegebenenfalls.\nDas Seitenlayout kann im nächsten Dialog gewählt werden.\n" },
1323{ "KO/Pi Printout","KO/Pi Ausdruck" }, 1317{ "KO/Pi Printout","KO/Pi Ausdruck" },
1324{ "Print unscaled","Drucke unskaliert" }, 1318{ "Print unscaled","Drucke unskaliert" },
1325{ "Print scaled down to fit one page","Drucke runterskaliert um auf eine Seite zu passen." }, 1319{ "Print scaled down to fit one page","Drucke runterskaliert um auf eine Seite zu passen." },
1326{ "Print scaled up/down to fit one page","Drucke hoch/runterskaliert um genau auf eine Seite zu passen." }, 1320{ "Print scaled up/down to fit one page","Drucke hoch/runterskaliert um genau auf eine Seite zu passen." },
1327{ "Printout Mode","Druck Modus" }, 1321{ "Printout Mode","Druck Modus" },
1328{ "Filter menu icon","Filtermenu Icon" }, 1322{ "Filter menu icon","Filtermenu Icon" },
1329{ "<p><b>A+(shift or ctrl)</b>: Show occurence of next alarm</p>\n","<p><b>A+(shift oder ctrl)</b>: Zeige Zeit bis zum nächsten Alarm</p>\n" }, 1323{ "<p><b>A+(shift or ctrl)</b>: Show occurence of next alarm</p>\n","<p><b>A+(shift oder ctrl)</b>: Zeige Zeit bis zum nächsten Alarm</p>\n" },
1330{ "<p><b>N</b>: Switch to next view which has a toolbar icon</p>\n","<p><b>N</b>: Wechsle zur nächsten Ansicht, die ein Icon in der Toolbar hat</p>\n" }, 1324{ "<p><b>N</b>: Switch to next view which has a toolbar icon</p>\n","<p><b>N</b>: Wechsle zur nächsten Ansicht, die ein Icon in der Toolbar hat</p>\n" },
1331{ "%1d","%1t" }, 1325{ "%1d","%1t" },
1332{ "%1h","%1std" }, 1326{ "%1h","%1std" },
1333{ "%1min","%1min" }, 1327{ "%1min","%1min" },
1334{ "( %1 before )","( %1 vorher )" }, 1328{ "( %1 before )","( %1 vorher )" },
1335{ "The next alarm is in\nless than one minute!","Der nächste Alarm kommt in\nweniger als einer Minute!" }, 1329{ "The next alarm is in\nless than one minute!","Der nächste Alarm kommt in\nweniger als einer Minute!" },
1336{ "\nThe internal alarm notification is disabled!\n","\nDie interne Alarmbenachrichtigung ist ausgeschaltet!\n" }, 1330{ "\nThe internal alarm notification is disabled!\n","\nDie interne Alarmbenachrichtigung ist ausgeschaltet!\n" },
1337{ "Enable it in the settings menu, TAB alarm.","Schalten Sie sie an im Menu Einstellungen, TAB Alarm." }, 1331{ "Enable it in the settings menu, TAB alarm.","Schalten Sie sie an im Menu Einstellungen, TAB Alarm." },
1332{ "Show Sync Events in WN+Agenda","Zeige Sync-Ereignisse in WN+Agenda" },
1333{ "Use short date in WN+Event view","Zeige Kurzdatum in WN+Terminanzeige" },
1334{ "Number of max.displayed todo prios:","Anzahl max.angezeigter Todo-Prios:" },
1335{ "","" },
1338{ "","" }, 1336{ "","" },
1339{ "","" }, 1337{ "","" },
1340{ "","" }, 1338{ "","" },
1341{ "","" }, 1339{ "","" },
1342{ "","" }, 1340{ "","" },
1343{ "","" }, \ No newline at end of file
diff --git a/korganizer/kolistview.cpp b/korganizer/kolistview.cpp
index e0e138e..341f473 100644
--- a/korganizer/kolistview.cpp
+++ b/korganizer/kolistview.cpp
@@ -442,809 +442,809 @@ void KOListView::setCategories( bool removeOld )
442 // if ( catList.count() == 0 ) 442 // if ( catList.count() == 0 )
443 // return; 443 // return;
444 catList.sort(); 444 catList.sort();
445 QString categoriesStr = catList.join(","); 445 QString categoriesStr = catList.join(",");
446 int i; 446 int i;
447 QStringList itemList; 447 QStringList itemList;
448 QPtrList<KOListViewItem> sel ; 448 QPtrList<KOListViewItem> sel ;
449 QListViewItem *qitem = mListView->firstChild (); 449 QListViewItem *qitem = mListView->firstChild ();
450 while ( qitem ) { 450 while ( qitem ) {
451 if ( qitem->isSelected() ) { 451 if ( qitem->isSelected() ) {
452 sel.append(((KOListViewItem *)qitem)); 452 sel.append(((KOListViewItem *)qitem));
453 } 453 }
454 qitem = qitem->nextSibling(); 454 qitem = qitem->nextSibling();
455 } 455 }
456 KOListViewItem * item, *temp; 456 KOListViewItem * item, *temp;
457 item = sel.first(); 457 item = sel.first();
458 Incidence* inc; 458 Incidence* inc;
459 while ( item ) { 459 while ( item ) {
460 inc = item->data(); 460 inc = item->data();
461 if ( removeOld ) { 461 if ( removeOld ) {
462 inc->setCategories( categoriesStr ); 462 inc->setCategories( categoriesStr );
463 } else { 463 } else {
464 itemList = QStringList::split (",", inc->categoriesStr() ); 464 itemList = QStringList::split (",", inc->categoriesStr() );
465 for( i = 0; i< catList.count(); ++i ) { 465 for( i = 0; i< catList.count(); ++i ) {
466 if ( !itemList.contains (catList[i])) 466 if ( !itemList.contains (catList[i]))
467 itemList.append( catList[i] ); 467 itemList.append( catList[i] );
468 } 468 }
469 itemList.sort(); 469 itemList.sort();
470 inc->setCategories( itemList.join(",") ); 470 inc->setCategories( itemList.join(",") );
471 } 471 }
472 temp = item; 472 temp = item;
473 item = sel.next(); 473 item = sel.next();
474 mUidDict.remove( inc->uid() ); 474 mUidDict.remove( inc->uid() );
475 delete temp;; 475 delete temp;;
476 addIncidence( inc ); 476 addIncidence( inc );
477 } 477 }
478} 478}
479 479
480void KOListView::beamSelected() 480void KOListView::beamSelected()
481{ 481{
482 int icount = 0; 482 int icount = 0;
483 QPtrList<Incidence> delSel ; 483 QPtrList<Incidence> delSel ;
484 QListViewItem *item = mListView->firstChild (); 484 QListViewItem *item = mListView->firstChild ();
485 while ( item ) { 485 while ( item ) {
486 if ( item->isSelected() ) { 486 if ( item->isSelected() ) {
487 delSel.append(((KOListViewItem *)item)->data()); 487 delSel.append(((KOListViewItem *)item)->data());
488 ++icount; 488 ++icount;
489 } 489 }
490 490
491 item = item->nextSibling(); 491 item = item->nextSibling();
492 } 492 }
493 if ( icount ) { 493 if ( icount ) {
494 emit beamIncidenceList( delSel ); 494 emit beamIncidenceList( delSel );
495 return; 495 return;
496 QString fn ; 496 QString fn ;
497 fn = QDir::homeDirPath()+"/kopitempbeamfile.vcs"; 497 fn = QDir::homeDirPath()+"/kopitempbeamfile.vcs";
498 QString mes; 498 QString mes;
499 bool createbup = true; 499 bool createbup = true;
500 if ( createbup ) { 500 if ( createbup ) {
501 QString description = "\n"; 501 QString description = "\n";
502 CalendarLocal* cal = new CalendarLocal(); 502 CalendarLocal* cal = new CalendarLocal();
503 cal->setTimeZoneId(KPimGlobalPrefs::instance()->mTimeZoneId); 503 cal->setTimeZoneId(KPimGlobalPrefs::instance()->mTimeZoneId);
504 Incidence *incidence = delSel.first(); 504 Incidence *incidence = delSel.first();
505 while ( incidence ) { 505 while ( incidence ) {
506 Incidence *in = incidence->clone(); 506 Incidence *in = incidence->clone();
507 description += in->summary() + "\n"; 507 description += in->summary() + "\n";
508 cal->addIncidence( in ); 508 cal->addIncidence( in );
509 incidence = delSel.next(); 509 incidence = delSel.next();
510 } 510 }
511 FileStorage storage( cal, fn, new VCalFormat ); 511 FileStorage storage( cal, fn, new VCalFormat );
512 storage.save(); 512 storage.save();
513 delete cal; 513 delete cal;
514 mes = i18n("KO/Pi: Ready for beaming"); 514 mes = i18n("KO/Pi: Ready for beaming");
515 topLevelWidget()->setCaption(mes); 515 topLevelWidget()->setCaption(mes);
516 516
517#ifndef DESKTOP_VERSION 517#ifndef DESKTOP_VERSION
518 Ir *ir = new Ir( this ); 518 Ir *ir = new Ir( this );
519 connect( ir, SIGNAL( done( Ir * ) ), this, SLOT( beamDone( Ir * ) ) ); 519 connect( ir, SIGNAL( done( Ir * ) ), this, SLOT( beamDone( Ir * ) ) );
520 ir->send( fn, description, "text/x-vCalendar" ); 520 ir->send( fn, description, "text/x-vCalendar" );
521#endif 521#endif
522 } 522 }
523 } 523 }
524} 524}
525void KOListView::beamDone( Ir *ir ) 525void KOListView::beamDone( Ir *ir )
526{ 526{
527#ifndef DESKTOP_VERSION 527#ifndef DESKTOP_VERSION
528 delete ir; 528 delete ir;
529#endif 529#endif
530 topLevelWidget()->setCaption(i18n("KO/Pi:Beaming done")); 530 topLevelWidget()->setCaption(i18n("KO/Pi:Beaming done"));
531} 531}
532 532
533void KOListView::saveDescriptionToFile() 533void KOListView::saveDescriptionToFile()
534{ 534{
535 535
536 int result = QMessageBox::warning( this, i18n("KO/Pi: Information!"), 536 int result = QMessageBox::warning( this, i18n("KO/Pi: Information!"),
537 i18n("This saves the text/details of selected\nJournals and Events/Todos\nto a text file."), 537 i18n("This saves the text/details of selected\nJournals and Events/Todos\nto a text file."),
538 i18n("Continue"), i18n("Cancel"), 0, 538 i18n("Continue"), i18n("Cancel"), 0,
539 0, 1 ); 539 0, 1 );
540 if ( result != 0 ) { 540 if ( result != 0 ) {
541 return; 541 return;
542 } 542 }
543 int icount = 0; 543 int icount = 0;
544 QPtrList<Incidence> delSel ; 544 QPtrList<Incidence> delSel ;
545 QListViewItem *item = mListView->firstChild (); 545 QListViewItem *item = mListView->firstChild ();
546 while ( item ) { 546 while ( item ) {
547 if ( item->isSelected() ) { 547 if ( item->isSelected() ) {
548 delSel.append(((KOListViewItem *)item)->data()); 548 delSel.append(((KOListViewItem *)item)->data());
549 ++icount; 549 ++icount;
550 } 550 }
551 551
552 item = item->nextSibling(); 552 item = item->nextSibling();
553 } 553 }
554 if ( icount ) { 554 if ( icount ) {
555 QString fn = KOPrefs::instance()->mLastSaveFile; 555 QString fn = KOPrefs::instance()->mLastSaveFile;
556 fn = KFileDialog::getSaveFileName( fn, i18n("Save filename"), this ); 556 fn = KFileDialog::getSaveFileName( fn, i18n("Save filename"), this );
557 557
558 if ( fn == "" ) 558 if ( fn == "" )
559 return; 559 return;
560 QFileInfo info; 560 QFileInfo info;
561 info.setFile( fn ); 561 info.setFile( fn );
562 QString mes; 562 QString mes;
563 bool createbup = true; 563 bool createbup = true;
564 if ( info. exists() ) { 564 if ( info. exists() ) {
565 mes = i18n("File already exists!\nOld file from:\n%1\nOverwrite?\n").arg (KGlobal::locale()->formatDateTime(info.lastModified (), true, false ) ); 565 mes = i18n("File already exists!\nOld file from:\n%1\nOverwrite?\n").arg (KGlobal::locale()->formatDateTime(info.lastModified (), true, false ) );
566 int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"),mes, 566 int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"),mes,
567 i18n("Overwrite!"), i18n("Cancel"), 0, 567 i18n("Overwrite!"), i18n("Cancel"), 0,
568 0, 1 ); 568 0, 1 );
569 if ( result != 0 ) { 569 if ( result != 0 ) {
570 createbup = false; 570 createbup = false;
571 } 571 }
572 } 572 }
573 if ( createbup ) { 573 if ( createbup ) {
574 QString text = i18n("KO/Pi Description/Journal save file.\nSave date: ") + 574 QString text = i18n("KO/Pi Description/Journal save file.\nSave date: ") +
575 KGlobal::locale()->formatDateTime(QDateTime::currentDateTime(), false); 575 KGlobal::locale()->formatDateTime(QDateTime::currentDateTime(), false);
576 Incidence *incidence = delSel.first(); 576 Incidence *incidence = delSel.first();
577 icount = 0; 577 icount = 0;
578 while ( incidence ) { 578 while ( incidence ) {
579 if ( incidence->type() == "Journal" ) { 579 if ( incidence->type() == "Journal" ) {
580 text += "\n************************************\n"; 580 text += "\n************************************\n";
581 text += i18n("Journal from: ") +incidence->dtStartDateStr( false ); 581 text += i18n("Journal from: ") +incidence->dtStartDateStr( false );
582 text +="\n" + i18n("Last modified: ") +KGlobal::locale()->formatDateTime(incidence->lastModified(), false); 582 text +="\n" + i18n("Last modified: ") +KGlobal::locale()->formatDateTime(incidence->lastModified(), false);
583 text +="\n" + i18n("Description: ") + "\n"+ incidence->description(); 583 text +="\n" + i18n("Description: ") + "\n"+ incidence->description();
584 ++icount; 584 ++icount;
585 585
586 } else { 586 } else {
587 if ( !incidence->description().isEmpty() ) { 587 if ( !incidence->description().isEmpty() ) {
588 text += "\n************************************\n"; 588 text += "\n************************************\n";
589 if ( incidence->type() == "Todo" ) 589 if ( incidence->type() == "Todo" )
590 text += i18n("To-Do: "); 590 text += i18n("To-Do: ");
591 text += incidence->summary(); 591 text += incidence->summary();
592 if ( incidence->hasStartDate() ) 592 if ( incidence->hasStartDate() )
593 text +="\n"+ i18n("Start Date: ") + incidence->dtStartStr( false ); 593 text +="\n"+ i18n("Start Date: ") + incidence->dtStartStr( false );
594 text +="\n"+ i18n("Last modified: ") +KGlobal::locale()->formatDateTime(incidence->lastModified(), false); 594 text +="\n"+ i18n("Last modified: ") +KGlobal::locale()->formatDateTime(incidence->lastModified(), false);
595 if ( !incidence->location().isEmpty() ) 595 if ( !incidence->location().isEmpty() )
596 text += "\n" +i18n("Location: ") + incidence->location(); 596 text += "\n" +i18n("Location: ") + incidence->location();
597 text += "\n" + i18n("Description: ") + "\n" + incidence->description(); 597 text += "\n" + i18n("Description: ") + "\n" + incidence->description();
598 ++icount; 598 ++icount;
599 599
600 } 600 }
601 } 601 }
602 incidence = delSel.next(); 602 incidence = delSel.next();
603 } 603 }
604 QFile file( fn ); 604 QFile file( fn );
605 if (!file.open( IO_WriteOnly ) ) { 605 if (!file.open( IO_WriteOnly ) ) {
606 topLevelWidget()->setCaption(i18n("File open error - nothing saved!") ); 606 topLevelWidget()->setCaption(i18n("File open error - nothing saved!") );
607 return; 607 return;
608 } 608 }
609 QTextStream ts( &file ); 609 QTextStream ts( &file );
610 ts << text; 610 ts << text;
611 file.close(); 611 file.close();
612 //qDebug("%s ", text.latin1()); 612 //qDebug("%s ", text.latin1());
613 mes = i18n("KO/Pi:Saved %1 descriptions/journals").arg(icount ); 613 mes = i18n("KO/Pi:Saved %1 descriptions/journals").arg(icount );
614 KOPrefs::instance()->mLastSaveFile = fn; 614 KOPrefs::instance()->mLastSaveFile = fn;
615 topLevelWidget()->setCaption(mes); 615 topLevelWidget()->setCaption(mes);
616 } 616 }
617 } 617 }
618} 618}
619void KOListView::saveToFileVCS() 619void KOListView::saveToFileVCS()
620{ 620{
621 writeToFile( false ); 621 writeToFile( false );
622} 622}
623void KOListView::saveToFile() 623void KOListView::saveToFile()
624{ 624{
625 writeToFile( true ); 625 writeToFile( true );
626} 626}
627void KOListView::writeToFile( bool iCal ) 627void KOListView::writeToFile( bool iCal )
628{ 628{
629 629
630 int icount = 0; 630 int icount = 0;
631 QPtrList<Incidence> delSel ; 631 QPtrList<Incidence> delSel ;
632 QListViewItem *item = mListView->firstChild (); 632 QListViewItem *item = mListView->firstChild ();
633 bool journal = iCal; // warn only for vCal 633 bool journal = iCal; // warn only for vCal
634 while ( item ) { 634 while ( item ) {
635 if ( item->isSelected() ) { 635 if ( item->isSelected() ) {
636 if ( !journal ) 636 if ( !journal )
637 if ( ((KOListViewItem *)item)->data()->type() == "Journal") 637 if ( ((KOListViewItem *)item)->data()->type() == "Journal")
638 journal = true; 638 journal = true;
639 delSel.append(((KOListViewItem *)item)->data()); 639 delSel.append(((KOListViewItem *)item)->data());
640 ++icount; 640 ++icount;
641 } 641 }
642 642
643 item = item->nextSibling(); 643 item = item->nextSibling();
644 } 644 }
645 if ( !iCal && journal ) { 645 if ( !iCal && journal ) {
646 int result = KMessageBox::warningContinueCancel(this, 646 int result = KMessageBox::warningContinueCancel(this,
647 i18n("The journal entries can not be\nexported to a vCalendar file."), 647 i18n("The journal entries can not be\nexported to a vCalendar file."),
648 i18n("Data Loss Warning"),i18n("Proceed"),i18n("Cancel"), 648 i18n("Data Loss Warning"),i18n("Proceed"),i18n("Cancel"),
649 true); 649 true);
650 if (result != KMessageBox::Continue) return; 650 if (result != KMessageBox::Continue) return;
651 } 651 }
652 if ( icount ) { 652 if ( icount ) {
653 QString fn = KOPrefs::instance()->mLastSaveFile; 653 QString fn = KOPrefs::instance()->mLastSaveFile;
654 QString extension; 654 QString extension;
655 if ( iCal ) { 655 if ( iCal ) {
656 if ( fn.right( 4 ).lower() == ".vcs" ) { 656 if ( fn.right( 4 ).lower() == ".vcs" ) {
657 fn = fn.left( fn.length() -3) + "ics"; 657 fn = fn.left( fn.length() -3) + "ics";
658 } 658 }
659 } else { 659 } else {
660 if ( fn.right( 4 ).lower() == ".ics" ) { 660 if ( fn.right( 4 ).lower() == ".ics" ) {
661 fn = fn.left( fn.length() -3) + "vcs"; 661 fn = fn.left( fn.length() -3) + "vcs";
662 } 662 }
663 } 663 }
664 fn = KFileDialog::getSaveFileName( fn, i18n("Save filename"), this ); 664 fn = KFileDialog::getSaveFileName( fn, i18n("Save filename"), this );
665 665
666 if ( fn == "" ) 666 if ( fn == "" )
667 return; 667 return;
668 QFileInfo info; 668 QFileInfo info;
669 info.setFile( fn ); 669 info.setFile( fn );
670 QString mes; 670 QString mes;
671 bool createbup = true; 671 bool createbup = true;
672 if ( info. exists() ) { 672 if ( info. exists() ) {
673 mes = i18n("File already exists!\nOld file from:\n%1\nOverwrite?\n").arg (KGlobal::locale()->formatDateTime(info.lastModified (), true, false ) ); 673 mes = i18n("File already exists!\nOld file from:\n%1\nOverwrite?\n").arg (KGlobal::locale()->formatDateTime(info.lastModified (), true, false ) );
674 int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"),mes, 674 int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"),mes,
675 i18n("Overwrite!"), i18n("Cancel"), 0, 675 i18n("Overwrite!"), i18n("Cancel"), 0,
676 0, 1 ); 676 0, 1 );
677 if ( result != 0 ) { 677 if ( result != 0 ) {
678 createbup = false; 678 createbup = false;
679 } 679 }
680 } 680 }
681 if ( createbup ) { 681 if ( createbup ) {
682 CalendarLocal cal; 682 CalendarLocal cal;
683 cal.setTimeZoneId(KPimGlobalPrefs::instance()->mTimeZoneId); 683 cal.setTimeZoneId(KPimGlobalPrefs::instance()->mTimeZoneId);
684 Incidence *incidence = delSel.first(); 684 Incidence *incidence = delSel.first();
685 while ( incidence ) { 685 while ( incidence ) {
686 cal.addIncidence( incidence->clone() ); 686 cal.addIncidence( incidence->clone() );
687 incidence = delSel.next(); 687 incidence = delSel.next();
688 } 688 }
689 if ( iCal ) { 689 if ( iCal ) {
690 ICalFormat format; 690 ICalFormat format;
691 format.save( &cal, fn ); 691 format.save( &cal, fn );
692 } else { 692 } else {
693 693
694 VCalFormat format; 694 VCalFormat format;
695 format.save( &cal, fn ); 695 format.save( &cal, fn );
696 } 696 }
697 mes = i18n("KO/Pi:Saved %1").arg(fn ); 697 mes = i18n("KO/Pi:Saved %1").arg(fn );
698 KOPrefs::instance()->mLastSaveFile = fn; 698 KOPrefs::instance()->mLastSaveFile = fn;
699 topLevelWidget()->setCaption(mes); 699 topLevelWidget()->setCaption(mes);
700 } 700 }
701 } 701 }
702} 702}
703void KOListView::deleteAll() 703void KOListView::deleteAll()
704{ 704{
705 int icount = 0; 705 int icount = 0;
706 QPtrList<Incidence> delSel ; 706 QPtrList<Incidence> delSel ;
707 QListViewItem *item = mListView->firstChild (); 707 QListViewItem *item = mListView->firstChild ();
708 while ( item ) { 708 while ( item ) {
709 if ( item->isSelected() ) { 709 if ( item->isSelected() ) {
710 delSel.append(((KOListViewItem *)item)->data()); 710 delSel.append(((KOListViewItem *)item)->data());
711 ++icount; 711 ++icount;
712 } 712 }
713 713
714 item = item->nextSibling(); 714 item = item->nextSibling();
715 } 715 }
716 if ( icount ) { 716 if ( icount ) {
717 Incidence *incidence = delSel.first(); 717 Incidence *incidence = delSel.first();
718 Incidence *toDelete; 718 Incidence *toDelete;
719 KOPrefs *p = KOPrefs::instance(); 719 KOPrefs *p = KOPrefs::instance();
720 bool confirm = p->mConfirm; 720 bool confirm = p->mConfirm;
721 QString mess; 721 QString mess;
722 mess = mess.sprintf( i18n("You have %d item(s) selected.\n"), icount ); 722 mess = mess.sprintf( i18n("You have %d item(s) selected.\n"), icount );
723 if ( KMessageBox::Continue == KMessageBox::warningContinueCancel(this, mess + i18n("All selected items will be\npermanently deleted.\n(Deleting items will take\nsome time on a PDA)\n"), i18n("KO/Pi Confirmation"),i18n("Delete")) ) { 723 if ( KMessageBox::Continue == KMessageBox::warningContinueCancel(this, mess + i18n("All selected items will be\npermanently deleted.\n(Deleting items will take\nsome time on a PDA)\n"), i18n("KO/Pi Confirmation"),i18n("Delete")) ) {
724 p->mConfirm = false; 724 p->mConfirm = false;
725 int delCounter = 0; 725 int delCounter = 0;
726 QDialog dia ( this, "p-dialog", true ); 726 QDialog dia ( this, "p-dialog", true );
727 QLabel lab (i18n("Close dialog to abort deletion!"), &dia ); 727 QLabel lab (i18n("Close dialog to abort deletion!"), &dia );
728 QVBoxLayout lay( &dia ); 728 QVBoxLayout lay( &dia );
729 lay.setMargin(7); 729 lay.setMargin(7);
730 lay.setSpacing(7); 730 lay.setSpacing(7);
731 lay.addWidget( &lab); 731 lay.addWidget( &lab);
732 QProgressBar bar( icount, &dia ); 732 QProgressBar bar( icount, &dia );
733 lay.addWidget( &bar); 733 lay.addWidget( &bar);
734 int w = 220; 734 int w = 220;
735 int h = 50; 735 int h = 50;
736 int dw = QApplication::desktop()->width(); 736 int dw = QApplication::desktop()->width();
737 int dh = QApplication::desktop()->height(); 737 int dh = QApplication::desktop()->height();
738 dia.setGeometry( (dw-w)/2, (dh - h )/2 ,w,h ); 738 dia.setGeometry( (dw-w)/2, (dh - h )/2 ,w,h );
739 //dia.resize( 240,50 ); 739 //dia.resize( 240,50 );
740 dia.show(); 740 dia.show();
741 741
742 while ( incidence ) { 742 while ( incidence ) {
743 bar.setProgress( delCounter ); 743 bar.setProgress( delCounter );
744 mess = mess.sprintf( i18n("Deleting item %d ..."), ++delCounter ); 744 mess = mess.sprintf( i18n("Deleting item %d ..."), ++delCounter );
745 dia.setCaption( mess ); 745 dia.setCaption( mess );
746 qApp->processEvents(); 746 qApp->processEvents();
747 toDelete = (incidence); 747 toDelete = (incidence);
748 incidence = delSel.next(); 748 incidence = delSel.next();
749 emit deleteIncidenceSignal(toDelete ); 749 emit deleteIncidenceSignal(toDelete );
750 if ( dia.result() != 0 ) 750 if ( dia.result() != 0 )
751 break; 751 break;
752 752
753 } 753 }
754 mess = mess.sprintf( i18n("%d items remaining in list."), count() ); 754 mess = mess.sprintf( i18n("%d items remaining in list."), count() );
755 topLevelWidget ()->setCaption( mess ); 755 topLevelWidget ()->setCaption( mess );
756 p->mConfirm = confirm; 756 p->mConfirm = confirm;
757 } 757 }
758 } 758 }
759 759
760 760
761} 761}
762int KOListView::maxDatesHint() 762int KOListView::maxDatesHint()
763{ 763{
764 return 0; 764 return 0;
765} 765}
766 766
767int KOListView::currentDateCount() 767int KOListView::currentDateCount()
768{ 768{
769 return 0; 769 return 0;
770} 770}
771 771
772QPtrList<Incidence> KOListView::selectedIncidences() 772QPtrList<Incidence> KOListView::selectedIncidences()
773{ 773{
774 QPtrList<Incidence> eventList; 774 QPtrList<Incidence> eventList;
775 QListViewItem *item = mListView->firstChild (); 775 QListViewItem *item = mListView->firstChild ();
776 while ( item ) { 776 while ( item ) {
777 if ( item->isSelected() ) { 777 if ( item->isSelected() ) {
778 eventList.append(((KOListViewItem *)item)->data()); 778 eventList.append(((KOListViewItem *)item)->data());
779 } 779 }
780 780
781 item = item->nextSibling(); 781 item = item->nextSibling();
782 } 782 }
783 783
784 // // QListViewItem *item = mListView->selectedItem(); 784 // // QListViewItem *item = mListView->selectedItem();
785 //if (item) eventList.append(((KOListViewItem *)item)->data()); 785 //if (item) eventList.append(((KOListViewItem *)item)->data());
786 786
787 return eventList; 787 return eventList;
788} 788}
789 789
790DateList KOListView::selectedDates() 790DateList KOListView::selectedDates()
791{ 791{
792 DateList eventList; 792 DateList eventList;
793 return eventList; 793 return eventList;
794} 794}
795 795
796void KOListView::showDates(bool show) 796void KOListView::showDates(bool show)
797{ 797{
798 // Shouldn't we set it to a value greater 0? When showDates is called with 798 // Shouldn't we set it to a value greater 0? When showDates is called with
799 // show == true at first, then the columnwidths are set to zero. 799 // show == true at first, then the columnwidths are set to zero.
800 static int oldColWidth1 = 0; 800 static int oldColWidth1 = 0;
801 static int oldColWidth3 = 0; 801 static int oldColWidth3 = 0;
802 802
803 if (!show) { 803 if (!show) {
804 oldColWidth1 = mListView->columnWidth(1); 804 oldColWidth1 = mListView->columnWidth(1);
805 oldColWidth3 = mListView->columnWidth(3); 805 oldColWidth3 = mListView->columnWidth(3);
806 mListView->setColumnWidth(1, 0); 806 mListView->setColumnWidth(1, 0);
807 mListView->setColumnWidth(3, 0); 807 mListView->setColumnWidth(3, 0);
808 } else { 808 } else {
809 mListView->setColumnWidth(1, oldColWidth1); 809 mListView->setColumnWidth(1, oldColWidth1);
810 mListView->setColumnWidth(3, oldColWidth3); 810 mListView->setColumnWidth(3, oldColWidth3);
811 } 811 }
812 mListView->repaint(); 812 mListView->repaint();
813} 813}
814 814
815void KOListView::printPreview(CalPrinter *calPrinter, const QDate &fd, 815void KOListView::printPreview(CalPrinter *calPrinter, const QDate &fd,
816 const QDate &td) 816 const QDate &td)
817{ 817{
818#ifndef KORG_NOPRINTER 818#ifndef KORG_NOPRINTER
819 calPrinter->preview(CalPrinter::Day, fd, td); 819 calPrinter->preview(CalPrinter::Day, fd, td);
820#endif 820#endif
821} 821}
822 822
823void KOListView::showDates() 823void KOListView::showDates()
824{ 824{
825 showDates(true); 825 showDates(true);
826} 826}
827 827
828void KOListView::hideDates() 828void KOListView::hideDates()
829{ 829{
830 showDates(false); 830 showDates(false);
831} 831}
832void KOListView::resetFocus() 832void KOListView::resetFocus()
833{ 833{
834 mListView->setFocus(); 834 mListView->setFocus();
835} 835}
836void KOListView::updateView() 836void KOListView::updateView()
837{ 837{
838 mListView->setFocus(); 838 mListView->setFocus();
839 if ( mListView->firstChild () ) 839 if ( mListView->firstChild () )
840 mListView->setCurrentItem( mListView->firstChild () ); 840 mListView->setCurrentItem( mListView->firstChild () );
841} 841}
842void KOListView::updateConfig() 842void KOListView::updateConfig()
843{ 843{
844 844
845 mListView->setFont ( KOPrefs::instance()->mListViewFont ); 845 mListView->setFont ( KOPrefs::instance()->mListViewFont );
846 updateView(); 846 updateView();
847 847
848} 848}
849void KOListView::setStartDate(const QDate &start) 849void KOListView::setStartDate(const QDate &start)
850{ 850{
851 mStartDate = start; 851 mStartDate = start;
852} 852}
853 853
854void KOListView::showDates(const QDate &start, const QDate &end) 854void KOListView::showDates(const QDate &start, const QDate &end)
855{ 855{
856 clear(); 856 clear();
857 mStartDate = start; 857 mStartDate = start;
858 QDate date = start; 858 QDate date = start;
859 QPtrList<Journal> j_list; 859 QPtrList<Journal> j_list;
860 while( date <= end ) { 860 while( date <= end ) {
861 addEvents(calendar()->events(date)); 861 addEvents(calendar()->events(date));
862 addTodos(calendar()->todos(date)); 862 addTodos(calendar()->todos(date));
863 Journal* jo = calendar()->journal(date); 863 Journal* jo = calendar()->journal(date);
864 if ( jo ) 864 if ( jo )
865 j_list.append( jo ); 865 j_list.append( jo );
866 date = date.addDays( 1 ); 866 date = date.addDays( 1 );
867 } 867 }
868 addJournals(j_list); 868 addJournals(j_list);
869 emit incidenceSelected( 0 ); 869 emit incidenceSelected( 0 );
870 updateView(); 870 updateView();
871 871
872} 872}
873 873
874void KOListView::addEvents(QPtrList<Event> eventList) 874void KOListView::addEvents(QPtrList<Event> eventList)
875{ 875{
876 Event *ev; 876 Event *ev;
877 for(ev = eventList.first(); ev; ev = eventList.next()) { 877 for(ev = eventList.first(); ev; ev = eventList.next()) {
878 addIncidence(ev); 878 addIncidence(ev);
879 } 879 }
880 if ( !mListView->currentItem() ){ 880 if ( !mListView->currentItem() ){
881 updateView(); 881 updateView();
882 } 882 }
883} 883}
884 884
885void KOListView::addTodos(QPtrList<Todo> eventList) 885void KOListView::addTodos(QPtrList<Todo> eventList)
886{ 886{
887 Todo *ev; 887 Todo *ev;
888 for(ev = eventList.first(); ev; ev = eventList.next()) { 888 for(ev = eventList.first(); ev; ev = eventList.next()) {
889 addIncidence(ev); 889 addIncidence(ev);
890 } 890 }
891 if ( !mListView->currentItem() ){ 891 if ( !mListView->currentItem() ){
892 updateView(); 892 updateView();
893 } 893 }
894} 894}
895void KOListView::addJournals(QPtrList<Journal> eventList) 895void KOListView::addJournals(QPtrList<Journal> eventList)
896{ 896{
897 Journal *ev; 897 Journal *ev;
898 for(ev = eventList.first(); ev; ev = eventList.next()) { 898 for(ev = eventList.first(); ev; ev = eventList.next()) {
899 addIncidence(ev); 899 addIncidence(ev);
900 } 900 }
901 if ( !mListView->currentItem() ){ 901 if ( !mListView->currentItem() ){
902 updateView(); 902 updateView();
903 } 903 }
904} 904}
905 905
906void KOListView::addIncidence(Incidence *incidence) 906void KOListView::addIncidence(Incidence *incidence)
907{ 907{
908 if ( mUidDict.find( incidence->uid() ) ) return; 908 if ( mUidDict.find( incidence->uid() ) ) return;
909 909
910 // mListView->setFont ( KOPrefs::instance()->mListViewFont ); 910 // mListView->setFont ( KOPrefs::instance()->mListViewFont );
911 mUidDict.insert( incidence->uid(), incidence ); 911 mUidDict.insert( incidence->uid(), incidence );
912 912
913 KOListViewItem *item = new KOListViewItem( incidence, mListView ); 913 KOListViewItem *item = new KOListViewItem( incidence, mListView );
914 ListItemVisitor v(item, mStartDate ); 914 ListItemVisitor v(item, mStartDate );
915 if (incidence->accept(v)) return; 915 if (incidence->accept(v)) return;
916 else delete item; 916 else delete item;
917 //qDebug("delete item "); 917 //qDebug("delete item ");
918} 918}
919 919
920void KOListView::showEvents(QPtrList<Event> eventList) 920void KOListView::showEvents(QPtrList<Event> eventList)
921{ 921{
922 clear(); 922 clear();
923 923
924 addEvents(eventList); 924 addEvents(eventList);
925 925
926 // After new creation of list view no events are selected. 926 // After new creation of list view no events are selected.
927 emit incidenceSelected( 0 ); 927 emit incidenceSelected( 0 );
928} 928}
929int KOListView::count() 929int KOListView::count()
930{ 930{
931 return mListView->childCount(); 931 return mListView->childCount();
932} 932}
933 933
934void KOListView::changeEventDisplay(Event *event, int action) 934void KOListView::changeEventDisplay(Event *event, int action)
935{ 935{
936 KOListViewItem *item; 936 KOListViewItem *item;
937 937
938 switch(action) { 938 switch(action) {
939 case KOGlobals::EVENTADDED: 939 case KOGlobals::EVENTADDED:
940 addIncidence( event ); 940 addIncidence( event );
941 break; 941 break;
942 case KOGlobals::EVENTEDITED: 942 case KOGlobals::EVENTEDITED:
943 item = getItemForEvent(event); 943 item = getItemForEvent(event);
944 if (item) { 944 if (item) {
945 mUidDict.remove( event->uid() ); 945 mUidDict.remove( event->uid() );
946 delete item; 946 delete item;
947 addIncidence( event ); 947 addIncidence( event );
948 } 948 }
949 break; 949 break;
950 case KOGlobals::EVENTDELETED: 950 case KOGlobals::EVENTDELETED:
951 item = getItemForEvent(event); 951 item = getItemForEvent(event);
952 if (item) { 952 if (item) {
953 mUidDict.remove( event->uid() ); 953 mUidDict.remove( event->uid() );
954 delete item; 954 delete item;
955 } 955 }
956 break; 956 break;
957 default: 957 default:
958 ; 958 ;
959 } 959 }
960} 960}
961 961
962KOListViewItem *KOListView::getItemForEvent(Event *event) 962KOListViewItem *KOListView::getItemForEvent(Event *event)
963{ 963{
964 KOListViewItem *item = (KOListViewItem *)mListView->firstChild(); 964 KOListViewItem *item = (KOListViewItem *)mListView->firstChild();
965 while (item) { 965 while (item) {
966 if (item->data() == event) return item; 966 if (item->data() == event) return item;
967 item = (KOListViewItem *)item->nextSibling(); 967 item = (KOListViewItem *)item->nextSibling();
968 } 968 }
969 return 0; 969 return 0;
970} 970}
971 971
972void KOListView::defaultItemAction(QListViewItem *i) 972void KOListView::defaultItemAction(QListViewItem *i)
973{ 973{
974 KOListViewItem *item = static_cast<KOListViewItem *>( i ); 974 KOListViewItem *item = static_cast<KOListViewItem *>( i );
975 if ( item ) defaultAction( item->data() ); 975 if ( item ) defaultAction( item->data() );
976 976
977} 977}
978 978
979void KOListView::popupMenu(QListViewItem *item,const QPoint &,int) 979void KOListView::popupMenu(QListViewItem *item,const QPoint &,int)
980{ 980{
981 mActiveItem = (KOListViewItem *)item; 981 mActiveItem = (KOListViewItem *)item;
982 if (mActiveItem) { 982 if (mActiveItem) {
983 Incidence *incidence = mActiveItem->data(); 983 Incidence *incidence = mActiveItem->data();
984 mPopupMenu->showIncidencePopup(incidence); 984 mPopupMenu->showIncidencePopup(incidence);
985 985
986 /* 986 /*
987 if ( incidence && incidence->type() == "Event" ) { 987 if ( incidence && incidence->type() == "Event" ) {
988 Event *event = static_cast<Event *>( incidence ); 988 Event *event = static_cast<Event *>( incidence );
989 mPopupMenu->showEventPopup(event); 989 mPopupMenu->showEventPopup(event);
990 } 990 }
991 */ 991 */
992 } 992 }
993} 993}
994 994
995void KOListView::readSettings(KConfig *config, QString setting) 995void KOListView::readSettings(KConfig *config, QString setting)
996{ 996{
997 // qDebug("KOListView::readSettings "); 997 // qDebug("KOListView::readSettings ");
998 mListView->restoreLayout(config,setting); 998 mListView->restoreLayout(config,setting);
999} 999}
1000 1000
1001void KOListView::writeSettings(KConfig *config, QString setting) 1001void KOListView::writeSettings(KConfig *config, QString setting)
1002{ 1002{
1003 // qDebug("KOListView::writeSettings "); 1003 // qDebug("KOListView::writeSettings ");
1004 mListView->saveLayout(config, setting); 1004 mListView->saveLayout(config, setting);
1005} 1005}
1006 1006
1007void KOListView::processSelectionChange(QListViewItem *) 1007void KOListView::processSelectionChange(QListViewItem *)
1008{ 1008{
1009 1009
1010 KOListViewItem *item = 1010 KOListViewItem *item =
1011 static_cast<KOListViewItem *>( mListView->currentItem() ); 1011 static_cast<KOListViewItem *>( mListView->currentItem() );
1012 1012
1013 if ( !item ) { 1013 if ( !item ) {
1014 emit incidenceSelected( 0 ); 1014 emit incidenceSelected( 0 );
1015 } else { 1015 } else {
1016 emit incidenceSelected( item->data() ); 1016 emit incidenceSelected( item->data() );
1017 } 1017 }
1018} 1018}
1019 1019
1020void KOListView::clearSelection() 1020void KOListView::clearSelection()
1021{ 1021{
1022 mListView->selectAll( false ); 1022 mListView->selectAll( false );
1023} 1023}
1024void KOListView::allSelection() 1024void KOListView::allSelection()
1025{ 1025{
1026 mListView->selectAll( true ); 1026 mListView->selectAll( true );
1027} 1027}
1028 1028
1029void KOListView::clear() 1029void KOListView::clear()
1030{ 1030{
1031 mListView->clear(); 1031 mListView->clear();
1032 mUidDict.clear(); 1032 mUidDict.clear();
1033} 1033}
1034 1034
1035Incidence* KOListView::currentItem() 1035Incidence* KOListView::currentItem()
1036{ 1036{
1037 if ( mListView->currentItem() ) 1037 if ( mListView->currentItem() )
1038 return ((KOListViewItem*) mListView->currentItem())->data(); 1038 return ((KOListViewItem*) mListView->currentItem())->data();
1039 return 0; 1039 return 0;
1040} 1040}
1041void KOListView::keyPressEvent ( QKeyEvent *e) 1041void KOListView::keyPressEvent ( QKeyEvent *e)
1042{ 1042{
1043 1043
1044 if ( e->key() == Qt::Key_Delete || e->key() == Qt::Key_Backspace ) { 1044 if ( e->key() == Qt::Key_Delete || e->key() == Qt::Key_Backspace ) {
1045 deleteAll(); 1045 deleteAll();
1046 return; 1046 return;
1047 } 1047 }
1048 1048
1049 e->ignore(); 1049 e->ignore();
1050} 1050}
1051void KOListViewListView::keyPressEvent ( QKeyEvent *e) 1051void KOListViewListView::keyPressEvent ( QKeyEvent *e)
1052{ 1052{
1053 1053
1054 switch ( e->key() ) { 1054 switch ( e->key() ) {
1055 case Qt::Key_Down: 1055 case Qt::Key_Down:
1056 if ( e->state() == ShiftButton ) { 1056 if ( e->state() == ShiftButton ) {
1057 QListViewItem* cn = currentItem(); 1057 QListViewItem* cn = currentItem();
1058 if ( !cn ) 1058 if ( !cn )
1059 cn = firstChild(); 1059 cn = firstChild();
1060 if ( !cn ) 1060 if ( !cn )
1061 return; 1061 return;
1062 while ( cn->nextSibling() ) 1062 while ( cn->nextSibling() )
1063 cn = cn->nextSibling(); 1063 cn = cn->nextSibling();
1064 setCurrentItem ( cn ); 1064 setCurrentItem ( cn );
1065 ensureItemVisible ( cn ); 1065 ensureItemVisible ( cn );
1066 1066
1067 e->accept(); 1067 e->accept();
1068 return; 1068 return;
1069 } 1069 }
1070 if ( e->state() == ControlButton ) { 1070 if ( e->state() == ControlButton ) {
1071 int count = childCount (); 1071 int count = childCount ();
1072 int jump = count / 5; 1072 int jump = count / 5;
1073 QListViewItem* cn; 1073 QListViewItem* cn;
1074 cn = currentItem(); 1074 cn = currentItem();
1075 if ( ! cn ) 1075 if ( ! cn )
1076 return; 1076 return;
1077 if ( jump == 0 ) 1077 if ( jump == 0 )
1078 jump = 1; 1078 jump = 1;
1079 while ( jump && cn->nextSibling() ) { 1079 while ( jump && cn->nextSibling() ) {
1080 cn = cn->nextSibling(); 1080 cn = cn->nextSibling();
1081 --jump; 1081 --jump;
1082 } 1082 }
1083 setCurrentItem ( cn ); 1083 setCurrentItem ( cn );
1084 ensureItemVisible ( cn ); 1084 ensureItemVisible ( cn );
1085 1085
1086 } else 1086 } else
1087 QListView::keyPressEvent ( e ) ; 1087 QListView::keyPressEvent ( e ) ;
1088 e->accept(); 1088 e->accept();
1089 break; 1089 break;
1090 1090
1091 case Qt::Key_Up: 1091 case Qt::Key_Up:
1092 if ( e->state() == ShiftButton ) { 1092 if ( e->state() == ShiftButton ) {
1093 QListViewItem* cn = firstChild(); 1093 QListViewItem* cn = firstChild();
1094 if ( cn ) { 1094 if ( cn ) {
1095 setCurrentItem ( cn ); 1095 setCurrentItem ( cn );
1096 ensureItemVisible ( cn ); 1096 ensureItemVisible ( cn );
1097 } 1097 }
1098 e->accept(); 1098 e->accept();
1099 return; 1099 return;
1100 } 1100 }
1101 if ( e->state() == ControlButton ) { 1101 if ( e->state() == ControlButton ) {
1102 int count = childCount (); 1102 int count = childCount ();
1103 int jump = count / 5; 1103 int jump = count / 5;
1104 QListViewItem* cn; 1104 QListViewItem* cn;
1105 cn = currentItem(); 1105 cn = currentItem();
1106 if ( ! cn ) 1106 if ( ! cn )
1107 return; 1107 return;
1108 if ( jump == 0 ) 1108 if ( jump == 0 )
1109 jump = 1; 1109 jump = 1;
1110 while ( jump && cn->itemAbove ()) { 1110 while ( jump && cn->itemAbove ()) {
1111 cn = cn->itemAbove (); 1111 cn = cn->itemAbove ();
1112 --jump; 1112 --jump;
1113 } 1113 }
1114 setCurrentItem ( cn ); 1114 setCurrentItem ( cn );
1115 ensureItemVisible ( cn ); 1115 ensureItemVisible ( cn );
1116 } else 1116 } else
1117 QListView::keyPressEvent ( e ) ; 1117 QListView::keyPressEvent ( e ) ;
1118 e->accept(); 1118 e->accept();
1119 break; 1119 break;
1120 case Qt::Key_I: { 1120 case Qt::Key_I: {
1121 QListViewItem* cn; 1121 QListViewItem* cn;
1122 cn = currentItem(); 1122 cn = currentItem();
1123 if ( cn ) { 1123 if ( cn ) {
1124 KOListViewItem* ci = (KOListViewItem*)( cn ); 1124 KOListViewItem* ci = (KOListViewItem*)( cn );
1125 if ( ci ){ 1125 if ( ci ){
1126 //emit showIncidence( ci->data()); 1126 //emit showIncidence( ci->data());
1127 cn = cn->nextSibling(); 1127 cn = cn->nextSibling();
1128 if ( cn ) { 1128 if ( cn ) {
1129 setCurrentItem ( cn ); 1129 setCurrentItem ( cn );
1130 ensureItemVisible ( cn ); 1130 ensureItemVisible ( cn );
1131 } 1131 }
1132 emit showIncidence( ci->data()); 1132 emit showIncidence( ci->data());
1133 } 1133 }
1134 } 1134 }
1135 e->accept(); 1135 e->accept();
1136 } 1136 }
1137 break; 1137 break;
1138 case Qt::Key_Return: 1138 case Qt::Key_Return:
1139 case Qt::Key_Enter: 1139 case Qt::Key_Enter:
1140 { 1140 {
1141 QListViewItem* cn; 1141 QListViewItem* cn;
1142 cn = currentItem(); 1142 cn = currentItem();
1143 if ( cn ) { 1143 if ( cn ) {
1144 KOListViewItem* ci = (KOListViewItem*)( cn ); 1144 KOListViewItem* ci = (KOListViewItem*)( cn );
1145 if ( ci ){ 1145 if ( ci ){
1146 if ( e->state() == ShiftButton ) 1146 if ( e->state() == ShiftButton )
1147 ci->setSelected( false ); 1147 ci->setSelected( false );
1148 else 1148 else
1149 ci->setSelected( true ); 1149 ci->setSelected( true );
1150 cn = cn->nextSibling(); 1150 cn = cn->nextSibling();
1151 if ( cn ) { 1151 if ( cn ) {
1152 setCurrentItem ( cn ); 1152 setCurrentItem ( cn );
1153 ensureItemVisible ( cn ); 1153 ensureItemVisible ( cn );
1154 } 1154 }
1155 } 1155 }
1156 } 1156 }
1157 e->accept(); 1157 e->accept();
1158 } 1158 }
1159 break; 1159 break;
1160 default: 1160 default:
1161 e->ignore(); 1161 e->ignore();
1162 } 1162 }
1163} 1163}
1164KOListViewListView::KOListViewListView(KOListView * lv ) 1164KOListViewListView::KOListViewListView(KOListView * lv )
1165 : KListView( lv, "kolistlistview", false ) 1165 : KListView( lv, "kolistlistview", false )
1166{ 1166{
1167 mPopupTimer = new QTimer(this); 1167 mPopupTimer = new QTimer(this);
1168 connect(mPopupTimer , SIGNAL(timeout()), this, SLOT(popupMenu())); 1168 connect(mPopupTimer , SIGNAL(timeout()), this, SLOT(popupMenu()));
1169#ifndef DESKTOP_VERSION 1169#ifndef DESKTOP_VERSION
1170 //QPEApplication::setStylusOperation(viewport(), QPEApplication::RightOnHold ); 1170 //QPEApplication::setStylusOperation(viewport(), QPEApplication::RightOnHold );
1171#endif 1171#endif
1172 setSelectionMode( QListView::Multi ); 1172 setSelectionMode( QListView::Multi );
1173 setMultiSelection( true); 1173 setMultiSelection( true);
1174} 1174}
1175void KOListViewListView::contentsMouseDoubleClickEvent(QMouseEvent *e) 1175void KOListViewListView::contentsMouseDoubleClickEvent(QMouseEvent *e)
1176{ 1176{
1177 if (!e) return; 1177 if (!e) return;
1178 QPoint vp = contentsToViewport(e->pos()); 1178 QPoint vp = contentsToViewport(e->pos());
1179 QListViewItem *item = itemAt(vp); 1179 QListViewItem *item = itemAt(vp);
1180 if (!item) { 1180 if (!item) {
1181 emit newEvent(); 1181 emit newEvent();
1182 return; 1182 return;
1183 } 1183 }
1184 KListView::contentsMouseDoubleClickEvent(e); 1184 KListView::contentsMouseDoubleClickEvent(e);
1185} 1185}
1186#if 0 1186#if 0
1187void KOListViewListView::contentsMousePressEvent(QMouseEvent *e) 1187void KOListViewListView::contentsMousePressEvent(QMouseEvent *e)
1188{ 1188{
1189 //qDebug("contentsMousePressEvent++++ "); 1189 //qDebug("contentsMousePressEvent++++ ");
1190 KListView::contentsMousePressEvent( e ); 1190 KListView::contentsMousePressEvent( e );
1191 if ( e->button() == RightButton ) { 1191 if ( e->button() == RightButton ) {
1192 QListViewItem* ci = currentItem(); 1192 QListViewItem* ci = currentItem();
1193 clearSelection () ; 1193 clearSelection () ;
1194 if ( ci ) 1194 if ( ci )
1195 ci->setSelected( true ); 1195 ci->setSelected( true );
1196 } 1196 }
1197} 1197}
1198void KOListViewListView::contentsMouseReleaseEvent(QMouseEvent *e) 1198void KOListViewListView::contentsMouseReleaseEvent(QMouseEvent *e)
1199{ 1199{
1200 KListView::contentsMouseReleaseEvent(e); 1200 KListView::contentsMouseReleaseEvent(e);
1201} 1201}
1202void KOListViewListView::contentsMouseMoveEvent(QMouseEvent *e) 1202void KOListViewListView::contentsMouseMoveEvent(QMouseEvent *e)
1203{ 1203{
1204 KListView::contentsMouseMoveEvent(e); 1204 KListView::contentsMouseMoveEvent(e);
1205} 1205}
1206#endif 1206#endif
1207void KOListViewListView::popupMenu() 1207void KOListViewListView::popupMenu()
1208{ 1208{
1209 mPopupTimer->stop(); 1209 mPopupTimer->stop();
1210 //qDebug("HUUUUUUUUUUUUUUUUUUUU ");
1211 QMouseEvent* e = new QMouseEvent( QEvent::MouseButtonPress, mEventPos ,mEventGlobalPos, RightButton , RightButton ); 1210 QMouseEvent* e = new QMouseEvent( QEvent::MouseButtonPress, mEventPos ,mEventGlobalPos, RightButton , RightButton );
1212 QApplication::postEvent( this->viewport(), e ); 1211 QApplication::postEvent( this->viewport(), e );
1212
1213} 1213}
1214void KOListViewListView::contentsMousePressEvent(QMouseEvent *e) 1214void KOListViewListView::contentsMousePressEvent(QMouseEvent *e)
1215{ 1215{
1216 //qDebug("contentsMousePressEvent++++ "); 1216 //qDebug("contentsMousePressEvent++++ %d %d", e->pos().y(), e->globalPos().y());
1217 mYMousePos = mapToGlobal( (e->pos())).y(); 1217 mYMousePos = mapToGlobal( (e->pos())).y();
1218 if ( e->button() == LeftButton ) { 1218 if ( e->button() == LeftButton ) {
1219 mPopupTimer->start( 600 ); 1219 mPopupTimer->start( 600 );
1220 mEventPos = e->pos(); 1220 mEventPos = contentsToViewport(e->pos());
1221 mEventGlobalPos = e->globalPos(); 1221 mEventGlobalPos = e->globalPos();
1222 } 1222 }
1223 KListView::contentsMousePressEvent( e ); 1223 KListView::contentsMousePressEvent( e );
1224 if ( e->button() == RightButton ) { 1224 if ( e->button() == RightButton ) {
1225 QListViewItem* ci = currentItem(); 1225 QListViewItem* ci = currentItem();
1226 //clearSelection(); 1226 //clearSelection();
1227 if ( ci ) 1227 if ( ci )
1228 ci->setSelected( true ); 1228 ci->setSelected( true );
1229 } 1229 }
1230} 1230}
1231void KOListViewListView::contentsMouseReleaseEvent(QMouseEvent *e) 1231void KOListViewListView::contentsMouseReleaseEvent(QMouseEvent *e)
1232{ 1232{
1233 mPopupTimer->stop(); 1233 mPopupTimer->stop();
1234 KListView::contentsMouseReleaseEvent(e); 1234 KListView::contentsMouseReleaseEvent(e);
1235} 1235}
1236void KOListViewListView::contentsMouseMoveEvent(QMouseEvent *e) 1236void KOListViewListView::contentsMouseMoveEvent(QMouseEvent *e)
1237{ 1237{
1238 // qDebug("contentsMouseMoveEv....... "); 1238 // qDebug("contentsMouseMoveEv....... ");
1239 // qDebug("start: %d current %d ",mYMousePos , mapToGlobal( (e->pos())).y() ); 1239 // qDebug("start: %d current %d ",mYMousePos , mapToGlobal( (e->pos())).y() );
1240 int diff = mYMousePos - mapToGlobal( (e->pos())).y(); 1240 int diff = mYMousePos - mapToGlobal( (e->pos())).y();
1241 if ( diff < 0 ) diff = -diff; 1241 if ( diff < 0 ) diff = -diff;
1242 if ( diff > 15 ) 1242 if ( diff > 15 )
1243 mPopupTimer->stop(); 1243 mPopupTimer->stop();
1244 else { 1244 else {
1245 mEventPos = e->pos(); 1245 mEventPos = contentsToViewport(e->pos());
1246 mEventGlobalPos = e->globalPos(); 1246 mEventGlobalPos = e->globalPos();
1247 } 1247 }
1248 KListView::contentsMouseMoveEvent(e); 1248 KListView::contentsMouseMoveEvent(e);
1249} 1249}
1250 1250
diff --git a/korganizer/koprefsdialog.cpp b/korganizer/koprefsdialog.cpp
index 8439b81..e72f94b 100644
--- a/korganizer/koprefsdialog.cpp
+++ b/korganizer/koprefsdialog.cpp
@@ -61,1566 +61,1563 @@
61#if defined(USE_SOLARIS) 61#if defined(USE_SOLARIS)
62#include <sys/param.h> 62#include <sys/param.h>
63 63
64#define ZONEINFODIR "/usr/share/lib/zoneinfo" 64#define ZONEINFODIR "/usr/share/lib/zoneinfo"
65#define INITFILE "/etc/default/init" 65#define INITFILE "/etc/default/init"
66#endif 66#endif
67 67
68#include "koprefs.h" 68#include "koprefs.h"
69 69
70#include "koprefsdialog.h" 70#include "koprefsdialog.h"
71#include "kpimglobalprefs.h" 71#include "kpimglobalprefs.h"
72 72
73 73
74KOPrefsDialog::KOPrefsDialog(QWidget *parent, char *name, bool modal) : 74KOPrefsDialog::KOPrefsDialog(QWidget *parent, char *name, bool modal) :
75 KPrefsDialog(KOPrefs::instance(),parent,name,true) 75 KPrefsDialog(KOPrefs::instance(),parent,name,true)
76{ 76{
77 77
78 setFont( KGlobalSettings::generalFont() ); 78 setFont( KGlobalSettings::generalFont() );
79 setCaption( i18n("Preferences - some settings need a restart (nr)")); 79 setCaption( i18n("Preferences - some settings need a restart (nr)"));
80 mCategoryDict.setAutoDelete(true); 80 mCategoryDict.setAutoDelete(true);
81 81
82 KGlobal::locale()->insertCatalogue("timezones"); 82 KGlobal::locale()->insertCatalogue("timezones");
83 mSpacingHint = spacingHintSmall(); 83 mSpacingHint = spacingHintSmall();
84 mMarginHint = marginHintSmall(); 84 mMarginHint = marginHintSmall();
85#ifndef DESKTOP_VERSION 85#ifndef DESKTOP_VERSION
86 if ( QApplication::desktop()->height() == 480 ) 86 if ( QApplication::desktop()->height() == 480 )
87 hideButtons(); 87 hideButtons();
88#endif 88#endif
89 89
90 setupGlobalTab(); 90 setupGlobalTab();
91 setupMainTab(); 91 setupMainTab();
92 // setupLocaleTab(); 92 // setupLocaleTab();
93 //setupTimeZoneTab(); 93 //setupTimeZoneTab();
94 setupTimeTab(); 94 setupTimeTab();
95 //setupLocaleDateTab(); 95 //setupLocaleDateTab();
96 setupFontsTab(); 96 setupFontsTab();
97 setupColorsTab(); 97 setupColorsTab();
98 setupViewsTab(); 98 setupViewsTab();
99 //setupSyncTab(); 99 //setupSyncTab();
100 //setupSyncAlgTab(); 100 //setupSyncAlgTab();
101 //setupPrinterTab(); 101 //setupPrinterTab();
102 //setupGroupSchedulingTab(); 102 //setupGroupSchedulingTab();
103 //setupGroupAutomationTab(); 103 //setupGroupAutomationTab();
104 104
105 105
106} 106}
107 107
108 108
109KOPrefsDialog::~KOPrefsDialog() 109KOPrefsDialog::~KOPrefsDialog()
110{ 110{
111} 111}
112void KOPrefsDialog::setupGlobalTab() 112void KOPrefsDialog::setupGlobalTab()
113{ 113{
114 QFrame *topFrame = addPage(i18n("Global"),0,0); 114 QFrame *topFrame = addPage(i18n("Global"),0,0);
115 kdelibcfg = new KDEPIMConfigWidget( KPimGlobalPrefs::instance(), topFrame, "KCMKdeLibConfig" ); 115 kdelibcfg = new KDEPIMConfigWidget( KPimGlobalPrefs::instance(), topFrame, "KCMKdeLibConfig" );
116 QVBoxLayout *topLayout = new QVBoxLayout(topFrame); 116 QVBoxLayout *topLayout = new QVBoxLayout(topFrame);
117 topLayout->addWidget( kdelibcfg ); 117 topLayout->addWidget( kdelibcfg );
118 118
119 119
120} 120}
121void KOPrefsDialog::setupLocaleDateTab() 121void KOPrefsDialog::setupLocaleDateTab()
122{ 122{
123#if 0 123#if 0
124QFrame *topFrame = addPage(i18n("Date Format"),0,0); 124QFrame *topFrame = addPage(i18n("Date Format"),0,0);
125 QGridLayout *topLayout = new QGridLayout(topFrame,3,2); 125 QGridLayout *topLayout = new QGridLayout(topFrame,3,2);
126 topLayout->setSpacing(mSpacingHint); 126 topLayout->setSpacing(mSpacingHint);
127 topLayout->setMargin(mMarginHint); 127 topLayout->setMargin(mMarginHint);
128 int iii = 0; 128 int iii = 0;
129 129
130 130
131 KPrefsDialogWidRadios *syncPrefsGroup = 131 KPrefsDialogWidRadios *syncPrefsGroup =
132 addWidRadios(i18n("Date Format:"),&(KOPrefs::instance()->mPreferredDate),topFrame); 132 addWidRadios(i18n("Date Format:"),&(KOPrefs::instance()->mPreferredDate),topFrame);
133 QString format; 133 QString format;
134 if ( QApplication::desktop()->width() < 480 ) 134 if ( QApplication::desktop()->width() < 480 )
135 format = "(%d.%m.%Y)"; 135 format = "(%d.%m.%Y)";
136 else 136 else
137 format = "(%d.%m.%Y|%A %d %B %Y)"; 137 format = "(%d.%m.%Y|%A %d %B %Y)";
138 syncPrefsGroup->addRadio(i18n("24.03.2004 "+format)); 138 syncPrefsGroup->addRadio(i18n("24.03.2004 "+format));
139 if ( QApplication::desktop()->width() < 480 ) 139 if ( QApplication::desktop()->width() < 480 )
140 format = "(%m.%d.%Y)"; 140 format = "(%m.%d.%Y)";
141 else 141 else
142 format = "(%m.%d.%Y|%A %B %d %Y)"; 142 format = "(%m.%d.%Y|%A %B %d %Y)";
143 syncPrefsGroup->addRadio(i18n("03.24.2004 "+format)); 143 syncPrefsGroup->addRadio(i18n("03.24.2004 "+format));
144 if ( QApplication::desktop()->width() < 480 ) 144 if ( QApplication::desktop()->width() < 480 )
145 format = "(%Y-%m-%d)"; 145 format = "(%Y-%m-%d)";
146 else 146 else
147 format = "(%Y-%m-%d|%A %Y %B %d)"; 147 format = "(%Y-%m-%d|%A %Y %B %d)";
148 syncPrefsGroup->addRadio(i18n("2004-03-24 "+format)); 148 syncPrefsGroup->addRadio(i18n("2004-03-24 "+format));
149 syncPrefsGroup->addRadio(i18n("User defined")); 149 syncPrefsGroup->addRadio(i18n("User defined"));
150 topLayout->addMultiCellWidget( syncPrefsGroup->groupBox(),iii,iii,0,1); 150 topLayout->addMultiCellWidget( syncPrefsGroup->groupBox(),iii,iii,0,1);
151 ++iii; 151 ++iii;
152 ++iii; 152 ++iii;
153 QLabel * lab; 153 QLabel * lab;
154 mUserDateFormatLong = new QLineEdit(topFrame); 154 mUserDateFormatLong = new QLineEdit(topFrame);
155 lab = new QLabel(mUserDateFormatLong, i18n("User long date:"), topFrame); 155 lab = new QLabel(mUserDateFormatLong, i18n("User long date:"), topFrame);
156 topLayout->addWidget(lab ,iii,0); 156 topLayout->addWidget(lab ,iii,0);
157 topLayout->addWidget(mUserDateFormatLong,iii,1); 157 topLayout->addWidget(mUserDateFormatLong,iii,1);
158 ++iii; 158 ++iii;
159 mUserDateFormatShort = new QLineEdit(topFrame); 159 mUserDateFormatShort = new QLineEdit(topFrame);
160 lab = new QLabel(mUserDateFormatShort, i18n("User short date:"), topFrame); 160 lab = new QLabel(mUserDateFormatShort, i18n("User short date:"), topFrame);
161 topLayout->addWidget(lab ,iii,0); 161 topLayout->addWidget(lab ,iii,0);
162 topLayout->addWidget(mUserDateFormatShort,iii,1); 162 topLayout->addWidget(mUserDateFormatShort,iii,1);
163 ++iii; 163 ++iii;
164 lab = new QLabel( i18n("Monday 19 April 2004: %A %d %B %Y"), topFrame); 164 lab = new QLabel( i18n("Monday 19 April 2004: %A %d %B %Y"), topFrame);
165 topLayout->addMultiCellWidget(lab ,iii,iii,0,1); 165 topLayout->addMultiCellWidget(lab ,iii,iii,0,1);
166 ++iii; 166 ++iii;
167 lab = new QLabel( i18n("Mon 19.04.04: %a %d.%m.%y"), topFrame); 167 lab = new QLabel( i18n("Mon 19.04.04: %a %d.%m.%y"), topFrame);
168 topLayout->addMultiCellWidget(lab ,iii,iii,0,1); 168 topLayout->addMultiCellWidget(lab ,iii,iii,0,1);
169 ++iii; 169 ++iii;
170 lab = new QLabel( i18n("Mon, 19.Apr.04: %a, %d.%b.%y"), topFrame); 170 lab = new QLabel( i18n("Mon, 19.Apr.04: %a, %d.%b.%y"), topFrame);
171 topLayout->addMultiCellWidget(lab ,iii,iii,0,1); 171 topLayout->addMultiCellWidget(lab ,iii,iii,0,1);
172 ++iii; 172 ++iii;
173#endif 173#endif
174 174
175} 175}
176 176
177void KOPrefsDialog::setupLocaleTab() 177void KOPrefsDialog::setupLocaleTab()
178{ 178{
179#if 0 179#if 0
180 QFrame *topFrame = addPage(i18n("Locale"),0,0); 180 QFrame *topFrame = addPage(i18n("Locale"),0,0);
181 QGridLayout *topLayout = new QGridLayout(topFrame,4,2); 181 QGridLayout *topLayout = new QGridLayout(topFrame,4,2);
182 topLayout->setSpacing(mSpacingHint); 182 topLayout->setSpacing(mSpacingHint);
183 topLayout->setMargin(mMarginHint); 183 topLayout->setMargin(mMarginHint);
184 int iii = 0; 184 int iii = 0;
185 KPrefsDialogWidRadios *syncPrefsGroup = 185 KPrefsDialogWidRadios *syncPrefsGroup =
186 addWidRadios(i18n("Language:(needs restart)"),&(KOPrefs::instance()->mPreferredLanguage),topFrame); 186 addWidRadios(i18n("Language:(needs restart)"),&(KOPrefs::instance()->mPreferredLanguage),topFrame);
187 syncPrefsGroup->addRadio(i18n("English")); 187 syncPrefsGroup->addRadio(i18n("English"));
188 syncPrefsGroup->addRadio(i18n("German")); 188 syncPrefsGroup->addRadio(i18n("German"));
189 syncPrefsGroup->addRadio(i18n("French")); 189 syncPrefsGroup->addRadio(i18n("French"));
190 syncPrefsGroup->addRadio(i18n("User defined (usertranslation.txt)")); 190 syncPrefsGroup->addRadio(i18n("User defined (usertranslation.txt)"));
191 if ( QApplication::desktop()->width() < 300 ) 191 if ( QApplication::desktop()->width() < 300 )
192 ;// syncPrefsGroup->groupBox()-> setOrientation (Qt::Vertical); 192 ;// syncPrefsGroup->groupBox()-> setOrientation (Qt::Vertical);
193 topLayout->addMultiCellWidget( syncPrefsGroup->groupBox(),iii,iii,0,1); 193 topLayout->addMultiCellWidget( syncPrefsGroup->groupBox(),iii,iii,0,1);
194 ++iii; 194 ++iii;
195 195
196 syncPrefsGroup = 196 syncPrefsGroup =
197 addWidRadios(i18n("Time Format(nr):"),&(KOPrefs::instance()->mPreferredTime),topFrame); 197 addWidRadios(i18n("Time Format(nr):"),&(KOPrefs::instance()->mPreferredTime),topFrame);
198 if ( QApplication::desktop()->width() > 300 ) 198 if ( QApplication::desktop()->width() > 300 )
199 syncPrefsGroup->groupBox()-> setOrientation (Qt::Vertical); 199 syncPrefsGroup->groupBox()-> setOrientation (Qt::Vertical);
200 syncPrefsGroup->addRadio(i18n("24:00")); 200 syncPrefsGroup->addRadio(i18n("24:00"));
201 syncPrefsGroup->addRadio(i18n("12:00am")); 201 syncPrefsGroup->addRadio(i18n("12:00am"));
202 syncPrefsGroup->groupBox()-> setOrientation (Qt::Vertical); 202 syncPrefsGroup->groupBox()-> setOrientation (Qt::Vertical);
203 topLayout->addMultiCellWidget( syncPrefsGroup->groupBox(),iii,iii,0,1); 203 topLayout->addMultiCellWidget( syncPrefsGroup->groupBox(),iii,iii,0,1);
204 ++iii; 204 ++iii;
205 KPrefsDialogWidBool *sb; 205 KPrefsDialogWidBool *sb;
206 if ( QApplication::desktop()->width() < 300 ) { 206 if ( QApplication::desktop()->width() < 300 ) {
207 sb = 207 sb =
208 addWidBool(i18n("Week starts on Sunday"), 208 addWidBool(i18n("Week starts on Sunday"),
209 &(KOPrefs::instance()->mWeekStartsOnSunday),topFrame); 209 &(KOPrefs::instance()->mWeekStartsOnSunday),topFrame);
210 topLayout->addMultiCellWidget(sb->checkBox(), iii,iii,0,1); 210 topLayout->addMultiCellWidget(sb->checkBox(), iii,iii,0,1);
211 ++iii; 211 ++iii;
212 sb = 212 sb =
213 addWidBool(i18n("Use short date in (WN/E) view"), 213 addWidBool(i18n("Use short date in (WN/E) view"),
214 &(KOPrefs::instance()->mShortDateInViewer),topFrame); 214 &(KOPrefs::instance()->mShortDateInViewer),topFrame);
215 topLayout->addMultiCellWidget(sb->checkBox(), iii,iii,0,1); 215 topLayout->addMultiCellWidget(sb->checkBox(), iii,iii,0,1);
216 } 216 }
217 else { 217 else {
218 QWidget * hb = new QWidget( topFrame ); 218 QWidget * hb = new QWidget( topFrame );
219 QHBoxLayout *hbLayout = new QHBoxLayout(hb); 219 QHBoxLayout *hbLayout = new QHBoxLayout(hb);
220 sb = 220 sb =
221 addWidBool(i18n("Week starts on Sunday"), 221 addWidBool(i18n("Week starts on Sunday"),
222 &(KOPrefs::instance()->mWeekStartsOnSunday),hb); 222 &(KOPrefs::instance()->mWeekStartsOnSunday),hb);
223 hbLayout->addWidget(sb->checkBox() ); 223 hbLayout->addWidget(sb->checkBox() );
224 sb = 224 sb =
225 addWidBool(i18n("Use short date in (WN/E) view"), 225 addWidBool(i18n("Use short date in (WN/E) view"),
226 &(KOPrefs::instance()->mShortDateInViewer),hb); 226 &(KOPrefs::instance()->mShortDateInViewer),hb);
227 hbLayout->addWidget(sb->checkBox() ); 227 hbLayout->addWidget(sb->checkBox() );
228 topLayout->addMultiCellWidget(hb, iii,iii,0,1); 228 topLayout->addMultiCellWidget(hb, iii,iii,0,1);
229 229
230 } 230 }
231 // KPrefsDialogWidBool *sb; //#ifndef DESKTOP_VERSION 231 // KPrefsDialogWidBool *sb; //#ifndef DESKTOP_VERSION
232#if 0 232#if 0
233 ++iii; 233 ++iii;
234 sb = 234 sb =
235 addWidBool(i18n("Quick load/save (w/o Unicode)"), 235 addWidBool(i18n("Quick load/save (w/o Unicode)"),
236 &(KOPrefs::instance()->mUseQuicksave),topFrame); 236 &(KOPrefs::instance()->mUseQuicksave),topFrame);
237 topLayout->addMultiCellWidget(sb->checkBox(), iii,iii,0,1); 237 topLayout->addMultiCellWidget(sb->checkBox(), iii,iii,0,1);
238#endif 238#endif
239#endif 239#endif
240} 240}
241void KOPrefsDialog::showSyncPage() 241void KOPrefsDialog::showSyncPage()
242{ 242{
243 showPage ( 0 ) ; 243 showPage ( 0 ) ;
244 kdelibcfg->showTimeZoneTab() ; 244 kdelibcfg->showTimeZoneTab() ;
245 245
246} 246}
247void KOPrefsDialog::setupSyncAlgTab() 247void KOPrefsDialog::setupSyncAlgTab()
248{ 248{
249#if 0 249#if 0
250 QLabel * lab; 250 QLabel * lab;
251 QFrame *topFrame = addPage(i18n("Sync Prefs"),0,0); 251 QFrame *topFrame = addPage(i18n("Sync Prefs"),0,0);
252 mSetupSyncAlgTab = topFrame; 252 mSetupSyncAlgTab = topFrame;
253 QGridLayout *topLayout = new QGridLayout(topFrame,6,2); 253 QGridLayout *topLayout = new QGridLayout(topFrame,6,2);
254 topLayout->setSpacing(mSpacingHint); 254 topLayout->setSpacing(mSpacingHint);
255 topLayout->setMargin(mMarginHint); 255 topLayout->setMargin(mMarginHint);
256 int iii = 0; 256 int iii = 0;
257 257
258 KPrefsDialogWidBool *sb = 258 KPrefsDialogWidBool *sb =
259 addWidBool(i18n("Ask for preferences before syncing"), 259 addWidBool(i18n("Ask for preferences before syncing"),
260 &(KOPrefs::instance()->mAskForPreferences),topFrame); 260 &(KOPrefs::instance()->mAskForPreferences),topFrame);
261 topLayout->addMultiCellWidget(sb->checkBox(), iii,iii,0,1); 261 topLayout->addMultiCellWidget(sb->checkBox(), iii,iii,0,1);
262 262
263 ++iii; 263 ++iii;
264 264
265 KPrefsDialogWidRadios *syncPrefsGroup = 265 KPrefsDialogWidRadios *syncPrefsGroup =
266 addWidRadios(i18n("Sync preferences:"),&(KOPrefs::instance()->mSyncAlgoPrefs), 266 addWidRadios(i18n("Sync preferences:"),&(KOPrefs::instance()->mSyncAlgoPrefs),
267 topFrame); 267 topFrame);
268 syncPrefsGroup->addRadio(i18n("Take local entry on conflict")); 268 syncPrefsGroup->addRadio(i18n("Take local entry on conflict"));
269 syncPrefsGroup->addRadio(i18n("Take remote entry on conflict")); 269 syncPrefsGroup->addRadio(i18n("Take remote entry on conflict"));
270 syncPrefsGroup->addRadio(i18n("Take newest entry on conflict")); 270 syncPrefsGroup->addRadio(i18n("Take newest entry on conflict"));
271 syncPrefsGroup->addRadio(i18n("Ask for every entry on conflict")); 271 syncPrefsGroup->addRadio(i18n("Ask for every entry on conflict"));
272 syncPrefsGroup->addRadio(i18n("Force take local entry always")); 272 syncPrefsGroup->addRadio(i18n("Force take local entry always"));
273 syncPrefsGroup->addRadio(i18n("Force take remote entry always")); 273 syncPrefsGroup->addRadio(i18n("Force take remote entry always"));
274 topLayout->addMultiCellWidget( syncPrefsGroup->groupBox(),iii,iii,0,1); 274 topLayout->addMultiCellWidget( syncPrefsGroup->groupBox(),iii,iii,0,1);
275 ++iii; 275 ++iii;
276 sb = 276 sb =
277 addWidBool(i18n("Show summary after syncing"), 277 addWidBool(i18n("Show summary after syncing"),
278 &(KOPrefs::instance()->mShowSyncSummary),topFrame); 278 &(KOPrefs::instance()->mShowSyncSummary),topFrame);
279 topLayout->addMultiCellWidget(sb->checkBox(), iii,iii,0,1); 279 topLayout->addMultiCellWidget(sb->checkBox(), iii,iii,0,1);
280 280
281 ++iii; 281 ++iii;
282#endif 282#endif
283 283
284 284
285 285
286} 286}
287 287
288 288
289void KOPrefsDialog::setupSyncTab() 289void KOPrefsDialog::setupSyncTab()
290{ 290{
291#if 0 291#if 0
292 QLabel * lab; 292 QLabel * lab;
293 QFrame *topFrame = addPage(i18n("Sync Network"),0,0); 293 QFrame *topFrame = addPage(i18n("Sync Network"),0,0);
294 QGridLayout *topLayout = new QGridLayout(topFrame,6,2); 294 QGridLayout *topLayout = new QGridLayout(topFrame,6,2);
295 topLayout->setSpacing(mSpacingHint); 295 topLayout->setSpacing(mSpacingHint);
296 topLayout->setMargin(mMarginHint); 296 topLayout->setMargin(mMarginHint);
297 lab = new QLabel(i18n("Remote syncing (via ssh/scp)\nnetwork settings "), topFrame); 297 lab = new QLabel(i18n("Remote syncing (via ssh/scp)\nnetwork settings "), topFrame);
298 int iii = 0; 298 int iii = 0;
299 topLayout->addMultiCellWidget(lab , iii,iii,0,1); 299 topLayout->addMultiCellWidget(lab , iii,iii,0,1);
300 ++iii; 300 ++iii;
301 301
302 mRemoteIPEdit = new QLineEdit(topFrame); 302 mRemoteIPEdit = new QLineEdit(topFrame);
303 lab = new QLabel(mRemoteIPEdit, i18n("Remote IP:"), topFrame); 303 lab = new QLabel(mRemoteIPEdit, i18n("Remote IP:"), topFrame);
304 topLayout->addWidget(lab ,iii,0); 304 topLayout->addWidget(lab ,iii,0);
305 topLayout->addWidget(mRemoteIPEdit,iii,1); 305 topLayout->addWidget(mRemoteIPEdit,iii,1);
306 ++iii; 306 ++iii;
307 mRemoteUser = new QLineEdit(topFrame); 307 mRemoteUser = new QLineEdit(topFrame);
308 lab = new QLabel(mRemoteUser, i18n("Remote user:"), topFrame); 308 lab = new QLabel(mRemoteUser, i18n("Remote user:"), topFrame);
309 topLayout->addWidget(lab ,iii,0); 309 topLayout->addWidget(lab ,iii,0);
310 topLayout->addWidget(mRemoteUser, iii,1); 310 topLayout->addWidget(mRemoteUser, iii,1);
311 ++iii; 311 ++iii;
312 312
313 mRemoteFile = new QLineEdit(topFrame); 313 mRemoteFile = new QLineEdit(topFrame);
314 lab = new QLabel(mRemoteFile, i18n("Remote file:"), topFrame); 314 lab = new QLabel(mRemoteFile, i18n("Remote file:"), topFrame);
315 topLayout->addWidget(lab ,iii,0); 315 topLayout->addWidget(lab ,iii,0);
316 topLayout->addWidget(mRemoteFile,iii,1); 316 topLayout->addWidget(mRemoteFile,iii,1);
317 ++iii; 317 ++iii;
318 318
319 mLocalTempFile = new QLineEdit(topFrame); 319 mLocalTempFile = new QLineEdit(topFrame);
320 lab = new QLabel(mLocalTempFile, i18n("Local temp file:"), topFrame); 320 lab = new QLabel(mLocalTempFile, i18n("Local temp file:"), topFrame);
321 topLayout->addWidget(lab ,iii,0); 321 topLayout->addWidget(lab ,iii,0);
322 topLayout->addWidget(mLocalTempFile,iii,1); 322 topLayout->addWidget(mLocalTempFile,iii,1);
323 ++iii; 323 ++iii;
324 324
325 KPrefsDialogWidBool *wb = 325 KPrefsDialogWidBool *wb =
326 addWidBool(i18n("Write back synced file"), 326 addWidBool(i18n("Write back synced file"),
327 &(KOPrefs::instance()->mWriteBackFile),topFrame); 327 &(KOPrefs::instance()->mWriteBackFile),topFrame);
328 topLayout->addMultiCellWidget(wb->checkBox(), iii,iii,0,1); 328 topLayout->addMultiCellWidget(wb->checkBox(), iii,iii,0,1);
329 ++iii; 329 ++iii;
330 wb = 330 wb =
331 addWidBool(i18n("Write back existing entries only"), 331 addWidBool(i18n("Write back existing entries only"),
332 &(KOPrefs::instance()->mWriteBackExistingOnly),topFrame); 332 &(KOPrefs::instance()->mWriteBackExistingOnly),topFrame);
333 topLayout->addMultiCellWidget(wb->checkBox(), iii,iii,0,1); 333 topLayout->addMultiCellWidget(wb->checkBox(), iii,iii,0,1);
334 ++iii; 334 ++iii;
335 335
336#endif 336#endif
337} 337}
338 338
339void KOPrefsDialog::setupMainTab() 339void KOPrefsDialog::setupMainTab()
340{ 340{
341 QFrame *topFrame = addPage(i18n("General"),0,0); 341 QFrame *topFrame = addPage(i18n("General"),0,0);
342 // DesktopIcon("identity",KIcon::SizeMedium)); 342 // DesktopIcon("identity",KIcon::SizeMedium));
343 343
344 QGridLayout *topLayout = new QGridLayout(topFrame,5,2); 344 QGridLayout *topLayout = new QGridLayout(topFrame,5,2);
345 topLayout->setSpacing(mSpacingHint); 345 topLayout->setSpacing(mSpacingHint);
346 topLayout->setMargin(mMarginHint); 346 topLayout->setMargin(mMarginHint);
347 347
348 // KPrefsDialogWidBool *emailControlCenter = 348 // KPrefsDialogWidBool *emailControlCenter =
349// addWidBool(i18n("&Use email settings from Control Center"), 349// addWidBool(i18n("&Use email settings from Control Center"),
350// &(KOPrefs::instance()->mEmailControlCenter),topFrame); 350// &(KOPrefs::instance()->mEmailControlCenter),topFrame);
351// topLayout->addMultiCellWidget(emailControlCenter->checkBox(),0,0,0,1); 351// topLayout->addMultiCellWidget(emailControlCenter->checkBox(),0,0,0,1);
352 // connect(emailControlCenter->checkBox(),SIGNAL(toggled(bool)), 352 // connect(emailControlCenter->checkBox(),SIGNAL(toggled(bool)),
353 // SLOT(toggleEmailSettings(bool))); 353 // SLOT(toggleEmailSettings(bool)));
354 354
355 mNameEdit = new QLineEdit(topFrame); 355 mNameEdit = new QLineEdit(topFrame);
356 mNameLabel = new QLabel(mNameEdit, i18n("Full &name:"), topFrame); 356 mNameLabel = new QLabel(mNameEdit, i18n("Full &name:"), topFrame);
357 topLayout->addWidget(mNameLabel,0,0); 357 topLayout->addWidget(mNameLabel,0,0);
358 topLayout->addWidget(mNameEdit,0,1); 358 topLayout->addWidget(mNameEdit,0,1);
359 359
360 mEmailEdit = new QLineEdit(topFrame); 360 mEmailEdit = new QLineEdit(topFrame);
361 mEmailLabel = new QLabel(mEmailEdit, i18n("E&mail address:"),topFrame); 361 mEmailLabel = new QLabel(mEmailEdit, i18n("E&mail address:"),topFrame);
362 topLayout->addWidget(mEmailLabel,1,0); 362 topLayout->addWidget(mEmailLabel,1,0);
363 topLayout->addWidget(mEmailEdit,1,1); 363 topLayout->addWidget(mEmailEdit,1,1);
364 KPrefsDialogWidBool *wb; 364 KPrefsDialogWidBool *wb;
365 365
366 366
367 367
368 KPrefsDialogWidBool *widbool = addWidBool(i18n("Full menu bar(nr)"), 368 KPrefsDialogWidBool *widbool = addWidBool(i18n("Full menu bar(nr)"),
369 &(KOPrefs::instance()->mShowFullMenu),topFrame); 369 &(KOPrefs::instance()->mShowFullMenu),topFrame);
370 topLayout->addMultiCellWidget( widbool->checkBox(), 2,2,0,1); 370 topLayout->addMultiCellWidget( widbool->checkBox(), 2,2,0,1);
371 371
372 372
373 widbool = addWidBool(i18n("Mini icons in toolbar(nr)"), 373 widbool = addWidBool(i18n("Mini icons in toolbar(nr)"),
374 &(KOPrefs::instance()->mToolBarMiniIcons),topFrame); 374 &(KOPrefs::instance()->mToolBarMiniIcons),topFrame);
375 topLayout->addMultiCellWidget( widbool->checkBox(), 3,3,0,1); 375 topLayout->addMultiCellWidget( widbool->checkBox(), 3,3,0,1);
376 376
377 377
378 KPrefsDialogWidBool *verticalScreen = 378 KPrefsDialogWidBool *verticalScreen =
379 addWidBool(i18n("Show vertical screen (Needs restart)"), 379 addWidBool(i18n("Show vertical screen (Needs restart)"),
380 &(KOPrefs::instance()->mVerticalScreen),topFrame); 380 &(KOPrefs::instance()->mVerticalScreen),topFrame);
381 //topLayout->addWidget(verticalScreen->checkBox(),ii++,0); 381 //topLayout->addWidget(verticalScreen->checkBox(),ii++,0);
382 topLayout->addMultiCellWidget(verticalScreen->checkBox(),4,4,0,1); 382 topLayout->addMultiCellWidget(verticalScreen->checkBox(),4,4,0,1);
383 383
384 384
385 QHBox *dummy = new QHBox(topFrame); 385 QHBox *dummy = new QHBox(topFrame);
386 new QLabel(i18n("Days in Next-X-Days:"),dummy); 386 new QLabel(i18n("Days in Next-X-Days:"),dummy);
387 mNextXDaysSpin = new QSpinBox(2,14,1,dummy); 387 mNextXDaysSpin = new QSpinBox(2,14,1,dummy);
388 388
389 topLayout->addMultiCellWidget(dummy,5,5,0,1); 389 topLayout->addMultiCellWidget(dummy,5,5,0,1);
390 390
391 391
392 392
393 // KPrefsDialogWidBool *bcc = 393 // KPrefsDialogWidBool *bcc =
394// addWidBool(i18n("Send copy to owner when mailing events"), 394// addWidBool(i18n("Send copy to owner when mailing events"),
395// &(KOPrefs::instance()->mBcc),topFrame); 395// &(KOPrefs::instance()->mBcc),topFrame);
396// topLayout->addMultiCellWidget(bcc->checkBox(),4,4,0,1); 396// topLayout->addMultiCellWidget(bcc->checkBox(),4,4,0,1);
397 397
398 398
399 // QGroupBox *autoSaveGroup = new QGroupBox(1,Horizontal,i18n("Auto-Save"), topFrame); 399 // QGroupBox *autoSaveGroup = new QGroupBox(1,Horizontal,i18n("Auto-Save"), topFrame);
400 //topLayout->addMultiCellWidget(autoSaveGroup,6,6,0,1); 400 //topLayout->addMultiCellWidget(autoSaveGroup,6,6,0,1);
401 401
402 // addWidBool(i18n("Enable automatic saving of calendar"), 402 // addWidBool(i18n("Enable automatic saving of calendar"),
403 // &(KOPrefs::instance()->mAutoSave),autoSaveGroup); 403 // &(KOPrefs::instance()->mAutoSave),autoSaveGroup);
404 404
405 QHBox *intervalBox = new QHBox(topFrame); 405 QHBox *intervalBox = new QHBox(topFrame);
406 // intervalBox->setSpacing(mSpacingHint); 406 // intervalBox->setSpacing(mSpacingHint);
407 topLayout->addMultiCellWidget(intervalBox,6,6,0,1); 407 topLayout->addMultiCellWidget(intervalBox,6,6,0,1);
408 QLabel *autoSaveIntervalLabel = new QLabel(i18n("Auto save delay in minutes:"),intervalBox); 408 QLabel *autoSaveIntervalLabel = new QLabel(i18n("Auto save delay in minutes:"),intervalBox);
409 mAutoSaveIntervalSpin = new QSpinBox(0,500,1,intervalBox); 409 mAutoSaveIntervalSpin = new QSpinBox(0,500,1,intervalBox);
410 autoSaveIntervalLabel->setBuddy(mAutoSaveIntervalSpin); 410 autoSaveIntervalLabel->setBuddy(mAutoSaveIntervalSpin);
411 /* 411 /*
412 QHBox * agendasize = new QHBox ( topFrame ); 412 QHBox * agendasize = new QHBox ( topFrame );
413 413
414 new QLabel (i18n("AllDayAgenda Height:"), agendasize ); 414 new QLabel (i18n("AllDayAgenda Height:"), agendasize );
415 415
416 416
417 mHourSizeSlider = new QSlider(24,47,1,24,Horizontal,agendasize); 417 mHourSizeSlider = new QSlider(24,47,1,24,Horizontal,agendasize);
418 topLayout->addMultiCellWidget(agendasize,7,7,0,1); 418 topLayout->addMultiCellWidget(agendasize,7,7,0,1);
419 */ 419 */
420 420
421 421
422 KPrefsDialogWidBool *ask = 422 KPrefsDialogWidBool *ask =
423 addWidBool(i18n("Ask for quit when closing KO/Pi"), 423 addWidBool(i18n("Ask for quit when closing KO/Pi"),
424 &(KOPrefs::instance()->mAskForQuit),topFrame); 424 &(KOPrefs::instance()->mAskForQuit),topFrame);
425 topLayout->addMultiCellWidget(ask->checkBox(),7,7,0,1); 425 topLayout->addMultiCellWidget(ask->checkBox(),7,7,0,1);
426 426
427 427
428 /* 428 /*
429 KPrefsDialogWidBool *confirmCheck = 429 KPrefsDialogWidBool *confirmCheck =
430 addWidBool(i18n("Confirm &deletes"),&(KOPrefs::instance()->mConfirm), 430 addWidBool(i18n("Confirm &deletes"),&(KOPrefs::instance()->mConfirm),
431 topFrame); 431 topFrame);
432 topLayout->addMultiCellWidget(confirmCheck->checkBox(),7,7,0,1); 432 topLayout->addMultiCellWidget(confirmCheck->checkBox(),7,7,0,1);
433 433
434 434
435 mEnableGroupScheduling = 435 mEnableGroupScheduling =
436 addWidBool(i18n("Enable group scheduling"), 436 addWidBool(i18n("Enable group scheduling"),
437 &(KOPrefs::instance()->mEnableGroupScheduling),topFrame); 437 &(KOPrefs::instance()->mEnableGroupScheduling),topFrame);
438 topLayout->addWidget(mEnableGroupScheduling->checkBox(),8,0); 438 topLayout->addWidget(mEnableGroupScheduling->checkBox(),8,0);
439 connect(mEnableGroupScheduling->checkBox(),SIGNAL(clicked()), 439 connect(mEnableGroupScheduling->checkBox(),SIGNAL(clicked()),
440 SLOT(warningGroupScheduling())); 440 SLOT(warningGroupScheduling()));
441 441
442 mEnableProjectView = 442 mEnableProjectView =
443 addWidBool(i18n("Enable project view"), 443 addWidBool(i18n("Enable project view"),
444 &(KOPrefs::instance()->mEnableProjectView),topFrame); 444 &(KOPrefs::instance()->mEnableProjectView),topFrame);
445 topLayout->addWidget(mEnableProjectView->checkBox(),9,0); 445 topLayout->addWidget(mEnableProjectView->checkBox(),9,0);
446 connect(mEnableProjectView->checkBox(),SIGNAL(clicked()), 446 connect(mEnableProjectView->checkBox(),SIGNAL(clicked()),
447 SLOT(warningProjectView())); 447 SLOT(warningProjectView()));
448 448
449 // Can't be disabled anymore 449 // Can't be disabled anymore
450 mEnableGroupScheduling->checkBox()->hide(); 450 mEnableGroupScheduling->checkBox()->hide();
451 451
452 // Disable setting, because this feature now becomes stable 452 // Disable setting, because this feature now becomes stable
453 mEnableProjectView->checkBox()->hide(); 453 mEnableProjectView->checkBox()->hide();
454 454
455 KPrefsDialogWidRadios *defaultFormatGroup = 455 KPrefsDialogWidRadios *defaultFormatGroup =
456 addWidRadios(i18n("Default Calendar Format"), 456 addWidRadios(i18n("Default Calendar Format"),
457 &(KOPrefs::instance()->mDefaultFormat),topFrame); 457 &(KOPrefs::instance()->mDefaultFormat),topFrame);
458 defaultFormatGroup->addRadio(i18n("vCalendar")); 458 defaultFormatGroup->addRadio(i18n("vCalendar"));
459 defaultFormatGroup->addRadio(i18n("iCalendar")); 459 defaultFormatGroup->addRadio(i18n("iCalendar"));
460 460
461 topLayout->addMultiCellWidget(defaultFormatGroup->groupBox(),10,10,0,1); 461 topLayout->addMultiCellWidget(defaultFormatGroup->groupBox(),10,10,0,1);
462 462
463 // Default format unconditionally is iCalendar 463 // Default format unconditionally is iCalendar
464 defaultFormatGroup->groupBox()->hide(); 464 defaultFormatGroup->groupBox()->hide();
465 465
466 KPrefsDialogWidRadios *mailClientGroup = 466 KPrefsDialogWidRadios *mailClientGroup =
467 addWidRadios(i18n("Mail Client"),&(KOPrefs::instance()->mMailClient), 467 addWidRadios(i18n("Mail Client"),&(KOPrefs::instance()->mMailClient),
468 topFrame); 468 topFrame);
469 mailClientGroup->addRadio(i18n("KMail")); 469 mailClientGroup->addRadio(i18n("KMail"));
470 mailClientGroup->addRadio(i18n("Sendmail")); 470 mailClientGroup->addRadio(i18n("Sendmail"));
471 topLayout->addMultiCellWidget(mailClientGroup->groupBox(),11,11,0,1); 471 topLayout->addMultiCellWidget(mailClientGroup->groupBox(),11,11,0,1);
472 472
473 KPrefsDialogWidBool *htmlsave = 473 KPrefsDialogWidBool *htmlsave =
474 addWidBool(i18n("Export to HTML with every save"),&(KOPrefs::instance()->mHtmlWithSave), 474 addWidBool(i18n("Export to HTML with every save"),&(KOPrefs::instance()->mHtmlWithSave),
475 topFrame); 475 topFrame);
476 topLayout->addMultiCellWidget(htmlsave->checkBox(),12,12,0,1); 476 topLayout->addMultiCellWidget(htmlsave->checkBox(),12,12,0,1);
477 477
478 KPrefsDialogWidRadios *destinationGroup = 478 KPrefsDialogWidRadios *destinationGroup =
479 addWidRadios(i18n("New Events/Todos should"),&(KOPrefs::instance()->mDestination), 479 addWidRadios(i18n("New Events/Todos should"),&(KOPrefs::instance()->mDestination),
480 topFrame); 480 topFrame);
481 destinationGroup->addRadio(i18n("be added to the standard resource")); 481 destinationGroup->addRadio(i18n("be added to the standard resource"));
482 destinationGroup->addRadio(i18n("be asked which resource to use")); 482 destinationGroup->addRadio(i18n("be asked which resource to use"));
483 topLayout->addMultiCellWidget(destinationGroup->groupBox(),13,13,0,1); 483 topLayout->addMultiCellWidget(destinationGroup->groupBox(),13,13,0,1);
484 484
485 topLayout->setRowStretch(14,1); 485 topLayout->setRowStretch(14,1);
486 */ 486 */
487} 487}
488 488
489 489
490void KOPrefsDialog::setupTimeTab() 490void KOPrefsDialog::setupTimeTab()
491{ 491{
492 QFrame *topFrame = addPage(i18n("Time"),0,0); 492 QFrame *topFrame = addPage(i18n("Time"),0,0);
493 // DesktopIcon("clock",KIcon::SizeMedium)); 493 // DesktopIcon("clock",KIcon::SizeMedium));
494 494
495 QGridLayout *topLayout = new QGridLayout(topFrame,4,2); 495 QGridLayout *topLayout = new QGridLayout(topFrame,4,2);
496 topLayout->setSpacing(mSpacingHint); 496 topLayout->setSpacing(mSpacingHint);
497 topLayout->setMargin(mMarginHint); 497 topLayout->setMargin(mMarginHint);
498 498
499 QHBox *dummy = new QHBox(topFrame); 499 QHBox *dummy = new QHBox(topFrame);
500 KPrefsDialogWidTime *dayBegins = 500 KPrefsDialogWidTime *dayBegins =
501 addWidTime(i18n("Day begins at:"),&(KOPrefs::instance()->mDayBegins), 501 addWidTime(i18n("Day begins at:"),&(KOPrefs::instance()->mDayBegins),
502 dummy); 502 dummy);
503 //topLayout->addWidget(dayBegins->label(),2,0); 503 //topLayout->addWidget(dayBegins->label(),2,0);
504 504
505 //topLayout->addWidget(dayBegins->spinBox(),2,1); 505 //topLayout->addWidget(dayBegins->spinBox(),2,1);
506 topLayout->addMultiCellWidget(dummy,0,0,0,1); 506 topLayout->addMultiCellWidget(dummy,0,0,0,1);
507 507
508 topLayout->addWidget(new QLabel(i18n("Default appointment time:"), 508 topLayout->addWidget(new QLabel(i18n("Default appointment time:"),
509 topFrame),1,0); 509 topFrame),1,0);
510 mStartTimeSpin = new QSpinBox(0,23,1,topFrame); 510 mStartTimeSpin = new QSpinBox(0,23,1,topFrame);
511 mStartTimeSpin->setSuffix(":00"); 511 mStartTimeSpin->setSuffix(":00");
512 topLayout->addWidget(mStartTimeSpin,1,1); 512 topLayout->addWidget(mStartTimeSpin,1,1);
513 513
514 topLayout->addWidget(new QLabel(i18n("Def. duration of new app.:"), 514 topLayout->addWidget(new QLabel(i18n("Def. duration of new app.:"),
515 topFrame),2,0); 515 topFrame),2,0);
516 mDefaultDurationSpin = new QSpinBox(0,23,1,topFrame); 516 mDefaultDurationSpin = new QSpinBox(0,23,1,topFrame);
517 mDefaultDurationSpin->setSuffix(":00"); 517 mDefaultDurationSpin->setSuffix(":00");
518 topLayout->addWidget(mDefaultDurationSpin,2,1); 518 topLayout->addWidget(mDefaultDurationSpin,2,1);
519 519
520 QStringList alarmList; 520 QStringList alarmList;
521 alarmList << i18n("1 minute") << i18n("5 minutes") << i18n("10 minutes") 521 alarmList << i18n("1 minute") << i18n("5 minutes") << i18n("10 minutes")
522 << i18n("15 minutes") << i18n("30 minutes")<< i18n("1 hour")<< i18n("3 hours") << i18n("24 hours") ; 522 << i18n("15 minutes") << i18n("30 minutes")<< i18n("1 hour")<< i18n("3 hours") << i18n("24 hours") ;
523 topLayout->addWidget(new QLabel(i18n("Default alarm time:"),topFrame), 523 topLayout->addWidget(new QLabel(i18n("Default alarm time:"),topFrame),
524 3,0); 524 3,0);
525 mAlarmTimeCombo = new QComboBox(topFrame); 525 mAlarmTimeCombo = new QComboBox(topFrame);
526 mAlarmTimeCombo->insertStringList(alarmList); 526 mAlarmTimeCombo->insertStringList(alarmList);
527 topLayout->addWidget(mAlarmTimeCombo,3,1); 527 topLayout->addWidget(mAlarmTimeCombo,3,1);
528 528
529 529
530 QGroupBox *workingHoursGroup = new QGroupBox(1,Horizontal, 530 QGroupBox *workingHoursGroup = new QGroupBox(1,Horizontal,
531 i18n("Working Hours"), 531 i18n("Working Hours"),
532 topFrame); 532 topFrame);
533 topLayout->addMultiCellWidget(workingHoursGroup,4,4,0,1); 533 topLayout->addMultiCellWidget(workingHoursGroup,4,4,0,1);
534 workingHoursGroup->layout()->setSpacing( 0 ); 534 workingHoursGroup->layout()->setSpacing( 0 );
535 workingHoursGroup->layout()->setMargin( 4 ); 535 workingHoursGroup->layout()->setMargin( 4 );
536 QHBox *workStartBox = new QHBox(workingHoursGroup); 536 QHBox *workStartBox = new QHBox(workingHoursGroup);
537 // workStartBox->setMargin( 0 ); 537 // workStartBox->setMargin( 0 );
538 addWidTime(i18n("Daily starting hour:"), 538 addWidTime(i18n("Daily starting hour:"),
539 &(KOPrefs::instance()->mWorkingHoursStart),workStartBox); 539 &(KOPrefs::instance()->mWorkingHoursStart),workStartBox);
540 540
541 QHBox *workEndBox = new QHBox(workingHoursGroup); 541 QHBox *workEndBox = new QHBox(workingHoursGroup);
542 //workEndBox->setMargin( 0 ); 542 //workEndBox->setMargin( 0 );
543 addWidTime(i18n("Daily ending hour:"), 543 addWidTime(i18n("Daily ending hour:"),
544 &(KOPrefs::instance()->mWorkingHoursEnd),workEndBox); 544 &(KOPrefs::instance()->mWorkingHoursEnd),workEndBox);
545 QVBox *excludeBox = new QVBox(workingHoursGroup); 545 QVBox *excludeBox = new QVBox(workingHoursGroup);
546 //excludeBox->setMargin( 0 ); 546 //excludeBox->setMargin( 0 );
547 addWidBool(i18n("Exclude holidays"), 547 addWidBool(i18n("Exclude holidays"),
548 &(KOPrefs::instance()->mExcludeHolidays),excludeBox); 548 &(KOPrefs::instance()->mExcludeHolidays),excludeBox);
549 549
550 addWidBool(i18n("Exclude Saturdays"), 550 addWidBool(i18n("Exclude Saturdays"),
551 &(KOPrefs::instance()->mExcludeSaturdays),excludeBox); 551 &(KOPrefs::instance()->mExcludeSaturdays),excludeBox);
552 552
553// KPrefsDialogWidBool *marcusBainsShowSeconds = addWidBool(i18n("Show seconds on Marcus Bains line"), 553// KPrefsDialogWidBool *marcusBainsShowSeconds = addWidBool(i18n("Show seconds on Marcus Bains line"),
554 // &(KOPrefs::instance()->mMarcusBainsShowSeconds), 554 // &(KOPrefs::instance()->mMarcusBainsShowSeconds),
555 // topFrame); 555 // topFrame);
556// topLayout->addWidget(marcusBainsShowSeconds->checkBox(),5,0); 556// topLayout->addWidget(marcusBainsShowSeconds->checkBox(),5,0);
557 557
558 // topLayout->setRowStretch(6,1); 558 // topLayout->setRowStretch(6,1);
559} 559}
560 560
561 561
562void KOPrefsDialog::setupViewsTab() 562void KOPrefsDialog::setupViewsTab()
563{ 563{
564 564
565 QFrame *topFrame = addPage(i18n("Views"),0,0); 565 QFrame *topFrame = addPage(i18n("Views"),0,0);
566 // DesktopIcon("viewmag",KIcon::SizeMedium)); 566 // DesktopIcon("viewmag",KIcon::SizeMedium));
567 567
568 QGridLayout *topLayout = new QGridLayout(topFrame,6,1); 568 QGridLayout *topLayout = new QGridLayout(topFrame,6,1);
569 topLayout->setSpacing(mSpacingHint); 569 topLayout->setSpacing(mSpacingHint);
570 topLayout->setMargin(mMarginHint); 570 topLayout->setMargin(mMarginHint);
571 571
572// QBoxLayout *dayBeginsLayout = new QHBoxLayout; 572// QBoxLayout *dayBeginsLayout = new QHBoxLayout;
573// topLayout->addLayout(dayBeginsLayout,0,0); 573// topLayout->addLayout(dayBeginsLayout,0,0);
574 574
575// KPrefsDialogWidTime *dayBegins = 575// KPrefsDialogWidTime *dayBegins =
576// addWidTime(i18n("Day begins at:"),&(KOPrefs::instance()->mDayBegins), 576// addWidTime(i18n("Day begins at:"),&(KOPrefs::instance()->mDayBegins),
577// topFrame); 577// topFrame);
578// dayBeginsLayout->addWidget(dayBegins->label()); 578// dayBeginsLayout->addWidget(dayBegins->label());
579// dayBeginsLayout->addStretch(1); 579// dayBeginsLayout->addStretch(1);
580// dayBeginsLayout->addWidget(dayBegins->spinBox()); 580// dayBeginsLayout->addWidget(dayBegins->spinBox());
581 581
582// QBoxLayout *nextDaysLayout = new QHBoxLayout; 582// QBoxLayout *nextDaysLayout = new QHBoxLayout;
583// topLayout->addLayout(nextDaysLayout,1,0); 583// topLayout->addLayout(nextDaysLayout,1,0);
584// nextDaysLayout->addWidget(new QLabel(i18n("Days to show in Next-X-Days view:"),topFrame)); 584// nextDaysLayout->addWidget(new QLabel(i18n("Days to show in Next-X-Days view:"),topFrame));
585// mNextXDaysSpin = new QSpinBox(2,14,1,topFrame); 585// mNextXDaysSpin = new QSpinBox(2,14,1,topFrame);
586// nextDaysLayout->addStretch(1); 586// nextDaysLayout->addStretch(1);
587// nextDaysLayout->addWidget(mNextXDaysSpin); 587// nextDaysLayout->addWidget(mNextXDaysSpin);
588 588
589 589
590 int ii = 0; 590 int ii = 0;
591 KPrefsDialogWidBool *dummy = 591 KPrefsDialogWidBool *dummy =
592 addWidBool(i18n("Edit item on doubleclick (if not, show)"), 592 addWidBool(i18n("Edit item on doubleclick (if not, show)"),
593 &(KOPrefs::instance()->mEditOnDoubleClick),topFrame); 593 &(KOPrefs::instance()->mEditOnDoubleClick),topFrame);
594 topLayout->addWidget(dummy->checkBox(),ii++,0); 594 topLayout->addWidget(dummy->checkBox(),ii++,0);
595 595
596 596
597 597
598 598
599 599
600 600
601 // topLayout->addWidget(hourSizeGroup,ii++,0); 601 // topLayout->addWidget(hourSizeGroup,ii++,0);
602 // topLayout->addMultiCellWidget(hourSizeGroup,ii,ii,0,0); 602 // topLayout->addMultiCellWidget(hourSizeGroup,ii,ii,0,0);
603 //topLayout->setRowStretch(11,1); 603 //topLayout->setRowStretch(11,1);
604 604
605 605
606 606
607 607
608#if 0 608#if 0
609 609
610 topFrame = addPage(i18n("ViewChange"),0,0); 610 topFrame = addPage(i18n("ViewChange"),0,0);
611 // DesktopIcon("viewmag",KIcon::SizeMedium)); 611 // DesktopIcon("viewmag",KIcon::SizeMedium));
612 612
613 topLayout = new QGridLayout(topFrame,6,1); 613 topLayout = new QGridLayout(topFrame,6,1);
614 topLayout->setSpacing(mSpacingHint); 614 topLayout->setSpacing(mSpacingHint);
615 topLayout->setMargin(mMarginHint); 615 topLayout->setMargin(mMarginHint);
616 ii = 0; 616 ii = 0;
617 617
618#endif 618#endif
619 619
620 dummy = 620 dummy =
621 addWidBool(i18n("Hold fullscreen on view change"), 621 addWidBool(i18n("Hold fullscreen on view change"),
622 &(KOPrefs::instance()->mViewChangeHoldFullscreen),topFrame); 622 &(KOPrefs::instance()->mViewChangeHoldFullscreen),topFrame);
623 topLayout->addWidget(dummy->checkBox(),ii++,0); 623 topLayout->addWidget(dummy->checkBox(),ii++,0);
624 624
625 dummy = 625 dummy =
626 addWidBool(i18n("Hold non-fullscreen on view change"), 626 addWidBool(i18n("Hold non-fullscreen on view change"),
627 &(KOPrefs::instance()->mViewChangeHoldNonFullscreen),topFrame); 627 &(KOPrefs::instance()->mViewChangeHoldNonFullscreen),topFrame);
628 topLayout->addWidget(dummy->checkBox(),ii++,0); 628 topLayout->addWidget(dummy->checkBox(),ii++,0);
629 629
630 630
631 631
632 KPrefsDialogWidBool *fullViewMonth = 632 KPrefsDialogWidBool *fullViewMonth =
633 addWidBool(i18n("Next days view uses full window"), 633 addWidBool(i18n("Next days view uses full window"),
634 &(KOPrefs::instance()->mFullViewMonth),topFrame); 634 &(KOPrefs::instance()->mFullViewMonth),topFrame);
635 topLayout->addWidget(fullViewMonth->checkBox(),ii++,0); 635 topLayout->addWidget(fullViewMonth->checkBox(),ii++,0);
636 636
637 637
638 KPrefsDialogWidBool *fullViewTodo = 638 KPrefsDialogWidBool *fullViewTodo =
639 addWidBool(i18n("Event list view uses full window"), 639 addWidBool(i18n("Event list view uses full window"),
640 &(KOPrefs::instance()->mFullViewTodo),topFrame); 640 &(KOPrefs::instance()->mFullViewTodo),topFrame);
641 topLayout->addWidget(fullViewTodo->checkBox(),ii++,0); 641 topLayout->addWidget(fullViewTodo->checkBox(),ii++,0);
642 dummy = 642 dummy =
643 addWidBool(i18n("Listview uses monthly timespan"), 643 addWidBool(i18n("Listview uses monthly timespan"),
644 &(KOPrefs::instance()->mListViewMonthTimespan),topFrame); 644 &(KOPrefs::instance()->mListViewMonthTimespan),topFrame);
645 topLayout->addWidget(dummy->checkBox(),ii++,0); 645 topLayout->addWidget(dummy->checkBox(),ii++,0);
646 dummy = 646 dummy =
647 addWidBool(i18n("Highlight selection in Time Edit"), 647 addWidBool(i18n("Highlight selection in Time Edit"),
648 &(KOPrefs::instance()->mHightlightDateTimeEdit),topFrame); 648 &(KOPrefs::instance()->mHightlightDateTimeEdit),topFrame);
649 topLayout->addWidget( dummy->checkBox(), ii++,0); 649 topLayout->addWidget( dummy->checkBox(), ii++,0);
650 650
651 KPrefsDialogWidBool *dailyRecur = 651 KPrefsDialogWidBool *dailyRecur =
652 addWidBool(i18n("Show events that recur daily in date nav."), 652 addWidBool(i18n("Show events that recur daily in date nav."),
653 &(KOPrefs::instance()->mDailyRecur),topFrame); 653 &(KOPrefs::instance()->mDailyRecur),topFrame);
654 topLayout->addWidget(dailyRecur->checkBox(),ii++,0); 654 topLayout->addWidget(dailyRecur->checkBox(),ii++,0);
655 655
656 KPrefsDialogWidBool *weeklyRecur = 656 KPrefsDialogWidBool *weeklyRecur =
657 addWidBool(i18n("Show ev. that recur weekly in date nav."), 657 addWidBool(i18n("Show ev. that recur weekly in date nav."),
658 &(KOPrefs::instance()->mWeeklyRecur),topFrame); 658 &(KOPrefs::instance()->mWeeklyRecur),topFrame);
659 topLayout->addWidget(weeklyRecur->checkBox(),ii++,0); 659 topLayout->addWidget(weeklyRecur->checkBox(),ii++,0);
660 660
661#ifdef DESKTOP_VERSION 661#ifdef DESKTOP_VERSION
662 KPrefsDialogWidBool *enableToolTips = 662 KPrefsDialogWidBool *enableToolTips =
663 addWidBool(i18n("Enable tooltips displaying summary of ev."), 663 addWidBool(i18n("Enable tooltips displaying summary of ev."),
664 &(KOPrefs::instance()->mEnableToolTips),topFrame); 664 &(KOPrefs::instance()->mEnableToolTips),topFrame);
665 topLayout->addWidget(enableToolTips->checkBox(),ii++,0); 665 topLayout->addWidget(enableToolTips->checkBox(),ii++,0);
666#endif 666#endif
667 // ********************************************************* 667 // *********************************************************
668 668
669 topFrame = addPage(i18n("Agenda View"),0,0); 669 topFrame = addPage(i18n("Agenda View"),0,0);
670 // DesktopIcon("viewmag",KIcon::SizeMedium)); 670 // DesktopIcon("viewmag",KIcon::SizeMedium));
671 671
672 topLayout = new QGridLayout(topFrame,5,1); 672 topLayout = new QGridLayout(topFrame,5,1);
673 topLayout->setSpacing(mSpacingHint); 673 topLayout->setSpacing(mSpacingHint);
674 topLayout->setMargin(mMarginHint); 674 topLayout->setMargin(mMarginHint);
675 ii = 0; 675 ii = 0;
676 676
677 677
678 dummy = 678 dummy =
679 addWidBool(i18n("Show time in agenda items"), 679 addWidBool(i18n("Show time in agenda items"),
680 &(KOPrefs::instance()->mShowTimeInAgenda),topFrame); 680 &(KOPrefs::instance()->mShowTimeInAgenda),topFrame);
681 topLayout->addWidget(dummy->checkBox(),ii++,0); 681 topLayout->addWidget(dummy->checkBox(),ii++,0);
682 682
683 dummy = 683 dummy =
684 addWidBool(i18n("Highlight current day in agenda"), 684 addWidBool(i18n("Highlight current day in agenda"),
685 &(KOPrefs::instance()->mHighlightCurrentDay),topFrame); 685 &(KOPrefs::instance()->mHighlightCurrentDay),topFrame);
686 topLayout->addWidget(dummy->checkBox(),ii++,0); 686 topLayout->addWidget(dummy->checkBox(),ii++,0);
687 687
688 dummy = 688 dummy =
689 addWidBool(i18n("Use light color for highlight current day"), 689 addWidBool(i18n("Use light color for highlight current day"),
690 &(KOPrefs::instance()->mUseHighlightLightColor),topFrame); 690 &(KOPrefs::instance()->mUseHighlightLightColor),topFrame);
691 topLayout->addWidget(dummy->checkBox(),ii++,0); 691 topLayout->addWidget(dummy->checkBox(),ii++,0);
692 692
693 693
694 KPrefsDialogWidBool *marcusBainsEnabled = 694 KPrefsDialogWidBool *marcusBainsEnabled =
695 addWidBool(i18n("Show current time"), 695 addWidBool(i18n("Show current time"),
696 &(KOPrefs::instance()->mMarcusBainsEnabled),topFrame); 696 &(KOPrefs::instance()->mMarcusBainsEnabled),topFrame);
697 topLayout->addWidget(marcusBainsEnabled->checkBox(),ii++,0); 697 topLayout->addWidget(marcusBainsEnabled->checkBox(),ii++,0);
698 698
699 699
700 dummy = 700 dummy =
701 addWidBool(i18n("Set agenda to DayBeginsAt on change"), 701 addWidBool(i18n("Set agenda to DayBeginsAt on change"),
702 &(KOPrefs::instance()->mSetTimeToDayStartAt),topFrame); 702 &(KOPrefs::instance()->mSetTimeToDayStartAt),topFrame);
703 topLayout->addWidget(dummy->checkBox(),ii++,0); 703 topLayout->addWidget(dummy->checkBox(),ii++,0);
704 704
705 dummy = 705 dummy =
706 addWidBool(i18n("Set agenda to current time on change"), 706 addWidBool(i18n("Set agenda to current time on change"),
707 &(KOPrefs::instance()->mCenterOnCurrentTime),topFrame); 707 &(KOPrefs::instance()->mCenterOnCurrentTime),topFrame);
708 topLayout->addWidget(dummy->checkBox(),ii++,0); 708 topLayout->addWidget(dummy->checkBox(),ii++,0);
709 709
710 710
711 711
712 712
713 713
714 714
715 715
716 topFrame = addPage(i18n("Month View"),0,0); 716 topFrame = addPage(i18n("Month View"),0,0);
717 // DesktopIcon("viewmag",KIcon::SizeMedium)); 717 // DesktopIcon("viewmag",KIcon::SizeMedium));
718 718
719 topLayout = new QGridLayout(topFrame,5,1); 719 topLayout = new QGridLayout(topFrame,5,1);
720 topLayout->setSpacing(mSpacingHint); 720 topLayout->setSpacing(mSpacingHint);
721 topLayout->setMargin(mMarginHint); 721 topLayout->setMargin(mMarginHint);
722 qDebug("%d %d ",mSpacingHint, mMarginHint ); 722 qDebug("%d %d ",mSpacingHint, mMarginHint );
723 ii = 0; 723 ii = 0;
724 QLabel *lab; 724 QLabel *lab;
725 QHBox *habo = new QHBox( topFrame ); 725 QHBox *habo = new QHBox( topFrame );
726 if ( QApplication::desktop()->width() <= 480 ) { 726 if ( QApplication::desktop()->width() <= 480 ) {
727 lab = new QLabel ( i18n("Show events that recur "), topFrame ); 727 lab = new QLabel ( i18n("Show events that recur "), topFrame );
728 topLayout->addMultiCellWidget(lab,ii, ii,0,1); 728 topLayout->addMultiCellWidget(lab,ii, ii,0,1);
729 ii++; 729 ii++;
730 } else { 730 } else {
731 new QLabel ( i18n("Show events that recur "), habo ); 731 new QLabel ( i18n("Show events that recur "), habo );
732 } 732 }
733 dailyRecur = 733 dailyRecur =
734 addWidBool(i18n("daily"), 734 addWidBool(i18n("daily"),
735 &(KOPrefs::instance()->mMonthDailyRecur),habo); 735 &(KOPrefs::instance()->mMonthDailyRecur),habo);
736 // topLayout->addWidget(dailyRecur->checkBox(),ii++,0); 736 // topLayout->addWidget(dailyRecur->checkBox(),ii++,0);
737 737
738 weeklyRecur = 738 weeklyRecur =
739 addWidBool(i18n("weekly"), 739 addWidBool(i18n("weekly"),
740 &(KOPrefs::instance()->mMonthWeeklyRecur),habo); 740 &(KOPrefs::instance()->mMonthWeeklyRecur),habo);
741 topLayout->addMultiCellWidget(habo,ii, ii,0,1); 741 topLayout->addMultiCellWidget(habo,ii, ii,0,1);
742 ii++; 742 ii++;
743 743
744 744
745 habo = new QHBox( topFrame ); 745 habo = new QHBox( topFrame );
746 if ( QApplication::desktop()->width() <= 480 ) { 746 if ( QApplication::desktop()->width() <= 480 ) {
747 lab = new QLabel (i18n("Show in every cell ") , topFrame ); 747 lab = new QLabel (i18n("Show in every cell ") , topFrame );
748 topLayout->addMultiCellWidget(lab,ii, ii,0,1); 748 topLayout->addMultiCellWidget(lab,ii, ii,0,1);
749 ii++; 749 ii++;
750 750
751 } else { 751 } else {
752 new QLabel ( i18n("Show in every cell "), habo ); 752 new QLabel ( i18n("Show in every cell "), habo );
753 } 753 }
754 weeklyRecur = 754 weeklyRecur =
755 addWidBool(i18n("short month"), 755 addWidBool(i18n("short month"),
756 &(KOPrefs::instance()->mMonthShowShort),habo); 756 &(KOPrefs::instance()->mMonthShowShort),habo);
757 weeklyRecur = 757 weeklyRecur =
758 addWidBool(i18n("icons"), 758 addWidBool(i18n("icons"),
759 &(KOPrefs::instance()->mMonthShowIcons),habo); 759 &(KOPrefs::instance()->mMonthShowIcons),habo);
760 760
761 topLayout->addMultiCellWidget(habo,ii, ii,0,1); 761 topLayout->addMultiCellWidget(habo,ii, ii,0,1);
762 ii++; 762 ii++;
763#ifdef DESKTOP_VERSION 763#ifdef DESKTOP_VERSION
764 KPrefsDialogWidBool *enableMonthScroll = 764 KPrefsDialogWidBool *enableMonthScroll =
765 addWidBool(i18n("Enable scrollbars in month view cells"), 765 addWidBool(i18n("Enable scrollbars in month view cells"),
766 &(KOPrefs::instance()->mEnableMonthScroll),topFrame); 766 &(KOPrefs::instance()->mEnableMonthScroll),topFrame);
767 topLayout->addWidget(enableMonthScroll->checkBox(),ii++,0); 767 topLayout->addWidget(enableMonthScroll->checkBox(),ii++,0);
768#endif 768#endif
769 dummy = 769 dummy =
770 addWidBool(i18n("Week view mode uses bigger font"), 770 addWidBool(i18n("Week view mode uses bigger font"),
771 &(KOPrefs::instance()->mMonthViewUsesBigFont),topFrame); 771 &(KOPrefs::instance()->mMonthViewUsesBigFont),topFrame);
772 topLayout->addWidget(dummy->checkBox(),ii++,0); 772 topLayout->addWidget(dummy->checkBox(),ii++,0);
773 dummy = 773 dummy =
774 addWidBool(i18n("Show Sat/Sun together"), 774 addWidBool(i18n("Show Sat/Sun together"),
775 &(KOPrefs::instance()->mMonthViewSatSunTog),topFrame); 775 &(KOPrefs::instance()->mMonthViewSatSunTog),topFrame);
776 topLayout->addWidget(dummy->checkBox(),ii++,0); 776 topLayout->addWidget(dummy->checkBox(),ii++,0);
777 777
778 KPrefsDialogWidBool *coloredCategoriesInMonthView = 778 KPrefsDialogWidBool *coloredCategoriesInMonthView =
779 addWidBool(i18n("Month view uses category colors"), 779 addWidBool(i18n("Month view uses category colors"),
780 &(KOPrefs::instance()->mMonthViewUsesCategoryColor),topFrame); 780 &(KOPrefs::instance()->mMonthViewUsesCategoryColor),topFrame);
781 topLayout->addWidget(coloredCategoriesInMonthView->checkBox(),ii++,0); 781 topLayout->addWidget(coloredCategoriesInMonthView->checkBox(),ii++,0);
782 782
783 dummy = 783 dummy =
784 addWidBool(i18n("Categorie colors are applied to text"), 784 addWidBool(i18n("Categorie colors are applied to text"),
785 &(KOPrefs::instance()->mMonthViewUsesForegroundColor),topFrame); 785 &(KOPrefs::instance()->mMonthViewUsesForegroundColor),topFrame);
786 topLayout->addWidget(dummy->checkBox(),ii++,0); 786 topLayout->addWidget(dummy->checkBox(),ii++,0);
787 coloredCategoriesInMonthView = 787 coloredCategoriesInMonthView =
788 addWidBool(i18n("Month view uses day colors"), 788 addWidBool(i18n("Month view uses day colors"),
789 &(KOPrefs::instance()->mMonthViewUsesDayColors),topFrame); 789 &(KOPrefs::instance()->mMonthViewUsesDayColors),topFrame);
790 topLayout->addWidget(coloredCategoriesInMonthView->checkBox(),ii++,0); 790 topLayout->addWidget(coloredCategoriesInMonthView->checkBox(),ii++,0);
791 791
792 KPrefsDialogWidColor *holidayColor = 792 KPrefsDialogWidColor *holidayColor =
793 addWidColor(i18n("Day color odd months"), 793 addWidColor(i18n("Day color odd months"),
794 &(KOPrefs::instance()->mMonthViewOddColor),topFrame); 794 &(KOPrefs::instance()->mMonthViewOddColor),topFrame);
795 topLayout->addWidget(holidayColor->label(),ii,0); 795 topLayout->addWidget(holidayColor->label(),ii,0);
796 topLayout->addWidget(holidayColor->button(),ii++,1); 796 topLayout->addWidget(holidayColor->button(),ii++,1);
797 797
798 holidayColor = 798 holidayColor =
799 addWidColor(i18n("Day color even months"), 799 addWidColor(i18n("Day color even months"),
800 &(KOPrefs::instance()->mMonthViewEvenColor),topFrame); 800 &(KOPrefs::instance()->mMonthViewEvenColor),topFrame);
801 topLayout->addWidget(holidayColor->label(),ii,0); 801 topLayout->addWidget(holidayColor->label(),ii,0);
802 topLayout->addWidget(holidayColor->button(),ii++,1); 802 topLayout->addWidget(holidayColor->button(),ii++,1);
803 803
804 804
805 holidayColor = 805 holidayColor =
806 addWidColor(i18n("Color for Sundays + category \"Holiday\""), 806 addWidColor(i18n("Color for Sundays + category \"Holiday\""),
807 &(KOPrefs::instance()->mMonthViewHolidayColor),topFrame); 807 &(KOPrefs::instance()->mMonthViewHolidayColor),topFrame);
808 topLayout->addWidget(holidayColor->label(),ii,0); 808 topLayout->addWidget(holidayColor->label(),ii,0);
809 topLayout->addWidget(holidayColor->button(),ii++,1); 809 topLayout->addWidget(holidayColor->button(),ii++,1);
810 // *********************** What'sNext View 810 // *********************** What'sNext View
811 topFrame = addPage(i18n("What's Next View"),0,0); 811 topFrame = addPage(i18n("What's Next View"),0,0);
812 // DesktopIcon("viewmag",KIcon::SizeMedium)); 812 // DesktopIcon("viewmag",KIcon::SizeMedium));
813 813
814 topLayout = new QGridLayout(topFrame,4,1); 814 topLayout = new QGridLayout(topFrame,4,1);
815 topLayout->setSpacing(mSpacingHint); 815 topLayout->setSpacing(mSpacingHint);
816 topLayout->setMargin(mMarginHint); 816 topLayout->setMargin(mMarginHint);
817 ii = 0; 817 ii = 0;
818 818
819 819
820 QHBox* hdummy = new QHBox(topFrame); 820 QHBox* hdummy = new QHBox(topFrame);
821 new QLabel(i18n("Days in What's Next:"),hdummy); 821 new QLabel(i18n("Days in What's Next:"),hdummy);
822 mWhatsNextSpin = new QSpinBox(1,14,1,hdummy); 822 mWhatsNextSpin = new QSpinBox(1,14,1,hdummy);
823 823
824 topLayout->addWidget(hdummy,ii++,0); 824 topLayout->addWidget(hdummy,ii++,0);
825 825
826 QHBox *prioBox = new QHBox(topFrame); 826 QHBox *prioBox = new QHBox(topFrame);
827 // intervalBox->setSpacing(mSpacingHint); 827 // intervalBox->setSpacing(mSpacingHint);
828 topLayout->addWidget(prioBox,ii++,0); 828 topLayout->addWidget(prioBox,ii++,0);
829 QString messa = i18n("Show topmost todo prios in What's Next:"); 829
830 830 QLabel *prioLabel = new QLabel(i18n("Number of max.displayed todo prios:"), prioBox);
831 if ( QApplication::desktop()->width() < 300 )
832 messa = i18n("Show topmost todo prios in What's N.:");
833 QLabel *prioLabel = new QLabel(messa, prioBox);
834 mPrioSpin = new QSpinBox(0,5,1,prioBox); 831 mPrioSpin = new QSpinBox(0,5,1,prioBox);
835 if ( QApplication::desktop()->width() < 300 ) 832 if ( QApplication::desktop()->width() < 300 )
836 mPrioSpin->setFixedWidth( 40 ); 833 mPrioSpin->setFixedWidth( 40 );
837 834
838 KPrefsDialogWidBool *passwdk = 835 KPrefsDialogWidBool *passwdk =
839 836
840 addWidBool(i18n("Show events, that are done in \nWhat's Next view"), 837 addWidBool(i18n("Show events, that are done"),
841 &(KOPrefs::instance()->mWNViewShowsPast),topFrame); 838 &(KOPrefs::instance()->mWNViewShowsPast),topFrame);
842 topLayout->addWidget(passwdk->checkBox(), ii++,0); 839 topLayout->addWidget(passwdk->checkBox(), ii++,0);
843 passwdk = 840 passwdk =
844 addWidBool(i18n("Show parent To-Do's in What's Next view"), 841 addWidBool(i18n("Show parent To-Do's"),
845 &(KOPrefs::instance()->mWNViewShowsParents),topFrame); 842 &(KOPrefs::instance()->mWNViewShowsParents),topFrame);
846 topLayout->addWidget(passwdk->checkBox(), ii++,0); 843 topLayout->addWidget(passwdk->checkBox(), ii++,0);
847 844
848 passwdk = 845 passwdk =
849 addWidBool(i18n("Show location in What's Next view"), 846 addWidBool(i18n("Show location"),
850 &(KOPrefs::instance()->mWNViewShowLocation),topFrame); 847 &(KOPrefs::instance()->mWNViewShowLocation),topFrame);
851 topLayout->addWidget(passwdk->checkBox(), ii++,0); 848 topLayout->addWidget(passwdk->checkBox(), ii++,0);
852 849
853 passwdk = 850 passwdk =
854 addWidBool(i18n("Show Sync Events in \nWhat's Next/Agenda view"), 851 addWidBool(i18n("Show Sync Events in WN+Agenda"),
855 &(KOPrefs::instance()->mShowSyncEvents),topFrame); 852 &(KOPrefs::instance()->mShowSyncEvents),topFrame);
856 topLayout->addWidget(passwdk->checkBox(), ii++,0); 853 topLayout->addWidget(passwdk->checkBox(), ii++,0);
857 passwdk = 854 passwdk =
858 addWidBool(i18n("Use short date in \nWhat's Next/Event view"), 855 addWidBool(i18n("Use short date in WN+Event view"),
859 &(KOPrefs::instance()->mShortDateInViewer),topFrame); 856 &(KOPrefs::instance()->mShortDateInViewer),topFrame);
860 topLayout->addWidget(passwdk->checkBox(), ii++,0); 857 topLayout->addWidget(passwdk->checkBox(), ii++,0);
861 858
862 859
863 860
864 861
865 // *********************** Todo View 862 // *********************** Todo View
866 863
867 topFrame = addPage(i18n("Todo View"),0,0); 864 topFrame = addPage(i18n("Todo View"),0,0);
868 // DesktopIcon("viewmag",KIcon::SizeMedium)); 865 // DesktopIcon("viewmag",KIcon::SizeMedium));
869 866
870 topLayout = new QGridLayout(topFrame,4,1); 867 topLayout = new QGridLayout(topFrame,4,1);
871 topLayout->setSpacing(mSpacingHint); 868 topLayout->setSpacing(mSpacingHint);
872 topLayout->setMargin(mMarginHint); 869 topLayout->setMargin(mMarginHint);
873 ii = 0; 870 ii = 0;
874dummy = 871dummy =
875 addWidBool(i18n("Hide not running Todos in To-do view"), 872 addWidBool(i18n("Hide not running Todos in To-do view"),
876 &(KOPrefs::instance()->mHideNonStartedTodos),topFrame); 873 &(KOPrefs::instance()->mHideNonStartedTodos),topFrame);
877 topLayout->addWidget(dummy->checkBox(),ii++,0); 874 topLayout->addWidget(dummy->checkBox(),ii++,0);
878 875
879 876
880 KPrefsDialogWidBool *showCompletedTodo = 877 KPrefsDialogWidBool *showCompletedTodo =
881 addWidBool(i18n("To-do view shows completed Todos"), 878 addWidBool(i18n("To-do view shows completed Todos"),
882 &(KOPrefs::instance()->mShowCompletedTodo),topFrame); 879 &(KOPrefs::instance()->mShowCompletedTodo),topFrame);
883 topLayout->addWidget(showCompletedTodo->checkBox(),ii++,0); 880 topLayout->addWidget(showCompletedTodo->checkBox(),ii++,0);
884 dummy = 881 dummy =
885 addWidBool(i18n("To-do view shows complete as 'xx %'"), 882 addWidBool(i18n("To-do view shows complete as 'xx %'"),
886 &(KOPrefs::instance()->mTodoViewShowsPercentage),topFrame); 883 &(KOPrefs::instance()->mTodoViewShowsPercentage),topFrame);
887 topLayout->addWidget(dummy->checkBox(),ii++,0); 884 topLayout->addWidget(dummy->checkBox(),ii++,0);
888 885
889 dummy = 886 dummy =
890 addWidBool(i18n("Small To-do view uses smaller font"), 887 addWidBool(i18n("Small To-do view uses smaller font"),
891 &(KOPrefs::instance()->mTodoViewUsesSmallFont),topFrame); 888 &(KOPrefs::instance()->mTodoViewUsesSmallFont),topFrame);
892 topLayout->addWidget(dummy->checkBox(),ii++,0); 889 topLayout->addWidget(dummy->checkBox(),ii++,0);
893 890
894 891
895 892
896 dummy = 893 dummy =
897 addWidBool(i18n("Todo view uses category colors"), 894 addWidBool(i18n("Todo view uses category colors"),
898 &(KOPrefs::instance()->mTodoViewUsesCatColors),topFrame); 895 &(KOPrefs::instance()->mTodoViewUsesCatColors),topFrame);
899 topLayout->addWidget(dummy->checkBox(),ii++,0); 896 topLayout->addWidget(dummy->checkBox(),ii++,0);
900 897
901 898
902 QWidget* wid = new QWidget( topFrame ); 899 QWidget* wid = new QWidget( topFrame );
903 // Todo due today color 900 // Todo due today color
904 KPrefsDialogWidColor *todoDueTodayColor = 901 KPrefsDialogWidColor *todoDueTodayColor =
905 addWidColor(i18n("Todo due today color:"), 902 addWidColor(i18n("Todo due today color:"),
906 &(KOPrefs::instance()->mTodoDueTodayColor),wid); 903 &(KOPrefs::instance()->mTodoDueTodayColor),wid);
907 QHBoxLayout *widLayout = new QHBoxLayout(wid); 904 QHBoxLayout *widLayout = new QHBoxLayout(wid);
908 widLayout->addWidget( todoDueTodayColor->label() ); 905 widLayout->addWidget( todoDueTodayColor->label() );
909 widLayout->addWidget( todoDueTodayColor->button() ); 906 widLayout->addWidget( todoDueTodayColor->button() );
910 topLayout->addWidget(wid,ii++,0); 907 topLayout->addWidget(wid,ii++,0);
911 //topLayout->addWidget(todoDueTodayColor->button(),ii++,1); 908 //topLayout->addWidget(todoDueTodayColor->button(),ii++,1);
912 909
913 // Todo overdue color 910 // Todo overdue color
914 wid = new QWidget( topFrame ); 911 wid = new QWidget( topFrame );
915 widLayout = new QHBoxLayout(wid); 912 widLayout = new QHBoxLayout(wid);
916 KPrefsDialogWidColor *todoOverdueColor = 913 KPrefsDialogWidColor *todoOverdueColor =
917 addWidColor(i18n("Todo overdue color:"), 914 addWidColor(i18n("Todo overdue color:"),
918 &(KOPrefs::instance()->mTodoOverdueColor),wid); 915 &(KOPrefs::instance()->mTodoOverdueColor),wid);
919 widLayout->addWidget(todoOverdueColor->label()); 916 widLayout->addWidget(todoOverdueColor->label());
920 widLayout->addWidget(todoOverdueColor->button()); 917 widLayout->addWidget(todoOverdueColor->button());
921 topLayout->addWidget(wid,ii++,0); 918 topLayout->addWidget(wid,ii++,0);
922 919
923 dummy = 920 dummy =
924 addWidBool(i18n("Colors are applied to text"), 921 addWidBool(i18n("Colors are applied to text"),
925 &(KOPrefs::instance()->mTodoViewUsesForegroundColor),topFrame); 922 &(KOPrefs::instance()->mTodoViewUsesForegroundColor),topFrame);
926 topLayout->addWidget(dummy->checkBox(),ii++,0); 923 topLayout->addWidget(dummy->checkBox(),ii++,0);
927 924
928 dummy = 925 dummy =
929 addWidBool(i18n("Allday Agenda view shows todos"), 926 addWidBool(i18n("Allday Agenda view shows todos"),
930 &(KOPrefs::instance()->mShowTodoInAgenda),topFrame); 927 &(KOPrefs::instance()->mShowTodoInAgenda),topFrame);
931 topLayout->addWidget(dummy->checkBox(),ii++,0); 928 topLayout->addWidget(dummy->checkBox(),ii++,0);
932 929
933 930
934 topFrame = addPage(i18n("View Options"),0,0); 931 topFrame = addPage(i18n("View Options"),0,0);
935 932
936 topLayout = new QGridLayout(topFrame,4,1); 933 topLayout = new QGridLayout(topFrame,4,1);
937 topLayout->setSpacing(mSpacingHint); 934 topLayout->setSpacing(mSpacingHint);
938 topLayout->setMargin(mMarginHint); 935 topLayout->setMargin(mMarginHint);
939 ii = 0; 936 ii = 0;
940 lab = new QLabel( i18n("Show in todo/event viewer:"), topFrame); 937 lab = new QLabel( i18n("Show in todo/event viewer:"), topFrame);
941 topLayout->addWidget(lab ,ii++,0); 938 topLayout->addWidget(lab ,ii++,0);
942 939
943 dummy = addWidBool(i18n("Details"), 940 dummy = addWidBool(i18n("Details"),
944 &(KOPrefs::instance()->mEVshowDetails),topFrame); 941 &(KOPrefs::instance()->mEVshowDetails),topFrame);
945 topLayout->addWidget(dummy->checkBox(),ii++,0); 942 topLayout->addWidget(dummy->checkBox(),ii++,0);
946 dummy = addWidBool(i18n("Created time"), 943 dummy = addWidBool(i18n("Created time"),
947 &(KOPrefs::instance()->mEVshowCreated),topFrame); 944 &(KOPrefs::instance()->mEVshowCreated),topFrame);
948 topLayout->addWidget(dummy->checkBox(),ii++,0); 945 topLayout->addWidget(dummy->checkBox(),ii++,0);
949 dummy = addWidBool(i18n("Last modified time"), 946 dummy = addWidBool(i18n("Last modified time"),
950 &(KOPrefs::instance()->mEVshowChanged),topFrame); 947 &(KOPrefs::instance()->mEVshowChanged),topFrame);
951 topLayout->addWidget(dummy->checkBox(),ii++,0); 948 topLayout->addWidget(dummy->checkBox(),ii++,0);
952 949
953 950
954 lab = new QLabel( i18n("Show in What'sThis quick overview:"), topFrame); 951 lab = new QLabel( i18n("Show in What'sThis quick overview:"), topFrame);
955 topLayout->addWidget(lab ,ii++,0); 952 topLayout->addWidget(lab ,ii++,0);
956 953
957 dummy = addWidBool(i18n("Details"), 954 dummy = addWidBool(i18n("Details"),
958 &(KOPrefs::instance()->mWTshowDetails),topFrame); 955 &(KOPrefs::instance()->mWTshowDetails),topFrame);
959 topLayout->addWidget(dummy->checkBox(),ii++,0); 956 topLayout->addWidget(dummy->checkBox(),ii++,0);
960 dummy = addWidBool(i18n("Created time"), 957 dummy = addWidBool(i18n("Created time"),
961 &(KOPrefs::instance()->mWTshowCreated),topFrame); 958 &(KOPrefs::instance()->mWTshowCreated),topFrame);
962 topLayout->addWidget(dummy->checkBox(),ii++,0); 959 topLayout->addWidget(dummy->checkBox(),ii++,0);
963 dummy = addWidBool(i18n("Last modified time"), 960 dummy = addWidBool(i18n("Last modified time"),
964 &(KOPrefs::instance()->mWTshowChanged),topFrame); 961 &(KOPrefs::instance()->mWTshowChanged),topFrame);
965 topLayout->addWidget(dummy->checkBox(),ii++,0); 962 topLayout->addWidget(dummy->checkBox(),ii++,0);
966 963
967 964
968 topFrame = addPage(i18n("Alarm"),0,0); 965 topFrame = addPage(i18n("Alarm"),0,0);
969 // DesktopIcon("viewmag",KIcon::SizeMedium)); 966 // DesktopIcon("viewmag",KIcon::SizeMedium));
970 967
971 topLayout = new QGridLayout(topFrame,2,1); 968 topLayout = new QGridLayout(topFrame,2,1);
972 topLayout->setSpacing(mSpacingHint); 969 topLayout->setSpacing(mSpacingHint);
973 topLayout->setMargin(mMarginHint); 970 topLayout->setMargin(mMarginHint);
974 int iii = 0; 971 int iii = 0;
975 972
976 dummy = 973 dummy =
977 addWidBool(i18n("Use internal alarm notification"), 974 addWidBool(i18n("Use internal alarm notification"),
978 &(KOPrefs::instance()->mUseInternalAlarmNotification),topFrame); 975 &(KOPrefs::instance()->mUseInternalAlarmNotification),topFrame);
979 topLayout->addWidget(dummy->checkBox(),iii++,0); 976 topLayout->addWidget(dummy->checkBox(),iii++,0);
980 lab = new QLabel( i18n("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"), topFrame); 977 lab = new QLabel( i18n("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"), topFrame);
981 978
982 topLayout->addWidget(lab ,iii++,0); 979 topLayout->addWidget(lab ,iii++,0);
983#ifndef DESKTOP_VERSION 980#ifndef DESKTOP_VERSION
984 lab->setAlignment( AlignLeft|WordBreak|AlignTop); 981 lab->setAlignment( AlignLeft|WordBreak|AlignTop);
985#else 982#else
986 lab->setAlignment( AlignLeft|BreakAnywhere|WordBreak|AlignTop); 983 lab->setAlignment( AlignLeft|BreakAnywhere|WordBreak|AlignTop);
987 lab->setSizePolicy( QSizePolicy( QSizePolicy::Ignored , QSizePolicy::Ignored,true) ); 984 lab->setSizePolicy( QSizePolicy( QSizePolicy::Ignored , QSizePolicy::Ignored,true) );
988#endif 985#endif
989 986
990 QHBox* dummyBox = new QHBox(topFrame); 987 QHBox* dummyBox = new QHBox(topFrame);
991 new QLabel(i18n("Play beeps count:"),dummyBox); 988 new QLabel(i18n("Play beeps count:"),dummyBox);
992 mAlarmPlayBeeps = new QSpinBox(0,500,1,dummyBox); 989 mAlarmPlayBeeps = new QSpinBox(0,500,1,dummyBox);
993 topLayout->addWidget(dummyBox,iii++,0); 990 topLayout->addWidget(dummyBox,iii++,0);
994 991
995 dummyBox = new QHBox(topFrame); 992 dummyBox = new QHBox(topFrame);
996 new QLabel(i18n("Beeps interval in sec:"),dummyBox); 993 new QLabel(i18n("Beeps interval in sec:"),dummyBox);
997 mAlarmBeepInterval = new QSpinBox(1,600,1,dummyBox); 994 mAlarmBeepInterval = new QSpinBox(1,600,1,dummyBox);
998 topLayout->addWidget(dummyBox,iii++,0); 995 topLayout->addWidget(dummyBox,iii++,0);
999 996
1000 dummyBox = new QHBox(topFrame); 997 dummyBox = new QHBox(topFrame);
1001 new QLabel(i18n("Default suspend time in min:"),dummyBox); 998 new QLabel(i18n("Default suspend time in min:"),dummyBox);
1002 mAlarmSuspendTime = new QSpinBox(1,600,1,dummyBox); 999 mAlarmSuspendTime = new QSpinBox(1,600,1,dummyBox);
1003 topLayout->addWidget(dummyBox,iii++,0); 1000 topLayout->addWidget(dummyBox,iii++,0);
1004 1001
1005 dummyBox = new QHBox(topFrame); 1002 dummyBox = new QHBox(topFrame);
1006 new QLabel(i18n("Auto suspend count:"),dummyBox); 1003 new QLabel(i18n("Auto suspend count:"),dummyBox);
1007 mAlarmSuspendCount = new QSpinBox(0,60,1,dummyBox); 1004 mAlarmSuspendCount = new QSpinBox(0,60,1,dummyBox);
1008 topLayout->addWidget(dummyBox,iii++,0); 1005 topLayout->addWidget(dummyBox,iii++,0);
1009 1006
1010 1007
1011 1008
1012 1009
1013 1010
1014 1011
1015 1012
1016 QHBox* hbo = new QHBox ( topFrame ); 1013 QHBox* hbo = new QHBox ( topFrame );
1017 mDefaultAlarmFile = new QLineEdit(hbo); 1014 mDefaultAlarmFile = new QLineEdit(hbo);
1018 QPushButton * loadTemplate = new QPushButton(hbo); 1015 QPushButton * loadTemplate = new QPushButton(hbo);
1019 QPixmap icon; 1016 QPixmap icon;
1020 if ( QApplication::desktop()->width() < 321 ) 1017 if ( QApplication::desktop()->width() < 321 )
1021 icon = SmallIcon("fileimport16"); 1018 icon = SmallIcon("fileimport16");
1022 else 1019 else
1023 icon = SmallIcon("fileimport"); 1020 icon = SmallIcon("fileimport");
1024 loadTemplate->setIconSet (icon ) ; 1021 loadTemplate->setIconSet (icon ) ;
1025 connect( loadTemplate, SIGNAL( clicked() ), this , SLOT( selectSoundFile() ) ); 1022 connect( loadTemplate, SIGNAL( clicked() ), this , SLOT( selectSoundFile() ) );
1026 int size = loadTemplate->sizeHint().height(); 1023 int size = loadTemplate->sizeHint().height();
1027 loadTemplate->setFixedSize( size, size ); 1024 loadTemplate->setFixedSize( size, size );
1028 //lab = new QLabel( i18n("This setting is useless for 5500 user!"), topFrame); 1025 //lab = new QLabel( i18n("This setting is useless for 5500 user!"), topFrame);
1029 // topLayout->addWidget(lab ,iii++,0); 1026 // topLayout->addWidget(lab ,iii++,0);
1030 lab = new QLabel( i18n("Alarm *.wav file for newly created alarm:"), topFrame); 1027 lab = new QLabel( i18n("Alarm *.wav file for newly created alarm:"), topFrame);
1031 topLayout->addWidget(lab ,iii++,0); 1028 topLayout->addWidget(lab ,iii++,0);
1032 topLayout->addWidget(hbo,iii++,0); 1029 topLayout->addWidget(hbo,iii++,0);
1033 // lab = new QLabel( i18n("Note: This does not mean, that for every alarm this file is replayed. This file here is associated with a newly created alarm."), topFrame); 1030 // lab = new QLabel( i18n("Note: This does not mean, that for every alarm this file is replayed. This file here is associated with a newly created alarm."), topFrame);
1034 1031
1035// topLayout->addWidget(lab ,iii++,0); 1032// topLayout->addWidget(lab ,iii++,0);
1036// #ifndef DESKTOP_VERSION 1033// #ifndef DESKTOP_VERSION
1037// lab->setAlignment( AlignLeft|WordBreak|AlignTop); 1034// lab->setAlignment( AlignLeft|WordBreak|AlignTop);
1038// #else 1035// #else
1039// lab->setAlignment( AlignLeft|BreakAnywhere|WordBreak|AlignTop); 1036// lab->setAlignment( AlignLeft|BreakAnywhere|WordBreak|AlignTop);
1040// lab->setSizePolicy( QSizePolicy( QSizePolicy::Ignored , QSizePolicy::Ignored,true) ); 1037// lab->setSizePolicy( QSizePolicy( QSizePolicy::Ignored , QSizePolicy::Ignored,true) );
1041// #endif 1038// #endif
1042 1039
1043 1040
1044} 1041}
1045 1042
1046void KOPrefsDialog::selectSoundFile() 1043void KOPrefsDialog::selectSoundFile()
1047{ 1044{
1048 QString fileName = mDefaultAlarmFile->text(); 1045 QString fileName = mDefaultAlarmFile->text();
1049 fileName = KFileDialog::getSaveFileName( mDefaultAlarmFile->text() , "Choose default alarm file", this ); 1046 fileName = KFileDialog::getSaveFileName( mDefaultAlarmFile->text() , "Choose default alarm file", this );
1050 if ( fileName.length() > 0 ) 1047 if ( fileName.length() > 0 )
1051 mDefaultAlarmFile->setText( fileName ); 1048 mDefaultAlarmFile->setText( fileName );
1052} 1049}
1053void KOPrefsDialog::setupFontsTab() 1050void KOPrefsDialog::setupFontsTab()
1054{ 1051{
1055 1052
1056 QFrame *topFrame = addPage(i18n("Fonts"),0,0); 1053 QFrame *topFrame = addPage(i18n("Fonts"),0,0);
1057 // DesktopIcon("fonts",KIcon::SizeMedium)); 1054 // DesktopIcon("fonts",KIcon::SizeMedium));
1058 1055
1059 QGridLayout *topLayout = new QGridLayout(topFrame,7,3); 1056 QGridLayout *topLayout = new QGridLayout(topFrame,7,3);
1060 topLayout->setSpacing(1); 1057 topLayout->setSpacing(1);
1061 topLayout->setMargin(3); 1058 topLayout->setMargin(3);
1062 KPrefsDialogWidFont * tVFont; 1059 KPrefsDialogWidFont * tVFont;
1063 int i = 0; 1060 int i = 0;
1064 KPrefsDialogWidFont *timeLabelsFont = 1061 KPrefsDialogWidFont *timeLabelsFont =
1065 addWidFont(i18n("23"),i18n("DateNavigator:(nr)"), 1062 addWidFont(i18n("23"),i18n("DateNavigator:(nr)"),
1066 &(KOPrefs::instance()->mDateNavigatorFont),topFrame); 1063 &(KOPrefs::instance()->mDateNavigatorFont),topFrame);
1067 topLayout->addWidget(timeLabelsFont->label(),i,0); 1064 topLayout->addWidget(timeLabelsFont->label(),i,0);
1068 topLayout->addWidget(timeLabelsFont->preview(),i,1); 1065 topLayout->addWidget(timeLabelsFont->preview(),i,1);
1069 topLayout->addWidget(timeLabelsFont->button(),i,2); 1066 topLayout->addWidget(timeLabelsFont->button(),i,2);
1070 ++i; 1067 ++i;
1071 1068
1072 1069
1073 timeLabelsFont = 1070 timeLabelsFont =
1074 addWidFont(i18n("Mon 15"),i18n("Date Labels:"), 1071 addWidFont(i18n("Mon 15"),i18n("Date Labels:"),
1075 &(KOPrefs::instance()->mTimeLabelsFont),topFrame); 1072 &(KOPrefs::instance()->mTimeLabelsFont),topFrame);
1076 topLayout->addWidget(timeLabelsFont->label(),i,0); 1073 topLayout->addWidget(timeLabelsFont->label(),i,0);
1077 topLayout->addWidget(timeLabelsFont->preview(),i,1); 1074 topLayout->addWidget(timeLabelsFont->preview(),i,1);
1078 topLayout->addWidget(timeLabelsFont->button(),i,2); 1075 topLayout->addWidget(timeLabelsFont->button(),i,2);
1079 ++i; 1076 ++i;
1080 1077
1081 KPrefsDialogWidFont *timeBarFont = 1078 KPrefsDialogWidFont *timeBarFont =
1082 addWidFont(KGlobal::locale()->formatTime(QTime(12,34)),i18n("Time bar:"), 1079 addWidFont(KGlobal::locale()->formatTime(QTime(12,34)),i18n("Time bar:"),
1083 &(KOPrefs::instance()->mTimeBarFont),topFrame); 1080 &(KOPrefs::instance()->mTimeBarFont),topFrame);
1084 topLayout->addWidget(timeBarFont->label(),i,0); 1081 topLayout->addWidget(timeBarFont->label(),i,0);
1085 topLayout->addWidget(timeBarFont->preview(),i,1); 1082 topLayout->addWidget(timeBarFont->preview(),i,1);
1086 topLayout->addWidget(timeBarFont->button(),i,2); 1083 topLayout->addWidget(timeBarFont->button(),i,2);
1087 ++i; 1084 ++i;
1088 1085
1089 1086
1090 KPrefsDialogWidFont *marcusBainsFont = 1087 KPrefsDialogWidFont *marcusBainsFont =
1091 addWidFont(KGlobal::locale()->formatTime(QTime(12,34,23)),i18n("M. Bains line:"), 1088 addWidFont(KGlobal::locale()->formatTime(QTime(12,34,23)),i18n("M. Bains line:"),
1092 &(KOPrefs::instance()->mMarcusBainsFont),topFrame); 1089 &(KOPrefs::instance()->mMarcusBainsFont),topFrame);
1093 topLayout->addWidget(marcusBainsFont->label(),i,0); 1090 topLayout->addWidget(marcusBainsFont->label(),i,0);
1094 topLayout->addWidget(marcusBainsFont->preview(),i,1); 1091 topLayout->addWidget(marcusBainsFont->preview(),i,1);
1095 topLayout->addWidget(marcusBainsFont->button(),i,2); 1092 topLayout->addWidget(marcusBainsFont->button(),i,2);
1096 ++i; 1093 ++i;
1097 1094
1098 tVFont = 1095 tVFont =
1099 addWidFont(i18n("Summary"),i18n("Event Viewer:"), 1096 addWidFont(i18n("Summary"),i18n("Event Viewer:"),
1100 &(KOPrefs::instance()->mEventViewFont),topFrame); 1097 &(KOPrefs::instance()->mEventViewFont),topFrame);
1101 topLayout->addWidget(tVFont->label(),i,0); 1098 topLayout->addWidget(tVFont->label(),i,0);
1102 topLayout->addWidget(tVFont->preview(),i,1); 1099 topLayout->addWidget(tVFont->preview(),i,1);
1103 topLayout->addWidget(tVFont->button(),i,2); 1100 topLayout->addWidget(tVFont->button(),i,2);
1104 ++i; 1101 ++i;
1105 1102
1106 1103
1107 1104
1108 tVFont = 1105 tVFont =
1109 addWidFont(i18n("Details"),i18n("EditorBox:"), 1106 addWidFont(i18n("Details"),i18n("EditorBox:"),
1110 &(KOPrefs::instance()->mEditBoxFont),topFrame); 1107 &(KOPrefs::instance()->mEditBoxFont),topFrame);
1111 topLayout->addWidget(tVFont->label(),i,0); 1108 topLayout->addWidget(tVFont->label(),i,0);
1112 topLayout->addWidget(tVFont->preview(),i,1); 1109 topLayout->addWidget(tVFont->preview(),i,1);
1113 topLayout->addWidget(tVFont->button(),i,2); 1110 topLayout->addWidget(tVFont->button(),i,2);
1114 ++i; 1111 ++i;
1115 1112
1116 1113
1117 1114
1118 topLayout->setColStretch(1,1); 1115 topLayout->setColStretch(1,1);
1119 topLayout->setRowStretch(4,1); 1116 topLayout->setRowStretch(4,1);
1120 1117
1121 1118
1122 i = 0; 1119 i = 0;
1123 topFrame = addPage(i18n("View Fonts"),0, 1120 topFrame = addPage(i18n("View Fonts"),0,
1124 DesktopIcon("fonts",KIcon::SizeMedium)); 1121 DesktopIcon("fonts",KIcon::SizeMedium));
1125 1122
1126 topLayout = new QGridLayout(topFrame,7,3); 1123 topLayout = new QGridLayout(topFrame,7,3);
1127 topLayout->setSpacing(1); 1124 topLayout->setSpacing(1);
1128 topLayout->setMargin(3); 1125 topLayout->setMargin(3);
1129 1126
1130 tVFont = 1127 tVFont =
1131 addWidFont(i18n("Configure KO"),i18n("What's Next View:"), 1128 addWidFont(i18n("Configure KO"),i18n("What's Next View:"),
1132 &(KOPrefs::instance()->mWhatsNextFont),topFrame); 1129 &(KOPrefs::instance()->mWhatsNextFont),topFrame);
1133 topLayout->addWidget(tVFont->label(),i,0); 1130 topLayout->addWidget(tVFont->label(),i,0);
1134 topLayout->addWidget(tVFont->preview(),i,1); 1131 topLayout->addWidget(tVFont->preview(),i,1);
1135 topLayout->addWidget(tVFont->button(),i,2); 1132 topLayout->addWidget(tVFont->button(),i,2);
1136 ++i; 1133 ++i;
1137 KPrefsDialogWidFont *agendaViewFont = 1134 KPrefsDialogWidFont *agendaViewFont =
1138 addWidFont(i18n("Event text"),i18n("Agenda view:"), 1135 addWidFont(i18n("Event text"),i18n("Agenda view:"),
1139 &(KOPrefs::instance()->mAgendaViewFont),topFrame); 1136 &(KOPrefs::instance()->mAgendaViewFont),topFrame);
1140 topLayout->addWidget(agendaViewFont->label(),i,0); 1137 topLayout->addWidget(agendaViewFont->label(),i,0);
1141 topLayout->addWidget(agendaViewFont->preview(),i,1); 1138 topLayout->addWidget(agendaViewFont->preview(),i,1);
1142 topLayout->addWidget(agendaViewFont->button(),i,2); 1139 topLayout->addWidget(agendaViewFont->button(),i,2);
1143 ++i; 1140 ++i;
1144 1141
1145 1142
1146 KPrefsDialogWidFont *monthViewFont = 1143 KPrefsDialogWidFont *monthViewFont =
1147 addWidFont(KGlobal::locale()->formatTime(QTime(12,34)) + " " + i18n("Event"), 1144 addWidFont(KGlobal::locale()->formatTime(QTime(12,34)) + " " + i18n("Event"),
1148 i18n("Month view:"),&(KOPrefs::instance()->mMonthViewFont),topFrame); 1145 i18n("Month view:"),&(KOPrefs::instance()->mMonthViewFont),topFrame);
1149 topLayout->addWidget(monthViewFont->label(),i,0); 1146 topLayout->addWidget(monthViewFont->label(),i,0);
1150 topLayout->addWidget(monthViewFont->preview(),i,1); 1147 topLayout->addWidget(monthViewFont->preview(),i,1);
1151 topLayout->addWidget(monthViewFont->button(),i,2); 1148 topLayout->addWidget(monthViewFont->button(),i,2);
1152 ++i; 1149 ++i;
1153 1150
1154 1151
1155 KPrefsDialogWidFont *lVFont = 1152 KPrefsDialogWidFont *lVFont =
1156 addWidFont(i18n("Event"),i18n("List View:"), 1153 addWidFont(i18n("Event"),i18n("List View:"),
1157 &(KOPrefs::instance()->mListViewFont),topFrame); 1154 &(KOPrefs::instance()->mListViewFont),topFrame);
1158 topLayout->addWidget(lVFont->label(),i,0); 1155 topLayout->addWidget(lVFont->label(),i,0);
1159 topLayout->addWidget(lVFont->preview(),i,1); 1156 topLayout->addWidget(lVFont->preview(),i,1);
1160 topLayout->addWidget(lVFont->button(),i,2); 1157 topLayout->addWidget(lVFont->button(),i,2);
1161 ++i; 1158 ++i;
1162 1159
1163 1160
1164 tVFont = 1161 tVFont =
1165 addWidFont(i18n("ToDo"),i18n("ToDoView:"), 1162 addWidFont(i18n("ToDo"),i18n("ToDoView:"),
1166 &(KOPrefs::instance()->mTodoViewFont),topFrame); 1163 &(KOPrefs::instance()->mTodoViewFont),topFrame);
1167 topLayout->addWidget(tVFont->label(),i,0); 1164 topLayout->addWidget(tVFont->label(),i,0);
1168 topLayout->addWidget(tVFont->preview(),i,1); 1165 topLayout->addWidget(tVFont->preview(),i,1);
1169 topLayout->addWidget(tVFont->button(),i,2); 1166 topLayout->addWidget(tVFont->button(),i,2);
1170 ++i; 1167 ++i;
1171 1168
1172 1169
1173 tVFont = 1170 tVFont =
1174 addWidFont(i18n("Today"),i18n("JournalView:"), 1171 addWidFont(i18n("Today"),i18n("JournalView:"),
1175 &(KOPrefs::instance()->mJornalViewFont),topFrame); 1172 &(KOPrefs::instance()->mJornalViewFont),topFrame);
1176 topLayout->addWidget(tVFont->label(),i,0); 1173 topLayout->addWidget(tVFont->label(),i,0);
1177 topLayout->addWidget(tVFont->preview(),i,1); 1174 topLayout->addWidget(tVFont->preview(),i,1);
1178 topLayout->addWidget(tVFont->button(),i,2); 1175 topLayout->addWidget(tVFont->button(),i,2);
1179 ++i; 1176 ++i;
1180 1177
1181 1178
1182 1179
1183 1180
1184 topLayout->setColStretch(1,1); 1181 topLayout->setColStretch(1,1);
1185 topLayout->setRowStretch(4,1); 1182 topLayout->setRowStretch(4,1);
1186 1183
1187 1184
1188 1185
1189 1186
1190} 1187}
1191 1188
1192void KOPrefsDialog::setupColorsTab() 1189void KOPrefsDialog::setupColorsTab()
1193{ 1190{
1194 QFrame *topFrame = addPage(i18n("Colors"),0,0); 1191 QFrame *topFrame = addPage(i18n("Colors"),0,0);
1195 // DesktopIcon("colorize",KIcon::SizeMedium)); 1192 // DesktopIcon("colorize",KIcon::SizeMedium));
1196 1193
1197 QGridLayout *topLayout = new QGridLayout(topFrame,5,2); 1194 QGridLayout *topLayout = new QGridLayout(topFrame,5,2);
1198 // topLayout->setSpacing(mSpacingHint); 1195 // topLayout->setSpacing(mSpacingHint);
1199 // topLayout->setMargin(mMarginHint); 1196 // topLayout->setMargin(mMarginHint);
1200 1197
1201 topLayout->setSpacing(2); 1198 topLayout->setSpacing(2);
1202 topLayout->setMargin(3); 1199 topLayout->setMargin(3);
1203 1200
1204 int ii = 1; 1201 int ii = 1;
1205 QGroupBox *categoryGroup ; 1202 QGroupBox *categoryGroup ;
1206 1203
1207 categoryGroup = new QGroupBox(1,Vertical,i18n("Categories"), 1204 categoryGroup = new QGroupBox(1,Vertical,i18n("Categories"),
1208 topFrame); 1205 topFrame);
1209 topLayout->addMultiCellWidget(categoryGroup,0,0,0,1); 1206 topLayout->addMultiCellWidget(categoryGroup,0,0,0,1);
1210 1207
1211 mCategoryCombo = new QComboBox(categoryGroup); 1208 mCategoryCombo = new QComboBox(categoryGroup);
1212 mCategoryCombo->insertStringList(KOPrefs::instance()->mCustomCategories); 1209 mCategoryCombo->insertStringList(KOPrefs::instance()->mCustomCategories);
1213 connect(mCategoryCombo,SIGNAL(activated(int)),SLOT(updateCategoryColor())); 1210 connect(mCategoryCombo,SIGNAL(activated(int)),SLOT(updateCategoryColor()));
1214 1211
1215 mCategoryButton = new KColorButton(categoryGroup); 1212 mCategoryButton = new KColorButton(categoryGroup);
1216 connect(mCategoryButton,SIGNAL(changed(const QColor &)),SLOT(setCategoryColor())); 1213 connect(mCategoryButton,SIGNAL(changed(const QColor &)),SLOT(setCategoryColor()));
1217 updateCategoryColor(); 1214 updateCategoryColor();
1218 1215
1219 1216
1220 // Holiday Color 1217 // Holiday Color
1221 1218
1222 KPrefsDialogWidColor *holidayColor = 1219 KPrefsDialogWidColor *holidayColor =
1223 addWidColor(i18n("Holiday color:"), 1220 addWidColor(i18n("Holiday color:"),
1224 &(KOPrefs::instance()->mHolidayColor),topFrame); 1221 &(KOPrefs::instance()->mHolidayColor),topFrame);
1225 topLayout->addWidget(holidayColor->label(),ii,0); 1222 topLayout->addWidget(holidayColor->label(),ii,0);
1226 topLayout->addWidget(holidayColor->button(),ii++,1); 1223 topLayout->addWidget(holidayColor->button(),ii++,1);
1227 1224
1228 // Highlight Color 1225 // Highlight Color
1229 KPrefsDialogWidColor *highlightColor = 1226 KPrefsDialogWidColor *highlightColor =
1230 addWidColor(i18n("Highlight color:"), 1227 addWidColor(i18n("Highlight color:"),
1231 &(KOPrefs::instance()->mHighlightColor),topFrame); 1228 &(KOPrefs::instance()->mHighlightColor),topFrame);
1232 topLayout->addWidget(highlightColor->label(),ii,0); 1229 topLayout->addWidget(highlightColor->label(),ii,0);
1233 topLayout->addWidget(highlightColor->button(),ii++,1); 1230 topLayout->addWidget(highlightColor->button(),ii++,1);
1234 1231
1235 // Event color 1232 // Event color
1236 KPrefsDialogWidColor *eventColor = 1233 KPrefsDialogWidColor *eventColor =
1237 addWidColor(i18n("Default event color:"), 1234 addWidColor(i18n("Default event color:"),
1238 &(KOPrefs::instance()->mEventColor),topFrame); 1235 &(KOPrefs::instance()->mEventColor),topFrame);
1239 topLayout->addWidget(eventColor->label(),ii,0); 1236 topLayout->addWidget(eventColor->label(),ii,0);
1240 topLayout->addWidget(eventColor->button(),ii++,1); 1237 topLayout->addWidget(eventColor->button(),ii++,1);
1241 eventColor = 1238 eventColor =
1242 addWidColor(i18n("Default todo done color:"), 1239 addWidColor(i18n("Default todo done color:"),
1243 &(KOPrefs::instance()->mTodoDoneColor),topFrame); 1240 &(KOPrefs::instance()->mTodoDoneColor),topFrame);
1244 topLayout->addWidget(eventColor->label(),ii,0); 1241 topLayout->addWidget(eventColor->label(),ii,0);
1245 topLayout->addWidget(eventColor->button(),ii++,1); 1242 topLayout->addWidget(eventColor->button(),ii++,1);
1246 1243
1247 1244
1248 // agenda view background color 1245 // agenda view background color
1249 KPrefsDialogWidColor *agendaBgColor = 1246 KPrefsDialogWidColor *agendaBgColor =
1250 addWidColor(i18n("Agenda view background color:"), 1247 addWidColor(i18n("Agenda view background color:"),
1251 &(KOPrefs::instance()->mAgendaBgColor),topFrame); 1248 &(KOPrefs::instance()->mAgendaBgColor),topFrame);
1252 topLayout->addWidget(agendaBgColor->label(),ii,0); 1249 topLayout->addWidget(agendaBgColor->label(),ii,0);
1253 topLayout->addWidget(agendaBgColor->button(),ii++,1); 1250 topLayout->addWidget(agendaBgColor->button(),ii++,1);
1254 1251
1255 // working hours color 1252 // working hours color
1256 KPrefsDialogWidColor *workingHoursColor = 1253 KPrefsDialogWidColor *workingHoursColor =
1257 addWidColor(i18n("Working hours color:"), 1254 addWidColor(i18n("Working hours color:"),
1258 &(KOPrefs::instance()->mWorkingHoursColor),topFrame); 1255 &(KOPrefs::instance()->mWorkingHoursColor),topFrame);
1259 topLayout->addWidget(workingHoursColor->label(),ii,0); 1256 topLayout->addWidget(workingHoursColor->label(),ii,0);
1260 topLayout->addWidget(workingHoursColor->button(),ii++,1); 1257 topLayout->addWidget(workingHoursColor->button(),ii++,1);
1261 1258
1262 KPrefsDialogWidBool *sb = 1259 KPrefsDialogWidBool *sb =
1263 addWidBool(i18n("Use colors for application:"), 1260 addWidBool(i18n("Use colors for application:"),
1264 &(KOPrefs::instance()->mUseAppColors),topFrame); 1261 &(KOPrefs::instance()->mUseAppColors),topFrame);
1265 topLayout->addMultiCellWidget(sb->checkBox(), ii, ii, 0,1 ); 1262 topLayout->addMultiCellWidget(sb->checkBox(), ii, ii, 0,1 );
1266 1263
1267 ii++; 1264 ii++;
1268 KPrefsDialogWidColor * workingHoursColor1 = 1265 KPrefsDialogWidColor * workingHoursColor1 =
1269 addWidColor(i18n("Buttons, menus, etc.:"), 1266 addWidColor(i18n("Buttons, menus, etc.:"),
1270 &(KOPrefs::instance()->mAppColor1),topFrame); 1267 &(KOPrefs::instance()->mAppColor1),topFrame);
1271 topLayout->addWidget(workingHoursColor1->label(),ii,0); 1268 topLayout->addWidget(workingHoursColor1->label(),ii,0);
1272 topLayout->addWidget(workingHoursColor1->button(),ii++,1); 1269 topLayout->addWidget(workingHoursColor1->button(),ii++,1);
1273 1270
1274 KPrefsDialogWidColor * workingHoursColor2 = 1271 KPrefsDialogWidColor * workingHoursColor2 =
1275 addWidColor(i18n("Frames, labels, etc.:"), 1272 addWidColor(i18n("Frames, labels, etc.:"),
1276 &(KOPrefs::instance()->mAppColor2),topFrame); 1273 &(KOPrefs::instance()->mAppColor2),topFrame);
1277 topLayout->addWidget(workingHoursColor2->label(),ii,0); 1274 topLayout->addWidget(workingHoursColor2->label(),ii,0);
1278 topLayout->addWidget(workingHoursColor2->button(),ii++,1); 1275 topLayout->addWidget(workingHoursColor2->button(),ii++,1);
1279 1276
1280 1277
1281 1278
1282} 1279}
1283 1280
1284void KOPrefsDialog::setCategoryColor() 1281void KOPrefsDialog::setCategoryColor()
1285{ 1282{
1286 mCategoryDict.replace(mCategoryCombo->currentText(), new QColor(mCategoryButton->color())); 1283 mCategoryDict.replace(mCategoryCombo->currentText(), new QColor(mCategoryButton->color()));
1287} 1284}
1288 1285
1289void KOPrefsDialog::updateCategoryColor() 1286void KOPrefsDialog::updateCategoryColor()
1290{ 1287{
1291 QString cat = mCategoryCombo->currentText(); 1288 QString cat = mCategoryCombo->currentText();
1292 QColor *color = mCategoryDict.find(cat); 1289 QColor *color = mCategoryDict.find(cat);
1293 if (!color) { 1290 if (!color) {
1294 color = KOPrefs::instance()->categoryColor(cat); 1291 color = KOPrefs::instance()->categoryColor(cat);
1295 } 1292 }
1296 if (color) { 1293 if (color) {
1297 mCategoryButton->setColor(*color); 1294 mCategoryButton->setColor(*color);
1298 } 1295 }
1299} 1296}
1300 1297
1301void KOPrefsDialog::setupPrinterTab() 1298void KOPrefsDialog::setupPrinterTab()
1302{ 1299{
1303 mPrinterTab = addPage(i18n("Printing"),0, 1300 mPrinterTab = addPage(i18n("Printing"),0,
1304 DesktopIcon("fileprint",KIcon::SizeMedium)); 1301 DesktopIcon("fileprint",KIcon::SizeMedium));
1305 1302
1306 QGridLayout *topLayout = new QGridLayout(mPrinterTab,5,2); 1303 QGridLayout *topLayout = new QGridLayout(mPrinterTab,5,2);
1307 topLayout->setSpacing(mSpacingHint); 1304 topLayout->setSpacing(mSpacingHint);
1308 topLayout->setMargin(mMarginHint); 1305 topLayout->setMargin(mMarginHint);
1309 1306
1310 topLayout->setRowStretch(4,1); 1307 topLayout->setRowStretch(4,1);
1311} 1308}
1312 1309
1313void KOPrefsDialog::setupGroupSchedulingTab() 1310void KOPrefsDialog::setupGroupSchedulingTab()
1314{ 1311{
1315#if 0 1312#if 0
1316 QFrame *topFrame = addPage(i18n("Group Scheduling"),0, 1313 QFrame *topFrame = addPage(i18n("Group Scheduling"),0,
1317 DesktopIcon("personal",KIcon::SizeMedium)); 1314 DesktopIcon("personal",KIcon::SizeMedium));
1318 1315
1319 QGridLayout *topLayout = new QGridLayout(topFrame,6,2); 1316 QGridLayout *topLayout = new QGridLayout(topFrame,6,2);
1320 topLayout->setSpacing(mSpacingHint); 1317 topLayout->setSpacing(mSpacingHint);
1321 topLayout->setMargin(mMarginHint); 1318 topLayout->setMargin(mMarginHint);
1322 1319
1323#if 0 1320#if 0
1324 KPrefsDialogWidRadios *schedulerGroup = 1321 KPrefsDialogWidRadios *schedulerGroup =
1325 addWidRadios(i18n("Scheduler Mail Client"),&(KOPrefs::instance()->mIMIPScheduler), 1322 addWidRadios(i18n("Scheduler Mail Client"),&(KOPrefs::instance()->mIMIPScheduler),
1326 topFrame); 1323 topFrame);
1327 schedulerGroup->addRadio("Dummy"); // Only for debugging 1324 schedulerGroup->addRadio("Dummy"); // Only for debugging
1328 schedulerGroup->addRadio(i18n("Mail client")); 1325 schedulerGroup->addRadio(i18n("Mail client"));
1329 1326
1330 topLayout->addMultiCellWidget(schedulerGroup->groupBox(),0,0,0,1); 1327 topLayout->addMultiCellWidget(schedulerGroup->groupBox(),0,0,0,1);
1331#endif 1328#endif
1332 1329
1333 KPrefsDialogWidRadios *sendGroup = 1330 KPrefsDialogWidRadios *sendGroup =
1334 addWidRadios(i18n("Scheduler Mails Should Be"),&(KOPrefs::instance()->mIMIPSend), 1331 addWidRadios(i18n("Scheduler Mails Should Be"),&(KOPrefs::instance()->mIMIPSend),
1335 topFrame); 1332 topFrame);
1336 sendGroup->addRadio(i18n("Send to outbox")); 1333 sendGroup->addRadio(i18n("Send to outbox"));
1337 sendGroup->addRadio(i18n("Send directly")); 1334 sendGroup->addRadio(i18n("Send directly"));
1338 1335
1339 topLayout->addMultiCellWidget(sendGroup->groupBox(),1,1,0,1); 1336 topLayout->addMultiCellWidget(sendGroup->groupBox(),1,1,0,1);
1340 1337
1341 topLayout->addMultiCellWidget(new QLabel(i18n("Additional email addresses:"),topFrame),2,2,0,1); 1338 topLayout->addMultiCellWidget(new QLabel(i18n("Additional email addresses:"),topFrame),2,2,0,1);
1342 mAMails = new QListView(topFrame); 1339 mAMails = new QListView(topFrame);
1343 mAMails->addColumn(i18n("Email"),300); 1340 mAMails->addColumn(i18n("Email"),300);
1344 topLayout->addMultiCellWidget(mAMails,3,3,0,1); 1341 topLayout->addMultiCellWidget(mAMails,3,3,0,1);
1345 1342
1346 topLayout->addWidget(new QLabel(i18n("Additional email address:"),topFrame),4,0); 1343 topLayout->addWidget(new QLabel(i18n("Additional email address:"),topFrame),4,0);
1347 aEmailsEdit = new QLineEdit(topFrame); 1344 aEmailsEdit = new QLineEdit(topFrame);
1348 aEmailsEdit->setEnabled(false); 1345 aEmailsEdit->setEnabled(false);
1349 topLayout->addWidget(aEmailsEdit,4,1); 1346 topLayout->addWidget(aEmailsEdit,4,1);
1350 1347
1351 QPushButton *add = new QPushButton(i18n("New"),topFrame,"new"); 1348 QPushButton *add = new QPushButton(i18n("New"),topFrame,"new");
1352 topLayout->addWidget(add,5,0); 1349 topLayout->addWidget(add,5,0);
1353 QPushButton *del = new QPushButton(i18n("Remove"),topFrame,"remove"); 1350 QPushButton *del = new QPushButton(i18n("Remove"),topFrame,"remove");
1354 topLayout->addWidget(del,5,1); 1351 topLayout->addWidget(del,5,1);
1355 1352
1356 //topLayout->setRowStretch(2,1); 1353 //topLayout->setRowStretch(2,1);
1357 connect(add, SIGNAL( clicked() ), this, SLOT(addItem()) ); 1354 connect(add, SIGNAL( clicked() ), this, SLOT(addItem()) );
1358 connect(del, SIGNAL( clicked() ), this, SLOT(removeItem()) ); 1355 connect(del, SIGNAL( clicked() ), this, SLOT(removeItem()) );
1359 connect(aEmailsEdit,SIGNAL( textChanged(const QString&) ), this,SLOT(updateItem())); 1356 connect(aEmailsEdit,SIGNAL( textChanged(const QString&) ), this,SLOT(updateItem()));
1360 connect(mAMails,SIGNAL(selectionChanged(QListViewItem *)),SLOT(updateInput())); 1357 connect(mAMails,SIGNAL(selectionChanged(QListViewItem *)),SLOT(updateInput()));
1361#endif 1358#endif
1362} 1359}
1363 1360
1364void KOPrefsDialog::setupGroupAutomationTab() 1361void KOPrefsDialog::setupGroupAutomationTab()
1365{ 1362{
1366 return; 1363 return;
1367 QFrame *topFrame = addPage(i18n("Group Automation"),0, 1364 QFrame *topFrame = addPage(i18n("Group Automation"),0,
1368 DesktopIcon("personal",KIcon::SizeMedium)); 1365 DesktopIcon("personal",KIcon::SizeMedium));
1369 1366
1370 QGridLayout *topLayout = new QGridLayout(topFrame,5,1); 1367 QGridLayout *topLayout = new QGridLayout(topFrame,5,1);
1371 topLayout->setSpacing(mSpacingHint); 1368 topLayout->setSpacing(mSpacingHint);
1372 topLayout->setMargin(mMarginHint); 1369 topLayout->setMargin(mMarginHint);
1373 1370
1374 KPrefsDialogWidRadios *autoRefreshGroup = 1371 KPrefsDialogWidRadios *autoRefreshGroup =
1375 addWidRadios(i18n("Auto Send Refresh"), 1372 addWidRadios(i18n("Auto Send Refresh"),
1376 &(KOPrefs::instance()->mIMIPAutoRefresh),topFrame); 1373 &(KOPrefs::instance()->mIMIPAutoRefresh),topFrame);
1377 autoRefreshGroup->addRadio(i18n("Never")); 1374 autoRefreshGroup->addRadio(i18n("Never"));
1378 autoRefreshGroup->addRadio(i18n("If attendee is in addressbook")); 1375 autoRefreshGroup->addRadio(i18n("If attendee is in addressbook"));
1379 //autoRefreshGroup->addRadio(i18n("selected emails")); 1376 //autoRefreshGroup->addRadio(i18n("selected emails"));
1380 topLayout->addMultiCellWidget(autoRefreshGroup->groupBox(),0,0,0,0); 1377 topLayout->addMultiCellWidget(autoRefreshGroup->groupBox(),0,0,0,0);
1381 1378
1382 KPrefsDialogWidRadios *autoInsertGroup = 1379 KPrefsDialogWidRadios *autoInsertGroup =
1383 addWidRadios(i18n("Auto Insert IMIP Replies"), 1380 addWidRadios(i18n("Auto Insert IMIP Replies"),
1384 &(KOPrefs::instance()->mIMIPAutoInsertReply),topFrame); 1381 &(KOPrefs::instance()->mIMIPAutoInsertReply),topFrame);
1385 autoInsertGroup->addRadio(i18n("Never")); 1382 autoInsertGroup->addRadio(i18n("Never"));
1386 autoInsertGroup->addRadio(i18n("If attendee is in addressbook")); 1383 autoInsertGroup->addRadio(i18n("If attendee is in addressbook"));
1387 //autoInsertGroup->addRadio(i18n("selected emails")); 1384 //autoInsertGroup->addRadio(i18n("selected emails"));
1388 topLayout->addMultiCellWidget(autoInsertGroup->groupBox(),1,1,0,0); 1385 topLayout->addMultiCellWidget(autoInsertGroup->groupBox(),1,1,0,0);
1389 1386
1390 KPrefsDialogWidRadios *autoRequestGroup = 1387 KPrefsDialogWidRadios *autoRequestGroup =
1391 addWidRadios(i18n("Auto Insert IMIP Requests"), 1388 addWidRadios(i18n("Auto Insert IMIP Requests"),
1392 &(KOPrefs::instance()->mIMIPAutoInsertRequest),topFrame); 1389 &(KOPrefs::instance()->mIMIPAutoInsertRequest),topFrame);
1393 autoRequestGroup->addRadio(i18n("Never")); 1390 autoRequestGroup->addRadio(i18n("Never"));
1394 autoRequestGroup->addRadio(i18n("If organizer is in addressbook")); 1391 autoRequestGroup->addRadio(i18n("If organizer is in addressbook"));
1395 //autoInsertGroup->addRadio(i18n("selected emails")); 1392 //autoInsertGroup->addRadio(i18n("selected emails"));
1396 topLayout->addMultiCellWidget(autoRequestGroup->groupBox(),2,2,0,0); 1393 topLayout->addMultiCellWidget(autoRequestGroup->groupBox(),2,2,0,0);
1397 1394
1398 KPrefsDialogWidRadios *autoFreeBusyGroup = 1395 KPrefsDialogWidRadios *autoFreeBusyGroup =
1399 addWidRadios(i18n("Auto Send FreeBusy Information"), 1396 addWidRadios(i18n("Auto Send FreeBusy Information"),
1400 &(KOPrefs::instance()->mIMIPAutoFreeBusy),topFrame); 1397 &(KOPrefs::instance()->mIMIPAutoFreeBusy),topFrame);
1401 autoFreeBusyGroup->addRadio(i18n("Never")); 1398 autoFreeBusyGroup->addRadio(i18n("Never"));
1402 autoFreeBusyGroup->addRadio(i18n("If requested from an email in addressbook")); 1399 autoFreeBusyGroup->addRadio(i18n("If requested from an email in addressbook"));
1403 //autoFreeBusyGroup->addRadio(i18n("selected emails")); 1400 //autoFreeBusyGroup->addRadio(i18n("selected emails"));
1404 topLayout->addMultiCellWidget(autoFreeBusyGroup->groupBox(),3,3,0,0); 1401 topLayout->addMultiCellWidget(autoFreeBusyGroup->groupBox(),3,3,0,0);
1405 1402
1406 KPrefsDialogWidRadios *autoFreeBusyReplyGroup = 1403 KPrefsDialogWidRadios *autoFreeBusyReplyGroup =
1407 addWidRadios(i18n("Auto Save FreeBusy Replies"), 1404 addWidRadios(i18n("Auto Save FreeBusy Replies"),
1408 &(KOPrefs::instance()->mIMIPAutoFreeBusyReply),topFrame); 1405 &(KOPrefs::instance()->mIMIPAutoFreeBusyReply),topFrame);
1409 autoFreeBusyReplyGroup->addRadio(i18n("Never")); 1406 autoFreeBusyReplyGroup->addRadio(i18n("Never"));
1410 autoFreeBusyReplyGroup->addRadio(i18n("If attendee is in addressbook")); 1407 autoFreeBusyReplyGroup->addRadio(i18n("If attendee is in addressbook"));
1411 //autoFreeBusyGroup->addRadio(i18n("selected emails")); 1408 //autoFreeBusyGroup->addRadio(i18n("selected emails"));
1412 topLayout->addMultiCellWidget(autoFreeBusyReplyGroup->groupBox(),4,4,0,0); 1409 topLayout->addMultiCellWidget(autoFreeBusyReplyGroup->groupBox(),4,4,0,0);
1413} 1410}
1414 1411
1415void KOPrefsDialog::showPrinterTab() 1412void KOPrefsDialog::showPrinterTab()
1416{ 1413{
1417 showPage(pageIndex(mPrinterTab)); 1414 showPage(pageIndex(mPrinterTab));
1418} 1415}
1419 1416
1420 1417
1421void KOPrefsDialog::setCombo(QComboBox *combo, const QString & text, 1418void KOPrefsDialog::setCombo(QComboBox *combo, const QString & text,
1422 const QStringList *tags) 1419 const QStringList *tags)
1423{ 1420{
1424 if (tags) { 1421 if (tags) {
1425 int i = tags->findIndex(text); 1422 int i = tags->findIndex(text);
1426 if (i > 0) combo->setCurrentItem(i); 1423 if (i > 0) combo->setCurrentItem(i);
1427 } else { 1424 } else {
1428 for(int i=0;i<combo->count();++i) { 1425 for(int i=0;i<combo->count();++i) {
1429 if (combo->text(i) == text) { 1426 if (combo->text(i) == text) {
1430 combo->setCurrentItem(i); 1427 combo->setCurrentItem(i);
1431 break; 1428 break;
1432 } 1429 }
1433 } 1430 }
1434 } 1431 }
1435} 1432}
1436 1433
1437void KOPrefsDialog::usrReadConfig() 1434void KOPrefsDialog::usrReadConfig()
1438{ 1435{
1439 kdelibcfg->readConfig(); 1436 kdelibcfg->readConfig();
1440 mNameEdit->setText(KOPrefs::instance()->fullName()); 1437 mNameEdit->setText(KOPrefs::instance()->fullName());
1441 mEmailEdit->setText(KOPrefs::instance()->email()); 1438 mEmailEdit->setText(KOPrefs::instance()->email());
1442 1439
1443 mAutoSaveIntervalSpin->setValue(KOPrefs::instance()->mAutoSaveInterval); 1440 mAutoSaveIntervalSpin->setValue(KOPrefs::instance()->mAutoSaveInterval);
1444 // QDate current ( 2001, 1,1); 1441 // QDate current ( 2001, 1,1);
1445 //mStartDateSavingEdit->setDate(current.addDays(KOPrefs::instance()->mDaylightsavingStart-1)); 1442 //mStartDateSavingEdit->setDate(current.addDays(KOPrefs::instance()->mDaylightsavingStart-1));
1446 //mEndDateSavingEdit->setDate(current.addDays(KOPrefs::instance()->mDaylightsavingEnd-1)); 1443 //mEndDateSavingEdit->setDate(current.addDays(KOPrefs::instance()->mDaylightsavingEnd-1));
1447 //setCombo(mTimeZoneCombo,i18n(KOPrefs::instance()->mTimeZoneId)); 1444 //setCombo(mTimeZoneCombo,i18n(KOPrefs::instance()->mTimeZoneId));
1448 //mTimezoneOffsetSpin->setValue( KOPrefs::instance()->mTimeZoneOffset); 1445 //mTimezoneOffsetSpin->setValue( KOPrefs::instance()->mTimeZoneOffset);
1449 mStartTimeSpin->setValue(KOPrefs::instance()->mStartTime); 1446 mStartTimeSpin->setValue(KOPrefs::instance()->mStartTime);
1450 mDefaultDurationSpin->setValue(KOPrefs::instance()->mDefaultDuration); 1447 mDefaultDurationSpin->setValue(KOPrefs::instance()->mDefaultDuration);
1451 mAlarmTimeCombo->setCurrentItem(KOPrefs::instance()->mAlarmTime); 1448 mAlarmTimeCombo->setCurrentItem(KOPrefs::instance()->mAlarmTime);
1452 // if (KOPrefs::instance()->mAllDaySize > 47 ) 1449 // if (KOPrefs::instance()->mAllDaySize > 47 )
1453 // KOPrefs::instance()->mAllDaySize = KOPrefs::instance()->mAllDaySize/2; 1450 // KOPrefs::instance()->mAllDaySize = KOPrefs::instance()->mAllDaySize/2;
1454 //mHourSizeSlider->setValue(KOPrefs::instance()->mAllDaySize); 1451 //mHourSizeSlider->setValue(KOPrefs::instance()->mAllDaySize);
1455 1452
1456 mNextXDaysSpin->setValue(KOPrefs::instance()->mNextXDays); 1453 mNextXDaysSpin->setValue(KOPrefs::instance()->mNextXDays);
1457 mWhatsNextSpin->setValue(KOPrefs::instance()->mWhatsNextDays); 1454 mWhatsNextSpin->setValue(KOPrefs::instance()->mWhatsNextDays);
1458 mPrioSpin->setValue(KOPrefs::instance()->mWhatsNextPrios); 1455 mPrioSpin->setValue(KOPrefs::instance()->mWhatsNextPrios);
1459 // mAMails->clear(); 1456 // mAMails->clear();
1460 // for ( QStringList::Iterator it = KOPrefs::instance()->mAdditionalMails.begin(); 1457 // for ( QStringList::Iterator it = KOPrefs::instance()->mAdditionalMails.begin();
1461// it != KOPrefs::instance()->mAdditionalMails.end(); ++it ) { 1458// it != KOPrefs::instance()->mAdditionalMails.end(); ++it ) {
1462// QListViewItem *item = new QListViewItem(mAMails); 1459// QListViewItem *item = new QListViewItem(mAMails);
1463// item->setText(0,*it); 1460// item->setText(0,*it);
1464// mAMails->insertItem(item); 1461// mAMails->insertItem(item);
1465// } 1462// }
1466 1463
1467 // mRemoteIPEdit->setText(KOPrefs::instance()->mRemoteIP); 1464 // mRemoteIPEdit->setText(KOPrefs::instance()->mRemoteIP);
1468 //mRemoteUser->setText(KOPrefs::instance()->mRemoteUser); 1465 //mRemoteUser->setText(KOPrefs::instance()->mRemoteUser);
1469 //mRemotePassWd->setText(KOPrefs::instance()->mRemotePassWd); 1466 //mRemotePassWd->setText(KOPrefs::instance()->mRemotePassWd);
1470 //mRemoteFile->setText(KOPrefs::instance()->mRemoteFile); 1467 //mRemoteFile->setText(KOPrefs::instance()->mRemoteFile);
1471 1468
1472 //that soundmLocalTempFile->setText(KOPrefs::instance()->mLocalTempFile); 1469 //that soundmLocalTempFile->setText(KOPrefs::instance()->mLocalTempFile);
1473 mDefaultAlarmFile->setText(KOPrefs::instance()->mDefaultAlarmFile); 1470 mDefaultAlarmFile->setText(KOPrefs::instance()->mDefaultAlarmFile);
1474 //QString dummy = KOPrefs::instance()->mUserDateFormatLong; 1471 //QString dummy = KOPrefs::instance()->mUserDateFormatLong;
1475 //mUserDateFormatLong->setText(dummy.replace( QRegExp("K"), QString(",") )); 1472 //mUserDateFormatLong->setText(dummy.replace( QRegExp("K"), QString(",") ));
1476 //dummy = KOPrefs::instance()->mUserDateFormatShort; 1473 //dummy = KOPrefs::instance()->mUserDateFormatShort;
1477 //mUserDateFormatShort->setText(dummy.replace( QRegExp("K"), QString(",") )); 1474 //mUserDateFormatShort->setText(dummy.replace( QRegExp("K"), QString(",") ));
1478 updateCategories(); 1475 updateCategories();
1479 mAlarmPlayBeeps->setValue(KOPrefs::instance()->mAlarmPlayBeeps ); 1476 mAlarmPlayBeeps->setValue(KOPrefs::instance()->mAlarmPlayBeeps );
1480 mAlarmSuspendTime->setValue(KOPrefs::instance()->mAlarmSuspendTime ); 1477 mAlarmSuspendTime->setValue(KOPrefs::instance()->mAlarmSuspendTime );
1481 mAlarmSuspendCount->setValue(KOPrefs::instance()->mAlarmSuspendCount ); 1478 mAlarmSuspendCount->setValue(KOPrefs::instance()->mAlarmSuspendCount );
1482 mAlarmBeepInterval->setValue(KOPrefs::instance()->mAlarmBeepInterval ); 1479 mAlarmBeepInterval->setValue(KOPrefs::instance()->mAlarmBeepInterval );
1483} 1480}
1484 1481
1485 1482
1486void KOPrefsDialog::usrWriteConfig() 1483void KOPrefsDialog::usrWriteConfig()
1487{ 1484{
1488 1485
1489 kdelibcfg->writeConfig(); 1486 kdelibcfg->writeConfig();
1490 // KOPrefs::instance()->mRemoteIP = mRemoteIPEdit->text(); 1487 // KOPrefs::instance()->mRemoteIP = mRemoteIPEdit->text();
1491 //KOPrefs::instance()->mRemoteUser = mRemoteUser->text(); 1488 //KOPrefs::instance()->mRemoteUser = mRemoteUser->text();
1492 //KOPrefs::instance()->mRemotePassWd = mRemotePassWd->text(); 1489 //KOPrefs::instance()->mRemotePassWd = mRemotePassWd->text();
1493 //KOPrefs::instance()->mRemoteFile= mRemoteFile->text(); 1490 //KOPrefs::instance()->mRemoteFile= mRemoteFile->text();
1494 //KOPrefs::instance()->mLocalTempFile =mLocalTempFile->text(); 1491 //KOPrefs::instance()->mLocalTempFile =mLocalTempFile->text();
1495 KOPrefs::instance()->mDefaultAlarmFile =mDefaultAlarmFile->text(); 1492 KOPrefs::instance()->mDefaultAlarmFile =mDefaultAlarmFile->text();
1496 1493
1497 //KOPrefs::instance()->mUserDateFormatShort = mUserDateFormatShort->text().replace( QRegExp(","), QString("K") ); 1494 //KOPrefs::instance()->mUserDateFormatShort = mUserDateFormatShort->text().replace( QRegExp(","), QString("K") );
1498 //KOPrefs::instance()->mUserDateFormatLong = mUserDateFormatLong->text().replace( QRegExp(","), QString("K") ); 1495 //KOPrefs::instance()->mUserDateFormatLong = mUserDateFormatLong->text().replace( QRegExp(","), QString("K") );
1499 KOPrefs::instance()->setFullName(mNameEdit->text()); 1496 KOPrefs::instance()->setFullName(mNameEdit->text());
1500 KOPrefs::instance()->setEmail(mEmailEdit->text()); 1497 KOPrefs::instance()->setEmail(mEmailEdit->text());
1501 1498
1502 KOPrefs::instance()->mAutoSaveInterval = mAutoSaveIntervalSpin->value(); 1499 KOPrefs::instance()->mAutoSaveInterval = mAutoSaveIntervalSpin->value();
1503 1500
1504 // KOPrefs::instance()->mTimeZoneId = mTimeZoneCombo->currentText(); 1501 // KOPrefs::instance()->mTimeZoneId = mTimeZoneCombo->currentText();
1505 //QDate date; 1502 //QDate date;
1506 //date = mStartDateSavingEdit->date(); 1503 //date = mStartDateSavingEdit->date();
1507 //int sub = 0; 1504 //int sub = 0;
1508 //if ( QDate::leapYear( date.year() ) && date.dayOfYear() > 59 ) 1505 //if ( QDate::leapYear( date.year() ) && date.dayOfYear() > 59 )
1509 // sub = 1; 1506 // sub = 1;
1510// KOPrefs::instance()->mDaylightsavingStart = date.dayOfYear()-sub; 1507// KOPrefs::instance()->mDaylightsavingStart = date.dayOfYear()-sub;
1511// date = mEndDateSavingEdit->date(); 1508// date = mEndDateSavingEdit->date();
1512// if ( QDate::leapYear( date.year() ) && date.dayOfYear() > 59 ) 1509// if ( QDate::leapYear( date.year() ) && date.dayOfYear() > 59 )
1513// sub = 1; 1510// sub = 1;
1514// else 1511// else
1515// sub = 0; 1512// sub = 0;
1516// KOPrefs::instance()->mDaylightsavingEnd = date.dayOfYear()-sub; 1513// KOPrefs::instance()->mDaylightsavingEnd = date.dayOfYear()-sub;
1517// // KOPrefs::instance()->mTimeZoneOffset = mTimezoneOffsetSpin->value(); 1514// // KOPrefs::instance()->mTimeZoneOffset = mTimezoneOffsetSpin->value();
1518 1515
1519 KOPrefs::instance()->mStartTime = mStartTimeSpin->value(); 1516 KOPrefs::instance()->mStartTime = mStartTimeSpin->value();
1520 KOPrefs::instance()->mDefaultDuration = mDefaultDurationSpin->value(); 1517 KOPrefs::instance()->mDefaultDuration = mDefaultDurationSpin->value();
1521 KOPrefs::instance()->mAlarmTime = mAlarmTimeCombo->currentItem(); 1518 KOPrefs::instance()->mAlarmTime = mAlarmTimeCombo->currentItem();
1522 1519
1523 //KOPrefs::instance()->mAllDaySize = mHourSizeSlider->value(); 1520 //KOPrefs::instance()->mAllDaySize = mHourSizeSlider->value();
1524 1521
1525 QDictIterator<QColor> it(mCategoryDict); 1522 QDictIterator<QColor> it(mCategoryDict);
1526 while (it.current()) { 1523 while (it.current()) {
1527 KOPrefs::instance()->setCategoryColor(it.currentKey(),*it.current()); 1524 KOPrefs::instance()->setCategoryColor(it.currentKey(),*it.current());
1528 ++it; 1525 ++it;
1529 } 1526 }
1530 1527
1531 KOPrefs::instance()->mNextXDays = mNextXDaysSpin->value(); 1528 KOPrefs::instance()->mNextXDays = mNextXDaysSpin->value();
1532 KOPrefs::instance()->mWhatsNextDays = mWhatsNextSpin->value(); 1529 KOPrefs::instance()->mWhatsNextDays = mWhatsNextSpin->value();
1533 KOPrefs::instance()->mWhatsNextPrios = mPrioSpin->value(); 1530 KOPrefs::instance()->mWhatsNextPrios = mPrioSpin->value();
1534 1531
1535 KOPrefs::instance()->mAdditionalMails.clear(); 1532 KOPrefs::instance()->mAdditionalMails.clear();
1536 // QListViewItem *item; 1533 // QListViewItem *item;
1537 // item = mAMails->firstChild(); 1534 // item = mAMails->firstChild();
1538 // while (item) 1535 // while (item)
1539 // { 1536 // {
1540 // KOPrefs::instance()->mAdditionalMails.append( item->text(0) ); 1537 // KOPrefs::instance()->mAdditionalMails.append( item->text(0) );
1541 // item = item->nextSibling(); 1538 // item = item->nextSibling();
1542 // } 1539 // }
1543 KOPrefs::instance()->mAlarmPlayBeeps = mAlarmPlayBeeps->value(); 1540 KOPrefs::instance()->mAlarmPlayBeeps = mAlarmPlayBeeps->value();
1544 KOPrefs::instance()->mAlarmSuspendTime = mAlarmSuspendTime->value() ; 1541 KOPrefs::instance()->mAlarmSuspendTime = mAlarmSuspendTime->value() ;
1545 KOPrefs::instance()->mAlarmSuspendCount= mAlarmSuspendCount->value() ; 1542 KOPrefs::instance()->mAlarmSuspendCount= mAlarmSuspendCount->value() ;
1546 KOPrefs::instance()->mAlarmBeepInterval= mAlarmBeepInterval->value() ; 1543 KOPrefs::instance()->mAlarmBeepInterval= mAlarmBeepInterval->value() ;
1547 1544
1548} 1545}
1549 1546
1550void KOPrefsDialog::updateCategories() 1547void KOPrefsDialog::updateCategories()
1551{ 1548{
1552 mCategoryCombo->clear(); 1549 mCategoryCombo->clear();
1553 mCategoryDict.clear(); 1550 mCategoryDict.clear();
1554 mCategoryCombo->insertStringList(KOPrefs::instance()->mCustomCategories); 1551 mCategoryCombo->insertStringList(KOPrefs::instance()->mCustomCategories);
1555 updateCategoryColor(); 1552 updateCategoryColor();
1556} 1553}
1557 1554
1558void KOPrefsDialog::warningGroupScheduling() 1555void KOPrefsDialog::warningGroupScheduling()
1559{ 1556{
1560 warningExperimental(mEnableGroupScheduling->checkBox()->isChecked()); 1557 warningExperimental(mEnableGroupScheduling->checkBox()->isChecked());
1561} 1558}
1562 1559
1563void KOPrefsDialog::warningProjectView() 1560void KOPrefsDialog::warningProjectView()
1564{ 1561{
1565 warningExperimental(mEnableProjectView->checkBox()->isChecked()); 1562 warningExperimental(mEnableProjectView->checkBox()->isChecked());
1566} 1563}
1567 1564
1568void KOPrefsDialog::warningExperimental(bool on) 1565void KOPrefsDialog::warningExperimental(bool on)
1569{ 1566{
1570 if (on) { 1567 if (on) {
1571 KMessageBox::information(this,i18n("This is an experimental feature. " 1568 KMessageBox::information(this,i18n("This is an experimental feature. "
1572 "It may not work, it may do nothing useful and it may cause data loss. " 1569 "It may not work, it may do nothing useful and it may cause data loss. "
1573 "Use with care.\n" 1570 "Use with care.\n"
1574 "You have to restart KOrganizer for this setting to take effect.")); 1571 "You have to restart KOrganizer for this setting to take effect."));
1575 } else { 1572 } else {
1576 KMessageBox::information(this, 1573 KMessageBox::information(this,
1577 i18n("You have to restart KOrganizer for this setting to take effect.")); 1574 i18n("You have to restart KOrganizer for this setting to take effect."));
1578 } 1575 }
1579} 1576}
1580 1577
1581void KOPrefsDialog::toggleEmailSettings(bool on) 1578void KOPrefsDialog::toggleEmailSettings(bool on)
1582{ 1579{
1583 if (on) { 1580 if (on) {
1584 mEmailEdit->setEnabled(false); 1581 mEmailEdit->setEnabled(false);
1585 mNameEdit->setEnabled(false); 1582 mNameEdit->setEnabled(false);
1586 mEmailLabel->setEnabled(false); 1583 mEmailLabel->setEnabled(false);
1587 mNameLabel->setEnabled(false); 1584 mNameLabel->setEnabled(false);
1588 1585
1589 KEMailSettings settings; 1586 KEMailSettings settings;
1590 mNameEdit->setText(settings.getSetting(KEMailSettings::RealName)); 1587 mNameEdit->setText(settings.getSetting(KEMailSettings::RealName));
1591 mEmailEdit->setText(settings.getSetting(KEMailSettings::EmailAddress)); 1588 mEmailEdit->setText(settings.getSetting(KEMailSettings::EmailAddress));
1592 } else { 1589 } else {
1593 mEmailEdit->setEnabled(true); 1590 mEmailEdit->setEnabled(true);
1594 mNameEdit->setEnabled(true); 1591 mNameEdit->setEnabled(true);
1595 mEmailLabel->setEnabled(true); 1592 mEmailLabel->setEnabled(true);
1596 mNameLabel->setEnabled(true); 1593 mNameLabel->setEnabled(true);
1597 } 1594 }
1598} 1595}
1599 1596
1600void KOPrefsDialog::addItem() 1597void KOPrefsDialog::addItem()
1601{ 1598{
1602 // aEmailsEdit->setEnabled(true); 1599 // aEmailsEdit->setEnabled(true);
1603// QListViewItem *item = new QListViewItem(mAMails); 1600// QListViewItem *item = new QListViewItem(mAMails);
1604// mAMails->insertItem(item); 1601// mAMails->insertItem(item);
1605// mAMails->setSelected(item,true); 1602// mAMails->setSelected(item,true);
1606// aEmailsEdit->setText(i18n("(EmptyEmail)")); 1603// aEmailsEdit->setText(i18n("(EmptyEmail)"));
1607} 1604}
1608 1605
1609void KOPrefsDialog::removeItem() 1606void KOPrefsDialog::removeItem()
1610{ 1607{
1611// QListViewItem *item; 1608// QListViewItem *item;
1612// item = mAMails->selectedItem(); 1609// item = mAMails->selectedItem();
1613// if (!item) return; 1610// if (!item) return;
1614// mAMails->takeItem(item); 1611// mAMails->takeItem(item);
1615// item = mAMails->selectedItem(); 1612// item = mAMails->selectedItem();
1616// if (!item) { 1613// if (!item) {
1617// aEmailsEdit->setText(""); 1614// aEmailsEdit->setText("");
1618// aEmailsEdit->setEnabled(false); 1615// aEmailsEdit->setEnabled(false);
1619// } 1616// }
1620// if (mAMails->childCount() == 0) { 1617// if (mAMails->childCount() == 0) {
1621// aEmailsEdit->setEnabled(false); 1618// aEmailsEdit->setEnabled(false);
1622// } 1619// }
1623} 1620}
1624 1621
1625void KOPrefsDialog::updateItem() 1622void KOPrefsDialog::updateItem()
1626{ 1623{
diff --git a/korganizer/searchdialog.cpp b/korganizer/searchdialog.cpp
index db60383..7a945e3 100644
--- a/korganizer/searchdialog.cpp
+++ b/korganizer/searchdialog.cpp
@@ -1,460 +1,466 @@
1/* 1/*
2 This file is part of KOrganizer. 2 This file is part of KOrganizer.
3 Copyright (c) 1998 Preston Brown 3 Copyright (c) 1998 Preston Brown
4 Copyright (c) 2000,2001 Cornelius Schumacher <schumacher@kde.org> 4 Copyright (c) 2000,2001 Cornelius Schumacher <schumacher@kde.org>
5 5
6 This program is free software; you can redistribute it and/or modify 6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by 7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or 8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version. 9 (at your option) any later version.
10 10
11 This program is distributed in the hope that it will be useful, 11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of 12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details. 14 GNU General Public License for more details.
15 15
16 You should have received a copy of the GNU General Public License 16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software 17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 18 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19 19
20 As a special exception, permission is given to link this program 20 As a special exception, permission is given to link this program
21 with any edition of Qt, and distribute the resulting executable, 21 with any edition of Qt, and distribute the resulting executable,
22 without including the source code for Qt in the source distribution. 22 without including the source code for Qt in the source distribution.
23*/ 23*/
24 24
25#include <qlayout.h> 25#include <qlayout.h>
26#include <qcheckbox.h> 26#include <qcheckbox.h>
27#include <qgroupbox.h> 27#include <qgroupbox.h>
28#include <qlabel.h> 28#include <qlabel.h>
29#include <qlistview.h> 29#include <qlistview.h>
30#include <qwhatsthis.h> 30#include <qwhatsthis.h>
31#include <qlineedit.h> 31#include <qlineedit.h>
32#include <qpushbutton.h> 32#include <qpushbutton.h>
33 33
34#include <klocale.h> 34#include <klocale.h>
35#include <kmessagebox.h> 35#include <kmessagebox.h>
36 36
37#include <libkdepim/kdateedit.h> 37#include <libkdepim/kdateedit.h>
38 38
39#include "koglobals.h" 39#include "koglobals.h"
40#include "koprefs.h" 40#include "koprefs.h"
41#include "klineedit.h" 41#include "klineedit.h"
42 42
43#include "calendarview.h" 43#include "calendarview.h"
44#include "koviewmanager.h" 44#include "koviewmanager.h"
45#include "searchdialog.h" 45#include "searchdialog.h"
46 46
47SearchDialog::SearchDialog(Calendar *calendar,CalendarView *parent) 47SearchDialog::SearchDialog(Calendar *calendar,CalendarView *parent)
48 : QVBox( 0 ) 48 : QVBox( 0 )
49 49
50{ 50{
51 mCalendar = calendar; 51 mCalendar = calendar;
52 QFrame *topFrame = new QFrame( this ) ;//plainPage(); 52 QFrame *topFrame = new QFrame( this ) ;//plainPage();
53 QVBoxLayout *layout = new QVBoxLayout(topFrame,KDialog::marginHint(),KDialog::spacingHint()); 53 QVBoxLayout *layout = new QVBoxLayout(topFrame,KDialog::marginHint(),KDialog::spacingHint());
54 54
55 // Search expression 55 // Search expression
56 QHBoxLayout *subLayout = new QHBoxLayout(); 56 QHBoxLayout *subLayout = new QHBoxLayout();
57 layout->addLayout(subLayout); 57 layout->addLayout(subLayout);
58 searchLabel = new QLabel(topFrame); 58 searchLabel = new QLabel(topFrame);
59 searchLabel->setText(i18n("Search for:")); 59 searchLabel->setText(i18n("Search for:"));
60 subLayout->addWidget(searchLabel); 60 subLayout->addWidget(searchLabel);
61 61
62 searchEdit = new KLineEdit(topFrame); 62 searchEdit = new KLineEdit(topFrame);
63 subLayout->addWidget(searchEdit); 63 subLayout->addWidget(searchEdit);
64 QPushButton *OkButton = new QPushButton( i18n("&Find"), topFrame ); 64 QPushButton *OkButton = new QPushButton( i18n("&Find"), topFrame );
65 //OkButton->setDefault( true ); 65 //OkButton->setDefault( true );
66 connect(OkButton,SIGNAL(clicked()),SLOT(doSearch())); 66 connect(OkButton,SIGNAL(clicked()),SLOT(doSearch()));
67 subLayout->addWidget(OkButton); 67 subLayout->addWidget(OkButton);
68 searchEdit->setText("*"); // Find all events by default 68 searchEdit->setText("*"); // Find all events by default
69 searchEdit->setFocus(); 69 searchEdit->setFocus();
70 connect(searchEdit, SIGNAL(textChanged ( const QString & )),this,SLOT(searchTextChanged( const QString & ))); 70 connect(searchEdit, SIGNAL(textChanged ( const QString & )),this,SLOT(searchTextChanged( const QString & )));
71 connect(searchEdit, SIGNAL( returnPressed () ),this,SLOT(doSearch())); 71 connect(searchEdit, SIGNAL( returnPressed () ),this,SLOT(doSearch()));
72 // Subjects to search 72 // Subjects to search
73 // QGroupBox *subjectGroup = new QGroupBox(1,Vertical,i18n("Search In"), 73 // QGroupBox *subjectGroup = new QGroupBox(1,Vertical,i18n("Search In"),
74 // topFrame); 74 // topFrame);
75 75
76 QHBox *incidenceGroup = new QHBox( topFrame ); 76 QHBox *incidenceGroup = new QHBox( topFrame );
77 layout->addWidget(incidenceGroup); 77 layout->addWidget(incidenceGroup);
78 78
79 mSearchEvent = new QCheckBox(i18n("Events"),incidenceGroup); 79 mSearchEvent = new QCheckBox(i18n("Events"),incidenceGroup);
80 //mSearchEvent->setChecked(true); 80 //mSearchEvent->setChecked(true);
81 mSearchTodo = new QCheckBox(i18n("Todos"),incidenceGroup); 81 mSearchTodo = new QCheckBox(i18n("Todos"),incidenceGroup);
82 mSearchJournal = new QCheckBox(i18n("Journals"),incidenceGroup); 82 mSearchJournal = new QCheckBox(i18n("Journals"),incidenceGroup);
83 83
84 QHBox *subjectGroup = new QHBox( topFrame ); 84 QHBox *subjectGroup = new QHBox( topFrame );
85 layout->addWidget(subjectGroup); 85 layout->addWidget(subjectGroup);
86 86
87 mSummaryCheck = new QCheckBox(i18n("Summary/Loc."),subjectGroup); 87 mSummaryCheck = new QCheckBox(i18n("Summary/Loc."),subjectGroup);
88 mSummaryCheck->setChecked(true); 88 mSummaryCheck->setChecked(true);
89 mDescriptionCheck = new QCheckBox(i18n("Details"),subjectGroup); 89 mDescriptionCheck = new QCheckBox(i18n("Details"),subjectGroup);
90 mCategoryCheck = new QCheckBox(i18n("Categories"),subjectGroup); 90 mCategoryCheck = new QCheckBox(i18n("Categories"),subjectGroup);
91 91
92 QHBox *attendeeGroup = new QHBox( topFrame ); 92 QHBox *attendeeGroup = new QHBox( topFrame );
93 layout->addWidget(attendeeGroup ); 93 layout->addWidget(attendeeGroup );
94 new QLabel( i18n("Attendee:"),attendeeGroup ); 94 new QLabel( i18n("Attendee:"),attendeeGroup );
95 mSearchAName = new QCheckBox(i18n("Name"),attendeeGroup ); 95 mSearchAName = new QCheckBox(i18n("Name"),attendeeGroup );
96 mSearchAEmail = new QCheckBox(i18n("Email"), attendeeGroup ); 96 mSearchAEmail = new QCheckBox(i18n("Email"), attendeeGroup );
97 // Date range 97 // Date range
98 // QGroupBox *rangeGroup = new QGroupBox(1,Horizontal,i18n("Date Range"), 98 // QGroupBox *rangeGroup = new QGroupBox(1,Horizontal,i18n("Date Range"),
99 // topFrame); 99 // topFrame);
100 // layout->addWidget(rangeGroup); 100 // layout->addWidget(rangeGroup);
101 101
102 QWidget *rangeWidget = new QWidget(topFrame); 102 QWidget *rangeWidget = new QWidget(topFrame);
103 QHBoxLayout *rangeLayout = new QHBoxLayout(rangeWidget,0,KDialog::spacingHint()); 103 QHBoxLayout *rangeLayout = new QHBoxLayout(rangeWidget,0,KDialog::spacingHint());
104 rangeLayout->addWidget(new QLabel(i18n("From:"),rangeWidget)); 104 rangeLayout->addWidget(new QLabel(i18n("From:"),rangeWidget));
105 mStartDate = new KDateEdit(rangeWidget); 105 mStartDate = new KDateEdit(rangeWidget);
106 rangeLayout->addWidget(mStartDate); 106 rangeLayout->addWidget(mStartDate);
107 rangeLayout->addWidget(new QLabel(i18n("To:"),rangeWidget)); 107 rangeLayout->addWidget(new QLabel(i18n("To:"),rangeWidget));
108 mEndDate = new KDateEdit(rangeWidget); 108 mEndDate = new KDateEdit(rangeWidget);
109 mEndDate->setDate(QDate::currentDate().addDays(365)); 109 mEndDate->setDate(QDate::currentDate().addDays(365));
110 rangeLayout->addWidget(mEndDate); 110 rangeLayout->addWidget(mEndDate);
111 QToolButton *wt = QWhatsThis::whatsThisButton ( rangeWidget ); 111 QToolButton *wt = QWhatsThis::whatsThisButton ( rangeWidget );
112 rangeLayout->addWidget( (QWidget*)wt ); 112 rangeLayout->addWidget( (QWidget*)wt );
113 layout->addWidget(rangeWidget); 113 layout->addWidget(rangeWidget);
114 // Results list view 114 // Results list view
115 listView = new KOListView(mCalendar,topFrame); 115 listView = new KOListView(mCalendar,topFrame);
116 layout->addWidget(listView); 116 layout->addWidget(listView);
117 117
118 listView->readSettings(KOGlobals::config(),"SearchListView Layout"); 118 listView->readSettings(KOGlobals::config(),"SearchListView Layout");
119 connect(searchEdit,SIGNAL(scrollDOWN()),SLOT(setFocusToList())); 119 connect(searchEdit,SIGNAL(scrollDOWN()),SLOT(setFocusToList()));
120 120
121 setCaption( i18n("KO/Pi Find: ")); 121 setCaption( i18n("KO/Pi Find: "));
122#ifdef DESKTOP_VERSION 122#ifdef DESKTOP_VERSION
123 OkButton = new QPushButton( i18n("Close"), this ); 123 OkButton = new QPushButton( i18n("Close"), this );
124 connect(OkButton,SIGNAL(clicked()),SLOT(hide())); 124 connect(OkButton,SIGNAL(clicked()),SLOT(hide()));
125#endif 125#endif
126} 126}
127 127
128SearchDialog::~SearchDialog() 128SearchDialog::~SearchDialog()
129{ 129{
130 130
131} 131}
132void SearchDialog::raiseAndSelect() 132void SearchDialog::raiseAndSelect()
133{ 133{
134 134
135 static int currentState = 0; 135 static int currentState = 0;
136 136
137 if ( !mSearchJournal->isChecked() && !mSearchTodo->isChecked() && !mSearchEvent->isChecked() ) 137 if ( !mSearchJournal->isChecked() && !mSearchTodo->isChecked() && !mSearchEvent->isChecked() )
138 currentState = 0; 138 currentState = 0;
139 int newState = 0; 139 int newState = 0;
140 if ( KOPrefs::instance()->mCurrentDisplayedView == VIEW_J_VIEW ) { 140 if ( KOPrefs::instance()->mCurrentDisplayedView == VIEW_J_VIEW ) {
141 newState = VIEW_J_VIEW; 141 newState = VIEW_J_VIEW;
142 } 142 }
143 else if ( KOPrefs::instance()->mCurrentDisplayedView == VIEW_T_VIEW ) { 143 else if ( KOPrefs::instance()->mCurrentDisplayedView == VIEW_T_VIEW ) {
144 newState = VIEW_T_VIEW; 144 newState = VIEW_T_VIEW;
145 } 145 }
146 else { 146 else {
147 newState = VIEW_A_VIEW; 147 newState = VIEW_A_VIEW;
148 } 148 }
149 if ( newState != currentState ) { 149 if ( newState != currentState ) {
150 if ( KOPrefs::instance()->mCurrentDisplayedView == VIEW_J_VIEW ) { 150 if ( KOPrefs::instance()->mCurrentDisplayedView == VIEW_J_VIEW ) {
151 if ( ! mSearchJournal->isChecked() ) { 151 if ( ! mSearchJournal->isChecked() ) {
152 mSearchJournal->setChecked( true ); 152 mSearchJournal->setChecked( true );
153 mSearchTodo->setChecked( false ); 153 mSearchTodo->setChecked( false );
154 mSearchEvent->setChecked( false ); 154 mSearchEvent->setChecked( false );
155 } 155 }
156 } 156 }
157 else if ( KOPrefs::instance()->mCurrentDisplayedView == VIEW_T_VIEW ) { 157 else if ( KOPrefs::instance()->mCurrentDisplayedView == VIEW_T_VIEW ) {
158 if ( ! mSearchTodo->isChecked() ) { 158 if ( ! mSearchTodo->isChecked() ) {
159 mSearchTodo->setChecked( true ); 159 mSearchTodo->setChecked( true );
160 mSearchJournal->setChecked( false ); 160 mSearchJournal->setChecked( false );
161 mSearchEvent->setChecked( false ); 161 mSearchEvent->setChecked( false );
162 } 162 }
163 } 163 }
164 else { 164 else {
165 if ( ! mSearchEvent->isChecked() ) { 165 if ( ! mSearchEvent->isChecked() ) {
166 mSearchEvent->setChecked( true ); 166 mSearchEvent->setChecked( true );
167 mSearchJournal->setChecked( false ); 167 mSearchJournal->setChecked( false );
168 mSearchTodo->setChecked( false ); 168 mSearchTodo->setChecked( false );
169 } 169 }
170 } 170 }
171 } 171 }
172 currentState = newState; 172 currentState = newState;
173 raise(); 173 raise();
174} 174}
175void SearchDialog::setFocusToList() 175void SearchDialog::setFocusToList()
176{ 176{
177 listView->resetFocus(); 177 listView->resetFocus();
178} 178}
179void SearchDialog::accept() 179void SearchDialog::accept()
180{ 180{
181 doSearch(); 181 doSearch();
182} 182}
183void SearchDialog::updateList() 183void SearchDialog::updateList()
184{ 184{
185 //listView->updateList(); 185 //listView->updateList();
186 if ( isVisible() ) { 186 if ( isVisible() ) {
187 updateView(); 187 updateView();
188 //qDebug("SearchDialog::updated "); 188 //qDebug("SearchDialog::updated ");
189 } 189 }
190 else { 190 else {
191 listView->clear(); 191 listView->clear();
192 //qDebug("SearchDialog::cleared "); 192 //qDebug("SearchDialog::cleared ");
193 193
194 } 194 }
195} 195}
196void SearchDialog::searchTextChanged( const QString &_text ) 196void SearchDialog::searchTextChanged( const QString &_text )
197{ 197{
198#if 0 198#if 0
199 enableButton( KDialogBase::User1, !_text.isEmpty() ); 199 enableButton( KDialogBase::User1, !_text.isEmpty() );
200#endif 200#endif
201} 201}
202 202
203void SearchDialog::doSearch() 203void SearchDialog::doSearch()
204{ 204{
205 QRegExp re; 205 QRegExp re;
206 206
207 re.setWildcard(true); // most people understand these better. 207 re.setWildcard(true); // most people understand these better.
208 re.setCaseSensitive(false); 208 re.setCaseSensitive(false);
209 re.setPattern(searchEdit->text()); 209 QString st = searchEdit->text();
210 if ( st.right(1) != "*")
211 st += "*";
212 re.setPattern(st);
210 if (!mSearchEvent->isChecked() && !mSearchTodo->isChecked() && !mSearchJournal->isChecked() ) { 213 if (!mSearchEvent->isChecked() && !mSearchTodo->isChecked() && !mSearchJournal->isChecked() ) {
211 KMessageBox::sorry(this, 214 KMessageBox::sorry(this,
212 i18n("Please select at least one\nof the types to search for:\n\nEvents\nTodos\nJournals")); 215 i18n("Please select at least one\nof the types to search for:\n\nEvents\nTodos\nJournals"));
213 return; 216 return;
214 } 217 }
215 if (!re.isValid() ) { 218 if (!re.isValid() ) {
216 KMessageBox::sorry(this, 219 KMessageBox::sorry(this,
217 i18n("Invalid search expression,\ncannot perform " 220 i18n("Invalid search expression,\ncannot perform "
218 "the search.\nPlease enter a search expression\n" 221 "the search.\nPlease enter a search expression\n"
219 "using the wildcard characters\n '*' and '?'" 222 "using the wildcard characters\n '*' and '?'"
220 "where needed.")); 223 "where needed."));
221 return; 224 return;
222 } 225 }
223 226
224 search(re); 227 search(re);
225 228
226 listView->setStartDate( mStartDate->date() ); 229 listView->setStartDate( mStartDate->date() );
227 listView->showEvents(mMatchedEvents); 230 listView->showEvents(mMatchedEvents);
228 listView->addTodos(mMatchedTodos); 231 listView->addTodos(mMatchedTodos);
229 listView->addJournals(mMatchedJournals); 232 listView->addJournals(mMatchedJournals);
230 233
231 if (mMatchedEvents.count() + mMatchedJournals.count() + mMatchedTodos.count() == 0) { 234 if (mMatchedEvents.count() + mMatchedJournals.count() + mMatchedTodos.count() == 0) {
232 setCaption(i18n("No items found. Use '*' and '?' where needed.")); 235 setCaption(i18n("No items found. Use '*' and '?' where needed."));
233 } else { 236 } else {
234 QString mess; 237 QString mess;
235 mess = mess.sprintf( i18n("%d item(s) found."), mMatchedEvents.count()+ mMatchedJournals.count() + mMatchedTodos.count() ); 238 mess = mess.sprintf( i18n("%d item(s) found."), mMatchedEvents.count()+ mMatchedJournals.count() + mMatchedTodos.count() );
236 setCaption( i18n("KO/Pi Find: ") + mess); 239 setCaption( i18n("KO/Pi Find: ") + mess);
237 240
238 } 241 }
239 searchEdit->setFocus(); 242 searchEdit->setFocus();
240} 243}
241void SearchDialog::updateConfig() 244void SearchDialog::updateConfig()
242{ 245{
243 listView->updateConfig(); 246 listView->updateConfig();
244} 247}
245void SearchDialog::updateView() 248void SearchDialog::updateView()
246{ 249{
247 //qDebug("SearchDialog::updateView() %d ", isVisible()); 250 //qDebug("SearchDialog::updateView() %d ", isVisible());
248 QRegExp re; 251 QRegExp re;
249 re.setWildcard(true); // most people understand these better. 252 re.setWildcard(true); // most people understand these better.
250 re.setCaseSensitive(false); 253 re.setCaseSensitive(false);
251 re.setPattern(searchEdit->text()); 254 QString st = searchEdit->text();
255 if ( st.right(1) != "*")
256 st += "*";
257 re.setPattern(st);
252 if (re.isValid()) { 258 if (re.isValid()) {
253 search(re); 259 search(re);
254 } else { 260 } else {
255 mMatchedEvents.clear(); 261 mMatchedEvents.clear();
256 mMatchedTodos.clear(); 262 mMatchedTodos.clear();
257 mMatchedJournals.clear(); 263 mMatchedJournals.clear();
258 } 264 }
259 listView->setStartDate( mStartDate->date() ); 265 listView->setStartDate( mStartDate->date() );
260 listView->showEvents(mMatchedEvents); 266 listView->showEvents(mMatchedEvents);
261 listView->addTodos(mMatchedTodos); 267 listView->addTodos(mMatchedTodos);
262 listView->addJournals(mMatchedJournals); 268 listView->addJournals(mMatchedJournals);
263} 269}
264 270
265void SearchDialog::search(const QRegExp &re) 271void SearchDialog::search(const QRegExp &re)
266{ 272{
267 QPtrList<Event> events = mCalendar->events( mStartDate->date(), 273 QPtrList<Event> events = mCalendar->events( mStartDate->date(),
268 mEndDate->date(), 274 mEndDate->date(),
269 false /*mInclusiveCheck->isChecked()*/ ); 275 false /*mInclusiveCheck->isChecked()*/ );
270 276
271 mMatchedEvents.clear(); 277 mMatchedEvents.clear();
272 if ( mSearchEvent->isChecked() ) { 278 if ( mSearchEvent->isChecked() ) {
273 Event *ev; 279 Event *ev;
274 for(ev=events.first();ev;ev=events.next()) { 280 for(ev=events.first();ev;ev=events.next()) {
275 if (mSummaryCheck->isChecked()) { 281 if (mSummaryCheck->isChecked()) {
276#if QT_VERSION >= 0x030000 282#if QT_VERSION >= 0x030000
277 if (re.search(ev->summary()) != -1) 283 if (re.search(ev->summary()) != -1)
278#else 284#else
279 if (re.match(ev->summary()) != -1) 285 if (re.match(ev->summary()) != -1)
280#endif 286#endif
281 { 287 {
282 mMatchedEvents.append(ev); 288 mMatchedEvents.append(ev);
283 continue; 289 continue;
284 } 290 }
285#if QT_VERSION >= 0x030000 291#if QT_VERSION >= 0x030000
286 if (re.search(ev->location()) != -1) 292 if (re.search(ev->location()) != -1)
287#else 293#else
288 if (re.match(ev->location()) != -1) 294 if (re.match(ev->location()) != -1)
289#endif 295#endif
290 { 296 {
291 mMatchedEvents.append(ev); 297 mMatchedEvents.append(ev);
292 continue; 298 continue;
293 } 299 }
294 } 300 }
295 if (mDescriptionCheck->isChecked()) { 301 if (mDescriptionCheck->isChecked()) {
296#if QT_VERSION >= 0x030000 302#if QT_VERSION >= 0x030000
297 if (re.search(ev->description()) != -1) 303 if (re.search(ev->description()) != -1)
298#else 304#else
299 if (re.match(ev->description()) != -1) 305 if (re.match(ev->description()) != -1)
300#endif 306#endif
301 { 307 {
302 mMatchedEvents.append(ev); 308 mMatchedEvents.append(ev);
303 continue; 309 continue;
304 } 310 }
305 } 311 }
306 if (mCategoryCheck->isChecked()) { 312 if (mCategoryCheck->isChecked()) {
307#if QT_VERSION >= 0x030000 313#if QT_VERSION >= 0x030000
308 if (re.search(ev->categoriesStr()) != -1) 314 if (re.search(ev->categoriesStr()) != -1)
309#else 315#else
310 if (re.match(ev->categoriesStr()) != -1) 316 if (re.match(ev->categoriesStr()) != -1)
311#endif 317#endif
312 { 318 {
313 mMatchedEvents.append(ev); 319 mMatchedEvents.append(ev);
314 continue; 320 continue;
315 } 321 }
316 } 322 }
317 if ( mSearchAName->isChecked() || mSearchAEmail->isChecked() ) { 323 if ( mSearchAName->isChecked() || mSearchAEmail->isChecked() ) {
318 QPtrList<Attendee> tmpAList = ev->attendees(); 324 QPtrList<Attendee> tmpAList = ev->attendees();
319 Attendee *a; 325 Attendee *a;
320 for (a = tmpAList.first(); a; a = tmpAList.next()) { 326 for (a = tmpAList.first(); a; a = tmpAList.next()) {
321 if (mSearchAName->isChecked()) { 327 if (mSearchAName->isChecked()) {
322#if QT_VERSION >= 0x030000 328#if QT_VERSION >= 0x030000
323 if (re.search(a->name()) != -1) 329 if (re.search(a->name()) != -1)
324#else 330#else
325 if (re.match(a->name()) != -1) 331 if (re.match(a->name()) != -1)
326#endif 332#endif
327 { 333 {
328 mMatchedEvents.append(ev); 334 mMatchedEvents.append(ev);
329 break; 335 break;
330 } 336 }
331 } 337 }
332 if (mSearchAEmail->isChecked()) { 338 if (mSearchAEmail->isChecked()) {
333#if QT_VERSION >= 0x030000 339#if QT_VERSION >= 0x030000
334 if (re.search(a->email()) != -1) 340 if (re.search(a->email()) != -1)
335#else 341#else
336 if (re.match(a->email()) != -1) 342 if (re.match(a->email()) != -1)
337#endif 343#endif
338 { 344 {
339 mMatchedEvents.append(ev); 345 mMatchedEvents.append(ev);
340 break; 346 break;
341 } 347 }
342 } 348 }
343 } 349 }
344 } 350 }
345 } 351 }
346 } 352 }
347 QPtrList<Todo> todos = mCalendar->todos( ); 353 QPtrList<Todo> todos = mCalendar->todos( );
348 mMatchedTodos.clear(); 354 mMatchedTodos.clear();
349 if ( mSearchTodo->isChecked() ) { 355 if ( mSearchTodo->isChecked() ) {
350 Todo *tod; 356 Todo *tod;
351 for(tod=todos.first();tod;tod=todos.next()) { 357 for(tod=todos.first();tod;tod=todos.next()) {
352 if (mSummaryCheck->isChecked()) { 358 if (mSummaryCheck->isChecked()) {
353#if QT_VERSION >= 0x030000 359#if QT_VERSION >= 0x030000
354 if (re.search(tod->summary()) != -1) 360 if (re.search(tod->summary()) != -1)
355#else 361#else
356 if (re.match(tod->summary()) != -1) 362 if (re.match(tod->summary()) != -1)
357#endif 363#endif
358 { 364 {
359 mMatchedTodos.append(tod); 365 mMatchedTodos.append(tod);
360 continue; 366 continue;
361 } 367 }
362 } 368 }
363 if (mDescriptionCheck->isChecked()) { 369 if (mDescriptionCheck->isChecked()) {
364#if QT_VERSION >= 0x030000 370#if QT_VERSION >= 0x030000
365 if (re.search(tod->description()) != -1) 371 if (re.search(tod->description()) != -1)
366#else 372#else
367 if (re.match(tod->description()) != -1) 373 if (re.match(tod->description()) != -1)
368#endif 374#endif
369 { 375 {
370 mMatchedTodos.append(tod); 376 mMatchedTodos.append(tod);
371 continue; 377 continue;
372 } 378 }
373 } 379 }
374 if (mCategoryCheck->isChecked()) { 380 if (mCategoryCheck->isChecked()) {
375#if QT_VERSION >= 0x030000 381#if QT_VERSION >= 0x030000
376 if (re.search(tod->categoriesStr()) != -1) 382 if (re.search(tod->categoriesStr()) != -1)
377#else 383#else
378 if (re.match(tod->categoriesStr()) != -1) 384 if (re.match(tod->categoriesStr()) != -1)
379#endif 385#endif
380 { 386 {
381 mMatchedTodos.append(tod); 387 mMatchedTodos.append(tod);
382 continue; 388 continue;
383 } 389 }
384 } 390 }
385 if ( mSearchAName->isChecked() || mSearchAEmail->isChecked() ) { 391 if ( mSearchAName->isChecked() || mSearchAEmail->isChecked() ) {
386 QPtrList<Attendee> tmpAList = tod->attendees(); 392 QPtrList<Attendee> tmpAList = tod->attendees();
387 Attendee *a; 393 Attendee *a;
388 for (a = tmpAList.first(); a; a = tmpAList.next()) { 394 for (a = tmpAList.first(); a; a = tmpAList.next()) {
389 if (mSearchAName->isChecked()) { 395 if (mSearchAName->isChecked()) {
390#if QT_VERSION >= 0x030000 396#if QT_VERSION >= 0x030000
391 if (re.search(a->name()) != -1) 397 if (re.search(a->name()) != -1)
392#else 398#else
393 if (re.match(a->name()) != -1) 399 if (re.match(a->name()) != -1)
394#endif 400#endif
395 { 401 {
396 mMatchedTodos.append(tod); 402 mMatchedTodos.append(tod);
397 break; 403 break;
398 } 404 }
399 } 405 }
400 if (mSearchAEmail->isChecked()) { 406 if (mSearchAEmail->isChecked()) {
401#if QT_VERSION >= 0x030000 407#if QT_VERSION >= 0x030000
402 if (re.search(a->email()) != -1) 408 if (re.search(a->email()) != -1)
403#else 409#else
404 if (re.match(a->email()) != -1) 410 if (re.match(a->email()) != -1)
405#endif 411#endif
406 { 412 {
407 mMatchedTodos.append(tod); 413 mMatchedTodos.append(tod);
408 break; 414 break;
409 } 415 }
410 } 416 }
411 } 417 }
412 } 418 }
413 } 419 }
414 } 420 }
415 mMatchedJournals.clear(); 421 mMatchedJournals.clear();
416 if (mSearchJournal->isChecked() ) { 422 if (mSearchJournal->isChecked() ) {
417 QPtrList<Journal> journals = mCalendar->journals( ); 423 QPtrList<Journal> journals = mCalendar->journals( );
418 Journal* journ; 424 Journal* journ;
419 425
420 for(journ=journals.first();journ;journ=journals.next()) { 426 for(journ=journals.first();journ;journ=journals.next()) {
421 if ( journ->dtStart().date() <= mEndDate->date() 427 if ( journ->dtStart().date() <= mEndDate->date()
422 &&journ->dtStart().date() >= mStartDate->date()) { 428 &&journ->dtStart().date() >= mStartDate->date()) {
423#if QT_VERSION >= 0x030000 429#if QT_VERSION >= 0x030000
424 if (re.search(journ->description()) != -1) 430 if (re.search(journ->description()) != -1)
425#else 431#else
426 if (re.match(journ->description()) != -1) 432 if (re.match(journ->description()) != -1)
427#endif 433#endif
428 { 434 {
429 mMatchedJournals.append(journ); 435 mMatchedJournals.append(journ);
430 continue; 436 continue;
431 } 437 }
432 } 438 }
433 } 439 }
434 } 440 }
435 441
436} 442}
437 443
438void SearchDialog::keyPressEvent ( QKeyEvent *e) 444void SearchDialog::keyPressEvent ( QKeyEvent *e)
439{ 445{
440 switch ( e->key() ) { 446 switch ( e->key() ) {
441 case Qt::Key_Escape: 447 case Qt::Key_Escape:
442 hide(); 448 hide();
443 break; 449 break;
444 case Qt::Key_F: 450 case Qt::Key_F:
445 if ( e->state() == Qt::ControlButton ) { 451 if ( e->state() == Qt::ControlButton ) {
446 qDebug("full "); 452 qDebug("full ");
447 453
448 } 454 }
449 break; 455 break;
450 case Qt::Key_Return: 456 case Qt::Key_Return:
451 case Qt::Key_Enter: 457 case Qt::Key_Enter:
452 doSearch(); 458 doSearch();
453 break; 459 break;
454 460
455 default: 461 default:
456 e->ignore(); 462 e->ignore();
457 } 463 }
458} 464}
459 465
460//mMatchedJournals; 466//mMatchedJournals;
diff --git a/libkdepim/categoryeditdialog.cpp b/libkdepim/categoryeditdialog.cpp
index a19900f..e2325d2 100644
--- a/libkdepim/categoryeditdialog.cpp
+++ b/libkdepim/categoryeditdialog.cpp
@@ -1,137 +1,141 @@
1/* 1/*
2 This file is part of libkdepim. 2 This file is part of libkdepim.
3 Copyright (c) 2000, 2001, 2002 Cornelius Schumacher <schumacher@kde.org> 3 Copyright (c) 2000, 2001, 2002 Cornelius Schumacher <schumacher@kde.org>
4 4
5 This program is free software; you can redistribute it and/or modify 5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by 6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or 7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version. 8 (at your option) any later version.
9 9
10 This program is distributed in the hope that it will be useful, 10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of 11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details. 13 GNU General Public License for more details.
14 14
15 You should have received a copy of the GNU General Public License 15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software 16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 18
19 As a special exception, permission is given to link this program 19 As a special exception, permission is given to link this program
20 with any edition of Qt, and distribute the resulting executable, 20 with any edition of Qt, and distribute the resulting executable,
21 without including the source code for Qt in the source distribution. 21 without including the source code for Qt in the source distribution.
22*/ 22*/
23 23
24#include <qstringlist.h> 24#include <qstringlist.h>
25#include <qlineedit.h> 25#include <qlineedit.h>
26#include <qlistview.h> 26#include <qlistview.h>
27#include <qheader.h> 27#include <qheader.h>
28#include <qpushbutton.h> 28#include <qpushbutton.h>
29#include <qapplication.h> 29#include <qapplication.h>
30 30
31#include "kpimprefs.h" 31#include "kpimprefs.h"
32 32
33#include "categoryeditdialog.h" 33#include "categoryeditdialog.h"
34 34
35using namespace KPIM; 35using namespace KPIM;
36 36
37CategoryEditDialog::CategoryEditDialog( KPimPrefs *prefs, QWidget* parent, 37CategoryEditDialog::CategoryEditDialog( KPimPrefs *prefs, QWidget* parent,
38 const char* name, bool modal, 38 const char* name, bool modal,
39 WFlags fl ) 39 WFlags fl )
40 : CategoryEditDialog_base( parent, name, modal, fl ), 40 : CategoryEditDialog_base( parent, name, modal, fl ),
41 mPrefs( prefs ) 41 mPrefs( prefs )
42{ 42{
43 mCategories->header()->hide(); 43 mCategories->header()->hide();
44 44
45 QStringList::Iterator it; 45 QStringList::Iterator it;
46 bool categoriesExist=false; 46 bool categoriesExist=false;
47 for (it = mPrefs->mCustomCategories.begin(); 47 for (it = mPrefs->mCustomCategories.begin();
48 it != mPrefs->mCustomCategories.end(); ++it ) { 48 it != mPrefs->mCustomCategories.end(); ++it ) {
49 new QListViewItem(mCategories,*it); 49 new QListViewItem(mCategories,*it);
50 categoriesExist=true; 50 categoriesExist=true;
51 } 51 }
52 52
53 connect(mCategories,SIGNAL(selectionChanged(QListViewItem *)), 53 connect(mCategories,SIGNAL(selectionChanged(QListViewItem *)),
54 SLOT(editItem(QListViewItem *))); 54 SLOT(editItem(QListViewItem *)));
55 connect(mEdit,SIGNAL(textChanged ( const QString & )),this,SLOT(slotTextChanged(const QString &))); 55 connect(mEdit,SIGNAL(textChanged ( const QString & )),this,SLOT(slotTextChanged(const QString &)));
56 mButtonRemove->setEnabled(categoriesExist); 56 mButtonRemove->setEnabled(categoriesExist);
57 mButtonModify->setEnabled(categoriesExist); 57 mButtonModify->setEnabled(categoriesExist);
58#ifndef DESKTOP_VERSION
59 mButtonOk->hide();
60 mButtonCancel->hide();
61#endif
58 mButtonAdd->setEnabled(!mEdit->text().isEmpty()); 62 mButtonAdd->setEnabled(!mEdit->text().isEmpty());
59 if ( QApplication::desktop()->width() > 460 ) 63 if ( QApplication::desktop()->width() > 460 )
60 resize( 300, 360 ); 64 resize( 300, 360 );
61 else 65 else
62 showMaximized(); 66 showMaximized();
63} 67}
64 68
65/* 69/*
66 * Destroys the object and frees any allocated resources 70 * Destroys the object and frees any allocated resources
67 */ 71 */
68CategoryEditDialog::~CategoryEditDialog() 72CategoryEditDialog::~CategoryEditDialog()
69{ 73{
70 // no need to delete child widgets, Qt does it all for us 74 // no need to delete child widgets, Qt does it all for us
71} 75}
72 76
73void CategoryEditDialog::slotTextChanged(const QString &text) 77void CategoryEditDialog::slotTextChanged(const QString &text)
74{ 78{
75 mButtonAdd->setEnabled(!text.isEmpty()); 79 mButtonAdd->setEnabled(!text.isEmpty());
76} 80}
77 81
78void CategoryEditDialog::add() 82void CategoryEditDialog::add()
79{ 83{
80 if (!mEdit->text().isEmpty()) { 84 if (!mEdit->text().isEmpty()) {
81 new QListViewItem(mCategories,mEdit->text()); 85 new QListViewItem(mCategories,mEdit->text());
82 mEdit->setText(""); 86 mEdit->setText("");
83 mButtonRemove->setEnabled(mCategories->childCount()>0); 87 mButtonRemove->setEnabled(mCategories->childCount()>0);
84 mButtonModify->setEnabled(mCategories->childCount()>0); 88 mButtonModify->setEnabled(mCategories->childCount()>0);
85 } 89 }
86} 90}
87 91
88void CategoryEditDialog::remove() 92void CategoryEditDialog::remove()
89{ 93{
90 if (mCategories->currentItem()) { 94 if (mCategories->currentItem()) {
91 delete mCategories->currentItem(); 95 delete mCategories->currentItem();
92 mButtonRemove->setEnabled(mCategories->childCount()>0); 96 mButtonRemove->setEnabled(mCategories->childCount()>0);
93 mButtonModify->setEnabled(mCategories->childCount()>0); 97 mButtonModify->setEnabled(mCategories->childCount()>0);
94 } 98 }
95} 99}
96 100
97void CategoryEditDialog::modify() 101void CategoryEditDialog::modify()
98{ 102{
99 if (!mEdit->text().isEmpty()) { 103 if (!mEdit->text().isEmpty()) {
100 if (mCategories->currentItem()) { 104 if (mCategories->currentItem()) {
101 mCategories->currentItem()->setText(0,mEdit->text()); 105 mCategories->currentItem()->setText(0,mEdit->text());
102 } 106 }
103 } 107 }
104} 108}
105void CategoryEditDialog::accept() 109void CategoryEditDialog::accept()
106{ 110{
107 slotOk(); 111 slotOk();
108} 112}
109 113
110void CategoryEditDialog::slotOk() 114void CategoryEditDialog::slotOk()
111{ 115{
112 slotApply(); 116 slotApply();
113 QDialog::accept(); 117 QDialog::accept();
114} 118}
115 119
116void CategoryEditDialog::slotApply() 120void CategoryEditDialog::slotApply()
117{ 121{
118 mPrefs->mCustomCategories.clear(); 122 mPrefs->mCustomCategories.clear();
119 123
120 QListViewItem *item = mCategories->firstChild(); 124 QListViewItem *item = mCategories->firstChild();
121 while(item) { 125 while(item) {
122 mPrefs->mCustomCategories.append(item->text(0)); 126 mPrefs->mCustomCategories.append(item->text(0));
123 item = item->nextSibling(); 127 item = item->nextSibling();
124 } 128 }
125 mPrefs->writeConfig(); 129 mPrefs->writeConfig();
126 130
127 emit categoryConfigChanged(); 131 emit categoryConfigChanged();
128} 132}
129 133
130void CategoryEditDialog::editItem(QListViewItem *item) 134void CategoryEditDialog::editItem(QListViewItem *item)
131{ 135{
132 mEdit->setText(item->text(0)); 136 mEdit->setText(item->text(0));
133 mButtonRemove->setEnabled(true); 137 mButtonRemove->setEnabled(true);
134 mButtonModify->setEnabled(true); 138 mButtonModify->setEnabled(true);
135} 139}
136 140
137//US #include "categoryeditdialog.moc" 141//US #include "categoryeditdialog.moc"
diff --git a/libkdepim/categoryselectdialog.cpp b/libkdepim/categoryselectdialog.cpp
index 974752c..a4e0024 100644
--- a/libkdepim/categoryselectdialog.cpp
+++ b/libkdepim/categoryselectdialog.cpp
@@ -1,241 +1,245 @@
1/* 1/*
2 This file is part of libkdepim. 2 This file is part of libkdepim.
3 Copyright (c) 2000, 2001, 2002 Cornelius Schumacher <schumacher@kde.org> 3 Copyright (c) 2000, 2001, 2002 Cornelius Schumacher <schumacher@kde.org>
4 4
5 This program is free software; you can redistribute it and/or modify 5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by 6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or 7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version. 8 (at your option) any later version.
9 9
10 This program is distributed in the hope that it will be useful, 10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of 11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details. 13 GNU General Public License for more details.
14 14
15 You should have received a copy of the GNU General Public License 15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software 16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 18
19 As a special exception, permission is given to link this program 19 As a special exception, permission is given to link this program
20 with any edition of Qt, and distribute the resulting executable, 20 with any edition of Qt, and distribute the resulting executable,
21 without including the source code for Qt in the source distribution. 21 without including the source code for Qt in the source distribution.
22*/ 22*/
23 23
24#include <qlistview.h> 24#include <qlistview.h>
25#include <qpushbutton.h> 25#include <qpushbutton.h>
26#include <qheader.h> 26#include <qheader.h>
27#include <qapp.h> 27#include <qapp.h>
28#include <qmessagebox.h> 28#include <qmessagebox.h>
29#include <kmessagebox.h> 29#include <kmessagebox.h>
30 30
31 31
32#include "categoryeditdialog.h" 32#include "categoryeditdialog.h"
33#include "categoryselectdialog.h" 33#include "categoryselectdialog.h"
34 34
35#include "kpimprefs.h" 35#include "kpimprefs.h"
36 36
37using namespace KPIM; 37using namespace KPIM;
38 38
39CategorySelectDialog::CategorySelectDialog( KPimPrefs *prefs, QWidget* parent, 39CategorySelectDialog::CategorySelectDialog( KPimPrefs *prefs, QWidget* parent,
40 const char* name, 40 const char* name,
41 bool modal, WFlags fl ) 41 bool modal, WFlags fl )
42 : CategorySelectDialog_base( parent, name, true, fl ), 42 : CategorySelectDialog_base( parent, name, true, fl ),
43 mPrefs( prefs ) 43 mPrefs( prefs )
44{ 44{
45 mColorItem = 0; 45 mColorItem = 0;
46 mColorEnabled = false; 46 mColorEnabled = false;
47 mCategories->header()->hide(); 47 mCategories->header()->hide();
48 48
49 setCategories(); 49 setCategories();
50 50
51 connect(mButtonEdit,SIGNAL(clicked()),this, SLOT(editCategoriesDialog())); 51 connect(mButtonEdit,SIGNAL(clicked()),this, SLOT(editCategoriesDialog()));
52 if ( QApplication::desktop()->width() > 460 ) 52 if ( QApplication::desktop()->width() > 460 )
53 resize( 300, 360 ); 53 resize( 300, 360 );
54 else 54 else
55 showMaximized(); 55 showMaximized();
56 connect( mSetColorCat, SIGNAL( clicked() ), this, SLOT( setColorCat() ) ); 56 connect( mSetColorCat, SIGNAL( clicked() ), this, SLOT( setColorCat() ) );
57 // connect( mCategories, SIGNAL( clicked(QListViewItem *) ), this, SLOT( clicked(QListViewItem *) ) ); 57 // connect( mCategories, SIGNAL( clicked(QListViewItem *) ), this, SLOT( clicked(QListViewItem *) ) );
58#ifndef DESKTOP_VERSION
59 mButtonOk->hide();
60 mButtonCancel->hide();
61#endif
58} 62}
59void CategorySelectDialog::editCategoriesDialog() 63void CategorySelectDialog::editCategoriesDialog()
60{ 64{
61 KPIM::CategoryEditDialog* ced = new KPIM::CategoryEditDialog(mPrefs,this ); 65 KPIM::CategoryEditDialog* ced = new KPIM::CategoryEditDialog(mPrefs,this );
62 66
63 ced->exec(); 67 ced->exec();
64 delete ced; 68 delete ced;
65 slotApply(); 69 slotApply();
66 QStringList temp = mCategoryList; 70 QStringList temp = mCategoryList;
67 setCategories(); 71 setCategories();
68 setSelected( temp ); 72 setSelected( temp );
69} 73}
70void CategorySelectDialog::setCategories() 74void CategorySelectDialog::setCategories()
71{ 75{
72 mColorItem = 0; 76 mColorItem = 0;
73 mCategories->clear(); 77 mCategories->clear();
74 mCategoryList.clear(); 78 mCategoryList.clear();
75 79
76 QStringList::Iterator it; 80 QStringList::Iterator it;
77 for (it = mPrefs->mCustomCategories.begin(); 81 for (it = mPrefs->mCustomCategories.begin();
78 it != mPrefs->mCustomCategories.end(); ++it ) { 82 it != mPrefs->mCustomCategories.end(); ++it ) {
79 CategorySelectItem * item = new CategorySelectItem(mCategories,*it,QCheckListItem::CheckBox); 83 CategorySelectItem * item = new CategorySelectItem(mCategories,*it,QCheckListItem::CheckBox);
80 QObject::connect( item, SIGNAL( stateChanged(QListViewItem *) ), this, SLOT( clicked(QListViewItem *) ) ); 84 QObject::connect( item, SIGNAL( stateChanged(QListViewItem *) ), this, SLOT( clicked(QListViewItem *) ) );
81 85
82 } 86 }
83} 87}
84 88
85CategorySelectDialog::~CategorySelectDialog() 89CategorySelectDialog::~CategorySelectDialog()
86{ 90{
87} 91}
88 92
89void CategorySelectDialog::setSelected(const QStringList &selList) 93void CategorySelectDialog::setSelected(const QStringList &selList)
90{ 94{
91 clear(); 95 clear();
92 96
93 QStringList::ConstIterator it; 97 QStringList::ConstIterator it;
94 QStringList notFound; 98 QStringList notFound;
95 bool found = false; 99 bool found = false;
96 for (it=selList.begin();it!=selList.end();++it) { 100 for (it=selList.begin();it!=selList.end();++it) {
97 //qDebug(" CategorySelectDialog::setSelected("); 101 //qDebug(" CategorySelectDialog::setSelected(");
98 QCheckListItem *item = (QCheckListItem *)mCategories->firstChild(); 102 QCheckListItem *item = (QCheckListItem *)mCategories->firstChild();
99 while (item) { 103 while (item) {
100 if (item->text() == *it) { 104 if (item->text() == *it) {
101 item->setOn(true); 105 item->setOn(true);
102 if ( ! found ) 106 if ( ! found )
103 setColorItem( item ); 107 setColorItem( item );
104 found = true; 108 found = true;
105 break; 109 break;
106 } 110 }
107 item = (QCheckListItem *)item->nextSibling(); 111 item = (QCheckListItem *)item->nextSibling();
108 } 112 }
109// if ( ! found ) { 113// if ( ! found ) {
110 114
111//emit updateCategoriesGlobal(); 115//emit updateCategoriesGlobal();
112// QMessageBox::information( this, "KO/E: Information!", 116// QMessageBox::information( this, "KO/E: Information!",
113// "Categories found, which were not\n" 117// "Categories found, which were not\n"
114// "in list of categories!\n" 118// "in list of categories!\n"
115// "message", 119// "message",
116// "OK", "", 0, 120// "OK", "", 0,
117// 0, 1 ); 121// 0, 1 );
118// setSelected(selList); 122// setSelected(selList);
119// return; 123// return;
120// } 124// }
121 } 125 }
122} 126}
123 127
124QStringList CategorySelectDialog::selectedCategories() const 128QStringList CategorySelectDialog::selectedCategories() const
125{ 129{
126 return mCategoryList; 130 return mCategoryList;
127} 131}
128void CategorySelectDialog::setColorEnabled() 132void CategorySelectDialog::setColorEnabled()
129{ 133{
130 mColorEnabled = true; 134 mColorEnabled = true;
131 mSetColorCat->show(); 135 mSetColorCat->show();
132} 136}
133void CategorySelectDialog::setColorCat() 137void CategorySelectDialog::setColorCat()
134{ 138{
135 QCheckListItem * newColorItem = (QCheckListItem * )mCategories->currentItem (); 139 QCheckListItem * newColorItem = (QCheckListItem * )mCategories->currentItem ();
136 if ( !newColorItem ) { 140 if ( !newColorItem ) {
137 KMessageBox::error(this,i18n("There is no current item.")); 141 KMessageBox::error(this,i18n("There is no current item."));
138 return; 142 return;
139 } 143 }
140 if ( !newColorItem->isOn() ) 144 if ( !newColorItem->isOn() )
141 newColorItem->setOn( true ); 145 newColorItem->setOn( true );
142 setColorItem( newColorItem ); 146 setColorItem( newColorItem );
143 147
144} 148}
145void CategorySelectDialog::clicked ( QListViewItem * it ) 149void CategorySelectDialog::clicked ( QListViewItem * it )
146{ 150{
147 if ( ! it ) 151 if ( ! it )
148 return; 152 return;
149 QCheckListItem *i = (QCheckListItem *) it; 153 QCheckListItem *i = (QCheckListItem *) it;
150 if ( !i->isOn() && i==mColorItem) { 154 if ( !i->isOn() && i==mColorItem) {
151 setColorItem( 0); 155 setColorItem( 0);
152 QCheckListItem *item = (QCheckListItem *)mCategories->firstChild(); 156 QCheckListItem *item = (QCheckListItem *)mCategories->firstChild();
153 while (item) { 157 while (item) {
154 if (item->isOn()) { 158 if (item->isOn()) {
155 setColorItem( item ); 159 setColorItem( item );
156 break; 160 break;
157 } 161 }
158 item = (QCheckListItem *)item->nextSibling(); 162 item = (QCheckListItem *)item->nextSibling();
159 } 163 }
160 } else if ( i->isOn() && !mColorItem) { 164 } else if ( i->isOn() && !mColorItem) {
161 setColorItem( i); 165 setColorItem( i);
162 } 166 }
163} 167}
164void CategorySelectDialog::setColorItem( QCheckListItem * newColorItem ) 168void CategorySelectDialog::setColorItem( QCheckListItem * newColorItem )
165{ 169{
166 if ( !mColorEnabled ) 170 if ( !mColorEnabled )
167 return; 171 return;
168 if ( mColorItem == newColorItem) 172 if ( mColorItem == newColorItem)
169 return; 173 return;
170 if ( mColorItem ) { 174 if ( mColorItem ) {
171 mColorItem->setPixmap ( 0, QPixmap() ); 175 mColorItem->setPixmap ( 0, QPixmap() );
172 mColorItem = 0; 176 mColorItem = 0;
173 } 177 }
174 if ( newColorItem ) { 178 if ( newColorItem ) {
175 QPixmap pix (newColorItem->height()/2, newColorItem->height()/2 ); 179 QPixmap pix (newColorItem->height()/2, newColorItem->height()/2 );
176 pix.fill(Qt::red ); 180 pix.fill(Qt::red );
177 newColorItem->setPixmap ( 0, pix ); 181 newColorItem->setPixmap ( 0, pix );
178 mColorItem = newColorItem; 182 mColorItem = newColorItem;
179 } 183 }
180} 184}
181void CategorySelectDialog::slotApply() 185void CategorySelectDialog::slotApply()
182{ 186{
183 QStringList categories; 187 QStringList categories;
184 QCheckListItem *item = (QCheckListItem *)mCategories->firstChild(); 188 QCheckListItem *item = (QCheckListItem *)mCategories->firstChild();
185 QString colcat; 189 QString colcat;
186 while (item) { 190 while (item) {
187 if (item->isOn()) { 191 if (item->isOn()) {
188 if ( item == mColorItem) 192 if ( item == mColorItem)
189 colcat = item->text(); 193 colcat = item->text();
190 else 194 else
191 categories.append(item->text()); 195 categories.append(item->text());
192 } 196 }
193 item = (QCheckListItem *)item->nextSibling(); 197 item = (QCheckListItem *)item->nextSibling();
194 } 198 }
195 categories.sort(); 199 categories.sort();
196 if ( ! colcat.isEmpty() ) 200 if ( ! colcat.isEmpty() )
197 categories.prepend( colcat ); 201 categories.prepend( colcat );
198 // QString categoriesStr = categories.join(","); 202 // QString categoriesStr = categories.join(",");
199 203
200 mCategoryList = categories; 204 mCategoryList = categories;
201 205
202} 206}
203void CategorySelectDialog::accept() 207void CategorySelectDialog::accept()
204{ 208{
205 slotOk(); 209 slotOk();
206} 210}
207 211
208void CategorySelectDialog::slotOk() 212void CategorySelectDialog::slotOk()
209{ 213{
210 slotApply(); 214 slotApply();
211 emit categoriesSelected(mCategoryList); 215 emit categoriesSelected(mCategoryList);
212 emit categoriesSelected(mCategoryList.join(",")); 216 emit categoriesSelected(mCategoryList.join(","));
213 QDialog::accept(); 217 QDialog::accept();
214} 218}
215 219
216void CategorySelectDialog::clear() 220void CategorySelectDialog::clear()
217{ 221{
218 QCheckListItem *item = (QCheckListItem *)mCategories->firstChild(); 222 QCheckListItem *item = (QCheckListItem *)mCategories->firstChild();
219 while (item) { 223 while (item) {
220 item->setOn(false); 224 item->setOn(false);
221 item = (QCheckListItem *)item->nextSibling(); 225 item = (QCheckListItem *)item->nextSibling();
222 } 226 }
223} 227}
224 228
225void CategorySelectDialog::updateCategoryConfig() 229void CategorySelectDialog::updateCategoryConfig()
226{ 230{
227 QStringList selected; 231 QStringList selected;
228 QCheckListItem *item = (QCheckListItem *)mCategories->firstChild(); 232 QCheckListItem *item = (QCheckListItem *)mCategories->firstChild();
229 while (item) { 233 while (item) {
230 if (item->isOn()) { 234 if (item->isOn()) {
231 selected.append(item->text()); 235 selected.append(item->text());
232 } 236 }
233 item = (QCheckListItem *)item->nextSibling(); 237 item = (QCheckListItem *)item->nextSibling();
234 } 238 }
235 239
236 setCategories(); 240 setCategories();
237 241
238 setSelected(selected); 242 setSelected(selected);
239} 243}
240 244
241//#include "categoryselectdialog.moc" 245//#include "categoryselectdialog.moc"