summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2005-07-01 20:33:17 (UTC)
committer zautrix <zautrix>2005-07-01 20:33:17 (UTC)
commit541878bcf52030d8597d5e79afb6ae1185b2ac2c (patch) (unidiff)
treec6aeb2861062f1bfcc6ba10ec6e26b058205a1cd
parentc53efbe8f53f468d21d93f5e19b625d1a4beb242 (diff)
downloadkdepimpi-541878bcf52030d8597d5e79afb6ae1185b2ac2c.zip
kdepimpi-541878bcf52030d8597d5e79afb6ae1185b2ac2c.tar.gz
kdepimpi-541878bcf52030d8597d5e79afb6ae1185b2ac2c.tar.bz2
fixixixis
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--bin/kdepim/korganizer/germantranslation.txt16
-rw-r--r--korganizer/kolistview.cpp155
-rw-r--r--korganizer/kolistview.h7
-rw-r--r--korganizer/koprefs.cpp2
-rw-r--r--korganizer/koviewmanager.cpp2
5 files changed, 61 insertions, 121 deletions
diff --git a/bin/kdepim/korganizer/germantranslation.txt b/bin/kdepim/korganizer/germantranslation.txt
index 708ac19..ed6a1c1 100644
--- a/bin/kdepim/korganizer/germantranslation.txt
+++ b/bin/kdepim/korganizer/germantranslation.txt
@@ -232,513 +232,513 @@
232{ "M. Bains line:","M. Bains Linie:" }, 232{ "M. Bains line:","M. Bains Linie:" },
233{ "Medium","Medium" }, 233{ "Medium","Medium" },
234{ "Method","Methode" }, 234{ "Method","Methode" },
235{ "minute(s)","Minute(n)" }, 235{ "minute(s)","Minute(n)" },
236{ "Monday","Montag" }, 236{ "Monday","Montag" },
237{ "Mon","Mo" }, 237{ "Mon","Mo" },
238{ "Monthly","Monatlich" }, 238{ "Monthly","Monatlich" },
239{ "Month not long enough","Monat ist nicht lang genug" }, 239{ "Month not long enough","Monat ist nicht lang genug" },
240{ "month(s)","Monat(e)" }, 240{ "month(s)","Monat(e)" },
241{ "Month view:","Monatsansicht:" }, 241{ "Month view:","Monatsansicht:" },
242{ "Month view uses category colors","Monatsansicht zeigt Kategorie Farben" }, 242{ "Month view uses category colors","Monatsansicht zeigt Kategorie Farben" },
243{ "Todo view uses category colors","To-Do Ansicht zeigt Kategorie Farben" }, 243{ "Todo view uses category colors","To-Do Ansicht zeigt Kategorie Farben" },
244{ "Move &Down","Nach unten verschieben" }, 244{ "Move &Down","Nach unten verschieben" },
245{ "Move &Up","Nach oben verschieben" }, 245{ "Move &Up","Nach oben verschieben" },
246{ "Name:","Name:" }, 246{ "Name:","Name:" },
247{ "Name","Name" }, 247{ "Name","Name" },
248{ "\nAre you sure you want\nto delete this event?","\nSind Sie sicher, dass Sie\nden Termin löschen möchten?" }, 248{ "\nAre you sure you want\nto delete this event?","\nSind Sie sicher, dass Sie\nden Termin löschen möchten?" },
249{ "%n Days","%n Tage" }, 249{ "%n Days","%n Tage" },
250{ "Never","Nie" }, 250{ "Never","Nie" },
251{ "New event...","Neuer Termin..." }, 251{ "New event...","Neuer Termin..." },
252{ "New event","Neuer Termin" }, 252{ "New event","Neuer Termin" },
253{ "New Event...","Neuer Termin..." }, 253{ "New Event...","Neuer Termin..." },
254{ "New Events/Todos should","Neue Termine/Todos sollten" }, 254{ "New Events/Todos should","Neue Termine/Todos sollten" },
255{ "&New","&Neu" }, 255{ "&New","&Neu" },
256{ "New","Neu", }, 256{ "New","Neu", },
257{ "New Sub-Todo...","Neues Sub-Todo..." }, 257{ "New Sub-Todo...","Neues Sub-Todo..." },
258{ "New Todo...","Neues Todo..." }, 258{ "New Todo...","Neues Todo..." },
259{ "Next Alarm: ","Nächster Alarm: ", }, 259{ "Next Alarm: ","Nächster Alarm: ", },
260{ "&Next Day","&Nächster Tag", }, 260{ "&Next Day","&Nächster Tag", },
261{ "Next days view uses full window","Nächste-X-Tage nutzt Vollbild" }, 261{ "Next days view uses full window","Nächste-X-Tage nutzt Vollbild" },
262{ "Next month","Nächster Monat" }, 262{ "Next month","Nächster Monat" },
263{ "&Next Week","&Nächste Woche" }, 263{ "&Next Week","&Nächste Woche" },
264{ "Next year","Nächstes Jahr" }, 264{ "Next year","Nächstes Jahr" },
265{ "Next Year","Nächstes Jahr" }, 265{ "Next Year","Nächstes Jahr" },
266{ "%n h","%n Std" }, 266{ "%n h","%n Std" },
267{ "No ending date","Kein End-Datum", }, 267{ "No ending date","Kein End-Datum", },
268{ "No event, nothing to do.","Kein Termin, nichts zu tun.", }, 268{ "No event, nothing to do.","Kein Termin, nichts zu tun.", },
269{ "No event selected.","Kein Termin selektiert" }, 269{ "No event selected.","Kein Termin selektiert" },
270{ "No","Nein" }, 270{ "No","Nein" },
271{ "No program set","Kein Programm ausgewählt", }, 271{ "No program set","Kein Programm ausgewählt", },
272{ "Normal","Normal" }, 272{ "Normal","Normal" },
273{ "[No selection]","Keine Selektion", }, 273{ "[No selection]","Keine Selektion", },
274{ "No sound set","Kein Sound ausgewählt", }, 274{ "No sound set","Kein Sound ausgewählt", },
275{ "no time ","keine Zeit ", }, 275{ "no time ","keine Zeit ", },
276{ "no time","keine Zeit", }, 276{ "no time","keine Zeit", },
277{ "No Time","Keine Zeit" }, 277{ "No Time","Keine Zeit" },
278{ "November","November" }, 278{ "November","November" },
279{ "Nov","Nov", }, 279{ "Nov","Nov", },
280{ "\nThis event recurs\nover multiple dates.\n","\nDieser Termin wiederholt sich an mehreren Tagen.\n" }, 280{ "\nThis event recurs\nover multiple dates.\n","\nDieser Termin wiederholt sich an mehreren Tagen.\n" },
281{ "occurrence(s)","Vorkommen" }, 281{ "occurrence(s)","Vorkommen" },
282{ "October","Oktober" }, 282{ "October","Oktober" },
283{ "Oct","Okt", }, 283{ "Oct","Okt", },
284{ "O-due!","Ü-fällig! " }, 284{ "O-due!","Ü-fällig! " },
285{ "&OK","&OK" }, 285{ "&OK","&OK" },
286{ "Ok+Show!","Ok+Anzeigen" }, 286{ "Ok+Show!","Ok+Anzeigen" },
287{ "Organizer: %1","Organisator %1" }, 287{ "Organizer: %1","Organisator %1" },
288{ "Organizer","Organisator" }, 288{ "Organizer","Organisator" },
289{ "Owner: ","Besitzer: " }, 289{ "Owner: ","Besitzer: " },
290{ "Owner:","Besitzer:" }, 290{ "Owner:","Besitzer:" },
291{ "<p><b>Priority:</b> %2</p>","<p><b>Priorität:</b> %2</p>" }, 291{ "<p><b>Priority:</b> %2</p>","<p><b>Priorität:</b> %2</p>" },
292{ "Pick a date to display","Wähle einen Tag zum anzeigen aus" }, 292{ "Pick a date to display","Wähle einen Tag zum anzeigen aus" },
293{ "Please specify a valid due date.","Bitte gültiges Fälligkeitsdatum angeben."}, 293{ "Please specify a valid due date.","Bitte gültiges Fälligkeitsdatum angeben."},
294{ "Please specify a valid end date,\nfor example '%1'.","Bitte gültiges Enddatum angeben,\nz.B.'%1'." }, 294{ "Please specify a valid end date,\nfor example '%1'.","Bitte gültiges Enddatum angeben,\nz.B.'%1'." },
295{ "Please specify a valid start date.","Bitte gültiges Startdatum angeben." }, 295{ "Please specify a valid start date.","Bitte gültiges Startdatum angeben." },
296{ "Please specify a valid start date,\nfor example '%1'.","Bitte gültiges Startdatum angeben,\nz.B. '%1'." }, 296{ "Please specify a valid start date,\nfor example '%1'.","Bitte gültiges Startdatum angeben,\nz.B. '%1'." },
297{ "Please specify a valid start time.","Bitte gültige Startzeit angeben."}, 297{ "Please specify a valid start time.","Bitte gültige Startzeit angeben."},
298{ "Please specify a valid start time,\nfor example '%1'.","Bitte gültige Startzeit angeben,\nz.B. '%1'." }, 298{ "Please specify a valid start time,\nfor example '%1'.","Bitte gültige Startzeit angeben,\nz.B. '%1'." },
299{ "Preferences - some settings need a restart (nr)","Einstellungen - teilweise Neustart erforderlich (bn)" }, 299{ "Preferences - some settings need a restart (nr)","Einstellungen - teilweise Neustart erforderlich (bn)" },
300{ "&Previous Day","Vorheriger Tag" }, 300{ "&Previous Day","Vorheriger Tag" },
301{ "Previous month","Vorheriger Monat" }, 301{ "Previous month","Vorheriger Monat" },
302{ "Previous Month","Vorheriger Monat" }, 302{ "Previous Month","Vorheriger Monat" },
303{ "&Previous Week","Vorherige Woche" }, 303{ "&Previous Week","Vorherige Woche" },
304{ "Previous year","Vorheriges Jahr" }, 304{ "Previous year","Vorheriges Jahr" },
305{ "Previous Year","Vorheriges Jahr" }, 305{ "Previous Year","Vorheriges Jahr" },
306{ "Printing","Drucken" }, 306{ "Printing","Drucken" },
307{ "Priority:","Priorität:" }, 307{ "Priority:","Priorität:" },
308{ "Private","Privat" }, 308{ "Private","Privat" },
309{ "Proceed","Weiter" }, 309{ "Proceed","Weiter" },
310{ "Public","Öffentlich" }, 310{ "Public","Öffentlich" },
311{ "Purge","Entferne" }, 311{ "Purge","Entferne" },
312{ "Purge Completed...","Entferne erledigte Todos..." }, 312{ "Purge Completed...","Entferne erledigte Todos..." },
313{ "Purge Todos","Todos bereinigen" }, 313{ "Purge Todos","Todos bereinigen" },
314{ "read-only","schreibgeschützt" }, 314{ "read-only","schreibgeschützt" },
315{ "Recur every","Wiederh. alle" }, 315{ "Recur every","Wiederh. alle" },
316{ "Recur in the month of","Wiederh. im Monat" }, 316{ "Recur in the month of","Wiederh. im Monat" },
317{ "Recur on the","Wiederh. am" }, 317{ "Recur on the","Wiederh. am" },
318{ "Recur on this day","Wiederh. am diesen Tag" }, 318{ "Recur on this day","Wiederh. am diesen Tag" },
319{ "Recurrence Range...","Wiederholungs Zeitraum..." }, 319{ "Recurrence Range...","Wiederholungs Zeitraum..." },
320{ "Recurrence Range","Wiederholungs Zeitraum" }, 320{ "Recurrence Range","Wiederholungs Zeitraum" },
321{ "Recurrence Rule","Wiederholungs Regel" }, 321{ "Recurrence Rule","Wiederholungs Regel" },
322{ "Recurrence","Wiederholung" }, 322{ "Recurrence","Wiederholung" },
323{ "Recurs","Wiederholung" }, 323{ "Recurs","Wiederholung" },
324{"&Reject","Abweisen"}, 324{"&Reject","Abweisen"},
325{ "Reminder:","Alarm:" }, 325{ "Reminder:","Alarm:" },
326{ "Rem.:","Alarm:" }, 326{ "Rem.:","Alarm:" },
327{ "Rem.","Alarm:" }, 327{ "Rem.","Alarm:" },
328{ "Remote file:","Remote Datei:"}, 328{ "Remote file:","Remote Datei:"},
329{ "Remote IP:","Remote (ferne) IP:" }, 329{ "Remote IP:","Remote (ferne) IP:" },
330{ "Remote syncing (via ssh/scp) network settings ","Remote Sync (via ssh/scp) Netzwerk Einstellungen " }, 330{ "Remote syncing (via ssh/scp) network settings ","Remote Sync (via ssh/scp) Netzwerk Einstellungen " },
331{ "Remote user:","Remote Benutzer"}, 331{ "Remote user:","Remote Benutzer"},
332{ "&Remove","Entfe&rnen" }, 332{ "&Remove","Entfe&rnen" },
333{ "Remove","Entfernen" }, 333{ "Remove","Entfernen" },
334{ "Request response","Bemerkung anfordern" }, 334{ "Request response","Bemerkung anfordern" },
335{ "Role:","Rolle:" }, 335{ "Role:","Rolle:" },
336{ "Role","Rolle" }, 336{ "Role","Rolle" },
337{ "Sat","Sa" }, 337{ "Sat","Sa" },
338{ "Saturday","Samstag" }, 338{ "Saturday","Samstag" },
339{ "Search for:","Suche nach:" }, 339{ "Search for:","Suche nach:" },
340{ "Search In","Suche in" }, 340{ "Search In","Suche in" },
341{ "Search...","Suche..." }, 341{ "Search...","Suche..." },
342{ "Search","Suche" }, 342{ "Search","Suche" },
343{ "Select Addresses","Wähle Adressen" }, 343{ "Select Addresses","Wähle Adressen" },
344{ "Select all","Selektiere Alle" }, 344{ "Select all","Selektiere Alle" },
345{ "Select a month","Wähle Monat" }, 345{ "Select a month","Wähle Monat" },
346{ "Select a week","Wähle Woche" }, 346{ "Select a week","Wähle Woche" },
347{ "Select a year","Wähle Jahr" }, 347{ "Select a year","Wähle Jahr" },
348{ "Send directly","Sende direkt" }, 348{ "Send directly","Sende direkt" },
349{ "&Send Messages","&Sende Nachrichten", }, 349{ "&Send Messages","&Sende Nachrichten", },
350{ "Sep","Sep" }, 350{ "Sep","Sep" },
351{ "September","September" }, 351{ "September","September" },
352{ "Shopping","Einkaufen" }, 352{ "Shopping","Einkaufen" },
353{ "Show Dates","Zeige Daten" }, 353{ "Show Dates","Zeige Daten" },
354{ "Show events that recur daily in date nav.","Zeige tägl.wiederh.Term.in Datums Nav." }, 354{ "Show events that recur daily in date nav.","Zeige tägl.wiederh.Term.in Datums Nav." },
355{ "Show Event...","Zeige Termin..." }, 355{ "Show Event...","Zeige Termin..." },
356{ "Show ev. that recur weekly in date nav.","Zeige wöch.wiederh.Term.in Datums Nav." }, 356{ "Show ev. that recur weekly in date nav.","Zeige wöch.wiederh.Term.in Datums Nav." },
357{ "Show Marcus Bains line","Zeige Marcus Bains Linie" }, 357{ "Show Marcus Bains line","Zeige Marcus Bains Linie" },
358{ "Show summary after syncing","Zeige Zusammenfassung nach Sync." }, 358{ "Show summary after syncing","Zeige Zusammenfassung nach Sync." },
359{ "Show time as:","Zeige Zeit als" }, 359{ "Show time as:","Zeige Zeit als" },
360{ "Show Todo...","Zeige To-Do" }, 360{ "Show Todo...","Zeige To-Do" },
361{ "Vertical screen layout(Needs restart)","Vertikaler Bildschirm-Layout (Neustart!)" }, 361{ "Vertical screen layout(Needs restart)","Vertikaler Bildschirm-Layout (Neustart!)" },
362{ "&Show","Zeige" }, 362{ "&Show","Zeige" },
363{ "Show...","Zeige..." }, 363{ "Show...","Zeige..." },
364{ "Show","Zeige" }, 364{ "Show","Zeige" },
365{ "Small","Klein" }, 365{ "Small","Klein" },
366{ "Sorry","Entschuldigung" }, 366{ "Sorry","Entschuldigung" },
367{"Sorry, the copy command failed!\nCommand was:\n","Der Kopierbefehl schlug fehl!\nBefehl war:\n"}, 367{"Sorry, the copy command failed!\nCommand was:\n","Der Kopierbefehl schlug fehl!\nBefehl war:\n"},
368{ "Start:","Start:" }, 368{ "Start:","Start:" },
369{ "Start Date","Start Datum" }, 369{ "Start Date","Start Datum" },
370{ "Start date: %1","Start Datum: %1" }, 370{ "Start date: %1","Start Datum: %1" },
371{ "Start Time","Start Zeit" }, 371{ "Start Time","Start Zeit" },
372{ "Status:","Status:" }, 372{ "Status:","Status:" },
373{ "Status","Status:" }, 373{ "Status","Status:" },
374{ "Summaries","Titel" }, 374{ "Summaries","Titel" },
375{ "Summary:","Titel:" }, 375{ "Summary:","Titel:" },
376{ "Summary","Titel" }, 376{ "Summary","Titel" },
377{ "Sunday","Sonntag" }, 377{ "Sunday","Sonntag" },
378{ "Sun","So" }, 378{ "Sun","So" },
379{ "Sync preferences:","Sync Einstellungen" }, 379{ "Sync preferences:","Sync Einstellungen" },
380{ "Sync Prefs","Sync Einstellungen" }, 380{ "Sync Prefs","Sync Einstellungen" },
381{ "Syncronize","Daten abgleich" }, 381{ "Syncronize","Daten abgleich" },
382{ "Take local entry on conflict","Nimm lokalen Eintrag beim Konflikt" }, 382{ "Take local entry on conflict","Nimm lokalen Eintrag beim Konflikt" },
383{ "Take newest entry on conflict","Nimm neuesten Eintrag beim Konflikt" }, 383{ "Take newest entry on conflict","Nimm neuesten Eintrag beim Konflikt" },
384{ "Take remote entry on conflict","Nimm fernen Eintrag beim Konflikt" }, 384{ "Take remote entry on conflict","Nimm fernen Eintrag beim Konflikt" },
385{ "Template '%1' does not contain a valid Todo.","Template '%1' enthält kein gültiges To-Do" }, 385{ "Template '%1' does not contain a valid Todo.","Template '%1' enthält kein gültiges To-Do" },
386{ "Template does not contain a valid Event.","Template '%1' enthält keinen gültigen Termin" }, 386{ "Template does not contain a valid Event.","Template '%1' enthält keinen gültigen Termin" },
387{ "Template...","Vorlage..." }, 387{ "Template...","Vorlage..." },
388{ "This day","Dieser Tag" }, 388{ "This day","Dieser Tag" },
389{ "This is an experimental feature. ","Dieses Feature ist experimentel" }, 389{ "This is an experimental feature. ","Dieses Feature ist experimentel" },
390{ "This item will be\npermanently deleted.","Dieser Eintrag wird\nkomplett gelöscht." }, 390{ "This item will be\npermanently deleted.","Dieser Eintrag wird\nkomplett gelöscht." },
391{ "This item will be permanently deleted.", "Dieser Eintrag wird komplett gelöscht." }, 391{ "This item will be permanently deleted.", "Dieser Eintrag wird komplett gelöscht." },
392{ "Thu","Do" }, 392{ "Thu","Do" },
393{ "Thursday","Donnerstag" }, 393{ "Thursday","Donnerstag" },
394{ "Time associated","Mit Zeit" }, 394{ "Time associated","Mit Zeit" },
395{ "Time bar:","Uhrzeit Zeile:" }, 395{ "Time bar:","Uhrzeit Zeile:" },
396{ "Time && Date","Zeit und Datum" }, 396{ "Time && Date","Zeit und Datum" },
397{ "Time Format","Zeit Format" }, 397{ "Time Format","Zeit Format" },
398{ "Time Format(nr):","Zeit Format(Neustart!)" }, 398{ "Time Format(nr):","Zeit Format(Neustart!)" },
399{ "Date Labels:","Datumsleiste:" }, 399{ "Date Labels:","Datumsleiste:" },
400{ "Time: ","Zeit: " }, 400{ "Time: ","Zeit: " },
401{ "Timezone:","Zeitzone:" }, 401{ "Timezone:","Zeitzone:" },
402{ "To: ","Bis: " }, 402{ "To: ","Bis: " },
403{ "To:","Bis:" }, 403{ "To:","Bis:" },
404{ "Today: ","Heute: " }, 404{ "Today: ","Heute: " },
405{ "Todo due today color:","Heute fällige To-Do's" }, 405{ "Todo due today color:","Heute fällige To-Do's" },
406{ "To-do items:","To-Do items:" }, 406{ "To-do items:","To-Do items:" },
407{ "Todo overdue color:","Überfällige To-Do's" }, 407{ "Todo overdue color:","Überfällige To-Do's" },
408{ "Todo","Todo" }, 408{ "Todo","Todo" },
409{ "To-do view shows completed Todos","To-do Ansicht zeigt erledigte To-dos" }, 409{ "To-do view shows completed Todos","To-do Ansicht zeigt erledigte To-dos" },
410{ "ToDoView:","Todo Ansicht:" }, 410{ "ToDoView:","Todo Ansicht:" },
411{ "Toggle Alarm","Wechsle Alarm" }, 411{ "Toggle Alarm","Wechsle Alarm" },
412{ "Toggle Allday","Umschalten Ganztag" }, 412{ "Toggle Allday","Umschalten Ganztag" },
413{ "Tomorrow: ","Morgen: " }, 413{ "Tomorrow: ","Morgen: " },
414{ "Tue","Di" }, 414{ "Tue","Di" },
415{ "Tuesday","Dienstag" }, 415{ "Tuesday","Dienstag" },
416{ "Two entries are in conflict, if: ","Zwei Einträge haben einen Konflikt, wenn:" }, 416{ "Two entries are in conflict, if: ","Zwei Einträge haben einen Konflikt, wenn:" },
417{ "Unable to find template '%1'.","Kann Vorlage '%1' nicht finden." }, 417{ "Unable to find template '%1'.","Kann Vorlage '%1' nicht finden." },
418{ "Unknown","Unbekannt" }, 418{ "Unknown","Unbekannt" },
419{ "Up","Hinauf" }, 419{ "Up","Hinauf" },
420{ "Use password (if not, ask when syncing)","Passwort: (sonst jedesmal anfragen)" }, 420{ "Use password (if not, ask when syncing)","Passwort: (sonst jedesmal anfragen)" },
421{ "User defined","Benutzerdefiniert" }, 421{ "User defined","Benutzerdefiniert" },
422{ "User long date:","Format langes Datum:" }, 422{ "User long date:","Format langes Datum:" },
423{ "User short date:","Forma kurzes Datum:" }, 423{ "User short date:","Forma kurzes Datum:" },
424{ "View","Ansicht" }, 424{ "View","Ansicht" },
425{ "View Fonts","Schriftarten Ansichten" }, 425{ "View Fonts","Schriftarten Ansichten" },
426{ "Views","Ansichten" }, 426{ "Views","Ansichten" },
427{ "Wed","Mi" }, 427{ "Wed","Mi" },
428{ "Wednesday","Mittwoch" }, 428{ "Wednesday","Mittwoch" },
429{ "Week %1","Woche %1" }, 429{ "Week %1","Woche %1" },
430{ "Weekly","Wöchentlich" }, 430{ "Weekly","Wöchentlich" },
431{ "Week starts on Sunday","Woche beginnt Sonntags" }, 431{ "Week starts on Sunday","Woche beginnt Sonntags" },
432{ "What's Next View:","What's Next Anz." }, 432{ "What's Next View:","What's Next Anz." },
433{ "What's next ?","Was kommt als nächstes?(What's Next)" }, 433{ "What's next ?","Was kommt als nächstes?(What's Next)" },
434{ "Working Hours","Tägliche Arbeitszeit" }, 434{ "Working Hours","Tägliche Arbeitszeit" },
435{ "Working hours color:","Arbeitszeit in der Agenda Ansicht:" }, 435{ "Working hours color:","Arbeitszeit in der Agenda Ansicht:" },
436{ "Write back existing entries only","Nur exisitierende Einträge zurückschreiben" }, 436{ "Write back existing entries only","Nur exisitierende Einträge zurückschreiben" },
437{ "Write back synced file","Syncronisierte Datei zurückschreiben" }, 437{ "Write back synced file","Syncronisierte Datei zurückschreiben" },
438{ "Yearly","Jährlich" }, 438{ "Yearly","Jährlich" },
439{ "year(s)","Jahr(e)" }, 439{ "year(s)","Jahr(e)" },
440{ "Yes","Ja" }, 440{ "Yes","Ja" },
441{ "You have %d item(s) selected.\n","Sie haben %d Einträge ausgewählt.\n" }, 441{ "You have %d item(s) selected.\n","Sie haben %d Einträge ausgewählt.\n" },
442{ "You have to restart KOrganizer for this setting to take effect.","Sie müssem Korganizer neu starten, damit diese Einstellung aktiviert wird." }, 442{ "You have to restart KOrganizer for this setting to take effect.","Sie müssem Korganizer neu starten, damit diese Einstellung aktiviert wird." },
443{ "week(s) on:","Woche(n) am: " }, 443{ "week(s) on:","Woche(n) am: " },
444{ "Full menu bar(nr)","Volle Menuleiste(bn)" }, 444{ "Full menu bar(nr)","Volle Menuleiste(bn)" },
445{ "Timezone has daylight saving","Zeitzone hat Sommerzeit" }, 445{ "Timezone has daylight saving","Zeitzone hat Sommerzeit" },
446{ "Actual start and end is the\nsunday before this date.","Tatsächlicher Beginn/Ende ist der\nSonntag vor diesem Datum!" }, 446{ "Actual start and end is the\nsunday before this date.","Tatsächlicher Beginn/Ende ist der\nSonntag vor diesem Datum!" },
447{ "The year in the date is ignored.","Das Jahr vom Datum wird ignoriert." }, 447{ "The year in the date is ignored.","Das Jahr vom Datum wird ignoriert." },
448{ "Daylight start:","Sommerzeit Start:" }, 448{ "Daylight start:","Sommerzeit Start:" },
449{ "Daylight end:","Sommerzeit Ende:" }, 449{ "Daylight end:","Sommerzeit Ende:" },
450{ "Time Zone","Zeitzone" }, 450{ "Time Zone","Zeitzone" },
451{ "Monday 19 April 2004: %A %d %B %Y","Montag 19 April 2004: %A %d %B %Y" }, 451{ "Monday 19 April 2004: %A %d %B %Y","Montag 19 April 2004: %A %d %B %Y" },
452{ "%A: Monday --- %a: Mon","%A: Montag --- %a: Mon" }, 452{ "%A: Monday --- %a: Mon","%A: Montag --- %a: Mon" },
453{ "minutely","minütlich" }, 453{ "minutely","minütlich" },
454{ "hourly","stündlich" }, 454{ "hourly","stündlich" },
455{ "daily","täglich" }, 455{ "daily","täglich" },
456{ "weekly","wöchentlich" }, 456{ "weekly","wöchentlich" },
457{ "monthly","monatlich" }, 457{ "monthly","monatlich" },
458{ "day-monthly","tag-monatlich" }, 458{ "day-monthly","tag-monatlich" },
459{ "month-yearly","monat-jährlich" }, 459{ "month-yearly","monat-jährlich" },
460{ "day-yearly","tag-jährlich" }, 460{ "day-yearly","tag-jährlich" },
461{ "position-yearly","pos-jährlich" }, 461{ "position-yearly","pos-jährlich" },
462{ "Edit item on doubleclick (if not, show)","Editiere mit Doppelklick(wenn nicht, zeige)" }, 462{ "Edit item on doubleclick (if not, show)","Editiere mit Doppelklick(wenn nicht, zeige)" },
463{ "Highlight current day in agenda","Hebe >>heute<< in Agenda hervor" }, 463{ "Highlight current day in agenda","Hebe >>heute<< in Agenda hervor" },
464{ "Use light color for highlight current day","Helle Farbe für >>heute<< Hervorhebung" }, 464{ "Use light color for highlight current day","Helle Farbe für >>heute<< Hervorhebung" },
465{ "Highlight selection in Time Edit","Hebe Auswahl in Zeit Edit hervor" }, 465{ "Highlight selection in Time Edit","Hebe Auswahl in Zeit Edit hervor" },
466{ "Hold fullscreen on view change","Behalte Vollbild bei Ansichswechsel" }, 466{ "Hold fullscreen on view change","Behalte Vollbild bei Ansichswechsel" },
467{ "Hold non-fullscreen on view change","Behalte Nicht-Vollbild bei Ansichtsw." }, 467{ "Hold non-fullscreen on view change","Behalte Nicht-Vollbild bei Ansichtsw." },
468{ "Event list view uses full window","Listenansicht nutzt Vollbild" }, 468{ "Event list view uses full window","Listenansicht nutzt Vollbild" },
469{ "Set agenda to DayBeginsAt on change","Setze Agenda auf TagBeginntUm bei Wechsel" }, 469{ "Set agenda to DayBeginsAt on change","Setze Agenda auf TagBeginntUm bei Wechsel" },
470{ "Set agenda to current time on change","Setze Agenda auf gegenw.Zeit bei Wechsel" }, 470{ "Set agenda to current time on change","Setze Agenda auf gegenw.Zeit bei Wechsel" },
471{ "Listview uses monthly timespan","Listenansicht zeigt monatliche Zeitspanne" }, 471{ "Listview uses monthly timespan","Listenansicht zeigt monatliche Zeitspanne" },
472{ "ViewChange","Ansichtswechsel" }, 472{ "ViewChange","Ansichtswechsel" },
473{ "Default alarm *.wav file:","Standard Alarm *.wav Datei:" }, 473{ "Default alarm *.wav file:","Standard Alarm *.wav Datei:" },
474{ "This setting is useless for 5500 user!","Diese Einst. ist nutzlos für 5500 Nutzer" }, 474{ "This setting is useless for 5500 user!","Diese Einst. ist nutzlos für 5500 Nutzer" },
475{ "File","Datei" }, 475{ "File","Datei" },
476{ "Clone...","Dupliziere..." }, 476{ "Clone...","Dupliziere..." },
477{ "Move...","Bewege..." }, 477{ "Move...","Bewege..." },
478{ "Beam...","Sende via IR..." }, 478{ "Beam...","Sende via IR..." },
479{ "&Clone...","Dupliziere.." }, 479{ "&Clone...","Dupliziere.." },
480{ "&Move...","Bewege..." }, 480{ "&Move...","Bewege..." },
481{ "&Beam...","Sende via IR..." }, 481{ "&Beam...","Sende via IR..." },
482{ "Show Completed","Zeige erledigte Todos" }, 482{ "Show Completed","Zeige erledigte Todos" },
483{ "Show Quick Todo","Zeige Quick Todo" }, 483{ "Show Quick Todo","Zeige Quick Todo" },
484{ "Unparent Todo","Un-sub Todo" }, 484{ "Unparent Todo","Un-sub Todo" },
485{ "Save selected to file...","Speichere Selektierte..." }, 485{ "Save selected to file...","Speichere Selektierte..." },
486{ "Add Categ. to selected...","Füge zu Selekt. Kateg. hinzu..." }, 486{ "Add Categ. to selected...","Füge zu Selekt. Kateg. hinzu..." },
487{ "Set Categ. for selected...","Setze Kateg. für Selekt." }, 487{ "Set Categ. for selected...","Setze Kateg. für Selekt." },
488{ "Beam selected via IR","Sende Selekt. via IR..." }, 488{ "Beam via IR","Sende via IR" },
489{ "Search","Suchen" }, 489{ "Search","Suchen" },
490{ "Date Picker","Datum auswählen" }, 490{ "Date Picker","Datum auswählen" },
491{ "Day View","Tagesansicht" }, 491{ "Day View","Tagesansicht" },
492{ "Work Week","Arbeitswoche" }, 492{ "Work Week","Arbeitswoche" },
493{ "Week","Wochenansicht" }, 493{ "Week","Wochenansicht" },
494{ "Month","Monatsansicht" }, 494{ "Month","Monatsansicht" },
495{ "Todo View","Todo Liste" }, 495{ "Todo View","Todo Liste" },
496{ "Journal","Journal" }, 496{ "Journal","Journal" },
497{ "Next days","Nächste Tage" }, 497{ "Next days","Nächste Tage" },
498{ "Print agenda selection...","Drucke Agendaselektion..." }, 498{ "Print agenda selection...","Drucke Agendaselektion..." },
499{ "Toggle DateNavigator","Navigator umschalten" }, 499{ "Toggle DateNavigator","Navigator umschalten" },
500{ "Toggle FilterView","Filteransicht umschalten" }, 500{ "Toggle FilterView","Filteransicht umschalten" },
501{ "Prev. month","Vorheriger Monat" }, 501{ "Prev. month","Vorheriger Monat" },
502{ "Go backward","Gehe zurück" }, 502{ "Go backward","Gehe zurück" },
503{ "Go forward","Gehe weiter" }, 503{ "Go forward","Gehe weiter" },
504{ "Synchronize","Synchronisieren" }, 504{ "Synchronize","Synchronisieren" },
505{ "AgendaSize","Agendagröße" }, 505{ "AgendaSize","Agendagröße" },
506{ "Import (*.ics/*.vcs) file","Importiere (*.ics/*.vcs) Datei" }, 506{ "Import (*.ics/*.vcs) file","Importiere (*.ics/*.vcs) Datei" },
507{ "Import last file","Importiere letzte Datei" }, 507{ "Import last file","Importiere letzte Datei" },
508{ "Import Opie/Qtopia Cal.","Importiere Opie/Qtopia Kal." }, 508{ "Import Opie/Qtopia Cal.","Importiere Opie/Qtopia Kal." },
509{ "Load Calendar Backup","Lade Kalender Backup" }, 509{ "Load Calendar Backup","Lade Kalender Backup" },
510{ "Save Calendar Backup...","Speichere Kalender Backup..." }, 510{ "Save Calendar Backup...","Speichere Kalender Backup..." },
511{ "Export VCalendar","Exportiere VCalendar" }, 511{ "Export VCalendar","Exportiere VCalendar" },
512{ "Manage new categories...","Verwalte neue Kategorien..." }, 512{ "Manage new categories...","Verwalte neue Kategorien..." },
513{ "Beam complete calendar...","Sende kompletten Kalender..." }, 513{ "Beam complete calendar...","Sende kompletten Kalender..." },
514{ "Beam filtered calendar...","Sende gefilterten Kalender..." }, 514{ "Beam filtered calendar...","Sende gefilterten Kalender..." },
515{ "Remote via ssh","Über Netzwerk via ssh" }, 515{ "Remote via ssh","Über Netzwerk via ssh" },
516{ "With local file","Mit lokaler Datei" }, 516{ "With local file","Mit lokaler Datei" },
517{ "With last file","Mit letzter Datei" }, 517{ "With last file","Mit letzter Datei" },
518{ "KO/Pi: Ready for beaming","KO/Pi: Bereit zum Senden" }, 518{ "KO/Pi: Ready for beaming","KO/Pi: Bereit zum Senden" },
519{ "KO/Pi:Beaming done","KO/Pi: Senden erfolgt" }, 519{ "KO/Pi:Beaming done","KO/Pi: Senden erfolgt" },
520{ "Save filename","Speichern: Dateinamen wählen" }, 520{ "Save filename","Speichern: Dateinamen wählen" },
521{ "File already exists!\nOld file from:\n%1\nOverwrite?\n","Dateiname existiert bereits!\nAlte Datei vom:\n%1\nÜberschreiben?\n" }, 521{ "File already exists!\nOld file from:\n%1\nOverwrite?\n","Dateiname existiert bereits!\nAlte Datei vom:\n%1\nÜberschreiben?\n" },
522{ "KO/Pi: Warning!","KO/Pi: Warnung!" }, 522{ "KO/Pi: Warning!","KO/Pi: Warnung!" },
523{ "Overwrite!","Überschreibe!" }, 523{ "Overwrite!","Überschreibe!" },
524{ "KO/Pi:Saved %1","KO/Pi:Gespeichert %1" }, 524{ "KO/Pi:Saved %1","KO/Pi:Gespeichert %1" },
525{ "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" }, 525{ "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{ "KO/Pi Confirmation","KO/Pi Bestätigung" }, 526{ "KO/Pi Confirmation","KO/Pi Bestätigung" },
527{ "Close dialog to abort deletion!","Schließe Dialog um das Löschen abzubrechen!" }, 527{ "Close dialog to abort deletion!","Schließe Dialog um das Löschen abzubrechen!" },
528{ "Deleting item %d ...","Lösche Eintrag %d ..." }, 528{ "Deleting item %d ...","Lösche Eintrag %d ..." },
529{ "%d items remaining in list.","%d Einträge sind in der Liste verblieben." }, 529{ "%d items remaining in list.","%d Einträge sind in der Liste verblieben." },
530{ "Size","Größe" }, 530{ "Size","Größe" },
531{ "Date","Datum" }, 531{ "Date","Datum" },
532{ "Mime Type","Datei Typ" }, 532{ "Mime Type","Datei Typ" },
533{ "All Files","Alle Dateien" }, 533{ "All Files","Alle Dateien" },
534{ "Files","Dateien" }, 534{ "Files","Dateien" },
535{ "Documents","DoKumente" }, 535{ "Documents","DoKumente" },
536{ "Select Categories","Selektiere Kategorien" }, 536{ "Select Categories","Selektiere Kategorien" },
537{ " &Deselect All "," Auswahl aufheben " }, 537{ " &Deselect All "," Auswahl aufheben " },
538{ "A&dd","Hinzu" }, 538{ "A&dd","Hinzu" },
539{ "&Modify","Ändern" }, 539{ "&Modify","Ändern" },
540{ "Edit Categories","Editiere Kategorien" }, 540{ "Edit Categories","Editiere Kategorien" },
541{ " &Edit Categories "," &Editiere Kategorien " }, 541{ " &Edit Categories "," &Editiere Kategorien " },
542{ "Beam Options","Beam Einstellungen" }, 542{ "Beam Options","Beam Einstellungen" },
543{ " With timezone "," Mit Zeitzone " }, 543{ " With timezone "," Mit Zeitzone " },
544{ " Local time ", " Lokale Zeit " }, 544{ " Local time ", " Lokale Zeit " },
545{ "Manage new Categories","Verwalte neue Kategorien" }, 545{ "Manage new Categories","Verwalte neue Kategorien" },
546{ "Add to category list","Füge zur Kategorieliste hinzu" }, 546{ "Add to category list","Füge zur Kategorieliste hinzu" },
547{ "Remove from Events/Todos","Entferne von Terminen/Todos" }, 547{ "Remove from Events/Todos","Entferne von Terminen/Todos" },
548{ "New categories not in list:","Kategorien, die nicht in der Liste sind:" }, 548{ "New categories not in list:","Kategorien, die nicht in der Liste sind:" },
549{ "File format","Datei Format" }, 549{ "File format","Datei Format" },
550{ "Time format","Zeit Format" }, 550{ "Time format","Zeit Format" },
551{ "KO/Pi:Saving Data to File ...","KO/Pi: Speichere Kalender in Datei ..." }, 551{ "KO/Pi:Saving Data to File ...","KO/Pi: Speichere Kalender in Datei ..." },
552{ "KO/Pi:File Saved. Needed %d sec, %d ms","KO/Pi: Abgespeichert in %d sec, %d ms" }, 552{ "KO/Pi:File Saved. Needed %d sec, %d ms","KO/Pi: Abgespeichert in %d sec, %d ms" },
553{ "h","Std" }, 553{ "h","Std" },
554{ "min","Min" }, 554{ "min","Min" },
555{ "hou","Std" }, 555{ "hou","Std" },
556{ "day","Tag" }, 556{ "day","Tag" },
557{ "French","Französich" }, 557{ "French","Französich" },
558{ "Time","Zeit" }, 558{ "Time","Zeit" },
559{ "Event Viewer","Termin Ansicht" }, 559{ "Event Viewer","Termin Ansicht" },
560{ "Cancel Sync","Sync Abbrechen" }, 560{ "Cancel Sync","Sync Abbrechen" },
561{ "Remote","Fern" }, 561{ "Remote","Fern" },
562{ "Local","Lokal" }, 562{ "Local","Lokal" },
563{ "Conflict! Please choose entry","Konflikt! Bitte Eintrag wählen" }, 563{ "Conflict! Please choose entry","Konflikt! Bitte Eintrag wählen" },
564{ "Local: ","Lokal: " }, 564{ "Local: ","Lokal: " },
565{ "Remote: ","Fern: " }, 565{ "Remote: ","Fern: " },
566{ "Last modified: ","Zuletzt geändert: " }, 566{ "Last modified: ","Zuletzt geändert: " },
567{ "Location: ","Ort: " }, 567{ "Location: ","Ort: " },
568{ "<p><b>From:</b> %1 </p><p><b>To:</b> %2</p>","<p><b>Von:</b> %1 </p><p><b>Bis:</b> %2</p>" }, 568{ "<p><b>From:</b> %1 </p><p><b>To:</b> %2</p>","<p><b>Von:</b> %1 </p><p><b>Bis:</b> %2</p>" },
569{ "<p><b>On:</b> %1</p>","<p><b>Am:</b> %1</p>" }, 569{ "<p><b>On:</b> %1</p>","<p><b>Am:</b> %1</p>" },
570{ "<p><b>From:</b> %1</p> ","<p><b>Von:</b> %1</p> " }, 570{ "<p><b>From:</b> %1</p> ","<p><b>Von:</b> %1</p> " },
571{ "<p><b>To:</b> %1</p>","<p><b>Bis:</b> %1</p>" }, 571{ "<p><b>To:</b> %1</p>","<p><b>Bis:</b> %1</p>" },
572{ "<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> " },
573{ "<p><b>From:</b> %1 <b>To:</b> %2</p>","<p><b>Von:</b> %1 <b>Bis:</b> %2</p>" }, 573{ "<p><b>From:</b> %1 <b>To:</b> %2</p>","<p><b>Von:</b> %1 <b>Bis:</b> %2</p>" },
574{ "This is a %1 recurring event.","Das ist ein %1 wiederholender Termin." }, 574{ "This is a %1 recurring event.","Das ist ein %1 wiederholender Termin." },
575{ "<b>Next recurrence is on:</b>","<b>Nächste Wiederholung ist am:</b>" }, 575{ "<b>Next recurrence is on:</b>","<b>Nächste Wiederholung ist am:</b>" },
576{ "<b>Last recurrence was on:</b>","<b>Letzte Wiederholung war am:</b>" }, 576{ "<b>Last recurrence was on:</b>","<b>Letzte Wiederholung war am:</b>" },
577{ "( %1 min before )","( %1 min vorher )" }, 577{ "( %1 min before )","( %1 min vorher )" },
578{ "<b>Alarm on: ","<b>Alarm am: " }, 578{ "<b>Alarm on: ","<b>Alarm am: " },
579{ "<b>Details: </b>","<b>Details: </b>" }, 579{ "<b>Details: </b>","<b>Details: </b>" },
580{ "<p><b>Priority:</b> %2</p>","<p><b>Priorität:</b> %2</p>" }, 580{ "<p><b>Priority:</b> %2</p>","<p><b>Priorität:</b> %2</p>" },
581{ "<p><i>%1 % completed</i></p>","<p><i>%1 % erledigt</i></p>" }, 581{ "<p><i>%1 % completed</i></p>","<p><i>%1 % erledigt</i></p>" },
582{ "Organizer","Organisator" }, 582{ "Organizer","Organisator" },
583{ "Save","Speichern" }, 583{ "Save","Speichern" },
584{ "Exit (+save)","Beenden (+ speichern)" }, 584{ "Exit (+save)","Beenden (+ speichern)" },
585{ "Home","Zuhause" }, 585{ "Home","Zuhause" },
586{ "Office","Büro" }, 586{ "Office","Büro" },
587{ "Library","Bibliothek" }, 587{ "Library","Bibliothek" },
588{ "Doctor","Arzt" }, 588{ "Doctor","Arzt" },
589{ "Beach","Strand" }, 589{ "Beach","Strand" },
590{ "Conference room","Konferenzraum" }, 590{ "Conference room","Konferenzraum" },
591{ "Drive Home","Heimfahrt" }, 591{ "Drive Home","Heimfahrt" },
592{ "Watch TV","Tv gucken" }, 592{ "Watch TV","Tv gucken" },
593{ "Phone call","Telefonanruf" }, 593{ "Phone call","Telefonanruf" },
594{ "Pay bill","Rechnung bezahlen" }, 594{ "Pay bill","Rechnung bezahlen" },
595{ "Read book","Buch lesen" }, 595{ "Read book","Buch lesen" },
596{ "Watering plants","Pflanzen giessen" }, 596{ "Watering plants","Pflanzen giessen" },
597{"Appointment","Verabredung" }, 597{"Appointment","Verabredung" },
598{"Birthday","Geburtstag" }, 598{"Birthday","Geburtstag" },
599{"Business","Geschäft" }, 599{"Business","Geschäft" },
600{"Business Travel","Geschäftsreise" }, 600{"Business Travel","Geschäftsreise" },
601{"Cinema","Kino" }, 601{"Cinema","Kino" },
602{"Customer","Kunde" }, 602{"Customer","Kunde" },
603{"Break","Pause" }, 603{"Break","Pause" },
604{"Breakfast","Frühstück" }, 604{"Breakfast","Frühstück" },
605{"Competition","Wettkampf" }, 605{"Competition","Wettkampf" },
606{"Dinner","Abendessen" }, 606{"Dinner","Abendessen" },
607{"Education","Erziehung" }, 607{"Education","Erziehung" },
608{"Family","Familie" }, 608{"Family","Familie" },
609{"Favorites","Favoriten" }, 609{"Favorites","Favoriten" },
610{"Festival","Festival" }, 610{"Festival","Festival" },
611{"Fishing","Angeln" }, 611{"Fishing","Angeln" },
612{"Flight","Flug" }, 612{"Flight","Flug" },
613{"Gifts","Geschenk" }, 613{"Gifts","Geschenk" },
614{"Holiday","Feiertag" }, 614{"Holiday","Feiertag" },
615{"Holiday Cards","Ansichtskarten" }, 615{"Holiday Cards","Ansichtskarten" },
616{"Hot Contacts","Heisse Kontakte" }, 616{"Hot Contacts","Heisse Kontakte" },
617{"Hiking","Wandern" }, 617{"Hiking","Wandern" },
618{"Hunting","Jagen" }, 618{"Hunting","Jagen" },
619{"Key Customer","Wichtiger Kunde" }, 619{"Key Customer","Wichtiger Kunde" },
620{"Kids","Kinder" }, 620{"Kids","Kinder" },
621{"Lunch","Mittagessen" }, 621{"Lunch","Mittagessen" },
622{"Meeting","Treffen" }, 622{"Meeting","Treffen" },
623{"Miscellaneous","Verschiedenes" }, 623{"Miscellaneous","Verschiedenes" },
624{"Partner","Partner" }, 624{"Partner","Partner" },
625{"Party","Partie" }, 625{"Party","Partie" },
626{"Personal","Privat" }, 626{"Personal","Privat" },
627{"Personal Travel","Privatreise"}, 627{"Personal Travel","Privatreise"},
628{"PHB","PHB" }, 628{"PHB","PHB" },
629{"Phone Calls","Telefonanruf" }, 629{"Phone Calls","Telefonanruf" },
630{"Projects","Projekt" }, 630{"Projects","Projekt" },
631{"Recurring","Wiederholend" }, 631{"Recurring","Wiederholend" },
632{"School","Schule" }, 632{"School","Schule" },
633{"Shopping","Einkaufen" }, 633{"Shopping","Einkaufen" },
634{"Speach","Rede" }, 634{"Speach","Rede" },
635{"Special Occasion","Spez.Gelegenheit" }, 635{"Special Occasion","Spez.Gelegenheit" },
636{"Sports","Sport" }, 636{"Sports","Sport" },
637{"Talk","Vortrag" }, 637{"Talk","Vortrag" },
638{"Travel","Reise" }, 638{"Travel","Reise" },
639{"TV","TV" }, 639{"TV","TV" },
640{"Germany","Deutschland" }, 640{"Germany","Deutschland" },
641{"Sweden","Schweden" }, 641{"Sweden","Schweden" },
642{"Forest","Wald" }, 642{"Forest","Wald" },
643{ "Desert","Wüste" }, 643{ "Desert","Wüste" },
644{ "Kitchen","Küche" }, 644{ "Kitchen","Küche" },
645{ "Lake","See" }, 645{ "Lake","See" },
646{"University","Universität"}, 646{"University","Universität"},
647{"Vacation","Urlaub" }, 647{"Vacation","Urlaub" },
648{"VIP","VIP" }, 648{"VIP","VIP" },
649{ "Import Sharp Calendar","Importiere Sharp Kalender" }, 649{ "Import Sharp Calendar","Importiere Sharp Kalender" },
650{ "This todo has been cancelled!","Dieses Todo wurde gecancelt!" }, 650{ "This todo has been cancelled!","Dieses Todo wurde gecancelt!" },
651{ "This event has been cancelled!","Dieser Termin wurde gecancelt!" }, 651{ "This event has been cancelled!","Dieser Termin wurde gecancelt!" },
652{ "Cancelled","Gecancelt" }, 652{ "Cancelled","Gecancelt" },
653{ "Multiple sync","Mehrfach Sync" }, 653{ "Multiple sync","Mehrfach Sync" },
654{ "Local file","Lokale Datei" }, 654{ "Local file","Lokale Datei" },
655{ "Last file","Letzte Datei" }, 655{ "Last file","Letzte Datei" },
656{ "Keys + Colors...","Tasten + Farben..." }, 656{ "Keys + Colors...","Tasten + Farben..." },
657{ "Mini icons in toolbar(nr)","Mini Icons in ToolBar(bn)" }, 657{ "Mini icons in toolbar(nr)","Mini Icons in ToolBar(bn)" },
658{ "Quick load/save (w/o Unicode)","Schnelles Laden/Speichern (o Unicode)" }, 658{ "Quick load/save (w/o Unicode)","Schnelles Laden/Speichern (o Unicode)" },
659{ "Choose...","Wähle..." }, 659{ "Choose...","Wähle..." },
660{ "Use colors for application:","Setze Farben für Programm:" }, 660{ "Use colors for application:","Setze Farben für Programm:" },
661{ "Buttons, menus, etc.:","Knöpfe, Menu, etc.:" }, 661{ "Buttons, menus, etc.:","Knöpfe, Menu, etc.:" },
662{ "Frames, labels, etc.:","Rahmen, Label, etc.:" }, 662{ "Frames, labels, etc.:","Rahmen, Label, etc.:" },
663{ "Show parent To-Do's","Zeige Ober-Todos" }, 663{ "Show parent To-Do's","Zeige Ober-Todos" },
664{ "Show location","Zeige Orte" }, 664{ "Show location","Zeige Orte" },
665{ "Show events that recur ","Zeige Termine, die sich wiederholen:" }, 665{ "Show events that recur ","Zeige Termine, die sich wiederholen:" },
666{ "Show in every cell ","Zeige in jeder Zelle " }, 666{ "Show in every cell ","Zeige in jeder Zelle " },
667{ "short month","kurzen Monat" }, 667{ "short month","kurzen Monat" },
668{ "icons","Icons" }, 668{ "icons","Icons" },
669{ "Show Sat/Sun together","Zeige Sam/Son zusammen" }, 669{ "Show Sat/Sun together","Zeige Sam/Son zusammen" },
670{ "Category colors are applied to text","Kategorie Farben färben Text" }, 670{ "Category colors are applied to text","Kategorie Farben färben Text" },
671{ "Month view uses day colors","Monatsansicht zeigt Tagesfarben" }, 671{ "Month view uses day colors","Monatsansicht zeigt Tagesfarben" },
672{ "Day color odd months","Tagesfarbe ungerade Monate" }, 672{ "Day color odd months","Tagesfarbe ungerade Monate" },
673{ "Day color even months","Tagesfarbe gerade Monate" }, 673{ "Day color even months","Tagesfarbe gerade Monate" },
674{ "Color for Sundays + category \"Holiday\"","Farbe für Sonntag + Kateg.\" Feiertag\"" }, 674{ "Color for Sundays + category \"Holiday\"","Farbe für Sonntag + Kateg.\" Feiertag\"" },
675{ "To-do view shows complete as 'xx %'","Zeige Prozent erledigt als 'xx %'" }, 675{ "To-do view shows complete as 'xx %'","Zeige Prozent erledigt als 'xx %'" },
676{ "Small To-do view uses smaller font","Kleine To-do Ansicht nutzt kleineren Font" }, 676{ "Small To-do view uses smaller font","Kleine To-do Ansicht nutzt kleineren Font" },
677{ "Colors are applied to text","Farben werden auf Text angewendet" }, 677{ "Colors are applied to text","Farben werden auf Text angewendet" },
678{ "Use internal alarm notification","Nutze interne Alarm Benachrichtigung" }, 678{ "Use internal alarm notification","Nutze interne Alarm Benachrichtigung" },
679{ "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" }, 679{ "Note: KO/Pi must be running to notify you about an alarm. Recommended for use on Zaurus: Disable this option and install KO/Pi alarm applet.\n","Achtung: KO/Pi muß ausgeführt werden damit die Benachrichtigung funktioniert. Empfehlung für Zaurus: Diese Option nicht wählen und KO/Pi Alarm Applet installieren.\n" },
680{ "Play beeps count:","Anzahl der Alarmpiepse: " }, 680{ "Play beeps count:","Anzahl der Alarmpiepse: " },
681{ "Beeps interval in sec:","Zeitintervall der Alarmpiepse: " }, 681{ "Beeps interval in sec:","Zeitintervall der Alarmpiepse: " },
682{ "Default suspend time in min:","Standard Supendierungs Zeit: " }, 682{ "Default suspend time in min:","Standard Supendierungs Zeit: " },
683{ "Auto suspend count:","Anzahl der auto Suspendierungen" }, 683{ "Auto suspend count:","Anzahl der auto Suspendierungen" },
684{ "Alarm *.wav file for newly created alarm:","Alarm *.wav Datei für neu angelegte Alarme:" }, 684{ "Alarm *.wav file for newly created alarm:","Alarm *.wav Datei für neu angelegte Alarme:" },
685{ "New profile","Neues Profil" }, 685{ "New profile","Neues Profil" },
686{ "Clone profile","Klone Profil" }, 686{ "Clone profile","Klone Profil" },
687{ "Delete profile","Lösche Profil" }, 687{ "Delete profile","Lösche Profil" },
688{ "Profile:","Profil:" }, 688{ "Profile:","Profil:" },
689{ "Include in multiple sync","Beziehe Profil in mehrfach Sync mit ein" }, 689{ "Include in multiple sync","Beziehe Profil in mehrfach Sync mit ein" },
690{ "Force: Take local entry always","Erzwinge: Nimm immer lokalen Eintrag" }, 690{ "Force: Take local entry always","Erzwinge: Nimm immer lokalen Eintrag" },
691{ "Force: Take remote entry always","Erzwinge: Nimm immer fernen Eintrag" }, 691{ "Force: Take remote entry always","Erzwinge: Nimm immer fernen Eintrag" },
692{ "Show summary after sync","Zeige Zusammenfassung nach dem Synchronisieren" }, 692{ "Show summary after sync","Zeige Zusammenfassung nach dem Synchronisieren" },
693{ "Write back file","Schreibe Datei zurück" }, 693{ "Write back file","Schreibe Datei zurück" },
694{ "Remote file (w down/upload command)","Entfernte Datei (via down/upload Kommando)" }, 694{ "Remote file (w down/upload command)","Entfernte Datei (via down/upload Kommando)" },
695{ "Pre sync (download) command:","Bevor Sync (download) Kommando:" }, 695{ "Pre sync (download) command:","Bevor Sync (download) Kommando:" },
696{ "Local device name:","Name dieses Gerätes:" }, 696{ "Local device name:","Name dieses Gerätes:" },
697{ "Ask for preferences before sync","Frage nach Synchronisationseinstellungen vor dem Syncen" }, 697{ "Ask for preferences before sync","Frage nach Synchronisationseinstellungen vor dem Syncen" },
698{ "Sync preferences","Synchronisations Einstellungen" }, 698{ "Sync preferences","Synchronisations Einstellungen" },
699{ "Profile kind","Profil Art" }, 699{ "Profile kind","Profil Art" },
700{ "Local file","Lokale Datei" }, 700{ "Local file","Lokale Datei" },
701{ "Local file:","Lokale Datei:" }, 701{ "Local file:","Lokale Datei:" },
702{ "Post sync (upload) command:","Nach Sync (upload) Kommando:" }, 702{ "Post sync (upload) command:","Nach Sync (upload) Kommando:" },
703{ "Fill in default values for:","Setze Beispiel Werte ein für:" }, 703{ "Fill in default values for:","Setze Beispiel Werte ein für:" },
704{ "Hint: Use $PWD$ for placeholder of password!","Hinweis: Benutze $PWD$ als Platzhalter für ein Passwort!" }, 704{ "Hint: Use $PWD$ for placeholder of password!","Hinweis: Benutze $PWD$ als Platzhalter für ein Passwort!" },
705{ "Synchronization Preferences","Einstellungen der Synchronisationsprofile"}, 705{ "Synchronization Preferences","Einstellungen der Synchronisationsprofile"},
706{ "Device","Gerät:" }, 706{ "Device","Gerät:" },
707{ "Sync with file \n...%1\nfrom:\n%2\n","Sync mit Datei \n...%1\nvom:\n%2\n" }, 707{ "Sync with file \n...%1\nfrom:\n%2\n","Sync mit Datei \n...%1\nvom:\n%2\n" },
708{ "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" }, 708{ "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" },
709{ "Synchronization successful","Synchronisation erfolgreich" }, 709{ "Synchronization successful","Synchronisation erfolgreich" },
710{ "Sync cancelled or failed. Nothing synced.","Sync abgebrochen oder fehlgeschlagen. Nichts wurde gesynced." }, 710{ "Sync cancelled or failed. Nothing synced.","Sync abgebrochen oder fehlgeschlagen. Nichts wurde gesynced." },
711{ "Sync file \n...%1\ndoes not exist!\nNothing synced!\n","Sync Datei \n...%1\nexistiert nicht!\nNichts wurde gesynced!\n" }, 711{ "Sync file \n...%1\ndoes not exist!\nNothing synced!\n","Sync Datei \n...%1\nexistiert nicht!\nNichts wurde gesynced!\n" },
712{ "Sync filename(*.ics/*.vcs)","Sync Dateiname(*.ics/*.vcs)" }, 712{ "Sync filename(*.ics/*.vcs)","Sync Dateiname(*.ics/*.vcs)" },
713{ "Enter password","Passwort eingeben" }, 713{ "Enter password","Passwort eingeben" },
714{ "Do you really want\nto remote sync\nwith profile \n","Wollen Sie wirklich\nmit dem entfernten\nProfil syncen: \n" }, 714{ "Do you really want\nto remote sync\nwith profile \n","Wollen Sie wirklich\nmit dem entfernten\nProfil syncen: \n" },
715{ "Copy remote file to local machine...","Kopiere entfernte Datei auf lokalen Rechner..." }, 715{ "Copy remote file to local machine...","Kopiere entfernte Datei auf lokalen Rechner..." },
716{ "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" }, 716{ "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" },
717{ "Writing back file result: ","Resultat des Dateizurückschreibens: " }, 717{ "Writing back file result: ","Resultat des Dateizurückschreibens: " },
718{ "Syncronization sucessfully completed","Synchronisation erfolgreich abgeschlossen" }, 718{ "Syncronization sucessfully completed","Synchronisation erfolgreich abgeschlossen" },
719{ "Edit Calendar Filters","Editiere Kalendar Filter" }, 719{ "Edit Calendar Filters","Editiere Kalendar Filter" },
720{ "Enter filter name:","Neuer Filter Name:" }, 720{ "Enter filter name:","Neuer Filter Name:" },
721{ "Add Filter","Filter hinzufügen" }, 721{ "Add Filter","Filter hinzufügen" },
722{ "Question","Frage" }, 722{ "Question","Frage" },
723{ "Filter position: ","Filter Position: " }, 723{ "Filter position: ","Filter Position: " },
724{ "Month View","Monatsansicht" }, 724{ "Month View","Monatsansicht" },
725{ "This profil cannot be deleted!\n","Dieses Profil kann\nnicht gelöscht werden!" }, 725{ "This profil cannot be deleted!\n","Dieses Profil kann\nnicht gelöscht werden!" },
726{ "KO/Pi config error","KO/Pi Konfig. Fehler" }, 726{ "KO/Pi config error","KO/Pi Konfig. Fehler" },
727{ "Local device name undefined!\nPlease define device name!","Name dieses Gerätes undefiniert!\nBitte Namen angeben!" }, 727{ "Local device name undefined!\nPlease define device name!","Name dieses Gerätes undefiniert!\nBitte Namen angeben!" },
728{ "Multiple profiles with same name!\nPlease use unique profile names!","Mehrere Profile haben denselben Namen!\nBitte unterschiedliche Namen wählen!" }, 728{ "Multiple profiles with same name!\nPlease use unique profile names!","Mehrere Profile haben denselben Namen!\nBitte unterschiedliche Namen wählen!" },
729{ "Access: ","Zugriff: " }, 729{ "Access: ","Zugriff: " },
730{ "Needs Action","Aktion notwendig" }, 730{ "Needs Action","Aktion notwendig" },
731{ "Accepted","Akzeptiert" }, 731{ "Accepted","Akzeptiert" },
732{ "Declined","Abgelehnt" }, 732{ "Declined","Abgelehnt" },
733{ "Tentative","Vorläufig" }, 733{ "Tentative","Vorläufig" },
734{ "Delegated","Beauftragt" }, 734{ "Delegated","Beauftragt" },
735{ "Completed","Vollständig" }, 735{ "Completed","Vollständig" },
736{ "In Process","In Bearbeitung" }, 736{ "In Process","In Bearbeitung" },
737{ "Participant","Teilnehmer" }, 737{ "Participant","Teilnehmer" },
738{ "Optional Participant","Möglicher Teilnehmer" }, 738{ "Optional Participant","Möglicher Teilnehmer" },
739{ "Observer","Beobachter" }, 739{ "Observer","Beobachter" },
740{ "Chair","Vorsitzender" }, 740{ "Chair","Vorsitzender" },
741{ "Not supported \non desktop!\n","" }, 741{ "Not supported \non desktop!\n","" },
742{ "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) " }, 742{ "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) " },
743{ "Date range: ","Datums Zeitspanne: " }, 743{ "Date range: ","Datums Zeitspanne: " },
744{ "Not supported \non PDA!\n","Nicht verfügbar\nauf dem PDA. " }, 744{ "Not supported \non PDA!\n","Nicht verfügbar\nauf dem PDA. " },
@@ -943,550 +943,556 @@
943{ "Mobile device (cell phone)","Mobiles Gerät (Handy)" }, 943{ "Mobile device (cell phone)","Mobiles Gerät (Handy)" },
944{ "Help...","Hilfe..." }, 944{ "Help...","Hilfe..." },
945{ "Local file Cal:","Lokale Datei Kal:" }, 945{ "Local file Cal:","Lokale Datei Kal:" },
946{ "Local file ABook:","Lokale Datei ABuch:" }, 946{ "Local file ABook:","Lokale Datei ABuch:" },
947{ "Local file PWMgr:","Lokale Datei PWMgr:" }, 947{ "Local file PWMgr:","Lokale Datei PWMgr:" },
948{ "Addressbook file (*.vcf) is used by KA/Pi","Adressbuch Datei (*.vcf) wird von KA/Pi genutzt" }, 948{ "Addressbook file (*.vcf) is used by KA/Pi","Adressbuch Datei (*.vcf) wird von KA/Pi genutzt" },
949{ "Calendar:","Kalender:" }, 949{ "Calendar:","Kalender:" },
950{ "AddressBook:","AdressBuch:" }, 950{ "AddressBook:","AdressBuch:" },
951{ "PWManager:","PWManager:" }, 951{ "PWManager:","PWManager:" },
952{ "Addressbook file is used by KA/Pi","Adressbuch Datei wird von KA/Pi genutzt" }, 952{ "Addressbook file is used by KA/Pi","Adressbuch Datei wird von KA/Pi genutzt" },
953{ "ssh/scp","ssh/scp" }, 953{ "ssh/scp","ssh/scp" },
954{ "ftp","ftp" }, 954{ "ftp","ftp" },
955{ "Password for remote access: (could be the same for each)","Passwort für entfernten Zugriff: (kann dasselbe sein für alle)" }, 955{ "Password for remote access: (could be the same for each)","Passwort für entfernten Zugriff: (kann dasselbe sein für alle)" },
956{ "Remote IP address: (could be the same for each)","Entfernte IP Adresse: (kann dasselbe sein für alle)" }, 956{ "Remote IP address: (could be the same for each)","Entfernte IP Adresse: (kann dasselbe sein für alle)" },
957{ "Remote port number: (should be different for each)","Entfernte Port Nummer: (Sollte für alle unterschiedlich sein)" }, 957{ "Remote port number: (should be different for each)","Entfernte Port Nummer: (Sollte für alle unterschiedlich sein)" },
958{ "command for downloading remote file to local device","Kommando zum Download der entfernten Datei zum lokalen Gerät" }, 958{ "command for downloading remote file to local device","Kommando zum Download der entfernten Datei zum lokalen Gerät" },
959{ "command for uploading local temp file to remote device","Kommando zum Upload der lokalen temp. Datei zum entfernten Gerät" }, 959{ "command for uploading local temp file to remote device","Kommando zum Upload der lokalen temp. Datei zum entfernten Gerät" },
960{ "Insert device where\nphone is connected. E.g.:\n","Füge Device ein, an dem\ndas Handy angeschlossen ist. Z.B.:\n" }, 960{ "Insert device where\nphone is connected. E.g.:\n","Füge Device ein, an dem\ndas Handy angeschlossen ist. Z.B.:\n" },
961{ "KDE-Pim sync config","KDE-Pim sync Konfig" }, 961{ "KDE-Pim sync config","KDE-Pim sync Konfig" },
962{ "Insert kind of connection,e.g.:\n","Füge Art der Verbindung ein,z.B.:\n" }, 962{ "Insert kind of connection,e.g.:\n","Füge Art der Verbindung ein,z.B.:\n" },
963{ "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" }, 963{ "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" },
964{ "Port number (Default: %1)","Port Nummer (Default: %1)" }, 964{ "Port number (Default: %1)","Port Nummer (Default: %1)" },
965{ "Password to enable\naccess from remote:","Passwort um entfernten\nZugriff zuzulassen:" }, 965{ "Password to enable\naccess from remote:","Passwort um entfernten\nZugriff zuzulassen:" },
966{ "Automatically start\nat application startup","Starte automatisch\nbeim Programmstart" }, 966{ "Automatically start\nat application startup","Starte automatisch\nbeim Programmstart" },
967{ "Automatically sync\nwith KDE-Desktop","Automatischer Sync\nmit dem KDE-Desktop" }, 967{ "Automatically sync\nwith KDE-Desktop","Automatischer Sync\nmit dem KDE-Desktop" },
968{ "Enter port for Pi-Sync","Port Nummer für Pi-Sync" }, 968{ "Enter port for Pi-Sync","Port Nummer für Pi-Sync" },
969{ "Disable Pi-Sync","Schalte Pi-Sync aus" }, 969{ "Disable Pi-Sync","Schalte Pi-Sync aus" },
970{ "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!" }, 970{ "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!" },
971{ "KDE-Pim Sync","KDE-Pim Sync" }, 971{ "KDE-Pim Sync","KDE-Pim Sync" },
972{ "Multiple profiles","Multi-Sync Profile" }, 972{ "Multiple profiles","Multi-Sync Profile" },
973{ "Device: ","Gerät: " }, 973{ "Device: ","Gerät: " },
974{ "Multiple sync started.","Multi-Sync gestartet." }, 974{ "Multiple sync started.","Multi-Sync gestartet." },
975{ "Nothing synced! No profiles defined for multisync!","Nichts gesynct! Keine Profile\nselektiert für Multi-Sync" }, 975{ "Nothing synced! No profiles defined for multisync!","Nichts gesynct! Keine Profile\nselektiert für Multi-Sync" },
976{ "Turn filter on","Schalte Filter an" }, 976{ "Turn filter on","Schalte Filter an" },
977{ "Turn filter off","Schalte Filter aus" }, 977{ "Turn filter off","Schalte Filter aus" },
978{ "Key bindings KOrganizer/Pi","Tastatur Belegung KOrganizer/Pi" }, 978{ "Key bindings KOrganizer/Pi","Tastatur Belegung KOrganizer/Pi" },
979{ "<p><b>White</b>: Item readonly</p>\n","<p><b>Weiss</b>: Eintrag schreibgeschützt</p>\n" }, 979{ "<p><b>White</b>: Item readonly</p>\n","<p><b>Weiss</b>: Eintrag schreibgeschützt</p>\n" },
980{ "<p><b>Dark yellow</b>: Event/todo with attendees.</p>\n","<p><b>Dunkelgelb</b>: Termin/Todo mit Teilnehmern.</p>\n" }, 980{ "<p><b>Dark yellow</b>: Event/todo with attendees.</p>\n","<p><b>Dunkelgelb</b>: Termin/Todo mit Teilnehmern.</p>\n" },
981{ "<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" }, 981{ "<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" },
982{ "<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" }, 982{ "<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" },
983{ "<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" }, 983{ "<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" },
984{ "<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" }, 984{ "<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" },
985{ "<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" }, 985{ "<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" },
986{ "<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" }, 986{ "<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" },
987{ "<p><h2>KO/Pi icon colors:</h2></p>\n","<p><h2>KO/Pi Icon Farben:</h2></p>\n" }, 987{ "<p><h2>KO/Pi icon colors:</h2></p>\n","<p><h2>KO/Pi Icon Farben:</h2></p>\n" },
988{ "<p><b>E</b>: Edit item</p>\n","<p><b>E</b>: Editiere Eintrag</p>\n" }, 988{ "<p><b>E</b>: Edit item</p>\n","<p><b>E</b>: Editiere Eintrag</p>\n" },
989{ "<p><b>A</b>: Show agenda view.</p>\n","<p><b>A</b>: Zeige Agenda Ansicht.</p>\n" }, 989{ "<p><b>A</b>: Show agenda view.</p>\n","<p><b>A</b>: Zeige Agenda Ansicht.</p>\n" },
990{ "<p><b>I,C</b>: Close dialog.</p>\n","<p><b>I,C</b>: Schließe Dialog.</p>\n" }, 990{ "<p><b>I,C</b>: Close dialog.</p>\n","<p><b>I,C</b>: Schließe Dialog.</p>\n" },
991{ "<p><h3>In event/todo viewer:</h3></p>\n","<p><h3>In Termin/Todo Detail-Anzeige:</h3></p>\n" }, 991{ "<p><h3>In event/todo viewer:</h3></p>\n","<p><h3>In Termin/Todo Detail-Anzeige:</h3></p>\n" },
992{ "<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" }, 992{ "<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" },
993{ "<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" }, 993{ "<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" },
994{ "<p><b>up/down</b>: Next/prev item</p>\n","<p><b>up/down</b>: Nächster/vorheriger Eintrag</p>\n" }, 994{ "<p><b>up/down</b>: Next/prev item</p>\n","<p><b>up/down</b>: Nächster/vorheriger Eintrag</p>\n" },
995{ "<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" }, 995{ "<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" },
996{ "<p><b>return</b>: Select item+one step down</p>\n","<p><b>return</b>: Selektiere Item+Cursor einen Eintrag runter</p>\n" }, 996{ "<p><b>return</b>: Select item+one step down</p>\n","<p><b>return</b>: Selektiere Item+Cursor einen Eintrag runter</p>\n" },
997{ "<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" }, 997{ "<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" },
998{ "<p><h3>In list view:</h3></p>\n","<p><h3>In Listen Ansicht:</h3></p>\n" }, 998{ "<p><h3>In list view:</h3></p>\n","<p><h3>In Listen Ansicht:</h3></p>\n" },
999{ "<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" }, 999{ "<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" },
1000{ "<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" }, 1000{ "<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" },
1001{ "<p><b>Q</b>: Toggle quick todo line edit.</p>\n","<p><b>Q</b>: Zeige/verstecke Quick Todo Eingabe Zeile.</p>\n" }, 1001{ "<p><b>Q</b>: Toggle quick todo line edit.</p>\n","<p><b>Q</b>: Zeige/verstecke Quick Todo Eingabe Zeile.</p>\n" },
1002{ "<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" }, 1002{ "<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" },
1003{ "<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" }, 1003{ "<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" },
1004{ "<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" }, 1004{ "<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" },
1005{ "<p><h3>In todo view:</h3></p>\n","<p><h3>In Todo Anzige:</h3></p>\n" }, 1005{ "<p><h3>In todo view:</h3></p>\n","<p><h3>In Todo Anzige:</h3></p>\n" },
1006{ "<p><b>ctrl+up/down</b>: Scroll small todo view</p>\n","<p><b>ctrl+up/down</b>: Scrolle kleine Todo Ansicht</p>\n" }, 1006{ "<p><b>ctrl+up/down</b>: Scroll small todo view</p>\n","<p><b>ctrl+up/down</b>: Scrolle kleine Todo Ansicht</p>\n" },
1007{ "<p><b>up/down</b>: Scroll agenda view</p>\n","<p><b>up/down</b>: Scrolle Agenda Ansicht</p>\n" }, 1007{ "<p><b>up/down</b>: Scroll agenda view</p>\n","<p><b>up/down</b>: Scrolle Agenda Ansicht</p>\n" },
1008{ "<p><h3>In agenda view:</h3></p>\n","<p><h3>In Agenda Ansicht:</h3></p>\n" }, 1008{ "<p><h3>In agenda view:</h3></p>\n","<p><h3>In Agenda Ansicht:</h3></p>\n" },
1009{ "<p><b>del,backspace</b>: Delete selected item</p>\n","<p><b>del,backspace</b>: Lösche selektiertes Item</p>\n" }, 1009{ "<p><b>del,backspace</b>: Delete selected item</p>\n","<p><b>del,backspace</b>: Lösche selektiertes Item</p>\n" },
1010{ "<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" }, 1010{ "<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" },
1011{ "<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" }, 1011{ "<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" },
1012{ "<p><b>B</b>: Edit description (details) of selected item</p>\n","<p><b>B</b>: Editiere Beschreibung (Details) des selektierten Items</p>\n" }, 1012{ "<p><b>B</b>: Edit description (details) of selected item</p>\n","<p><b>B</b>: Editiere Beschreibung (Details) des selektierten Items</p>\n" },
1013{ "<p><b>C</b>: Show current time in agenda view</p>\n","<p><b>C</b>: Zeige aktuelle Zeit in Agenda Ansicht</p>\n" }, 1013{ "<p><b>C</b>: Show current time in agenda view</p>\n","<p><b>C</b>: Zeige aktuelle Zeit in Agenda Ansicht</p>\n" },
1014{ "<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" }, 1014{ "<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" },
1015{ "<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" }, 1015{ "<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" },
1016{ "<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" }, 1016{ "<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" },
1017{ "<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" }, 1017{ "<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" },
1018{ "<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" }, 1018{ "<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" },
1019{ "<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" }, 1019{ "<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" },
1020{ "<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" }, 1020{ "<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" },
1021{ "<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 " }, 1021{ "<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 " },
1022{ "<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" }, 1022{ "<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" },
1023{ "<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" }, 1023{ "<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" },
1024{ "<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" }, 1024{ "<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" },
1025{ "<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" }, 1025{ "<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" },
1026{ "<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" }, 1026{ "<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" },
1027{ "<p><h2>KO/Pi key shortcuts:</h2></p>\n","<p><h2>KO/Pi Tastatur Kurzbefehle:</h2></p>\n" }, 1027{ "<p><h2>KO/Pi key shortcuts:</h2></p>\n","<p><h2>KO/Pi Tastatur Kurzbefehle:</h2></p>\n" },
1028{ "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" }, 1028{ "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" },
1029{ "Auto Saving in KOrganizer/Pi","Auto Speichern in KOrganizer/Pi" }, 1029{ "Auto Saving in KOrganizer/Pi","Auto Speichern in KOrganizer/Pi" },
1030{ "\nhttp://sourceforge.net/projects/kdepimpi\n","\nhttp://sourceforge.net/projects/kdepimpi\n" }, 1030{ "\nhttp://sourceforge.net/projects/kdepimpi\n","\nhttp://sourceforge.net/projects/kdepimpi\n" },
1031{ "\nor report them in the bugtracker on\n","\noder trage sie in dem Bugtracker ein auf\n" }, 1031{ "\nor report them in the bugtracker on\n","\noder trage sie in dem Bugtracker ein auf\n" },
1032{ "\nPlease report unexpected behaviour to\nlutz@pi-sync.info\n","\nBitte melde fehlerhaftes Verhalten an\nlutz@pi-sync.info\n" }, 1032{ "\nPlease report unexpected behaviour to\nlutz@pi-sync.info\n","\nBitte melde fehlerhaftes Verhalten an\nlutz@pi-sync.info\n" },
1033{ "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" }, 1033{ "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" },
1034{ "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" }, 1034{ "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" },
1035{ "Known Problems in KOrganizer/Pi","Bekannte Probleme in KOrganizer/Pi" }, 1035{ "Known Problems in KOrganizer/Pi","Bekannte Probleme in KOrganizer/Pi" },
1036{ "KO/Pi FAQ","KO/Pi FAQ" }, 1036{ "KO/Pi FAQ","KO/Pi FAQ" },
1037{ "PDA-Edition\nfor: Zaurus 5x00/7x0/860/3000/6000\n","PDA-Edition\nfür: Zaurus 5x00/7x0/860/3000/6000\n" }, 1037{ "PDA-Edition\nfor: Zaurus 5x00/7x0/860/3000/6000\n","PDA-Edition\nfür: Zaurus 5x00/7x0/860/3000/6000\n" },
1038{ "KOrganizer/Platform-independent\n","KOrganizer/Platform-independent\n" }, 1038{ "KOrganizer/Platform-independent\n","KOrganizer/Platform-independent\n" },
1039{ "About KOrganizer/Pi","Über KOrganizer/Pi" }, 1039{ "About KOrganizer/Pi","Über KOrganizer/Pi" },
1040{ "From: ","Von: " }, 1040{ "From: ","Von: " },
1041{ "Remove sync info","Entferne Sync Info" }, 1041{ "Remove sync info","Entferne Sync Info" },
1042{ "For all profiles","Für alle Profile" }, 1042{ "For all profiles","Für alle Profile" },
1043{ "Hide not Running","Verstecke nicht Laufende" }, 1043{ "Hide not Running","Verstecke nicht Laufende" },
1044{ "ME","ME" }, 1044{ "ME","ME" },
1045{ "Toolbar","Toolbar" }, 1045{ "Toolbar","Toolbar" },
1046{ "Undo Delete...","Löschen rückgängig machen..." }, 1046{ "Undo Delete...","Löschen rückgängig machen..." },
1047{ "Undo Delete","Löschen rückgängig machen" }, 1047{ "Undo Delete","Löschen rückgängig machen" },
1048{ "KDE Sync HowTo...","KDE Sync HowTo..." }, 1048{ "KDE Sync HowTo...","KDE Sync HowTo..." },
1049{ "Multi Sync HowTo...","Multi Sync HowTo..." }, 1049{ "Multi Sync HowTo...","Multi Sync HowTo..." },
1050{ "Januar","Januar" }, 1050{ "Januar","Januar" },
1051{ "KO/Pi Keys + Colors","KO/Pi Tasten + Farben" }, 1051{ "KO/Pi Keys + Colors","KO/Pi Tasten + Farben" },
1052{ "No Filter","Kein Filter" }, 1052{ "No Filter","Kein Filter" },
1053{ "Multiple Sync options","Multi Sync Optionen" }, 1053{ "Multiple Sync options","Multi Sync Optionen" },
1054{ "Sync algo options","Sync Ablauf Optionen" }, 1054{ "Sync algo options","Sync Ablauf Optionen" },
1055{ "Apply filter when adding data to local:","Filter für das Hinzufügen von Daten zu Lokal:" }, 1055{ "Apply filter when adding data to local:","Filter für das Hinzufügen von Daten zu Lokal:" },
1056{ "Incoming calendar filter:","Eingehender Kalender Filter:" }, 1056{ "Incoming calendar filter:","Eingehender Kalender Filter:" },
1057{ "Incoming addressbook filter:","Eingehender Adressbuch Filter:" }, 1057{ "Incoming addressbook filter:","Eingehender Adressbuch Filter:" },
1058{ "Write back options","Optionen zum Zurückschreiben" }, 1058{ "Write back options","Optionen zum Zurückschreiben" },
1059{ "Write back (on remote) existing entries only","Schreibe nur existierende (auf Entfernt) Einträge zurück" }, 1059{ "Write back (on remote) existing entries only","Schreibe nur existierende (auf Entfernt) Einträge zurück" },
1060{ "Apply filter when adding data to remote:","Filter für das Hinzufügen von Daten zu Entfernt:" }, 1060{ "Apply filter when adding data to remote:","Filter für das Hinzufügen von Daten zu Entfernt:" },
1061{ "Outgoing calendar filter:","Ausgehender Kalender Filter:" }, 1061{ "Outgoing calendar filter:","Ausgehender Kalender Filter:" },
1062{ "Outgoing addressbook filter:","Ausgehender Adressbuch Filter:" }, 1062{ "Outgoing addressbook filter:","Ausgehender Adressbuch Filter:" },
1063{ "Write back (calendar) entries for time period only","Schreibe nur Kalender Einträge für Zeitspanne zurück" }, 1063{ "Write back (calendar) entries for time period only","Schreibe nur Kalender Einträge für Zeitspanne zurück" },
1064{ "Time period","Zeitspanne" }, 1064{ "Time period","Zeitspanne" },
1065{ "From ","Von " }, 1065{ "From ","Von " },
1066{ " weeks in the past to "," Wochen in der Vergangenheit bis zu " }, 1066{ " weeks in the past to "," Wochen in der Vergangenheit bis zu " },
1067{ " weeks in the future "," Wochen in der Zukunft " }, 1067{ " weeks in the future "," Wochen in der Zukunft " },
1068{ "Profile kind specific settings","Profil Art abhängige Einstellungen" }, 1068{ "Profile kind specific settings","Profil Art abhängige Einstellungen" },
1069{ "Local temp file:","Lokale temp Datei:" }, 1069{ "Local temp file:","Lokale temp Datei:" },
1070{ "Multiple profiles with same name!\nPlease use unique profile names!","Mehrere Profile mit demselben Namen!\nBitte verschiedene Namen benutzen!" }, 1070{ "Multiple profiles with same name!\nPlease use unique profile names!","Mehrere Profile mit demselben Namen!\nBitte verschiedene Namen benutzen!" },
1071{ "Aborted! Nothing synced!","Abgebrochen! Nichts wurde gesynct!" }, 1071{ "Aborted! Nothing synced!","Abgebrochen! Nichts wurde gesynct!" },
1072{ "Language","Sprache" }, 1072{ "Language","Sprache" },
1073{ "Time Format","Zeit Format" }, 1073{ "Time Format","Zeit Format" },
1074{ "Time Zone","Zeit Zone" }, 1074{ "Time Zone","Zeit Zone" },
1075{ "%1 groups subscribed","%1 Guppen abboniert" }, 1075{ "%1 groups subscribed","%1 Guppen abboniert" },
1076{ "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" }, 1076{ "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" },
1077{ "<b>New data storage dir:</b>","<b>Neues Datenspeicherverzeichnis:</b>" }, 1077{ "<b>New data storage dir:</b>","<b>Neues Datenspeicherverzeichnis:</b>" },
1078{ "New dirs are created automatically","Neue Verzeichnisse werden aut. erstellt" }, 1078{ "New dirs are created automatically","Neue Verzeichnisse werden aut. erstellt" },
1079{ "Save settings","Speichere Einstellungen" }, 1079{ "Save settings","Speichere Einstellungen" },
1080{ "Save standard","Speichere Standard" }, 1080{ "Save standard","Speichere Standard" },
1081{ "<b>New settings are used\nafter a restart</b>","<b>Neue Einstellungen werden nach\neinem Neustart genutzt</b>" }, 1081{ "<b>New settings are used\nafter a restart</b>","<b>Neue Einstellungen werden nach\neinem Neustart genutzt</b>" },
1082{ "Settings are stored in\n%1","Einstellungen werden gespeichert in:\n%1" }, 1082{ "Settings are stored in\n%1","Einstellungen werden gespeichert in:\n%1" },
1083{ "Data storage path","Daten Speicherpfad" }, 1083{ "Data storage path","Daten Speicherpfad" },
1084{ "Language","Sprache" }, 1084{ "Language","Sprache" },
1085{ "Show time in agenda items","Zeige Zeit in Agenda Items" }, 1085{ "Show time in agenda items","Zeige Zeit in Agenda Items" },
1086{ "Color for Sundays + category "Holiday"","Farbe für Sonntags + Kategorie "Feiertag"" }, 1086{ "Color for Sundays + category "Holiday"","Farbe für Sonntags + Kategorie "Feiertag"" },
1087{ "Show events that are done","Zeige abgelaufene Termine" }, 1087{ "Show events that are done","Zeige abgelaufene Termine" },
1088{ "Hide not running Todos in To-do view","Verstecke nicht laufende Todos" }, 1088{ "Hide not running Todos in To-do view","Verstecke nicht laufende Todos" },
1089{ "+01:00 Europe/Oslo(CET)","+01:00 Europe/Oslo(CET)" }, 1089{ "+01:00 Europe/Oslo(CET)","+01:00 Europe/Oslo(CET)" },
1090{ "KO/Pi","KO/Pi" }, 1090{ "KO/Pi","KO/Pi" },
1091{ "There is nothing to undo!","Es gibt nichts zum\nRückgängigmachen!" }, 1091{ "There is nothing to undo!","Es gibt nichts zum\nRückgängigmachen!" },
1092{ "Recreating edit dialog. Please wait...","Recreating edit dialog. Please wait..." }, 1092{ "Recreating edit dialog. Please wait...","Recreating edit dialog. Please wait..." },
1093{ "Sound.Al.: ","Sound.Al.: " }, 1093{ "Sound.Al.: ","Sound.Al.: " },
1094{ "From: %1 To: %2 %3","Von: %1 Bis: %2 %3" }, 1094{ "From: %1 To: %2 %3","Von: %1 Bis: %2 %3" },
1095{ "Restore","Wiederherstellen" }, 1095{ "Restore","Wiederherstellen" },
1096{ "\nAre you sure you want\nto restore this?","\nMöchten Sie das wirklich\nwiederherstellen?" }, 1096{ "\nAre you sure you want\nto restore this?","\nMöchten Sie das wirklich\nwiederherstellen?" },
1097{ "% completed","% erledigt" }, 1097{ "% completed","% erledigt" },
1098{ "%d item(s) found.","%d Item(s) gefunden." }, 1098{ "%d item(s) found.","%d Item(s) gefunden." },
1099{ "Set complete","Setze auf erledigt" }, 1099{ "Set complete","Setze auf erledigt" },
1100{ "(cancelled)","(gecancelt)" }, 1100{ "(cancelled)","(gecancelt)" },
1101{ "Click on the week number to\nshow week in agenda view","Klicke auf die Wochennummer\num die Woche in der Agenda anzuzeigen" }, 1101{ "Click on the week number to\nshow week in agenda view","Klicke auf die Wochennummer\num die Woche in der Agenda anzuzeigen" },
1102{ " Local time "," Locale Zeit " }, 1102{ " Local time "," Locale Zeit " },
1103{ "Form2","Form2" }, 1103{ "Form2","Form2" },
1104{ "Filter enabled","Filter angeschaltet" }, 1104{ "Filter enabled","Filter angeschaltet" },
1105{ "Edit Filters","Ändere Filter" }, 1105{ "Edit Filters","Ändere Filter" },
1106{ "Print What's Next View...","Drucke What's Next Ansicht..." }, 1106{ "Print What's Next View...","Drucke What's Next Ansicht..." },
1107{ "Agenda","Agenda" }, 1107{ "Agenda","Agenda" },
1108{ " ("," (" }, 1108{ " ("," (" },
1109{ "<p><b>Due on:</b> %1</p>","<p><b>Fällig am:</b> %1</p>" }, 1109{ "<p><b>Due on:</b> %1</p>","<p><b>Fällig am:</b> %1</p>" },
1110{ "Print","Print" }, 1110{ "Print","Print" },
1111{ "&Setup Printer...","Drucker &Setup..." }, 1111{ "&Setup Printer...","Drucker &Setup..." },
1112{ "View Type","Zeige Typ" }, 1112{ "View Type","Zeige Typ" },
1113{ "Page &orientation:","Seiten Ausrichtung:" }, 1113{ "Page &orientation:","Seiten Ausrichtung:" },
1114{ "Use Default of Selected Style","Default des selektierten Stils" }, 1114{ "Use Default of Selected Style","Default des selektierten Stils" },
1115{ "Use Default Setting of Printer","Default Einstellung des Druckers" }, 1115{ "Use Default Setting of Printer","Default Einstellung des Druckers" },
1116{ "Portrait","Portrait" }, 1116{ "Portrait","Portrait" },
1117{ "Landscape","Landschaft" }, 1117{ "Landscape","Landschaft" },
1118{ "Print day","Drucke Tag" }, 1118{ "Print day","Drucke Tag" },
1119{ "CalPrintDay_Base","CalPrintDay_Base" }, 1119{ "CalPrintDay_Base","CalPrintDay_Base" },
1120{ "Date && Time Range","Datum && Zeitspanne" }, 1120{ "Date && Time Range","Datum && Zeitspanne" },
1121{ "&End date:","&Enddatum:" }, 1121{ "&End date:","&Enddatum:" },
1122{ "&Start date:","&Startdatum:" }, 1122{ "&Start date:","&Startdatum:" },
1123{ "Start &time:","Startzeit:" }, 1123{ "Start &time:","Startzeit:" },
1124{ "End ti&me:","Endzeit:" }, 1124{ "End ti&me:","Endzeit:" },
1125{ "E&xtend time range to include all events","Erweitere Zeitspanne um alle Termine einzuschliessen" }, 1125{ "E&xtend time range to include all events","Erweitere Zeitspanne um alle Termine einzuschliessen" },
1126{ "Include to&dos that are due on the printed day(s)","Inclusive To&dos, die an den selektierten Tagen fällig sind" }, 1126{ "Include to&dos that are due on the printed day(s)","Inclusive To&dos, die an den selektierten Tagen fällig sind" },
1127{ "Alt+D","Alt+D" }, 1127{ "Alt+D","Alt+D" },
1128{ "&Use colors","Nutze Farben" }, 1128{ "&Use colors","Nutze Farben" },
1129{ "Alt+U","Alt+U" }, 1129{ "Alt+U","Alt+U" },
1130{ "Print week","Drucke Woche" }, 1130{ "Print week","Drucke Woche" },
1131{ "CalPrintWeek_Base","CalPrintWeek_Base" }, 1131{ "CalPrintWeek_Base","CalPrintWeek_Base" },
1132{ "Use &colors","Nutze Farben" }, 1132{ "Use &colors","Nutze Farben" },
1133{ "Type of View","Typ der Ansicht" }, 1133{ "Type of View","Typ der Ansicht" },
1134{ "Print as &Filofax page","Drucke als &Filofax Seite" }, 1134{ "Print as &Filofax page","Drucke als &Filofax Seite" },
1135{ "Alt+F","Alt+F" }, 1135{ "Alt+F","Alt+F" },
1136{ "Print as &timetable view:","Drucke als Zeittabelle:" }, 1136{ "Print as &timetable view:","Drucke als Zeittabelle:" },
1137{ "Alt+T","Alt+T" }, 1137{ "Alt+T","Alt+T" },
1138{ "Print as split week view","Drucke als gesplittete Wochenansicht" }, 1138{ "Print as split week view","Drucke als gesplittete Wochenansicht" },
1139{ "Print month","Drucke Monat" }, 1139{ "Print month","Drucke Monat" },
1140{ "CalPrintMonth_Base","CalPrintMonth_Base" }, 1140{ "CalPrintMonth_Base","CalPrintMonth_Base" },
1141{ "&Start month:","&Startmonat:" }, 1141{ "&Start month:","&Startmonat:" },
1142{ "&End month:","&Endmonat:" }, 1142{ "&End month:","&Endmonat:" },
1143{ "Print week &numbers","Drucke Wochen Nummer(n)" }, 1143{ "Print week &numbers","Drucke Wochen Nummer(n)" },
1144{ "Print todos","Drucke Todos" }, 1144{ "Print todos","Drucke Todos" },
1145{ "CalPrintTodoConfig_Base","CalPrintTodoConfig_Base" }, 1145{ "CalPrintTodoConfig_Base","CalPrintTodoConfig_Base" },
1146{ "Include &description of the item","Inclusive Itembeschreibung" }, 1146{ "Include &description of the item","Inclusive Itembeschreibung" },
1147{ "Include d&ue date of the item","Inclusive Fälligkeitsdatum des Items" }, 1147{ "Include d&ue date of the item","Inclusive Fälligkeitsdatum des Items" },
1148{ "Include &priority of the item","Inclusive Priorität des Items" }, 1148{ "Include &priority of the item","Inclusive Priorität des Items" },
1149{ "Items to Print","Zu druckende Items" }, 1149{ "Items to Print","Zu druckende Items" },
1150{ "&From:","Von:" }, 1150{ "&From:","Von:" },
1151{ "&To:","Bis:" }, 1151{ "&To:","Bis:" },
1152{ "Print &all todo items","Drucke alle Todo Items" }, 1152{ "Print &all todo items","Drucke alle Todo Items" },
1153{ "Print only &uncompleted items","Drucke nur nicht erledigte Todos" }, 1153{ "Print only &uncompleted items","Drucke nur nicht erledigte Todos" },
1154{ "Only items due in the &range:","Nur Items in dem Zeitraum:" }, 1154{ "Only items due in the &range:","Nur Items in dem Zeitraum:" },
1155{ "Todo List","Todo Liste" }, 1155{ "Todo List","Todo Liste" },
1156{ "&Title:","&Titel:" }, 1156{ "&Title:","&Titel:" },
1157{ "Co&nnect subtodos with its parent","Verbinde Untertodos mit ihren Ober-Todos" }, 1157{ "Co&nnect subtodos with its parent","Verbinde Untertodos mit ihren Ober-Todos" },
1158{ "Todo list","Todo Liste" }, 1158{ "Todo list","Todo Liste" },
1159{ "&Print...","Drucke..." }, 1159{ "&Print...","Drucke..." },
1160{ "<qt>Printing on printer <b>%1</b></qt>","<qt>Drucke auf Drucker <b>%1</b></qt>" }, 1160{ "<qt>Printing on printer <b>%1</b></qt>","<qt>Drucke auf Drucker <b>%1</b></qt>" },
1161{ "[Unconfigured]","[Unkonfiguriert]" }, 1161{ "[Unconfigured]","[Unkonfiguriert]" },
1162{ "OK","OK" }, 1162{ "OK","OK" },
1163{ "FilterEditor","FilterEditor" }, 1163{ "FilterEditor","FilterEditor" },
1164{ "Include","Inclusive" }, 1164{ "Include","Inclusive" },
1165{ "Exclude","Exclusive" }, 1165{ "Exclude","Exclusive" },
1166{ "Edit Selection...","Editiere Auswahl" }, 1166{ "Edit Selection...","Editiere Auswahl" },
1167{ "recurring events","wiederholende Termine" }, 1167{ "recurring events","wiederholende Termine" },
1168{ "recurr. events","wiederh.Termine" }, 1168{ "recurr. events","wiederh.Termine" },
1169{ "completed to-dos","erledigte Todos" }, 1169{ "completed to-dos","erledigte Todos" },
1170{ "events","Termine" }, 1170{ "events","Termine" },
1171{ "todos","Todos" }, 1171{ "todos","Todos" },
1172{ "journals","Journale" }, 1172{ "journals","Journale" },
1173{ "public","öffentl." }, 1173{ "public","öffentl." },
1174{ "private","privat" }, 1174{ "private","privat" },
1175{ "confidential","vertraul." }, 1175{ "confidential","vertraul." },
1176{ "\nhas sub-todos.\nAll completed sub-todos\nwill be deleted as well!","\nhat Untertodos.\nAlle erledigten Untertodos\nwerden auch gelöscht!" }, 1176{ "\nhas sub-todos.\nAll completed sub-todos\nwill be deleted as well!","\nhat Untertodos.\nAlle erledigten Untertodos\nwerden auch gelöscht!" },
1177{ "Yesterday","Gestern" }, 1177{ "Yesterday","Gestern" },
1178{ "Day after tomorrow","Übermorgen" }, 1178{ "Day after tomorrow","Übermorgen" },
1179{ "Tomorrow","Morgen" }, 1179{ "Tomorrow","Morgen" },
1180{ "Day before yesterday","Vorgestern" }, 1180{ "Day before yesterday","Vorgestern" },
1181{ "Size %1","Größe %1" }, 1181{ "Size %1","Größe %1" },
1182{ "New Agendasize: %1","Neue Agendagröße: %1" }, 1182{ "New Agendasize: %1","Neue Agendagröße: %1" },
1183{ " (%1 y.)"," (%1 J.)" }, 1183{ " (%1 y.)"," (%1 J.)" },
1184{ "Allday:","Ganztägig:" }, 1184{ "Allday:","Ganztägig:" },
1185{ "compl.todos","erled.Todos" }, 1185{ "compl.todos","erled.Todos" },
1186{ "Day view","Tagesansicht" }, 1186{ "Day view","Tagesansicht" },
1187{ "Next days","Nächste Tage" }, 1187{ "Next days","Nächste Tage" },
1188{ "Next week","Nächste Woche" }, 1188{ "Next week","Nächste Woche" },
1189{ "Next two weeks","Nächste zwei Wochen" }, 1189{ "Next two weeks","Nächste zwei Wochen" },
1190{ "This month","Dieser Monat" }, 1190{ "This month","Dieser Monat" },
1191{ "Journal view","Journal" }, 1191{ "Journal view","Journal" },
1192{ "Display all opened","Zeige alle geöffnet" }, 1192{ "Display all opened","Zeige alle geöffnet" },
1193{ "Display all closed","Zeige alle geschlossen" }, 1193{ "Display all closed","Zeige alle geschlossen" },
1194{ "Display all flat","Zeige alle flach" }, 1194{ "Display all flat","Zeige alle flach" },
1195{ "<p><i>Completed on %1</i></p>","<p><i>Erledigt am %1</i></p>" }, 1195{ "<p><i>Completed on %1</i></p>","<p><i>Erledigt am %1</i></p>" },
1196{ "Default todo done color:","Standard Todo erledigt Farbe" }, 1196{ "Default todo done color:","Standard Todo erledigt Farbe" },
1197{ "Select week %1-%2","Wähle Woche %1-%2" }, 1197{ "Select week %1-%2","Wähle Woche %1-%2" },
1198{ "Select Week","Wähle Woche" }, 1198{ "Select Week","Wähle Woche" },
1199{ "Set alarm for selected...","Setze Alarm für Selekt..." }, 1199{ "Set alarm...","Setze Alarm..." },
1200{ "Set Alarm!","Setze Alarm!" }, 1200{ "Set Alarm!","Setze Alarm!" },
1201{ "Changed alarm for %1 items","Alarm für %1 Items geändert" }, 1201{ "Changed alarm for %1 items","Alarm für %1 Items geändert" },
1202{ " and "," und " }, 1202{ " and "," und " },
1203{ "<IMG src="%1"> only )","nur <IMG src="%1"> )" }, 1203{ "<IMG src="%1"> only )","nur <IMG src="%1"> )" },
1204{ "Mail to selected","Mail an Ausgewählte" }, 1204{ "Mail to selected","Mail an Ausgewählte" },
1205{ "Mail to all","Mail an Alle" }, 1205{ "Mail to all","Mail an Alle" },
1206{ "Week view mode uses bigger font","Wochenansicht Modus nutzt größeren Font" }, 1206{ "Week view mode uses bigger font","Wochenansicht Modus nutzt größeren Font" },
1207{ "Set reminder ON with offset to:","Alarm AN mit Offset auf:" }, 1207{ "Set reminder ON with offset to:","Alarm AN mit Offset auf:" },
1208{ " on"," am" }, 1208{ " on"," am" },
1209{ " completed on "," erledigt am " }, 1209{ " completed on "," erledigt am " },
1210{ "Save as Event template","Speichere als Vorlage" }, 1210{ "Save as Event template","Speichere als Vorlage" },
1211{ "Load Event template","Lade Termin Vorlage" }, 1211{ "Load Event template","Lade Termin Vorlage" },
1212{ "Save as Journal template","Speichere als Journal Vorlage" }, 1212{ "Save as Journal template","Speichere als Journal Vorlage" },
1213{ "Insert Journal template","Füge Journal Vorlage ein" }, 1213{ "Insert Journal template","Füge Journal Vorlage ein" },
1214{ "Sub todos:<br>","Unter Todos:<br>" }, 1214{ "Sub todos:<br>","Unter Todos:<br>" },
1215{ "Parent todo:<br>","Über Todo:<br>" }, 1215{ "Parent todo:<br>","Über Todo:<br>" },
1216{ "Set current as color category","Setze Gewählte als Farbkategorie" }, 1216{ "Set current as color category","Setze Gewählte als Farbkategorie" },
1217{ " completed"," erledigt" }, 1217{ " completed"," erledigt" },
1218{ "(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!" }, 1218{ "(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!" },
1219{ "Syncing aborted. Nothing synced.","Syncing abgebrochen.Nichts wurde gesynct." }, 1219{ "Syncing aborted. Nothing synced.","Syncing abgebrochen.Nichts wurde gesynct." },
1220{ "Connected! Sending request for remote file ...","Verbunden! Sende Daten Anfrage..." }, 1220{ "Connected! Sending request for remote file ...","Verbunden! Sende Daten Anfrage..." },
1221{ "Trying to connect to remote...","Versuche mit Gegenstelle zu verbinden..." }, 1221{ "Trying to connect to remote...","Versuche mit Gegenstelle zu verbinden..." },
1222{ "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?" }, 1222{ "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?" },
1223{ "ERROR: Receiving remote file failed.","FEHLER: Empfang der entfernten Daten fehlgeschlagen." }, 1223{ "ERROR: Receiving remote file failed.","FEHLER: Empfang der entfernten Daten fehlgeschlagen." },
1224{ "Error","Fehler" }, 1224{ "Error","Fehler" },
1225{ ""You entered an invalid date!\n Date changed to current date.","Ungültiges Datum eingegeben.\nSetze heutiges Datum." }, 1225{ ""You entered an invalid date!\n Date changed to current date.","Ungültiges Datum eingegeben.\nSetze heutiges Datum." },
1226{ "You entered an invalid date!\n Will use current date instead.","Ungültiges Datum eingegeben.\nSetze stattdessen heutiges Datum." }, 1226{ "You entered an invalid date!\n Will use current date instead.","Ungültiges Datum eingegeben.\nSetze stattdessen heutiges Datum." },
1227{ "Warning","Warnung" }, 1227{ "Warning","Warnung" },
1228{ "Select week number","Wähle Wochen Nummer" }, 1228{ "Select week number","Wähle Wochen Nummer" },
1229{ "Februar","Februar" }, 1229{ "Februar","Februar" },
1230{ "Click on the week number to\nshow week zoomed","Klicke auf die Wochennummer\num die Woche groß zu zeigen" }, 1230{ "Click on the week number to\nshow week zoomed","Klicke auf die Wochennummer\num die Woche groß zu zeigen" },
1231{ "W","W" }, 1231{ "W","W" },
1232{ "Click on this to\nselect week number","Klicke hierauf um\ndie Woche auszuwählen" }, 1232{ "Click on this to\nselect week number","Klicke hierauf um\ndie Woche auszuwählen" },
1233{ "T: %1","T: %1" }, 1233{ "T: %1","T: %1" },
1234{ "Start: ","Start: " }, 1234{ "Start: ","Start: " },
1235{ "Pi-Sync options for device: ","Pi-Sync Einstellungen für Gerät: " }, 1235{ "Pi-Sync options for device: ","Pi-Sync Einstellungen für Gerät: " },
1236{ "Password for remote access:","Passwort für fernen Zugriff:" }, 1236{ "Password for remote access:","Passwort für fernen Zugriff:" },
1237{ "Remote IP address:","Ferne IP Adresse:" }, 1237{ "Remote IP address:","Ferne IP Adresse:" },
1238{ "Remote port number:","Ferne Port Nummer:" }, 1238{ "Remote port number:","Ferne Port Nummer:" },
1239{ "Remote file saved to temp file.","Ferne Daten in temp Datei gespeichert." }, 1239{ "Remote file saved to temp file.","Ferne Daten in temp Datei gespeichert." },
1240{ "Remote from: ","Fern von: " }, 1240{ "Remote from: ","Fern von: " },
1241{ "Local from: ","Lokal von: " }, 1241{ "Local from: ","Lokal von: " },
1242{ "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" }, 1242{ "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" },
1243{ "Local calendar changed!\n","Lokaler Kalender geändert!\n" }, 1243{ "Local calendar changed!\n","Lokaler Kalender geändert!\n" },
1244{ "Write back","Schreibe zurück" }, 1244{ "Write back","Schreibe zurück" },
1245{ "KO/Pi Synchronization","KO/Pi Synchronisation" }, 1245{ "KO/Pi Synchronization","KO/Pi Synchronisation" },
1246{ "Pi-Sync succesful!","Pi-Sync erfolgreich!" }, 1246{ "Pi-Sync succesful!","Pi-Sync erfolgreich!" },
1247{ "Received sync request","Sync Anfrage erhalten" }, 1247{ "Received sync request","Sync Anfrage erhalten" },
1248{ "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." }, 1248{ "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." },
1249{ "Saving Data to temp file ...","Speichere Daten in temp Datei..." }, 1249{ "Saving Data to temp file ...","Speichere Daten in temp Datei..." },
1250{ "Data saved to temp file!","Daten in temp Datei gespeichert!" }, 1250{ "Data saved to temp file!","Daten in temp Datei gespeichert!" },
1251{ "Sending file...","Sende Datei..." }, 1251{ "Sending file...","Sende Datei..." },
1252{ "Waiting for synced file...","Warte auf gesyncte Daten..." }, 1252{ "Waiting for synced file...","Warte auf gesyncte Daten..." },
1253{ "Receiving synced file...","Gesyncte Daten erhalten..." }, 1253{ "Receiving synced file...","Gesyncte Daten erhalten..." },
1254{ "Received %1 bytes","%1 Bytes erhalten" }, 1254{ "Received %1 bytes","%1 Bytes erhalten" },
1255{ "Writing file to disk...","Speichere Datei..." }, 1255{ "Writing file to disk...","Speichere Datei..." },
1256{ "Pi-Sync successful!","Pi-Sync erfolgreich!" }, 1256{ "Pi-Sync successful!","Pi-Sync erfolgreich!" },
1257{ "Clock skew of\nsyncing devices\nis %1 seconds!","Uhrzeitunterschied der\nsyncenden Geräte\nist %1 Sekunden!" }, 1257{ "Clock skew of\nsyncing devices\nis %1 seconds!","Uhrzeitunterschied der\nsyncenden Geräte\nist %1 Sekunden!" },
1258{ "Synchronize!","Synchronisiere!" }, 1258{ "Synchronize!","Synchronisiere!" },
1259{ "High clock skew!","Großer Uhrzeitunterschied!" }, 1259{ "High clock skew!","Großer Uhrzeitunterschied!" },
1260{ "ADJUST\nYOUR\nCLOCKS!","JUSTIERE\nDIE\nUHREN!" }, 1260{ "ADJUST\nYOUR\nCLOCKS!","JUSTIERE\nDIE\nUHREN!" },
1261{ "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!" }, 1261{ "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!" },
1262{ "This is a %1 recurring todo.","Das ist eine %1 wiederholende Aufgabe." }, 1262{ "This is a %1 recurring todo.","Das ist eine %1 wiederholende Aufgabe." },
1263{ "<p><b>Start on:</b> %1</p>","<p><b>Start am:</b> %1</p>" }, 1263{ "<p><b>Start on:</b> %1</p>","<p><b>Start am:</b> %1</p>" },
1264{ "List week view","Listenwochenansicht" }, 1264{ "List week view","Listenwochenansicht" },
1265{ "List week","Listenwochenansicht" }, 1265{ "List week","Listenwochenansicht" },
1266{ "Next Week","Nächste Woche" }, 1266{ "Next Week","Nächste Woche" },
1267{ "Previous Week","Vorherige Woche" }, 1267{ "Previous Week","Vorherige Woche" },
1268{ "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." }, 1268{ "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." },
1269{ "Show in todo/event viewer:","Zeige in Termin/Todo Anzeige:" }, 1269{ "Show in todo/event viewer:","Zeige in Termin/Todo Anzeige:" },
1270{ "Details","Details" }, 1270{ "Details","Details" },
1271{ "Created time","Erstellt Zeit" }, 1271{ "Created time","Erstellt Zeit" },
1272{ "Last modified time","Geändert Zeit" }, 1272{ "Last modified time","Geändert Zeit" },
1273{ "Show in What'sThis quick overview:","Zeige in What'sThis Schnellübersicht:" }, 1273{ "Show in What'sThis quick overview:","Zeige in What'sThis Schnellübersicht:" },
1274{ "View Options","Anzeige Optionen" }, 1274{ "View Options","Anzeige Optionen" },
1275{ "<b>Created: ","<b>Erstellt am: " }, 1275{ "<b>Created: ","<b>Erstellt am: " },
1276{ "<b>Last modified: ","<b>Zuletzt geändert am: " }, 1276{ "<b>Last modified: ","<b>Zuletzt geändert am: " },
1277{ "Journal: ","Journal: " }, 1277{ "Journal: ","Journal: " },
1278{ "yearly","jährlich" }, 1278{ "yearly","jährlich" },
1279{ "(%1) ","%1-" }, 1279{ "(%1) ","%1-" },
1280{ "<p><b>K</b>: Week view in Month view syle</p>\n","<p><b>K</b>: Wochenansicht in Art der Monatsansicht</p>\n" }, 1280{ "<p><b>K</b>: Week view in Month view syle</p>\n","<p><b>K</b>: Wochenansicht in Art der Monatsansicht</p>\n" },
1281{ "Enable tooltips displaying summary of ev.","Titel-Tooltips anzeigen" }, 1281{ "Enable tooltips displaying summary of ev.","Titel-Tooltips anzeigen" },
1282{ "Enable scrollbars in month view cells","Scrollbar in Zellen anzeigen" }, 1282{ "Enable scrollbars in month view cells","Scrollbar in Zellen anzeigen" },
1283{ "Summary/Loc.","Titel/Ort" }, 1283{ "Summary/Loc.","Titel/Ort" },
1284{ "No items found. Use '*' and '?' where needed.","Nichts gefunden. Benutze '*' and '?' wo benötigt." }, 1284{ "No items found. Use '*' and '?' where needed.","Nichts gefunden. Benutze '*' and '?' wo benötigt." },
1285{ "Week Number","Wochennummer" }, 1285{ "Week Number","Wochennummer" },
1286{ "Import","Importiere" }, 1286{ "Import","Importiere" },
1287{ "Export","Exportiere" }, 1287{ "Export","Exportiere" },
1288{ "Beam","Beame" }, 1288{ "Beam","Beame" },
1289{ "Export selected","Exportiere Selektierte" }, 1289{ "Export","Exportiere" },
1290{ "As iCal (ics) file...","Als iCal (ics) Datei..." }, 1290{ "As iCal (ics) file...","Als iCal (ics) Datei..." },
1291{ "As vCal (vcs) file...","Als vCal (vcs) Datei..." }, 1291{ "As vCal (vcs) file...","Als vCal (vcs) Datei..." },
1292{ "Journal/Details...","Journale/Details..." }, 1292{ "Journal/Details...","Journale/Details..." },
1293{ "Agenda View","Agenda Ansicht" }, 1293{ "Agenda View","Agenda Ansicht" },
1294{ "Show current time","Zeige aktuelle Zeit" }, 1294{ "Show current time","Zeige aktuelle Zeit" },
1295{ "Edit new item","Bearbeite neuen Eintrag" }, 1295{ "Edit new item","Bearbeite neuen Eintrag" },
1296{ "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" }, 1296{ "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" },
1297{ "There is no next alarm.","Es gibt keinen nächsten Alarm." }, 1297{ "There is no next alarm.","Es gibt keinen nächsten Alarm." },
1298{ "%1 %2 - %3 (next event/todo with alarm)","%1 %2 - %3 (nächster Termin/Todo mit Alarm)" }, 1298{ "%1 %2 - %3 (next event/todo with alarm)","%1 %2 - %3 (nächster Termin/Todo mit Alarm)" },
1299{ "The next alarm is in:\n","Der nächste Alarm ist in:\n" }, 1299{ "The next alarm is in:\n","Der nächste Alarm ist in:\n" },
1300{ "%1 days\n","%1 Tagen\n" }, 1300{ "%1 days\n","%1 Tagen\n" },
1301{ "1 day\n","1 Tag\n" }, 1301{ "1 day\n","1 Tag\n" },
1302{ "%1 hours\n","%1 Stunden\n" }, 1302{ "%1 hours\n","%1 Stunden\n" },
1303{ "1 hour\n","1 Stunde\n" }, 1303{ "1 hour\n","1 Stunde\n" },
1304{ "%1 minutes\n","%1 Minuten\n" }, 1304{ "%1 minutes\n","%1 Minuten\n" },
1305{ "1 minute\n","1 Minute\n" }, 1305{ "1 minute\n","1 Minute\n" },
1306{ "Only one toolbar","Nur eine Toolbar" }, 1306{ "Only one toolbar","Nur eine Toolbar" },
1307{ "Print","Drucke" }, 1307{ "Print","Drucke" },
1308{ "Print selected event / todo...","Drucke ausgewählten Termin / Todo..." }, 1308{ "Print selected event / todo...","Drucke ausgewählten Termin / Todo..." },
1309{ "There is nothing selected!","Es ist nichts ausgewählt!" }, 1309{ "There is nothing selected!","Es ist nichts ausgewählt!" },
1310{ "\n\nDo you really want to print this item?","\n\nMöchten Sie wirklich diesen Eintrag ausdrucken? " }, 1310{ "\n\nDo you really want to print this item?","\n\nMöchten Sie wirklich diesen Eintrag ausdrucken? " },
1311{ "KO/Pi Print Confirmation","KO/Pi Druckbestätigung" }, 1311{ "KO/Pi Print Confirmation","KO/Pi Druckbestätigung" },
1312{ "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" }, 1312{ "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" },
1313{ "KO/Pi Printout","KO/Pi Ausdruck" }, 1313{ "KO/Pi Printout","KO/Pi Ausdruck" },
1314{ "Print unscaled","Drucke unskaliert" }, 1314{ "Print unscaled","Drucke unskaliert" },
1315{ "Print scaled down to fit one page","Drucke runterskaliert um auf eine Seite zu passen." }, 1315{ "Print scaled down to fit one page","Drucke runterskaliert um auf eine Seite zu passen." },
1316{ "Print scaled up/down to fit one page","Drucke hoch/runterskaliert um genau auf eine Seite zu passen." }, 1316{ "Print scaled up/down to fit one page","Drucke hoch/runterskaliert um genau auf eine Seite zu passen." },
1317{ "Printout Mode","Druck Modus" }, 1317{ "Printout Mode","Druck Modus" },
1318{ "Filter menu icon","Filtermenu Icon" }, 1318{ "Filter menu icon","Filtermenu Icon" },
1319{ "<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" }, 1319{ "<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" },
1320{ "<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" }, 1320{ "<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" },
1321{ "%1d","%1t" }, 1321{ "%1d","%1t" },
1322{ "%1h","%1std" }, 1322{ "%1h","%1std" },
1323{ "%1min","%1min" }, 1323{ "%1min","%1min" },
1324{ "( %1 before )","( %1 vorher )" }, 1324{ "( %1 before )","( %1 vorher )" },
1325{ "The next alarm is in\nless than one minute!","Der nächste Alarm kommt in\nweniger als einer Minute!" }, 1325{ "The next alarm is in\nless than one minute!","Der nächste Alarm kommt in\nweniger als einer Minute!" },
1326{ "\nThe internal alarm notification is disabled!\n","\nDie interne Alarmbenachrichtigung ist ausgeschaltet!\n" }, 1326{ "\nThe internal alarm notification is disabled!\n","\nDie interne Alarmbenachrichtigung ist ausgeschaltet!\n" },
1327{ "Enable it in the settings menu, TAB alarm.","Schalten Sie sie an im Menu Einstellungen, TAB Alarm." }, 1327{ "Enable it in the settings menu, TAB alarm.","Schalten Sie sie an im Menu Einstellungen, TAB Alarm." },
1328{ "Show Sync Events","Zeige Sync-Ereignisse" }, 1328{ "Show Sync Events","Zeige Sync-Ereignisse" },
1329{ "Use short date in WN+Event view","Zeige Kurzdatum in WN+Terminanzeige" }, 1329{ "Use short date in WN+Event view","Zeige Kurzdatum in WN+Terminanzeige" },
1330{ "Number of max.displayed todo prios:","Anzahl max.angezeigter Todo-Prios:" }, 1330{ "Number of max.displayed todo prios:","Anzahl max.angezeigter Todo-Prios:" },
1331{ " on "," am " }, 1331{ " on "," am " },
1332{ "On: ","Am: " }, 1332{ "On: ","Am: " },
1333{ "<i>The recurrence is computed from the start datetime!</i>","<i>Die Wiederholung wird vom Startwert aus berechnet!</i>" }, 1333{ "<i>The recurrence is computed from the start datetime!</i>","<i>Die Wiederholung wird vom Startwert aus berechnet!</i>" },
1334{ "Start/Stop todo...","Starte/Stoppe Todo..." }, 1334{ "Start/Stop todo...","Starte/Stoppe Todo..." },
1335{ "Color for running todos:","Farbe für laufende Todos:" }, 1335{ "Color for running todos:","Farbe für laufende Todos:" },
1336{ "The todo\n%1\nis started.\nDo you want to set\nthe state to stopped?","Das Todo\n%1\nist gestartet.\nWollen Sie es\nauf gestoppt setzen?" }, 1336{ "The todo\n%1\nis started.\nDo you want to set\nthe state to stopped?","Das Todo\n%1\nist gestartet.\nWollen Sie es\nauf gestoppt setzen?" },
1337{ "Todo is started","Todo ist gestartet" }, 1337{ "Todo is started","Todo ist gestartet" },
1338{ "Stop todo","Stoppe Todo" }, 1338{ "Stop todo","Stoppe Todo" },
1339{ "Todo is stopped","Todo ist gestoppt" }, 1339{ "Todo is stopped","Todo ist gestoppt" },
1340{ "Start todo","Starte Todo" }, 1340{ "Start todo","Starte Todo" },
1341{ "The todo\n%1\nis stopped.\nDo you want to set\nthe state to started?","Das Todo\n%1\nist gestoppt.\nWollen Sie es auf\ngestartet setzen?" }, 1341{ "The todo\n%1\nis stopped.\nDo you want to set\nthe state to started?","Das Todo\n%1\nist gestoppt.\nWollen Sie es auf\ngestartet setzen?" },
1342{ "The todo\n%1\nwill be cloned!\nIt has subtodos!\nDo you want to clone\nall subtodos as well?","Das Todo\n%1\nwird geklont!\nEs hat Untertodos!\nMöchten Sie alle\nUntertodos auch klonen?" }, 1342{ "The todo\n%1\nwill be cloned!\nIt has subtodos!\nDo you want to clone\nall subtodos as well?","Das Todo\n%1\nwird geklont!\nEs hat Untertodos!\nMöchten Sie alle\nUntertodos auch klonen?" },
1343{ "Todo has subtodos","Todo hat Untertodos" }, 1343{ "Todo has subtodos","Todo hat Untertodos" },
1344{ "Block popup until mouse button release","Sperre Popup bis Mausknopf losgelassen" }, 1344{ "Block popup until mouse button release","Sperre Popup bis Mausknopf losgelassen" },
1345{ "Colors","Farben" }, 1345{ "Colors","Farben" },
1346{ "Click on new parent item","Klicke auf neues Übertodo" }, 1346{ "Click on new parent item","Klicke auf neues Übertodo" },
1347{ "Reparenting aborted!","Übertodo setzen abgebrochen" }, 1347{ "Reparenting aborted!","Übertodo setzen abgebrochen" },
1348{ "Cannot move Todo to itself\nor a child of itself","Kann nicht Todo auf\nsich selbst oder\nein Untertodo verschieben" }, 1348{ "Cannot move Todo to itself\nor a child of itself","Kann nicht Todo auf\nsich selbst oder\nein Untertodo verschieben" },
1349{ "Recursive reparenting not possible!","Rekursives Verschieben nicht möglich" }, 1349{ "Recursive reparenting not possible!","Rekursives Verschieben nicht möglich" },
1350{ "Delete all completed todos?\n(Completed recurring todos\nwill not be deleted!)","Entferne alle erledigten Todos?\n(Erledigte wiederholende Todos\nwerden nicht gelöscht!)" }, 1350{ "Delete all completed todos?\n(Completed recurring todos\nwill not be deleted!)","Entferne alle erledigten Todos?\n(Erledigte wiederholende Todos\nwerden nicht gelöscht!)" },
1351{ "Alternating background of list views","Abwechselnder Hintergrund für Listen" }, 1351{ "Alternating background of list views","Abwechselnder Hintergrund für Listen" },
1352{ "times","Zeiten" }, 1352{ "times","Zeiten" },
1353{ "The todo\n%1\nhas subtodos!\nDo you want to set\nthe categories for\nall subtodos as well?","Das Todo\n%1\nhat Untertodos!\nMöchten Sie die Kategorien\nauch für alle Untertodos setzen?" }, 1353{ "The todo\n%1\nhas subtodos!\nDo you want to set\nthe categories for\nall subtodos as well?","Das Todo\n%1\nhat Untertodos!\nMöchten Sie die Kategorien\nauch für alle Untertodos setzen?" },
1354{ "Backup enabled","Backup angeschaltet" }, 1354{ "Backup enabled","Backup angeschaltet" },
1355{ "Use standard backup dir","Standard Backupverzeichnis" }, 1355{ "Use standard backup dir","Standard Backupverzeichnis" },
1356{ "Number of Backups:","Anzahl der Backups" }, 1356{ "Number of Backups:","Anzahl der Backups" },
1357{ "Make backup every ","Mache ein Backup alle " }, 1357{ "Make backup every ","Mache ein Backup alle " },
1358{ " days"," Tage" }, 1358{ " days"," Tage" },
1359{ "Creating backup ... please wait ...","Erstelle Backup ... bitte warten ..." }, 1359{ "Creating backup ... please wait ...","Erstelle Backup ... bitte warten ..." },
1360{ "Backup Failed!","Backup Problem!" }, 1360{ "Backup Failed!","Backup Problem!" },
1361{ "Try again now","Versuche jetzt nochmal" }, 1361{ "Try again now","Versuche jetzt nochmal" },
1362{ "Try again later","Versuche später nochmal" }, 1362{ "Try again later","Versuche später nochmal" },
1363{ "Try again tomorrow","Versuche morgen nochmal" }, 1363{ "Try again tomorrow","Versuche morgen nochmal" },
1364{ "Disable backup","Schalte Backup ab" }, 1364{ "Disable backup","Schalte Backup ab" },
1365{ "<b>Backup directory does not exist: </b>","<b>Backup Verzeichnis existiert nicht: </b>" }, 1365{ "<b>Backup directory does not exist: </b>","<b>Backup Verzeichnis existiert nicht: </b>" },
1366{ "<b>The backup copy command failed!</b>","<b>Das Backup Kopierkommando is fehlgeschlagen!</b>" }, 1366{ "<b>The backup copy command failed!</b>","<b>Das Backup Kopierkommando is fehlgeschlagen!</b>" },
1367{ "Choose action","Wähle Aktion" }, 1367{ "Choose action","Wähle Aktion" },
1368{ "Comment for todo:","Kommentar zum Todo:" }, 1368{ "Comment for todo:","Kommentar zum Todo:" },
1369{ "Stop+note","Stop+Notiz" }, 1369{ "Stop+note","Stop+Notiz" },
1370{ "Agenda view shows completed todos","Agenda Ansicht zeigt erledigte Todos" }, 1370{ "Agenda view shows completed todos","Agenda Ansicht zeigt erledigte Todos" },
1371{ "KO/Pi: Missing alarms!","KO/Pi: Verpasste Alarme!" }, 1371{ "KO/Pi: Missing alarms!","KO/Pi: Verpasste Alarme!" },
1372{ "You missed the alarms for the following events or todos:","Sie verpassten die Alarme für folgende Termine oder Todos:" }, 1372{ "You missed the alarms for the following events or todos:","Sie verpassten die Alarme für folgende Termine oder Todos:" },
1373{ "Print complete list","Drucke komplette Liste" }, 1373{ "Print complete list","Drucke komplette Liste" },
1374{ "Hide all selected","Verstecke Selektierte" }, 1374{ "Hide all selected","Verstecke Selektierte" },
1375{ "Add items","hinzufügen" }, 1375{ "Add items","hinzufügen" },
1376{ "One (or more) selected\ntodo has subtodos!\nDo you want to select\nall subtodos of all\nselected todos as well?","Ein (oder mehrere) ausgewähltes\nTodo hat Untertodos!\nMöchten Sie der Auswahlliste\nalle Untertodos von allen\nausgewählten Todos hinzufügen?" }, 1376{ "One (or more) selected\ntodo has subtodos!\nDo you want to select\nall subtodos of all\nselected todos as well?","Ein (oder mehrere) ausgewähltes\nTodo hat Untertodos!\nMöchten Sie der Auswahlliste\nalle Untertodos von allen\nausgewählten Todos hinzufügen?" },
1377{ "Print List View...","Drucke Listenansicht..." }, 1377{ "Print List View...","Drucke Listenansicht..." },
1378{ "You can make a printout of the <b>List View</b> and the list view in the <b>Search Dialog</b>! To do this, please go to the <b>List View/Search Dialog</b>. Right click on the list. Select in the popup menu the entry <b>Print complete list</b>. That prints the list as you see it. You can remove items from the list before printing without deleting the corresponding event/todo! Simply select all items you do not want to print out. Then right click on one of the items and choose <b>Hide selected items</b>. After that you can print the list without these items.","Sie können die <b>Listenansicht</b> und die Listenansicht im <b>Suchdialog</b> ausdrucken! Um das zu machen gehen Sie bitte zur <b>Listenansicht</b> oder zum <b>Suchdialog</b>. Rechtsklicken Sie auf die Liste. Wählen Sie im Popupmenu den Eintrag <b>Drucke komplette Liste</b>. Das druckt die Liste so, wie man sie sieht. Sie können Listeneinträge entfernen ohne die korrespondierenden Ereignisse/Todos zu löschen! Selektieren sie einfach alle Einträge, die sie nicht ausdrucken möchten. Dann Rechtsklicken Sie auf einen Eintrag und wählen <b>Verstecke Selektierte</b>. Danach können Sie die Liste ohne diese Einträge ausdrucken." }, 1378{ "You can make a printout of the <b>List View</b> and the list view in the <b>Search Dialog</b>! To do this, please go to the <b>List View/Search Dialog</b>. Right click on the list. Select in the popup menu the entry <b>Print complete list</b>. That prints the list as you see it. You can remove items from the list before printing without deleting the corresponding event/todo! Simply select all items you do not want to print out. Then right click on one of the items and choose <b>Hide selected items</b>. After that you can print the list without these items.","Sie können die <b>Listenansicht</b> und die Listenansicht im <b>Suchdialog</b> ausdrucken! Um das zu machen gehen Sie bitte zur <b>Listenansicht</b> oder zum <b>Suchdialog</b>. Rechtsklicken Sie auf die Liste. Wählen Sie im Popupmenu den Eintrag <b>Drucke komplette Liste</b>. Das druckt die Liste so, wie man sie sieht. Sie können Listeneinträge entfernen ohne die korrespondierenden Ereignisse/Todos zu löschen! Selektieren sie einfach alle Einträge, die sie nicht ausdrucken möchten. Dann Rechtsklicken Sie auf einen Eintrag und wählen <b>Verstecke Selektierte</b>. Danach können Sie die Liste ohne diese Einträge ausdrucken." },
1379{ "Configure KO/Pi...","Konfiguriere KO/Pi..." }, 1379{ "Configure KO/Pi...","Konfiguriere KO/Pi..." },
1380{ "Global Settings...","Globale Einstellungen..." }, 1380{ "Global Settings...","Globale Einstellungen..." },
1381{ "<p><b>R</b>: Toggle Resource View |<b>F</b>: Edit filter </p>\n","<p><b>R</b>: Zeige Resource Ansicht | <b>F</b>: Editiere Filter </p>\n" }, 1381{ "<p><b>R</b>: Toggle Resource View |<b>F</b>: Edit filter </p>\n","<p><b>R</b>: Zeige Resource Ansicht | <b>F</b>: Editiere Filter </p>\n" },
1382{ "(disabled)","(abgeschaltet)" }, 1382{ "(disabled)","(abgeschaltet)" },
1383{ "New Calendar","Neuer Kalender" }, 1383{ "New Calendar","Neuer Kalender" },
1384{ "Calendar","Kalender" }, 1384{ "Calendar","Kalender" },
1385{ "Filter selector","Filterauswahl" }, 1385{ "Filter selector","Filterauswahl" },
1386{ "Filtermenu","Filtermenu" }, 1386{ "Filtermenu","Filtermenu" },
1387{ "Toggle Fullscreen","Vollbild umschalten" }, 1387{ "Toggle Fullscreen","Vollbild umschalten" },
1388{ "Toggle Resource View","Resourcenansicht umschalten" }, 1388{ "Toggle Resource View","Resourcenansicht umschalten" },
1389{ "Storage HowTo...","Speicherort HowTo..." }, 1389{ "Storage HowTo...","Speicherort HowTo..." },
1390{ "Timetracking HowTo...","Timetracking HowTo..." }, 1390{ "Timetracking HowTo...","Timetracking HowTo..." },
1391{ "Juni","Juni" }, 1391{ "Juni","Juni" },
1392{ "Juli","Juli" }, 1392{ "Juli","Juli" },
1393{ "ToDo:","ToDo:" }, 1393{ "ToDo:","ToDo:" },
1394{ "Set Calendar","Setze Kalender" }, 1394{ "Set Calendar","Setze Kalender" },
1395{ "Todo: %1","Todo: %1" }, 1395{ "Todo: %1","Todo: %1" },
1396{ ": (Prio ",": (Prio " }, 1396{ ": (Prio ",": (Prio " },
1397{ "Todos","Todos" }, 1397{ "Todos","Todos" },
1398{ "Todo Viewer","Todo Viewer" }, 1398{ "Todo Viewer","Todo Viewer" },
1399{ "Todo ","Todo " }, 1399{ "Todo ","Todo " },
1400{ " Calendar \n Resource "," Kalender \n Resource " }, 1400{ " Calendar \n Resource "," Kalender \n Resource " },
1401{ " Color "," Farbe " }, 1401{ " Color "," Farbe " },
1402{ "The calendar <b>%1</b> is displaying file <b>%2</b>. Do you want to remove this calendar from KO/Pi? (The file is not removed!)","Der Kalender <b>%1</b> zeigt die Datei <b>%2</b>. Möchten Sie diesen Kalender aus KO/Pi entfernen? (Die Datei wird dabei nicht gelöscht!)" }, 1402{ "The calendar <b>%1</b> is displaying file <b>%2</b>. Do you want to remove this calendar from KO/Pi? (The file is not removed!)","Der Kalender <b>%1</b> zeigt die Datei <b>%2</b>. Möchten Sie diesen Kalender aus KO/Pi entfernen? (Die Datei wird dabei nicht gelöscht!)" },
1403{ "The calendar <b>%1</b> is displaying file <b>%2</b>","Der Kalender <b>%1</b> zeigt die Datei <b>%2</b>" }, 1403{ "The calendar <b>%1</b> is displaying file <b>%2</b>","Der Kalender <b>%1</b> zeigt die Datei <b>%2</b>" },
1404{ "Add new Calendar","Füge Kalender hinzu" }, 1404{ "Add new Calendar","Füge Kalender hinzu" },
1405{ "<b>Name of new calendar:</b>","<b>Name des Kalenders:</b>" }, 1405{ "<b>Name of new calendar:</b>","<b>Name des Kalenders:</b>" },
1406{ "<b>Local ical (*.ics) file:</b>","<b>Lokale ical (*.ics) Datei:</b>" }, 1406{ "<b>Local ical (*.ics) file:</b>","<b>Lokale ical (*.ics) Datei:</b>" },
1407{ "Sorry, the calendar name is empty!","Sorry, der Kalendername ist leer!" }, 1407{ "Sorry, the calendar name is empty!","Sorry, der Kalendername ist leer!" },
1408{ "Sorry, the file name is empty!","Sorry, der Dateiname ist leer!" }, 1408{ "Sorry, the file name is empty!","Sorry, der Dateiname ist leer!" },
1409{ "Error loading calendar file\n%1.","Fehler beim Laden der Kalenderdatei\n%1." }, 1409{ "Error loading calendar file\n%1.","Fehler beim Laden der Kalenderdatei\n%1." },
1410{ "The calendar <b>%1</b> is not loaded! Loading of file <b>%2</b> failed! <b>Try again to load the calendar?</b>","Der Kalender <b>%1</b> ist nicht geladen! Das Laden der Datei <b>%2</b> schlug fehl! <b>Soll erneut versucht werden den Kalender zu laden?</b>" }, 1410{ "The calendar <b>%1</b> is not loaded! Loading of file <b>%2</b> failed! <b>Try again to load the calendar?</b>","Der Kalender <b>%1</b> ist nicht geladen! Das Laden der Datei <b>%2</b> schlug fehl! <b>Soll erneut versucht werden den Kalender zu laden?</b>" },
1411{ "Global application font for all apps:","Globale Schriftart:" }, 1411{ "Global application font for all apps:","Globale Schriftart:" },
1412{ "Application Font","Applikationsschriftart" }, 1412{ "Application Font","Applikationsschriftart" },
1413{ "Kx/Pi","Kx/Pi" }, 1413{ "Kx/Pi","Kx/Pi" },
1414{ "Backup","Backup" }, 1414{ "Backup","Backup" },
1415{ "KDE-Pim Global Settings","KDE-Pim Globale Einstellungen" }, 1415{ "KDE-Pim Global Settings","KDE-Pim Globale Einstellungen" },
1416{ "Sorry, the calendar name \n%1\nalready exists!\nPlease choose another name!","Sorry, der Kalendername \n%1\nist schon in Benutzung!\nBitte wählen Sie einen anderen!" }, 1416{ "Sorry, the calendar name \n%1\nalready exists!\nPlease choose another name!","Sorry, der Kalendername \n%1\nist schon in Benutzung!\nBitte wählen Sie einen anderen!" },
1417{ "Sorry, the file \n%1\nis already loaded!\nPlease choose another file!","Sorry, die Datei \n%1\nist schon geladen!\nBitte wählen Sie eine andere!" }, 1417{ "Sorry, the file \n%1\nis already loaded!\nPlease choose another file!","Sorry, die Datei \n%1\nist schon geladen!\nBitte wählen Sie eine andere!" },
1418{ "Choose Color","Wähle Farbe" }, 1418{ "Choose Color","Wähle Farbe" },
1419{ " OK "," OK " }, 1419{ " OK "," OK " },
1420{ " Cancel "," Abbrechen " }, 1420{ " Cancel "," Abbrechen " },
1421{ "Matching items will be added to list","Passende werden zur Liste hinzugefügt" }, 1421{ "Matching items will be added to list","Passende werden zur Liste hinzugefügt" },
1422{ "Matching items will be removed from list","Passende werden von der Liste entfernt" }, 1422{ "Matching items will be removed from list","Passende werden von der Liste entfernt" },
1423{ "Search on displayed list only","Suche auf der dargestellten Liste" }, 1423{ "Search on displayed list only","Suche auf der dargestellten Liste" },
1424{ "List will be cleared before search","Liste wird vor der Suche gelöscht" }, 1424{ "List will be cleared before search","Liste wird vor der Suche gelöscht" },
1425{ "<center>%1</center> <center>is not running. Do you want to set\nthe state to running?</center>","<center>%1</center> <center>ist nicht am Laufen. Möchten Sie den Zustand auf "laufend" setzen?</center>" }, 1425{ "<center>%1</center> <center>is not running. Do you want to set\nthe state to running?</center>","<center>%1</center> <center>ist nicht am Laufen. Möchten Sie den Zustand auf "laufend" setzen?</center>" },
1426{ "%1\nis running!","%1\nist am Laufen!" }, 1426{ "%1\nis running!","%1\nist am Laufen!" },
1427{ "Additional Comment:","Zusätzlicher Kommentar:" }, 1427{ "Additional Comment:","Zusätzlicher Kommentar:" },
1428{ "Stop and save","Stopp und Speichern" }, 1428{ "Stop and save","Stopp und Speichern" },
1429{ "Continue running","Weiter laufen lassen" }, 1429{ "Continue running","Weiter laufen lassen" },
1430{ "Stop - do not save","Stopp - nicht Speichern" }, 1430{ "Stop - do not save","Stopp - nicht Speichern" },
1431{ "Do you really want to set\nthe state to stopped\nwithout saving the data?","Möchten sie den Zustand\nwirklich auf gestoppt setzen\nohne die Daten abzuspeichern?" }, 1431{ "Do you really want to set\nthe state to stopped\nwithout saving the data?","Möchten sie den Zustand\nwirklich auf gestoppt setzen\nohne die Daten abzuspeichern?" },
1432{ "Time mismatch!","Zeiten stimmen nicht!" }, 1432{ "Time mismatch!","Zeiten stimmen nicht!" },
1433{ "The start time is\nafter the end time!","Die Startzeit ist\nhinter der Endzeit!" }, 1433{ "The start time is\nafter the end time!","Die Startzeit ist\nhinter der Endzeit!" },
1434{ "Yes, stop todo","Ja, stoppe Todo" }, 1434{ "Yes, stop todo","Ja, stoppe Todo" },
1435{ "Todo stopped - no data saved because runtime was < 15 sec!","Todo gestoppt - nichts gespeichert da Laufzeit < 15 sec!" }, 1435{ "Todo stopped - no data saved because runtime was < 15 sec!","Todo gestoppt - nichts gespeichert da Laufzeit < 15 sec!" },
1436{ "Todo started! Double click again to stop!","Todo gestartet! Doppelklicke um es zu stoppen!" }, 1436{ "Todo started! Double click again to stop!","Todo gestartet! Doppelklicke um es zu stoppen!" },
1437{ "Please choose the <b>default calendar</b> in this column. Newly created or imported items are added to the default calendar.","Bitte wählen Sie den <b>Default-Kalender</b> in dieser Spalte. Neu angelegte oder importierte Einträge werden dem Default-Kalender hinzugefügt." }, 1437{ "Please choose the <b>default calendar</b> in this column. Newly created or imported items are added to the default calendar.","Bitte wählen Sie den <b>Default-Kalender</b> in dieser Spalte. Neu angelegte oder importierte Einträge werden dem Default-Kalender hinzugefügt." },
1438{ "Spouse","Ehegatte" }, 1438{ "Spouse","Ehegatte" },
1439{ "Notes","Notizen" }, 1439{ "Notes","Notizen" },
1440{ "Messanger","Messanger" }, 1440{ "Messanger","Messanger" },
1441{ "Assistant","Assistent" }, 1441{ "Assistant","Assistent" },
1442{ "Manager","Manager" }, 1442{ "Manager","Manager" },
1443{ "Secrecy","Sichtbar" }, 1443{ "Secrecy","Sichtbar" },
1444{ "male","männlich" }, 1444{ "male","männlich" },
1445{ "female","weiblich" }, 1445{ "female","weiblich" },
1446{ "Hide!","Verbergen!" }, 1446{ "Hide!","Verbergen!" },
1447{ "Show!","Anzeigen!" }, 1447{ "Show!","Anzeigen!" },
1448{ "Details","Details" }, 1448{ "Details","Details" },
1449{ "Profession","Beruf" }, 1449{ "Profession","Beruf" },
1450{ "Children","Kinder" }, 1450{ "Children","Kinder" },
1451{ "Department","Abteilung" }, 1451{ "Department","Abteilung" },
1452{ "Backup cancelled","Backup abgebrochen" }, 1452{ "Backup cancelled","Backup abgebrochen" },
1453{ "Backup globally disabled","Backup global abgeschaltet" }, 1453{ "Backup globally disabled","Backup global abgeschaltet" },
1454{ "Backup succesfully finished","Backup erfolgreich beendet" }, 1454{ "Backup succesfully finished","Backup erfolgreich beendet" },
1455{ "(Hint: You can enable automatic backup in the global settings!)","(Hinweis: Sie können ein automatisches Backup in den globalen Einstellungen konfigurieren!)" }, 1455{ "(Hint: You can enable automatic backup in the global settings!)","(Hinweis: Sie können ein automatisches Backup in den globalen Einstellungen konfigurieren!)" },
1456{ "This will <b>backup all calendar files</b> to the directory %1 %2","Das schreibt ein <b>Backup aller Kalenderdateien</b> in das Verzeichnis %1 %2" }, 1456{ "This will <b>backup all calendar files</b> to the directory %1 %2","Das schreibt ein <b>Backup aller Kalenderdateien</b> in das Verzeichnis %1 %2" },
1457{ "Birthdays","Geburtstage" }, 1457{ "Birthdays","Geburtstage" },
1458{ "KO/Pi import information!","KO/Pi Import Information!" }, 1458{ "KO/Pi import information!","KO/Pi Import Information!" },
1459{ "Start this todo\nand stop all running","Starte dieses Todo\nund stoppe alle Laufenden" }, 1459{ "Start this todo\nand stop all running","Starte dieses Todo\nund stoppe alle Laufenden" },
1460{ "Cancel - do not start"," Abbrechen - Todo nicht starten" }, 1460{ "Cancel - do not start"," Abbrechen - Todo nicht starten" },
1461{ "The timezone has changed!\nShould the calendar be reloaded\nto shift the time of the events?\nPlease read Menu: Help->FAQ:\n"How do I change the timezone?"\nas well!","Die Zeitzone wurde geändert!\nSollen die Kalender neu geladen\nwerden num die Zeiten\nder Termine zu ändern?\nBitte lesen Sie auch\nMenu: Help->FAQ:\n"How do I change the timezone?"" }, 1461{ "The timezone has changed!\nShould the calendar be reloaded\nto shift the time of the events?\nPlease read Menu: Help->FAQ:\n"How do I change the timezone?"\nas well!","Die Zeitzone wurde geändert!\nSollen die Kalender neu geladen\nwerden num die Zeiten\nder Termine zu ändern?\nBitte lesen Sie auch\nMenu: Help->FAQ:\n"How do I change the timezone?"" },
1462{ "Reload","Neu laden" }, 1462{ "Reload","Neu laden" },
1463{ "Timezone settings","Zeitzoneneinstellung" }, 1463{ "Timezone settings","Zeitzoneneinstellung" },
1464{ "Title: ","Titel: " }, 1464{ "Title: ","Titel: " },
1465{ "Journal from: ","Journal vom: " }, 1465{ "Journal from: ","Journal vom: " },
1466{ "Journal: %1 from ","Journal: %1 vom " }, 1466{ "Journal: %1 from ","Journal: %1 vom " },
1467{ "<b>Click here to edit categories: </b>","<b>Klicke hier um Kategorien zu ändern: </b>" }, 1467{ "<b>Click here to edit categories: </b>","<b>Klicke hier um Kategorien zu ändern: </b>" },
1468{ "Selected Item","Ausgewähltes Item" }, 1468{ "Selected Item","Ausgewähltes Item" },
1469{ "Select Date...","Wähle Datum..." }, 1469{ "Select Date...","Wähle Datum..." },
1470{ "After importing/loading/syncing there may be new categories in events or todos which are not added automatically to the category list. Please choose what to do <b>now</b>:","Nach dem Importieren/Laden/Syncen kann es neue Kategorien in den Terminen oder Todos geben, die nicht automatisch der Kategorieliste hinzugefügt werden. Bitte wählen Sie, was <b>jetzt</b> passieren soll:" }, 1470{ "After importing/loading/syncing there may be new categories in events or todos which are not added automatically to the category list. Please choose what to do <b>now</b>:","Nach dem Importieren/Laden/Syncen kann es neue Kategorien in den Terminen oder Todos geben, die nicht automatisch der Kategorieliste hinzugefügt werden. Bitte wählen Sie, was <b>jetzt</b> passieren soll:" },
1471{ "Change category list now!","Ändere Kategorieliste jetzt!" }, 1471{ "Change category list now!","Ändere Kategorieliste jetzt!" },
1472{ "Edit category list...","Ändere Kategorieliste..." }, 1472{ "Edit category list...","Ändere Kategorieliste..." },
1473{ "Toolbar changes needs a restart!","Neustart benötigt für Toolbaränderungen!" }, 1473{ "Toolbar changes needs a restart!","Neustart benötigt für Toolbaränderungen!" },
1474{ "Filepath: ","Dateipfad: " }, 1474{ "Filepath: ","Dateipfad: " },
1475{ "You can try to reload the calendar in the Resource View!","In der Resourcenansicht können Sie erneut versuchen den Kalender zu laden!" }, 1475{ "You can try to reload the calendar in the Resource View!","In der Resourcenansicht können Sie erneut versuchen den Kalender zu laden!" },
1476{ "<b>WARNING:</b> There is a pending suspended alarm!","<b>WARNUNG:</b> Es gibt einen laufenden Suspendalarm!" }, 1476{ "<b>WARNING:</b> There is a pending suspended alarm!","<b>WARNUNG:</b> Es gibt einen laufenden Suspendalarm!" },
1477{ "Pending Suspend Alarm","Laufender Suspend Alarm" }, 1477{ "Pending Suspend Alarm","Laufender Suspend Alarm" },
1478{ "Error loading calendar %1","Fehler beim Laden von Kalender %1" }, 1478{ "Error loading calendar %1","Fehler beim Laden von Kalender %1" },
1479{ "Calendar(s) not loaded:","Nicht geladene(r) Kalender:" }, 1479{ "Calendar(s) not loaded:","Nicht geladene(r) Kalender:" },
1480{ "Loding of calendar(s) failed","Laden von Kalendern fehlgeschlagen" }, 1480{ "Loding of calendar(s) failed","Laden von Kalendern fehlgeschlagen" },
1481{ "","" }, 1481{ "Alarm Options","Alarm Einstellungen" },
1482{ "","" }, 1482{ "Delete selected...","Lösche Ausgewählte..." },
1483{ "None","Nichts" },
1484{ "Selection","Auswahl" },
1485{ "Set categories","Setze Kategorien" },
1486{ "This adds the selected\nitems to the calendar\n%1\nand removes them from\ntheir current calendar!","Das fügt die ausgewählten\nEinträge dem Kalender\n%1\nhinzu und entfernt sie von\nihrem aktuellen Kalender!" },
1487{ "Reset","Neu setzen" },
1488{ "Do you want to <b>add</b> categories to the selected items or <b>reset</b> the list (i.e. remove current categories)?","Möchten Sie Kategorien zu den ausgewählten Einträgen <b>hinzufügen</b> oder die Liste <b>neu setzen</b> (d.h. vorhandene Kategorien löschen)?" },
1483{ "","" }, 1489{ "","" },
1484{ "","" }, 1490{ "","" },
1485{ "","" }, 1491{ "","" },
1486{ "","" }, 1492{ "","" },
1487{ "","" }, 1493{ "","" },
1488{ "","" }, 1494{ "","" },
1489{ "","" }, 1495{ "","" },
1490{ "","" }, 1496{ "","" },
1491{ "","" }, 1497{ "","" },
1492{ "","" }, \ No newline at end of file 1498{ "","" }, \ No newline at end of file
diff --git a/korganizer/kolistview.cpp b/korganizer/kolistview.cpp
index e5e3704..4c815d8 100644
--- a/korganizer/kolistview.cpp
+++ b/korganizer/kolistview.cpp
@@ -37,1331 +37,1270 @@
37#include <qpainter.h> 37#include <qpainter.h>
38#include <qpaintdevicemetrics.h> 38#include <qpaintdevicemetrics.h>
39 39
40#include <klocale.h> 40#include <klocale.h>
41#include <kdebug.h> 41#include <kdebug.h>
42#include <kiconloader.h> 42#include <kiconloader.h>
43#include <kglobal.h> 43#include <kglobal.h>
44 44
45#include <libkdepim/kpimglobalprefs.h> 45#include <libkdepim/kpimglobalprefs.h>
46#include <libkcal/calendar.h> 46#include <libkcal/calendar.h>
47#include <libkcal/calendarlocal.h> 47#include <libkcal/calendarlocal.h>
48#include <libkcal/icalformat.h> 48#include <libkcal/icalformat.h>
49#include <libkcal/vcalformat.h> 49#include <libkcal/vcalformat.h>
50#include <libkcal/recurrence.h> 50#include <libkcal/recurrence.h>
51#include <libkcal/filestorage.h> 51#include <libkcal/filestorage.h>
52#include <libkdepim/categoryselectdialog.h> 52#include <libkdepim/categoryselectdialog.h>
53#include <libkcal/kincidenceformatter.h> 53#include <libkcal/kincidenceformatter.h>
54#ifndef DESKTOP_VERSION 54#ifndef DESKTOP_VERSION
55#include <qpe/qpeapplication.h> 55#include <qpe/qpeapplication.h>
56#else 56#else
57#include <qapplication.h> 57#include <qapplication.h>
58#endif 58#endif
59 59
60#ifndef KORG_NOPRINTER 60#ifndef KORG_NOPRINTER
61#include "calprinter.h" 61#include "calprinter.h"
62#endif 62#endif
63#include "koglobals.h" 63#include "koglobals.h"
64#include "koprefs.h" 64#include "koprefs.h"
65#include "kfiledialog.h" 65#include "kfiledialog.h"
66 66
67#include "kolistview.h" 67#include "kolistview.h"
68#include "koeventviewer.h" 68#include "koeventviewer.h"
69 69
70extern QPixmap* sgListViewCompletedPix[6]; 70extern QPixmap* sgListViewCompletedPix[6];
71 71
72class KOListViewWhatsThis :public QWhatsThis 72class KOListViewWhatsThis :public QWhatsThis
73{ 73{
74public: 74public:
75 KOListViewWhatsThis( QWidget *wid, KOListView* view ) : QWhatsThis( wid ), _wid(wid),_view (view) { }; 75 KOListViewWhatsThis( QWidget *wid, KOListView* view ) : QWhatsThis( wid ), _wid(wid),_view (view) { };
76 76
77protected: 77protected:
78 virtual QString text( const QPoint& p) 78 virtual QString text( const QPoint& p)
79 { 79 {
80 return _view->getWhatsThisText(p) ; 80 return _view->getWhatsThisText(p) ;
81 } 81 }
82private: 82private:
83 QWidget* _wid; 83 QWidget* _wid;
84 KOListView * _view; 84 KOListView * _view;
85}; 85};
86 86
87 87
88ListItemVisitor::ListItemVisitor(KOListViewItem *item, QDate date ) 88ListItemVisitor::ListItemVisitor(KOListViewItem *item, QDate date )
89{ 89{
90 mItem = item; 90 mItem = item;
91 mDate = date; 91 mDate = date;
92} 92}
93 93
94ListItemVisitor::~ListItemVisitor() 94ListItemVisitor::~ListItemVisitor()
95{ 95{
96} 96}
97 97
98bool ListItemVisitor::visit(Event *e) 98bool ListItemVisitor::visit(Event *e)
99{ 99{
100 bool ok = false; 100 bool ok = false;
101 QString start, end; 101 QString start, end;
102 QDate ds, de; 102 QDate ds, de;
103 if ( e->doesRecur() ) { 103 if ( e->doesRecur() ) {
104 ds = e->getNextOccurence( QDateTime( mDate, QTime(0,0,0)), &ok ).date(); 104 ds = e->getNextOccurence( QDateTime( mDate, QTime(0,0,0)), &ok ).date();
105 if ( ok ) { 105 if ( ok ) {
106 int days = e->dtStart().date().daysTo(e->dtEnd().date() ); 106 int days = e->dtStart().date().daysTo(e->dtEnd().date() );
107 start = KGlobal::locale()->formatDate(ds,true); 107 start = KGlobal::locale()->formatDate(ds,true);
108 de = ds.addDays( days); 108 de = ds.addDays( days);
109 end = KGlobal::locale()->formatDate(de,true); 109 end = KGlobal::locale()->formatDate(de,true);
110 } 110 }
111 111
112 } 112 }
113 if ( ! ok ) { 113 if ( ! ok ) {
114 start =e->dtStartDateStr(); 114 start =e->dtStartDateStr();
115 end = e->dtEndDateStr(); 115 end = e->dtEndDateStr();
116 ds = e->dtStart().date(); 116 ds = e->dtStart().date();
117 de = e->dtEnd().date(); 117 de = e->dtEnd().date();
118 } 118 }
119 mItem->setText(0,e->summary()); 119 mItem->setText(0,e->summary());
120 mItem->setText(1,start); 120 mItem->setText(1,start);
121 if ( e->doesFloat() ) 121 if ( e->doesFloat() )
122 mItem->setText(2,"---"); 122 mItem->setText(2,"---");
123 else 123 else
124 mItem->setText(2,e->dtStartTimeStr()); 124 mItem->setText(2,e->dtStartTimeStr());
125 mItem->setText(3,end); 125 mItem->setText(3,end);
126 if ( e->doesFloat() ) 126 if ( e->doesFloat() )
127 mItem->setText(4,"---"); 127 mItem->setText(4,"---");
128 else 128 else
129 mItem->setText(4,e->dtEndTimeStr()); 129 mItem->setText(4,e->dtEndTimeStr());
130 if ( e->isAlarmEnabled() ) { 130 if ( e->isAlarmEnabled() ) {
131 mItem->setText(5,e->alarms().first()->offsetText() ); 131 mItem->setText(5,e->alarms().first()->offsetText() );
132 } else { 132 } else {
133 mItem->setText(5, i18n("No")); 133 mItem->setText(5, i18n("No"));
134 } 134 }
135 mItem->setText(6, e->recurrence()->recurrenceText()); 135 mItem->setText(6, e->recurrence()->recurrenceText());
136 if( ! e->doesRecur() ) 136 if( ! e->doesRecur() )
137 mItem->setSortKey( 6, "-" ); 137 mItem->setSortKey( 6, "-" );
138 mItem->setText(7,"---"); 138 mItem->setText(7,"---");
139 mItem->setText(8,"---"); 139 mItem->setText(8,"---");
140 mItem->setText(9, e->cancelled() ? i18n("Yes") : i18n("No")); 140 mItem->setText(9, e->cancelled() ? i18n("Yes") : i18n("No"));
141 mItem->setText(10,e->categoriesStr()); 141 mItem->setText(10,e->categoriesStr());
142 mItem->setText(11, KOPrefs::instance()->calName( e->calID() )); 142 mItem->setText(11, KOPrefs::instance()->calName( e->calID() ));
143 143
144 QString key; 144 QString key;
145 QTime t = e->doesFloat() ? QTime(0,0) : e->dtStart().time(); 145 QTime t = e->doesFloat() ? QTime(0,0) : e->dtStart().time();
146 key.sprintf("%04d%02d%02d%02d%02d",ds.year(),ds.month(),ds.day(),t.hour(),t.minute()); 146 key.sprintf("%04d%02d%02d%02d%02d",ds.year(),ds.month(),ds.day(),t.hour(),t.minute());
147 mItem->setSortKey(1,key); 147 mItem->setSortKey(1,key);
148 148
149 t = e->doesFloat() ? QTime(0,0) : e->dtEnd().time(); 149 t = e->doesFloat() ? QTime(0,0) : e->dtEnd().time();
150 key.sprintf("%04d%02d%02d%02d%02d",de.year(),de.month(),de.day(),t.hour(),t.minute()); 150 key.sprintf("%04d%02d%02d%02d%02d",de.year(),de.month(),de.day(),t.hour(),t.minute());
151 mItem->setSortKey(3,key); 151 mItem->setSortKey(3,key);
152 return true; 152 return true;
153} 153}
154 154
155bool ListItemVisitor::visit(Todo *t) 155bool ListItemVisitor::visit(Todo *t)
156{ 156{
157 mItem->setText(0,t->summary()); 157 mItem->setText(0,t->summary());
158 if ( t->isCompleted() ) { 158 if ( t->isCompleted() ) {
159 mItem->setSortKey(0,"99"+ t->summary().left(10)); 159 mItem->setSortKey(0,"99"+ t->summary().left(10));
160 } else 160 } else
161 mItem->setSortKey(0,QString::number( t->percentComplete() )+ t->summary().left(10)); 161 mItem->setSortKey(0,QString::number( t->percentComplete() )+ t->summary().left(10));
162 mItem->setPixmap( 0, *(sgListViewCompletedPix[t->percentComplete()/20])); 162 mItem->setPixmap( 0, *(sgListViewCompletedPix[t->percentComplete()/20]));
163 if (t->hasStartDate()) { 163 if (t->hasStartDate()) {
164 mItem->setText(1,t->dtStartDateStr()); 164 mItem->setText(1,t->dtStartDateStr());
165 if (t->doesFloat()) { 165 if (t->doesFloat()) {
166 mItem->setText(2,"---"); 166 mItem->setText(2,"---");
167 } else { 167 } else {
168 mItem->setText(2,t->dtStartTimeStr()); 168 mItem->setText(2,t->dtStartTimeStr());
169 } 169 }
170 } else { 170 } else {
171 mItem->setText(1,"---"); 171 mItem->setText(1,"---");
172 mItem->setText(2,"---"); 172 mItem->setText(2,"---");
173 } 173 }
174 mItem->setText(3,"---"); 174 mItem->setText(3,"---");
175 mItem->setText(4,"---"); 175 mItem->setText(4,"---");
176 if ( t->isAlarmEnabled() ) { 176 if ( t->isAlarmEnabled() ) {
177 mItem->setText(5,t->alarms().first()->offsetText() ); 177 mItem->setText(5,t->alarms().first()->offsetText() );
178 } else { 178 } else {
179 mItem->setText(5, i18n("No")); 179 mItem->setText(5, i18n("No"));
180 } 180 }
181 mItem->setText(6, t->recurrence()->recurrenceText()); 181 mItem->setText(6, t->recurrence()->recurrenceText());
182 if( ! t->doesRecur() ) 182 if( ! t->doesRecur() )
183 mItem->setSortKey( 6, "-" ); 183 mItem->setSortKey( 6, "-" );
184 if (t->hasDueDate()) { 184 if (t->hasDueDate()) {
185 mItem->setText(7,t->dtDueDateStr()); 185 mItem->setText(7,t->dtDueDateStr());
186 if (t->doesFloat()) { 186 if (t->doesFloat()) {
187 mItem->setText(8,"---"); 187 mItem->setText(8,"---");
188 } else { 188 } else {
189 mItem->setText(8,t->dtDueTimeStr()); 189 mItem->setText(8,t->dtDueTimeStr());
190 } 190 }
191 } else { 191 } else {
192 mItem->setText(7,"---"); 192 mItem->setText(7,"---");
193 mItem->setText(8,"---"); 193 mItem->setText(8,"---");
194 } 194 }
195 mItem->setText(9, t->cancelled() ? i18n("Yes") : i18n("No")); 195 mItem->setText(9, t->cancelled() ? i18n("Yes") : i18n("No"));
196 mItem->setText(10,t->categoriesStr()); 196 mItem->setText(10,t->categoriesStr());
197 mItem->setText(11, KOPrefs::instance()->calName( t->calID() )); 197 mItem->setText(11, KOPrefs::instance()->calName( t->calID() ));
198 198
199 QString key; 199 QString key;
200 QDate d; 200 QDate d;
201 if (t->hasDueDate()) { 201 if (t->hasDueDate()) {
202 d = t->dtDue().date(); 202 d = t->dtDue().date();
203 QTime tm = t->doesFloat() ? QTime(0,0) : t->dtDue().time(); 203 QTime tm = t->doesFloat() ? QTime(0,0) : t->dtDue().time();
204 key.sprintf("%04d%02d%02d%02d%02d",d.year(),d.month(),d.day(),tm.hour(),tm.minute()); 204 key.sprintf("%04d%02d%02d%02d%02d",d.year(),d.month(),d.day(),tm.hour(),tm.minute());
205 mItem->setSortKey(7,key); 205 mItem->setSortKey(7,key);
206 } 206 }
207 if ( t->hasStartDate() ) { 207 if ( t->hasStartDate() ) {
208 d = t->dtStart().date(); 208 d = t->dtStart().date();
209 QTime tm = t->doesFloat() ? QTime(0,0) : t->dtStart().time(); 209 QTime tm = t->doesFloat() ? QTime(0,0) : t->dtStart().time();
210 key.sprintf("%04d%02d%02d%02d%02d",d.year(),d.month(),d.day(),tm.hour(),tm.minute()); 210 key.sprintf("%04d%02d%02d%02d%02d",d.year(),d.month(),d.day(),tm.hour(),tm.minute());
211 mItem->setSortKey(1,key); 211 mItem->setSortKey(1,key);
212 } 212 }
213 return true; 213 return true;
214} 214}
215 215
216bool ListItemVisitor::visit(Journal * j) 216bool ListItemVisitor::visit(Journal * j)
217{ 217{
218 218
219 QString des; 219 QString des;
220 if ( !j->summary().isEmpty() ) { 220 if ( !j->summary().isEmpty() ) {
221 des = j->summary(); 221 des = j->summary();
222 } else { 222 } else {
223 des = j->description().left(30); 223 des = j->description().left(30);
224 des = des.simplifyWhiteSpace (); 224 des = des.simplifyWhiteSpace ();
225 des.replace (QRegExp ("\\n"),"" ); 225 des.replace (QRegExp ("\\n"),"" );
226 des.replace (QRegExp ("\\r"),"" ); 226 des.replace (QRegExp ("\\r"),"" );
227 } 227 }
228 mItem->setText(0,i18n("Journal: ")+des.left(25)); 228 mItem->setText(0,i18n("Journal: ")+des.left(25));
229 mItem->setText(1,j->dtStartDateStr()); 229 mItem->setText(1,j->dtStartDateStr());
230 mItem->setText(2,"---"); 230 mItem->setText(2,"---");
231 mItem->setText(3,"---"); 231 mItem->setText(3,"---");
232 mItem->setText(4,"---"); 232 mItem->setText(4,"---");
233 mItem->setText(5,"---"); 233 mItem->setText(5,"---");
234 mItem->setText(6,"---"); 234 mItem->setText(6,"---");
235 mItem->setText(7,j->dtStartDateStr()); 235 mItem->setText(7,j->dtStartDateStr());
236 mItem->setText(8,"---"); 236 mItem->setText(8,"---");
237 mItem->setText(9,"---"); 237 mItem->setText(9,"---");
238 mItem->setText(10,j->categoriesStr()); 238 mItem->setText(10,j->categoriesStr());
239 mItem->setText(11, KOPrefs::instance()->calName( j->calID() )); 239 mItem->setText(11, KOPrefs::instance()->calName( j->calID() ));
240 240
241 QString key; 241 QString key;
242 QDate d = j->dtStart().date(); 242 QDate d = j->dtStart().date();
243 key.sprintf("%04d%02d%02d",d.year(),d.month(),d.day()); 243 key.sprintf("%04d%02d%02d",d.year(),d.month(),d.day());
244 mItem->setSortKey(1,key); 244 mItem->setSortKey(1,key);
245 mItem->setSortKey(7,key); 245 mItem->setSortKey(7,key);
246 246
247 return true; 247 return true;
248} 248}
249 249
250KOListView::KOListView(Calendar *calendar, QWidget *parent, 250KOListView::KOListView(Calendar *calendar, QWidget *parent,
251 const char *name) 251 const char *name)
252 : KOEventView(calendar, parent, name) 252 : KOEventView(calendar, parent, name)
253{ 253{
254 254
255 mActiveItem = 0; 255 mActiveItem = 0;
256 mForceShowCompletedTodos = false; 256 mForceShowCompletedTodos = false;
257 mListView = new KOListViewListView(this); 257 mListView = new KOListViewListView(this);
258 mListView->addColumn(i18n("Summary")); 258 mListView->addColumn(i18n("Summary"));
259 mListView->addColumn(i18n("Start Date")); 259 mListView->addColumn(i18n("Start Date"));
260 mListView->addColumn(i18n("Start Time")); 260 mListView->addColumn(i18n("Start Time"));
261 mListView->addColumn(i18n("End Date")); 261 mListView->addColumn(i18n("End Date"));
262 mListView->addColumn(i18n("End Time")); 262 mListView->addColumn(i18n("End Time"));
263 mListView->addColumn(i18n("Alarm")); // alarm set? 263 mListView->addColumn(i18n("Alarm")); // alarm set?
264 mListView->addColumn(i18n("Recurs")); // recurs? 264 mListView->addColumn(i18n("Recurs")); // recurs?
265 mListView->addColumn(i18n("Due Date")); 265 mListView->addColumn(i18n("Due Date"));
266 mListView->addColumn(i18n("Due Time")); 266 mListView->addColumn(i18n("Due Time"));
267 mListView->addColumn(i18n("Cancelled")); 267 mListView->addColumn(i18n("Cancelled"));
268 mListView->addColumn(i18n("Categories")); 268 mListView->addColumn(i18n("Categories"));
269 mListView->addColumn(i18n("Calendar")); 269 mListView->addColumn(i18n("Calendar"));
270 270
271 mListView->setColumnAlignment(0,AlignLeft); 271 mListView->setColumnAlignment(0,AlignLeft);
272 mListView->setColumnAlignment(1,AlignLeft); 272 mListView->setColumnAlignment(1,AlignLeft);
273 mListView->setColumnAlignment(2,AlignHCenter); 273 mListView->setColumnAlignment(2,AlignHCenter);
274 mListView->setColumnAlignment(3,AlignLeft); 274 mListView->setColumnAlignment(3,AlignLeft);
275 mListView->setColumnAlignment(4,AlignHCenter); 275 mListView->setColumnAlignment(4,AlignHCenter);
276 mListView->setColumnAlignment(5,AlignLeft); 276 mListView->setColumnAlignment(5,AlignLeft);
277 mListView->setColumnAlignment(6,AlignLeft); 277 mListView->setColumnAlignment(6,AlignLeft);
278 mListView->setColumnAlignment(7,AlignLeft); 278 mListView->setColumnAlignment(7,AlignLeft);
279 mListView->setColumnAlignment(8,AlignLeft); 279 mListView->setColumnAlignment(8,AlignLeft);
280 mListView->setColumnAlignment(9,AlignLeft); 280 mListView->setColumnAlignment(9,AlignLeft);
281 mListView->setColumnAlignment(10,AlignLeft); 281 mListView->setColumnAlignment(10,AlignLeft);
282 mListView->setColumnAlignment(11,AlignLeft); 282 mListView->setColumnAlignment(11,AlignLeft);
283 mKOListViewWhatsThis = new KOListViewWhatsThis(mListView->viewport(),this); 283 mKOListViewWhatsThis = new KOListViewWhatsThis(mListView->viewport(),this);
284 284
285 int iii = 0; 285 int iii = 0;
286 for ( iii = 0; iii< 12 ; ++iii ) 286 for ( iii = 0; iii< 12 ; ++iii )
287 mListView->setColumnWidthMode( iii, QListView::Manual ); 287 mListView->setColumnWidthMode( iii, QListView::Manual );
288 288
289 QBoxLayout *layoutTop = new QVBoxLayout(this); 289 QBoxLayout *layoutTop = new QVBoxLayout(this);
290 layoutTop->addWidget(mListView); 290 layoutTop->addWidget(mListView);
291 mListView->setFont ( KOPrefs::instance()->mListViewFont ); 291 mListView->setFont ( KOPrefs::instance()->mListViewFont );
292 mPopupMenu = eventPopup(); 292 mPopupMenu = eventPopup();
293 mPopupMenu->addAdditionalItem(QIconSet(QPixmap()), 293 QPopupMenu* selPopup = new QPopupMenu ( this );
294 i18n("Select all"),this, 294 mPopupMenu->insertSeparator();
295 SLOT(allSelection()),true); 295
296 mPopupMenu->addAdditionalItem(QIconSet(QPixmap()), 296 selPopup->insertItem(i18n("All"),this,
297 i18n("Deselect all"),this, 297 SLOT(allSelection()));
298 SLOT(clearSelection()),true); 298 selPopup->insertItem(i18n("None"),this,
299 mPopupMenu->addAdditionalItem(QIconSet(QPixmap()), 299 SLOT(clearSelection()));
300 i18n("Delete all selected"),this, 300 selPopup->insertItem(i18n("Delete selected..."),this,
301 SLOT(deleteAll()),true); 301 SLOT(deleteAll()));
302 302 mPopupMenu->insertItem(i18n("Selection"), selPopup );
303 mPopupMenu->addAdditionalItem(QIconSet(QPixmap()), 303 mPopupMenu->addAdditionalItem(QIconSet(QPixmap()),
304 i18n("Hide all selected"),this, 304 i18n("Hide all selected"),this,
305 SLOT(hideAll()),true); 305 SLOT(hideAll()),true);
306 306
307 mPopupMenu->insertSeparator(); 307 mPopupMenu->insertSeparator();
308#ifdef DESKTOP_VERSION 308#ifdef DESKTOP_VERSION
309 mPopupMenu->addAdditionalItem(QIconSet(QPixmap()), 309 mPopupMenu->addAdditionalItem(QIconSet(QPixmap()),
310 i18n("Print complete list"),this, 310 i18n("Print complete list"),this,
311 SLOT(printList()),true); 311 SLOT(printList()),true);
312 mPopupMenu->insertSeparator(); 312 mPopupMenu->insertSeparator();
313#endif 313#endif
314 mCalPopup = new QPopupMenu ( this ); 314 mCalPopup = new QPopupMenu ( this );
315 mPopupMenu->insertItem( i18n("Set Calendar"), mCalPopup ); 315 mPopupMenu->insertItem( i18n("Set Calendar"), mCalPopup );
316 316
317 mPopupMenu->addAdditionalItem(QIconSet(QPixmap()),
318 i18n("Set categories")+"...",this,
319 SLOT(setCat()),true);
320 mPopupMenu->addAdditionalItem(QIconSet(QPixmap()),
321 i18n("Set alarm..."),this,
322 SLOT(setAlarm()),true);
317 QObject::connect(mCalPopup,SIGNAL(aboutToShow()),this, 323 QObject::connect(mCalPopup,SIGNAL(aboutToShow()),this,
318 SLOT( populateCalPopup() )); 324 SLOT( populateCalPopup() ));
319 QObject::connect(mCalPopup,SIGNAL(activated( int )),this, 325 QObject::connect(mCalPopup,SIGNAL(activated( int )),this,
320 SLOT( setCalendar( int ) )); 326 SLOT( setCalendar( int ) ));
321 QPopupMenu * exportPO = new QPopupMenu ( this ); 327 QPopupMenu * exportPO = new QPopupMenu ( this );
322 mPopupMenu->insertItem( i18n("Export selected"), exportPO ); 328 mPopupMenu->insertItem( i18n("Export"), exportPO );
323 exportPO->insertItem( i18n("As iCal (ics) file..."),this, 329 exportPO->insertItem( i18n("As iCal (ics) file..."),this,
324 SLOT(saveToFile())); 330 SLOT(saveToFile()));
325 exportPO->insertItem( i18n("As vCal (vcs) file..."),this, 331 exportPO->insertItem( i18n("As vCal (vcs) file..."),this,
326 SLOT(saveToFileVCS())); 332 SLOT(saveToFileVCS()));
327 exportPO->insertItem( i18n("Journal/Details..."),this, 333 exportPO->insertItem( i18n("Journal/Details..."),this,
328 SLOT(saveDescriptionToFile())); 334 SLOT(saveDescriptionToFile()));
329 // mPopupMenu->insertSeparator(); 335 // mPopupMenu->insertSeparator();
330 mPopupMenu->addAdditionalItem(QIconSet(QPixmap()), 336 // mPopupMenu->addAdditionalItem(QIconSet(QPixmap()),
331 i18n("Add Categ. to selected..."),this, 337 // i18n("Add Categ. to selected..."),this,
332 SLOT(addCat()),true); 338 // SLOT(addCat()),true);
333 mPopupMenu->addAdditionalItem(QIconSet(QPixmap()),
334 i18n("Set Categ. for selected..."),this,
335 SLOT(setCat()),true);
336 //mPopupMenu->insertSeparator(); 339 //mPopupMenu->insertSeparator();
337 mPopupMenu->addAdditionalItem(QIconSet(QPixmap()),
338 i18n("Set alarm for selected..."),this,
339 SLOT(setAlarm()),true);
340
341
342
343#ifndef DESKTOP_VERSION 340#ifndef DESKTOP_VERSION
344 mPopupMenu->insertSeparator(); 341 mPopupMenu->insertSeparator();
345 mPopupMenu->addAdditionalItem(QIconSet(QPixmap()), 342 mPopupMenu->addAdditionalItem(QIconSet(QPixmap()),
346 i18n("Beam selected via IR"),this, 343 i18n("Beam via IR"),this,
347 SLOT(beamSelected()),true); 344 SLOT(beamSelected()),true);
348#endif 345#endif
349 /* 346 /*
350 mPopupMenu = new QPopupMenu; 347 mPopupMenu = new QPopupMenu;
351 mPopupMenu->insertItem(i18n("Edit Event"), this, 348 mPopupMenu->insertItem(i18n("Edit Event"), this,
352 SLOT (editEvent())); 349 SLOT (editEvent()));
353 mPopupMenu->insertItem(SmallIcon("delete"), i18n("Delete Event"), this, 350 mPopupMenu->insertItem(SmallIcon("delete"), i18n("Delete Event"), this,
354 SLOT (deleteEvent())); 351 SLOT (deleteEvent()));
355 mPopupMenu->insertSeparator(); 352 mPopupMenu->insertSeparator();
356 mPopupMenu->insertItem(i18n("Show Dates"), this, 353 mPopupMenu->insertItem(i18n("Show Dates"), this,
357 SLOT(showDates())); 354 SLOT(showDates()));
358 mPopupMenu->insertItem(i18n("Hide Dates"), this, 355 mPopupMenu->insertItem(i18n("Hide Dates"), this,
359 SLOT(hideDates())); 356 SLOT(hideDates()));
360 */ 357 */
361 QObject::connect(mListView,SIGNAL( newEvent()), 358 QObject::connect(mListView,SIGNAL( newEvent()),
362 this,SIGNAL(signalNewEvent())); 359 this,SIGNAL(signalNewEvent()));
363 QObject::connect(mListView,SIGNAL(doubleClicked(QListViewItem *)), 360 QObject::connect(mListView,SIGNAL(doubleClicked(QListViewItem *)),
364 this,SLOT(defaultItemAction(QListViewItem *))); 361 this,SLOT(defaultItemAction(QListViewItem *)));
365 QObject::connect(mListView,SIGNAL(rightButtonPressed( QListViewItem *, 362 QObject::connect(mListView,SIGNAL(rightButtonPressed( QListViewItem *,
366 const QPoint &, int )), 363 const QPoint &, int )),
367 this,SLOT(popupMenu(QListViewItem *,const QPoint &,int))); 364 this,SLOT(popupMenu(QListViewItem *,const QPoint &,int)));
368 QObject::connect(mListView,SIGNAL(currentChanged(QListViewItem *)), 365 QObject::connect(mListView,SIGNAL(currentChanged(QListViewItem *)),
369 SLOT(processSelectionChange(QListViewItem *))); 366 SLOT(processSelectionChange(QListViewItem *)));
370 QObject::connect(mListView,SIGNAL(showIncidence(Incidence *)), 367 QObject::connect(mListView,SIGNAL(showIncidence(Incidence *)),
371 SIGNAL(showIncidenceSignal(Incidence *)) ); 368 SIGNAL(showIncidenceSignal(Incidence *)) );
372 369
373 readSettings(KOGlobals::config(),"KOListView Layout"); 370 readSettings(KOGlobals::config(),"KOListView Layout");
374} 371}
375 372
376KOListView::~KOListView() 373KOListView::~KOListView()
377{ 374{
378 delete mPopupMenu; 375 delete mPopupMenu;
379#if QT_VERSION >= 0x030000 376#if QT_VERSION >= 0x030000
380 377
381#else 378#else
382 delete mKOListViewWhatsThis; 379 delete mKOListViewWhatsThis;
383#endif 380#endif
384} 381}
385 382
386QString KOListView::getWhatsThisText(QPoint p) 383QString KOListView::getWhatsThisText(QPoint p)
387{ 384{
388 KOListViewItem* item = ( KOListViewItem* ) mListView->itemAt( p ); 385 KOListViewItem* item = ( KOListViewItem* ) mListView->itemAt( p );
389 if ( item ) 386 if ( item )
390 return KIncidenceFormatter::instance()->getFormattedText( item->data(), 387 return KIncidenceFormatter::instance()->getFormattedText( item->data(),
391 KOPrefs::instance()->mWTshowDetails, 388 KOPrefs::instance()->mWTshowDetails,
392 KOPrefs::instance()->mWTshowCreated, 389 KOPrefs::instance()->mWTshowCreated,
393 KOPrefs::instance()->mWTshowChanged); 390 KOPrefs::instance()->mWTshowChanged);
394 return i18n("That is the list view" ); 391 return i18n("That is the list view" );
395 392
396} 393}
397 394
398void KOListView::setCalendar( int c ) 395void KOListView::setCalendar( int c )
399{ 396{
400 int result = QMessageBox::warning( this, i18n("KO/Pi: Information!"), 397 int result = QMessageBox::warning( this, i18n("KO/Pi: Information!"),
401 i18n("This adds the selected\nitems to the calendar\n%1\nand removes them from\ntheir current calendar!").arg( KOPrefs::instance()->calName( c ) ), 398 i18n("This adds the selected\nitems to the calendar\n%1\nand removes them from\ntheir current calendar!").arg( KOPrefs::instance()->calName( c ) ),
402 i18n("Continue"), i18n("Cancel"), 0, 399 i18n("Continue"), i18n("Cancel"), 0,
403 0, 1 ); 400 0, 1 );
404 if ( result != 0 ) { 401 if ( result != 0 ) {
405 return; 402 return;
406 } 403 }
407 404
408 QPtrList<Incidence> delSel = getSelectedIncidences() ; 405 QPtrList<Incidence> delSel = getSelectedIncidences() ;
409 int icount = delSel.count(); 406 int icount = delSel.count();
410 if ( icount ) { 407 if ( icount ) {
411 Incidence *incidence = delSel.first(); 408 Incidence *incidence = delSel.first();
412 while ( incidence ) { 409 while ( incidence ) {
413 incidence->setCalID( c ); 410 incidence->setCalID( c );
414 KOListViewItem * item = getItemForEvent( incidence ); 411 KOListViewItem * item = getItemForEvent( incidence );
415 if ( item ) { 412 if ( item ) {
416 ListItemVisitor v(item, mStartDate ); 413 ListItemVisitor v(item, mStartDate );
417 incidence->accept(v); 414 incidence->accept(v);
418 } 415 }
419 incidence = delSel.next(); 416 incidence = delSel.next();
420 } 417 }
421 } 418 }
422 QPtrList<KopiCalendarFile> calendars = KOPrefs::instance()->mCalendars; 419 QPtrList<KopiCalendarFile> calendars = KOPrefs::instance()->mCalendars;
423 KopiCalendarFile * cal = calendars.first(); 420 KopiCalendarFile * cal = calendars.first();
424 while ( cal ) { 421 while ( cal ) {
425 mCalendar->setCalendarEnabled( cal->mCalNumber,cal->isEnabled ); 422 mCalendar->setCalendarEnabled( cal->mCalNumber,cal->isEnabled );
426 mCalendar->setAlarmEnabled( cal->mCalNumber, cal->isAlarmEnabled ); 423 mCalendar->setAlarmEnabled( cal->mCalNumber, cal->isAlarmEnabled );
427 mCalendar->setReadOnly( cal->mCalNumber, cal->isReadOnly ); 424 mCalendar->setReadOnly( cal->mCalNumber, cal->isReadOnly );
428 if ( cal->isStandard ) 425 if ( cal->isStandard )
429 mCalendar->setDefaultCalendar( cal->mCalNumber ); 426 mCalendar->setDefaultCalendar( cal->mCalNumber );
430 cal = calendars.next(); 427 cal = calendars.next();
431 } 428 }
432 mCalendar->setSyncEventsReadOnly(); 429 mCalendar->setSyncEventsReadOnly();
433 mCalendar->reInitAlarmSettings(); 430 mCalendar->reInitAlarmSettings();
434 431
435} 432}
436void KOListView::populateCalPopup() 433void KOListView::populateCalPopup()
437{ 434{
438 mCalPopup->clear(); 435 mCalPopup->clear();
439 KopiCalendarFile * kkf = KOPrefs::instance()->mCalendars.first(); 436 KopiCalendarFile * kkf = KOPrefs::instance()->mCalendars.first();
440 while ( kkf ) { 437 while ( kkf ) {
441 int index = mCalPopup->insertItem( kkf->mName, kkf->mCalNumber); 438 int index = mCalPopup->insertItem( kkf->mName+"...", kkf->mCalNumber);
442 if ( kkf->mErrorOnLoad || kkf->isReadOnly ) 439 if ( kkf->mErrorOnLoad || kkf->isReadOnly )
443 mCalPopup->setItemEnabled( index, false ); 440 mCalPopup->setItemEnabled( index, false );
444 kkf = KOPrefs::instance()->mCalendars.next(); 441 kkf = KOPrefs::instance()->mCalendars.next();
445 } 442 }
446} 443}
447void KOListView::updateList() 444void KOListView::updateList()
448{ 445{
449 // qDebug(" KOListView::updateList() "); 446 // qDebug(" KOListView::updateList() ");
450 447
451} 448}
452 449
453void KOListView::clearList() 450void KOListView::clearList()
454{ 451{
455 clear (); 452 clear ();
456} 453}
457void KOListView::addCat( ) 454
458{
459 setCategories( false );
460}
461void KOListView::setCat() 455void KOListView::setCat()
462{ 456{
463 setCategories( true ); 457
458 bool set = true;
459 int result = KMessageBox::warningYesNoCancel(this,
460 i18n("Do you want to <b>add</b> categories to the selected items or <b>reset</b> the list (i.e. remove current categories)?"),
461 i18n("Set categories"),
462 i18n("Add"),
463 i18n("Reset"));
464 if (result == KMessageBox::Cancel) return;
465 if (result == KMessageBox::Yes) set = false;
466 setCategories( set );
464} 467}
465 468
466void KOListView::setAlarm() 469void KOListView::setAlarm()
467{ 470{
468 KOAlarmPrefs kap( this); 471 KOAlarmPrefs kap( this);
469 if ( !kap.exec() ) 472 if ( !kap.exec() )
470 return; 473 return;
471 QStringList itemList;
472 QPtrList<KOListViewItem> sel ; 474 QPtrList<KOListViewItem> sel ;
473 QListViewItem *qitem = mListView->firstChild (); 475 QListViewItem *qitem = mListView->firstChild ();
474 while ( qitem ) { 476 while ( qitem ) {
475 if ( qitem->isSelected() ) { 477 if ( qitem->isSelected() ) {
476 Incidence* inc = ((KOListViewItem *) qitem)->data(); 478 Incidence* inc = ((KOListViewItem *) qitem)->data();
477 if ( inc->typeID() != journalID ) { 479 if ( inc->typeID() != journalID ) {
478 if ( inc->typeID() == todoID ) { 480 if ( inc->typeID() == todoID ) {
479 if ( ((Todo*)inc)->hasDueDate() ) 481 if ( ((Todo*)inc)->hasDueDate() )
480 sel.append(((KOListViewItem *)qitem)); 482 sel.append(((KOListViewItem *)qitem));
481 } else 483 } else
482 sel.append(((KOListViewItem *)qitem)); 484 sel.append(((KOListViewItem *)qitem));
483 } 485 }
484 } 486 }
485 qitem = qitem->nextSibling(); 487 qitem = qitem->nextSibling();
486 } 488 }
487 int count = 0; 489 int count = 0;
488 KOListViewItem * item, *temp; 490 KOListViewItem * item, *temp;
489 item = sel.first(); 491 item = sel.first();
490 Incidence* inc; 492 Incidence* inc;
491 while ( item ) { 493 while ( item ) {
492 inc = item->data(); 494 inc = item->data();
493 ++count; 495 ++count;
494 if (kap.mAlarmButton->isChecked()) { 496 if (kap.mAlarmButton->isChecked()) {
495 if (inc->alarms().count() == 0) 497 if (inc->alarms().count() == 0)
496 inc->newAlarm(); 498 inc->newAlarm();
497 QPtrList<Alarm> alarms = inc->alarms(); 499 QPtrList<Alarm> alarms = inc->alarms();
498 Alarm *alarm; 500 Alarm *alarm;
499 for (alarm = alarms.first(); alarm; alarm = alarms.next() ) { 501 for (alarm = alarms.first(); alarm; alarm = alarms.next() ) {
500 alarm->setEnabled(true); 502 alarm->setEnabled(true);
501 int j = kap.mAlarmTimeEdit->value()* -60; 503 int j = kap.mAlarmTimeEdit->value()* -60;
502 if (kap.mAlarmIncrCombo->currentItem() == 1) 504 if (kap.mAlarmIncrCombo->currentItem() == 1)
503 j = j * 60; 505 j = j * 60;
504 else if (kap.mAlarmIncrCombo->currentItem() == 2) 506 else if (kap.mAlarmIncrCombo->currentItem() == 2)
505 j = j * (60 * 24); 507 j = j * (60 * 24);
506 alarm->setStartOffset( j ); 508 alarm->setStartOffset( j );
507 509
508 if (!kap.mAlarmProgram.isEmpty() && kap.mAlarmProgramButton->isOn()) { 510 if (!kap.mAlarmProgram.isEmpty() && kap.mAlarmProgramButton->isOn()) {
509 alarm->setProcedureAlarm(kap.mAlarmProgram); 511 alarm->setProcedureAlarm(kap.mAlarmProgram);
510 } 512 }
511 else if (!kap.mAlarmSound.isEmpty() && kap.mAlarmSoundButton->isOn()) 513 else if (!kap.mAlarmSound.isEmpty() && kap.mAlarmSoundButton->isOn())
512 alarm->setAudioAlarm(kap.mAlarmSound); 514 alarm->setAudioAlarm(kap.mAlarmSound);
513 else 515 else
514 alarm->setType(Alarm::Invalid); 516 alarm->setType(Alarm::Invalid);
515 //alarm->setAudioAlarm("default"); 517 //alarm->setAudioAlarm("default");
516 // TODO: Deal with multiple alarms 518 // TODO: Deal with multiple alarms
517 break; // For now, stop after the first alarm 519 break; // For now, stop after the first alarm
518 } 520 }
519 } else { 521 } else {
520 Alarm* alarm = inc->alarms().first(); 522 Alarm* alarm = inc->alarms().first();
521 if ( alarm ) { 523 if ( alarm ) {
522 alarm->setEnabled(false); 524 alarm->setEnabled(false);
523 alarm->setType(Alarm::Invalid); 525 alarm->setType(Alarm::Invalid);
524 } 526 }
525 } 527 }
526 ListItemVisitor v(item, mStartDate ); 528 ListItemVisitor v(item, mStartDate );
527 inc->accept(v); 529 inc->accept(v);
528 item = sel.next(); 530 item = sel.next();
529 } 531 }
530 topLevelWidget()->setCaption( i18n("Changed alarm for %1 items").arg( count ) ); 532 topLevelWidget()->setCaption( i18n("Changed alarm for %1 items").arg( count ) );
531 qDebug("KO: Set alarm for %d items", count); 533 qDebug("KO: Set alarm for %d items", count);
532 calendar()->reInitAlarmSettings(); 534 calendar()->reInitAlarmSettings();
533 QTimer::singleShot( 1, this, SLOT ( resetFocus() ) ); 535 QTimer::singleShot( 1, this, SLOT ( resetFocus() ) );
534} 536}
535void KOListView::setCategories( bool removeOld ) 537void KOListView::setCategories( bool removeOld )
536{ 538{
537 539
538 KPIM::CategorySelectDialog* csd = new KPIM::CategorySelectDialog( KOPrefs::instance(), 0 ); 540 KPIM::CategorySelectDialog* csd = new KPIM::CategorySelectDialog( KOPrefs::instance(), 0 );
539 csd->setColorEnabled(); 541 csd->setColorEnabled();
540 if (! csd->exec()) { 542 if (! csd->exec()) {
541 delete csd; 543 delete csd;
542 return; 544 return;
543 } 545 }
544 QStringList catList = csd->selectedCategories(); 546 QStringList catList = csd->selectedCategories();
545 delete csd; 547 delete csd;
546 // if ( catList.count() == 0 ) 548 QPtrList<Incidence> delSel = getSelectedIncidences(); // all inc allowed;
547 // return; 549 Incidence* inc = delSel.first();
548 //catList.sort(); 550 while ( inc ) {
549 QString categoriesStr = catList.join(","); 551 if ( removeOld ) {
550 int i; 552 inc->setCategories( catList, false );
551 QStringList itemList; 553 } else {
552 QPtrList<KOListViewItem> sel ; 554 inc->addCategories( catList, false );
553 QListViewItem *qitem = mListView->firstChild (); 555 }
554 while ( qitem ) { 556 KOListViewItem* item = getItemForEvent(inc);
555 if ( qitem->isSelected() ) { 557 if (item) {
556 sel.append(((KOListViewItem *)qitem));
557 }
558 qitem = qitem->nextSibling();
559 }
560 KOListViewItem * item, *temp;
561 item = sel.first();
562 if( item ) {
563 Incidence* inc = item->data() ;
564 bool setSub = false;
565 if( inc->typeID() == todoID && sel.count() == 1 && inc->relations().count() > 0 ) {
566 int result = KMessageBox::warningYesNoCancel(this,
567 i18n("The todo\n%1\nhas subtodos!\nDo you want to set\nthe categories for\nall subtodos as well?").arg( inc->summary().left ( 25 ) ),
568 i18n("Todo has subtodos"),
569 i18n("Yes"),
570 i18n("No"));
571 if (result == KMessageBox::Cancel) item = 0;
572 if (result == KMessageBox::Yes) setSub = true;
573 }
574 while ( item ) {
575 inc = item->data();
576 if ( removeOld ) {
577 inc->setCategories( catList, setSub );
578 } else {
579 inc->addCategories( catList, setSub );
580 }
581 ListItemVisitor v(item, mStartDate ); 558 ListItemVisitor v(item, mStartDate );
582 inc->accept(v); 559 inc->accept(v);
583 item = sel.next();
584 } 560 }
561 inc = delSel.next();
585 } 562 }
586 QTimer::singleShot( 1, this, SLOT ( resetFocus() ) ); 563 QTimer::singleShot( 1, this, SLOT ( resetFocus() ) );
587} 564}
588 565
589void KOListView::beamSelected() 566void KOListView::beamSelected()
590{ 567{
591 QPtrList<Incidence> delSel = getSelectedIncidences() ; 568 QPtrList<Incidence> delSel = getSelectedIncidences() ;
592 int icount = delSel.count(); 569 if ( delSel.count() )
593 if ( icount ) {
594 emit beamIncidenceList( delSel ); 570 emit beamIncidenceList( delSel );
595 return;
596 QString fn ;
597 fn = QDir::homeDirPath()+"/kopitempbeamfile.vcs";
598 QString mes;
599 bool createbup = true;
600 if ( createbup ) {
601 QString description = "\n";
602 CalendarLocal* cal = new CalendarLocal();
603 cal->setTimeZoneId(KPimGlobalPrefs::instance()->mTimeZoneId);
604 Incidence *incidence = delSel.first();
605 while ( incidence ) {
606 Incidence *in = incidence->clone();
607 description += in->summary() + "\n";
608 cal->addIncidence( in );
609 incidence = delSel.next();
610 }
611 FileStorage storage( cal, fn, new VCalFormat );
612 storage.save();
613 delete cal;
614 mes = i18n("KO/Pi: Ready for beaming");
615 topLevelWidget()->setCaption(mes);
616
617#ifndef DESKTOP_VERSION
618 Ir *ir = new Ir( this );
619 connect( ir, SIGNAL( done( Ir * ) ), this, SLOT( beamDone( Ir * ) ) );
620 ir->send( fn, description, "text/x-vCalendar" );
621#endif
622 }
623 }
624}
625void KOListView::beamDone( Ir *ir )
626{
627#ifndef DESKTOP_VERSION
628 delete ir;
629#endif
630 topLevelWidget()->setCaption(i18n("KO/Pi:Beaming done"));
631} 571}
632 572
633void KOListView::saveDescriptionToFile() 573void KOListView::saveDescriptionToFile()
634{ 574{
635 575
636 int result = QMessageBox::warning( this, i18n("KO/Pi: Information!"), 576 int result = QMessageBox::warning( this, i18n("KO/Pi: Information!"),
637 i18n("This saves the text/details of selected\nJournals and Events/Todos\nto a text file."), 577 i18n("This saves the text/details of selected\nJournals and Events/Todos\nto a text file."),
638 i18n("Continue"), i18n("Cancel"), 0, 578 i18n("Continue"), i18n("Cancel"), 0,
639 0, 1 ); 579 0, 1 );
640 if ( result != 0 ) { 580 if ( result != 0 ) {
641 return; 581 return;
642 } 582 }
643 QPtrList<Incidence> delSel = getSelectedIncidences() ; 583 QPtrList<Incidence> delSel = getSelectedIncidences() ;
644 int icount = delSel.count(); 584 int icount = delSel.count();
645 if ( icount ) { 585 if ( icount ) {
646 QString fn = KOPrefs::instance()->mLastSaveFile; 586 QString fn = KOPrefs::instance()->mLastSaveFile;
647 fn = KFileDialog::getSaveFileName( fn, i18n("Save filename"), this ); 587 fn = KFileDialog::getSaveFileName( fn, i18n("Save filename"), this );
648 588
649 if ( fn == "" ) 589 if ( fn == "" )
650 return; 590 return;
651 QFileInfo info; 591 QFileInfo info;
652 info.setFile( fn ); 592 info.setFile( fn );
653 QString mes; 593 QString mes;
654 bool createbup = true; 594 bool createbup = true;
655 if ( info. exists() ) { 595 if ( info. exists() ) {
656 mes = i18n("File already exists!\nOld file from:\n%1\nOverwrite?\n").arg (KGlobal::locale()->formatDateTime(info.lastModified (), true, false ) ); 596 mes = i18n("File already exists!\nOld file from:\n%1\nOverwrite?\n").arg (KGlobal::locale()->formatDateTime(info.lastModified (), true, false ) );
657 int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"),mes, 597 int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"),mes,
658 i18n("Overwrite!"), i18n("Cancel"), 0, 598 i18n("Overwrite!"), i18n("Cancel"), 0,
659 0, 1 ); 599 0, 1 );
660 if ( result != 0 ) { 600 if ( result != 0 ) {
661 createbup = false; 601 createbup = false;
662 } 602 }
663 } 603 }
664 if ( createbup ) { 604 if ( createbup ) {
665 QString text = i18n("KO/Pi Description/Journal save file.\nSave date: ") + 605 QString text = i18n("KO/Pi Description/Journal save file.\nSave date: ") +
666 KGlobal::locale()->formatDateTime(QDateTime::currentDateTime(), false); 606 KGlobal::locale()->formatDateTime(QDateTime::currentDateTime(), false);
667 Incidence *incidence = delSel.first(); 607 Incidence *incidence = delSel.first();
668 icount = 0; 608 icount = 0;
669 while ( incidence ) { 609 while ( incidence ) {
670 if ( incidence->typeID() == journalID ) { 610 if ( incidence->typeID() == journalID ) {
671 text += "\n************************************\n"; 611 text += "\n************************************\n";
672 if ( !incidence->summary().isEmpty() ) 612 if ( !incidence->summary().isEmpty() )
673 text += i18n("Journal: %1 from ").arg( incidence->summary() ) +incidence->dtStartDateStr( false ); 613 text += i18n("Journal: %1 from ").arg( incidence->summary() ) +incidence->dtStartDateStr( false );
674 else 614 else
675 text += i18n("Journal from: ") +incidence->dtStartDateStr( false ); 615 text += i18n("Journal from: ") +incidence->dtStartDateStr( false );
676 if ( !incidence->location().isEmpty() ) 616 if ( !incidence->location().isEmpty() )
677 text +="\n(" + i18n("Location: ") + incidence->location()+ ")"; 617 text +="\n(" + i18n("Location: ") + incidence->location()+ ")";
678 text +="\n" + i18n("Last modified: ") +KGlobal::locale()->formatDateTime(incidence->lastModified(), false); 618 text +="\n" + i18n("Last modified: ") +KGlobal::locale()->formatDateTime(incidence->lastModified(), false);
679 text +="\n" + i18n("Description: ") + "\n"+ incidence->description(); 619 text +="\n" + i18n("Description: ") + "\n"+ incidence->description();
680 ++icount; 620 ++icount;
681 621
682 } else { 622 } else {
683 if ( !incidence->description().isEmpty() ) { 623 if ( !incidence->description().isEmpty() ) {
684 text += "\n************************************\n"; 624 text += "\n************************************\n";
685 if ( incidence->typeID() == todoID ) 625 if ( incidence->typeID() == todoID )
686 text += i18n("To-Do: "); 626 text += i18n("To-Do: ");
687 text += incidence->summary(); 627 text += incidence->summary();
688 if ( !incidence->location().isEmpty() ) 628 if ( !incidence->location().isEmpty() )
689 text +="\n(" + i18n("Location: ") + incidence->location()+ ")"; 629 text +="\n(" + i18n("Location: ") + incidence->location()+ ")";
690 if ( incidence->hasStartDate() ) 630 if ( incidence->hasStartDate() )
691 text +="\n"+ i18n("Start Date: ") + incidence->dtStartStr( false ); 631 text +="\n"+ i18n("Start Date: ") + incidence->dtStartStr( false );
692 text +="\n"+ i18n("Last modified: ") +KGlobal::locale()->formatDateTime(incidence->lastModified(), false); 632 text +="\n"+ i18n("Last modified: ") +KGlobal::locale()->formatDateTime(incidence->lastModified(), false);
693 text += "\n" + i18n("Description: ") + "\n" + incidence->description(); 633 text += "\n" + i18n("Description: ") + "\n" + incidence->description();
694 ++icount; 634 ++icount;
695 635
696 } 636 }
697 } 637 }
698 incidence = delSel.next(); 638 incidence = delSel.next();
699 } 639 }
700 QFile file( fn ); 640 QFile file( fn );
701 if (!file.open( IO_WriteOnly ) ) { 641 if (!file.open( IO_WriteOnly ) ) {
702 topLevelWidget()->setCaption(i18n("File open error - nothing saved!") ); 642 topLevelWidget()->setCaption(i18n("File open error - nothing saved!") );
703 return; 643 return;
704 } 644 }
705 QTextStream ts( &file ); 645 QTextStream ts( &file );
706 ts << text; 646 ts << text;
707 file.close(); 647 file.close();
708 //qDebug("%s ", text.latin1()); 648 //qDebug("%s ", text.latin1());
709 mes = i18n("KO/Pi:Saved %1 descriptions/journals").arg(icount ); 649 mes = i18n("KO/Pi:Saved %1 descriptions/journals").arg(icount );
710 KOPrefs::instance()->mLastSaveFile = fn; 650 KOPrefs::instance()->mLastSaveFile = fn;
711 topLevelWidget()->setCaption(mes); 651 topLevelWidget()->setCaption(mes);
712 } 652 }
713 } 653 }
714} 654}
715void KOListView::saveToFileVCS() 655void KOListView::saveToFileVCS()
716{ 656{
717 writeToFile( false ); 657 writeToFile( false );
718} 658}
719void KOListView::saveToFile() 659void KOListView::saveToFile()
720{ 660{
721 writeToFile( true ); 661 writeToFile( true );
722} 662}
723QPtrList<Incidence> KOListView::getSelectedIncidences( bool includeEvents, bool includeTodos, bool includeJournals, bool onlyDueTodos ) 663QPtrList<Incidence> KOListView::getSelectedIncidences( bool includeEvents, bool includeTodos, bool includeJournals, bool onlyDueTodos )
724{ 664{
725 QPtrList<Incidence> delSel ; 665 QPtrList<Incidence> delSel ;
726 bool addSubTodos = false; 666 bool addSubTodos = false;
727 bool askSubTodos = true; 667 bool askSubTodos = true;
728 QListViewItem *item = mListView->firstChild (); 668 QListViewItem *item = mListView->firstChild ();
729 while ( item ) { 669 while ( item ) {
730 if ( item->isSelected() ) { 670 if ( item->isSelected() ) {
731 Incidence* inc = ((KOListViewItem *)item)->data(); 671 Incidence* inc = ((KOListViewItem *)item)->data();
732 if ( ( addSubTodos && delSel.findRef( inc ) == -1) || !addSubTodos ) { 672 if ( ( addSubTodos && delSel.findRef( inc ) == -1) || !addSubTodos ) {
733 if ( (inc->typeID() == todoID && includeTodos) || 673 if ( (inc->typeID() == todoID && includeTodos) ||
734 (inc->typeID() == eventID && includeEvents) || 674 (inc->typeID() == eventID && includeEvents) ||
735 (inc->typeID() == journalID && includeJournals) ) { 675 (inc->typeID() == journalID && includeJournals) ) {
736 if ( inc->typeID() == todoID && onlyDueTodos ) { 676 if ( inc->typeID() == todoID && onlyDueTodos ) {
737 if ( ((Todo*)inc)->hasDueDate() ) 677 if ( ((Todo*)inc)->hasDueDate() )
738 delSel.append( inc ); 678 delSel.append( inc );
739 } else 679 } else
740 delSel.append( inc ); 680 delSel.append( inc );
741 681
742 } 682 }
743 } 683 }
744 if ( inc->typeID() == todoID ) { 684 if ( inc->typeID() == todoID ) {
745 Todo * todo = (Todo*) inc; 685 Todo * todo = (Todo*) inc;
746 if ( todo->relations().count() ) { 686 if ( todo->relations().count() ) {
747 if ( askSubTodos ) { 687 if ( askSubTodos ) {
748 int result = KMessageBox::warningYesNoCancel(this, 688 int result = KMessageBox::warningYesNoCancel(this,
749 i18n("One (or more) selected\ntodo has subtodos!\nDo you want to select\nall subtodos of all\nselected todos as well?"), 689 i18n("One (or more) selected\ntodo has subtodos!\nDo you want to select\nall subtodos of all\nselected todos as well?"),
750 i18n("Todo has subtodos"), 690 i18n("Todo has subtodos"),
751 i18n("Yes"), 691 i18n("Yes"),
752 i18n("No")); 692 i18n("No"));
753 if ( result == KMessageBox::Cancel ) { 693 if ( result == KMessageBox::Cancel ) {
754 delSel.clear(); 694 delSel.clear();
755 return delSel; 695 return delSel;
756 } 696 }
757 if (result == KMessageBox::Yes) 697 if (result == KMessageBox::Yes)
758 addSubTodos = true; 698 addSubTodos = true;
759 askSubTodos = false; 699 askSubTodos = false;
760 } 700 }
761 if ( addSubTodos ) { 701 if ( addSubTodos ) {
762 inc->addRelationsToList( &delSel ); 702 inc->addRelationsToList( &delSel );
763 } 703 }
764 } 704 }
765 } 705 }
766 } 706 }
767 item = item->nextSibling(); 707 item = item->nextSibling();
768 } 708 }
769 return delSel; 709 return delSel;
770} 710}
771 711
772void KOListView::writeToFile( bool iCal ) 712void KOListView::writeToFile( bool iCal )
773{ 713{
774 QPtrList<Incidence> delSel = getSelectedIncidences(); // all inc allowed; 714 QPtrList<Incidence> delSel = getSelectedIncidences(); // all inc allowed;
775 if ( !iCal ) { 715 if ( !iCal ) {
776 bool journal = false; 716 bool journal = false;
777 Incidence *incidence = delSel.first(); 717 Incidence *incidence = delSel.first();
778 while ( incidence ) { 718 while ( incidence ) {
779 if ( incidence->typeID() == journalID ) { 719 if ( incidence->typeID() == journalID ) {
780 journal = true; 720 journal = true;
781 break; 721 break;
782 } 722 }
783 incidence = delSel.next(); 723 incidence = delSel.next();
784 } 724 }
785 if ( journal ) { 725 if ( journal ) {
786 int result = KMessageBox::warningContinueCancel(this, 726 int result = KMessageBox::warningContinueCancel(this,
787 i18n("The journal entries can not be\nexported to a vCalendar file."), 727 i18n("The journal entries can not be\nexported to a vCalendar file."),
788 i18n("Data Loss Warning"),i18n("Proceed"),i18n("Cancel"), 728 i18n("Data Loss Warning"),i18n("Proceed"),i18n("Cancel"),
789 true); 729 true);
790 if (result != KMessageBox::Continue) return; 730 if (result != KMessageBox::Continue) return;
791 } 731 }
792 } 732 }
793 if ( delSel.count() ) { 733 if ( delSel.count() ) {
794 QString fn = KOPrefs::instance()->mLastSaveFile; 734 QString fn = KOPrefs::instance()->mLastSaveFile;
795 QString extension; 735 QString extension;
796 if ( iCal ) { 736 if ( iCal ) {
797 if ( fn.right( 4 ).lower() == ".vcs" ) { 737 if ( fn.right( 4 ).lower() == ".vcs" ) {
798 fn = fn.left( fn.length() -3) + "ics"; 738 fn = fn.left( fn.length() -3) + "ics";
799 } 739 }
800 } else { 740 } else {
801 if ( fn.right( 4 ).lower() == ".ics" ) { 741 if ( fn.right( 4 ).lower() == ".ics" ) {
802 fn = fn.left( fn.length() -3) + "vcs"; 742 fn = fn.left( fn.length() -3) + "vcs";
803 } 743 }
804 } 744 }
805 fn = KFileDialog::getSaveFileName( fn, i18n("Save filename"), this ); 745 fn = KFileDialog::getSaveFileName( fn, i18n("Save filename"), this );
806 746
807 if ( fn == "" ) 747 if ( fn == "" )
808 return; 748 return;
809 QFileInfo info; 749 QFileInfo info;
810 info.setFile( fn ); 750 info.setFile( fn );
811 QString mes; 751 QString mes;
812 bool createbup = true; 752 bool createbup = true;
813 if ( info. exists() ) { 753 if ( info. exists() ) {
814 mes = i18n("File already exists!\nOld file from:\n%1\nOverwrite?\n").arg (KGlobal::locale()->formatDateTime(info.lastModified (), true, false ) ); 754 mes = i18n("File already exists!\nOld file from:\n%1\nOverwrite?\n").arg (KGlobal::locale()->formatDateTime(info.lastModified (), true, false ) );
815 int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"),mes, 755 int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"),mes,
816 i18n("Overwrite!"), i18n("Cancel"), 0, 756 i18n("Overwrite!"), i18n("Cancel"), 0,
817 0, 1 ); 757 0, 1 );
818 if ( result != 0 ) { 758 if ( result != 0 ) {
819 createbup = false; 759 createbup = false;
820 } 760 }
821 } 761 }
822 if ( createbup ) { 762 if ( createbup ) {
823 CalendarLocal cal; 763 CalendarLocal cal;
824 cal.setTimeZoneId(KPimGlobalPrefs::instance()->mTimeZoneId); 764 cal.setTimeZoneId(KPimGlobalPrefs::instance()->mTimeZoneId);
825 Incidence *incidence = delSel.first(); 765 Incidence *incidence = delSel.first();
826 while ( incidence ) { 766 while ( incidence ) {
827 cal.addIncidence( incidence->clone() ); 767 cal.addIncidence( incidence->clone() );
828 incidence = delSel.next(); 768 incidence = delSel.next();
829 } 769 }
830 if ( iCal ) { 770 if ( iCal ) {
831 ICalFormat format; 771 ICalFormat format;
832 format.save( &cal, fn ); 772 format.save( &cal, fn );
833 } else { 773 } else {
834 774
835 VCalFormat format; 775 VCalFormat format;
836 format.save( &cal, fn ); 776 format.save( &cal, fn );
837 } 777 }
838 mes = i18n("KO/Pi:Saved %1").arg(fn ); 778 mes = i18n("KO/Pi:Saved %1").arg(fn );
839 KOPrefs::instance()->mLastSaveFile = fn; 779 KOPrefs::instance()->mLastSaveFile = fn;
840 topLevelWidget()->setCaption(mes); 780 topLevelWidget()->setCaption(mes);
841 } 781 }
842 } 782 }
843 QTimer::singleShot( 1, this, SLOT ( resetFocus() ) ); 783 QTimer::singleShot( 1, this, SLOT ( resetFocus() ) );
844} 784}
845void KOListView::hideAll() 785void KOListView::hideAll()
846{ 786{
847 QPtrList<QListViewItem> delSel ; 787 QPtrList<QListViewItem> delSel ;
848 QListViewItem *item = mListView->firstChild (); 788 QListViewItem *item = mListView->firstChild ();
849 while ( item ) { 789 while ( item ) {
850 if ( item->isSelected() ) { 790 if ( item->isSelected() ) {
851 delSel.append(item); 791 delSel.append(item);
852 } 792 }
853 item = item->nextSibling(); 793 item = item->nextSibling();
854 } 794 }
855 item = delSel.first() ; 795 item = delSel.first() ;
856 while ( item ) { 796 while ( item ) {
857 QListViewItem * del = item; 797 QListViewItem * del = item;
858 item = delSel.next(); 798 item = delSel.next();
859 delete del; 799 delete del;
860 } 800 }
861} 801}
862void KOListView::printList() 802void KOListView::printList()
863{ 803{
864 mListView->printList(); 804 mListView->printList();
865} 805}
866void KOListView::deleteAll() 806void KOListView::deleteAll()
867{ 807{
868 QPtrList<Incidence> delSel = getSelectedIncidences(); // all inc allowed;; 808 QPtrList<Incidence> delSel = getSelectedIncidences(); // all inc allowed;;
869 if ( delSel.count() ) { 809 if ( delSel.count() ) {
870 int icount = delSel.count(); 810 int icount = delSel.count();
871 Incidence *incidence = delSel.first(); 811 Incidence *incidence = delSel.first();
872 Incidence *toDelete; 812 Incidence *toDelete;
873 KOPrefs *p = KOPrefs::instance(); 813 KOPrefs *p = KOPrefs::instance();
874 bool confirm = p->mConfirm; 814 bool confirm = p->mConfirm;
875 QString mess; 815 QString mess;
876 mess = mess.sprintf( i18n("You have %d item(s) selected.\n"), icount ); 816 mess = mess.sprintf( i18n("You have %d item(s) selected.\n"), icount );
877 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")) ) { 817 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")) ) {
878 p->mConfirm = false; 818 p->mConfirm = false;
879 int delCounter = 0; 819 int delCounter = 0;
880 QDialog dia ( this, "p-dialog", true ); 820 QDialog dia ( this, "p-dialog", true );
881 QLabel lab (i18n("Close dialog to abort deletion!"), &dia ); 821 QLabel lab (i18n("Close dialog to abort deletion!"), &dia );
882 QVBoxLayout lay( &dia ); 822 QVBoxLayout lay( &dia );
883 lay.setMargin(7); 823 lay.setMargin(7);
884 lay.setSpacing(7); 824 lay.setSpacing(7);
885 lay.addWidget( &lab); 825 lay.addWidget( &lab);
886 QProgressBar bar( icount, &dia ); 826 QProgressBar bar( icount, &dia );
887 lay.addWidget( &bar); 827 lay.addWidget( &bar);
888 int w = 220; 828 int w = 220;
889 int h = 50; 829 int h = 50;
890 int dw = QApplication::desktop()->width(); 830 int dw = QApplication::desktop()->width();
891 int dh = QApplication::desktop()->height(); 831 int dh = QApplication::desktop()->height();
892 dia.setGeometry( (dw-w)/2, (dh - h )/2 ,w,h ); 832 dia.setGeometry( (dw-w)/2, (dh - h )/2 ,w,h );
893 //dia.resize( 240,50 ); 833 //dia.resize( 240,50 );
894 dia.show(); 834 dia.show();
895 835
896 while ( incidence ) { 836 while ( incidence ) {
897 bar.setProgress( delCounter ); 837 bar.setProgress( delCounter );
898 mess = mess.sprintf( i18n("Deleting item %d ..."), ++delCounter ); 838 mess = mess.sprintf( i18n("Deleting item %d ..."), ++delCounter );
899 dia.setCaption( mess ); 839 dia.setCaption( mess );
900 qApp->processEvents(); 840 qApp->processEvents();
901 toDelete = (incidence); 841 toDelete = (incidence);
902 incidence = delSel.next(); 842 incidence = delSel.next();
903 emit deleteIncidenceSignal(toDelete ); 843 emit deleteIncidenceSignal(toDelete );
904 if ( dia.result() != 0 ) 844 if ( dia.result() != 0 )
905 break; 845 break;
906 846
907 } 847 }
908 mess = mess.sprintf( i18n("%d items remaining in list."), count() ); 848 mess = mess.sprintf( i18n("%d items remaining in list."), count() );
909 topLevelWidget ()->setCaption( mess ); 849 topLevelWidget ()->setCaption( mess );
910 p->mConfirm = confirm; 850 p->mConfirm = confirm;
911 } 851 }
912 } 852 }
913 853
914 854
915} 855}
916int KOListView::maxDatesHint() 856int KOListView::maxDatesHint()
917{ 857{
918 return 0; 858 return 0;
919} 859}
920 860
921int KOListView::currentDateCount() 861int KOListView::currentDateCount()
922{ 862{
923 return 0; 863 return 0;
924} 864}
925 865
926QPtrList<Incidence> KOListView::selectedIncidences() 866QPtrList<Incidence> KOListView::selectedIncidences()
927{ 867{
928 QPtrList<Incidence> eventList; 868 QPtrList<Incidence> eventList;
929 QListViewItem *item = mListView->firstChild (); 869 QListViewItem *item = mListView->firstChild ();
930 while ( item ) { 870 while ( item ) {
931 if ( item->isSelected() ) { 871 if ( item->isSelected() ) {
932 eventList.append(((KOListViewItem *)item)->data()); 872 eventList.append(((KOListViewItem *)item)->data());
933 } 873 }
934 874
935 item = item->nextSibling(); 875 item = item->nextSibling();
936 } 876 }
937 877
938 // // QListViewItem *item = mListView->selectedItem(); 878 // // QListViewItem *item = mListView->selectedItem();
939 //if (item) eventList.append(((KOListViewItem *)item)->data()); 879 //if (item) eventList.append(((KOListViewItem *)item)->data());
940 880
941 return eventList; 881 return eventList;
942} 882}
943 883
944DateList KOListView::selectedDates() 884DateList KOListView::selectedDates()
945{ 885{
946 DateList eventList; 886 DateList eventList;
947 return eventList; 887 return eventList;
948} 888}
949 889
950void KOListView::showDates(bool show) 890void KOListView::showDates(bool show)
951{ 891{
952 // Shouldn't we set it to a value greater 0? When showDates is called with 892 // Shouldn't we set it to a value greater 0? When showDates is called with
953 // show == true at first, then the columnwidths are set to zero. 893 // show == true at first, then the columnwidths are set to zero.
954 static int oldColWidth1 = 0; 894 static int oldColWidth1 = 0;
955 static int oldColWidth3 = 0; 895 static int oldColWidth3 = 0;
956 896
957 if (!show) { 897 if (!show) {
958 oldColWidth1 = mListView->columnWidth(1); 898 oldColWidth1 = mListView->columnWidth(1);
959 oldColWidth3 = mListView->columnWidth(3); 899 oldColWidth3 = mListView->columnWidth(3);
960 mListView->setColumnWidth(1, 0); 900 mListView->setColumnWidth(1, 0);
961 mListView->setColumnWidth(3, 0); 901 mListView->setColumnWidth(3, 0);
962 } else { 902 } else {
963 mListView->setColumnWidth(1, oldColWidth1); 903 mListView->setColumnWidth(1, oldColWidth1);
964 mListView->setColumnWidth(3, oldColWidth3); 904 mListView->setColumnWidth(3, oldColWidth3);
965 } 905 }
966 mListView->repaint(); 906 mListView->repaint();
967} 907}
968 908
969void KOListView::printPreview(CalPrinter *calPrinter, const QDate &fd, 909void KOListView::printPreview(CalPrinter *calPrinter, const QDate &fd,
970 const QDate &td) 910 const QDate &td)
971{ 911{
972#ifndef KORG_NOPRINTER 912#ifndef KORG_NOPRINTER
973 calPrinter->preview(CalPrinter::Day, fd, td); 913 calPrinter->preview(CalPrinter::Day, fd, td);
974#endif 914#endif
975} 915}
976 916
977void KOListView::showDates() 917void KOListView::showDates()
978{ 918{
979 showDates(true); 919 showDates(true);
980} 920}
981 921
982void KOListView::hideDates() 922void KOListView::hideDates()
983{ 923{
984 showDates(false); 924 showDates(false);
985} 925}
986 926
987void KOListView::resetFocus() 927void KOListView::resetFocus()
988{ 928{
989 topLevelWidget()->setActiveWindow(); 929 topLevelWidget()->setActiveWindow();
990 topLevelWidget()->raise(); 930 topLevelWidget()->raise();
991 mListView->setFocus(); 931 mListView->setFocus();
992} 932}
993void KOListView::updateView() 933void KOListView::updateView()
994{ 934{
995 mListView->setFocus(); 935 mListView->setFocus();
996 if ( mListView->firstChild () ) 936 if ( mListView->firstChild () )
997 mListView->setCurrentItem( mListView->firstChild () ); 937 mListView->setCurrentItem( mListView->firstChild () );
998} 938}
999void KOListView::updateConfig() 939void KOListView::updateConfig()
1000{ 940{
1001 941
1002 mListView->setFont ( KOPrefs::instance()->mListViewFont ); 942 mListView->setFont ( KOPrefs::instance()->mListViewFont );
1003 updateView(); 943 updateView();
1004 944
1005} 945}
1006void KOListView::setStartDate(const QDate &start) 946void KOListView::setStartDate(const QDate &start)
1007{ 947{
1008 mStartDate = start; 948 mStartDate = start;
1009} 949}
1010 950
1011void KOListView::showDates(const QDate &start, const QDate &end) 951void KOListView::showDates(const QDate &start, const QDate &end)
1012{ 952{
1013 clear(); 953 clear();
1014 mStartDate = start; 954 mStartDate = start;
1015 QDate date = start; 955 QDate date = start;
1016 while( date <= end ) { 956 while( date <= end ) {
1017 addEvents(calendar()->events(date)); 957 addEvents(calendar()->events(date));
1018 addTodos(calendar()->todos(date)); 958 addTodos(calendar()->todos(date));
1019 addJournals( calendar()->journals4Date(date) ); 959 addJournals( calendar()->journals4Date(date) );
1020 date = date.addDays( 1 ); 960 date = date.addDays( 1 );
1021 } 961 }
1022 emit incidenceSelected( 0 ); 962 emit incidenceSelected( 0 );
1023 updateView(); 963 updateView();
1024 964
1025} 965}
1026 966
1027void KOListView::addEvents(QPtrList<Event> eventList) 967void KOListView::addEvents(QPtrList<Event> eventList)
1028{ 968{
1029 969
1030 Event *ev; 970 Event *ev;
1031 for(ev = eventList.first(); ev; ev = eventList.next()) { 971 for(ev = eventList.first(); ev; ev = eventList.next()) {
1032 addIncidence(ev); 972 addIncidence(ev);
1033 } 973 }
1034 if ( !mListView->currentItem() ){ 974 if ( !mListView->currentItem() ){
1035 updateView(); 975 updateView();
1036 } 976 }
1037} 977}
1038 978
1039void KOListView::addTodos(QPtrList<Todo> eventList) 979void KOListView::addTodos(QPtrList<Todo> eventList)
1040{ 980{
1041 Todo *ev; 981 Todo *ev;
1042 for(ev = eventList.first(); ev; ev = eventList.next()) { 982 for(ev = eventList.first(); ev; ev = eventList.next()) {
1043 addIncidence(ev); 983 addIncidence(ev);
1044 } 984 }
1045 if ( !mListView->currentItem() ){ 985 if ( !mListView->currentItem() ){
1046 updateView(); 986 updateView();
1047 } 987 }
1048} 988}
1049void KOListView::addJournals(QPtrList<Journal> eventList) 989void KOListView::addJournals(QPtrList<Journal> eventList)
1050{ 990{
1051 Journal *ev; 991 Journal *ev;
1052 for(ev = eventList.first(); ev; ev = eventList.next()) { 992 for(ev = eventList.first(); ev; ev = eventList.next()) {
1053 addIncidence(ev); 993 addIncidence(ev);
1054 } 994 }
1055 if ( !mListView->currentItem() ){ 995 if ( !mListView->currentItem() ){
1056 updateView(); 996 updateView();
1057 } 997 }
1058} 998}
1059 999
1060void KOListView::showCompletedTodos() 1000void KOListView::showCompletedTodos()
1061{ 1001{
1062 mForceShowCompletedTodos = true; 1002 mForceShowCompletedTodos = true;
1063} 1003}
1064void KOListView::addIncidence(Incidence *incidence) 1004void KOListView::addIncidence(Incidence *incidence)
1065{ 1005{
1066 if ( mUidDict.find( incidence->uid() ) ) return; 1006 if ( mUidDict.find( incidence->uid() ) ) return;
1067 1007
1068 // mListView->setFont ( KOPrefs::instance()->mListViewFont ); 1008 // mListView->setFont ( KOPrefs::instance()->mListViewFont );
1069 if ( incidence->typeID() == todoID ) { 1009 if ( incidence->typeID() == todoID ) {
1070 if ( ! mForceShowCompletedTodos ) { 1010 if ( ! mForceShowCompletedTodos ) {
1071 if ( !KOPrefs::instance()->mShowCompletedTodo && ((Todo*)incidence)->isCompleted() ) 1011 if ( !KOPrefs::instance()->mShowCompletedTodo && ((Todo*)incidence)->isCompleted() )
1072 return; 1012 return;
1073 } 1013 }
1074 } 1014 }
1075 mUidDict.insert( incidence->uid(), incidence ); 1015 mUidDict.insert( incidence->uid(), incidence );
1076 KOListViewItem *item = new KOListViewItem( incidence, mListView ); 1016 KOListViewItem *item = new KOListViewItem( incidence, mListView );
1077 ListItemVisitor v(item, mStartDate ); 1017 ListItemVisitor v(item, mStartDate );
1078 if (incidence->accept(v)) { 1018 if (incidence->accept(v)) {
1079 return; 1019 return;
1080 } 1020 }
1081 else delete item; 1021 else delete item;
1082} 1022}
1083 1023
1084void KOListView::showEvents(QPtrList<Event> eventList) 1024void KOListView::showEvents(QPtrList<Event> eventList)
1085{ 1025{
1086 clear(); 1026 clear();
1087 1027
1088 addEvents(eventList); 1028 addEvents(eventList);
1089 1029
1090 // After new creation of list view no events are selected. 1030 // After new creation of list view no events are selected.
1091 emit incidenceSelected( 0 ); 1031 emit incidenceSelected( 0 );
1092} 1032}
1093int KOListView::count() 1033int KOListView::count()
1094{ 1034{
1095 return mListView->childCount(); 1035 return mListView->childCount();
1096} 1036}
1097 1037
1098void KOListView::changeEventDisplay(Event *event, int action) 1038void KOListView::changeEventDisplay(Event *event, int action)
1099{ 1039{
1100 KOListViewItem *item; 1040 KOListViewItem *item;
1101 1041
1102 switch(action) { 1042 switch(action) {
1103 case KOGlobals::EVENTADDED: 1043 case KOGlobals::EVENTADDED:
1104 addIncidence( event ); 1044 addIncidence( event );
1105 break; 1045 break;
1106 case KOGlobals::EVENTEDITED: 1046 case KOGlobals::EVENTEDITED:
1107 item = getItemForEvent(event); 1047 item = getItemForEvent(event);
1108 if (item) { 1048 if (item) {
1109 mUidDict.remove( event->uid() ); 1049 ListItemVisitor v(item, mStartDate );
1110 delete item; 1050 ((Incidence*)event)->accept(v);
1111 addIncidence( event );
1112 } 1051 }
1113 break; 1052 break;
1114 case KOGlobals::EVENTDELETED: 1053 case KOGlobals::EVENTDELETED:
1115 item = getItemForEvent(event); 1054 item = getItemForEvent(event);
1116 if (item) { 1055 if (item) {
1117 mUidDict.remove( event->uid() ); 1056 mUidDict.remove( event->uid() );
1118 delete item; 1057 delete item;
1119 } 1058 }
1120 break; 1059 break;
1121 default: 1060 default:
1122 ; 1061 ;
1123 } 1062 }
1124} 1063}
1125 1064
1126KOListViewItem *KOListView::getItemForEvent(Incidence *event) 1065KOListViewItem *KOListView::getItemForEvent(Incidence *event)
1127{ 1066{
1128 KOListViewItem *item = (KOListViewItem *)mListView->firstChild(); 1067 KOListViewItem *item = (KOListViewItem *)mListView->firstChild();
1129 while (item) { 1068 while (item) {
1130 if (item->data() == event) return item; 1069 if (item->data() == event) return item;
1131 item = (KOListViewItem *)item->nextSibling(); 1070 item = (KOListViewItem *)item->nextSibling();
1132 } 1071 }
1133 return 0; 1072 return 0;
1134} 1073}
1135 1074
1136void KOListView::defaultItemAction(QListViewItem *i) 1075void KOListView::defaultItemAction(QListViewItem *i)
1137{ 1076{
1138 KOListViewItem *item = static_cast<KOListViewItem *>( i ); 1077 KOListViewItem *item = static_cast<KOListViewItem *>( i );
1139 if ( item ) defaultAction( item->data() ); 1078 if ( item ) defaultAction( item->data() );
1140 1079
1141} 1080}
1142 1081
1143void KOListView::popupMenu(QListViewItem *item,const QPoint &,int) 1082void KOListView::popupMenu(QListViewItem *item,const QPoint &,int)
1144{ 1083{
1145 mActiveItem = (KOListViewItem *)item; 1084 mActiveItem = (KOListViewItem *)item;
1146 if (mActiveItem) { 1085 if (mActiveItem) {
1147 Incidence *incidence = mActiveItem->data(); 1086 Incidence *incidence = mActiveItem->data();
1148 mPopupMenu->enableDefault( !mListView->hasMultiSelection( item ) ); 1087 mPopupMenu->enableDefault( !mListView->hasMultiSelection( item ) );
1149 mPopupMenu->showIncidencePopup(incidence); 1088 mPopupMenu->showIncidencePopup(incidence);
1150 1089
1151 /* 1090 /*
1152 if ( incidence && incidence->type() == "Event" ) { 1091 if ( incidence && incidence->type() == "Event" ) {
1153 Event *event = static_cast<Event *>( incidence ); 1092 Event *event = static_cast<Event *>( incidence );
1154 mPopupMenu->showEventPopup(event); 1093 mPopupMenu->showEventPopup(event);
1155 } 1094 }
1156 */ 1095 */
1157 } 1096 }
1158} 1097}
1159 1098
1160void KOListView::readSettings(KConfig *config, QString setting) 1099void KOListView::readSettings(KConfig *config, QString setting)
1161{ 1100{
1162 // qDebug("KOListView::readSettings "); 1101 // qDebug("KOListView::readSettings ");
1163 mListView->restoreLayout(config,setting); 1102 mListView->restoreLayout(config,setting);
1164} 1103}
1165 1104
1166void KOListView::writeSettings(KConfig *config, QString setting) 1105void KOListView::writeSettings(KConfig *config, QString setting)
1167{ 1106{
1168 // qDebug("KOListView::writeSettings "); 1107 // qDebug("KOListView::writeSettings ");
1169 mListView->saveLayout(config, setting); 1108 mListView->saveLayout(config, setting);
1170} 1109}
1171 1110
1172void KOListView::processSelectionChange(QListViewItem *) 1111void KOListView::processSelectionChange(QListViewItem *)
1173{ 1112{
1174 1113
1175 KOListViewItem *item = 1114 KOListViewItem *item =
1176 static_cast<KOListViewItem *>( mListView->currentItem() ); 1115 static_cast<KOListViewItem *>( mListView->currentItem() );
1177 1116
1178 if ( !item ) { 1117 if ( !item ) {
1179 emit incidenceSelected( 0 ); 1118 emit incidenceSelected( 0 );
1180 } else { 1119 } else {
1181 emit incidenceSelected( item->data() ); 1120 emit incidenceSelected( item->data() );
1182 } 1121 }
1183} 1122}
1184 1123
1185void KOListView::clearSelection() 1124void KOListView::clearSelection()
1186{ 1125{
1187 mListView->selectAll( false ); 1126 mListView->selectAll( false );
1188} 1127}
1189void KOListView::allSelection() 1128void KOListView::allSelection()
1190{ 1129{
1191 mListView->selectAll( true ); 1130 mListView->selectAll( true );
1192} 1131}
1193 1132
1194void KOListView::clear() 1133void KOListView::clear()
1195{ 1134{
1196 mListView->clear(); 1135 mListView->clear();
1197 mUidDict.clear(); 1136 mUidDict.clear();
1198} 1137}
1199 1138
1200Incidence* KOListView::currentItem() 1139Incidence* KOListView::currentItem()
1201{ 1140{
1202 if ( mListView->currentItem() ) 1141 if ( mListView->currentItem() )
1203 return ((KOListViewItem*) mListView->currentItem())->data(); 1142 return ((KOListViewItem*) mListView->currentItem())->data();
1204 return 0; 1143 return 0;
1205} 1144}
1206void KOListView::keyPressEvent ( QKeyEvent *e) 1145void KOListView::keyPressEvent ( QKeyEvent *e)
1207{ 1146{
1208 1147
1209 if ( e->key() == Qt::Key_Delete || e->key() == Qt::Key_Backspace ) { 1148 if ( e->key() == Qt::Key_Delete || e->key() == Qt::Key_Backspace ) {
1210 deleteAll(); 1149 deleteAll();
1211 return; 1150 return;
1212 } 1151 }
1213 1152
1214 e->ignore(); 1153 e->ignore();
1215} 1154}
1216void KOListViewListView::keyPressEvent ( QKeyEvent *e) 1155void KOListViewListView::keyPressEvent ( QKeyEvent *e)
1217{ 1156{
1218 1157
1219 switch ( e->key() ) { 1158 switch ( e->key() ) {
1220 case Qt::Key_Down: 1159 case Qt::Key_Down:
1221 if ( e->state() == ShiftButton ) { 1160 if ( e->state() == ShiftButton ) {
1222 QListViewItem* cn = currentItem(); 1161 QListViewItem* cn = currentItem();
1223 if ( !cn ) 1162 if ( !cn )
1224 cn = firstChild(); 1163 cn = firstChild();
1225 if ( !cn ) 1164 if ( !cn )
1226 return; 1165 return;
1227 while ( cn->nextSibling() ) 1166 while ( cn->nextSibling() )
1228 cn = cn->nextSibling(); 1167 cn = cn->nextSibling();
1229 setCurrentItem ( cn ); 1168 setCurrentItem ( cn );
1230 ensureItemVisible ( cn ); 1169 ensureItemVisible ( cn );
1231 1170
1232 e->accept(); 1171 e->accept();
1233 return; 1172 return;
1234 } 1173 }
1235 if ( e->state() == ControlButton ) { 1174 if ( e->state() == ControlButton ) {
1236 int count = childCount (); 1175 int count = childCount ();
1237 int jump = count / 5; 1176 int jump = count / 5;
1238 QListViewItem* cn; 1177 QListViewItem* cn;
1239 cn = currentItem(); 1178 cn = currentItem();
1240 if ( ! cn ) 1179 if ( ! cn )
1241 return; 1180 return;
1242 if ( jump == 0 ) 1181 if ( jump == 0 )
1243 jump = 1; 1182 jump = 1;
1244 while ( jump && cn->nextSibling() ) { 1183 while ( jump && cn->nextSibling() ) {
1245 cn = cn->nextSibling(); 1184 cn = cn->nextSibling();
1246 --jump; 1185 --jump;
1247 } 1186 }
1248 setCurrentItem ( cn ); 1187 setCurrentItem ( cn );
1249 ensureItemVisible ( cn ); 1188 ensureItemVisible ( cn );
1250 1189
1251 } else 1190 } else
1252 QListView::keyPressEvent ( e ) ; 1191 QListView::keyPressEvent ( e ) ;
1253 e->accept(); 1192 e->accept();
1254 break; 1193 break;
1255 1194
1256 case Qt::Key_Up: 1195 case Qt::Key_Up:
1257 if ( e->state() == ShiftButton ) { 1196 if ( e->state() == ShiftButton ) {
1258 QListViewItem* cn = firstChild(); 1197 QListViewItem* cn = firstChild();
1259 if ( cn ) { 1198 if ( cn ) {
1260 setCurrentItem ( cn ); 1199 setCurrentItem ( cn );
1261 ensureItemVisible ( cn ); 1200 ensureItemVisible ( cn );
1262 } 1201 }
1263 e->accept(); 1202 e->accept();
1264 return; 1203 return;
1265 } 1204 }
1266 if ( e->state() == ControlButton ) { 1205 if ( e->state() == ControlButton ) {
1267 int count = childCount (); 1206 int count = childCount ();
1268 int jump = count / 5; 1207 int jump = count / 5;
1269 QListViewItem* cn; 1208 QListViewItem* cn;
1270 cn = currentItem(); 1209 cn = currentItem();
1271 if ( ! cn ) 1210 if ( ! cn )
1272 return; 1211 return;
1273 if ( jump == 0 ) 1212 if ( jump == 0 )
1274 jump = 1; 1213 jump = 1;
1275 while ( jump && cn->itemAbove ()) { 1214 while ( jump && cn->itemAbove ()) {
1276 cn = cn->itemAbove (); 1215 cn = cn->itemAbove ();
1277 --jump; 1216 --jump;
1278 } 1217 }
1279 setCurrentItem ( cn ); 1218 setCurrentItem ( cn );
1280 ensureItemVisible ( cn ); 1219 ensureItemVisible ( cn );
1281 } else 1220 } else
1282 QListView::keyPressEvent ( e ) ; 1221 QListView::keyPressEvent ( e ) ;
1283 e->accept(); 1222 e->accept();
1284 break; 1223 break;
1285 case Qt::Key_I: { 1224 case Qt::Key_I: {
1286 QListViewItem* cn; 1225 QListViewItem* cn;
1287 cn = currentItem(); 1226 cn = currentItem();
1288 if ( cn ) { 1227 if ( cn ) {
1289 KOListViewItem* ci = (KOListViewItem*)( cn ); 1228 KOListViewItem* ci = (KOListViewItem*)( cn );
1290 if ( ci ){ 1229 if ( ci ){
1291 //emit showIncidence( ci->data()); 1230 //emit showIncidence( ci->data());
1292 cn = cn->nextSibling(); 1231 cn = cn->nextSibling();
1293 if ( cn ) { 1232 if ( cn ) {
1294 setCurrentItem ( cn ); 1233 setCurrentItem ( cn );
1295 ensureItemVisible ( cn ); 1234 ensureItemVisible ( cn );
1296 } 1235 }
1297 emit showIncidence( ci->data()); 1236 emit showIncidence( ci->data());
1298 } 1237 }
1299 } 1238 }
1300 e->accept(); 1239 e->accept();
1301 } 1240 }
1302 break; 1241 break;
1303 case Qt::Key_Return: 1242 case Qt::Key_Return:
1304 case Qt::Key_Enter: 1243 case Qt::Key_Enter:
1305 { 1244 {
1306 QListViewItem* cn; 1245 QListViewItem* cn;
1307 cn = currentItem(); 1246 cn = currentItem();
1308 if ( cn ) { 1247 if ( cn ) {
1309 KOListViewItem* ci = (KOListViewItem*)( cn ); 1248 KOListViewItem* ci = (KOListViewItem*)( cn );
1310 if ( ci ){ 1249 if ( ci ){
1311 if ( e->state() == ShiftButton ) 1250 if ( e->state() == ShiftButton )
1312 ci->setSelected( false ); 1251 ci->setSelected( false );
1313 else 1252 else
1314 ci->setSelected( true ); 1253 ci->setSelected( true );
1315 cn = cn->nextSibling(); 1254 cn = cn->nextSibling();
1316 if ( cn ) { 1255 if ( cn ) {
1317 setCurrentItem ( cn ); 1256 setCurrentItem ( cn );
1318 ensureItemVisible ( cn ); 1257 ensureItemVisible ( cn );
1319 } 1258 }
1320 } 1259 }
1321 } 1260 }
1322 e->accept(); 1261 e->accept();
1323 } 1262 }
1324 break; 1263 break;
1325 default: 1264 default:
1326 e->ignore(); 1265 e->ignore();
1327 } 1266 }
1328} 1267}
1329KOListViewListView::KOListViewListView(KOListView * lv ) 1268KOListViewListView::KOListViewListView(KOListView * lv )
1330 : KListView( lv, "kolistlistview", false ) 1269 : KListView( lv, "kolistlistview", false )
1331{ 1270{
1332 mYMousePos = 0; 1271 mYMousePos = 0;
1333 mPopupTimer = new QTimer(this); 1272 mPopupTimer = new QTimer(this);
1334 connect(mPopupTimer , SIGNAL(timeout()), this, SLOT(popupMenu())); 1273 connect(mPopupTimer , SIGNAL(timeout()), this, SLOT(popupMenu()));
1335#ifndef DESKTOP_VERSION 1274#ifndef DESKTOP_VERSION
1336 //QPEApplication::setStylusOperation(viewport(), QPEApplication::RightOnHold ); 1275 //QPEApplication::setStylusOperation(viewport(), QPEApplication::RightOnHold );
1337#endif 1276#endif
1338 setSelectionMode( QListView::Multi ); 1277 setSelectionMode( QListView::Multi );
1339 setMultiSelection( true); 1278 setMultiSelection( true);
1340} 1279}
1341bool KOListViewListView::hasMultiSelection(QListViewItem* item) 1280bool KOListViewListView::hasMultiSelection(QListViewItem* item)
1342{ 1281{
1343 int selCount = 0; 1282 int selCount = 0;
1344 QListViewItem *qitem = firstChild (); 1283 QListViewItem *qitem = firstChild ();
1345 while ( qitem ) { 1284 while ( qitem ) {
1346 if ( qitem->isSelected() && item != qitem ) 1285 if ( qitem->isSelected() && item != qitem )
1347 return true; 1286 return true;
1348 qitem = qitem->nextSibling(); 1287 qitem = qitem->nextSibling();
1349 } 1288 }
1350 return false; 1289 return false;
1351} 1290}
1352void KOListViewListView::contentsMouseDoubleClickEvent(QMouseEvent *e) 1291void KOListViewListView::contentsMouseDoubleClickEvent(QMouseEvent *e)
1353{ 1292{
1354 if (!e) return; 1293 if (!e) return;
1355 QPoint vp = contentsToViewport(e->pos()); 1294 QPoint vp = contentsToViewport(e->pos());
1356 QListViewItem *item = itemAt(vp); 1295 QListViewItem *item = itemAt(vp);
1357 if (!item) { 1296 if (!item) {
1358 emit newEvent(); 1297 emit newEvent();
1359 return; 1298 return;
1360 } 1299 }
1361 KListView::contentsMouseDoubleClickEvent(e); 1300 KListView::contentsMouseDoubleClickEvent(e);
1362} 1301}
1363#if 0 1302#if 0
1364void KOListViewListView::contentsMousePressEvent(QMouseEvent *e) 1303void KOListViewListView::contentsMousePressEvent(QMouseEvent *e)
1365{ 1304{
1366 //qDebug("contentsMousePressEvent++++ "); 1305 //qDebug("contentsMousePressEvent++++ ");
1367 KListView::contentsMousePressEvent( e ); 1306 KListView::contentsMousePressEvent( e );
diff --git a/korganizer/kolistview.h b/korganizer/kolistview.h
index bcef0f0..a54b550 100644
--- a/korganizer/kolistview.h
+++ b/korganizer/kolistview.h
@@ -1,323 +1,316 @@
1/* 1/*
2 This file is part of KOrganizer. 2 This file is part of KOrganizer.
3 Copyright (c) 1999 Preston Brown 3 Copyright (c) 1999 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#ifndef _KOLISTVIEW_H 24#ifndef _KOLISTVIEW_H
25#define _KOLISTVIEW_H 25#define _KOLISTVIEW_H
26 26
27#include <qlistview.h> 27#include <qlistview.h>
28#include <qmap.h> 28#include <qmap.h>
29#include <qdict.h> 29#include <qdict.h>
30 30
31#include <klistview.h> 31#include <klistview.h>
32 32
33#ifndef DESKTOP_VERSION
34#include <qtopia/ir.h>
35#else
36#define Ir char
37#endif
38#include <libkcal/incidence.h> 33#include <libkcal/incidence.h>
39 34
40#include "koeventview.h" 35#include "koeventview.h"
41#include "customlistviewitem.h" 36#include "customlistviewitem.h"
42 37
43using namespace KCal; 38using namespace KCal;
44 39
45class KOListViewWhatsThis; 40class KOListViewWhatsThis;
46 41
47#include <qpushbutton.h> 42#include <qpushbutton.h>
48#include <qlayout.h> 43#include <qlayout.h>
49#include <qdialog.h> 44#include <qdialog.h>
50#include <qtimer.h> 45#include <qtimer.h>
51#include <qcombobox.h> 46#include <qcombobox.h>
52#include <qspinbox.h> 47#include <qspinbox.h>
53#include <qtooltip.h> 48#include <qtooltip.h>
54#include <qcheckbox.h> 49#include <qcheckbox.h>
55#include <qhbox.h> 50#include <qhbox.h>
56#include <qlabel.h> 51#include <qlabel.h>
57#include <kiconloader.h> 52#include <kiconloader.h>
58#include "kfiledialog.h" 53#include "kfiledialog.h"
59#include "koprefs.h" 54#include "koprefs.h"
60class KOAlarmPrefs : public QDialog 55class KOAlarmPrefs : public QDialog
61{ 56{
62 Q_OBJECT 57 Q_OBJECT
63 public: 58 public:
64 KOAlarmPrefs( QWidget *par=0, const char *name=0 ) : 59 KOAlarmPrefs( QWidget *par=0, const char *name=0 ) :
65 QDialog( par, name, true ) 60 QDialog( par, name, true )
66 { 61 {
67 setCaption( i18n("Alarm Options") ); 62 setCaption( i18n("Alarm Options") );
68 QVBoxLayout* alarmLayout = new QVBoxLayout( this ); 63 QVBoxLayout* alarmLayout = new QVBoxLayout( this );
69 alarmLayout->setSpacing( 3 ); 64 alarmLayout->setSpacing( 3 );
70 alarmLayout->setMargin( 3 ); 65 alarmLayout->setMargin( 3 );
71 QWidget *parent = this; 66 QWidget *parent = this;
72 mAlarmButton = new QCheckBox(i18n("Set reminder ON with offset to:"),parent); 67 mAlarmButton = new QCheckBox(i18n("Set reminder ON with offset to:"),parent);
73 alarmLayout->addWidget(mAlarmButton); 68 alarmLayout->addWidget(mAlarmButton);
74 mAlarmTimeEdit = new QSpinBox ( 0, 9999, 1, parent, "mAlarmTimeEdit " ) ; 69 mAlarmTimeEdit = new QSpinBox ( 0, 9999, 1, parent, "mAlarmTimeEdit " ) ;
75 mAlarmTimeEdit->setValue( 15 ); 70 mAlarmTimeEdit->setValue( 15 );
76 alarmLayout->addWidget(mAlarmTimeEdit); 71 alarmLayout->addWidget(mAlarmTimeEdit);
77 mAlarmIncrCombo = new QComboBox(false, parent); 72 mAlarmIncrCombo = new QComboBox(false, parent);
78 mAlarmIncrCombo->insertItem(i18n("minute(s)")); 73 mAlarmIncrCombo->insertItem(i18n("minute(s)"));
79 mAlarmIncrCombo->insertItem(i18n("hour(s)")); 74 mAlarmIncrCombo->insertItem(i18n("hour(s)"));
80 mAlarmIncrCombo->insertItem(i18n("day(s)")); 75 mAlarmIncrCombo->insertItem(i18n("day(s)"));
81 alarmLayout->addWidget(mAlarmIncrCombo); 76 alarmLayout->addWidget(mAlarmIncrCombo);
82 QHBox * hb = new QHBox ( parent ); 77 QHBox * hb = new QHBox ( parent );
83 alarmLayout->addWidget(hb); 78 alarmLayout->addWidget(hb);
84 mAlarmSoundButton = new QPushButton(hb); 79 mAlarmSoundButton = new QPushButton(hb);
85 mAlarmSoundButton->setPixmap(SmallIcon("playsound")); 80 mAlarmSoundButton->setPixmap(SmallIcon("playsound"));
86 mAlarmSoundButton->setToggleButton(true); 81 mAlarmSoundButton->setToggleButton(true);
87 connect(mAlarmSoundButton, SIGNAL(clicked()), SLOT(pickAlarmSound())); 82 connect(mAlarmSoundButton, SIGNAL(clicked()), SLOT(pickAlarmSound()));
88 mAlarmProgramButton = new QPushButton(hb); 83 mAlarmProgramButton = new QPushButton(hb);
89 mAlarmProgramButton->setPixmap(SmallIcon("run")); 84 mAlarmProgramButton->setPixmap(SmallIcon("run"));
90 mAlarmProgramButton->setToggleButton(true); 85 mAlarmProgramButton->setToggleButton(true);
91 connect(mAlarmProgramButton, SIGNAL(clicked()), SLOT(pickAlarmProgram())); 86 connect(mAlarmProgramButton, SIGNAL(clicked()), SLOT(pickAlarmProgram()));
92 mAlarmSoundButton->setMaximumWidth( mAlarmSoundButton->sizeHint().width() + 4 ); 87 mAlarmSoundButton->setMaximumWidth( mAlarmSoundButton->sizeHint().width() + 4 );
93 mAlarmProgramButton->setMaximumWidth(mAlarmProgramButton->sizeHint().width() + 4 ); 88 mAlarmProgramButton->setMaximumWidth(mAlarmProgramButton->sizeHint().width() + 4 );
94 mAlarmLabel = new QLabel( this ); 89 mAlarmLabel = new QLabel( this );
95 alarmLayout->addWidget( mAlarmLabel ); 90 alarmLayout->addWidget( mAlarmLabel );
96 mAlarmLabel->setText( "..."+KOPrefs::instance()->mDefaultAlarmFile.right( 30 ) ); 91 mAlarmLabel->setText( "..."+KOPrefs::instance()->mDefaultAlarmFile.right( 30 ) );
97 mAlarmSound = KOPrefs::instance()->mDefaultAlarmFile; 92 mAlarmSound = KOPrefs::instance()->mDefaultAlarmFile;
98 mAlarmSoundButton->setOn( true ); 93 mAlarmSoundButton->setOn( true );
99 QPushButton * ok = new QPushButton( i18n("Set Alarm!"), this ); 94 QPushButton * ok = new QPushButton( i18n("Set Alarm!"), this );
100 alarmLayout->addWidget( ok ); 95 alarmLayout->addWidget( ok );
101 QPushButton * cancel = new QPushButton( i18n("Cancel"), this ); 96 QPushButton * cancel = new QPushButton( i18n("Cancel"), this );
102 alarmLayout->addWidget( cancel ); 97 alarmLayout->addWidget( cancel );
103 connect ( ok,SIGNAL(clicked() ),this , SLOT ( accept() ) ); 98 connect ( ok,SIGNAL(clicked() ),this , SLOT ( accept() ) );
104 connect (cancel, SIGNAL(clicked() ), this, SLOT ( reject()) ); 99 connect (cancel, SIGNAL(clicked() ), this, SLOT ( reject()) );
105 resize( 200, 200 ); 100 resize( 200, 200 );
106 101
107 } 102 }
108 103
109 104
110 105
111 QString mAlarmSound, mAlarmProgram ; 106 QString mAlarmSound, mAlarmProgram ;
112 QCheckBox* mAlarmButton; 107 QCheckBox* mAlarmButton;
113 QSpinBox* mAlarmTimeEdit; 108 QSpinBox* mAlarmTimeEdit;
114 QLabel* mAlarmLabel; 109 QLabel* mAlarmLabel;
115 QComboBox* mAlarmIncrCombo ; 110 QComboBox* mAlarmIncrCombo ;
116 QPushButton* mAlarmSoundButton ,*mAlarmProgramButton; 111 QPushButton* mAlarmSoundButton ,*mAlarmProgramButton;
117private slots: 112private slots:
118 113
119void pickAlarmSound() 114void pickAlarmSound()
120{ 115{
121 //QString prefix = mAlarmSound; 116 //QString prefix = mAlarmSound;
122 if (!mAlarmSoundButton->isOn()) { 117 if (!mAlarmSoundButton->isOn()) {
123 //mAlarmSound = ""; 118 //mAlarmSound = "";
124 QToolTip::remove(mAlarmSoundButton); 119 QToolTip::remove(mAlarmSoundButton);
125 QToolTip::add(mAlarmSoundButton, i18n("No sound set")); 120 QToolTip::add(mAlarmSoundButton, i18n("No sound set"));
126 mAlarmProgramButton->setOn(true); 121 mAlarmProgramButton->setOn(true);
127 mAlarmSoundButton->setOn(false); 122 mAlarmSoundButton->setOn(false);
128 } else { 123 } else {
129 QString fileName(KFileDialog::getOpenFileName(mAlarmSound, 124 QString fileName(KFileDialog::getOpenFileName(mAlarmSound,
130 i18n("*.wav|Wav Files"), 0)); 125 i18n("*.wav|Wav Files"), 0));
131 if (!fileName.isEmpty()) { 126 if (!fileName.isEmpty()) {
132 mAlarmSound = fileName; 127 mAlarmSound = fileName;
133 mAlarmLabel->setText( "..."+fileName.right( 30 ) ); 128 mAlarmLabel->setText( "..."+fileName.right( 30 ) );
134 QToolTip::remove(mAlarmSoundButton); 129 QToolTip::remove(mAlarmSoundButton);
135 QString dispStr = i18n("Playing '%1'").arg(fileName); 130 QString dispStr = i18n("Playing '%1'").arg(fileName);
136 QToolTip::add(mAlarmSoundButton, dispStr); 131 QToolTip::add(mAlarmSoundButton, dispStr);
137 mAlarmProgramButton->setOn(false); 132 mAlarmProgramButton->setOn(false);
138 mAlarmSoundButton->setOn(true); 133 mAlarmSoundButton->setOn(true);
139 } else { 134 } else {
140 mAlarmProgramButton->setOn(true); 135 mAlarmProgramButton->setOn(true);
141 mAlarmSoundButton->setOn(false); 136 mAlarmSoundButton->setOn(false);
142 137
143 } 138 }
144 } 139 }
145}; 140};
146 141
147void pickAlarmProgram() 142void pickAlarmProgram()
148{ 143{
149 if (!mAlarmProgramButton->isOn()) { 144 if (!mAlarmProgramButton->isOn()) {
150 //mAlarmProgram = ""; 145 //mAlarmProgram = "";
151 QToolTip::remove(mAlarmProgramButton); 146 QToolTip::remove(mAlarmProgramButton);
152 QToolTip::add(mAlarmProgramButton, i18n("No program set")); 147 QToolTip::add(mAlarmProgramButton, i18n("No program set"));
153 mAlarmProgramButton->setOn(false); 148 mAlarmProgramButton->setOn(false);
154 mAlarmSoundButton->setOn(true); 149 mAlarmSoundButton->setOn(true);
155 } else { 150 } else {
156 QString fileName(KFileDialog::getOpenFileName(mAlarmProgram,i18n("Procedure Alarm.: ") , 0)); 151 QString fileName(KFileDialog::getOpenFileName(mAlarmProgram,i18n("Procedure Alarm.: ") , 0));
157 if (!fileName.isEmpty()) { 152 if (!fileName.isEmpty()) {
158 mAlarmProgram = fileName; 153 mAlarmProgram = fileName;
159 mAlarmLabel->setText( "..."+fileName.right( 30 ) ); 154 mAlarmLabel->setText( "..."+fileName.right( 30 ) );
160 QToolTip::remove(mAlarmProgramButton); 155 QToolTip::remove(mAlarmProgramButton);
161 QString dispStr = i18n("Running '%1'").arg(fileName); 156 QString dispStr = i18n("Running '%1'").arg(fileName);
162 QToolTip::add(mAlarmProgramButton, dispStr); 157 QToolTip::add(mAlarmProgramButton, dispStr);
163 mAlarmSoundButton->setOn(false); 158 mAlarmSoundButton->setOn(false);
164 mAlarmProgramButton->setOn(true); 159 mAlarmProgramButton->setOn(true);
165 } else { 160 } else {
166 mAlarmProgramButton->setOn(false); 161 mAlarmProgramButton->setOn(false);
167 mAlarmSoundButton->setOn(true); 162 mAlarmSoundButton->setOn(true);
168 } 163 }
169 } 164 }
170}; 165};
171 166
172}; 167};
173 168
174 169
175 170
176 171
177 172
178 173
179 174
180typedef CustomListViewItem<Incidence *> KOListViewItem; 175typedef CustomListViewItem<Incidence *> KOListViewItem;
181 176
182/** 177/**
183 This class provides the initialisation of a KOListViewItem for calendar 178 This class provides the initialisation of a KOListViewItem for calendar
184 components using the Incidence::Visitor. 179 components using the Incidence::Visitor.
185*/ 180*/
186class ListItemVisitor : public Incidence::Visitor 181class ListItemVisitor : public Incidence::Visitor
187{ 182{
188 public: 183 public:
189 ListItemVisitor(KOListViewItem *, QDate d); 184 ListItemVisitor(KOListViewItem *, QDate d);
190 ~ListItemVisitor(); 185 ~ListItemVisitor();
191 186
192 bool visit(Event *); 187 bool visit(Event *);
193 bool visit(Todo *); 188 bool visit(Todo *);
194 bool visit(Journal *); 189 bool visit(Journal *);
195 190
196 private: 191 private:
197 KOListViewItem *mItem; 192 KOListViewItem *mItem;
198 QDate mDate; 193 QDate mDate;
199}; 194};
200 195
201/** 196/**
202 This class provides a multi-column list view of events. It can 197 This class provides a multi-column list view of events. It can
203 display events from one particular day or several days, it doesn't 198 display events from one particular day or several days, it doesn't
204 matter. To use a view that only handles one day at a time, use 199 matter. To use a view that only handles one day at a time, use
205 KODayListView. 200 KODayListView.
206 201
207 @short multi-column list view of various events. 202 @short multi-column list view of various events.
208 @author Preston Brown <pbrown@kde.org> 203 @author Preston Brown <pbrown@kde.org>
209 @see KOBaseView, KODayListView 204 @see KOBaseView, KODayListView
210*/ 205*/
211class KOListView; 206class KOListView;
212 207
213class KOListViewListView : public KListView 208class KOListViewListView : public KListView
214{ 209{
215 Q_OBJECT 210 Q_OBJECT
216 public: 211 public:
217 KOListViewListView(KOListView * lv ); 212 KOListViewListView(KOListView * lv );
218 bool hasMultiSelection(QListViewItem*); 213 bool hasMultiSelection(QListViewItem*);
219 void printList(); 214 void printList();
220 signals: 215 signals:
221 void newEvent(); 216 void newEvent();
222 void showIncidence( Incidence* ); 217 void showIncidence( Incidence* );
223 public slots: 218 public slots:
224 void popupMenu(); 219 void popupMenu();
225 private: 220 private:
226 QPoint mEventPos; 221 QPoint mEventPos;
227 QPoint mEventGlobalPos; 222 QPoint mEventGlobalPos;
228 QTimer* mPopupTimer; 223 QTimer* mPopupTimer;
229 int mYMousePos; 224 int mYMousePos;
230 void keyPressEvent ( QKeyEvent * ) ; 225 void keyPressEvent ( QKeyEvent * ) ;
231 void contentsMouseDoubleClickEvent(QMouseEvent *e); 226 void contentsMouseDoubleClickEvent(QMouseEvent *e);
232 void contentsMousePressEvent(QMouseEvent *e); 227 void contentsMousePressEvent(QMouseEvent *e);
233 void contentsMouseReleaseEvent(QMouseEvent *e); 228 void contentsMouseReleaseEvent(QMouseEvent *e);
234 void contentsMouseMoveEvent(QMouseEvent *e); 229 void contentsMouseMoveEvent(QMouseEvent *e);
235 bool mMouseDown; 230 bool mMouseDown;
236}; 231};
237 232
238class KOListView : public KOEventView 233class KOListView : public KOEventView
239{ 234{
240 Q_OBJECT 235 Q_OBJECT
241 public: 236 public:
242 KOListView(Calendar *calendar, QWidget *parent = 0, 237 KOListView(Calendar *calendar, QWidget *parent = 0,
243 const char *name = 0); 238 const char *name = 0);
244 ~KOListView(); 239 ~KOListView();
245 240
246 virtual int maxDatesHint(); 241 virtual int maxDatesHint();
247 virtual int currentDateCount(); 242 virtual int currentDateCount();
248 virtual QPtrList<Incidence> selectedIncidences(); 243 virtual QPtrList<Incidence> selectedIncidences();
249 virtual DateList selectedDates(); 244 virtual DateList selectedDates();
250 245
251 void showDates(bool show); 246 void showDates(bool show);
252 Incidence* currentItem(); 247 Incidence* currentItem();
253 void addTodos(QPtrList<Todo> eventList); 248 void addTodos(QPtrList<Todo> eventList);
254 void addJournals(QPtrList<Journal> eventList); 249 void addJournals(QPtrList<Journal> eventList);
255 virtual void printPreview(CalPrinter *calPrinter, 250 virtual void printPreview(CalPrinter *calPrinter,
256 const QDate &, const QDate &); 251 const QDate &, const QDate &);
257 252
258 void readSettings(KConfig *config, QString setting = "KOListView Layout"); 253 void readSettings(KConfig *config, QString setting = "KOListView Layout");
259 void writeSettings(KConfig *config, QString setting = "KOListView Layout"); 254 void writeSettings(KConfig *config, QString setting = "KOListView Layout");
260 void updateList(); 255 void updateList();
261 void clearList(); 256 void clearList();
262 void setStartDate(const QDate &start); 257 void setStartDate(const QDate &start);
263 int count(); 258 int count();
264 QString getWhatsThisText(QPoint p); 259 QString getWhatsThisText(QPoint p);
265 QPtrList<Incidence> KOListView::getSelectedIncidences( bool includeEvents = true, bool includeTodos = true , bool includeJournals = true, bool onlyDueTodos = false ); 260 QPtrList<Incidence> KOListView::getSelectedIncidences( bool includeEvents = true, bool includeTodos = true , bool includeJournals = true, bool onlyDueTodos = false );
266 void showCompletedTodos(); 261 void showCompletedTodos();
267 signals: 262 signals:
268 void signalNewEvent(); 263 void signalNewEvent();
269 void beamIncidenceList(QPtrList<Incidence>); 264 void beamIncidenceList(QPtrList<Incidence>);
270 265
271 public slots: 266 public slots:
272 void hideAll(); 267 void hideAll();
273 void printList(); 268 void printList();
274 void resetFocus(); 269 void resetFocus();
275 virtual void updateView(); 270 virtual void updateView();
276 virtual void showDates(const QDate &start, const QDate &end); 271 virtual void showDates(const QDate &start, const QDate &end);
277 virtual void showEvents(QPtrList<Event> eventList); 272 virtual void showEvents(QPtrList<Event> eventList);
278 void clearSelection(); 273 void clearSelection();
279 void allSelection(); 274 void allSelection();
280 275
281 void clear(); 276 void clear();
282 void beamDone( Ir *ir );
283 void showDates(); 277 void showDates();
284 void hideDates(); 278 void hideDates();
285 void deleteAll(); 279 void deleteAll();
286 void saveToFile(); 280 void saveToFile();
287 void saveToFileVCS(); 281 void saveToFileVCS();
288 void saveDescriptionToFile(); 282 void saveDescriptionToFile();
289 void beamSelected(); 283 void beamSelected();
290 void updateConfig(); 284 void updateConfig();
291 void addCat();
292 void setCat(); 285 void setCat();
293 void setAlarm(); 286 void setAlarm();
294 void setCategories( bool removeOld ); 287 void setCategories( bool removeOld );
295 void changeEventDisplay(Event *, int); 288 void changeEventDisplay(Event *, int);
296 289
297 void defaultItemAction(QListViewItem *item); 290 void defaultItemAction(QListViewItem *item);
298 void popupMenu(QListViewItem *item,const QPoint &,int); 291 void popupMenu(QListViewItem *item,const QPoint &,int);
299 void setCalendar( int c ); 292 void setCalendar( int c );
300 void populateCalPopup(); 293 void populateCalPopup();
301 294
302 protected slots: 295 protected slots:
303 void processSelectionChange(QListViewItem *); 296 void processSelectionChange(QListViewItem *);
304 297
305 protected: 298 protected:
306 void writeToFile( bool iCal ); 299 void writeToFile( bool iCal );
307 void addEvents(QPtrList<Event> eventList); 300 void addEvents(QPtrList<Event> eventList);
308 void addIncidence(Incidence *); 301 void addIncidence(Incidence *);
309 KOListViewItem *getItemForEvent(Incidence *event); 302 KOListViewItem *getItemForEvent(Incidence *event);
310 303
311 private: 304 private:
312 bool mForceShowCompletedTodos; 305 bool mForceShowCompletedTodos;
313 QPopupMenu* mCalPopup; 306 QPopupMenu* mCalPopup;
314 KOListViewWhatsThis *mKOListViewWhatsThis; 307 KOListViewWhatsThis *mKOListViewWhatsThis;
315 KOListViewListView *mListView; 308 KOListViewListView *mListView;
316 KOEventPopupMenu *mPopupMenu; 309 KOEventPopupMenu *mPopupMenu;
317 KOListViewItem *mActiveItem; 310 KOListViewItem *mActiveItem;
318 QDict<Incidence> mUidDict; 311 QDict<Incidence> mUidDict;
319 QDate mStartDate; 312 QDate mStartDate;
320 void keyPressEvent ( QKeyEvent * ) ; 313 void keyPressEvent ( QKeyEvent * ) ;
321}; 314};
322 315
323#endif 316#endif
diff --git a/korganizer/koprefs.cpp b/korganizer/koprefs.cpp
index 02d7aae..6337ca5 100644
--- a/korganizer/koprefs.cpp
+++ b/korganizer/koprefs.cpp
@@ -1,488 +1,488 @@
1/* 1/*
2 This file is part of KOrganizer. 2 This file is part of KOrganizer.
3 Copyright (c) 2001 Cornelius Schumacher <schumacher@kde.org> 3 Copyright (c) 2001 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 <time.h> 24#include <time.h>
25#ifndef _WIN32_ 25#ifndef _WIN32_
26#include <unistd.h> 26#include <unistd.h>
27#endif 27#endif
28#include <qdir.h> 28#include <qdir.h>
29#include <qtextstream.h> 29#include <qtextstream.h>
30#include <qtextcodec.h> 30#include <qtextcodec.h>
31#include <qstring.h> 31#include <qstring.h>
32#include <qregexp.h> 32#include <qregexp.h>
33#include <qfont.h> 33#include <qfont.h>
34#include <qcolor.h> 34#include <qcolor.h>
35#include <qstringlist.h> 35#include <qstringlist.h>
36#include <stdlib.h> 36#include <stdlib.h>
37 37
38#include <kglobal.h> 38#include <kglobal.h>
39#include <kglobalsettings.h> 39#include <kglobalsettings.h>
40#include <kconfig.h> 40#include <kconfig.h>
41#include <klocale.h> 41#include <klocale.h>
42#include <kdebug.h> 42#include <kdebug.h>
43#include <kemailsettings.h> 43#include <kemailsettings.h>
44#include <kstaticdeleter.h> 44#include <kstaticdeleter.h>
45#include <libkdepim/kpimglobalprefs.h> 45#include <libkdepim/kpimglobalprefs.h>
46 46
47#include "koprefs.h" 47#include "koprefs.h"
48#include "mainwindow.h" 48#include "mainwindow.h"
49 49
50KOPrefs *KOPrefs::mInstance = 0; 50KOPrefs *KOPrefs::mInstance = 0;
51static KStaticDeleter<KOPrefs> insd; 51static KStaticDeleter<KOPrefs> insd;
52 52
53KOPrefs::KOPrefs() : 53KOPrefs::KOPrefs() :
54 KPimPrefs("korganizerrc") 54 KPimPrefs("korganizerrc")
55{ 55{
56 mCategoryColors.setAutoDelete(true); 56 mCategoryColors.setAutoDelete(true);
57 fillMailDefaults(); 57 fillMailDefaults();
58 mDefaultCategoryColor = QColor(175,210,255);//196,196,196); 58 mDefaultCategoryColor = QColor(175,210,255);//196,196,196);
59 QColor defaultHolidayColor = QColor(255,0,0); 59 QColor defaultHolidayColor = QColor(255,0,0);
60 QColor defaultHighlightColor = QColor(129,112,255);//64,64,255); 60 QColor defaultHighlightColor = QColor(129,112,255);//64,64,255);
61 QColor defaultAgendaBgColor = QColor(239,241,169);//128,128,128); 61 QColor defaultAgendaBgColor = QColor(239,241,169);//128,128,128);
62 QColor defaultWorkingHoursColor = QColor(170,223,150);//160,160,160); 62 QColor defaultWorkingHoursColor = QColor(170,223,150);//160,160,160);
63 QColor defaultTodoDueTodayColor = QColor(255,220,100); 63 QColor defaultTodoDueTodayColor = QColor(255,220,100);
64 QColor defaultTodoOverdueColor = QColor(255,153,125); 64 QColor defaultTodoOverdueColor = QColor(255,153,125);
65 QColor defaultTodoRunColor = QColor(99,194,30); 65 QColor defaultTodoRunColor = QColor(99,194,30);
66 KPrefs::setCurrentGroup("General"); 66 KPrefs::setCurrentGroup("General");
67 addItemBool("Enable Group Scheduling",&mEnableGroupScheduling,false); 67 addItemBool("Enable Group Scheduling",&mEnableGroupScheduling,false);
68 addItemBool("ShowIconNewTodo",&mShowIconNewTodo,true); 68 addItemBool("ShowIconNewTodo",&mShowIconNewTodo,true);
69 addItemBool("ShowIconNewEvent",&mShowIconNewEvent,true); 69 addItemBool("ShowIconNewEvent",&mShowIconNewEvent,true);
70 addItemBool("ShowIconSearch",&mShowIconSearch,true); 70 addItemBool("ShowIconSearch",&mShowIconSearch,true);
71 addItemBool("ShowIconList",&mShowIconList,true); 71 addItemBool("ShowIconList",&mShowIconList,true);
72 addItemBool("ShowIconDay1",&mShowIconDay1,true); 72 addItemBool("ShowIconDay1",&mShowIconDay1,true);
73 addItemBool("ShowIconDay5",&mShowIconDay5,true); 73 addItemBool("ShowIconDay5",&mShowIconDay5,true);
74 addItemBool("ShowIconDay6",&mShowIconDay6,true); 74 addItemBool("ShowIconDay6",&mShowIconDay6,true);
75 addItemBool("ShowIconDay7",&mShowIconDay7,true); 75 addItemBool("ShowIconDay7",&mShowIconDay7,true);
76 addItemBool("ShowIconMonth",&mShowIconMonth,true); 76 addItemBool("ShowIconMonth",&mShowIconMonth,true);
77 addItemBool("ShowIconTodoview",&mShowIconTodoview,true); 77 addItemBool("ShowIconTodoview",&mShowIconTodoview,true);
78 addItemBool("ShowIconBackFast",&mShowIconBackFast,true); 78 addItemBool("ShowIconBackFast",&mShowIconBackFast,true);
79 addItemBool("ShowIconBack",&mShowIconBack,true); 79 addItemBool("ShowIconBack",&mShowIconBack,true);
80 addItemBool("ShowIconToday",&mShowIconToday,true); 80 addItemBool("ShowIconToday",&mShowIconToday,true);
81 addItemBool("ShowIconForward",&mShowIconForward,true); 81 addItemBool("ShowIconForward",&mShowIconForward,true);
82 addItemBool("ShowIconForwardFast",&mShowIconForwardFast,true); 82 addItemBool("ShowIconForwardFast",&mShowIconForwardFast,true);
83 addItemBool("ShowIconWhatsThis",&mShowIconWhatsThis,true); 83 addItemBool("ShowIconWhatsThis",&mShowIconWhatsThis,true);
84 addItemBool("ShowIconWeekNum",&mShowIconWeekNum,true); 84 addItemBool("ShowIconWeekNum",&mShowIconWeekNum,true);
85 addItemBool("ShowIconNextDays",&mShowIconNextDays,true); 85 addItemBool("ShowIconNextDays",&mShowIconNextDays,true);
86 addItemBool("ShowIconNext",&mShowIconNext,true); 86 addItemBool("ShowIconNext",&mShowIconNext,true);
87 addItemBool("ShowIconJournal",&mShowIconJournal,true); 87 addItemBool("ShowIconJournal",&mShowIconJournal,true);
88 addItemBool("ShowIconStretch",&mShowIconStretch,true); 88 addItemBool("ShowIconStretch",&mShowIconStretch,true);
89 addItemBool("ShowIconFilter",&mShowIconFilter,false); 89 addItemBool("ShowIconFilter",&mShowIconFilter,false);
90 addItemBool("ShowIconOnetoolbar",&mShowIconOnetoolbar,true); 90 addItemBool("ShowIconOnetoolbar",&mShowIconOnetoolbar,true);
91 91
92 bool addIcons = false; 92 bool addIcons = false;
93#ifdef DESKTOP_VERSION 93#ifdef DESKTOP_VERSION
94 addIcons = true; 94 addIcons = true;
95#endif 95#endif
96 addItemBool("ShowIconNavigator",&mShowIconNavigator,addIcons); 96 addItemBool("ShowIconNavigator",&mShowIconNavigator,addIcons);
97 addItemBool("ShowIconAllday",&mShowIconAllday,addIcons); 97 addItemBool("ShowIconAllday",&mShowIconAllday,addIcons);
98 addItemBool("ShowIconFilterview",&mShowIconFilterview,addIcons); 98 addItemBool("ShowIconFilterview",&mShowIconFilterview,addIcons);
99 addItemBool("ShowIconToggleFull",&mShowIconToggleFull,addIcons); 99 addItemBool("ShowIconToggleFull",&mShowIconToggleFull,addIcons);
100 100
101 addItemInt("LastLoadedLanguage",&mOldLanguage,0); 101 addItemInt("LastLoadedLanguage",&mOldLanguage,0);
102 102
103 addItemBool("AskForQuit",&mAskForQuit,false); 103 addItemBool("AskForQuit",&mAskForQuit,false);
104 104
105#ifndef DESKTOP_VERSION 105#ifndef DESKTOP_VERSION
106 addItemBool("ShowFullMenu",&mShowFullMenu,false); 106 addItemBool("ShowFullMenu",&mShowFullMenu,false);
107#else 107#else
108 addItemBool("ShowFullMenu",&mShowFullMenu,true); 108 addItemBool("ShowFullMenu",&mShowFullMenu,true);
109#endif 109#endif
110 addItemBool("ToolBarHor",&mToolBarHor, true ); 110 addItemBool("ToolBarHor",&mToolBarHor, true );
111 addItemBool("ToolBarUp",&mToolBarUp, false ); 111 addItemBool("ToolBarUp",&mToolBarUp, false );
112 addItemBool("ToolBarHorV",&mToolBarHorV, true ); 112 addItemBool("ToolBarHorV",&mToolBarHorV, true );
113 addItemBool("ToolBarUpV",&mToolBarUpV, false ); 113 addItemBool("ToolBarUpV",&mToolBarUpV, false );
114 addItemBool("ToolBarHorN",&mToolBarHorN, true ); 114 addItemBool("ToolBarHorN",&mToolBarHorN, true );
115 addItemBool("ToolBarUpN",&mToolBarUpN, false ); 115 addItemBool("ToolBarUpN",&mToolBarUpN, false );
116 addItemBool("ToolBarHorF",&mToolBarHorF, true ); 116 addItemBool("ToolBarHorF",&mToolBarHorF, true );
117 addItemBool("ToolBarUpF",&mToolBarUpF, false ); 117 addItemBool("ToolBarUpF",&mToolBarUpF, false );
118 addItemBool("ToolBarMiniIcons",&mToolBarMiniIcons, false ); 118 addItemBool("ToolBarMiniIcons",&mToolBarMiniIcons, false );
119 addItemInt("Whats Next Days",&mWhatsNextDays,3); 119 addItemInt("Whats Next Days",&mWhatsNextDays,3);
120 addItemInt("Whats Next Prios",&mWhatsNextPrios,1); 120 addItemInt("Whats Next Prios",&mWhatsNextPrios,1);
121 121
122 addItemBool("ShowTodoInAgenda",&mShowTodoInAgenda,true); 122 addItemBool("ShowTodoInAgenda",&mShowTodoInAgenda,true);
123 addItemBool("ShowCompletedTodoInAgenda",&mShowCompletedTodoInAgenda,true); 123 addItemBool("ShowCompletedTodoInAgenda",&mShowCompletedTodoInAgenda,true);
124 addItemBool("ShowTimeInAgenda",&mShowTimeInAgenda,true); 124 addItemBool("ShowTimeInAgenda",&mShowTimeInAgenda,true);
125 addItemBool("HideNonStartedTodos",&mHideNonStartedTodos,false); 125 addItemBool("HideNonStartedTodos",&mHideNonStartedTodos,false);
126 addItemBool("ShowCompletedTodo",&mShowCompletedTodo,true); 126 addItemBool("ShowCompletedTodo",&mShowCompletedTodo,true);
127 addItemInt("AllDay Size",&mAllDaySize,28); 127 addItemInt("AllDay Size",&mAllDaySize,28);
128 QString defAlarm = KGlobal::iconLoader()->iconPath()+"koalarm.wav"; 128 QString defAlarm = KGlobal::iconLoader()->iconPath()+"koalarm.wav";
129 addItemString("DefaultAlarmFile",&mDefaultAlarmFile,defAlarm ); 129 addItemString("DefaultAlarmFile",&mDefaultAlarmFile,defAlarm );
130 130
131 addItemStringList("LocationDefaults",&mLocationDefaults ); 131 addItemStringList("LocationDefaults",&mLocationDefaults );
132 addItemStringList("EventSummary User",&mEventSummaryUser); 132 addItemStringList("EventSummary User",&mEventSummaryUser);
133 addItemStringList("TodoSummary User",&mTodoSummaryUser); 133 addItemStringList("TodoSummary User",&mTodoSummaryUser);
134 134
135 addItemBool("Enable Group Scheduling",&mEnableGroupScheduling,false); 135 addItemBool("Enable Group Scheduling",&mEnableGroupScheduling,false);
136 addItemBool("Enable Project View",&mEnableProjectView,false); 136 addItemBool("Enable Project View",&mEnableProjectView,false);
137 addItemBool("Auto Save",&mAutoSave,false); 137 addItemBool("Auto Save",&mAutoSave,false);
138 addItemInt("Auto Save Interval",&mAutoSaveInterval,3); 138 addItemInt("Auto Save Interval",&mAutoSaveInterval,3);
139 addItemBool("Confirm Deletes",&mConfirm,true); 139 addItemBool("Confirm Deletes",&mConfirm,true);
140 addItemString("Archive File",&mArchiveFile); 140 addItemString("Archive File",&mArchiveFile);
141 addItemString("Html Export File",&mHtmlExportFile, 141 addItemString("Html Export File",&mHtmlExportFile,
142 QDir::homeDirPath() + "/" + i18n("Default export file", "calendar.html")); 142 QDir::homeDirPath() + "/" + i18n("Default export file", "calendar.html"));
143 addItemBool("Html With Save",&mHtmlWithSave,false); 143 addItemBool("Html With Save",&mHtmlWithSave,false);
144 144
145 KPrefs::setCurrentGroup("Personal Settings"); 145 KPrefs::setCurrentGroup("Personal Settings");
146 146
147 addItemInt("Mail Client",&mMailClient,MailClientKMail); 147 addItemInt("Mail Client",&mMailClient,MailClientKMail);
148 addItemBool("Use Control Center Email",&mEmailControlCenter,false); 148 addItemBool("Use Control Center Email",&mEmailControlCenter,false);
149 addItemBool("Bcc",&mBcc,false); 149 addItemBool("Bcc",&mBcc,false);
150 150
151 KPrefs::setCurrentGroup("Time & Date"); 151 KPrefs::setCurrentGroup("Time & Date");
152 152
153 153
154 addItemInt("Default Start Time",&mStartTime,10); 154 addItemInt("Default Start Time",&mStartTime,10);
155 addItemInt("Default Duration",&mDefaultDuration,2); 155 addItemInt("Default Duration",&mDefaultDuration,2);
156 addItemInt("Default Alarm Time",&mAlarmTime,3); 156 addItemInt("Default Alarm Time",&mAlarmTime,3);
157 KPrefs::setCurrentGroup("AlarmSettings"); 157 KPrefs::setCurrentGroup("AlarmSettings");
158 addItemInt("AlarmPlayBeeps",&mAlarmPlayBeeps,20); 158 addItemInt("AlarmPlayBeeps",&mAlarmPlayBeeps,20);
159 addItemInt("AlarmSuspendTime",&mAlarmSuspendTime,7); 159 addItemInt("AlarmSuspendTime",&mAlarmSuspendTime,7);
160 addItemInt("AlarmSuspendCount",&mAlarmSuspendCount,5); 160 addItemInt("AlarmSuspendCount",&mAlarmSuspendCount,5);
161 addItemInt("AlarmBeepInterval",&mAlarmBeepInterval,3); 161 addItemInt("AlarmBeepInterval",&mAlarmBeepInterval,3);
162 162
163 163
164 KPrefs::setCurrentGroup("Calendar"); 164 KPrefs::setCurrentGroup("Calendar");
165 165
166 addItemInt("Default Calendar Format",&mDefaultFormat,FormatICalendar); 166 addItemInt("Default Calendar Format",&mDefaultFormat,FormatICalendar);
167 167
168 KPrefs::setCurrentGroup("Fonts"); 168 KPrefs::setCurrentGroup("Fonts");
169 // qDebug(" KPrefs::setCurrentGroup(Fonts); "); 169 // qDebug(" KPrefs::setCurrentGroup(Fonts); ");
170 QFont fon = KGlobalSettings::generalFont(); 170 QFont fon = KGlobalSettings::generalFont();
171 addItemFont("TimeBar Font",&mTimeBarFont,fon ); 171 addItemFont("TimeBar Font",&mTimeBarFont,fon );
172 addItemFont("MonthView Font",&mMonthViewFont,fon); 172 addItemFont("MonthView Font",&mMonthViewFont,fon);
173 addItemFont("AgendaView Font",&mAgendaViewFont,fon); 173 addItemFont("AgendaView Font",&mAgendaViewFont,fon);
174 addItemFont("MarcusBains Font",&mMarcusBainsFont,fon); 174 addItemFont("MarcusBains Font",&mMarcusBainsFont,fon);
175 addItemFont("TimeLabels Font",&mTimeLabelsFont,fon); 175 addItemFont("TimeLabels Font",&mTimeLabelsFont,fon);
176 addItemFont("TodoView Font",&mTodoViewFont,fon); 176 addItemFont("TodoView Font",&mTodoViewFont,fon);
177 addItemFont("ListView Font",&mListViewFont,fon); 177 addItemFont("ListView Font",&mListViewFont,fon);
178 addItemFont("DateNavigator Font",&mDateNavigatorFont,fon); 178 addItemFont("DateNavigator Font",&mDateNavigatorFont,fon);
179 addItemFont("EditBox Font",&mEditBoxFont,fon); 179 addItemFont("EditBox Font",&mEditBoxFont,fon);
180 addItemFont("JournalView Font",&mJornalViewFont,fon); 180 addItemFont("JournalView Font",&mJornalViewFont,fon);
181 addItemFont("WhatsNextView Font",&mWhatsNextFont,fon); 181 addItemFont("WhatsNextView Font",&mWhatsNextFont,fon);
182 addItemFont("EventView Font",&mEventViewFont,fon); 182 addItemFont("EventView Font",&mEventViewFont,fon);
183 183
184 KPrefs::setCurrentGroup("RemoteSyncing"); 184 KPrefs::setCurrentGroup("RemoteSyncing");
185 addItemString("ActiveSyncPort",&mActiveSyncPort,"9197" ); 185 addItemString("ActiveSyncPort",&mActiveSyncPort,"9197" );
186 addItemString("ActiveSyncIP",&mActiveSyncIP,"192.168.0.40" ); 186 addItemString("ActiveSyncIP",&mActiveSyncIP,"192.168.0.40" );
187 addItemBool("ShowSyncEvents",&mShowSyncEvents,false); 187 addItemBool("ShowSyncEvents",&mShowSyncEvents,false);
188 addItemInt("LastSyncTime",&mLastSyncTime,0); 188 addItemInt("LastSyncTime",&mLastSyncTime,0);
189 189
190#ifdef _WIN32_ 190#ifdef _WIN32_
191 QString hdp= locateLocal("data","korganizer")+"\\\\"; 191 QString hdp= locateLocal("data","korganizer")+"\\\\";
192#else 192#else
193 QString hdp= locateLocal("data","korganizer")+"/"; 193 QString hdp= locateLocal("data","korganizer")+"/";
194#endif 194#endif
195 195
196 KPrefs::setCurrentGroup("LoadSaveFileNames"); 196 KPrefs::setCurrentGroup("LoadSaveFileNames");
197 197
198 addItemString("LastImportFile", &mLastImportFile ,hdp +"import.ics" ); 198 addItemString("LastImportFile", &mLastImportFile ,hdp +"import.ics" );
199 addItemString("LastVcalFile", &mLastVcalFile ,hdp +"export.vcs" ); 199 addItemString("LastVcalFile", &mLastVcalFile ,hdp +"export.vcs" );
200 addItemString("LastSaveFile", &mLastSaveFile ,hdp +"mybackup.ics" ); 200 addItemString("LastSaveFile", &mLastSaveFile ,hdp +"mybackup.ics" );
201 addItemString("LastLoadFile", &mLastLoadFile ,hdp +"mybackup.ics" ); 201 addItemString("LastLoadFile", &mLastLoadFile ,hdp +"mybackup.ics" );
202 202
203 203
204 KPrefs::setCurrentGroup("Locale"); 204 KPrefs::setCurrentGroup("Locale");
205 addItemBool("ShortDateInViewer",&mShortDateInViewer,false); 205 addItemBool("ShortDateInViewer",&mShortDateInViewer,false);
206 206
207 207
208 KPrefs::setCurrentGroup("Colors"); 208 KPrefs::setCurrentGroup("Colors");
209 addItemColor("Holiday Color",&mHolidayColor,defaultHolidayColor); 209 addItemColor("Holiday Color",&mHolidayColor,defaultHolidayColor);
210 addItemColor("Highlight Color",&mHighlightColor,defaultHighlightColor); 210 addItemColor("Highlight Color",&mHighlightColor,defaultHighlightColor);
211 addItemColor("Event Color",&mEventColor,mDefaultCategoryColor); 211 addItemColor("Event Color",&mEventColor,mDefaultCategoryColor);
212 addItemColor("Todo done Color",&mTodoDoneColor,QColor(111,255,115) ); 212 addItemColor("Todo done Color",&mTodoDoneColor,QColor(111,255,115) );
213 addItemColor("Agenda Background Color",&mAgendaBgColor,defaultAgendaBgColor); 213 addItemColor("Agenda Background Color",&mAgendaBgColor,defaultAgendaBgColor);
214 addItemColor("WorkingHours Color",&mWorkingHoursColor,defaultWorkingHoursColor); 214 addItemColor("WorkingHours Color",&mWorkingHoursColor,defaultWorkingHoursColor);
215 addItemColor("Todo due today Color",&mTodoDueTodayColor,defaultTodoDueTodayColor); 215 addItemColor("Todo due today Color",&mTodoDueTodayColor,defaultTodoDueTodayColor);
216 addItemColor("Todo overdue Color",&mTodoOverdueColor,defaultTodoOverdueColor); 216 addItemColor("Todo overdue Color",&mTodoOverdueColor,defaultTodoOverdueColor);
217 addItemColor("Todo running Color",&mTodoRunColor,defaultTodoRunColor); 217 addItemColor("Todo running Color",&mTodoRunColor,defaultTodoRunColor);
218 addItemColor("MonthViewEvenColor",&mMonthViewEvenColor,QColor( 160,160,255 )); 218 addItemColor("MonthViewEvenColor",&mMonthViewEvenColor,QColor( 160,160,255 ));
219 addItemColor("MonthViewOddColor",&mMonthViewOddColor,QColor( 160,255,160 )); 219 addItemColor("MonthViewOddColor",&mMonthViewOddColor,QColor( 160,255,160 ));
220 addItemColor("MonthViewHolidayColor",&mMonthViewHolidayColor,QColor( 255,160,160 )); 220 addItemColor("MonthViewHolidayColor",&mMonthViewHolidayColor,QColor( 255,160,160 ));
221 addItemBool("MonthViewUsesDayColors",&mMonthViewUsesDayColors,true); 221 addItemBool("MonthViewUsesDayColors",&mMonthViewUsesDayColors,true);
222 addItemBool("MonthViewSatSunTog",&mMonthViewSatSunTog,true); 222 addItemBool("MonthViewSatSunTog",&mMonthViewSatSunTog,true);
223 addItemBool("MonthViewWeek",&mMonthViewWeek,false); 223 addItemBool("MonthViewWeek",&mMonthViewWeek,false);
224 addItemBool("HightlightDateTimeEdit",&mHightlightDateTimeEdit,false); 224 addItemBool("HightlightDateTimeEdit",&mHightlightDateTimeEdit,false);
225 addItemColor("AppColor1",&mAppColor1,QColor( 130,170,255 )); 225 addItemColor("AppColor1",&mAppColor1,QColor( 130,170,255 ));
226 addItemColor("AppColor2",&mAppColor2,QColor( 174,216,255 )); 226 addItemColor("AppColor2",&mAppColor2,QColor( 174,216,255 ));
227 addItemBool("UseAppColors",&mUseAppColors,false); 227 addItemBool("UseAppColors",&mUseAppColors,false);
228 228
229 229
230 230
231 KPrefs::setCurrentGroup("Views"); 231 KPrefs::setCurrentGroup("Views");
232 addItemBool("Block Popup Menu",&mBlockPopupMenu,true); 232 addItemBool("Block Popup Menu",&mBlockPopupMenu,false);
233 addItemBool("Show Date Navigator",&mShowDateNavigator,true); 233 addItemBool("Show Date Navigator",&mShowDateNavigator,true);
234 addItemInt("Hour Size",&mHourSize,8); 234 addItemInt("Hour Size",&mHourSize,8);
235 addItemBool("Show Daily Recurrences",&mDailyRecur,true); 235 addItemBool("Show Daily Recurrences",&mDailyRecur,true);
236 addItemBool("Show Weekly Recurrences",&mWeeklyRecur,true); 236 addItemBool("Show Weekly Recurrences",&mWeeklyRecur,true);
237 addItemBool("Show Month Daily Recurrences",&mMonthDailyRecur,true); 237 addItemBool("Show Month Daily Recurrences",&mMonthDailyRecur,true);
238 addItemBool("Show Month Weekly Recurrences",&mMonthWeeklyRecur,true); 238 addItemBool("Show Month Weekly Recurrences",&mMonthWeeklyRecur,true);
239 addItemBool("ShowShortMonthName",&mMonthShowShort,false); 239 addItemBool("ShowShortMonthName",&mMonthShowShort,false);
240 addItemBool("ShowIconsInMonthCell",&mMonthShowIcons,true); 240 addItemBool("ShowIconsInMonthCell",&mMonthShowIcons,true);
241 addItemBool("ShowTimesInMonthCell",&mMonthShowTimes,true); 241 addItemBool("ShowTimesInMonthCell",&mMonthShowTimes,true);
242#ifdef DESKTOP_VERION 242#ifdef DESKTOP_VERION
243 addItemBool("Enable ToolTips",&mEnableToolTips,true); 243 addItemBool("Enable ToolTips",&mEnableToolTips,true);
244#else 244#else
245 addItemBool("Enable ToolTips",&mEnableToolTips,false); 245 addItemBool("Enable ToolTips",&mEnableToolTips,false);
246#endif 246#endif
247 addItemBool("Enable MonthView ScrollBars",&mEnableMonthScroll,false); 247 addItemBool("Enable MonthView ScrollBars",&mEnableMonthScroll,false);
248 addItemBool("Marcus Bains shows seconds",&mMarcusBainsShowSeconds,false); 248 addItemBool("Marcus Bains shows seconds",&mMarcusBainsShowSeconds,false);
249 addItemBool("Show Marcus Bains",&mMarcusBainsEnabled,true); 249 addItemBool("Show Marcus Bains",&mMarcusBainsEnabled,true);
250 addItemBool("EditOnDoubleClick",&mEditOnDoubleClick,true); 250 addItemBool("EditOnDoubleClick",&mEditOnDoubleClick,true);
251 addItemBool("ViewChangeHoldFullscreen",&mViewChangeHoldFullscreen,true); 251 addItemBool("ViewChangeHoldFullscreen",&mViewChangeHoldFullscreen,true);
252 addItemBool("ViewChangeHoldNonFullscreen",&mViewChangeHoldNonFullscreen,false); 252 addItemBool("ViewChangeHoldNonFullscreen",&mViewChangeHoldNonFullscreen,false);
253 addItemBool("CenterOnCurrentTime",&mCenterOnCurrentTime,false); 253 addItemBool("CenterOnCurrentTime",&mCenterOnCurrentTime,false);
254 addItemBool("SetTimeToDayStartAt",&mSetTimeToDayStartAt,true); 254 addItemBool("SetTimeToDayStartAt",&mSetTimeToDayStartAt,true);
255 addItemBool("HighlightCurrentDay",&mHighlightCurrentDay,true); 255 addItemBool("HighlightCurrentDay",&mHighlightCurrentDay,true);
256 addItemBool("WNViewShowsParents",&mWNViewShowsParents,true);; 256 addItemBool("WNViewShowsParents",&mWNViewShowsParents,true);;
257 addItemBool("WNViewShowsPast",&mWNViewShowsPast,true); 257 addItemBool("WNViewShowsPast",&mWNViewShowsPast,true);
258 addItemBool("WNViewShowLocation",&mWNViewShowLocation,false); 258 addItemBool("WNViewShowLocation",&mWNViewShowLocation,false);
259 addItemBool("UseHighlightLightColor",&mUseHighlightLightColor,false); 259 addItemBool("UseHighlightLightColor",&mUseHighlightLightColor,false);
260 addItemBool("ListViewMonthTimespan",&mListViewMonthTimespan,true); 260 addItemBool("ListViewMonthTimespan",&mListViewMonthTimespan,true);
261 addItemBool("TodoViewUsesCatColors",&mTodoViewUsesCatColors,false); 261 addItemBool("TodoViewUsesCatColors",&mTodoViewUsesCatColors,false);
262 addItemBool("TodoViewShowsPercentage",&mTodoViewShowsPercentage,false); 262 addItemBool("TodoViewShowsPercentage",&mTodoViewShowsPercentage,false);
263 addItemBool("TodoViewUsesSmallFont",&mTodoViewUsesSmallFont,true); 263 addItemBool("TodoViewUsesSmallFont",&mTodoViewUsesSmallFont,true);
264 addItemBool("MonthViewUsesBigFont",&mMonthViewUsesBigFont,true); 264 addItemBool("MonthViewUsesBigFont",&mMonthViewUsesBigFont,true);
265 addItemBool("TodoViewUsesForegroundColor",&mTodoViewUsesForegroundColor,false); 265 addItemBool("TodoViewUsesForegroundColor",&mTodoViewUsesForegroundColor,false);
266 addItemBool("MonthViewUsesForegroundColor",&mMonthViewUsesForegroundColor,false); 266 addItemBool("MonthViewUsesForegroundColor",&mMonthViewUsesForegroundColor,false);
267#ifdef DESKTOP_VERSION 267#ifdef DESKTOP_VERSION
268 addItemBool("UseInternalAlarmNotification",&mUseInternalAlarmNotification,true); 268 addItemBool("UseInternalAlarmNotification",&mUseInternalAlarmNotification,true);
269#else 269#else
270 addItemBool("UseInternalAlarmNotification",&mUseInternalAlarmNotification,false); 270 addItemBool("UseInternalAlarmNotification",&mUseInternalAlarmNotification,false);
271#endif 271#endif
272 addItemInt("Day Begins",&mDayBegins,7); 272 addItemInt("Day Begins",&mDayBegins,7);
273 addItemInt("Working Hours Start",&mWorkingHoursStart,8); 273 addItemInt("Working Hours Start",&mWorkingHoursStart,8);
274 addItemInt("Working Hours End",&mWorkingHoursEnd,17); 274 addItemInt("Working Hours End",&mWorkingHoursEnd,17);
275 addItemBool("Exclude Holidays",&mExcludeHolidays,true); 275 addItemBool("Exclude Holidays",&mExcludeHolidays,true);
276 addItemBool("Exclude Saturdays",&mExcludeSaturdays,true); 276 addItemBool("Exclude Saturdays",&mExcludeSaturdays,true);
277 277
278 addItemBool("Month View Uses Category Color",&mMonthViewUsesCategoryColor,false); 278 addItemBool("Month View Uses Category Color",&mMonthViewUsesCategoryColor,false);
279 addItemBool("Full View Month",&mFullViewMonth,true); 279 addItemBool("Full View Month",&mFullViewMonth,true);
280 addItemBool("Full View Todo",&mFullViewTodo,true); 280 addItemBool("Full View Todo",&mFullViewTodo,true);
281 addItemBool("Quick Todo",&mEnableQuickTodo,false); 281 addItemBool("Quick Todo",&mEnableQuickTodo,false);
282 282
283 addItemInt("Next X Days",&mNextXDays,3); 283 addItemInt("Next X Days",&mNextXDays,3);
284 284
285 KPrefs::setCurrentGroup("Printer"); 285 KPrefs::setCurrentGroup("Printer");
286 286
287 KPrefs::setCurrentGroup("Layout"); 287 KPrefs::setCurrentGroup("Layout");
288 288
289 addItemBool("CompactDialogs",&mCompactDialogs,false); 289 addItemBool("CompactDialogs",&mCompactDialogs,false);
290 addItemBool("VerticalScreen",&mVerticalScreen,true); 290 addItemBool("VerticalScreen",&mVerticalScreen,true);
291 291
292 KPrefs::setCurrentGroup("KOrganizer Plugins"); 292 KPrefs::setCurrentGroup("KOrganizer Plugins");
293 293
294 addItemStringList("SelectedPlugins",&mSelectedPlugins,"holidays"); 294 addItemStringList("SelectedPlugins",&mSelectedPlugins,"holidays");
295 295
296 KPrefs::setCurrentGroup("Group Scheduling"); 296 KPrefs::setCurrentGroup("Group Scheduling");
297 297
298 addItemInt("IMIPScheduler",&mIMIPScheduler,IMIPKMail); 298 addItemInt("IMIPScheduler",&mIMIPScheduler,IMIPKMail);
299 addItemInt("IMIPSend",&mIMIPSend,IMIPdirectsend); 299 addItemInt("IMIPSend",&mIMIPSend,IMIPdirectsend);
300 addItemStringList("AdditionalMails",&mAdditionalMails,""); 300 addItemStringList("AdditionalMails",&mAdditionalMails,"");
301 addItemInt("IMIP auto refresh",&mIMIPAutoRefresh,neverAuto); 301 addItemInt("IMIP auto refresh",&mIMIPAutoRefresh,neverAuto);
302 addItemInt("IMIP auto insert request",&mIMIPAutoInsertRequest,neverAuto); 302 addItemInt("IMIP auto insert request",&mIMIPAutoInsertRequest,neverAuto);
303 addItemInt("IMIP auto insert reply",&mIMIPAutoInsertReply,neverAuto); 303 addItemInt("IMIP auto insert reply",&mIMIPAutoInsertReply,neverAuto);
304 addItemInt("IMIP auto FreeBusy",&mIMIPAutoFreeBusy,neverAuto); 304 addItemInt("IMIP auto FreeBusy",&mIMIPAutoFreeBusy,neverAuto);
305 addItemInt("IMIP auto save FreeBusy",&mIMIPAutoFreeBusyReply,neverAuto); 305 addItemInt("IMIP auto save FreeBusy",&mIMIPAutoFreeBusyReply,neverAuto);
306 306
307 KPrefs::setCurrentGroup( "Editors" ); 307 KPrefs::setCurrentGroup( "Editors" );
308 308
309 addItemStringList( "EventTemplates", &mEventTemplates ); 309 addItemStringList( "EventTemplates", &mEventTemplates );
310 addItemStringList( "TodoTemplates", &mTodoTemplates ); 310 addItemStringList( "TodoTemplates", &mTodoTemplates );
311 311
312 addItemInt("DestinationPolicy",&mDestination,standardDestination); 312 addItemInt("DestinationPolicy",&mDestination,standardDestination);
313 313
314 KPrefs::setCurrentGroup( "ViewOptions" ); 314 KPrefs::setCurrentGroup( "ViewOptions" );
315 addItemBool("EVshowDetails",&mEVshowDetails,true); 315 addItemBool("EVshowDetails",&mEVshowDetails,true);
316 addItemBool("EVshowCreated",&mEVshowCreated,true); 316 addItemBool("EVshowCreated",&mEVshowCreated,true);
317 addItemBool("EVshowChanged",&mEVshowChanged,true); 317 addItemBool("EVshowChanged",&mEVshowChanged,true);
318 addItemBool("WTshowDetails",&mWTshowDetails,false); 318 addItemBool("WTshowDetails",&mWTshowDetails,false);
319 addItemBool("WTshowCreated",&mWTshowCreated,false); 319 addItemBool("WTshowCreated",&mWTshowCreated,false);
320 addItemBool("WTshowChanged",&mWTshowChanged,false); 320 addItemBool("WTshowChanged",&mWTshowChanged,false);
321 mCalendars.setAutoDelete( true ); 321 mCalendars.setAutoDelete( true );
322} 322}
323 323
324 324
325KOPrefs::~KOPrefs() 325KOPrefs::~KOPrefs()
326{ 326{
327 if (mInstance == this) 327 if (mInstance == this)
328 mInstance = insd.setObject(0); 328 mInstance = insd.setObject(0);
329 mCalendars.setAutoDelete( true ); 329 mCalendars.setAutoDelete( true );
330 mCalendars.clear(); 330 mCalendars.clear();
331 //qDebug("KOPrefs::~KOPrefs() "); 331 //qDebug("KOPrefs::~KOPrefs() ");
332} 332}
333 333
334 334
335KOPrefs *KOPrefs::instance() 335KOPrefs *KOPrefs::instance()
336{ 336{
337 if (!mInstance) { 337 if (!mInstance) {
338 mInstance = insd.setObject(new KOPrefs()); 338 mInstance = insd.setObject(new KOPrefs());
339 mInstance->readConfig(); 339 mInstance->readConfig();
340 } 340 }
341 341
342 return mInstance; 342 return mInstance;
343} 343}
344 344
345void KOPrefs::usrSetDefaults() 345void KOPrefs::usrSetDefaults()
346{ 346{
347 347
348} 348}
349 349
350void KOPrefs::fillMailDefaults() 350void KOPrefs::fillMailDefaults()
351{ 351{
352 if (mName.isEmpty()) mName = i18n("Anonymous"); 352 if (mName.isEmpty()) mName = i18n("Anonymous");
353 if (mEmail.isEmpty()) mEmail = i18n("nobody@nowhere"); 353 if (mEmail.isEmpty()) mEmail = i18n("nobody@nowhere");
354} 354}
355 355
356void KOPrefs::setTimeZoneIdDefault() 356void KOPrefs::setTimeZoneIdDefault()
357{ 357{
358 ; 358 ;
359} 359}
360 360
361void KOPrefs::setAllDefaults() 361void KOPrefs::setAllDefaults()
362{ 362{
363 setCategoryDefaults(); 363 setCategoryDefaults();
364 mEventSummaryUser = getDefaultList() ; 364 mEventSummaryUser = getDefaultList() ;
365 mTodoSummaryUser = getDefaultList() ; 365 mTodoSummaryUser = getDefaultList() ;
366 mLocationDefaults = getLocationDefaultList(); 366 mLocationDefaults = getLocationDefaultList();
367} 367}
368 368
369void KOPrefs::setCategoryDefaults() 369void KOPrefs::setCategoryDefaults()
370{ 370{
371 mCustomCategories.clear(); 371 mCustomCategories.clear();
372 mCustomCategories = getDefaultList(); 372 mCustomCategories = getDefaultList();
373 373
374 QStringList::Iterator it; 374 QStringList::Iterator it;
375 for (it = mCustomCategories.begin();it != mCustomCategories.end();++it ) { 375 for (it = mCustomCategories.begin();it != mCustomCategories.end();++it ) {
376 setCategoryColor(*it,mDefaultCategoryColor); 376 setCategoryColor(*it,mDefaultCategoryColor);
377 } 377 }
378} 378}
379QStringList KOPrefs::getLocationDefaultList() 379QStringList KOPrefs::getLocationDefaultList()
380{ 380{
381 QStringList retval ; 381 QStringList retval ;
382 retval << i18n("Home") << i18n("Office") << i18n("Library") << i18n("School") << i18n("Doctor") << i18n("Beach") 382 retval << i18n("Home") << i18n("Office") << i18n("Library") << i18n("School") << i18n("Doctor") << i18n("Beach")
383 << i18n("University") << i18n("Restaurant") << i18n("Bar") << i18n("Conference room") 383 << i18n("University") << i18n("Restaurant") << i18n("Bar") << i18n("Conference room")
384 << i18n("Cinema") << i18n("Lake") << i18n("Kindergarten") 384 << i18n("Cinema") << i18n("Lake") << i18n("Kindergarten")
385 << i18n("Germany") << i18n("Sweden") << i18n("Forest") << i18n("Desert") << i18n("Kitchen") ; 385 << i18n("Germany") << i18n("Sweden") << i18n("Forest") << i18n("Desert") << i18n("Kitchen") ;
386 // << i18n("") << i18n("") << i18n("") << i18n("") << i18n("") << i18n("") << i18n("") << i18n("") 386 // << i18n("") << i18n("") << i18n("") << i18n("") << i18n("") << i18n("") << i18n("") << i18n("")
387 387
388 retval.sort(); 388 retval.sort();
389 return retval; 389 return retval;
390} 390}
391QStringList KOPrefs::getDefaultList() 391QStringList KOPrefs::getDefaultList()
392{ 392{
393 QStringList retval ; 393 QStringList retval ;
394 retval << i18n("Anniversary") << i18n("Appointment") << i18n("Birthday") << i18n("Business") << i18n("Customer") 394 retval << i18n("Anniversary") << i18n("Appointment") << i18n("Birthday") << i18n("Business") << i18n("Customer")
395 << i18n("Break") 395 << i18n("Break")
396 << i18n("Family") << i18n("Favorites") << i18n("Fishing") << i18n("Gifts") 396 << i18n("Family") << i18n("Favorites") << i18n("Fishing") << i18n("Gifts")
397 << i18n("Holiday") << i18n("Holiday Cards")<< i18n("Hot Contacts") 397 << i18n("Holiday") << i18n("Holiday Cards")<< i18n("Hot Contacts")
398 << i18n("Meeting") << i18n("Miscellaneous") << i18n("Partner") << i18n("Personal") 398 << i18n("Meeting") << i18n("Miscellaneous") << i18n("Partner") << i18n("Personal")
399 << i18n("PHB") << i18n("Phone Calls") << i18n("Shopping") 399 << i18n("PHB") << i18n("Phone Calls") << i18n("Shopping")
400 << i18n("Sports") << i18n("Talk") << i18n("Travel") << i18n("TV") 400 << i18n("Sports") << i18n("Talk") << i18n("Travel") << i18n("TV")
401 << i18n("Vacation") ; 401 << i18n("Vacation") ;
402 retval.sort(); 402 retval.sort();
403 //qDebug("cat %s ", retval.join("-").latin1()); 403 //qDebug("cat %s ", retval.join("-").latin1());
404 return retval; 404 return retval;
405} 405}
406// << i18n("Business Travel") << i18n("Education") << i18n("Hiking") << i18n("Hunting") << i18n("Recurring") << i18n("Personal Travel") << i18n("Speach") << i18n("Festival") << i18n("Competition")<< i18n("Party")<< i18n("Projects")<< i18n("Kids") << i18n("Special Occasion")<< i18n("Breakfast")<< i18n("Dinner") << i18n("Lunch")<< i18n("University")<< i18n("School")<< i18n("Flight")<< i18n("Key Customer") << i18n("VIP") << i18n("SyncEvent") << i18n("Cinema") 406// << i18n("Business Travel") << i18n("Education") << i18n("Hiking") << i18n("Hunting") << i18n("Recurring") << i18n("Personal Travel") << i18n("Speach") << i18n("Festival") << i18n("Competition")<< i18n("Party")<< i18n("Projects")<< i18n("Kids") << i18n("Special Occasion")<< i18n("Breakfast")<< i18n("Dinner") << i18n("Lunch")<< i18n("University")<< i18n("School")<< i18n("Flight")<< i18n("Key Customer") << i18n("VIP") << i18n("SyncEvent") << i18n("Cinema")
407void KOPrefs::usrReadConfig() 407void KOPrefs::usrReadConfig()
408{ 408{
409 config()->setGroup("General"); 409 config()->setGroup("General");
410 410
411 //qDebug("KOPrefs::usrReadConfig() "); 411 //qDebug("KOPrefs::usrReadConfig() ");
412 mCustomCategories = config()->readListEntry("Custom Categories"); 412 mCustomCategories = config()->readListEntry("Custom Categories");
413 mOldLoadedLanguage = mOldLanguage ; 413 mOldLoadedLanguage = mOldLanguage ;
414 mOldLanguage = KPimGlobalPrefs::instance()->mPreferredLanguage; 414 mOldLanguage = KPimGlobalPrefs::instance()->mPreferredLanguage;
415 if (mLocationDefaults.isEmpty()) { 415 if (mLocationDefaults.isEmpty()) {
416 mLocationDefaults = getLocationDefaultList(); 416 mLocationDefaults = getLocationDefaultList();
417 } 417 }
418 418
419 if (mEventSummaryUser.isEmpty()) { 419 if (mEventSummaryUser.isEmpty()) {
420 mEventSummaryUser = getDefaultList() ; 420 mEventSummaryUser = getDefaultList() ;
421 } 421 }
422 if (mTodoSummaryUser.isEmpty()) { 422 if (mTodoSummaryUser.isEmpty()) {
423 mTodoSummaryUser = getDefaultList() ; 423 mTodoSummaryUser = getDefaultList() ;
424 } 424 }
425 425
426 if (mCustomCategories.isEmpty()) setCategoryDefaults(); 426 if (mCustomCategories.isEmpty()) setCategoryDefaults();
427 427
428 config()->setGroup("Personal Settings"); 428 config()->setGroup("Personal Settings");
429 mName = config()->readEntry("user_name",""); 429 mName = config()->readEntry("user_name","");
430 mEmail = config()->readEntry("user_email",""); 430 mEmail = config()->readEntry("user_email","");
431 fillMailDefaults(); 431 fillMailDefaults();
432 432
433 config()->setGroup("Category Colors"); 433 config()->setGroup("Category Colors");
434 QStringList::Iterator it; 434 QStringList::Iterator it;
435 for (it = mCustomCategories.begin();it != mCustomCategories.end();++it ) { 435 for (it = mCustomCategories.begin();it != mCustomCategories.end();++it ) {
436 setCategoryColor(*it,config()->readColorEntry(*it,&mDefaultCategoryColor)); 436 setCategoryColor(*it,config()->readColorEntry(*it,&mDefaultCategoryColor));
437 437
438 } 438 }
439 KConfig fc (locateLocal("config","kopicalendarrc")); 439 KConfig fc (locateLocal("config","kopicalendarrc"));
440 fc.setGroup("CC"); 440 fc.setGroup("CC");
441 int numCals = fc.readNumEntry("NumberCalendars",0 ); 441 int numCals = fc.readNumEntry("NumberCalendars",0 );
442 mNextAvailableCalendar = 1; 442 mNextAvailableCalendar = 1;
443 if ( numCals == 0 ) { 443 if ( numCals == 0 ) {
444 KopiCalendarFile *kkf = getNewCalendar(); 444 KopiCalendarFile *kkf = getNewCalendar();
445 kkf->isStandard = true; 445 kkf->isStandard = true;
446 kkf->mName = i18n("Standard"); 446 kkf->mName = i18n("Standard");
447 kkf->mFileName = locateLocal( "data", "korganizer/mycalendar.ics" ); 447 kkf->mFileName = locateLocal( "data", "korganizer/mycalendar.ics" );
448 } 448 }
449 while ( mNextAvailableCalendar <= numCals ) { 449 while ( mNextAvailableCalendar <= numCals ) {
450 //qDebug("Read cal #%d ", mNextAvailableCalendar ); 450 //qDebug("Read cal #%d ", mNextAvailableCalendar );
451 QString prefix = "Cal_" +QString::number( mNextAvailableCalendar ); 451 QString prefix = "Cal_" +QString::number( mNextAvailableCalendar );
452 KopiCalendarFile *kkf = getNewCalendar(); 452 KopiCalendarFile *kkf = getNewCalendar();
453 kkf->isStandard = fc.readBoolEntry( prefix+"_isStandard", false ); 453 kkf->isStandard = fc.readBoolEntry( prefix+"_isStandard", false );
454 kkf->isEnabled = fc.readBoolEntry( prefix+"_isEnabled", true); 454 kkf->isEnabled = fc.readBoolEntry( prefix+"_isEnabled", true);
455 kkf->isAlarmEnabled = fc.readBoolEntry( prefix+"_isAlarmEnabled", true); 455 kkf->isAlarmEnabled = fc.readBoolEntry( prefix+"_isAlarmEnabled", true);
456 kkf->isReadOnly = fc.readBoolEntry( prefix+"_isReadOnly", false); 456 kkf->isReadOnly = fc.readBoolEntry( prefix+"_isReadOnly", false);
457 kkf->mName = fc.readEntry( prefix+"_Name", "Calendar"); 457 kkf->mName = fc.readEntry( prefix+"_Name", "Calendar");
458 kkf->mFileName = fc.readEntry( prefix+"_FileName", kkf->mFileName); 458 kkf->mFileName = fc.readEntry( prefix+"_FileName", kkf->mFileName);
459 kkf->mDefaultColor = fc.readColorEntry( prefix+"_Color",&mEventColor); 459 kkf->mDefaultColor = fc.readColorEntry( prefix+"_Color",&mEventColor);
460 if ( kkf->mCalNumber == 1 ) { 460 if ( kkf->mCalNumber == 1 ) {
461 kkf->mFileName = locateLocal( "data", "korganizer/mycalendar.ics" ); 461 kkf->mFileName = locateLocal( "data", "korganizer/mycalendar.ics" );
462 } 462 }
463 //qDebug("NAME %s %s", kkf->mName.latin1(), i18n("Birthdays").latin1() ); 463 //qDebug("NAME %s %s", kkf->mName.latin1(), i18n("Birthdays").latin1() );
464 if ( kkf->mName == i18n("Birthdays") ) { 464 if ( kkf->mName == i18n("Birthdays") ) {
465 kkf->mFileName = locateLocal( "data", "korganizer/birthdays.ics" ); 465 kkf->mFileName = locateLocal( "data", "korganizer/birthdays.ics" );
466 } 466 }
467 } 467 }
468 468
469 KPimPrefs::usrReadConfig(); 469 KPimPrefs::usrReadConfig();
470} 470}
471 471
472KopiCalendarFile * KOPrefs::getCalendar( int num ) 472KopiCalendarFile * KOPrefs::getCalendar( int num )
473{ 473{
474 return mDefCalColors[num-1]; 474 return mDefCalColors[num-1];
475} 475}
476 476
477KopiCalendarFile * KOPrefs::getNewCalendar() 477KopiCalendarFile * KOPrefs::getNewCalendar()
478{ 478{
479 KopiCalendarFile * kkf = new KopiCalendarFile(); 479 KopiCalendarFile * kkf = new KopiCalendarFile();
480 kkf->mCalNumber = mNextAvailableCalendar; 480 kkf->mCalNumber = mNextAvailableCalendar;
481 mDefCalColors.resize( mNextAvailableCalendar ); 481 mDefCalColors.resize( mNextAvailableCalendar );
482 mDefCalColors[mNextAvailableCalendar-1] = kkf; 482 mDefCalColors[mNextAvailableCalendar-1] = kkf;
483 ++mNextAvailableCalendar; 483 ++mNextAvailableCalendar;
484 kkf->mDefaultColor = mEventColor; 484 kkf->mDefaultColor = mEventColor;
485 kkf->mName = i18n("New Calendar"); 485 kkf->mName = i18n("New Calendar");
486 mCalendars.append( kkf ); 486 mCalendars.append( kkf );
487 return kkf; 487 return kkf;
488} 488}
diff --git a/korganizer/koviewmanager.cpp b/korganizer/koviewmanager.cpp
index bd191d8..792a7b8 100644
--- a/korganizer/koviewmanager.cpp
+++ b/korganizer/koviewmanager.cpp
@@ -202,512 +202,514 @@ void KOViewManager::writeSettings(KConfig *config)
202void KOViewManager::showNextView() 202void KOViewManager::showNextView()
203{ 203{
204 static int selecteddatescount = 0; 204 static int selecteddatescount = 0;
205 static QDate selecteddate = QDate ( 2000, 1, 1 ); 205 static QDate selecteddate = QDate ( 2000, 1, 1 );
206 static QDate baseCycleDate = QDate ( 2000, 1, 1 ); 206 static QDate baseCycleDate = QDate ( 2000, 1, 1 );
207 int newCount = mMainView->dateNavigator()->selectedDates().count(); 207 int newCount = mMainView->dateNavigator()->selectedDates().count();
208 if ( selecteddatescount != newCount && flagResetViewChangeDate == 0 ) { 208 if ( selecteddatescount != newCount && flagResetViewChangeDate == 0 ) {
209 flagResetViewChangeDate = 1; 209 flagResetViewChangeDate = 1;
210 } 210 }
211 if ( selecteddate != mMainView->dateNavigator()->selectedDates().first() ) 211 if ( selecteddate != mMainView->dateNavigator()->selectedDates().first() )
212 flagResetViewChangeDate = 1; 212 flagResetViewChangeDate = 1;
213 if ( flagResetViewChangeDate > 0 ) { 213 if ( flagResetViewChangeDate > 0 ) {
214 baseCycleDate = mMainView->dateNavigator()->selectedDates().first(); 214 baseCycleDate = mMainView->dateNavigator()->selectedDates().first();
215 //qDebug("newCycle "); 215 //qDebug("newCycle ");
216 } 216 }
217 if (mCurrentView == mWhatsNextView) goto NEXT_X; 217 if (mCurrentView == mWhatsNextView) goto NEXT_X;
218 if (mCurrentView == mAgendaView && mFlagShowNextxDays) goto JOURNAL; 218 if (mCurrentView == mAgendaView && mFlagShowNextxDays) goto JOURNAL;
219 if (mCurrentView == mJournalView ) goto DAY_1; 219 if (mCurrentView == mJournalView ) goto DAY_1;
220 if (mCurrentView == mAgendaView && mCurrentAgendaView == 1 ) goto DAY_5; 220 if (mCurrentView == mAgendaView && mCurrentAgendaView == 1 ) goto DAY_5;
221 if (mCurrentView == mAgendaView && mCurrentAgendaView == 5 ) goto DAY_7; 221 if (mCurrentView == mAgendaView && mCurrentAgendaView == 5 ) goto DAY_7;
222 if (mCurrentView == mAgendaView ) goto DAY_6; 222 if (mCurrentView == mAgendaView ) goto DAY_6;
223 if (mCurrentView == mMonthView && KOPrefs::instance()->mMonthViewWeek) goto MONTH; 223 if (mCurrentView == mMonthView && KOPrefs::instance()->mMonthViewWeek) goto MONTH;
224 if (mCurrentView == mMonthView ) goto LIST; 224 if (mCurrentView == mMonthView ) goto LIST;
225 if (mCurrentView == mListView ) goto TODO; 225 if (mCurrentView == mListView ) goto TODO;
226 // if (mCurrentView == mTodoView ) goto NEXT; 226 // if (mCurrentView == mTodoView ) goto NEXT;
227 NEXT: 227 NEXT:
228 if ( KOPrefs::instance()->mShowIconNext ) { showWhatsNextView();goto ENTE ;} 228 if ( KOPrefs::instance()->mShowIconNext ) { showWhatsNextView();goto ENTE ;}
229 NEXT_X: 229 NEXT_X:
230 if ( KOPrefs::instance()->mShowIconNextDays ) { 230 if ( KOPrefs::instance()->mShowIconNextDays ) {
231 showNextXView(); 231 showNextXView();
232 goto ENTE ; 232 goto ENTE ;
233 } 233 }
234 JOURNAL: 234 JOURNAL:
235 if ( KOPrefs::instance()->mShowIconJournal ) { 235 if ( KOPrefs::instance()->mShowIconJournal ) {
236 resetDateSilent( baseCycleDate , 1 ); 236 resetDateSilent( baseCycleDate , 1 );
237 showJournalView() ;goto ENTE ;} 237 showJournalView() ;goto ENTE ;}
238 DAY_1: 238 DAY_1:
239 if ( KOPrefs::instance()->mShowIconDay1 ) { 239 if ( KOPrefs::instance()->mShowIconDay1 ) {
240 resetDateSilent( baseCycleDate , 2 ); 240 resetDateSilent( baseCycleDate , 2 );
241 showDayView() ;goto ENTE ;} 241 showDayView() ;goto ENTE ;}
242 DAY_5: 242 DAY_5:
243 if ( KOPrefs::instance()->mShowIconDay5 ) { 243 if ( KOPrefs::instance()->mShowIconDay5 ) {
244 resetDateSilent( baseCycleDate , 2 ); 244 resetDateSilent( baseCycleDate , 2 );
245 showWorkWeekView() ;goto ENTE ;} 245 showWorkWeekView() ;goto ENTE ;}
246 DAY_7: 246 DAY_7:
247 if ( KOPrefs::instance()->mShowIconDay7 ) { 247 if ( KOPrefs::instance()->mShowIconDay7 ) {
248 resetDateSilent( baseCycleDate , 2 ); 248 resetDateSilent( baseCycleDate , 2 );
249 showWeekView();goto ENTE ;} 249 showWeekView();goto ENTE ;}
250 DAY_6: 250 DAY_6:
251 if ( KOPrefs::instance()->mShowIconDay6 ) { 251 if ( KOPrefs::instance()->mShowIconDay6 ) {
252 resetDateSilent( baseCycleDate , 2 ); 252 resetDateSilent( baseCycleDate , 2 );
253 showMonthViewWeek();goto ENTE ;} 253 showMonthViewWeek();goto ENTE ;}
254 MONTH: 254 MONTH:
255 if ( KOPrefs::instance()->mShowIconMonth ) { 255 if ( KOPrefs::instance()->mShowIconMonth ) {
256 resetDateSilent( baseCycleDate , 2 ); 256 resetDateSilent( baseCycleDate , 2 );
257 showMonthView();goto ENTE ;} 257 showMonthView();goto ENTE ;}
258 LIST: 258 LIST:
259 if ( KOPrefs::instance()->mShowIconList ) { 259 if ( KOPrefs::instance()->mShowIconList ) {
260 resetDateSilent( baseCycleDate , 2 ); 260 resetDateSilent( baseCycleDate , 2 );
261 showListView() ;goto ENTE ;} 261 showListView() ;goto ENTE ;}
262 TODO: 262 TODO:
263 if ( KOPrefs::instance()->mShowIconTodoview ) { showTodoView() ;goto ENTE ;} 263 if ( KOPrefs::instance()->mShowIconTodoview ) { showTodoView() ;goto ENTE ;}
264 if ( KOPrefs::instance()->mShowIconNext ) { goto NEXT ;} 264 if ( KOPrefs::instance()->mShowIconNext ) { goto NEXT ;}
265 if ( KOPrefs::instance()->mShowIconNextDays ) { goto NEXT_X ;} 265 if ( KOPrefs::instance()->mShowIconNextDays ) { goto NEXT_X ;}
266 if ( KOPrefs::instance()->mShowIconJournal ) { goto JOURNAL;} 266 if ( KOPrefs::instance()->mShowIconJournal ) { goto JOURNAL;}
267 if ( KOPrefs::instance()->mShowIconDay1 ) { goto DAY_1 ;} 267 if ( KOPrefs::instance()->mShowIconDay1 ) { goto DAY_1 ;}
268 if ( KOPrefs::instance()->mShowIconDay5 ) { goto DAY_5 ;} 268 if ( KOPrefs::instance()->mShowIconDay5 ) { goto DAY_5 ;}
269 if ( KOPrefs::instance()->mShowIconDay7 ) { goto DAY_7 ;} 269 if ( KOPrefs::instance()->mShowIconDay7 ) { goto DAY_7 ;}
270 if ( KOPrefs::instance()->mShowIconDay6 ) { goto DAY_6 ;} 270 if ( KOPrefs::instance()->mShowIconDay6 ) { goto DAY_6 ;}
271 if ( KOPrefs::instance()->mShowIconMonth ) {goto MONTH ;} 271 if ( KOPrefs::instance()->mShowIconMonth ) {goto MONTH ;}
272 if ( KOPrefs::instance()->mShowIconList ) { goto LIST ;} 272 if ( KOPrefs::instance()->mShowIconList ) { goto LIST ;}
273 //if ( KOPrefs::instance()->mShowIconTodoview ) { showTodoView() ;goto ENTE ;} 273 //if ( KOPrefs::instance()->mShowIconTodoview ) { showTodoView() ;goto ENTE ;}
274 ENTE: 274 ENTE:
275 flagResetViewChangeDate = 0; 275 flagResetViewChangeDate = 0;
276 selecteddatescount = mMainView->dateNavigator()->selectedDates().count(); 276 selecteddatescount = mMainView->dateNavigator()->selectedDates().count();
277 selecteddate = mMainView->dateNavigator()->selectedDates().first(); 277 selecteddate = mMainView->dateNavigator()->selectedDates().first();
278 278
279} 279}
280void KOViewManager::resetDateSilent( QDate date , int days ) 280void KOViewManager::resetDateSilent( QDate date , int days )
281{ 281{
282 mMainView->dateNavigator()->blockSignals( true ); 282 mMainView->dateNavigator()->blockSignals( true );
283 mMainView->dateNavigator()->selectDates( date , days ); 283 mMainView->dateNavigator()->selectDates( date , days );
284 mMainView->dateNavigator()->blockSignals( false ); 284 mMainView->dateNavigator()->blockSignals( false );
285} 285}
286void KOViewManager::setDefaultCalendar(int) 286void KOViewManager::setDefaultCalendar(int)
287{ 287{
288 if ( mJournalView && mCurrentView == mJournalView ) 288 if ( mJournalView && mCurrentView == mJournalView )
289 mJournalView->updateView(); 289 mJournalView->updateView();
290} 290}
291 291
292void KOViewManager::showView(KOrg::BaseView *view, bool fullScreen ) 292void KOViewManager::showView(KOrg::BaseView *view, bool fullScreen )
293{ 293{
294 if ( flagResetViewChangeDate < 10 ) 294 if ( flagResetViewChangeDate < 10 )
295 ++flagResetViewChangeDate; 295 ++flagResetViewChangeDate;
296 //mFlagShowNextxDays = false; 296 //mFlagShowNextxDays = false;
297 //if(view == mCurrentView) return; 297 //if(view == mCurrentView) return;
298 if ( view == 0 ) { 298 if ( view == 0 ) {
299 view = mCurrentView; 299 view = mCurrentView;
300 if ( view == 0 ) 300 if ( view == 0 )
301 return; 301 return;
302 } 302 }
303 bool callupdate = !(view == mCurrentView); 303 bool callupdate = !(view == mCurrentView);
304 bool full = fullScreen; 304 bool full = fullScreen;
305 if(view == mCurrentView && view != mWhatsNextView ) { 305 if(view == mCurrentView && view != mWhatsNextView ) {
306 if ( mCurrentAgendaView < 0 ) 306 if ( mCurrentAgendaView < 0 )
307 return; 307 return;
308 if ( view != mMonthView ) 308 if ( view != mMonthView )
309 full = mMainView->leftFrame()->isVisible(); 309 full = mMainView->leftFrame()->isVisible();
310 } else { 310 } else {
311 if ( view == mMonthView && mMonthView) 311 if ( view == mMonthView && mMonthView)
312 ;//mMonthView->skipResize = true ; 312 ;//mMonthView->skipResize = true ;
313 mCurrentView = view; 313 mCurrentView = view;
314 // bool full = fullScreen; 314 // bool full = fullScreen;
315 bool isFull = !mMainView->leftFrame()->isVisible(); 315 bool isFull = !mMainView->leftFrame()->isVisible();
316 if ( isFull && KOPrefs::instance()->mViewChangeHoldFullscreen ) 316 if ( isFull && KOPrefs::instance()->mViewChangeHoldFullscreen )
317 full = true; 317 full = true;
318 if ( !isFull && KOPrefs::instance()->mViewChangeHoldNonFullscreen ) 318 if ( !isFull && KOPrefs::instance()->mViewChangeHoldNonFullscreen )
319 full = false; 319 full = false;
320 } 320 }
321 if ( mAgendaView ) mAgendaView->deleteSelectedDateTime(); 321 if ( mAgendaView ) mAgendaView->deleteSelectedDateTime();
322 //raiseCurrentView( full ); 322 //raiseCurrentView( full );
323 mMainView->processIncidenceSelection( 0 ); 323 mMainView->processIncidenceSelection( 0 );
324 //mMainView->updateView(); 324 //mMainView->updateView();
325 raiseCurrentView( full, callupdate ); 325 raiseCurrentView( full, callupdate );
326 mMainView->adaptNavigationUnits(); 326 mMainView->adaptNavigationUnits();
327 mMainView->updateUnmanagedViews(); 327 mMainView->updateUnmanagedViews();
328} 328}
329 329
330void KOViewManager::raiseCurrentView( bool fullScreen, bool callUpdateView ) 330void KOViewManager::raiseCurrentView( bool fullScreen, bool callUpdateView )
331{ 331{
332 mCurrentAgendaView = 0; 332 mCurrentAgendaView = 0;
333 if ( fullScreen ) { 333 if ( fullScreen ) {
334 mMainView->leftFrame()->hide(); 334 mMainView->leftFrame()->hide();
335 } else { 335 } else {
336 mMainView->leftFrame()->show(); 336 mMainView->leftFrame()->show();
337 } 337 }
338 //if ( mCurrentView == mMonthView ) qApp->processEvents(); 338 //if ( mCurrentView == mMonthView ) qApp->processEvents();
339 emit signalFullScreen( !fullScreen ); 339 emit signalFullScreen( !fullScreen );
340 if ( callUpdateView ) 340 if ( callUpdateView )
341 mMainView->updateView(); 341 mMainView->updateView();
342 342
343 if ( globalFlagBlockAgenda == 5 ) { 343 if ( globalFlagBlockAgenda == 5 ) {
344 globalFlagBlockAgenda = 4; 344 globalFlagBlockAgenda = 4;
345 globalFlagBlockAgendaItemPaint = 1; 345 globalFlagBlockAgendaItemPaint = 1;
346 } 346 }
347 mMainView->viewStack()->raiseWidget(mCurrentView); 347 mMainView->viewStack()->raiseWidget(mCurrentView);
348 if ( globalFlagBlockAgenda == 4 ) { 348 if ( globalFlagBlockAgenda == 4 ) {
349 if ( mCurrentView == mAgendaView ) { 349 if ( mCurrentView == mAgendaView ) {
350 //globalFlagBlockAgenda =1 ; 350 //globalFlagBlockAgenda =1 ;
351 if ( KOPrefs::instance()->mSetTimeToDayStartAt ) 351 if ( KOPrefs::instance()->mSetTimeToDayStartAt )
352 mAgendaView->setStartHour( KOPrefs::instance()->mDayBegins ); 352 mAgendaView->setStartHour( KOPrefs::instance()->mDayBegins );
353 else if ( KOPrefs::instance()->mCenterOnCurrentTime ) 353 else if ( KOPrefs::instance()->mCenterOnCurrentTime )
354 mAgendaView->setStartHour( QTime::currentTime ().hour() ); 354 mAgendaView->setStartHour( QTime::currentTime ().hour() );
355 qApp->processEvents(); 355 qApp->processEvents();
356 //qDebug("qApp->processEvents() "); 356 //qDebug("qApp->processEvents() ");
357 globalFlagBlockAgenda = 0; 357 globalFlagBlockAgenda = 0;
358 mAgendaView->repaintAgenda(); 358 mAgendaView->repaintAgenda();
359 359
360 } 360 }
361 globalFlagBlockAgenda = 0; 361 globalFlagBlockAgenda = 0;
362 } 362 }
363 emit signalAgendaView( mCurrentView == mAgendaView ); 363 emit signalAgendaView( mCurrentView == mAgendaView );
364 //qDebug("raiseCurrentView ende "); 364 //qDebug("raiseCurrentView ende ");
365 365
366} 366}
367 367
368void KOViewManager::clearAllViews() 368void KOViewManager::clearAllViews()
369{ 369{
370 370
371 if ( mTodoView ) mTodoView->clearList(); 371 if ( mTodoView ) mTodoView->clearList();
372 if ( mListView ) mListView->clearList(); 372 if ( mListView ) mListView->clearList();
373 373
374 if ( mAgendaView ) mAgendaView->clearList(); 374 if ( mAgendaView ) mAgendaView->clearList();
375 if ( mMonthView ) mMonthView->clearList(); 375 if ( mMonthView ) mMonthView->clearList();
376 if ( mWhatsNextView ) mWhatsNextView->clearList(); 376 if ( mWhatsNextView ) mWhatsNextView->clearList();
377 if ( mJournalView ) mJournalView->clearList(); 377 if ( mJournalView ) mJournalView->clearList();
378 378
379} 379}
380void KOViewManager::updateView() 380void KOViewManager::updateView()
381{ 381{
382 // qDebug("KOViewManager::updateView() "); 382 // qDebug("KOViewManager::updateView() ");
383 // if we are updating mTodoView, we get endless recursion 383 // if we are updating mTodoView, we get endless recursion
384 if ( mTodoView == mCurrentView ) 384 if ( mTodoView == mCurrentView )
385 return; 385 return;
386 if ( mCurrentView ) mCurrentView->updateView(); 386 if ( mCurrentView ) mCurrentView->updateView();
387 387
388} 388}
389 389
390void KOViewManager::updateView(const QDate &start, const QDate &end) 390void KOViewManager::updateView(const QDate &start, const QDate &end)
391{ 391{
392 // kdDebug() << "KOViewManager::updateView()" << endl; 392 // kdDebug() << "KOViewManager::updateView()" << endl;
393 393
394 if (mCurrentView) mCurrentView->showDates(start, end); 394 if (mCurrentView) mCurrentView->showDates(start, end);
395 395
396 if (mTodoView && mTodoView == mCurrentView ) mTodoView->updateView(); 396 if (mTodoView && mTodoView == mCurrentView ) mTodoView->updateView();
397} 397}
398 398
399 399
400void KOViewManager::updateWNview() 400void KOViewManager::updateWNview()
401{ 401{
402 if ( mCurrentView == mWhatsNextView && mWhatsNextView ) 402 if ( mCurrentView == mWhatsNextView && mWhatsNextView )
403 mWhatsNextView->updateView(); 403 mWhatsNextView->updateView();
404 if ( mCurrentView == mMonthView && mMonthView ) 404 if ( mCurrentView == mMonthView && mMonthView )
405 mMonthView->updateView(); 405 mMonthView->updateView();
406 406
407} 407}
408void KOViewManager::showWhatsNextView() 408void KOViewManager::showWhatsNextView()
409{ 409{
410 if (!mWhatsNextView) { 410 if (!mWhatsNextView) {
411 mWhatsNextView = new KOWhatsNextView(mMainView->calendar(),mMainView->viewStack(), 411 mWhatsNextView = new KOWhatsNextView(mMainView->calendar(),mMainView->viewStack(),
412 "KOViewManager::WhatsNextView"); 412 "KOViewManager::WhatsNextView");
413 mWhatsNextView->setEventViewer( mMainView->getEventViewerDialog()); 413 mWhatsNextView->setEventViewer( mMainView->getEventViewerDialog());
414 connect(mMainView, SIGNAL(configChanged()), mWhatsNextView, SLOT(updateConfig())); 414 connect(mMainView, SIGNAL(configChanged()), mWhatsNextView, SLOT(updateConfig()));
415 addView(mWhatsNextView); 415 addView(mWhatsNextView);
416 connect(this, SIGNAL( printWNV() ), 416 connect(this, SIGNAL( printWNV() ),
417 mWhatsNextView, SLOT( printMe() ) ); 417 mWhatsNextView, SLOT( printMe() ) );
418 } 418 }
419 globalFlagBlockAgenda = 1; 419 globalFlagBlockAgenda = 1;
420 KOPrefs::instance()->mCurrentDisplayedView = VIEW_WN_VIEW; 420 KOPrefs::instance()->mCurrentDisplayedView = VIEW_WN_VIEW;
421 showView(mWhatsNextView, true ); 421 showView(mWhatsNextView, true );
422 //mWhatsNextView->updateView(); 422 //mWhatsNextView->updateView();
423 KOPrefs::instance()->mCurrentDisplayedView = VIEW_WN_VIEW; 423 KOPrefs::instance()->mCurrentDisplayedView = VIEW_WN_VIEW;
424} 424}
425 425
426void KOViewManager::slotprintWNV() 426void KOViewManager::slotprintWNV()
427{ 427{
428 if (!mWhatsNextView) 428 if (!mWhatsNextView)
429 showWhatsNextView(); 429 showWhatsNextView();
430 emit printWNV(); 430 emit printWNV();
431 431
432} 432}
433void KOViewManager::showListView() 433void KOViewManager::showListView()
434{ 434{
435 if (!mListView) { 435 if (!mListView) {
436 mListView = new KOListView(mMainView->calendar(), mMainView->viewStack(), "KOViewManager::ListView"); 436 mListView = new KOListView(mMainView->calendar(), mMainView->viewStack(), "KOViewManager::ListView");
437 addView(mListView); 437 addView(mListView);
438 438
439 connect(mListView, SIGNAL(showIncidenceSignal(Incidence *)), 439 connect(mListView, SIGNAL(showIncidenceSignal(Incidence *)),
440 mMainView, SLOT(showIncidence(Incidence *))); 440 mMainView, SLOT(showIncidence(Incidence *)));
441 connect(mListView, SIGNAL(editIncidenceSignal(Incidence *)), 441 connect(mListView, SIGNAL(editIncidenceSignal(Incidence *)),
442 mMainView, SLOT(editIncidence(Incidence *))); 442 mMainView, SLOT(editIncidence(Incidence *)));
443 connect(mListView, SIGNAL(deleteIncidenceSignal(Incidence *)), 443 connect(mListView, SIGNAL(deleteIncidenceSignal(Incidence *)),
444 mMainView, SLOT(deleteIncidence(Incidence *))); 444 mMainView, SLOT(deleteIncidence(Incidence *)));
445 connect( mListView, SIGNAL( incidenceSelected( Incidence * ) ), 445 connect( mListView, SIGNAL( incidenceSelected( Incidence * ) ),
446 mMainView, SLOT( processMainViewSelection( Incidence * ) ) ); 446 mMainView, SLOT( processMainViewSelection( Incidence * ) ) );
447 connect( mListView, SIGNAL( signalNewEvent() ), 447 connect( mListView, SIGNAL( signalNewEvent() ),
448 mMainView, SLOT( newEvent() ) ); 448 mMainView, SLOT( newEvent() ) );
449 connect(mMainView, SIGNAL(configChanged()), mListView, SLOT(updateConfig())); 449 connect(mMainView, SIGNAL(configChanged()), mListView, SLOT(updateConfig()));
450 connect( mListView, SIGNAL( cloneIncidenceSignal( Incidence * ) ), 450 connect( mListView, SIGNAL( cloneIncidenceSignal( Incidence * ) ),
451 mMainView, SLOT ( cloneIncidence( Incidence * ) ) ); 451 mMainView, SLOT ( cloneIncidence( Incidence * ) ) );
452 connect( mListView, SIGNAL( cancelIncidenceSignal( Incidence * ) ), 452 connect( mListView, SIGNAL( cancelIncidenceSignal( Incidence * ) ),
453 mMainView, SLOT ( cancelIncidence( Incidence * ) ) ); 453 mMainView, SLOT ( cancelIncidence( Incidence * ) ) );
454 connect( mListView, SIGNAL( moveIncidenceSignal( Incidence * ) ), 454 connect( mListView, SIGNAL( moveIncidenceSignal( Incidence * ) ),
455 mMainView, SLOT ( moveIncidence( Incidence * ) ) ); 455 mMainView, SLOT ( moveIncidence( Incidence * ) ) );
456 connect( mListView, SIGNAL( beamIncidenceSignal( Incidence * ) ), 456 connect( mListView, SIGNAL( beamIncidenceSignal( Incidence * ) ),
457 mMainView, SLOT ( beamIncidence( Incidence * ) ) ); 457 mMainView, SLOT ( beamIncidence( Incidence * ) ) );
458 connect( mListView, SIGNAL( beamIncidenceList( QPtrList<Incidence> ) ),
459 mMainView, SLOT ( beamIncidenceList( QPtrList<Incidence> ) ) );
458 } 460 }
459 // bool temp = mFlagShowNextxDays; 461 // bool temp = mFlagShowNextxDays;
460 //globalFlagBlockPainting = true; 462 //globalFlagBlockPainting = true;
461 globalFlagBlockAgenda = 1; 463 globalFlagBlockAgenda = 1;
462 if ( KOPrefs::instance()->mListViewMonthTimespan ) { 464 if ( KOPrefs::instance()->mListViewMonthTimespan ) {
463 mMainView->setBlockShowDates( true ); 465 mMainView->setBlockShowDates( true );
464 mMainView->dateNavigator()->selectMonth(); 466 mMainView->dateNavigator()->selectMonth();
465 mMainView->setBlockShowDates( false ); 467 mMainView->setBlockShowDates( false );
466 } 468 }
467 KOPrefs::instance()->mCurrentDisplayedView = VIEW_L_VIEW; 469 KOPrefs::instance()->mCurrentDisplayedView = VIEW_L_VIEW;
468 showView(mListView, KOPrefs::instance()->mFullViewTodo); 470 showView(mListView, KOPrefs::instance()->mFullViewTodo);
469 //mFlagShowNextxDays = temp; 471 //mFlagShowNextxDays = temp;
470 KOPrefs::instance()->mCurrentDisplayedView = VIEW_L_VIEW; 472 KOPrefs::instance()->mCurrentDisplayedView = VIEW_L_VIEW;
471 mMainView->setScrollBarStep( 7 ); 473 mMainView->setScrollBarStep( 7 );
472} 474}
473 475
474void KOViewManager::showAgendaView( bool fullScreen ) 476void KOViewManager::showAgendaView( bool fullScreen )
475{ 477{
476 478
477 mMainView->dialogManager()->hideSearchDialog(); 479 mMainView->dialogManager()->hideSearchDialog();
478 // qDebug("KOViewManager::showAgendaView "); 480 // qDebug("KOViewManager::showAgendaView ");
479 bool full; 481 bool full;
480 full = fullScreen; 482 full = fullScreen;
481 if (!mAgendaView) { 483 if (!mAgendaView) {
482 full = false; 484 full = false;
483 mAgendaView = new KOAgendaView(mMainView->calendar(), mMainView->viewStack(), "KOViewManager::AgendaView"); 485 mAgendaView = new KOAgendaView(mMainView->calendar(), mMainView->viewStack(), "KOViewManager::AgendaView");
484 addView(mAgendaView); 486 addView(mAgendaView);
485#ifndef DESKTOP_VERSION 487#ifndef DESKTOP_VERSION
486 QPEApplication::setStylusOperation( mAgendaView, QPEApplication::RightOnHold ); 488 QPEApplication::setStylusOperation( mAgendaView, QPEApplication::RightOnHold );
487#endif 489#endif
488 connect( mAgendaView, SIGNAL( incidenceChanged(Incidence *, int )), 490 connect( mAgendaView, SIGNAL( incidenceChanged(Incidence *, int )),
489 mMainView, SLOT( changeIncidenceDisplay( Incidence *, int ) )); 491 mMainView, SLOT( changeIncidenceDisplay( Incidence *, int ) ));
490 492
491 // SIGNALS/SLOTS FOR DAY/WEEK VIEW 493 // SIGNALS/SLOTS FOR DAY/WEEK VIEW
492 494
493 connect(mAgendaView,SIGNAL(showDateView( int, QDate )),SLOT(showDateView( int, QDate ))); 495 connect(mAgendaView,SIGNAL(showDateView( int, QDate )),SLOT(showDateView( int, QDate )));
494 496
495 connect(mAgendaView,SIGNAL(newTodoSignal(QDateTime,bool)), 497 connect(mAgendaView,SIGNAL(newTodoSignal(QDateTime,bool)),
496 mMainView, SLOT(newTodoDateTime(QDateTime,bool))); 498 mMainView, SLOT(newTodoDateTime(QDateTime,bool)));
497 connect(mAgendaView,SIGNAL(newEventSignal(QDateTime)), 499 connect(mAgendaView,SIGNAL(newEventSignal(QDateTime)),
498 mMainView, SLOT(newEvent(QDateTime))); 500 mMainView, SLOT(newEvent(QDateTime)));
499 connect(mAgendaView,SIGNAL(newEventSignal(QDateTime,QDateTime)), 501 connect(mAgendaView,SIGNAL(newEventSignal(QDateTime,QDateTime)),
500 mMainView, SLOT(newEvent(QDateTime,QDateTime))); 502 mMainView, SLOT(newEvent(QDateTime,QDateTime)));
501 connect(mAgendaView,SIGNAL(newEventSignal(QDate)), 503 connect(mAgendaView,SIGNAL(newEventSignal(QDate)),
502 mMainView, SLOT(newEvent(QDate))); 504 mMainView, SLOT(newEvent(QDate)));
503 505
504 connect(mAgendaView, SIGNAL(editIncidenceSignal(Incidence *)), 506 connect(mAgendaView, SIGNAL(editIncidenceSignal(Incidence *)),
505 mMainView, SLOT(editIncidence(Incidence *))); 507 mMainView, SLOT(editIncidence(Incidence *)));
506 connect(mAgendaView, SIGNAL(showIncidenceSignal(Incidence *)), 508 connect(mAgendaView, SIGNAL(showIncidenceSignal(Incidence *)),
507 mMainView, SLOT(showIncidence(Incidence *))); 509 mMainView, SLOT(showIncidence(Incidence *)));
508 connect(mAgendaView, SIGNAL(deleteIncidenceSignal(Incidence *)), 510 connect(mAgendaView, SIGNAL(deleteIncidenceSignal(Incidence *)),
509 mMainView, SLOT(deleteIncidence(Incidence *))); 511 mMainView, SLOT(deleteIncidence(Incidence *)));
510 512
511 connect( mAgendaView, SIGNAL( incidenceSelected( Incidence * ) ), 513 connect( mAgendaView, SIGNAL( incidenceSelected( Incidence * ) ),
512 mMainView, SLOT( processMainViewSelection( Incidence * ) ) ); 514 mMainView, SLOT( processMainViewSelection( Incidence * ) ) );
513 515
514 connect(mAgendaView, SIGNAL( toggleExpand() ), 516 connect(mAgendaView, SIGNAL( toggleExpand() ),
515 mMainView, SLOT( toggleExpand() ) ); 517 mMainView, SLOT( toggleExpand() ) );
516 518
517 connect( mAgendaView, SIGNAL( cloneIncidenceSignal(Incidence *) ), 519 connect( mAgendaView, SIGNAL( cloneIncidenceSignal(Incidence *) ),
518 mMainView, SLOT(cloneIncidence(Incidence *) ) ) ; 520 mMainView, SLOT(cloneIncidence(Incidence *) ) ) ;
519 connect( mAgendaView, SIGNAL( cancelIncidenceSignal(Incidence *) ), 521 connect( mAgendaView, SIGNAL( cancelIncidenceSignal(Incidence *) ),
520 mMainView, SLOT(cancelIncidence(Incidence *) ) ) ; 522 mMainView, SLOT(cancelIncidence(Incidence *) ) ) ;
521 connect(mMainView, SIGNAL(configChanged()), mAgendaView, SLOT(updateConfig())); 523 connect(mMainView, SIGNAL(configChanged()), mAgendaView, SLOT(updateConfig()));
522 connect( mMainView, SIGNAL( todoModified( Todo *, int )), mAgendaView, 524 connect( mMainView, SIGNAL( todoModified( Todo *, int )), mAgendaView,
523 SLOT( updateTodo( Todo *, int ) ) ); 525 SLOT( updateTodo( Todo *, int ) ) );
524 connect( mAgendaView,SIGNAL( todoMoved( Todo *, int )), 526 connect( mAgendaView,SIGNAL( todoMoved( Todo *, int )),
525 mMainView, SIGNAL( todoModified( Todo *, int ))); 527 mMainView, SIGNAL( todoModified( Todo *, int )));
526 connect( mAgendaView, SIGNAL( moveIncidenceSignal( Incidence * ) ), 528 connect( mAgendaView, SIGNAL( moveIncidenceSignal( Incidence * ) ),
527 mMainView, SLOT ( moveIncidence( Incidence * ) ) ); 529 mMainView, SLOT ( moveIncidence( Incidence * ) ) );
528 connect( mAgendaView, SIGNAL( beamIncidenceSignal( Incidence * ) ), 530 connect( mAgendaView, SIGNAL( beamIncidenceSignal( Incidence * ) ),
529 mMainView, SLOT ( beamIncidence( Incidence * ) ) ); 531 mMainView, SLOT ( beamIncidence( Incidence * ) ) );
530 connect( mAgendaView, SIGNAL( selectWeekNum( int ) ), 532 connect( mAgendaView, SIGNAL( selectWeekNum( int ) ),
531 mMainView->dateNavigator(), SLOT ( selectWeek( int ) ) ); 533 mMainView->dateNavigator(), SLOT ( selectWeek( int ) ) );
532 mAgendaView->readSettings(); 534 mAgendaView->readSettings();
533 mAgendaView->updateConfig(); 535 mAgendaView->updateConfig();
534 } 536 }
535 537
536 KOPrefs::instance()->mCurrentDisplayedView = VIEW_A_VIEW; 538 KOPrefs::instance()->mCurrentDisplayedView = VIEW_A_VIEW;
537 showView( mAgendaView, full); 539 showView( mAgendaView, full);
538 KOPrefs::instance()->mCurrentDisplayedView = VIEW_A_VIEW; 540 KOPrefs::instance()->mCurrentDisplayedView = VIEW_A_VIEW;
539 mMainView->setScrollBarStep( 1 ); 541 mMainView->setScrollBarStep( 1 );
540} 542}
541 543
542void KOViewManager::showDayView() 544void KOViewManager::showDayView()
543{ 545{
544 mCurrentAgendaView = mMainView->dateNavigator()->selectedDates().count(); 546 mCurrentAgendaView = mMainView->dateNavigator()->selectedDates().count();
545 mFlagShowNextxDays = false; 547 mFlagShowNextxDays = false;
546 globalFlagBlockLabel = 1; 548 globalFlagBlockLabel = 1;
547 globalFlagBlockAgenda = 1; 549 globalFlagBlockAgenda = 1;
548 if ( mCurrentAgendaView != 1 ) 550 if ( mCurrentAgendaView != 1 )
549 mCurrentAgendaView = -1; 551 mCurrentAgendaView = -1;
550 showAgendaView(); 552 showAgendaView();
551 qApp->processEvents(); 553 qApp->processEvents();
552 globalFlagBlockAgenda = 2; 554 globalFlagBlockAgenda = 2;
553 globalFlagBlockLabel = 0; 555 globalFlagBlockLabel = 0;
554 mMainView->dateNavigator()->selectDates( 1 ); 556 mMainView->dateNavigator()->selectDates( 1 );
555 mCurrentAgendaView = 1 ; 557 mCurrentAgendaView = 1 ;
556 mMainView->setScrollBarStep( 1 ); 558 mMainView->setScrollBarStep( 1 );
557 559
558} 560}
559 561
560void KOViewManager::showWorkWeekView() 562void KOViewManager::showWorkWeekView()
561{ 563{
562 mCurrentAgendaView = mMainView->dateNavigator()->selectedDates().count(); 564 mCurrentAgendaView = mMainView->dateNavigator()->selectedDates().count();
563 mFlagShowNextxDays = false; 565 mFlagShowNextxDays = false;
564 globalFlagBlockAgenda = 1; 566 globalFlagBlockAgenda = 1;
565 globalFlagBlockLabel = 1; 567 globalFlagBlockLabel = 1;
566 if ( mCurrentAgendaView != 5 ) 568 if ( mCurrentAgendaView != 5 )
567 mCurrentAgendaView = -1; 569 mCurrentAgendaView = -1;
568 showAgendaView(); 570 showAgendaView();
569 qApp->processEvents(); 571 qApp->processEvents();
570 globalFlagBlockAgenda = 2; 572 globalFlagBlockAgenda = 2;
571 globalFlagBlockLabel = 0; 573 globalFlagBlockLabel = 0;
572 mMainView->dateNavigator()->selectWorkWeek(); 574 mMainView->dateNavigator()->selectWorkWeek();
573 mCurrentAgendaView = 5 ; 575 mCurrentAgendaView = 5 ;
574 mMainView->setScrollBarStep( 1 ); 576 mMainView->setScrollBarStep( 1 );
575 577
576} 578}
577 579
578void KOViewManager::showWeekView() 580void KOViewManager::showWeekView()
579{ 581{
580 582
581 mCurrentAgendaView = mMainView->dateNavigator()->selectedDates().count(); 583 mCurrentAgendaView = mMainView->dateNavigator()->selectedDates().count();
582 mFlagShowNextxDays = false; 584 mFlagShowNextxDays = false;
583 globalFlagBlockAgenda = 1; 585 globalFlagBlockAgenda = 1;
584 globalFlagBlockLabel = 1; 586 globalFlagBlockLabel = 1;
585 if ( mCurrentAgendaView != 7 ) 587 if ( mCurrentAgendaView != 7 )
586 mCurrentAgendaView = -1; 588 mCurrentAgendaView = -1;
587 showAgendaView(); 589 showAgendaView();
588 qApp->processEvents(); 590 qApp->processEvents();
589 globalFlagBlockAgenda = 2; 591 globalFlagBlockAgenda = 2;
590 globalFlagBlockLabel = 0; 592 globalFlagBlockLabel = 0;
591 mMainView->dateNavigator()->selectWeek(); 593 mMainView->dateNavigator()->selectWeek();
592 mCurrentAgendaView = 7 ; 594 mCurrentAgendaView = 7 ;
593 mMainView->setScrollBarStep( 1 ); 595 mMainView->setScrollBarStep( 1 );
594} 596}
595 597
596void KOViewManager::showNextXView() 598void KOViewManager::showNextXView()
597{ 599{
598 600
599 KOPrefs::instance()->mCurrentDisplayedView = VIEW_NX_VIEW; 601 KOPrefs::instance()->mCurrentDisplayedView = VIEW_NX_VIEW;
600 globalFlagBlockAgenda = 1; 602 globalFlagBlockAgenda = 1;
601 if ( mCurrentAgendaView != 3 ) 603 if ( mCurrentAgendaView != 3 )
602 mCurrentAgendaView = -1; 604 mCurrentAgendaView = -1;
603 showAgendaView(KOPrefs::instance()->mFullViewMonth); 605 showAgendaView(KOPrefs::instance()->mFullViewMonth);
604 globalFlagBlockAgenda = 2; 606 globalFlagBlockAgenda = 2;
605 mMainView->dateNavigator()->selectDates( QDate::currentDate(), 607 mMainView->dateNavigator()->selectDates( QDate::currentDate(),
606 KOPrefs::instance()->mNextXDays ); 608 KOPrefs::instance()->mNextXDays );
607 mFlagShowNextxDays = true; 609 mFlagShowNextxDays = true;
608 mCurrentAgendaView = 3 ; 610 mCurrentAgendaView = 3 ;
609 KOPrefs::instance()->mCurrentDisplayedView = VIEW_NX_VIEW; 611 KOPrefs::instance()->mCurrentDisplayedView = VIEW_NX_VIEW;
610 mMainView->setScrollBarStep( KOPrefs::instance()->mNextXDays ); 612 mMainView->setScrollBarStep( KOPrefs::instance()->mNextXDays );
611} 613}
612bool KOViewManager::showsNextDays() 614bool KOViewManager::showsNextDays()
613{ 615{
614 return mFlagShowNextxDays; 616 return mFlagShowNextxDays;
615} 617}
616void KOViewManager::createMonthView() 618void KOViewManager::createMonthView()
617{ 619{
618if (!mMonthView) { 620if (!mMonthView) {
619 mMonthView = new KOMonthView(mMainView->calendar(), mMainView->viewStack(), "KOViewManager::MonthView"); 621 mMonthView = new KOMonthView(mMainView->calendar(), mMainView->viewStack(), "KOViewManager::MonthView");
620 622
621 addView(mMonthView); 623 addView(mMonthView);
622 // mMonthView->show(); 624 // mMonthView->show();
623 // SIGNALS/SLOTS FOR MONTH VIEW 625 // SIGNALS/SLOTS FOR MONTH VIEW
624 626
625 connect(mMonthView,SIGNAL(showJournalSignal( int, QDate )),SLOT(showDateView( int, QDate ))); 627 connect(mMonthView,SIGNAL(showJournalSignal( int, QDate )),SLOT(showDateView( int, QDate )));
626 628
627 connect(mMonthView, SIGNAL(newTodoSignal(QDateTime,bool)), 629 connect(mMonthView, SIGNAL(newTodoSignal(QDateTime,bool)),
628 mMainView, SLOT(newTodoDateTime(QDateTime, bool))); 630 mMainView, SLOT(newTodoDateTime(QDateTime, bool)));
629 631
630 632
631 connect(mMonthView, SIGNAL(newEventSignal(QDateTime)), 633 connect(mMonthView, SIGNAL(newEventSignal(QDateTime)),
632 mMainView, SLOT(newEvent(QDateTime))); 634 mMainView, SLOT(newEvent(QDateTime)));
633 635
634 connect(mMonthView, SIGNAL(showIncidenceSignal(Incidence *)), 636 connect(mMonthView, SIGNAL(showIncidenceSignal(Incidence *)),
635 mMainView, SLOT(showIncidence(Incidence *))); 637 mMainView, SLOT(showIncidence(Incidence *)));
636 connect(mMonthView, SIGNAL(editIncidenceSignal(Incidence *)), 638 connect(mMonthView, SIGNAL(editIncidenceSignal(Incidence *)),
637 mMainView, SLOT(editIncidence(Incidence *))); 639 mMainView, SLOT(editIncidence(Incidence *)));
638 connect(mMonthView, SIGNAL(deleteIncidenceSignal(Incidence *)), 640 connect(mMonthView, SIGNAL(deleteIncidenceSignal(Incidence *)),
639 mMainView, SLOT(deleteIncidence(Incidence *))); 641 mMainView, SLOT(deleteIncidence(Incidence *)));
640 642
641 connect( mMonthView, SIGNAL( incidenceSelected( Incidence * ) ), 643 connect( mMonthView, SIGNAL( incidenceSelected( Incidence * ) ),
642 mMainView, SLOT( processMainViewSelection( Incidence * ) ) ); 644 mMainView, SLOT( processMainViewSelection( Incidence * ) ) );
643 connect( mMonthView, SIGNAL( cloneIncidenceSignal( Incidence * ) ), 645 connect( mMonthView, SIGNAL( cloneIncidenceSignal( Incidence * ) ),
644 mMainView, SLOT ( cloneIncidence( Incidence * ) ) ); 646 mMainView, SLOT ( cloneIncidence( Incidence * ) ) );
645 connect( mMonthView, SIGNAL( cancelIncidenceSignal( Incidence * ) ), 647 connect( mMonthView, SIGNAL( cancelIncidenceSignal( Incidence * ) ),
646 mMainView, SLOT ( cancelIncidence( Incidence * ) ) ); 648 mMainView, SLOT ( cancelIncidence( Incidence * ) ) );
647 649
648 connect( mMonthView, SIGNAL( moveIncidenceSignal( Incidence * ) ), 650 connect( mMonthView, SIGNAL( moveIncidenceSignal( Incidence * ) ),
649 mMainView, SLOT ( moveIncidence( Incidence * ) ) ); 651 mMainView, SLOT ( moveIncidence( Incidence * ) ) );
650 connect( mMonthView, SIGNAL( beamIncidenceSignal( Incidence * ) ), 652 connect( mMonthView, SIGNAL( beamIncidenceSignal( Incidence * ) ),
651 mMainView, SLOT ( beamIncidence( Incidence * ) ) ); 653 mMainView, SLOT ( beamIncidence( Incidence * ) ) );
652 connect( mMonthView, SIGNAL( selectWeekNum( int ) ), 654 connect( mMonthView, SIGNAL( selectWeekNum( int ) ),
653 mMainView->dateNavigator(), SLOT ( selectWeekFromMonthView( int ) ) ); 655 mMainView->dateNavigator(), SLOT ( selectWeekFromMonthView( int ) ) );
654 connect( mMonthView, SIGNAL( selectMonth() ), 656 connect( mMonthView, SIGNAL( selectMonth() ),
655 mMainView->dateNavigator(), SLOT ( selectMonthFromMonthview() ) ); 657 mMainView->dateNavigator(), SLOT ( selectMonthFromMonthview() ) );
656 connect( mMonthView, SIGNAL( showDaySignal( QDate ) ), 658 connect( mMonthView, SIGNAL( showDaySignal( QDate ) ),
657 mMainView, SLOT ( showDay( QDate ) ) ); 659 mMainView, SLOT ( showDay( QDate ) ) );
658 connect(mMainView, SIGNAL(configChanged()), mMonthView, SLOT(updateConfig())); 660 connect(mMainView, SIGNAL(configChanged()), mMonthView, SLOT(updateConfig()));
659 connect( mMonthView, SIGNAL(nextMonth() ), 661 connect( mMonthView, SIGNAL(nextMonth() ),
660 mMonthView->navigatorBar(), SIGNAL(goNextMonth() ) ); 662 mMonthView->navigatorBar(), SIGNAL(goNextMonth() ) );
661 connect( mMonthView, SIGNAL(prevMonth() ), 663 connect( mMonthView, SIGNAL(prevMonth() ),
662 mMonthView->navigatorBar(), SIGNAL(goPrevMonth() ) ); 664 mMonthView->navigatorBar(), SIGNAL(goPrevMonth() ) );
663 connect( mMonthView->navigatorBar(), SIGNAL( goPrevYear() ), 665 connect( mMonthView->navigatorBar(), SIGNAL( goPrevYear() ),
664 mMainView->dateNavigator(), SLOT( selectPreviousYear() ) ); 666 mMainView->dateNavigator(), SLOT( selectPreviousYear() ) );
665 connect( mMonthView->navigatorBar(), SIGNAL( goNextYear() ), 667 connect( mMonthView->navigatorBar(), SIGNAL( goNextYear() ),
666 mMainView->dateNavigator(), SLOT( selectNextYear() ) ); 668 mMainView->dateNavigator(), SLOT( selectNextYear() ) );
667 connect( mMonthView->navigatorBar(), SIGNAL( goPrevMonth() ), 669 connect( mMonthView->navigatorBar(), SIGNAL( goPrevMonth() ),
668 mMainView->dateNavigator(), SLOT( selectPreviousMonth() ) ); 670 mMainView->dateNavigator(), SLOT( selectPreviousMonth() ) );
669 connect( mMonthView->navigatorBar(), SIGNAL( goNextMonth() ), 671 connect( mMonthView->navigatorBar(), SIGNAL( goNextMonth() ),
670 mMainView->dateNavigator(), SLOT( selectNextMonth() ) ); 672 mMainView->dateNavigator(), SLOT( selectNextMonth() ) );
671 connect( mMonthView->navigatorBar(), SIGNAL( goPrevWeek() ), 673 connect( mMonthView->navigatorBar(), SIGNAL( goPrevWeek() ),
672 mMainView->dateNavigator(), SLOT( selectPreviousWeek() ) ); 674 mMainView->dateNavigator(), SLOT( selectPreviousWeek() ) );
673 connect( mMonthView->navigatorBar(), SIGNAL( goNextWeek() ), 675 connect( mMonthView->navigatorBar(), SIGNAL( goNextWeek() ),
674 mMainView->dateNavigator(), SLOT( selectNextWeek() ) ); 676 mMainView->dateNavigator(), SLOT( selectNextWeek() ) );
675 677
676 connect( mMainView->dateNavigator(), SIGNAL( datesSelected( const KCal::DateList & ) ), 678 connect( mMainView->dateNavigator(), SIGNAL( datesSelected( const KCal::DateList & ) ),
677 mMonthView->navigatorBar(), SLOT( selectDates( const KCal::DateList & ) ) ); 679 mMonthView->navigatorBar(), SLOT( selectDates( const KCal::DateList & ) ) );
678 680
679 681
680 connect( mMonthView->navigatorBar(), SIGNAL( monthSelected ( int ) ), 682 connect( mMonthView->navigatorBar(), SIGNAL( monthSelected ( int ) ),
681 mMainView->dateNavigator(), SLOT( slotMonthSelect( int ) ) ); 683 mMainView->dateNavigator(), SLOT( slotMonthSelect( int ) ) );
682 684
683 } 685 }
684} 686}
685void KOViewManager::showMonthViewWeek() 687void KOViewManager::showMonthViewWeek()
686{ 688{
687 createMonthView(); 689 createMonthView();
688 KOPrefs::instance()->mCurrentDisplayedView = VIEW_ML_VIEW ; 690 KOPrefs::instance()->mCurrentDisplayedView = VIEW_ML_VIEW ;
689 globalFlagBlockAgenda = 1; 691 globalFlagBlockAgenda = 1;
690 bool full = true; 692 bool full = true;
691 if ( mCurrentView == mMonthView) 693 if ( mCurrentView == mMonthView)
692 full = mMainView->leftFrame()->isVisible(); 694 full = mMainView->leftFrame()->isVisible();
693 if ( !KOPrefs::instance()->mMonthViewWeek ) { 695 if ( !KOPrefs::instance()->mMonthViewWeek ) {
694 mMonthView->switchView(); 696 mMonthView->switchView();
695 if ( KOPrefs::instance()->mViewChangeHoldNonFullscreen && mMainView->leftFrame()->isVisible() ) 697 if ( KOPrefs::instance()->mViewChangeHoldNonFullscreen && mMainView->leftFrame()->isVisible() )
696 full = false; 698 full = false;
697 else 699 else
698 full = true; 700 full = true;
699 } 701 }
700 mMainView->dateNavigator()->selectWeek(); 702 mMainView->dateNavigator()->selectWeek();
701 showView(mMonthView, full ); 703 showView(mMonthView, full );
702 mMonthView->setKeyBFocus(); 704 mMonthView->setKeyBFocus();
703 KOPrefs::instance()->mCurrentDisplayedView = VIEW_ML_VIEW ; 705 KOPrefs::instance()->mCurrentDisplayedView = VIEW_ML_VIEW ;
704 mMainView->setScrollBarStep( 7 ); 706 mMainView->setScrollBarStep( 7 );
705} 707}
706 708
707void KOViewManager::showMonth( const QDate & date ) 709void KOViewManager::showMonth( const QDate & date )
708{ 710{
709 mMainView->dateNavigator()->blockSignals( true ); 711 mMainView->dateNavigator()->blockSignals( true );
710 mMainView->dateNavigator()->selectDate( date ); 712 mMainView->dateNavigator()->selectDate( date );
711 mMainView->dateNavigator()->blockSignals( false ); 713 mMainView->dateNavigator()->blockSignals( false );
712 showMonthView(); 714 showMonthView();
713} 715}