-rw-r--r-- | bin/kdepim/korganizer/germantranslation.txt | 16 | ||||
-rw-r--r-- | korganizer/kolistview.cpp | 155 | ||||
-rw-r--r-- | korganizer/kolistview.h | 7 | ||||
-rw-r--r-- | korganizer/koprefs.cpp | 2 | ||||
-rw-r--r-- | korganizer/koviewmanager.cpp | 2 |
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 | |||
@@ -440,97 +440,97 @@ | |||
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" }, |
@@ -1151,187 +1151,187 @@ | |||
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" }, |
@@ -1433,60 +1433,66 @@ | |||
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 | |||
@@ -245,434 +245,374 @@ bool ListItemVisitor::visit(Journal * j) | |||
245 | mItem->setSortKey(7,key); | 245 | mItem->setSortKey(7,key); |
246 | 246 | ||
247 | return true; | 247 | return true; |
248 | } | 248 | } |
249 | 249 | ||
250 | KOListView::KOListView(Calendar *calendar, QWidget *parent, | 250 | KOListView::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 | ||
376 | KOListView::~KOListView() | 373 | KOListView::~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 | ||
386 | QString KOListView::getWhatsThisText(QPoint p) | 383 | QString 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 | ||
398 | void KOListView::setCalendar( int c ) | 395 | void 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 | } |
436 | void KOListView::populateCalPopup() | 433 | void 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 | } |
447 | void KOListView::updateList() | 444 | void KOListView::updateList() |
448 | { | 445 | { |
449 | // qDebug(" KOListView::updateList() "); | 446 | // qDebug(" KOListView::updateList() "); |
450 | 447 | ||
451 | } | 448 | } |
452 | 449 | ||
453 | void KOListView::clearList() | 450 | void KOListView::clearList() |
454 | { | 451 | { |
455 | clear (); | 452 | clear (); |
456 | } | 453 | } |
457 | void KOListView::addCat( ) | 454 | |
458 | { | ||
459 | setCategories( false ); | ||
460 | } | ||
461 | void KOListView::setCat() | 455 | void 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 | ||
466 | void KOListView::setAlarm() | 469 | void 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 | } |
535 | void KOListView::setCategories( bool removeOld ) | 537 | void 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 | ||
589 | void KOListView::beamSelected() | 566 | void 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 | } | ||
625 | void 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 | ||
633 | void KOListView::saveDescriptionToFile() | 573 | void 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); |
@@ -1061,99 +1001,98 @@ void KOListView::showCompletedTodos() | |||
1061 | { | 1001 | { |
1062 | mForceShowCompletedTodos = true; | 1002 | mForceShowCompletedTodos = true; |
1063 | } | 1003 | } |
1064 | void KOListView::addIncidence(Incidence *incidence) | 1004 | void 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 | ||
1084 | void KOListView::showEvents(QPtrList<Event> eventList) | 1024 | void 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 | } |
1093 | int KOListView::count() | 1033 | int KOListView::count() |
1094 | { | 1034 | { |
1095 | return mListView->childCount(); | 1035 | return mListView->childCount(); |
1096 | } | 1036 | } |
1097 | 1037 | ||
1098 | void KOListView::changeEventDisplay(Event *event, int action) | 1038 | void 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 | ||
1126 | KOListViewItem *KOListView::getItemForEvent(Incidence *event) | 1065 | KOListViewItem *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 | ||
1136 | void KOListView::defaultItemAction(QListViewItem *i) | 1075 | void 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 | ||
1143 | void KOListView::popupMenu(QListViewItem *item,const QPoint &,int) | 1082 | void 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 | ||
diff --git a/korganizer/kolistview.h b/korganizer/kolistview.h index bcef0f0..a54b550 100644 --- a/korganizer/kolistview.h +++ b/korganizer/kolistview.h | |||
@@ -1,85 +1,80 @@ | |||
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 | ||
43 | using namespace KCal; | 38 | using namespace KCal; |
44 | 39 | ||
45 | class KOListViewWhatsThis; | 40 | class 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" |
60 | class KOAlarmPrefs : public QDialog | 55 | class 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")); |
@@ -234,90 +229,88 @@ class KOListViewListView : public KListView | |||
234 | void contentsMouseMoveEvent(QMouseEvent *e); | 229 | void contentsMouseMoveEvent(QMouseEvent *e); |
235 | bool mMouseDown; | 230 | bool mMouseDown; |
236 | }; | 231 | }; |
237 | 232 | ||
238 | class KOListView : public KOEventView | 233 | class 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 | |||
@@ -184,97 +184,97 @@ KOPrefs::KOPrefs() : | |||
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); |
diff --git a/korganizer/koviewmanager.cpp b/korganizer/koviewmanager.cpp index bd191d8..792a7b8 100644 --- a/korganizer/koviewmanager.cpp +++ b/korganizer/koviewmanager.cpp | |||
@@ -410,96 +410,98 @@ void KOViewManager::showWhatsNextView() | |||
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 | ||
426 | void KOViewManager::slotprintWNV() | 426 | void KOViewManager::slotprintWNV() |
427 | { | 427 | { |
428 | if (!mWhatsNextView) | 428 | if (!mWhatsNextView) |
429 | showWhatsNextView(); | 429 | showWhatsNextView(); |
430 | emit printWNV(); | 430 | emit printWNV(); |
431 | 431 | ||
432 | } | 432 | } |
433 | void KOViewManager::showListView() | 433 | void 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 | ||
474 | void KOViewManager::showAgendaView( bool fullScreen ) | 476 | void 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 *))); |