summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2005-02-19 22:16:06 (UTC)
committer zautrix <zautrix>2005-02-19 22:16:06 (UTC)
commit6c152b28df5d22b75b1b0dcef77073f0320c5710 (patch) (unidiff)
tree702ed341ef2eeebe00766f5969f4001dd4a0f814
parent1994c2c1e8d28b9ff7e4a42954f24dc8e48a9ff5 (diff)
downloadkdepimpi-6c152b28df5d22b75b1b0dcef77073f0320c5710.zip
kdepimpi-6c152b28df5d22b75b1b0dcef77073f0320c5710.tar.gz
kdepimpi-6c152b28df5d22b75b1b0dcef77073f0320c5710.tar.bz2
fixxhhh
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--bin/kdepim/korganizer/germantranslation.txt10
-rw-r--r--korganizer/koagendaitem.cpp4
-rw-r--r--korganizer/mainwindow.cpp5
3 files changed, 12 insertions, 7 deletions
diff --git a/bin/kdepim/korganizer/germantranslation.txt b/bin/kdepim/korganizer/germantranslation.txt
index 58be545..f71401e 100644
--- a/bin/kdepim/korganizer/germantranslation.txt
+++ b/bin/kdepim/korganizer/germantranslation.txt
@@ -896,263 +896,263 @@
896{ "Preferences","Vorlieben" }, 896{ "Preferences","Vorlieben" },
897{ "Global","Global" }, 897{ "Global","Global" },
898{ "Phone","Phone" }, 898{ "Phone","Phone" },
899{ "SMS","SMS" }, 899{ "SMS","SMS" },
900{ "Fax","Fax" }, 900{ "Fax","Fax" },
901{ "Pager","Pager" }, 901{ "Pager","Pager" },
902{ "SIP","SIP" }, 902{ "SIP","SIP" },
903{ "Italian","Italienisch" }, 903{ "Italian","Italienisch" },
904{ "24:00","24:00" }, 904{ "24:00","24:00" },
905{ "12:00am","12:00am" }, 905{ "12:00am","12:00am" },
906{ "24.03.2004 (%d.%m.%Y|%A %d %B %Y)","24.03.2004 (%d.%m.%Y|%A %d %B %Y)" }, 906{ "24.03.2004 (%d.%m.%Y|%A %d %B %Y)","24.03.2004 (%d.%m.%Y|%A %d %B %Y)" },
907{ "03.24.2004 (%m.%d.%Y|%A %B %d %Y)","03.24.2004 (%m.%d.%Y|%A %B %d %Y)" }, 907{ "03.24.2004 (%m.%d.%Y|%A %B %d %Y)","03.24.2004 (%m.%d.%Y|%A %B %d %Y)" },
908{ "2004-03-24 (%Y-%m-%d|%A %Y %B %d)","2004-03-24 (%Y-%m-%d|%A %Y %B %d)" }, 908{ "2004-03-24 (%Y-%m-%d|%A %Y %B %d)","2004-03-24 (%Y-%m-%d|%A %Y %B %d)" },
909{ "Mon 19.04.04: %a %d.%m.%y","Mon 19.04.04: %a %d.%m.%y" }, 909{ "Mon 19.04.04: %a %d.%m.%y","Mon 19.04.04: %a %d.%m.%y" },
910{ "Mon, 19.Apr.04: %a, %d.%b.%y","Mon, 19.Apr.04: %a, %d.%b.%y" }, 910{ "Mon, 19.Apr.04: %a, %d.%b.%y","Mon, 19.Apr.04: %a, %d.%b.%y" },
911{ "Add 30 min to selected Timezone","Addiere 30 min zur Zeitzone" }, 911{ "Add 30 min to selected Timezone","Addiere 30 min zur Zeitzone" },
912{ "Used Mail Client","Benutzter Mail Client" }, 912{ "Used Mail Client","Benutzter Mail Client" },
913{ "Channel:","Channel:" }, 913{ "Channel:","Channel:" },
914{ "Message:","Message:" }, 914{ "Message:","Message:" },
915{ "Parameters:","Parameter:" }, 915{ "Parameters:","Parameter:" },
916{ "HINT: Delimiter=; Name=%1,Email=%2","Hinweis: Begrenzer=; Name=%1,Email=%2" }, 916{ "HINT: Delimiter=; Name=%1,Email=%2","Hinweis: Begrenzer=; Name=%1,Email=%2" },
917{ "extra Message:","extra Message:" }, 917{ "extra Message:","extra Message:" },
918{ "extra Parameters:","extra Parameter:" }, 918{ "extra Parameters:","extra Parameter:" },
919{ "HINT: Emails=%1,Attachments=%2","Hinweis: Emails=%1,Attachments=%2" }, 919{ "HINT: Emails=%1,Attachments=%2","Hinweis: Emails=%1,Attachments=%2" },
920{ "External Apps.","Externe Appl." }, 920{ "External Apps.","Externe Appl." },
921{ "24 hours","24 Std." }, 921{ "24 hours","24 Std." },
922{ "3 hours","3 Std." }, 922{ "3 hours","3 Std." },
923{ "1 hour","1 Std." }, 923{ "1 hour","1 Std." },
924{ "15 minutes","15 Min." }, 924{ "15 minutes","15 Min." },
925{ "5 minutes","5 Min." }, 925{ "5 minutes","5 Min." },
926{ "1 minute","1 Min." }, 926{ "1 minute","1 Min." },
927{ "23","23" }, 927{ "23","23" },
928{ "Mon 15","Mon 15" }, 928{ "Mon 15","Mon 15" },
929{ "Configure KO","Konfiguriere KO" }, 929{ "Configure KO","Konfiguriere KO" },
930{ "Event text","Termin Text" }, 930{ "Event text","Termin Text" },
931{ "ToDo","ToDo" }, 931{ "ToDo","ToDo" },
932{ "Today","Heute" }, 932{ "Today","Heute" },
933{ "What's Next View","What's Next Ansicht" }, 933{ "What's Next View","What's Next Ansicht" },
934{ "Show Sync Events in \nWhat's Next/Agenda view","Zeige Sync Termine in \nWhat's Next/Agenda view" }, 934{ "Show Sync Events in \nWhat's Next/Agenda view","Zeige Sync Termine in \nWhat's Next/Agenda view" },
935{ "Use short date in \nWhat's Next/Event view","Zeige Kurzdatum in \nWhat's Next/Event view" }, 935{ "Use short date in \nWhat's Next/Event view","Zeige Kurzdatum in \nWhat's Next/Event view" },
936{ "Allday Agenda view shows todos","Ganztag Agenda zeigt Todos" }, 936{ "Allday Agenda view shows todos","Ganztag Agenda zeigt Todos" },
937{ "Alarm","Alarm" }, 937{ "Alarm","Alarm" },
938{ "Used %1 Client","Benutzter %1 Client" }, 938{ "Used %1 Client","Benutzter %1 Client" },
939{ "No email client installed","Kein Email Klient installiert" }, 939{ "No email client installed","Kein Email Klient installiert" },
940{ "Userdefined email client","Benutzerdef. Email Klient" }, 940{ "Userdefined email client","Benutzerdef. Email Klient" },
941{ "OM/Pi email client","OM/Pi Email Klient" }, 941{ "OM/Pi email client","OM/Pi Email Klient" },
942{ "Include in multiple ","Beziehe in multiple " }, 942{ "Include in multiple ","Beziehe in multiple " },
943{ "calendar ","Kalender " }, 943{ "calendar ","Kalender " },
944{ "addressbook ","Adressbuch " }, 944{ "addressbook ","Adressbuch " },
945{ "pwmanager","PWmanager" }, 945{ "pwmanager","PWmanager" },
946{ " sync"," Sync ein" }, 946{ " sync"," Sync ein" },
947{ "Write back synced data","Schreibe gesyncte Daten zurück" }, 947{ "Write back synced data","Schreibe gesyncte Daten zurück" },
948{ "-- Write back (on remote) existing entries only","-- Schreibe nur existierende (entfernte) Einträge zurück" }, 948{ "-- Write back (on remote) existing entries only","-- Schreibe nur existierende (entfernte) Einträge zurück" },
949{ "-- Write back (calendar) entries in future only","-- Schreibe nur zukünftige Kalender-Einträge zurück" }, 949{ "-- Write back (calendar) entries in future only","-- Schreibe nur zukünftige Kalender-Einträge zurück" },
950{ "---- Max. weeks in future: ","---- Max. wochen in der Zukunft: " }, 950{ "---- Max. weeks in future: ","---- Max. wochen in der Zukunft: " },
951{ "Pi-Sync ( direct Kx/Pi to Kx/Pi sync )","Pi-Sync ( direktes Kx/Pi zu Kx/Pi sync )" }, 951{ "Pi-Sync ( direct Kx/Pi to Kx/Pi sync )","Pi-Sync ( direktes Kx/Pi zu Kx/Pi sync )" },
952{ "Mobile device (cell phone)","Mobiles Gerät (Handy)" }, 952{ "Mobile device (cell phone)","Mobiles Gerät (Handy)" },
953{ "Help...","Hilfe..." }, 953{ "Help...","Hilfe..." },
954{ "Local file Cal:","Lokale Datei Kal:" }, 954{ "Local file Cal:","Lokale Datei Kal:" },
955{ "Local file ABook:","Lokale Datei ABuch:" }, 955{ "Local file ABook:","Lokale Datei ABuch:" },
956{ "Local file PWMgr:","Lokale Datei PWMgr:" }, 956{ "Local file PWMgr:","Lokale Datei PWMgr:" },
957{ "Addressbook file (*.vcf) is used by KA/Pi","Adressbuch Datei (*.vcf) wird von KA/Pi genutzt" }, 957{ "Addressbook file (*.vcf) is used by KA/Pi","Adressbuch Datei (*.vcf) wird von KA/Pi genutzt" },
958{ "Calendar:","Kalender:" }, 958{ "Calendar:","Kalender:" },
959{ "AddressBook:","AdressBuch:" }, 959{ "AddressBook:","AdressBuch:" },
960{ "PWManager:","PWManager:" }, 960{ "PWManager:","PWManager:" },
961{ "Addressbook file is used by KA/Pi","Adressbuch Datei wird von KA/Pi genutzt" }, 961{ "Addressbook file is used by KA/Pi","Adressbuch Datei wird von KA/Pi genutzt" },
962{ "ssh/scp","ssh/scp" }, 962{ "ssh/scp","ssh/scp" },
963{ "ftp","ftp" }, 963{ "ftp","ftp" },
964{ "Password for remote access: (could be the same for each)","Passwort für entfernten Zugriff: (kann dasselbe sein für alle)" }, 964{ "Password for remote access: (could be the same for each)","Passwort für entfernten Zugriff: (kann dasselbe sein für alle)" },
965{ "Remote IP address: (could be the same for each)","Entfernte IP Adresse: (kann dasselbe sein für alle)" }, 965{ "Remote IP address: (could be the same for each)","Entfernte IP Adresse: (kann dasselbe sein für alle)" },
966{ "Remote port number: (should be different for each)","Entfernte Port Nummer: (Sollte für alle unterschiedlich sein)" }, 966{ "Remote port number: (should be different for each)","Entfernte Port Nummer: (Sollte für alle unterschiedlich sein)" },
967{ "command for downloading remote file to local device","Kommando zum Download der entfernten Datei zum lokalen Gerät" }, 967{ "command for downloading remote file to local device","Kommando zum Download der entfernten Datei zum lokalen Gerät" },
968{ "command for uploading local temp file to remote device","Kommando zum Upload der lokalen temp. Datei zum entfernten Gerät" }, 968{ "command for uploading local temp file to remote device","Kommando zum Upload der lokalen temp. Datei zum entfernten Gerät" },
969{ "Insert device where\nphone is connected. E.g.:\n","Füge Device ein, an dem\ndas Handy angeschlossen ist. Z.B.:\n" }, 969{ "Insert device where\nphone is connected. E.g.:\n","Füge Device ein, an dem\ndas Handy angeschlossen ist. Z.B.:\n" },
970{ "KDE-Pim sync config","KDE-Pim sync Konfig" }, 970{ "KDE-Pim sync config","KDE-Pim sync Konfig" },
971{ "Insert kind of connection,e.g.:\n","Füge Art der Verbindung ein,z.B.:\n" }, 971{ "Insert kind of connection,e.g.:\n","Füge Art der Verbindung ein,z.B.:\n" },
972{ "Recommended: Leave empty!\n(Such that model can\nbe auto detected)\nOr insert name of model:\n","Empfohlen: Leer lassen!\n(So dass das Model\nautomatisch erkannt\nwerden kann)\nOder füge Model Name ein:\n" }, 972{ "Recommended: Leave empty!\n(Such that model can\nbe auto detected)\nOr insert name of model:\n","Empfohlen: Leer lassen!\n(So dass das Model\nautomatisch erkannt\nwerden kann)\nOder füge Model Name ein:\n" },
973{ "Port number (Default: %1)","Port Nummer (Default: %1)" }, 973{ "Port number (Default: %1)","Port Nummer (Default: %1)" },
974{ "Password to enable\naccess from remote:","Passwort um entfernten\nZugriff zuzulassen:" }, 974{ "Password to enable\naccess from remote:","Passwort um entfernten\nZugriff zuzulassen:" },
975{ "Automatically start\nat application startup","Starte automatisch\nbeim Programmstart" }, 975{ "Automatically start\nat application startup","Starte automatisch\nbeim Programmstart" },
976{ "Automatically sync\nwith KDE-Desktop","Automatischer Sync\nmit dem KDE-Desktop" }, 976{ "Automatically sync\nwith KDE-Desktop","Automatischer Sync\nmit dem KDE-Desktop" },
977{ "Enter port for Pi-Sync","Port Nummer für Pi-Sync" }, 977{ "Enter port for Pi-Sync","Port Nummer für Pi-Sync" },
978{ "Disable Pi-Sync","Schalte Pi-Sync aus" }, 978{ "Disable Pi-Sync","Schalte Pi-Sync aus" },
979{ "Do you really want\nto multiple sync\nwith all checked profiles?\nSyncing takes some\ntime - all profiles\nare synced twice!","Wollen Sie wirklich\nmit allen selektierten\nProfilen \"Multi-Syncen\"?\nDas Syncen dauert einige Zeit -\nalle Profile werden zweimal gesynct!" }, 979{ "Do you really want\nto multiple sync\nwith all checked profiles?\nSyncing takes some\ntime - all profiles\nare synced twice!","Wollen Sie wirklich\nmit allen selektierten\nProfilen \"Multi-Syncen\"?\nDas Syncen dauert einige Zeit -\nalle Profile werden zweimal gesynct!" },
980{ "KDE-Pim Sync","KDE-Pim Sync" }, 980{ "KDE-Pim Sync","KDE-Pim Sync" },
981{ "Multiple profiles","Multi-Sync Profile" }, 981{ "Multiple profiles","Multi-Sync Profile" },
982{ "Device: ","Gerät: " }, 982{ "Device: ","Gerät: " },
983{ "Multiple sync started.","Multi-Sync gestartet." }, 983{ "Multiple sync started.","Multi-Sync gestartet." },
984{ "Nothing synced! No profiles defined for multisync!","Nichts gesynct! Keine Profile\nselektiert für Multi-Sync" }, 984{ "Nothing synced! No profiles defined for multisync!","Nichts gesynct! Keine Profile\nselektiert für Multi-Sync" },
985{ "Turn filter on","Schalte Filter an" }, 985{ "Turn filter on","Schalte Filter an" },
986{ "Turn filter off","Schalte Filter aus" }, 986{ "Turn filter off","Schalte Filter aus" },
987{ "Key bindings KOrganizer/Pi","Tastatur Belegung KOrganizer/Pi" }, 987{ "Key bindings KOrganizer/Pi","Tastatur Belegung KOrganizer/Pi" },
988{ "<p><b>White</b>: Item readonly</p>\n","<p><b>Weiss</b>: Eintrag schreibgeschützt</p>\n" }, 988{ "<p><b>White</b>: Item readonly</p>\n","<p><b>Weiss</b>: Eintrag schreibgeschützt</p>\n" },
989{ "<p><b>Dark yellow</b>: Event/todo with attendees.</p>\n","<p><b>Dunkelgelb</b>: Termin/Todo mit Teilnehmern.</p>\n" }, 989{ "<p><b>Dark yellow</b>: Event/todo with attendees.</p>\n","<p><b>Dunkelgelb</b>: Termin/Todo mit Teilnehmern.</p>\n" },
990{ "<p><b>Black</b>: Event/todo with attendees. You are the organizer!</p>\n","<p><b>Schwarz</b>: Termin/Todo mit Teilnehmern. Sie sind der Organisator!</p>\n" }, 990{ "<p><b>Black</b>: Event/todo with attendees. You are the organizer!</p>\n","<p><b>Schwarz</b>: Termin/Todo mit Teilnehmern. Sie sind der Organisator!</p>\n" },
991{ "<p><b>Dark green</b>: Information(description) available.([i] in WN view)</p>\n","<p><b>Dunkelgrün</b>: Information(Beschreibung) verfügbar.([i] in WN Ansicht)</p>\n" }, 991{ "<p><b>Dark green</b>: Information(description) available.([i] in WN view)</p>\n","<p><b>Dunkelgrün</b>: Information(Beschreibung) verfügbar.([i] in WN Ansicht)</p>\n" },
992{ "<p><b>Blue</b>: Recurrent event.([r] in Whats'Next view)</p>\n","<p><b>Blau</b>: Wiederholender Termin.([r] in Whats'Next Ansicht)</p>\n" }, 992{ "<p><b>Blue</b>: Recurrent event.([r] in Whats'Next view)</p>\n","<p><b>Blau</b>: Wiederholender Termin.([r] in Whats'Next Ansicht)</p>\n" },
993{ "<p><b>Red</b>: Alarm set.([a] in Whats'Next view)</p>\n","<p><b>Rot</b>: Alarm gesetzt.([a] in Whats'Next Ansicht)</p>\n" }, 993{ "<p><b>Red</b>: Alarm set.([a] in Whats'Next view)</p>\n","<p><b>Rot</b>: Alarm gesetzt.([a] in Whats'Next Ansicht)</p>\n" },
994{ "<p><b>Cross</b>: Item cancelled.([c] in Whats'Next view)</p>\n","<p><b>Kreuz</b>: Eintrag gecancelt.([c] in Whats'Next Ansicht)</p>\n" }, 994{ "<p><b>Cross</b>: Item cancelled.([c] in Whats'Next view)</p>\n","<p><b>Kreuz</b>: Eintrag gecancelt.([c] in Whats'Next Ansicht)</p>\n" },
995{ "<p><b>(for square icons in agenda and month view)</b></p>\n","<p><b>(für quadratische Icons in Agenda und Monats Ansicht)</b></p>\n" }, 995{ "<p><b>(for square icons in agenda and month view)</b></p>\n","<p><b>(für quadratische Icons in Agenda und Monats Ansicht)</b></p>\n" },
996{ "<p><h2>KO/Pi icon colors:</h2></p>\n","<p><h2>KO/Pi Icon Farben:</h2></p>\n" }, 996{ "<p><h2>KO/Pi icon colors:</h2></p>\n","<p><h2>KO/Pi Icon Farben:</h2></p>\n" },
997{ "<p><b>E</b>: Edit item</p>\n","<p><b>E</b>: Editiere Eintrag</p>\n" }, 997{ "<p><b>E</b>: Edit item</p>\n","<p><b>E</b>: Editiere Eintrag</p>\n" },
998{ "<p><b>A</b>: Show agenda view.</p>\n","<p><b>A</b>: Zeige Agenda Ansicht.</p>\n" }, 998{ "<p><b>A</b>: Show agenda view.</p>\n","<p><b>A</b>: Zeige Agenda Ansicht.</p>\n" },
999{ "<p><b>I,C</b>: Close dialog.</p>\n","<p><b>I,C</b>: Schließe Dialog.</p>\n" }, 999{ "<p><b>I,C</b>: Close dialog.</p>\n","<p><b>I,C</b>: Schließe Dialog.</p>\n" },
1000{ "<p><h3>In event/todo viewer:</h3></p>\n","<p><h3>In Termin/Todo Detail-Anzeige:</h3></p>\n" }, 1000{ "<p><h3>In event/todo viewer:</h3></p>\n","<p><h3>In Termin/Todo Detail-Anzeige:</h3></p>\n" },
1001{ "<p><b>shift+up/down</b>: Goto first/last item</p>\n","<p><b>shift+up/down</b>: Gehe zum ersten/letzten Eintrag</p>\n" }, 1001{ "<p><b>shift+up/down</b>: Goto first/last item</p>\n","<p><b>shift+up/down</b>: Gehe zum ersten/letzten Eintrag</p>\n" },
1002{ "<p><b>ctrl+up/down</b>: Goto up/down by 20% of items</p>\n","<p><b>ctrl+up/down</b>: Gehe hoch/runter 20% aller Einträge</p>\n" }, 1002{ "<p><b>ctrl+up/down</b>: Goto up/down by 20% of items</p>\n","<p><b>ctrl+up/down</b>: Gehe hoch/runter 20% aller Einträge</p>\n" },
1003{ "<p><b>up/down</b>: Next/prev item</p>\n","<p><b>up/down</b>: Nächster/vorheriger Eintrag</p>\n" }, 1003{ "<p><b>up/down</b>: Next/prev item</p>\n","<p><b>up/down</b>: Nächster/vorheriger Eintrag</p>\n" },
1004{ "<p><b>return+shift</b>: Deselect item+one step down</p>\n","<p><b>return+shift</b>: Deselektiere Item+Cursor einen Eintrag runter</p>\n" }, 1004{ "<p><b>return+shift</b>: Deselect item+one step down</p>\n","<p><b>return+shift</b>: Deselektiere Item+Cursor einen Eintrag runter</p>\n" },
1005{ "<p><b>return</b>: Select item+one step down</p>\n","<p><b>return</b>: Selektiere Item+Cursor einen Eintrag runter</p>\n" }, 1005{ "<p><b>return</b>: Select item+one step down</p>\n","<p><b>return</b>: Selektiere Item+Cursor einen Eintrag runter</p>\n" },
1006{ "<p><b>I</b>: Show info of current item+one step down.</p>\n","<p><b>I</b>: Zeige Detail-Ansicht vom sel.Eintrag+Cursor einen Eintrag runter.</p>\n" }, 1006{ "<p><b>I</b>: Show info of current item+one step down.</p>\n","<p><b>I</b>: Zeige Detail-Ansicht vom sel.Eintrag+Cursor einen Eintrag runter.</p>\n" },
1007{ "<p><h3>In list view:</h3></p>\n","<p><h3>In Listen Ansicht:</h3></p>\n" }, 1007{ "<p><h3>In list view:</h3></p>\n","<p><h3>In Listen Ansicht:</h3></p>\n" },
1008{ "<p><b>return+shift</b>: Mark item as not completed+one step down</p>\n","<p><b>return+shift</b>: Markiere Todo als nicht erledigt+Cursor einen Eintrag runter</p>\n" }, 1008{ "<p><b>return+shift</b>: Mark item as not completed+one step down</p>\n","<p><b>return+shift</b>: Markiere Todo als nicht erledigt+Cursor einen Eintrag runter</p>\n" },
1009{ "<p><b>return</b>: Mark item as completed+one step down.</p>\n","<p><b>return</b>: Markiere Todo als erledigt+Cursor einen Eintrag runter.</p>\n" }, 1009{ "<p><b>return</b>: Mark item as completed+one step down.</p>\n","<p><b>return</b>: Markiere Todo als erledigt+Cursor einen Eintrag runter.</p>\n" },
1010{ "<p><b>Q</b>: Toggle quick todo line edit.</p>\n","<p><b>Q</b>: Zeige/verstecke Quick Todo Eingabe Zeile.</p>\n" }, 1010{ "<p><b>Q</b>: Toggle quick todo line edit.</p>\n","<p><b>Q</b>: Zeige/verstecke Quick Todo Eingabe Zeile.</p>\n" },
1011{ "<p><b>shift+P</b>: Make new <b>P</b>arent for todo selected with shift+S</p>\n","<p><b>shift+P</b>: Mache Todo zum neuen <b>P</b>arent Todo für das Todo, welches mit shift+Sselektiert wurde.</p>\n" }, 1011{ "<p><b>shift+P</b>: Make new <b>P</b>arent for todo selected with shift+S</p>\n","<p><b>shift+P</b>: Mache Todo zum neuen <b>P</b>arent Todo für das Todo, welches mit shift+Sselektiert wurde.</p>\n" },
1012{ "<p><b>shift+S</b>: Make <b>S</b>ubtodo (reparent todo)</p>\n","<p><b>shift+S</b>: Mache Todo zum <b>S</b>ubtodo</p>\n" }, 1012{ "<p><b>shift+S</b>: Make <b>S</b>ubtodo (reparent todo)</p>\n","<p><b>shift+S</b>: Mache Todo zum <b>S</b>ubtodo</p>\n" },
1013{ "<p><b>shift+U</b>: <b>U</b>nparent todo (make root todo)</p>\n","<p><b>shift+U</b>: <b>U</b>nparent Todo (Mache Sub-Todo zum Toplevel Todo)</p>\n" }, 1013{ "<p><b>shift+U</b>: <b>U</b>nparent todo (make root todo)</p>\n","<p><b>shift+U</b>: <b>U</b>nparent Todo (Mache Sub-Todo zum Toplevel Todo)</p>\n" },
1014{ "<p><h3>In todo view:</h3></p>\n","<p><h3>In Todo Anzige:</h3></p>\n" }, 1014{ "<p><h3>In todo view:</h3></p>\n","<p><h3>In Todo Anzige:</h3></p>\n" },
1015{ "<p><b>ctrl+up/down</b>: Scroll small todo view</p>\n","<p><b>ctrl+up/down</b>: Scrolle kleine Todo Ansicht</p>\n" }, 1015{ "<p><b>ctrl+up/down</b>: Scroll small todo view</p>\n","<p><b>ctrl+up/down</b>: Scrolle kleine Todo Ansicht</p>\n" },
1016{ "<p><b>up/down</b>: Scroll agenda view</p>\n","<p><b>up/down</b>: Scrolle Agenda Ansicht</p>\n" }, 1016{ "<p><b>up/down</b>: Scroll agenda view</p>\n","<p><b>up/down</b>: Scrolle Agenda Ansicht</p>\n" },
1017{ "<p><h3>In agenda view:</h3></p>\n","<p><h3>In Agenda Ansicht:</h3></p>\n" }, 1017{ "<p><h3>In agenda view:</h3></p>\n","<p><h3>In Agenda Ansicht:</h3></p>\n" },
1018{ "<p><b>del,backspace</b>: Delete selected item</p>\n","<p><b>del,backspace</b>: Lösche selektiertes Item</p>\n" }, 1018{ "<p><b>del,backspace</b>: Delete selected item</p>\n","<p><b>del,backspace</b>: Lösche selektiertes Item</p>\n" },
1019{ "<p><b>left</b>: Prev. week | <b>left+ctrl</b>: Prev. month</p>\n","<p><b>left</b>: Vorh. Woche | <b>left+ctrl</b>: Vorh. Monat</p>\n" }, 1019{ "<p><b>left</b>: Prev. week | <b>left+ctrl</b>: Prev. month</p>\n","<p><b>left</b>: Vorh. Woche | <b>left+ctrl</b>: Vorh. Monat</p>\n" },
1020{ "<p><b>right</b>: Next week | <b>right+ctrl</b>: Next month</p>\n","<p><b>right</b>: Nächste Woche | <b>right+ctrl</b>: Nächste Woche</p>\n" }, 1020{ "<p><b>right</b>: Next week | <b>right+ctrl</b>: Next month</p>\n","<p><b>right</b>: Nächste Woche | <b>right+ctrl</b>: Nächste Woche</p>\n" },
1021{ "<p><b>B</b>: Edit description (details) of selected item</p>\n","<p><b>B</b>: Editiere Beschreibung (Details) des selektierten Items</p>\n" }, 1021{ "<p><b>B</b>: Edit description (details) of selected item</p>\n","<p><b>B</b>: Editiere Beschreibung (Details) des selektierten Items</p>\n" },
1022{ "<p><b>C</b>: Show current time in agenda view</p>\n","<p><b>C</b>: Zeige aktuelle Zeit in Agenda Ansicht</p>\n" }, 1022{ "<p><b>C</b>: Show current time in agenda view</p>\n","<p><b>C</b>: Zeige aktuelle Zeit in Agenda Ansicht</p>\n" },
1023{ "<p><b>+,-</b> : Zoom in/out agenda | <b>A</b>: Toggle allday agenda height</p>\n","<p><b>+,-</b> : Zoom rein/raus Agenda | <b>A</b>: Wechsle Ganztag Agenda Höhe</p>\n" }, 1023{ "<p><b>+,-</b> : Zoom in/out agenda | <b>A</b>: Toggle allday agenda height</p>\n","<p><b>+,-</b> : Zoom rein/raus Agenda | <b>A</b>: Wechsle Ganztag Agenda Höhe</p>\n" },
1024{ "<p><b>S+ctrl</b>: Add sub-todo | <b>X</b>: Toggle datenavigator</p>\n","<p><b>S+ctrl</b>: Füge Sub-Todo hinzu | <b>X</b>: Zeige/verstecke Datenavigator</p>\n" }, 1024{ "<p><b>S+ctrl</b>: Add sub-todo | <b>X</b>: Toggle datenavigator</p>\n","<p><b>S+ctrl</b>: Füge Sub-Todo hinzu | <b>X</b>: Zeige/verstecke Datumsnavigator</p>\n" },
1025{ "<p><b>T</b>: Goto today | <b>T+ctrl</b>: New Todo</p>\n","<p><b>T</b>: Gehe zu Heute | <b>T+ctrl</b>: Neues Todo</p>\n" }, 1025{ "<p><b>T</b>: Goto today | <b>T+ctrl</b>: New Todo</p>\n","<p><b>T</b>: Gehe zu Heute | <b>T+ctrl</b>: Neues Todo</p>\n" },
1026{ "<p><b>E</b>: Edit selected item |<b> E+ctrl</b>: New Event</p>\n","<p><b>E</b>: Editiere selektiertes Item |<b> E+ctrl</b>: Neuer Termin</p>\n" }, 1026{ "<p><b>E</b>: Edit selected item |<b> E+ctrl</b>: New Event</p>\n","<p><b>E</b>: Editiere selektiertes Item |<b> E+ctrl</b>: Neuer Termin</p>\n" },
1027{ "<p><b>D</b>: One day view | <b>M</b>: Month view</p>\n","<p><b>D</b>: Ein-Tages Ansicht | <b>M</b>: Monats Ansicht</p>\n" }, 1027{ "<p><b>D</b>: One day view | <b>M</b>: Month view</p>\n","<p><b>D</b>: Ein-Tages Ansicht | <b>M</b>: Monatsansicht</p>\n" },
1028{ "<p><b>Z,Y</b>: Work week view | <b>U</b>: Week view</p>\n","<p><b>Z,Y</b>: Arbeitswochen Ansicht | <b>U</b>: Wochen Ansicht</p>\n" }, 1028{ "<p><b>Z,Y</b>: Work week view | <b>U</b>: Week view</p>\n","<p><b>Z,Y</b>: Arbeitswochenansicht | <b>U</b>: Wochenansicht</p>\n" },
1029{ "<p><b>V</b>: Todo view | <b>L</b>: Event list view</p>\n","<p><b>V</b>: Todo Ansicht | <b>L</b>: Termin Listen Ansicht</p>\n" }, 1029{ "<p><b>V</b>: Todo view | <b>L</b>: Event list view</p>\n","<p><b>V</b>: Todo Ansicht | <b>L</b>: Termin Listen Ansicht</p>\n" },
1030{ "<p><b>N</b>: Next days view| <b>W</b>: What's next view\n ","<p><b>N</b>: Nächste-Tage Ansicht days view| <b>W</b>: What's next Ansicht\n " }, 1030{ "<p><b>N</b>: Next days view| <b>W</b>: What's next view\n ","<p><b>N</b>: Nächste-Tage Ansicht | <b>W</b>: What's Next Ansicht\n " },
1031{ "<p><b>1-0</b> (+<b>ctrl</b>): Select filter 1-10 (11-20)</p>\n","<p><b>1-0</b> (+<b>ctrl</b>): Selektiere Filter 1-10 (11-20)</p>\n" }, 1031{ "<p><b>1-0</b> (+<b>ctrl</b>): Select filter 1-10 (11-20)</p>\n","<p><b>1-0</b> (+<b>ctrl</b>): Selektiere Filter 1-10 (11-20)</p>\n" },
1032{ "<p><b>O</b>: Filter On/Off | <b>J</b>: Journal view</p>\n","<p><b>O</b>: Filter An/Aus | <b>J</b>: Journal Ansicht</p>\n" }, 1032{ "<p><b>O</b>: Filter On/Off | <b>J</b>: Journal view</p>\n","<p><b>O</b>: Filter An/Aus | <b>J</b>: Journal Ansicht</p>\n" },
1033{ "<p><b>F</b>: Toggle filterview |<b>F+ctrl</b>: Edit filter </p>\n","<p><b>F</b>: Zeige/verstecke Filter Ansicht |<b>F+ctrl</b>: Editiere Filter </p>\n" }, 1033{ "<p><b>F</b>: Toggle filterview |<b>F+ctrl</b>: Edit filter </p>\n","<p><b>F</b>: Zeige/verstecke Filter Ansicht |<b>F+ctrl</b>: Editiere Filter </p>\n" },
1034{ "<p><b>Space</b>: Toggle fullscreen | <b>P</b>: Date picker</p>\n","<p><b>Space</b>: Zeige fullscreen | <b>P</b>: Datums Picker</p>\n" }, 1034{ "<p><b>Space</b>: Toggle fullscreen | <b>P</b>: Date picker</p>\n","<p><b>Space</b>: Zeige fullscreen | <b>P</b>: Datums Picker</p>\n" },
1035{ "<p><b>I</b>: Show info for selected event/todo</p>\n","<p><b>I</b>: Zeige Info (Details) für selektiertes Item</p>\n" }, 1035{ "<p><b>I</b>: Show info for selected event/todo</p>\n","<p><b>I</b>: Zeige Info (Details) für selektiertes Item</p>\n" },
1036{ "<p><b>H</b>: This help dialog | <b>S</b>: Search dialog</p>\n","<p><b>H</b>: Dieser Hilfe Dialog | <b>S</b>: Such Dialog</p>\n" }, 1036{ "<p><b>H</b>: This help dialog | <b>S</b>: Search dialog</p>\n","<p><b>H</b>: Dieser Hilfe Dialog | <b>S</b>: Such Dialog</p>\n" },
1037{ "<p><h2>KO/Pi key shortcuts:</h2></p>\n","<p><h2>KO/Pi Tastatur Kurzbefehle:</h2></p>\n" }, 1037{ "<p><h2>KO/Pi key shortcuts:</h2></p>\n","<p><h2>KO/Pi Tastatur Kurzbefehle:</h2></p>\n" },
1038{ "After changing something, the data is\nautomatically saved to the file\n~/kdepim/apps/korganizer/mycalendar.ics\nafter (configurable) three minutes.\nFor safety reasons there is one autosaving\nafter 10 minutes (of idle time) again. The \ndata is saved automatically when closing KO/Pi\nYou can create a backup file \nwith: File - Save Calendar Backup\n","Nachdem etwas geändert wurde, werden die\nDaten automatisch in die Datei abgespeichert\n~/kdepim/apps/korganizer/mycalendar.ics\nnach (konfigurierbar) drei Minuten.\nAus Sicherheitsgründen wird noch einmal\nnach 10 Min. abgespeichert, wenn keine\nÄnderungen vorgenommen wurden. Die \nDaten werden automatisch gespeichert,\nwenn KO/Pi beendet wird.\nSie können eine Backup-Datei erstellen im\nMenu: Datei - Speichere Kalender Backup\n" }, 1038{ "After changing something, the data is\nautomatically saved to the file\n~/kdepim/apps/korganizer/mycalendar.ics\nafter (configurable) three minutes.\nFor safety reasons there is one autosaving\nafter 10 minutes (of idle time) again. The \ndata is saved automatically when closing KO/Pi\nYou can create a backup file \nwith: File - Save Calendar Backup\n","Nachdem etwas geändert wurde, werden die\nDaten automatisch in die Datei abgespeichert\n~/kdepim/apps/korganizer/mycalendar.ics\nnach (konfigurierbar) drei Minuten.\nAus Sicherheitsgründen wird noch einmal\nnach 10 Min. abgespeichert, wenn keine\nÄnderungen vorgenommen wurden. Die \nDaten werden automatisch gespeichert,\nwenn KO/Pi beendet wird.\nSie können eine Backup-Datei erstellen im\nMenu: Datei - Speichere Kalender Backup\n" },
1039{ "Auto Saving in KOrganizer/Pi","Auto Speichern in KOrganizer/Pi" }, 1039{ "Auto Saving in KOrganizer/Pi","Auto Speichern in KOrganizer/Pi" },
1040{ "\nhttp://sourceforge.net/projects/kdepimpi\n","\nhttp://sourceforge.net/projects/kdepimpi\n" }, 1040{ "\nhttp://sourceforge.net/projects/kdepimpi\n","\nhttp://sourceforge.net/projects/kdepimpi\n" },
1041{ "\nor report them in the bugtracker on\n","\noder trage sie in dem Bugtracker ein auf\n" }, 1041{ "\nor report them in the bugtracker on\n","\noder trage sie in dem Bugtracker ein auf\n" },
1042{ "\nPlease report unexpected behaviour to\nlutz@pi-sync.net\n","\nBitte melde fehlerhaftes Verhalten an\nlutz@pi-sync.net\n" }, 1042{ "\nPlease report unexpected behaviour to\nlutz@pi-sync.net\n","\nBitte melde fehlerhaftes Verhalten an\nlutz@pi-sync.net\n" },
1043{ "2) Audio alarm daemon\nfor Zaurus is available!\nas an additional small application\n","2) Ein Audio Alarm Daemon\nfür den Zaurus ist verfügbar\nals zusätzliche Anwendung\n" }, 1043{ "2) Audio alarm daemon\nfor Zaurus is available!\nas an additional small application\n","2) Ein Audio Alarm Daemon\nfür den Zaurus ist verfügbar\nals zusätzliche Anwendung\n" },
1044{ "1) Importing *.vcs or *.ics files from\nother applications may not work properly,\nif there are events with properties\nKO/Pi does not support.\n","1) Importieren von *.vcs oder *.ics Dateien von\nanderen Anwendungen kann möglicherweise\n nicht richtig funktionieren,\nwenn die Termine Eigenschaften haben,\ndie KO/Pi nicht unterstützt.\n" }, 1044{ "1) Importing *.vcs or *.ics files from\nother applications may not work properly,\nif there are events with properties\nKO/Pi does not support.\n","1) Importieren von *.vcs oder *.ics Dateien von\nanderen Anwendungen kann möglicherweise\n nicht richtig funktionieren,\nwenn die Termine Eigenschaften haben,\ndie KO/Pi nicht unterstützt.\n" },
1045{ "Known Problems in KOrganizer/Pi","Bekannte Probleme in KOrganizer/Pi" }, 1045{ "Known Problems in KOrganizer/Pi","Bekannte Probleme in KOrganizer/Pi" },
1046{ "KO/Pi FAQ","KO/Pi FAQ" }, 1046{ "KO/Pi FAQ","KO/Pi FAQ" },
1047{ "PDA-Edition\nfor: Zaurus 5x00/7x0/860/3000/6000\n","PDA-Edition\nfür: Zaurus 5x00/7x0/860/3000/6000\n" }, 1047{ "PDA-Edition\nfor: Zaurus 5x00/7x0/860/3000/6000\n","PDA-Edition\nfür: Zaurus 5x00/7x0/860/3000/6000\n" },
1048{ "KOrganizer/Platform-independent\n","KOrganizer/Platform-independent\n" }, 1048{ "KOrganizer/Platform-independent\n","KOrganizer/Platform-independent\n" },
1049{ "About KOrganizer/Pi","Über KOrganizer/Pi" }, 1049{ "About KOrganizer/Pi","Über KOrganizer/Pi" },
1050{ "From: ","Von: " }, 1050{ "From: ","Von: " },
1051{ "Remove sync info","Entferne Sync Info" }, 1051{ "Remove sync info","Entferne Sync Info" },
1052{ "For all profiles","Für alle Profile" }, 1052{ "For all profiles","Für alle Profile" },
1053{ "Hide not Running","Verstecke nicht Laufende" }, 1053{ "Hide not Running","Verstecke nicht Laufende" },
1054{ "ME","ME" }, 1054{ "ME","ME" },
1055{ "Toolbar","Toolbar" }, 1055{ "Toolbar","Toolbar" },
1056{ "Undo Delete...","Löschen rückgängig machen..." }, 1056{ "Undo Delete...","Löschen rückgängig machen..." },
1057{ "Undo Delete","Löschen rückgängig machen" }, 1057{ "Undo Delete","Löschen rückgängig machen" },
1058{ "KDE Sync HowTo...","KDE Sync HowTo..." }, 1058{ "KDE Sync HowTo...","KDE Sync HowTo..." },
1059{ "Multi Sync HowTo...","Multi Sync HowTo..." }, 1059{ "Multi Sync HowTo...","Multi Sync HowTo..." },
1060{ "Januar","Januar" }, 1060{ "Januar","Januar" },
1061{ "KO/Pi Keys + Colors","KO/Pi Tasten + Farben" }, 1061{ "KO/Pi Keys + Colors","KO/Pi Tasten + Farben" },
1062{ "No Filter","Kein Filter" }, 1062{ "No Filter","Kein Filter" },
1063{ "Multiple Sync options","Multi Sync Optionen" }, 1063{ "Multiple Sync options","Multi Sync Optionen" },
1064{ "Sync algo options","Sync Ablauf Optionen" }, 1064{ "Sync algo options","Sync Ablauf Optionen" },
1065{ "Apply filter when adding data to local:","Filter für das Hinzufügen von Daten zu Lokal:" }, 1065{ "Apply filter when adding data to local:","Filter für das Hinzufügen von Daten zu Lokal:" },
1066{ "Incoming calendar filter:","Eingehender Kalender Filter:" }, 1066{ "Incoming calendar filter:","Eingehender Kalender Filter:" },
1067{ "Incoming addressbook filter:","Eingehender Adressbuch Filter:" }, 1067{ "Incoming addressbook filter:","Eingehender Adressbuch Filter:" },
1068{ "Write back options","Optionen zum Zurückschreiben" }, 1068{ "Write back options","Optionen zum Zurückschreiben" },
1069{ "Write back (on remote) existing entries only","Schreibe nur existierende (auf Entfernt) Einträge zurück" }, 1069{ "Write back (on remote) existing entries only","Schreibe nur existierende (auf Entfernt) Einträge zurück" },
1070{ "Apply filter when adding data to remote:","Filter für das Hinzufügen von Daten zu Entfernt:" }, 1070{ "Apply filter when adding data to remote:","Filter für das Hinzufügen von Daten zu Entfernt:" },
1071{ "Outgoing calendar filter:","Ausgehender Kalender Filter:" }, 1071{ "Outgoing calendar filter:","Ausgehender Kalender Filter:" },
1072{ "Outgoing addressbook filter:","Ausgehender Adressbuch Filter:" }, 1072{ "Outgoing addressbook filter:","Ausgehender Adressbuch Filter:" },
1073{ "Write back (calendar) entries for time period only","Schreibe nur Kalender Einträge für Zeitspanne zurück" }, 1073{ "Write back (calendar) entries for time period only","Schreibe nur Kalender Einträge für Zeitspanne zurück" },
1074{ "Time period","Zeitspanne" }, 1074{ "Time period","Zeitspanne" },
1075{ "From ","Von " }, 1075{ "From ","Von " },
1076{ " weeks in the past to "," Wochen in der Vergangenheit bis zu " }, 1076{ " weeks in the past to "," Wochen in der Vergangenheit bis zu " },
1077{ " weeks in the future "," Wochen in der Zukunft " }, 1077{ " weeks in the future "," Wochen in der Zukunft " },
1078{ "Profile kind specific settings","Profil Art abhängige Einstellungen" }, 1078{ "Profile kind specific settings","Profil Art abhängige Einstellungen" },
1079{ "Local temp file:","Lokale temp Datei:" }, 1079{ "Local temp file:","Lokale temp Datei:" },
1080{ "Multiple profiles with same name!\nPlease use unique profile names!","Mehrere Profile mit demselben Namen!\nBitte verschiedene Namen benutzen!" }, 1080{ "Multiple profiles with same name!\nPlease use unique profile names!","Mehrere Profile mit demselben Namen!\nBitte verschiedene Namen benutzen!" },
1081{ "Aborted! Nothing synced!","Abgebrochen! Nichts wurde gesynct!" }, 1081{ "Aborted! Nothing synced!","Abgebrochen! Nichts wurde gesynct!" },
1082{ "Language","Sprache" }, 1082{ "Language","Sprache" },
1083{ "Time Format","Zeit Format" }, 1083{ "Time Format","Zeit Format" },
1084{ "Time Zone","Zeit Zone" }, 1084{ "Time Zone","Zeit Zone" },
1085{ "%1 groups subscribed","%1 Guppen abboniert" }, 1085{ "%1 groups subscribed","%1 Guppen abboniert" },
1086{ "Your current storage dir is:\n%1\nYour mail is stored in:\n(storagedir)/apps/kopiemail/localmail","Aktuelles Speicherverzeichnis ist:\n%1\nIhre Mail wird gespeichert in:\n(speicherverz.)/apps/kopiemail/localmail" }, 1086{ "Your current storage dir is:\n%1\nYour mail is stored in:\n(storagedir)/apps/kopiemail/localmail","Aktuelles Speicherverzeichnis ist:\n%1\nIhre Mail wird gespeichert in:\n(speicherverz.)/apps/kopiemail/localmail" },
1087{ "<b>New data storage dir:</b>","<b>Neues Datenspeicherverzeichnis:</b>" }, 1087{ "<b>New data storage dir:</b>","<b>Neues Datenspeicherverzeichnis:</b>" },
1088{ "New dirs are created automatically","Neue Verzeichnisse werden aut. erstellt" }, 1088{ "New dirs are created automatically","Neue Verzeichnisse werden aut. erstellt" },
1089{ "Save settings","Speichere Einstellungen" }, 1089{ "Save settings","Speichere Einstellungen" },
1090{ "Save standard","Speichere Standard" }, 1090{ "Save standard","Speichere Standard" },
1091{ "<b>New settings are used\nafter a restart</b>","<b>Neue Einstellungen werden nach\neinem Neustart genutzt</b>" }, 1091{ "<b>New settings are used\nafter a restart</b>","<b>Neue Einstellungen werden nach\neinem Neustart genutzt</b>" },
1092{ "Settings are stored in\n%1","Einstellungen werden gespeichert in:\n%1" }, 1092{ "Settings are stored in\n%1","Einstellungen werden gespeichert in:\n%1" },
1093{ "Data storage path","Daten Speicherpfad" }, 1093{ "Data storage path","Daten Speicherpfad" },
1094{ "Language","Sprache" }, 1094{ "Language","Sprache" },
1095{ "Show time in agenda items","Zeige Zeit in Agenda Items" }, 1095{ "Show time in agenda items","Zeige Zeit in Agenda Items" },
1096{ "Color for Sundays + category "Holiday"","Farbe für Sonntags + Kategorie "Feiertag"" }, 1096{ "Color for Sundays + category "Holiday"","Farbe für Sonntags + Kategorie "Feiertag"" },
1097{ "Show events, that are done in \nWhat's Next view","Zeige abgelaufene Termine in\nWhat's Next Ansicht" }, 1097{ "Show events, that are done in \nWhat's Next view","Zeige abgelaufene Termine in\nWhat's Next Ansicht" },
1098{ "Hide not running Todos in To-do view","Verstecke nicht laufende Todos" }, 1098{ "Hide not running Todos in To-do view","Verstecke nicht laufende Todos" },
1099{ "+01:00 Europe/Oslo(CET)","+01:00 Europe/Oslo(CET)" }, 1099{ "+01:00 Europe/Oslo(CET)","+01:00 Europe/Oslo(CET)" },
1100{ "KO/Pi","KO/Pi" }, 1100{ "KO/Pi","KO/Pi" },
1101{ "There is nothing to undo!","Es gibt nichts zum\nRückgängigmachen!" }, 1101{ "There is nothing to undo!","Es gibt nichts zum\nRückgängigmachen!" },
1102{ "Recreating edit dialog. Please wait...","Recreating edit dialog. Please wait..." }, 1102{ "Recreating edit dialog. Please wait...","Recreating edit dialog. Please wait..." },
1103{ "Sound.Al.: ","Sound.Al.: " }, 1103{ "Sound.Al.: ","Sound.Al.: " },
1104{ "From: %1 To: %2 %3","Von: %1 Bis: %2 %3" }, 1104{ "From: %1 To: %2 %3","Von: %1 Bis: %2 %3" },
1105{ "Restore","Wiederherstellen" }, 1105{ "Restore","Wiederherstellen" },
1106{ "\nAre you sure you want\nto restore this?","\nMöchten Sie das wirklicht\nwiederherstellen?" }, 1106{ "\nAre you sure you want\nto restore this?","\nMöchten Sie das wirklicht\nwiederherstellen?" },
1107{ "% completed","% komplett" }, 1107{ "% completed","% komplett" },
1108{ "%d item(s) found.","%d Item(s) gefunden." }, 1108{ "%d item(s) found.","%d Item(s) gefunden." },
1109{ "Set complete","Setze auf erledigt" }, 1109{ "Set complete","Setze auf erledigt" },
1110{ "(cancelled)","(gecancelt)" }, 1110{ "(cancelled)","(gecancelt)" },
1111{ "Click on the week number to\nshow week in agenda view","Klicke auf die Wochennummer\num die Woche in der Agenda anzuzeigen" }, 1111{ "Click on the week number to\nshow week in agenda view","Klicke auf die Wochennummer\num die Woche in der Agenda anzuzeigen" },
1112{ " Local time "," Locale Zeit " }, 1112{ " Local time "," Locale Zeit " },
1113{ "Form2","Form2" }, 1113{ "Form2","Form2" },
1114{ "Filter enabled","Filter angeschaltet" }, 1114{ "Filter enabled","Filter angeschaltet" },
1115{ "Edit Filters","Ändere Filter" }, 1115{ "Edit Filters","Ändere Filter" },
1116{ "Print What's Next View...","Drucke What's Next Ansicht..." }, 1116{ "Print What's Next View...","Drucke What's Next Ansicht..." },
1117{ "Agenda","Agenda" }, 1117{ "Agenda","Agenda" },
1118{ " ("," (" }, 1118{ " ("," (" },
1119{ "<p><b>Due on:</b> %1</p>","<p><b>Fällig am:</b> %1</p>" }, 1119{ "<p><b>Due on:</b> %1</p>","<p><b>Fällig am:</b> %1</p>" },
1120{ "Print","Print" }, 1120{ "Print","Print" },
1121{ "&Setup Printer...","Drucker &Setup..." }, 1121{ "&Setup Printer...","Drucker &Setup..." },
1122{ "View Type","Zeige Typ" }, 1122{ "View Type","Zeige Typ" },
1123{ "Page &orientation:","Seiten Ausrichtung:" }, 1123{ "Page &orientation:","Seiten Ausrichtung:" },
1124{ "Use Default of Selected Style","Default des selektierten Stils" }, 1124{ "Use Default of Selected Style","Default des selektierten Stils" },
1125{ "Use Default Setting of Printer","Default Einstellung des Druckers" }, 1125{ "Use Default Setting of Printer","Default Einstellung des Druckers" },
1126{ "Portrait","Portrait" }, 1126{ "Portrait","Portrait" },
1127{ "Landscape","Landschaft" }, 1127{ "Landscape","Landschaft" },
1128{ "Print day","Drucke Tag" }, 1128{ "Print day","Drucke Tag" },
1129{ "CalPrintDay_Base","CalPrintDay_Base" }, 1129{ "CalPrintDay_Base","CalPrintDay_Base" },
1130{ "Date && Time Range","Datum && Zeitspanne" }, 1130{ "Date && Time Range","Datum && Zeitspanne" },
1131{ "&End date:","&Enddatum:" }, 1131{ "&End date:","&Enddatum:" },
1132{ "&Start date:","&Startdatum:" }, 1132{ "&Start date:","&Startdatum:" },
1133{ "Start &time:","Startzeit:" }, 1133{ "Start &time:","Startzeit:" },
1134{ "End ti&me:","Endzeit:" }, 1134{ "End ti&me:","Endzeit:" },
1135{ "E&xtend time range to include all events","Erweitere Zeitspanne um alle Termine einzuschliessen" }, 1135{ "E&xtend time range to include all events","Erweitere Zeitspanne um alle Termine einzuschliessen" },
1136{ "Include to&dos that are due on the printed day(s)","Inclusive To&dos, die an den selektierten Tagen fällig sind" }, 1136{ "Include to&dos that are due on the printed day(s)","Inclusive To&dos, die an den selektierten Tagen fällig sind" },
1137{ "Alt+D","Alt+D" }, 1137{ "Alt+D","Alt+D" },
1138{ "&Use colors","Nutze Farben" }, 1138{ "&Use colors","Nutze Farben" },
1139{ "Alt+U","Alt+U" }, 1139{ "Alt+U","Alt+U" },
1140{ "Print week","Drucke Woche" }, 1140{ "Print week","Drucke Woche" },
1141{ "CalPrintWeek_Base","CalPrintWeek_Base" }, 1141{ "CalPrintWeek_Base","CalPrintWeek_Base" },
1142{ "Use &colors","Nutze Farben" }, 1142{ "Use &colors","Nutze Farben" },
1143{ "Type of View","Typ der Ansicht" }, 1143{ "Type of View","Typ der Ansicht" },
1144{ "Print as &Filofax page","Drucke als &Filofax Seite" }, 1144{ "Print as &Filofax page","Drucke als &Filofax Seite" },
1145{ "Alt+F","Alt+F" }, 1145{ "Alt+F","Alt+F" },
1146{ "Print as &timetable view:","Drucke als Zeittabelle:" }, 1146{ "Print as &timetable view:","Drucke als Zeittabelle:" },
1147{ "Alt+T","Alt+T" }, 1147{ "Alt+T","Alt+T" },
1148{ "Print as split week view","Drucke als gesplittete Wochenansicht" }, 1148{ "Print as split week view","Drucke als gesplittete Wochenansicht" },
1149{ "Print month","Drucke Monat" }, 1149{ "Print month","Drucke Monat" },
1150{ "CalPrintMonth_Base","CalPrintMonth_Base" }, 1150{ "CalPrintMonth_Base","CalPrintMonth_Base" },
1151{ "&Start month:","&Startmonat:" }, 1151{ "&Start month:","&Startmonat:" },
1152{ "&End month:","&Endmonat:" }, 1152{ "&End month:","&Endmonat:" },
1153{ "Print week &numbers","Drucke Wochen Nummer(n)" }, 1153{ "Print week &numbers","Drucke Wochen Nummer(n)" },
1154{ "Print todos","Drucke Todos" }, 1154{ "Print todos","Drucke Todos" },
1155{ "CalPrintTodoConfig_Base","CalPrintTodoConfig_Base" }, 1155{ "CalPrintTodoConfig_Base","CalPrintTodoConfig_Base" },
1156{ "Include &description of the item","Inclusive Itembeschreibung" }, 1156{ "Include &description of the item","Inclusive Itembeschreibung" },
1157{ "Include d&ue date of the item","Inclusive Fälligkeitsdatum des Items" }, 1157{ "Include d&ue date of the item","Inclusive Fälligkeitsdatum des Items" },
1158{ "Include &priority of the item","Inclusive Priorität des Items" }, 1158{ "Include &priority of the item","Inclusive Priorität des Items" },
@@ -1162,139 +1162,139 @@
1162{ "Print &all todo items","Drucke alle Todo Items" }, 1162{ "Print &all todo items","Drucke alle Todo Items" },
1163{ "Print only &uncompleted items","Drucke nur nicht erledigte Todos" }, 1163{ "Print only &uncompleted items","Drucke nur nicht erledigte Todos" },
1164{ "Only items due in the &range:","Nur Items in dem Zeitraum:" }, 1164{ "Only items due in the &range:","Nur Items in dem Zeitraum:" },
1165{ "Todo List","Todo Liste" }, 1165{ "Todo List","Todo Liste" },
1166{ "&Title:","&Titel:" }, 1166{ "&Title:","&Titel:" },
1167{ "Co&nnect subtodos with its parent","Verbinde Unter-Todos mit ihren Ober-Todos" }, 1167{ "Co&nnect subtodos with its parent","Verbinde Unter-Todos mit ihren Ober-Todos" },
1168{ "Todo list","Todo Liste" }, 1168{ "Todo list","Todo Liste" },
1169{ "&Print...","Drucke..." }, 1169{ "&Print...","Drucke..." },
1170{ "<qt>Printing on printer <b>%1</b></qt>","<qt>Drucke auf Drucker <b>%1</b></qt>" }, 1170{ "<qt>Printing on printer <b>%1</b></qt>","<qt>Drucke auf Drucker <b>%1</b></qt>" },
1171{ "[Unconfigured]","[Unkonfiguriert]" }, 1171{ "[Unconfigured]","[Unkonfiguriert]" },
1172{ "OK","OK" }, 1172{ "OK","OK" },
1173{ "FilterEditor","FilterEditor" }, 1173{ "FilterEditor","FilterEditor" },
1174{ "Include","Inclusive" }, 1174{ "Include","Inclusive" },
1175{ "Exclude","Exclusive" }, 1175{ "Exclude","Exclusive" },
1176{ "Edit Selection...","Editiere Auswahl" }, 1176{ "Edit Selection...","Editiere Auswahl" },
1177{ "recurring events","wiederholende Termine" }, 1177{ "recurring events","wiederholende Termine" },
1178{ "recurr. events","wiederh.Termine" }, 1178{ "recurr. events","wiederh.Termine" },
1179{ "completed to-dos","erledigte Todos" }, 1179{ "completed to-dos","erledigte Todos" },
1180{ "events","Termine" }, 1180{ "events","Termine" },
1181{ "todos","Todos" }, 1181{ "todos","Todos" },
1182{ "journals","Journale" }, 1182{ "journals","Journale" },
1183{ "public","öffentl." }, 1183{ "public","öffentl." },
1184{ "private","privat" }, 1184{ "private","privat" },
1185{ "confidential","vertraul." }, 1185{ "confidential","vertraul." },
1186{ "\nhas sub-todos.\nAll completed sub-todos\nwill be deleted as well!","\nhat Unter-Todos.\nAlle erledigten Unter-Todos\nwerden auch gelöscht!" }, 1186{ "\nhas sub-todos.\nAll completed sub-todos\nwill be deleted as well!","\nhat Unter-Todos.\nAlle erledigten Unter-Todos\nwerden auch gelöscht!" },
1187{ "Yesterday","Gestern" }, 1187{ "Yesterday","Gestern" },
1188{ "Day after tomorrow","Übermorgen" }, 1188{ "Day after tomorrow","Übermorgen" },
1189{ "Tomorrow","Morgen" }, 1189{ "Tomorrow","Morgen" },
1190{ "Day before yesterday","Vorgestern" }, 1190{ "Day before yesterday","Vorgestern" },
1191{ "Size %1","Größe %1" }, 1191{ "Size %1","Größe %1" },
1192{ "New Agendasize: %1","Neue Agendagröße: %1" }, 1192{ "New Agendasize: %1","Neue Agendagröße: %1" },
1193{ " (%1 y.)"," (%1 J.)" }, 1193{ " (%1 y.)"," (%1 J.)" },
1194{ "Allday:","Ganztägig:" }, 1194{ "Allday:","Ganztägig:" },
1195{ "compl.todos","erled.Todos" }, 1195{ "compl.todos","erled.Todos" },
1196{ "Day view","Tagesansicht" }, 1196{ "Day view","Tagesansicht" },
1197{ "Next days","Nächste Tage" }, 1197{ "Next days","Nächste Tage" },
1198{ "Next week","Nächste Woche" }, 1198{ "Next week","Nächste Woche" },
1199{ "Next two weeks","Nächste zwei Wochen" }, 1199{ "Next two weeks","Nächste zwei Wochen" },
1200{ "Next month","Nächster Monat" }, 1200{ "Next month","Nächster Monat" },
1201{ "Journal view","Journal" }, 1201{ "Journal view","Journal" },
1202{ "Display all opened","Zeige alle geöffnet" }, 1202{ "Display all opened","Zeige alle geöffnet" },
1203{ "Display all closed","Zeige alle geschlossen" }, 1203{ "Display all closed","Zeige alle geschlossen" },
1204{ "Display all flat","Zeige alle flach" }, 1204{ "Display all flat","Zeige alle flach" },
1205{ "<p><i>Completed on %1</i></p>","<p><i>Erledigt am %1</i></p>" }, 1205{ "<p><i>Completed on %1</i></p>","<p><i>Erledigt am %1</i></p>" },
1206{ "Default todo done color:","Standard Todo erledigt Farbe" }, 1206{ "Default todo done color:","Standard Todo erledigt Farbe" },
1207{ "Select week %1-%2","Wähle Woche %1-%2" }, 1207{ "Select week %1-%2","Wähle Woche %1-%2" },
1208{ "Select Week","Wähle Woche" }, 1208{ "Select Week","Wähle Woche" },
1209{ "Set alarm for selected...","Setze Alarm für Selekt..." }, 1209{ "Set alarm for selected...","Setze Alarm für Selekt..." },
1210{ "Set Alarm!","Setze Alarm!" }, 1210{ "Set Alarm!","Setze Alarm!" },
1211{ "Canged alarm for %1 items","Alarm für %1 Items geändert" }, 1211{ "Canged alarm for %1 items","Alarm für %1 Items geändert" },
1212{ " and "," und " }, 1212{ " and "," und " },
1213{ "<IMG src="%1"> only )","nur <IMG src="%1"> )" }, 1213{ "<IMG src="%1"> only )","nur <IMG src="%1"> )" },
1214{ "Mail to selected","Mail an Ausgewählte" }, 1214{ "Mail to selected","Mail an Ausgewählte" },
1215{ "Mail to all","Mail an Alle" }, 1215{ "Mail to all","Mail an Alle" },
1216{ "Week view mode uses bigger font","Wochenansicht Modus nutzt größeren Font" }, 1216{ "Week view mode uses bigger font","Wochenansicht Modus nutzt größeren Font" },
1217{ "Set reminder ON with offset to:","Alarm AN mit Offset auf:" }, 1217{ "Set reminder ON with offset to:","Alarm AN mit Offset auf:" },
1218{ " on"," am" }, 1218{ " on"," am" },
1219{ " completed on "," erledigt am " }, 1219{ " completed on "," erledigt am " },
1220{ "Save as Event template","Speichere als Vorlage" }, 1220{ "Save as Event template","Speichere als Vorlage" },
1221{ "Load Event template","Lade Termin Vorlage" }, 1221{ "Load Event template","Lade Termin Vorlage" },
1222{ "Save as Journal template","Speichere als Journal Vorlage" }, 1222{ "Save as Journal template","Speichere als Journal Vorlage" },
1223{ "Insert Journal template","Füge Journal Vorlage ein" }, 1223{ "Insert Journal template","Füge Journal Vorlage ein" },
1224{ "Sub todos:<br>","Unter Todos:<br>" }, 1224{ "Sub todos:<br>","Unter Todos:<br>" },
1225{ "Parent todo:<br>","Über Todo:<br>" }, 1225{ "Parent todo:<br>","Über Todo:<br>" },
1226{ "Set current as color category","Setze Gewählte als Farbkategorie" }, 1226{ "Set current as color category","Setze Gewählte als Farbkategorie" },
1227{ " completed"," erledigt" }, 1227{ " completed"," erledigt" },
1228{ "(c)2004 Lutz Rogowski (rogowski@kde.org)\nKO/Pi is based on KOrganizer\n(c)2002,2003 Cornelius Schumacher\n(schumacher@kde.org) and the KDE team.\nKOrganizer/Pi is licensed under the GPL.\nKO/Pi can be compiled for\nLinux, Zaurus-PDA and Windows\nwww.pi-sync.net --- 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.net --- www.korganizer.org\nBesonderen Dank an Michael und Ben\nfür intensives Testen!" }, 1228{ "(c)2004 Lutz Rogowski (rogowski@kde.org)\nKO/Pi is based on KOrganizer\n(c)2002,2003 Cornelius Schumacher\n(schumacher@kde.org) and the KDE team.\nKOrganizer/Pi is licensed under the GPL.\nKO/Pi can be compiled for\nLinux, Zaurus-PDA and Windows\nwww.pi-sync.net --- 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.net --- www.korganizer.org\nBesonderen Dank an Michael und Ben\nfür intensives Testen!" },
1229{ "Syncing aborted. Nothing synced.","Syncing abgebrochen.Nichts wurde gesynct." }, 1229{ "Syncing aborted. Nothing synced.","Syncing abgebrochen.Nichts wurde gesynct." },
1230{ "Connected! Sending request for remote file ...","Verbunden! Sende Daten Anfrage..." }, 1230{ "Connected! Sending request for remote file ...","Verbunden! Sende Daten Anfrage..." },
1231{ "Trying to connect to remote...","Versuche mit Gegenstelle zu verbinden..." }, 1231{ "Trying to connect to remote...","Versuche mit Gegenstelle zu verbinden..." },
1232{ "Connection to remote\nhost timed out!\nDid you forgot to enable\nsyncing on remote host?","Verbindungsversuch wegen\nZeitüberschreitung gescheitert!\nWurde vergessen Pi-Sync auf\nder Gegenstelle anzuschalten?" }, 1232{ "Connection to remote\nhost timed out!\nDid you forgot to enable\nsyncing on remote host?","Verbindungsversuch wegen\nZeitüberschreitung gescheitert!\nWurde vergessen Pi-Sync auf\nder Gegenstelle anzuschalten?" },
1233{ "ERROR: Receiving remote file failed.","FEHLER: Empfang der entfernten Daten fehlgeschlagen." }, 1233{ "ERROR: Receiving remote file failed.","FEHLER: Empfang der entfernten Daten fehlgeschlagen." },
1234{ "Error","Fehler" }, 1234{ "Error","Fehler" },
1235{ ""You entered an invalid date!\n Date changed to current date.","Ungültiges Datum eingegeben.\nSetze heutiges Datum." }, 1235{ ""You entered an invalid date!\n Date changed to current date.","Ungültiges Datum eingegeben.\nSetze heutiges Datum." },
1236{ "You entered an invalid date!\n Will use current date instead.","Ungültiges Datum eingegeben.\nSetze stattdessen heutiges Datum." }, 1236{ "You entered an invalid date!\n Will use current date instead.","Ungültiges Datum eingegeben.\nSetze stattdessen heutiges Datum." },
1237{ "Warning","Warnung" }, 1237{ "Warning","Warnung" },
1238{ "Select week number","Wähle Wochen Nummer" }, 1238{ "Select week number","Wähle Wochen Nummer" },
1239{ "Februar","Februar" }, 1239{ "Februar","Februar" },
1240{ "Click on the week number to\nshow week zoomed","Klicke auf die Wochennummer\num die Woche groß zu zeigen" }, 1240{ "Click on the week number to\nshow week zoomed","Klicke auf die Wochennummer\num die Woche groß zu zeigen" },
1241{ "W","W" }, 1241{ "W","W" },
1242{ "Click on this to\nselect week number","Klicke hierauf um\ndie Woche auszuwählen" }, 1242{ "Click on this to\nselect week number","Klicke hierauf um\ndie Woche auszuwählen" },
1243{ "T: %1","T: %1" }, 1243{ "T: %1","T: %1" },
1244{ "Start: ","Start: " }, 1244{ "Start: ","Start: " },
1245{ "Pi-Sync options for device: ","Pi-Sync Einstellungen für Gerät: " }, 1245{ "Pi-Sync options for device: ","Pi-Sync Einstellungen für Gerät: " },
1246{ "Password for remote access:","Passwort für fernen Zugriff:" }, 1246{ "Password for remote access:","Passwort für fernen Zugriff:" },
1247{ "Remote IP address:","Ferne IP Adresse:" }, 1247{ "Remote IP address:","Ferne IP Adresse:" },
1248{ "Remote port number:","Ferne Port Nummer:" }, 1248{ "Remote port number:","Ferne Port Nummer:" },
1249{ "Remote file saved to temp file.","Ferne Daten in temp Datei gespeichert." }, 1249{ "Remote file saved to temp file.","Ferne Daten in temp Datei gespeichert." },
1250{ "Remote from: ","Fern von: " }, 1250{ "Remote from: ","Fern von: " },
1251{ "Local from: ","Lokal von: " }, 1251{ "Local from: ","Lokal von: " },
1252{ "Synchronization summary:\n\n %d items added to local\n %d items added to remote\n %d items updated on local\n %d items updated on remote\n %d items deleted on local\n %d items deleted on remote\n %d incoming filtered out\n %d outgoing filtered out\n","Synchronisationsübersicht:\n\n %d lokal hinzugefügt\n %d fern hinzugefügt\n %d lokal geändert\n %d fern geändert\n %d lokal gelöscht\n %d fern gelöscht\n %d eingehende ausgefiltert\n %d ausgehende ausgefiltert\n" }, 1252{ "Synchronization summary:\n\n %d items added to local\n %d items added to remote\n %d items updated on local\n %d items updated on remote\n %d items deleted on local\n %d items deleted on remote\n %d incoming filtered out\n %d outgoing filtered out\n","Synchronisationsübersicht:\n\n %d lokal hinzugefügt\n %d fern hinzugefügt\n %d lokal geändert\n %d fern geändert\n %d lokal gelöscht\n %d fern gelöscht\n %d eingehende ausgefiltert\n %d ausgehende ausgefiltert\n" },
1253{ "Local calendar changed!\n","Lokaler Kalender geändert!\n" }, 1253{ "Local calendar changed!\n","Lokaler Kalender geändert!\n" },
1254{ "Write back","Schreibe zurück" }, 1254{ "Write back","Schreibe zurück" },
1255{ "KO/Pi Synchronization","KO/Pi Synchronisation" }, 1255{ "KO/Pi Synchronization","KO/Pi Synchronisation" },
1256{ "Pi-Sync succesful!","Pi-Sync erfolgreich!" }, 1256{ "Pi-Sync succesful!","Pi-Sync erfolgreich!" },
1257{ "Received sync request","Sync Anfrage erhalten" }, 1257{ "Received sync request","Sync Anfrage erhalten" },
1258{ "Synchronizing from remote ...\n\nDo not use this application!\n\nIf syncing fails\nyou can close this dialog.","Ferne Synchronisation ...\n\nBenutze diese Anwendung nicht!\n\nWenn das Syncen fehlschlägt kann\ndieser Dialog geschlossen werden." }, 1258{ "Synchronizing from remote ...\n\nDo not use this application!\n\nIf syncing fails\nyou can close this dialog.","Ferne Synchronisation ...\n\nBenutze diese Anwendung nicht!\n\nWenn das Syncen fehlschlägt kann\ndieser Dialog geschlossen werden." },
1259{ "Saving Data to temp file ...","Speichere Daten in temp Datei..." }, 1259{ "Saving Data to temp file ...","Speichere Daten in temp Datei..." },
1260{ "Data saved to temp file!","Daten in temp Datei gespeichert!" }, 1260{ "Data saved to temp file!","Daten in temp Datei gespeichert!" },
1261{ "Sending file...","Sende Datei..." }, 1261{ "Sending file...","Sende Datei..." },
1262{ "Waiting for synced file...","Warte auf gesyncte Daten..." }, 1262{ "Waiting for synced file...","Warte auf gesyncte Daten..." },
1263{ "Receiving synced file...","Gesyncte Daten erhalten..." }, 1263{ "Receiving synced file...","Gesyncte Daten erhalten..." },
1264{ "Received %1 bytes","%1 Bytes erhalten" }, 1264{ "Received %1 bytes","%1 Bytes erhalten" },
1265{ "Writing file to disk...","Speichere Datei..." }, 1265{ "Writing file to disk...","Speichere Datei..." },
1266{ "Pi-Sync successful!","Pi-Sync erfolgreich!" }, 1266{ "Pi-Sync successful!","Pi-Sync erfolgreich!" },
1267{ "Clock skew of\nsyncing devices\nis %1 seconds!","Uhrzeitunterschied der\nsyncenden Geräte\nist %1 Sekunden!" }, 1267{ "Clock skew of\nsyncing devices\nis %1 seconds!","Uhrzeitunterschied der\nsyncenden Geräte\nist %1 Sekunden!" },
1268{ "Synchronize!","Synchronisiere!" }, 1268{ "Synchronize!","Synchronisiere!" },
1269{ "High clock skew!","Großer Uhrzeitunterschied!" }, 1269{ "High clock skew!","Großer Uhrzeitunterschied!" },
1270{ "ADJUST\nYOUR\nCLOCKS!","JUSTIERE\nDIE\nUHREN!" }, 1270{ "ADJUST\nYOUR\nCLOCKS!","JUSTIERE\nDIE\nUHREN!" },
1271{ "The clocks of the syncing\ndevices have a difference\nof more than 5 minutes.\nPlease adjust your clocks.\nYou may get wrong syncing results!\nPlease confirm synchronization!","Die Uhren der syncenden Geräte\nhaben einen Unterschied von\nmehr als 5 Minuten. Bitte die\nUhrzeiten anpassen. Sie können\nfalsche Sync-Resultate erhalten!\nBitte das Syncen bestätigen!" }, 1271{ "The clocks of the syncing\ndevices have a difference\nof more than 5 minutes.\nPlease adjust your clocks.\nYou may get wrong syncing results!\nPlease confirm synchronization!","Die Uhren der syncenden Geräte\nhaben einen Unterschied von\nmehr als 5 Minuten. Bitte die\nUhrzeiten anpassen. Sie können\nfalsche Sync-Resultate erhalten!\nBitte das Syncen bestätigen!" },
1272{ "This is a %1 recurring todo.","Das ist eine %1 wiederholende Aufgabe." }, 1272{ "This is a %1 recurring todo.","Das ist eine %1 wiederholende Aufgabe." },
1273{ "<p><b>Start on:</b> %1</p>","<p><b>Start am:</b> %1</p>" }, 1273{ "<p><b>Start on:</b> %1</p>","<p><b>Start am:</b> %1</p>" },
1274{ "List week view","Listenwochenansicht" }, 1274{ "List week view","Listenwochenansicht" },
1275{ "List week","Listenwochenansicht" }, 1275{ "List week","Listenwochenansicht" },
1276{ "Next Week","Nächste Woche" }, 1276{ "Next Week","Nächste Woche" },
1277{ "Previous Week","Vorherige Woche" }, 1277{ "Previous Week","Vorherige Woche" },
1278{ "No items were found matching\nyour search expression.\nUse the wildcard characters\n'*' and '?' where needed.","Keine Einträge gefunden die\ndem Suchausdruck entsprechen.\nBenutze Platzhalter Zeichen\n'*' und '?' wo benötigt." }, 1278{ "No items were found matching\nyour search expression.\nUse the wildcard characters\n'*' and '?' where needed.","Keine Einträge gefunden die\ndem Suchausdruck entsprechen.\nBenutze Platzhalter Zeichen\n'*' und '?' wo benötigt." },
1279{ "Show in todo/event viewer:","Zeige in Termin/Todo Anzeige:" }, 1279{ "Show in todo/event viewer:","Zeige in Termin/Todo Anzeige:" },
1280{ "Details","Details" }, 1280{ "Details","Details" },
1281{ "Created time","Erstellt Zeit" }, 1281{ "Created time","Erstellt Zeit" },
1282{ "Last modified time","Geändert Zeit" }, 1282{ "Last modified time","Geändert Zeit" },
1283{ "Show in What'sThis quick overview:","Zeige in What'sThis Schnellübersicht:" }, 1283{ "Show in What'sThis quick overview:","Zeige in What'sThis Schnellübersicht:" },
1284{ "View Options","Anzeige Optionen" }, 1284{ "View Options","Anzeige Optionen" },
1285{ "<b>Created: ","<b>Erstellt am: " }, 1285{ "<b>Created: ","<b>Erstellt am: " },
1286{ "<b>Last modified: ","<b>Zuletzt geändert am: " }, 1286{ "<b>Last modified: ","<b>Zuletzt geändert am: " },
1287{ "Journal: ","Journal: " }, 1287{ "Journal: ","Journal: " },
1288{ "yearly","jährlich" }, 1288{ "yearly","jährlich" },
1289{ "(%1) ","%1-" }, 1289{ "(%1) ","%1-" },
1290{ "","" }, 1290{ "<p><b>K</b>: Week view in Month view syle</p>\n","<p><b>K</b>: Wochenansicht in Art der Monatsansicht</p>\n" },
1291{ "","" }, 1291{ "","" },
1292{ "","" }, 1292{ "","" },
1293{ "","" }, 1293{ "","" },
1294{ "","" }, 1294{ "","" },
1295{ "","" }, 1295{ "","" },
1296{ "","" }, 1296{ "","" },
1297{ "","" }, 1297{ "","" },
1298{ "","" }, 1298{ "","" },
1299{ "","" }, 1299{ "","" },
1300 1300
diff --git a/korganizer/koagendaitem.cpp b/korganizer/koagendaitem.cpp
index 7b29ce7..d0a7b07 100644
--- a/korganizer/koagendaitem.cpp
+++ b/korganizer/koagendaitem.cpp
@@ -282,259 +282,259 @@ void KOAgendaItem::select(bool selected)
282 282
283 283
284/* 284/*
285 The eventFilter has to filter the mouse events of the agenda item childs. The 285 The eventFilter has to filter the mouse events of the agenda item childs. The
286 events are fed into the event handling method of KOAgendaItem. This allows the 286 events are fed into the event handling method of KOAgendaItem. This allows the
287 KOAgenda to handle the KOAgendaItems by using an eventFilter. 287 KOAgenda to handle the KOAgendaItems by using an eventFilter.
288*/ 288*/
289bool KOAgendaItem::eventFilter ( QObject *object, QEvent *e ) 289bool KOAgendaItem::eventFilter ( QObject *object, QEvent *e )
290{ 290{
291 if (e->type() == QEvent::MouseButtonPress || 291 if (e->type() == QEvent::MouseButtonPress ||
292 e->type() == QEvent::MouseButtonDblClick || 292 e->type() == QEvent::MouseButtonDblClick ||
293 e->type() == QEvent::MouseButtonRelease || 293 e->type() == QEvent::MouseButtonRelease ||
294 e->type() == QEvent::MouseMove) { 294 e->type() == QEvent::MouseMove) {
295 QMouseEvent *me = (QMouseEvent *)e; 295 QMouseEvent *me = (QMouseEvent *)e;
296 QPoint itemPos = this->mapFromGlobal(((QWidget *)object)-> 296 QPoint itemPos = this->mapFromGlobal(((QWidget *)object)->
297 mapToGlobal(me->pos())); 297 mapToGlobal(me->pos()));
298 QMouseEvent returnEvent (e->type(),itemPos,me->button(),me->state()); 298 QMouseEvent returnEvent (e->type(),itemPos,me->button(),me->state());
299 return event(&returnEvent); 299 return event(&returnEvent);
300 } else { 300 } else {
301 return false; 301 return false;
302 } 302 }
303} 303}
304void KOAgendaItem::repaintMe( ) 304void KOAgendaItem::repaintMe( )
305{ 305{
306 paintMe ( mSelected ); 306 paintMe ( mSelected );
307} 307}
308void KOAgendaItem::paintMe( bool selected, QPainter* paint ) 308void KOAgendaItem::paintMe( bool selected, QPainter* paint )
309{ 309{
310 if ( globalFlagBlockAgendaItemUpdate && ! selected) 310 if ( globalFlagBlockAgendaItemUpdate && ! selected)
311 return; 311 return;
312 QPainter pa; 312 QPainter pa;
313 313
314 if ( mSelected ) { 314 if ( mSelected ) {
315 pa.begin( paintPixSel() ); 315 pa.begin( paintPixSel() );
316 } else { 316 } else {
317 if ( mAllDay ) 317 if ( mAllDay )
318 pa.begin( paintPixAllday() ); 318 pa.begin( paintPixAllday() );
319 else 319 else
320 pa.begin( paintPix() ); 320 pa.begin( paintPix() );
321 } 321 }
322 int x, yy, w, h; 322 int x, yy, w, h;
323 float nfh = 7.0; 323 float nfh = 7.0;
324 x = pos().x(); w = width(); h = height (); 324 x = pos().x(); w = width(); h = height ();
325 if ( mAllDay ) 325 if ( mAllDay )
326 yy = y(); 326 yy = y();
327 else 327 else
328 yy = mCellYTop * ( height() / cellHeight() ); 328 yy = mCellYTop * ( height() / cellHeight() );
329 xPaintCoord= x; 329 xPaintCoord= x;
330 yPaintCoord = yy; 330 yPaintCoord = yy;
331 wPaintCoord = width(); 331 wPaintCoord = width();
332 hPaintCoord = height(); 332 hPaintCoord = height();
333 //qDebug("paintMe %s %d %d %d %d",incidence()->summary().latin1(), x, yy, width(), height()); 333 //qDebug("paintMe %s %d %d %d %d",incidence()->summary().latin1(), x, yy, width(), height());
334 if ( paint == 0 ) 334 if ( paint == 0 )
335 paint = &pa; 335 paint = &pa;
336 bool horLayout = ( w < h ); 336 bool horLayout = ( w < h );
337 int maxhei = mFontPixelSize+4; 337 int maxhei = mFontPixelSize+4;
338 if ( horLayout ) 338 if ( horLayout )
339 maxhei += AGENDA_ICON_SIZE -4; 339 maxhei += AGENDA_ICON_SIZE -4;
340 bool small = ( h < maxhei ); 340 bool small = ( h < maxhei );
341 if ( ! small ) 341 if ( ! small )
342 paint->setFont(KOPrefs::instance()->mAgendaViewFont); 342 paint->setFont(KOPrefs::instance()->mAgendaViewFont);
343 else { 343 else {
344 QFont f = KOPrefs::instance()->mAgendaViewFont; 344 QFont f = KOPrefs::instance()->mAgendaViewFont;
345 f.setBold( false ); 345 f.setBold( false );
346 int fh = f.pointSize(); 346 int fh = f.pointSize();
347 nfh = (((float)height())/(float)(mFontPixelSize+4))*fh; 347 nfh = (((float)height())/(float)(mFontPixelSize+4))*fh;
348 if ( nfh < 6 ) 348 if ( nfh < 6 )
349 nfh = 6; 349 nfh = 6;
350 f.setPointSize( nfh ); 350 f.setPointSize( nfh );
351 paint->setFont(f); 351 paint->setFont(f);
352 } 352 }
353 paint->fillRect ( x, yy, w, h, mBackgroundColor ); 353 paint->fillRect ( x, yy, w, h, mBackgroundColor );
354 static const QPixmap completedPxmp = SmallIcon("greenhook16"); 354 static const QPixmap completedPxmp = SmallIcon("greenhook16");
355 static const QPixmap overduePxmp = SmallIcon("redcross16"); 355 static const QPixmap overduePxmp = SmallIcon("redcross16");
356 if ( mIncidence->type() == "Todo" ) { 356 if ( mIncidence->type() == "Todo" ) {
357 Todo* tempTodo = static_cast<Todo*>(mIncidence); 357 Todo* tempTodo = static_cast<Todo*>(mIncidence);
358 int xx = pos().x()+(width()-completedPxmp.width()-3 ); 358 int xx = pos().x()+(width()-completedPxmp.width()-3 );
359 int yyy = yy+3; 359 int yyy = yy+3;
360 if ( tempTodo->isCompleted() ) 360 if ( tempTodo->isCompleted() )
361 paint->drawPixmap ( xx, yyy, completedPxmp ); 361 paint->drawPixmap ( xx, yyy, completedPxmp );
362 else { 362 else {
363 paint->drawPixmap ( xx, yyy, overduePxmp ); 363 paint->drawPixmap ( xx, yyy, overduePxmp );
364 364
365 } 365 }
366 } 366 }
367 bool addIcon = false; 367 bool addIcon = false;
368 if ( ! small || w > 3 * h || h > 3* w ) 368 if ( ! small || w > 3 * h || h > 3* w )
369 addIcon = updateIcons( paint, horLayout ); 369 addIcon = updateIcons( paint, horLayout );
370 370
371 qDrawShadePanel (paint, x, yy, w, h, mColorGroup, selected , 2, 0); 371 qDrawShadePanel (paint, x, yy, w, h, mColorGroup, selected , 2, 0);
372 //qDebug("draw rect %d %d %d %d ",x, yy, w, h ); 372 //qDebug("draw rect %d %d %d %d ",x, yy, w, h );
373 if ( ! small ) { 373 if ( ! small ) {
374 x += 3; yy += 3;w -= 6; h-= 5; 374 x += 3; yy += 3;w -= 6; h-= 5;
375 } else { 375 } else {
376 x += 2; yy += 1;w -= 4; h-= 4; 376 x += 2; yy += 1;w -= 4; h-= 4;
377 if ( nfh < 6.01 ) { 377 if ( nfh < 6.01 ) {
378 yy -= 2; 378 yy -= 2;
379 h += 4; 379 h += 4;
380 } 380 }
381 else 381 else
382 if ( nfh < h -2 ) 382 if ( nfh < h -2 )
383 ++yy; 383 ++yy;
384 } 384 }
385 int align; 385 int align;
386#ifndef DESKTOP_VERSION 386#ifndef DESKTOP_VERSION
387 align = ( AlignLeft|WordBreak|AlignTop); 387 align = ( AlignLeft|WordBreak|AlignTop);
388#else 388#else
389 align = ( AlignLeft|BreakAnywhere|WordBreak|AlignTop); 389 align = ( AlignLeft|BreakAnywhere|WordBreak|AlignTop);
390#endif 390#endif
391 if ( addIcon ) { 391 if ( addIcon ) {
392 if ( ! horLayout ) { 392 if ( ! horLayout ) {
393 x += AGENDA_ICON_SIZE+3; 393 x += AGENDA_ICON_SIZE+3;
394 w -= (AGENDA_ICON_SIZE+3); 394 w -= (AGENDA_ICON_SIZE+3);
395 } 395 }
396 else { 396 else {
397 yy+= AGENDA_ICON_SIZE+2; 397 yy+= AGENDA_ICON_SIZE+2;
398 h -=(AGENDA_ICON_SIZE+3); 398 h -=(AGENDA_ICON_SIZE+3);
399 } 399 }
400 } 400 }
401 int colsum = mBackgroundColor.red() + mBackgroundColor.green() + mBackgroundColor.blue(); 401 int colsum = mBackgroundColor.red() + mBackgroundColor.green() + mBackgroundColor.blue();
402 if ( colsum < 250 ) 402 if ( colsum < 250 )
403 paint->setPen ( white); 403 paint->setPen ( white);
404 if ( x < 0 ) { 404 if ( x < 0 ) {
405 w = w+x-3; 405 w = w+x-3;
406 x = 3; 406 x = 3;
407 if ( w > parentWidget()->width() ){ 407 if ( w > parentWidget()->width() ){
408 w = parentWidget()->width() - 6; 408 w = parentWidget()->width() - 6;
409#ifndef DESKTOP_VERSION 409#ifndef DESKTOP_VERSION
410 align = ( AlignCenter|WordBreak); 410 align = ( AlignHCenter|WordBreak|AlignTop);
411#else 411#else
412 align = ( AlignCenter|BreakAnywhere|WordBreak); 412 align = ( AlignHCenter|BreakAnywhere|WordBreak|AlignTop);
413#endif 413#endif
414 414
415 } 415 }
416 } 416 }
417 QRect dr; 417 QRect dr;
418 if ( w + x > parentWidget()->width() ) 418 if ( w + x > parentWidget()->width() )
419 w = parentWidget()->width()-x; 419 w = parentWidget()->width()-x;
420 paint->drawText ( x, yy, w, h, align, mDisplayedText, -1, &dr ); 420 paint->drawText ( x, yy, w, h, align, mDisplayedText, -1, &dr );
421 //qDebug("%d %d %d %d ", x, yy, w, h ); 421 //qDebug("%d %d %d %d ", x, yy, w, h );
422 if ( mIncidence->cancelled() ){ 422 if ( mIncidence->cancelled() ){
423 if ( ! small ) { 423 if ( ! small ) {
424 QFontMetrics fm ( paint->font() ); 424 QFontMetrics fm ( paint->font() );
425 paint->drawLine(dr.left(), yy+fm.height()/2, dr.right()-2, yy+fm.height()/2); 425 paint->drawLine(dr.left(), yy+fm.height()/2, dr.right()-2, yy+fm.height()/2);
426 } 426 }
427 427
428 } 428 }
429 pa.end(); 429 pa.end();
430 430
431} 431}
432void KOAgendaItem::resizePixmap( int w , int h ) 432void KOAgendaItem::resizePixmap( int w , int h )
433{ 433{
434 paintPix()->resize( w, h ); 434 paintPix()->resize( w, h );
435 paintPixSel()->resize( w, h ); 435 paintPixSel()->resize( w, h );
436 436
437} 437}
438QPixmap * KOAgendaItem::paintPix() 438QPixmap * KOAgendaItem::paintPix()
439{ 439{
440 static QPixmap* mPaintPix = 0; 440 static QPixmap* mPaintPix = 0;
441 if ( ! mPaintPix ) 441 if ( ! mPaintPix )
442 mPaintPix = new QPixmap(1,1); 442 mPaintPix = new QPixmap(1,1);
443 return mPaintPix ; 443 return mPaintPix ;
444} 444}
445QPixmap * KOAgendaItem::paintPixAllday() 445QPixmap * KOAgendaItem::paintPixAllday()
446{ 446{
447 static QPixmap* mPaintPixA = 0; 447 static QPixmap* mPaintPixA = 0;
448 if ( ! mPaintPixA ) 448 if ( ! mPaintPixA )
449 mPaintPixA = new QPixmap(1,1); 449 mPaintPixA = new QPixmap(1,1);
450 return mPaintPixA ; 450 return mPaintPixA ;
451} 451}
452QPixmap * KOAgendaItem::paintPixSel() 452QPixmap * KOAgendaItem::paintPixSel()
453{ 453{
454 static QPixmap* mPaintPixSel = 0; 454 static QPixmap* mPaintPixSel = 0;
455 if ( ! mPaintPixSel ) 455 if ( ! mPaintPixSel )
456 mPaintPixSel = new QPixmap(1,1); 456 mPaintPixSel = new QPixmap(1,1);
457 return mPaintPixSel ; 457 return mPaintPixSel ;
458} 458}
459void KOAgendaItem::paintEvent ( QPaintEvent *e ) 459void KOAgendaItem::paintEvent ( QPaintEvent *e )
460{ 460{
461 461
462 if ( globalFlagBlockAgendaItemPaint ) 462 if ( globalFlagBlockAgendaItemPaint )
463 return; 463 return;
464 if ( globalFlagBlockAgenda > 0 && globalFlagBlockAgenda < 5 ) 464 if ( globalFlagBlockAgenda > 0 && globalFlagBlockAgenda < 5 )
465 return; 465 return;
466 int yy; 466 int yy;
467 if ( mAllDay ) 467 if ( mAllDay )
468 yy = y(); 468 yy = y();
469 else 469 else
470 yy = mCellYTop * ( height() / cellHeight() ); 470 yy = mCellYTop * ( height() / cellHeight() );
471 int xx = x(); 471 int xx = x();
472 if ( xPaintCoord != xx || yPaintCoord != yy || 472 if ( xPaintCoord != xx || yPaintCoord != yy ||
473 wPaintCoord != width() || hPaintCoord != height()) { 473 wPaintCoord != width() || hPaintCoord != height()) {
474 xPaintCoord= xx; 474 xPaintCoord= xx;
475 yPaintCoord = yy; 475 yPaintCoord = yy;
476 wPaintCoord = width(); 476 wPaintCoord = width();
477 hPaintCoord = height(); 477 hPaintCoord = height();
478 globalFlagBlockAgendaItemUpdate = 0; 478 globalFlagBlockAgendaItemUpdate = 0;
479 paintMe( mSelected ); 479 paintMe( mSelected );
480 //qDebug("calling paintMe "); 480 //qDebug("calling paintMe ");
481 globalFlagBlockAgendaItemUpdate = 1; 481 globalFlagBlockAgendaItemUpdate = 1;
482 } 482 }
483 int rx, ry, rw, rh; 483 int rx, ry, rw, rh;
484 rx = e->rect().x(); 484 rx = e->rect().x();
485 ry = e->rect().y(); 485 ry = e->rect().y();
486 rw = e->rect().width(); 486 rw = e->rect().width();
487 rh = e->rect().height(); 487 rh = e->rect().height();
488 //qDebug(" paintevent %s %d %d %d %d", mIncidence->summary().latin1(), x(), yy, width(), height()); 488 //qDebug(" paintevent %s %d %d %d %d", mIncidence->summary().latin1(), x(), yy, width(), height());
489 489
490 QPixmap* paintFrom ; 490 QPixmap* paintFrom ;
491 if ( mSelected ) { 491 if ( mSelected ) {
492 paintFrom = paintPixSel(); 492 paintFrom = paintPixSel();
493 } else { 493 } else {
494 if ( mAllDay ) 494 if ( mAllDay )
495 paintFrom = paintPixAllday(); 495 paintFrom = paintPixAllday();
496 else 496 else
497 paintFrom = paintPix(); 497 paintFrom = paintPix();
498 } 498 }
499 bitBlt (this, rx, ry, paintFrom, x()+rx ,yPaintCoord+ry, rw, rh ,CopyROP); 499 bitBlt (this, rx, ry, paintFrom, x()+rx ,yPaintCoord+ry, rw, rh ,CopyROP);
500} 500}
501void KOAgendaItem::computeText() 501void KOAgendaItem::computeText()
502{ 502{
503 503
504 mDisplayedText = mIncidence->summary(); 504 mDisplayedText = mIncidence->summary();
505 if ( (mIncidence->type() == "Todo") ) { 505 if ( (mIncidence->type() == "Todo") ) {
506 if ( static_cast<Todo*>(mIncidence)->hasDueDate() ) { 506 if ( static_cast<Todo*>(mIncidence)->hasDueDate() ) {
507 if ( static_cast<Todo*>(mIncidence)->dtDue().date() < QDate::currentDate() ) 507 if ( static_cast<Todo*>(mIncidence)->dtDue().date() < QDate::currentDate() )
508 mDisplayedText += i18n(" (") +KGlobal::locale()->formatDate((static_cast<Todo*>(mIncidence))->dtDue().date(), true)+")"; 508 mDisplayedText += i18n(" (") +KGlobal::locale()->formatDate((static_cast<Todo*>(mIncidence))->dtDue().date(), true)+")";
509 else if ( !(mIncidence->doesFloat())) 509 else if ( !(mIncidence->doesFloat()))
510 mDisplayedText += i18n(" (") +KGlobal::locale()->formatTime((static_cast<Todo*>(mIncidence))->dtDue().time())+")"; 510 mDisplayedText += i18n(" (") +KGlobal::locale()->formatTime((static_cast<Todo*>(mIncidence))->dtDue().time())+")";
511 } 511 }
512 } else { 512 } else {
513 if ( !(mIncidence->doesFloat()) && KOPrefs::instance()->mShowTimeInAgenda) 513 if ( !(mIncidence->doesFloat()) && KOPrefs::instance()->mShowTimeInAgenda)
514 mDisplayedText += ": " +KGlobal::locale()->formatTime((static_cast<Event*>(mIncidence))->dtStart().time()) + "-" + KGlobal::locale()->formatTime((static_cast<Event*>(mIncidence))->dtEnd().time()) ; 514 mDisplayedText += ": " +KGlobal::locale()->formatTime((static_cast<Event*>(mIncidence))->dtStart().time()) + "-" + KGlobal::locale()->formatTime((static_cast<Event*>(mIncidence))->dtEnd().time()) ;
515 515
516 if ( mAllDay ) { 516 if ( mAllDay ) {
517 if ( mIncidence->dtStart().date().addDays(3) < mIncidence->dtEnd().date() ) { 517 if ( mIncidence->dtStart().date().addDays(3) < mIncidence->dtEnd().date() ) {
518 mDisplayedText += ": " +KGlobal::locale()->formatDate((static_cast<Event*>(mIncidence))->dtStart().date(), true) + " - " + KGlobal::locale()->formatDate((static_cast<Event*>(mIncidence))->dtEnd().date(), true) ; 518 mDisplayedText += ": " +KGlobal::locale()->formatDate((static_cast<Event*>(mIncidence))->dtStart().date(), true) + " - " + KGlobal::locale()->formatDate((static_cast<Event*>(mIncidence))->dtEnd().date(), true) ;
519 } 519 }
520 } 520 }
521 521
522 } 522 }
523 523
524 if ( !mIncidence->location().isEmpty() ) { 524 if ( !mIncidence->location().isEmpty() ) {
525 if ( mAllDay ) 525 if ( mAllDay )
526 mDisplayedText += " ("; 526 mDisplayedText += " (";
527 else 527 else
528 mDisplayedText += "\n("; 528 mDisplayedText += "\n(";
529 mDisplayedText += mIncidence->location() +")"; 529 mDisplayedText += mIncidence->location() +")";
530 } 530 }
531 531
532 QString tipText = mIncidence->summary(); 532 QString tipText = mIncidence->summary();
533 if ( !mIncidence->doesFloat() ) { 533 if ( !mIncidence->doesFloat() ) {
534 if ( mIncidence->type() == "Event" ) { 534 if ( mIncidence->type() == "Event" ) {
535 if ( (static_cast<Event*>(mIncidence))->isMultiDay() ) { 535 if ( (static_cast<Event*>(mIncidence))->isMultiDay() ) {
536 tipText += "\n"+i18n("From: ")+mIncidence->dtStartStr(); 536 tipText += "\n"+i18n("From: ")+mIncidence->dtStartStr();
537 tipText += "\n"+i18n("To: ")+(static_cast<Event*>(mIncidence))->dtEndStr(); 537 tipText += "\n"+i18n("To: ")+(static_cast<Event*>(mIncidence))->dtEndStr();
538 } 538 }
539 else { 539 else {
540 tipText += "\n"+i18n("Time: ")+mIncidence->dtStartTimeStr(); 540 tipText += "\n"+i18n("Time: ")+mIncidence->dtStartTimeStr();
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp
index 16031b8..a164fa4 100644
--- a/korganizer/mainwindow.cpp
+++ b/korganizer/mainwindow.cpp
@@ -162,256 +162,257 @@ MainWindow::MainWindow( QWidget *parent, const char *name, QString msg) :
162 if ( KOPrefs::instance()->mUseAppColors ) 162 if ( KOPrefs::instance()->mUseAppColors )
163 QApplication::setPalette( QPalette (KOPrefs::instance()->mAppColor1, KOPrefs::instance()->mAppColor2), true ); 163 QApplication::setPalette( QPalette (KOPrefs::instance()->mAppColor1, KOPrefs::instance()->mAppColor2), true );
164 globalFlagBlockStartup = 1; 164 globalFlagBlockStartup = 1;
165 iconToolBar = new QPEToolBar( this ); 165 iconToolBar = new QPEToolBar( this );
166 addToolBar (iconToolBar , tbd ); 166 addToolBar (iconToolBar , tbd );
167 mCalendarModifiedFlag = false; 167 mCalendarModifiedFlag = false;
168 QLabel* splash = new QLabel(i18n("KO/Pi is starting ... "), this ); 168 QLabel* splash = new QLabel(i18n("KO/Pi is starting ... "), this );
169 splash->setAlignment ( AlignCenter ); 169 splash->setAlignment ( AlignCenter );
170 setCentralWidget( splash ); 170 setCentralWidget( splash );
171#ifndef DESKTOP_VERSION 171#ifndef DESKTOP_VERSION
172 showMaximized(); 172 showMaximized();
173#endif 173#endif
174 174
175 //qDebug("Mainwidget x %d y %d w %d h %d", x(), y(), width(), height ()); 175 //qDebug("Mainwidget x %d y %d w %d h %d", x(), y(), width(), height ());
176 setDefaultPreferences(); 176 setDefaultPreferences();
177 mCalendar = new CalendarLocal(); 177 mCalendar = new CalendarLocal();
178 mView = new CalendarView( mCalendar, this,"mCalendar " ); 178 mView = new CalendarView( mCalendar, this,"mCalendar " );
179 mView->hide(); 179 mView->hide();
180 //mView->resize(splash->size() ); 180 //mView->resize(splash->size() );
181 initActions(); 181 initActions();
182 mSyncManager = new KSyncManager((QWidget*)this, (KSyncInterface*)mView, KSyncManager::KOPI, KOPrefs::instance(), syncMenu); 182 mSyncManager = new KSyncManager((QWidget*)this, (KSyncInterface*)mView, KSyncManager::KOPI, KOPrefs::instance(), syncMenu);
183 mSyncManager->setBlockSave(false); 183 mSyncManager->setBlockSave(false);
184 mView->setSyncManager(mSyncManager); 184 mView->setSyncManager(mSyncManager);
185#ifndef DESKTOP_VERSION 185#ifndef DESKTOP_VERSION
186 iconToolBar->show(); 186 iconToolBar->show();
187 qApp->processEvents(); 187 qApp->processEvents();
188#endif 188#endif
189 //qDebug("Splashwidget x %d y %d w %d h %d", splash-> x(), splash->y(), splash->width(),splash-> height ()); 189 //qDebug("Splashwidget x %d y %d w %d h %d", splash-> x(), splash->y(), splash->width(),splash-> height ());
190 int vh = height() ; 190 int vh = height() ;
191 int vw = width(); 191 int vw = width();
192 //qDebug("Toolbar hei %d ",iconToolBar->height() ); 192 //qDebug("Toolbar hei %d ",iconToolBar->height() );
193 if ( iconToolBar->orientation () == Qt:: Horizontal ) { 193 if ( iconToolBar->orientation () == Qt:: Horizontal ) {
194 vh -= iconToolBar->height(); 194 vh -= iconToolBar->height();
195 } else { 195 } else {
196 vw -= iconToolBar->height(); 196 vw -= iconToolBar->height();
197 } 197 }
198 //mView->setMaximumSize( splash->size() ); 198 //mView->setMaximumSize( splash->size() );
199 //mView->resize( splash->size() ); 199 //mView->resize( splash->size() );
200 //qDebug("MainView x %d y %d w %d h %d", mView->x(),mView-> y(), mView->width(), mView->height ()); 200 //qDebug("MainView x %d y %d w %d h %d", mView->x(),mView-> y(), mView->width(), mView->height ());
201 mView->readSettings(); 201 mView->readSettings();
202 bool newFile = false; 202 bool newFile = false;
203 if( !QFile::exists( defaultFileName() ) ) { 203 if( !QFile::exists( defaultFileName() ) ) {
204 QFileInfo finfo ( defaultFileName() ); 204 QFileInfo finfo ( defaultFileName() );
205 QString oldFile = QDir::convertSeparators( QDir::homeDirPath()+"/Applications/korganizer/mycalendar.ics"); 205 QString oldFile = QDir::convertSeparators( QDir::homeDirPath()+"/Applications/korganizer/mycalendar.ics");
206 qDebug("oldfile %s ", oldFile.latin1()); 206 qDebug("oldfile %s ", oldFile.latin1());
207 QString message = "You are starting KO/Pi for the\nfirst time after updating to a\nversion >= 1.9.1. The location of the\ndefault calendar file has changed.\nA mycalendar.ics file was detected\nat the old location.\nThis file will be loaded now\nand stored at the new location!\n(Config file location has changed, too!)\nPlease read menu Help-What's New!\n"; 207 QString message = "You are starting KO/Pi for the\nfirst time after updating to a\nversion >= 1.9.1. The location of the\ndefault calendar file has changed.\nA mycalendar.ics file was detected\nat the old location.\nThis file will be loaded now\nand stored at the new location!\n(Config file location has changed, too!)\nPlease read menu Help-What's New!\n";
208 finfo.setFile( oldFile ); 208 finfo.setFile( oldFile );
209 if (finfo.exists() ) { 209 if (finfo.exists() ) {
210 KMessageBox::information( this, message); 210 KMessageBox::information( this, message);
211 mView->openCalendar( oldFile ); 211 mView->openCalendar( oldFile );
212 qApp->processEvents(); 212 qApp->processEvents();
213 } else { 213 } else {
214 oldFile = QDir::convertSeparators( QDir::homeDirPath()+"/korganizer/mycalendar.ics"); 214 oldFile = QDir::convertSeparators( QDir::homeDirPath()+"/korganizer/mycalendar.ics");
215 finfo.setFile( oldFile ); 215 finfo.setFile( oldFile );
216 if (finfo.exists() ) { 216 if (finfo.exists() ) {
217 KMessageBox::information( this, message); 217 KMessageBox::information( this, message);
218 mView->openCalendar( oldFile ); 218 mView->openCalendar( oldFile );
219 qApp->processEvents(); 219 qApp->processEvents();
220 } 220 }
221 } 221 }
222 mView->saveCalendar( defaultFileName() ); 222 mView->saveCalendar( defaultFileName() );
223 newFile = true; 223 newFile = true;
224 } 224 }
225 225
226 QTime neededSaveTime = QDateTime::currentDateTime().time(); 226 QTime neededSaveTime = QDateTime::currentDateTime().time();
227 mView->openCalendar( defaultFileName() ); 227 mView->openCalendar( defaultFileName() );
228 int msNeeded = neededSaveTime.msecsTo( QDateTime::currentDateTime().time() ); 228 int msNeeded = neededSaveTime.msecsTo( QDateTime::currentDateTime().time() );
229 qDebug("KO: Calendar loading time: %d ms",msNeeded ); 229 qDebug("KO: Calendar loading time: %d ms",msNeeded );
230 230
231 if ( KPimGlobalPrefs::instance()->mPreferredLanguage != KOPrefs::instance()->mOldLoadedLanguage ) { 231 if ( KPimGlobalPrefs::instance()->mPreferredLanguage != KOPrefs::instance()->mOldLoadedLanguage ) {
232 KOPrefs::instance()->setAllDefaults(); 232 KOPrefs::instance()->setAllDefaults();
233 int count = mView->addCategories(); 233 int count = mView->addCategories();
234 } 234 }
235 processIncidenceSelection( 0 ); 235 processIncidenceSelection( 0 );
236 connect( mView, SIGNAL( incidenceSelected( Incidence * ) ), 236 connect( mView, SIGNAL( incidenceSelected( Incidence * ) ),
237 SLOT( processIncidenceSelection( Incidence * ) ) ); 237 SLOT( processIncidenceSelection( Incidence * ) ) );
238 connect( mView, SIGNAL( modifiedChanged( bool ) ), 238 connect( mView, SIGNAL( modifiedChanged( bool ) ),
239 SLOT( slotModifiedChanged( bool ) ) ); 239 SLOT( slotModifiedChanged( bool ) ) );
240 240
241 241
242 connect( mView, SIGNAL( tempDisableBR(bool) ), 242 connect( mView, SIGNAL( tempDisableBR(bool) ),
243 SLOT( disableBR(bool) ) ); 243 SLOT( disableBR(bool) ) );
244 connect( &mSaveTimer, SIGNAL( timeout() ), SLOT( save() ) ); 244 connect( &mSaveTimer, SIGNAL( timeout() ), SLOT( save() ) );
245 mView->setModified( false ); 245 mView->setModified( false );
246 mBlockAtStartup = false; 246 mBlockAtStartup = false;
247 mView->setModified( false ); 247 mView->setModified( false );
248 setCentralWidget( mView ); 248 setCentralWidget( mView );
249 globalFlagBlockStartup = 0; 249 globalFlagBlockStartup = 0;
250 mView->show(); 250 mView->show();
251 delete splash; 251 delete splash;
252 if ( newFile ) 252 if ( newFile )
253 mView->updateConfig(); 253 mView->updateConfig();
254 // qApp->processEvents(); 254 // qApp->processEvents();
255 //qDebug("MainView x %d y %d w %d h %d", mView->x(),mView-> y(), mView->width(), mView->height ()); 255 //qDebug("MainView x %d y %d w %d h %d", mView->x(),mView-> y(), mView->width(), mView->height ());
256 //fillSyncMenu(); 256 //fillSyncMenu();
257 257
258 258
259 connect(mSyncManager , SIGNAL( save() ), this, SLOT( save() ) ); 259 connect(mSyncManager , SIGNAL( save() ), this, SLOT( save() ) );
260 connect(mView , SIGNAL( save() ), this, SLOT( save() ) ); 260 connect(mView , SIGNAL( save() ), this, SLOT( save() ) );
261 connect(mView , SIGNAL( saveStopTimer() ), this, SLOT( saveStopTimer() ) ); 261 connect(mView , SIGNAL( saveStopTimer() ), this, SLOT( saveStopTimer() ) );
262 connect(mSyncManager , SIGNAL( request_file() ), this, SLOT( syncFileRequest() ) ); 262 connect(mSyncManager , SIGNAL( request_file() ), this, SLOT( syncFileRequest() ) );
263 connect(mSyncManager , SIGNAL( getFile( bool )), this, SLOT(getFile( bool ) ) ); 263 connect(mSyncManager , SIGNAL( getFile( bool )), this, SLOT(getFile( bool ) ) );
264 mSyncManager->setDefaultFileName( sentSyncFile()); 264 mSyncManager->setDefaultFileName( sentSyncFile());
265 connect ( syncMenu, SIGNAL( activated ( int ) ), mSyncManager, SLOT (slotSyncMenu( int ) ) ); 265 connect ( syncMenu, SIGNAL( activated ( int ) ), mSyncManager, SLOT (slotSyncMenu( int ) ) );
266 mSyncManager->fillSyncMenu(); 266 mSyncManager->fillSyncMenu();
267 267
268 268
269 269
270 mView->viewManager()->agendaView()->setStartHour( KOPrefs::instance()->mDayBegins ); 270 mView->viewManager()->agendaView()->setStartHour( KOPrefs::instance()->mDayBegins );
271 if ( showWarning ) { 271 if ( showWarning ) {
272 KMessageBox::information( this, 272 KMessageBox::information( this,
273 "You are starting KO/Pi for the first time.\nPlease read menu: Help-What's New,\nif you did an update!\nPlease choose your timezone in the \nConfigure Dialog TAB Time Zone!\nPlease choose your language\nin the TAB Locale!\nYou get the Configure Dialog\nvia Menu: Actions - Configure....\nClick OK to show the Configure Dialog!\n", "KO/Pi information"); 273 "You are starting KO/Pi for the first time.\nPlease read menu: Help-What's New,\nif you did an update!\nPlease choose your timezone in the \nConfigure Dialog TAB Time Zone!\nPlease choose your language\nin the TAB Locale!\nYou get the Configure Dialog\nvia Menu: Actions - Configure....\nClick OK to show the Configure Dialog!\n", "KO/Pi information");
274 qApp->processEvents(); 274 qApp->processEvents();
275 mView->dialogManager()->showSyncOptions(); 275 mView->dialogManager()->showSyncOptions();
276 } 276 }
277 277
278 //US listen for result adressed from Ka/Pi 278 //US listen for result adressed from Ka/Pi
279#ifndef DESKTOP_VERSION 279#ifndef DESKTOP_VERSION
280 connect(qApp, SIGNAL (appMessage ( const QCString &, const QByteArray & )), ExternalAppHandler::instance(), SLOT (appMessage ( const QCString &, const QByteArray & ))); 280 connect(qApp, SIGNAL (appMessage ( const QCString &, const QByteArray & )), ExternalAppHandler::instance(), SLOT (appMessage ( const QCString &, const QByteArray & )));
281#endif 281#endif
282#ifndef DESKTOP_VERSION 282#ifndef DESKTOP_VERSION
283 infrared = 0; 283 infrared = 0;
284#endif 284#endif
285 updateWeek( mView->startDate() ); 285 updateWeek( mView->startDate() );
286 connect( mView->dateNavigator(), SIGNAL( datesSelected( const KCal::DateList & ) ), 286 connect( mView->dateNavigator(), SIGNAL( datesSelected( const KCal::DateList & ) ),
287 SLOT( updateWeekNum( const KCal::DateList & ) ) ); 287 SLOT( updateWeekNum( const KCal::DateList & ) ) );
288 mBRdisabled = false; 288 mBRdisabled = false;
289 //toggleBeamReceive(); 289 //toggleBeamReceive();
290 setFocusPolicy ( WheelFocus );
290} 291}
291MainWindow::~MainWindow() 292MainWindow::~MainWindow()
292{ 293{
293 //qDebug("MainWindow::~MainWindow() "); 294 //qDebug("MainWindow::~MainWindow() ");
294 //save toolbar location 295 //save toolbar location
295 delete mCalendar; 296 delete mCalendar;
296 delete mSyncManager; 297 delete mSyncManager;
297#ifndef DESKTOP_VERSION 298#ifndef DESKTOP_VERSION
298 if ( infrared ) 299 if ( infrared )
299 delete infrared; 300 delete infrared;
300#endif 301#endif
301 302
302 303
303} 304}
304 305
305void MainWindow::disableBR(bool b) 306void MainWindow::disableBR(bool b)
306{ 307{
307#ifndef DESKTOP_VERSION 308#ifndef DESKTOP_VERSION
308 if ( b ) { 309 if ( b ) {
309 if ( infrared ) { 310 if ( infrared ) {
310 toggleBeamReceive(); 311 toggleBeamReceive();
311 mBRdisabled = true; 312 mBRdisabled = true;
312 } 313 }
313 mBRdisabled = true; 314 mBRdisabled = true;
314 } else { 315 } else {
315 if ( mBRdisabled ) { 316 if ( mBRdisabled ) {
316 mBRdisabled = false; 317 mBRdisabled = false;
317 //makes no sense,because other cal ap is probably running 318 //makes no sense,because other cal ap is probably running
318 // toggleBeamReceive(); 319 // toggleBeamReceive();
319 } 320 }
320 } 321 }
321#endif 322#endif
322 323
323} 324}
324bool MainWindow::beamReceiveEnabled() 325bool MainWindow::beamReceiveEnabled()
325{ 326{
326#ifndef DESKTOP_VERSION 327#ifndef DESKTOP_VERSION
327 return ( infrared != 0 ); 328 return ( infrared != 0 );
328#endif 329#endif
329 return false; 330 return false;
330} 331}
331 332
332void MainWindow::toggleBeamReceive() 333void MainWindow::toggleBeamReceive()
333{ 334{
334 if ( mBRdisabled ) 335 if ( mBRdisabled )
335 return; 336 return;
336#ifndef DESKTOP_VERSION 337#ifndef DESKTOP_VERSION
337 if ( infrared ) { 338 if ( infrared ) {
338 qDebug("disable BeamReceive "); 339 qDebug("disable BeamReceive ");
339 delete infrared; 340 delete infrared;
340 infrared = 0; 341 infrared = 0;
341 brAction->setOn(false); 342 brAction->setOn(false);
342 return; 343 return;
343 } 344 }
344 qDebug("enable BeamReceive "); 345 qDebug("enable BeamReceive ");
345 brAction->setOn(true); 346 brAction->setOn(true);
346 infrared = new QCopChannel("QPE/Application/datebook",this, "channel" ) ; 347 infrared = new QCopChannel("QPE/Application/datebook",this, "channel" ) ;
347 QObject::connect( infrared, SIGNAL (received ( const QCString &, const QByteArray & )),this, SLOT(recieve( const QCString&, const QByteArray& ))); 348 QObject::connect( infrared, SIGNAL (received ( const QCString &, const QByteArray & )),this, SLOT(recieve( const QCString&, const QByteArray& )));
348#endif 349#endif
349} 350}
350void MainWindow::showMaximized () 351void MainWindow::showMaximized ()
351{ 352{
352#ifndef DESKTOP_VERSION 353#ifndef DESKTOP_VERSION
353 if ( ! globalFlagBlockStartup ) 354 if ( ! globalFlagBlockStartup )
354 if ( mClosed ) 355 if ( mClosed )
355 mView->goToday(); 356 mView->goToday();
356#endif 357#endif
357 QWidget::showMaximized () ; 358 QWidget::showMaximized () ;
358 mClosed = false; 359 mClosed = false;
359} 360}
360void MainWindow::closeEvent( QCloseEvent* ce ) 361void MainWindow::closeEvent( QCloseEvent* ce )
361{ 362{
362 363
363 364
364 365
365 if ( ! KOPrefs::instance()->mAskForQuit ) { 366 if ( ! KOPrefs::instance()->mAskForQuit ) {
366 saveOnClose(); 367 saveOnClose();
367 mClosed = true; 368 mClosed = true;
368 ce->accept(); 369 ce->accept();
369 return; 370 return;
370 371
371 } 372 }
372 373
373 switch( QMessageBox::information( this, "KO/Pi", 374 switch( QMessageBox::information( this, "KO/Pi",
374 i18n("Do you really want\nto close KO/Pi?"), 375 i18n("Do you really want\nto close KO/Pi?"),
375 i18n("Close"), i18n("No"), 376 i18n("Close"), i18n("No"),
376 0, 0 ) ) { 377 0, 0 ) ) {
377 case 0: 378 case 0:
378 saveOnClose(); 379 saveOnClose();
379 mClosed = true; 380 mClosed = true;
380 ce->accept(); 381 ce->accept();
381 break; 382 break;
382 case 1: 383 case 1:
383 ce->ignore(); 384 ce->ignore();
384 break; 385 break;
385 case 2: 386 case 2:
386 387
387 default: 388 default:
388 break; 389 break;
389 } 390 }
390 391
391 392
392} 393}
393 394
394void MainWindow::recieve( const QCString& cmsg, const QByteArray& data ) 395void MainWindow::recieve( const QCString& cmsg, const QByteArray& data )
395{ 396{
396 QDataStream stream( data, IO_ReadOnly ); 397 QDataStream stream( data, IO_ReadOnly );
397 // QMessageBox::about( this, "About KOrganizer/Pi", "*" +msg +"*" ); 398 // QMessageBox::about( this, "About KOrganizer/Pi", "*" +msg +"*" );
398 //QString datamess; 399 //QString datamess;
399 //qDebug("message "); 400 //qDebug("message ");
400 qDebug("KO: QCOP message received: %s ", cmsg.data() ); 401 qDebug("KO: QCOP message received: %s ", cmsg.data() );
401 402
402 if ( cmsg == "setDocument(QString)" ) { 403 if ( cmsg == "setDocument(QString)" ) {
403 QDataStream stream( data, IO_ReadOnly ); 404 QDataStream stream( data, IO_ReadOnly );
404 QString fileName; 405 QString fileName;
405 stream >> fileName; 406 stream >> fileName;
406 //qDebug("filename %s ", fileName.latin1()); 407 //qDebug("filename %s ", fileName.latin1());
407 showMaximized(); 408 showMaximized();
408 raise(); 409 raise();
409 KOPrefs::instance()->mLastSyncedLocalFile = fileName ; 410 KOPrefs::instance()->mLastSyncedLocalFile = fileName ;
410 mSyncManager->slotSyncMenu( 1002 ); 411 mSyncManager->slotSyncMenu( 1002 );
411 return; 412 return;
412 } 413 }
413 414
414 if ( cmsg == "-writeFile" ) { 415 if ( cmsg == "-writeFile" ) {
415 // I made from the "-writeFile" an "-writeAlarm" 416 // I made from the "-writeFile" an "-writeAlarm"
416 mView->viewManager()->showWhatsNextView(); 417 mView->viewManager()->showWhatsNextView();
417 mCalendar->checkAlarmForIncidence( 0, true); 418 mCalendar->checkAlarmForIncidence( 0, true);
@@ -1153,256 +1154,257 @@ void MainWindow::exportToPhone( int mode )
1153 if ( !ok ) 1154 if ( !ok )
1154 dt = cur.addSecs( -62 ); 1155 dt = cur.addSecs( -62 );
1155 } 1156 }
1156 if ( dt < cur || dt > end ) { 1157 if ( dt < cur || dt > end ) {
1157 add = false; 1158 add = false;
1158 } 1159 }
1159 } 1160 }
1160 if ( add ) { 1161 if ( add ) {
1161 Incidence *in = incidence->clone(); 1162 Incidence *in = incidence->clone();
1162 cal->addIncidence( in ); 1163 cal->addIncidence( in );
1163 } 1164 }
1164 } 1165 }
1165 incidence = delSel.next(); 1166 incidence = delSel.next();
1166 } 1167 }
1167 PhoneAccess::writeConfig( KPimGlobalPrefs::instance()->mEx2PhoneDevice, 1168 PhoneAccess::writeConfig( KPimGlobalPrefs::instance()->mEx2PhoneDevice,
1168 KPimGlobalPrefs::instance()->mEx2PhoneConnection, 1169 KPimGlobalPrefs::instance()->mEx2PhoneConnection,
1169 KPimGlobalPrefs::instance()->mEx2PhoneModel ); 1170 KPimGlobalPrefs::instance()->mEx2PhoneModel );
1170 1171
1171 setCaption( i18n("Writing to phone...")); 1172 setCaption( i18n("Writing to phone..."));
1172 if ( PhoneFormat::writeToPhone( cal ) ) 1173 if ( PhoneFormat::writeToPhone( cal ) )
1173 setCaption( i18n("Export to phone successful!")); 1174 setCaption( i18n("Export to phone successful!"));
1174 else 1175 else
1175 setCaption( i18n("Error exporting to phone!")); 1176 setCaption( i18n("Error exporting to phone!"));
1176 delete cal; 1177 delete cal;
1177} 1178}
1178 1179
1179 1180
1180void MainWindow::setDefaultPreferences() 1181void MainWindow::setDefaultPreferences()
1181{ 1182{
1182 KOPrefs *p = KOPrefs::instance(); 1183 KOPrefs *p = KOPrefs::instance();
1183 1184
1184 p->mCompactDialogs = true; 1185 p->mCompactDialogs = true;
1185 p->mConfirm = true; 1186 p->mConfirm = true;
1186 // p->mEnableQuickTodo = false; 1187 // p->mEnableQuickTodo = false;
1187 1188
1188} 1189}
1189 1190
1190QString MainWindow::resourcePath() 1191QString MainWindow::resourcePath()
1191{ 1192{
1192 return KGlobal::iconLoader()->iconPath(); 1193 return KGlobal::iconLoader()->iconPath();
1193} 1194}
1194 1195
1195void MainWindow::displayText( QString text ,QString cap ) 1196void MainWindow::displayText( QString text ,QString cap )
1196{ 1197{
1197 QDialog dia( this, "name", true ); ; 1198 QDialog dia( this, "name", true ); ;
1198 dia.setCaption( cap ); 1199 dia.setCaption( cap );
1199 QVBoxLayout* lay = new QVBoxLayout( &dia ); 1200 QVBoxLayout* lay = new QVBoxLayout( &dia );
1200 lay->setSpacing( 3 ); 1201 lay->setSpacing( 3 );
1201 lay->setMargin( 3 ); 1202 lay->setMargin( 3 );
1202 QTextBrowser tb ( &dia ); 1203 QTextBrowser tb ( &dia );
1203 lay->addWidget( &tb ); 1204 lay->addWidget( &tb );
1204 tb.setText( text ); 1205 tb.setText( text );
1205#ifdef DESKTOP_VERSION 1206#ifdef DESKTOP_VERSION
1206 dia.resize( 640, 480); 1207 dia.resize( 640, 480);
1207#else 1208#else
1208 dia.showMaximized(); 1209 dia.showMaximized();
1209#endif 1210#endif
1210 dia.exec(); 1211 dia.exec();
1211} 1212}
1212 1213
1213void MainWindow::features() 1214void MainWindow::features()
1214{ 1215{
1215 1216
1216 KApplication::showFile( i18n("KO/Pi Features and hints"), "kdepim/korganizer/featuresKOPI.txt" ); 1217 KApplication::showFile( i18n("KO/Pi Features and hints"), "kdepim/korganizer/featuresKOPI.txt" );
1217} 1218}
1218 1219
1219void MainWindow::usertrans() 1220void MainWindow::usertrans()
1220{ 1221{
1221 1222
1222 KApplication::showFile( i18n("KO/Pi User translation HowTo"), "kdepim/korganizer/usertranslationHOWTO.txt" ); 1223 KApplication::showFile( i18n("KO/Pi User translation HowTo"), "kdepim/korganizer/usertranslationHOWTO.txt" );
1223} 1224}
1224 1225
1225void MainWindow::kdesynchowto() 1226void MainWindow::kdesynchowto()
1226{ 1227{
1227 KApplication::showFile( "KDE-Pim/Pi Synchronization HowTo", "kdepim/Zaurus-KDE_syncHowTo.txt" ); 1228 KApplication::showFile( "KDE-Pim/Pi Synchronization HowTo", "kdepim/Zaurus-KDE_syncHowTo.txt" );
1228} 1229}
1229void MainWindow::multisynchowto() 1230void MainWindow::multisynchowto()
1230{ 1231{
1231 KApplication::showFile( "KDE-Pim/Pi Synchronization HowTo", "kdepim/MultiSyncHowTo.txt" ); 1232 KApplication::showFile( "KDE-Pim/Pi Synchronization HowTo", "kdepim/MultiSyncHowTo.txt" );
1232} 1233}
1233void MainWindow::synchowto() 1234void MainWindow::synchowto()
1234{ 1235{
1235 KApplication::showFile( "KDE-Pim/Pi Synchronization HowTo", "kdepim/SyncHowto.txt" ); 1236 KApplication::showFile( "KDE-Pim/Pi Synchronization HowTo", "kdepim/SyncHowto.txt" );
1236} 1237}
1237void MainWindow::faq() 1238void MainWindow::faq()
1238{ 1239{
1239 KApplication::showFile( i18n("KO/Pi FAQ"), "kdepim/korganizer/kopiFAQ.txt" ); 1240 KApplication::showFile( i18n("KO/Pi FAQ"), "kdepim/korganizer/kopiFAQ.txt" );
1240 1241
1241} 1242}
1242void MainWindow::whatsNew() 1243void MainWindow::whatsNew()
1243{ 1244{
1244 KApplication::showFile( "KDE-Pim/Pi Version Info", "kdepim/WhatsNew.txt" ); 1245 KApplication::showFile( "KDE-Pim/Pi Version Info", "kdepim/WhatsNew.txt" );
1245 1246
1246} 1247}
1247void MainWindow::licence() 1248void MainWindow::licence()
1248{ 1249{
1249 KApplication::showLicence(); 1250 KApplication::showLicence();
1250 1251
1251} 1252}
1252void MainWindow::about() 1253void MainWindow::about()
1253{ 1254{
1254 QString version; 1255 QString version;
1255#include <../version> 1256#include <../version>
1256 QMessageBox::about( this, i18n("About KOrganizer/Pi"), 1257 QMessageBox::about( this, i18n("About KOrganizer/Pi"),
1257 i18n("KOrganizer/Platform-independent\n") + 1258 i18n("KOrganizer/Platform-independent\n") +
1258 "(KO/Pi) " + version + " - " + 1259 "(KO/Pi) " + version + " - " +
1259 1260
1260#ifdef DESKTOP_VERSION 1261#ifdef DESKTOP_VERSION
1261 i18n("Desktop Edition\n") + 1262 i18n("Desktop Edition\n") +
1262#else 1263#else
1263 i18n("PDA-Edition\nfor: Zaurus 5x00/7x0/860/3000/6000\n") + 1264 i18n("PDA-Edition\nfor: Zaurus 5x00/7x0/860/3000/6000\n") +
1264#endif 1265#endif
1265 i18n("(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.net --- www.korganizer.org\nSpecial thanks to Michael and Ben\nfor intensive testing!") ); 1266 i18n("(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.net --- www.korganizer.org\nSpecial thanks to Michael and Ben\nfor intensive testing!") );
1266} 1267}
1267void MainWindow::keyBindings() 1268void MainWindow::keyBindings()
1268{ 1269{
1269 QString cap = i18n("KO/Pi Keys + Colors"); 1270 QString cap = i18n("KO/Pi Keys + Colors");
1270 QString text = i18n("<p><h2>KO/Pi key shortcuts:</h2></p>\n") + 1271 QString text = i18n("<p><h2>KO/Pi key shortcuts:</h2></p>\n") +
1271 i18n("<p><b>H</b>: This help dialog | <b>S</b>: Search dialog</p>\n")+ 1272 i18n("<p><b>H</b>: This help dialog | <b>S</b>: Search dialog</p>\n")+
1272 i18n("<p><b>I</b>: Show info for selected event/todo</p>\n") + 1273 i18n("<p><b>I</b>: Show info for selected event/todo</p>\n") +
1273 i18n("<p><b>Space</b>: Toggle fullscreen | <b>P</b>: Date picker</p>\n")+ 1274 i18n("<p><b>Space</b>: Toggle fullscreen | <b>P</b>: Date picker</p>\n")+
1274 i18n("<p><b>F</b>: Toggle filterview |<b>F+ctrl</b>: Edit filter </p>\n")+ 1275 i18n("<p><b>F</b>: Toggle filterview |<b>F+ctrl</b>: Edit filter </p>\n")+
1275 i18n("<p><b>O</b>: Filter On/Off | <b>J</b>: Journal view</p>\n")+ 1276 i18n("<p><b>O</b>: Filter On/Off | <b>J</b>: Journal view</p>\n")+
1276 i18n("<p><b>1-0</b> (+<b>ctrl</b>): Select filter 1-10 (11-20)</p>\n")+ 1277 i18n("<p><b>1-0</b> (+<b>ctrl</b>): Select filter 1-10 (11-20)</p>\n")+
1277 i18n("<p><b>N</b>: Next days view| <b>W</b>: What's next view\n ")+ 1278 i18n("<p><b>N</b>: Next days view| <b>W</b>: What's next view\n ")+
1278 i18n("<p><b>V</b>: Todo view | <b>L</b>: Event list view</p>\n")+ 1279 i18n("<p><b>V</b>: Todo view | <b>L</b>: Event list view</p>\n")+
1279 i18n("<p><b>Z,Y</b>: Work week view | <b>U</b>: Week view</p>\n")+ 1280 i18n("<p><b>Z,Y</b>: Work week view | <b>U</b>: Week view</p>\n")+
1280 i18n("<p><b>D</b>: One day view | <b>M</b>: Month view</p>\n")+ 1281 i18n("<p><b>D</b>: One day view | <b>M</b>: Month view</p>\n")+
1282 i18n("<p><b>K</b>: Week view in Month view syle</p>\n")+
1281 i18n("<p><b>E</b>: Edit selected item |<b> E+ctrl</b>: New Event</p>\n")+ 1283 i18n("<p><b>E</b>: Edit selected item |<b> E+ctrl</b>: New Event</p>\n")+
1282 i18n("<p><b>T</b>: Goto today | <b>T+ctrl</b>: New Todo</p>\n")+ 1284 i18n("<p><b>T</b>: Goto today | <b>T+ctrl</b>: New Todo</p>\n")+
1283 i18n("<p><b>S+ctrl</b>: Add sub-todo | <b>X</b>: Toggle datenavigator</p>\n")+ 1285 i18n("<p><b>S+ctrl</b>: Add sub-todo | <b>X</b>: Toggle datenavigator</p>\n")+
1284 i18n("<p><b>+,-</b> : Zoom in/out agenda | <b>A</b>: Toggle allday agenda height</p>\n")+ 1286 i18n("<p><b>+,-</b> : Zoom in/out agenda | <b>A</b>: Toggle allday agenda height</p>\n")+
1285 i18n("<p><b>C</b>: Show current time in agenda view</p>\n")+ 1287 i18n("<p><b>C</b>: Show current time in agenda view</p>\n")+
1286 i18n("<p><b>B</b>: Edit description (details) of selected item</p>\n")+ 1288 i18n("<p><b>B</b>: Edit description (details) of selected item</p>\n")+
1287 i18n("<p><b>right</b>: Next week | <b>right+ctrl</b>: Next month</p>\n")+ 1289 i18n("<p><b>right</b>: Next week | <b>right+ctrl</b>: Next month</p>\n")+
1288 i18n("<p><b>left</b>: Prev. week | <b>left+ctrl</b>: Prev. month</p>\n")+ 1290 i18n("<p><b>left</b>: Prev. week | <b>left+ctrl</b>: Prev. month</p>\n")+
1289 i18n("<p><b>del,backspace</b>: Delete selected item</p>\n")+ 1291 i18n("<p><b>del,backspace</b>: Delete selected item</p>\n")+
1290 i18n("<p><h3>In agenda view:</h3></p>\n") + 1292 i18n("<p><h3>In agenda view:</h3></p>\n") +
1291 i18n("<p><b>up/down</b>: Scroll agenda view</p>\n")+ 1293 i18n("<p><b>up/down</b>: Scroll agenda view</p>\n")+
1292 i18n("<p><b>ctrl+up/down</b>: Scroll small todo view</p>\n")+ 1294 i18n("<p><b>ctrl+up/down</b>: Scroll small todo view</p>\n")+
1293 i18n("<p><h3>In todo view:</h3></p>\n") + 1295 i18n("<p><h3>In todo view:</h3></p>\n") +
1294 i18n("<p><b>shift+U</b>: <b>U</b>nparent todo (make root todo)</p>\n")+ 1296 i18n("<p><b>shift+U</b>: <b>U</b>nparent todo (make root todo)</p>\n")+
1295 i18n("<p><b>shift+S</b>: Make <b>S</b>ubtodo (reparent todo)</p>\n")+ 1297 i18n("<p><b>shift+S</b>: Make <b>S</b>ubtodo (reparent todo)</p>\n")+
1296 i18n("<p><b>shift+P</b>: Make new <b>P</b>arent for todo selected with shift+S</p>\n")+ 1298 i18n("<p><b>shift+P</b>: Make new <b>P</b>arent for todo selected with shift+S</p>\n")+
1297 i18n("<p><b>Q</b>: Toggle quick todo line edit.</p>\n")+ 1299 i18n("<p><b>Q</b>: Toggle quick todo line edit.</p>\n")+
1298 i18n("<p><b>I</b>: Show info of current item+one step down.</p>\n")+ 1300 i18n("<p><b>I</b>: Show info of current item+one step down.</p>\n")+
1299 i18n("<p><b>return</b>: Mark item as completed+one step down.</p>\n")+ 1301 i18n("<p><b>return</b>: Mark item as completed+one step down.</p>\n")+
1300 i18n("<p><b>return+shift</b>: Mark item as not completed+one step down</p>\n")+ 1302 i18n("<p><b>return+shift</b>: Mark item as not completed+one step down</p>\n")+
1301 i18n("<p><h3>In list view:</h3></p>\n") + 1303 i18n("<p><h3>In list view:</h3></p>\n") +
1302 i18n("<p><b>I</b>: Show info of current item+one step down.</p>\n")+ 1304 i18n("<p><b>I</b>: Show info of current item+one step down.</p>\n")+
1303 i18n("<p><b>return</b>: Select item+one step down</p>\n")+ 1305 i18n("<p><b>return</b>: Select item+one step down</p>\n")+
1304 i18n("<p><b>return+shift</b>: Deselect item+one step down</p>\n")+ 1306 i18n("<p><b>return+shift</b>: Deselect item+one step down</p>\n")+
1305 i18n("<p><b>up/down</b>: Next/prev item</p>\n")+ 1307 i18n("<p><b>up/down</b>: Next/prev item</p>\n")+
1306 i18n("<p><b>ctrl+up/down</b>: Goto up/down by 20% of items</p>\n")+ 1308 i18n("<p><b>ctrl+up/down</b>: Goto up/down by 20% of items</p>\n")+
1307 i18n("<p><b>shift+up/down</b>: Goto first/last item</p>\n")+ 1309 i18n("<p><b>shift+up/down</b>: Goto first/last item</p>\n")+
1308 i18n("<p><h3>In event/todo viewer:</h3></p>\n") + 1310 i18n("<p><h3>In event/todo viewer:</h3></p>\n") +
1309 i18n("<p><b>I,C</b>: Close dialog.</p>\n")+ 1311 i18n("<p><b>I,C</b>: Close dialog.</p>\n")+
1310 i18n("<p><b>A</b>: Show agenda view.</p>\n")+ 1312 i18n("<p><b>A</b>: Show agenda view.</p>\n")+
1311 i18n("<p><b>E</b>: Edit item</p>\n") + 1313 i18n("<p><b>E</b>: Edit item</p>\n") +
1312 i18n("<p><h2>KO/Pi icon colors:</h2></p>\n") + 1314 i18n("<p><h2>KO/Pi icon colors:</h2></p>\n") +
1313 i18n("<p><b>(for square icons in agenda and month view)</b></p>\n") + 1315 i18n("<p><b>(for square icons in agenda and month view)</b></p>\n") +
1314 i18n("<p><b>Cross</b>: Item cancelled.([c] in Whats'Next view)</p>\n")+ 1316 i18n("<p><b>Cross</b>: Item cancelled.([c] in Whats'Next view)</p>\n")+
1315 i18n("<p><b>Red</b>: Alarm set.([a] in Whats'Next view)</p>\n")+ 1317 i18n("<p><b>Red</b>: Alarm set.([a] in Whats'Next view)</p>\n")+
1316 i18n("<p><b>Blue</b>: Recurrent event.([r] in Whats'Next view)</p>\n")+ 1318 i18n("<p><b>Blue</b>: Recurrent event.([r] in Whats'Next view)</p>\n")+
1317 i18n("<p><b>Dark green</b>: Information(description) available.([i] in WN view)</p>\n")+ 1319 i18n("<p><b>Dark green</b>: Information(description) available.([i] in WN view)</p>\n")+
1318 i18n("<p><b>Black</b>: Event/todo with attendees. You are the organizer!</p>\n")+ 1320 i18n("<p><b>Black</b>: Event/todo with attendees. You are the organizer!</p>\n")+
1319 i18n("<p><b>Dark yellow</b>: Event/todo with attendees.</p>\n") + 1321 i18n("<p><b>Dark yellow</b>: Event/todo with attendees.</p>\n") +
1320 i18n("<p><b>White</b>: Item readonly</p>\n"); 1322 i18n("<p><b>White</b>: Item readonly</p>\n");
1321 displayText( text, cap); 1323 displayText( text, cap);
1322} 1324}
1323void MainWindow::aboutAutoSaving() 1325void MainWindow::aboutAutoSaving()
1324{ 1326{
1325 QString text = i18n("After changing something, the data is\nautomatically saved to the file\n~/kdepim/apps/korganizer/mycalendar.ics\nafter (configurable) three minutes.\nFor safety reasons there is one autosaving\nafter 10 minutes (of idle time) again. The \ndata is saved automatically when closing KO/Pi\nYou can create a backup file \nwith: File - Save Calendar Backup\n"); 1327 QString text = i18n("After changing something, the data is\nautomatically saved to the file\n~/kdepim/apps/korganizer/mycalendar.ics\nafter (configurable) three minutes.\nFor safety reasons there is one autosaving\nafter 10 minutes (of idle time) again. The \ndata is saved automatically when closing KO/Pi\nYou can create a backup file \nwith: File - Save Calendar Backup\n");
1326 1328
1327 KApplication::showText( i18n("Auto Saving in KOrganizer/Pi"), text); 1329 KApplication::showText( i18n("Auto Saving in KOrganizer/Pi"), text);
1328 1330
1329} 1331}
1330void MainWindow::aboutKnownBugs() 1332void MainWindow::aboutKnownBugs()
1331{ 1333{
1332 QMessageBox* msg; 1334 QMessageBox* msg;
1333 msg = new QMessageBox( i18n("Known Problems in KOrganizer/Pi"), 1335 msg = new QMessageBox( i18n("Known Problems in KOrganizer/Pi"),
1334 i18n("1) Importing *.vcs or *.ics files from\nother applications may not work properly,\nif there are events with properties\nKO/Pi does not support.\n")+ 1336 i18n("1) Importing *.vcs or *.ics files from\nother applications may not work properly,\nif there are events with properties\nKO/Pi does not support.\n")+
1335 i18n("2) Audio alarm daemon\nfor Zaurus is available!\nas an additional small application\n")+ 1337 i18n("2) Audio alarm daemon\nfor Zaurus is available!\nas an additional small application\n")+
1336 i18n("\nPlease report unexpected behaviour to\nlutz@pi-sync.net\n") + 1338 i18n("\nPlease report unexpected behaviour to\nlutz@pi-sync.net\n") +
1337 i18n("\nor report them in the bugtracker on\n") + 1339 i18n("\nor report them in the bugtracker on\n") +
1338 i18n("\nhttp://sourceforge.net/projects/kdepimpi\n"), 1340 i18n("\nhttp://sourceforge.net/projects/kdepimpi\n"),
1339 QMessageBox::NoIcon, 1341 QMessageBox::NoIcon,
1340 QMessageBox::Ok, 1342 QMessageBox::Ok,
1341 QMessageBox::NoButton, 1343 QMessageBox::NoButton,
1342 QMessageBox::NoButton); 1344 QMessageBox::NoButton);
1343 msg->exec(); 1345 msg->exec();
1344 delete msg; 1346 delete msg;
1345 1347
1346} 1348}
1347 1349
1348QString MainWindow::defaultFileName() 1350QString MainWindow::defaultFileName()
1349{ 1351{
1350 return locateLocal( "data", "korganizer/mycalendar.ics" ); 1352 return locateLocal( "data", "korganizer/mycalendar.ics" );
1351} 1353}
1352QString MainWindow::syncFileName() 1354QString MainWindow::syncFileName()
1353{ 1355{
1354#ifdef DESKTOP_VERSION 1356#ifdef DESKTOP_VERSION
1355 return locateLocal( "tmp", "synccalendar.ics" ); 1357 return locateLocal( "tmp", "synccalendar.ics" );
1356#else 1358#else
1357 return QString( "/tmp/synccalendar.ics" ); 1359 return QString( "/tmp/synccalendar.ics" );
1358#endif 1360#endif
1359} 1361}
1360void MainWindow::updateWeek(QDate seda) 1362void MainWindow::updateWeek(QDate seda)
1361{ 1363{
1362 int weekNum = 0; 1364 int weekNum = 0;
1363 QDate d = QDate ( seda.year(), 1,1); 1365 QDate d = QDate ( seda.year(), 1,1);
1364 seda = seda.addDays( 1-seda.dayOfWeek() );//we are on monday 1366 seda = seda.addDays( 1-seda.dayOfWeek() );//we are on monday
1365 if ( seda.addDays(6).year() != seda.year() ) { 1367 if ( seda.addDays(6).year() != seda.year() ) {
1366 if ( seda.year() != d.year() ) { 1368 if ( seda.year() != d.year() ) {
1367 if ( d.dayOfWeek() > 4 ) 1369 if ( d.dayOfWeek() > 4 )
1368 d = QDate ( seda.year(), 1,1); 1370 d = QDate ( seda.year(), 1,1);
1369 else 1371 else
1370 weekNum = 1; 1372 weekNum = 1;
1371 } else { 1373 } else {
1372 QDate dd( seda.year()+1, 1,1); 1374 QDate dd( seda.year()+1, 1,1);
1373 if ( dd.dayOfWeek() <= 4 ) 1375 if ( dd.dayOfWeek() <= 4 )
1374 weekNum = 1; 1376 weekNum = 1;
1375 } 1377 }
1376 } 1378 }
1377 if ( weekNum == 0 ){ 1379 if ( weekNum == 0 ){
1378 int dow = d.dayOfWeek(); 1380 int dow = d.dayOfWeek();
1379 if ( dow <= 4 ) 1381 if ( dow <= 4 )
1380 d = d.addDays( 1-dow ); 1382 d = d.addDays( 1-dow );
1381 else // 5,6,7 1383 else // 5,6,7
1382 d = d.addDays( 8-dow ); 1384 d = d.addDays( 8-dow );
1383 // we have the first week of the year.we are on monday 1385 // we have the first week of the year.we are on monday
1384 weekNum = d.daysTo( seda ) / 7 +1; 1386 weekNum = d.daysTo( seda ) / 7 +1;
1385 } 1387 }
1386 1388
1387 mWeekPixmap.fill( mWeekBgColor ); 1389 mWeekPixmap.fill( mWeekBgColor );
1388 QPainter p ( &mWeekPixmap ); 1390 QPainter p ( &mWeekPixmap );
1389 p.setFont( mWeekFont ); 1391 p.setFont( mWeekFont );
1390 p.drawText( 0,0,mWeekPixmap.width(), mWeekPixmap.height(),AlignCenter, QString::number( weekNum) ); 1392 p.drawText( 0,0,mWeekPixmap.width(), mWeekPixmap.height(),AlignCenter, QString::number( weekNum) );
1391 p.end(); 1393 p.end();
1392 QIconSet icon3 ( mWeekPixmap ); 1394 QIconSet icon3 ( mWeekPixmap );
1393 mWeekAction->setIconSet ( icon3 ); 1395 mWeekAction->setIconSet ( icon3 );
1394 1396
1395} 1397}
1396void MainWindow::updateWeekNum(const DateList &selectedDates) 1398void MainWindow::updateWeekNum(const DateList &selectedDates)
1397{ 1399{
1398 updateWeek( selectedDates.first() ); 1400 updateWeek( selectedDates.first() );
1399} 1401}
1400void MainWindow::processIncidenceSelection( Incidence *incidence ) 1402void MainWindow::processIncidenceSelection( Incidence *incidence )
1401{ 1403{
1402 1404
1403 if ( !incidence ) { 1405 if ( !incidence ) {
1404 enableIncidenceActions( false ); 1406 enableIncidenceActions( false );
1405 1407
1406 mNewSubTodoAction->setEnabled( false ); 1408 mNewSubTodoAction->setEnabled( false );
1407 setCaptionToDates(); 1409 setCaptionToDates();
1408 return; 1410 return;
@@ -1501,256 +1503,259 @@ void MainWindow::importBday()
1501 1503
1502 } 1504 }
1503 1505
1504 1506
1505} 1507}
1506void MainWindow::importQtopia() 1508void MainWindow::importQtopia()
1507{ 1509{
1508#ifndef DESKTOP_VERSION 1510#ifndef DESKTOP_VERSION
1509 int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"), 1511 int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"),
1510 i18n("When importing a calendar twice\nduplicated events will be ignored!\nYou can create a backup file with\nFile - Save Calendar Backup\nto revert importing"), 1512 i18n("When importing a calendar twice\nduplicated events will be ignored!\nYou can create a backup file with\nFile - Save Calendar Backup\nto revert importing"),
1511 i18n("Import!"), i18n("Cancel"), 0, 1513 i18n("Import!"), i18n("Cancel"), 0,
1512 0, 1 ); 1514 0, 1 );
1513 if ( result == 0 ) { 1515 if ( result == 0 ) {
1514 QString datebook = Global::applicationFileName( "datebook", "datebook.xml"); 1516 QString datebook = Global::applicationFileName( "datebook", "datebook.xml");
1515 QString todolist = Global::applicationFileName( "todolist", "todolist.xml"); 1517 QString todolist = Global::applicationFileName( "todolist", "todolist.xml");
1516 QString categories = QString( getenv( "HOME" ) ) + "/Settings/Categories.xml"; 1518 QString categories = QString( getenv( "HOME" ) ) + "/Settings/Categories.xml";
1517 mView->importQtopia( categories, datebook, todolist ); 1519 mView->importQtopia( categories, datebook, todolist );
1518 } 1520 }
1519#else 1521#else
1520 int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"), 1522 int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"),
1521 i18n("Not supported \non desktop!\n"), 1523 i18n("Not supported \non desktop!\n"),
1522 i18n("Ok"), i18n("Cancel"), 0, 1524 i18n("Ok"), i18n("Cancel"), 0,
1523 0, 1 ); 1525 0, 1 );
1524 1526
1525#endif 1527#endif
1526} 1528}
1527 1529
1528void MainWindow::saveOnClose() 1530void MainWindow::saveOnClose()
1529{ 1531{
1530 KOPrefs *p = KOPrefs::instance(); 1532 KOPrefs *p = KOPrefs::instance();
1531 p->mToolBarHor = ( iconToolBar->orientation () == Qt:: Horizontal ); 1533 p->mToolBarHor = ( iconToolBar->orientation () == Qt:: Horizontal );
1532 p->mToolBarUp = iconToolBar->x() > width()/2 || 1534 p->mToolBarUp = iconToolBar->x() > width()/2 ||
1533 iconToolBar->y() > height()/2; 1535 iconToolBar->y() > height()/2;
1534 mView->writeSettings(); 1536 mView->writeSettings();
1535 if ( mCalendarModifiedFlag || mView->checkFileChanged( defaultFileName())) 1537 if ( mCalendarModifiedFlag || mView->checkFileChanged( defaultFileName()))
1536 save(); 1538 save();
1537} 1539}
1538void MainWindow::slotModifiedChanged( bool changed ) 1540void MainWindow::slotModifiedChanged( bool changed )
1539{ 1541{
1540 if ( mBlockAtStartup ) 1542 if ( mBlockAtStartup )
1541 return; 1543 return;
1542 1544
1543 int msec; 1545 int msec;
1544 // we store the changes after 1 minute, 1546 // we store the changes after 1 minute,
1545 // and for safety reasons after 10 minutes again 1547 // and for safety reasons after 10 minutes again
1546 if ( !mSyncManager->blockSave() ) 1548 if ( !mSyncManager->blockSave() )
1547 msec = (1000 * 60*KOPrefs::instance()->mAutoSaveInterval) +1000; 1549 msec = (1000 * 60*KOPrefs::instance()->mAutoSaveInterval) +1000;
1548 else 1550 else
1549 msec = 1000 * 600; 1551 msec = 1000 * 600;
1550 mSaveTimer.start( msec, true ); // 1 minute 1552 mSaveTimer.start( msec, true ); // 1 minute
1551 qDebug("KO: Saving File in %d secs!", msec/1000); 1553 qDebug("KO: Saving File in %d secs!", msec/1000);
1552 mCalendarModifiedFlag = true; 1554 mCalendarModifiedFlag = true;
1553} 1555}
1554void MainWindow::saveStopTimer() 1556void MainWindow::saveStopTimer()
1555{ 1557{
1556 mSaveTimer.stop(); 1558 mSaveTimer.stop();
1557 if (mSaveTimer.isActive() ) 1559 if (mSaveTimer.isActive() )
1558 qDebug("ti active "); 1560 qDebug("ti active ");
1559 else 1561 else
1560 qDebug("KO: Save timer stopped"); 1562 qDebug("KO: Save timer stopped");
1561} 1563}
1562void MainWindow::save() 1564void MainWindow::save()
1563{ 1565{
1564 if ( !mCalendarModifiedFlag ) { 1566 if ( !mCalendarModifiedFlag ) {
1565 qDebug("KO: Calendar not modified. Nothing saved."); 1567 qDebug("KO: Calendar not modified. Nothing saved.");
1566 return; 1568 return;
1567 } 1569 }
1568 if ( mSyncManager->blockSave() ) 1570 if ( mSyncManager->blockSave() )
1569 return; 1571 return;
1570 mSyncManager->setBlockSave(true); 1572 mSyncManager->setBlockSave(true);
1571 if ( mView->checkFileVersion( defaultFileName()) ) { 1573 if ( mView->checkFileVersion( defaultFileName()) ) {
1572 QTime neededSaveTime = QDateTime::currentDateTime().time(); 1574 QTime neededSaveTime = QDateTime::currentDateTime().time();
1573 setCaption(i18n("KO/Pi:Saving Data to File ..." )); 1575 setCaption(i18n("KO/Pi:Saving Data to File ..." ));
1574 qDebug("KO: Start saving data to file!"); 1576 qDebug("KO: Start saving data to file!");
1575 mView->saveCalendar( defaultFileName() ); 1577 mView->saveCalendar( defaultFileName() );
1576 mCalendarModifiedFlag = false; 1578 mCalendarModifiedFlag = false;
1577 int msNeeded = neededSaveTime.msecsTo( QDateTime::currentDateTime().time() ); 1579 int msNeeded = neededSaveTime.msecsTo( QDateTime::currentDateTime().time() );
1578 qDebug("KO: Needed %d ms for saving.",msNeeded ); 1580 qDebug("KO: Needed %d ms for saving.",msNeeded );
1579 QString savemes; 1581 QString savemes;
1580 savemes.sprintf(i18n("KO/Pi:File Saved. Needed %d sec, %d ms"),(msNeeded/1000)%100,msNeeded%1000 ); 1582 savemes.sprintf(i18n("KO/Pi:File Saved. Needed %d sec, %d ms"),(msNeeded/1000)%100,msNeeded%1000 );
1581 setCaption(savemes); 1583 setCaption(savemes);
1582 } else 1584 } else
1583 setCaption(i18n("Saving cancelled!")); 1585 setCaption(i18n("Saving cancelled!"));
1584 mSyncManager->setBlockSave( false ); 1586 mSyncManager->setBlockSave( false );
1585} 1587}
1586 1588
1587void MainWindow::keyReleaseEvent ( QKeyEvent * e) 1589void MainWindow::keyReleaseEvent ( QKeyEvent * e)
1588{ 1590{
1589 if ( !e->isAutoRepeat() ) { 1591 if ( !e->isAutoRepeat() ) {
1590 mFlagKeyPressed = false; 1592 mFlagKeyPressed = false;
1591 } 1593 }
1592} 1594}
1593void MainWindow::keyPressEvent ( QKeyEvent * e ) 1595void MainWindow::keyPressEvent ( QKeyEvent * e )
1594{ 1596{
1595 qApp->processEvents(); 1597 qApp->processEvents();
1596 if ( e->isAutoRepeat() && !mFlagKeyPressed ) { 1598 if ( e->isAutoRepeat() && !mFlagKeyPressed ) {
1597 e->ignore(); 1599 e->ignore();
1598 // qDebug(" ignore %d",e->isAutoRepeat() ); 1600 // qDebug(" ignore %d",e->isAutoRepeat() );
1599 return; 1601 return;
1600 } 1602 }
1601 if (! e->isAutoRepeat() ) 1603 if (! e->isAutoRepeat() )
1602 mFlagKeyPressed = true; 1604 mFlagKeyPressed = true;
1603 KOPrefs *p = KOPrefs::instance(); 1605 KOPrefs *p = KOPrefs::instance();
1604 bool showSelectedDates = false; 1606 bool showSelectedDates = false;
1605 int size; 1607 int size;
1606 int pro = 0; 1608 int pro = 0;
1607 //qDebug("MainWindow::keyPressEvent "); 1609 //qDebug("MainWindow::keyPressEvent ");
1608 switch ( e->key() ) { 1610 switch ( e->key() ) {
1609 case Qt::Key_Right: 1611 case Qt::Key_Right:
1610 if ( e->state() == Qt::ControlButton || e->state() == Qt::ShiftButton) 1612 if ( e->state() == Qt::ControlButton || e->state() == Qt::ShiftButton)
1611 mView->goNextMonth(); 1613 mView->goNextMonth();
1612 else 1614 else
1613 mView->goNext(); 1615 mView->goNext();
1614 showSelectedDates = true; 1616 showSelectedDates = true;
1615 break; 1617 break;
1616 case Qt::Key_Left: 1618 case Qt::Key_Left:
1617 if ( e->state() == Qt::ControlButton|| e->state() == Qt::ShiftButton ) 1619 if ( e->state() == Qt::ControlButton|| e->state() == Qt::ShiftButton )
1618 mView->goPreviousMonth(); 1620 mView->goPreviousMonth();
1619 else 1621 else
1620 mView->goPrevious(); 1622 mView->goPrevious();
1621 showSelectedDates = true; 1623 showSelectedDates = true;
1622 break; 1624 break;
1623 case Qt::Key_Down: 1625 case Qt::Key_Down:
1624 mView->viewManager()->agendaView()->scrollOneHourDown(); 1626 mView->viewManager()->agendaView()->scrollOneHourDown();
1625 break; 1627 break;
1626 case Qt::Key_Up: 1628 case Qt::Key_Up:
1627 mView->viewManager()->agendaView()->scrollOneHourUp(); 1629 mView->viewManager()->agendaView()->scrollOneHourUp();
1628 break; 1630 break;
1631 case Qt::Key_K:
1632 mView->viewManager()->showMonthViewWeek();
1633 break;
1629 case Qt::Key_I: 1634 case Qt::Key_I:
1630 mView->showIncidence(); 1635 mView->showIncidence();
1631 break; 1636 break;
1632 case Qt::Key_Delete: 1637 case Qt::Key_Delete:
1633 case Qt::Key_Backspace: 1638 case Qt::Key_Backspace:
1634 mView->deleteIncidence(); 1639 mView->deleteIncidence();
1635 break; 1640 break;
1636 case Qt::Key_D: 1641 case Qt::Key_D:
1637 mView->viewManager()->showDayView(); 1642 mView->viewManager()->showDayView();
1638 showSelectedDates = true; 1643 showSelectedDates = true;
1639 break; 1644 break;
1640 case Qt::Key_O: 1645 case Qt::Key_O:
1641 mView->toggleFilerEnabled( ); 1646 mView->toggleFilerEnabled( );
1642 break; 1647 break;
1643 case Qt::Key_0: 1648 case Qt::Key_0:
1644 case Qt::Key_1: 1649 case Qt::Key_1:
1645 case Qt::Key_2: 1650 case Qt::Key_2:
1646 case Qt::Key_3: 1651 case Qt::Key_3:
1647 case Qt::Key_4: 1652 case Qt::Key_4:
1648 case Qt::Key_5: 1653 case Qt::Key_5:
1649 case Qt::Key_6: 1654 case Qt::Key_6:
1650 case Qt::Key_7: 1655 case Qt::Key_7:
1651 case Qt::Key_8: 1656 case Qt::Key_8:
1652 case Qt::Key_9: 1657 case Qt::Key_9:
1653 pro = e->key()-48; 1658 pro = e->key()-48;
1654 if ( pro == 0 ) 1659 if ( pro == 0 )
1655 pro = 10; 1660 pro = 10;
1656 if ( e->state() == Qt::ControlButton) 1661 if ( e->state() == Qt::ControlButton)
1657 pro += 10; 1662 pro += 10;
1658 break; 1663 break;
1659 case Qt::Key_M: 1664 case Qt::Key_M:
1660 mView->viewManager()->showMonthView(); 1665 mView->viewManager()->showMonthView();
1661 showSelectedDates = true; 1666 showSelectedDates = true;
1662 break; 1667 break;
1663 case Qt::Key_Insert: 1668 case Qt::Key_Insert:
1664 mView->newEvent(); 1669 mView->newEvent();
1665 break; 1670 break;
1666 case Qt::Key_S : 1671 case Qt::Key_S :
1667 if ( e->state() == Qt::ControlButton || e->state() == Qt::ShiftButton) 1672 if ( e->state() == Qt::ControlButton || e->state() == Qt::ShiftButton)
1668 mView->newSubTodo(); 1673 mView->newSubTodo();
1669 else 1674 else
1670 mView->dialogManager()->showSearchDialog(); 1675 mView->dialogManager()->showSearchDialog();
1671 break; 1676 break;
1672 case Qt::Key_Y : 1677 case Qt::Key_Y :
1673 case Qt::Key_Z : 1678 case Qt::Key_Z :
1674 mView->viewManager()->showWorkWeekView(); 1679 mView->viewManager()->showWorkWeekView();
1675 showSelectedDates = true; 1680 showSelectedDates = true;
1676 break; 1681 break;
1677 case Qt::Key_U : 1682 case Qt::Key_U :
1678 mView->viewManager()->showWeekView(); 1683 mView->viewManager()->showWeekView();
1679 showSelectedDates = true; 1684 showSelectedDates = true;
1680 break; 1685 break;
1681 case Qt::Key_H : 1686 case Qt::Key_H :
1682 keyBindings(); 1687 keyBindings();
1683 break; 1688 break;
1684 case Qt::Key_W: 1689 case Qt::Key_W:
1685 mView->viewManager()->showWhatsNextView(); 1690 mView->viewManager()->showWhatsNextView();
1686 break; 1691 break;
1687 case Qt::Key_L: 1692 case Qt::Key_L:
1688 mView->viewManager()->showListView(); 1693 mView->viewManager()->showListView();
1689 break; 1694 break;
1690 case Qt::Key_N: 1695 case Qt::Key_N:
1691 mView->viewManager()->showNextXView(); 1696 mView->viewManager()->showNextXView();
1692 showSelectedDates = true; 1697 showSelectedDates = true;
1693 break; 1698 break;
1694 case Qt::Key_V: 1699 case Qt::Key_V:
1695 mView->viewManager()->showTodoView(); 1700 mView->viewManager()->showTodoView();
1696 break; 1701 break;
1697 case Qt::Key_C: 1702 case Qt::Key_C:
1698 mView->viewManager()->agendaView()->setStartHour( QTime::currentTime ().hour() ); 1703 mView->viewManager()->agendaView()->setStartHour( QTime::currentTime ().hour() );
1699 break; 1704 break;
1700 case Qt::Key_P: 1705 case Qt::Key_P:
1701 mView->showDatePicker( ); 1706 mView->showDatePicker( );
1702 break; 1707 break;
1703 case Qt::Key_F: 1708 case Qt::Key_F:
1704 if ( e->state() == Qt::ControlButton|| e->state() == Qt::ShiftButton ) 1709 if ( e->state() == Qt::ControlButton|| e->state() == Qt::ShiftButton )
1705 mView->editFilters(); 1710 mView->editFilters();
1706 else 1711 else
1707 mView->toggleFilter(); 1712 mView->toggleFilter();
1708 break; 1713 break;
1709 case Qt::Key_X: 1714 case Qt::Key_X:
1710 mView->toggleDateNavigatorWidget(); 1715 mView->toggleDateNavigatorWidget();
1711 break; 1716 break;
1712 case Qt::Key_Space: 1717 case Qt::Key_Space:
1713 mView->toggleExpand(); 1718 mView->toggleExpand();
1714 break; 1719 break;
1715 case Qt::Key_A: 1720 case Qt::Key_A:
1716 mView->toggleAllDaySize(); 1721 mView->toggleAllDaySize();
1717 break; 1722 break;
1718 case Qt::Key_T: 1723 case Qt::Key_T:
1719 if ( e->state() == Qt::ControlButton|| e->state() == Qt::ShiftButton ) 1724 if ( e->state() == Qt::ControlButton|| e->state() == Qt::ShiftButton )
1720 mView->newTodo(); 1725 mView->newTodo();
1721 else { 1726 else {
1722 mView->goToday(); 1727 mView->goToday();
1723 showSelectedDates = true; 1728 showSelectedDates = true;
1724 } 1729 }
1725 break; 1730 break;
1726 case Qt::Key_J: 1731 case Qt::Key_J:
1727 mView->viewManager()->showJournalView(); 1732 mView->viewManager()->showJournalView();
1728 break; 1733 break;
1729 case Qt::Key_B: 1734 case Qt::Key_B:
1730 mView->editIncidenceDescription();; 1735 mView->editIncidenceDescription();;
1731 break; 1736 break;
1732 // case Qt::Key_Return: 1737 // case Qt::Key_Return:
1733 case Qt::Key_E: 1738 case Qt::Key_E:
1734 if ( e->state() == Qt::ControlButton|| e->state() == Qt::ShiftButton ) 1739 if ( e->state() == Qt::ControlButton|| e->state() == Qt::ShiftButton )
1735 mView->newEvent(); 1740 mView->newEvent();
1736 else 1741 else
1737 mView->editIncidence(); 1742 mView->editIncidence();
1738 break; 1743 break;
1739 case Qt::Key_Plus: 1744 case Qt::Key_Plus:
1740 size = p->mHourSize +2; 1745 size = p->mHourSize +2;
1741 if ( size <= 22 ) 1746 if ( size <= 22 )
1742 configureAgenda( size ); 1747 configureAgenda( size );
1743 break; 1748 break;
1744 case Qt::Key_Minus: 1749 case Qt::Key_Minus:
1745 size = p->mHourSize - 2; 1750 size = p->mHourSize - 2;
1746 if ( size >= 4 ) 1751 if ( size >= 4 )
1747 configureAgenda( size ); 1752 configureAgenda( size );
1748 break; 1753 break;
1749 1754
1750 1755
1751 default: 1756 default:
1752 e->ignore(); 1757 e->ignore();
1753 } 1758 }
1754 if ( pro > 0 ) { 1759 if ( pro > 0 ) {
1755 mView->selectFilter( pro-1 ); 1760 mView->selectFilter( pro-1 );
1756 } 1761 }