summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--bin/kdepim/korganizer/germantranslation.txt10
-rw-r--r--korganizer/mainwindow.cpp16
2 files changed, 20 insertions, 6 deletions
diff --git a/bin/kdepim/korganizer/germantranslation.txt b/bin/kdepim/korganizer/germantranslation.txt
index 9105919..6b62d4e 100644
--- a/bin/kdepim/korganizer/germantranslation.txt
+++ b/bin/kdepim/korganizer/germantranslation.txt
@@ -867,515 +867,525 @@
867{ "Oktober","Oktober" }, 867{ "Oktober","Oktober" },
868{ "Title","Titel" }, 868{ "Title","Titel" },
869{ "%1 %","%1 %" }, 869{ "%1 %","%1 %" },
870{ "Enable Pi-Sync","Schalte Pi-Sync an" }, 870{ "Enable Pi-Sync","Schalte Pi-Sync an" },
871{ "Import!","Importiere!" }, 871{ "Import!","Importiere!" },
872{ "inserting birthdays - close to abort!","Burzeltage werden eingefügt - schließe um abzubrechen!" }, 872{ "inserting birthdays - close to abort!","Burzeltage werden eingefügt - schließe um abzubrechen!" },
873{ "Export to phone options","Export ans Handy Optionen" }, 873{ "Export to phone options","Export ans Handy Optionen" },
874{ "Please read Help-Sync Howto\nto know what settings to use.","Bitte lese Hilfe-Sync Howto\num zu erfahren welche Einstellungen\ndie richtigen sind." }, 874{ "Please read Help-Sync Howto\nto know what settings to use.","Bitte lese Hilfe-Sync Howto\num zu erfahren welche Einstellungen\ndie richtigen sind." },
875{ "I/O device: ","I/O device: " }, 875{ "I/O device: ","I/O device: " },
876{ "Connection: ","Connection: " }, 876{ "Connection: ","Connection: " },
877{ "Model(opt.): ","Model(opt.): " }, 877{ "Model(opt.): ","Model(opt.): " },
878{ "Write back events in future only","Schreibe nur zukünftige Termine zurück" }, 878{ "Write back events in future only","Schreibe nur zukünftige Termine zurück" },
879{ "Max. weeks in future: ","Max. Wochen in der Zukunft: " }, 879{ "Max. weeks in future: ","Max. Wochen in der Zukunft: " },
880{ "NOTE: This will remove all old\ntodo/calendar data on phone!","ACHTUNG: Das löscht alle alten\nTodo/Kalender Daten auf dem Handy!" }, 880{ "NOTE: This will remove all old\ntodo/calendar data on phone!","ACHTUNG: Das löscht alle alten\nTodo/Kalender Daten auf dem Handy!" },
881{ "Export to mobile phone!","Exportiere auf das Handy!" }, 881{ "Export to mobile phone!","Exportiere auf das Handy!" },
882{ "Export complete calendar","Exportiere kompletten Kalender" }, 882{ "Export complete calendar","Exportiere kompletten Kalender" },
883{ "Writing to phone...","Sende Daten ans Handy..." }, 883{ "Writing to phone...","Sende Daten ans Handy..." },
884{ " This may take 1-3 minutes!"," Das kann 1-3 Minuten dauern!" }, 884{ " This may take 1-3 minutes!"," Das kann 1-3 Minuten dauern!" },
885{ "Retry","Nochmal versuchen" }, 885{ "Retry","Nochmal versuchen" },
886{ "KDE/Pim phone access","KDE/Pim Handy Zugriff" }, 886{ "KDE/Pim phone access","KDE/Pim Handy Zugriff" },
887{ "Error accessing device!\nPlease turn on connection\nand retry!","Fehler beim Zugriff auf das Gerät!\nBitte die Verbindung aktivieren\nund nochmal versuchen!" }, 887{ "Error accessing device!\nPlease turn on connection\nand retry!","Fehler beim Zugriff auf das Gerät!\nBitte die Verbindung aktivieren\nund nochmal versuchen!" },
888{ "Error exporting to phone!","Fehler beim Export auf das Handy!" }, 888{ "Error exporting to phone!","Fehler beim Export auf das Handy!" },
889{ "Export filtered calendar","Exportiere gefilterten Kalender" }, 889{ "Export filtered calendar","Exportiere gefilterten Kalender" },
890{ "Preferences","Vorlieben" }, 890{ "Preferences","Vorlieben" },
891{ "Global","Global" }, 891{ "Global","Global" },
892{ "Phone","Phone" }, 892{ "Phone","Phone" },
893{ "SMS","SMS" }, 893{ "SMS","SMS" },
894{ "Fax","Fax" }, 894{ "Fax","Fax" },
895{ "Pager","Pager" }, 895{ "Pager","Pager" },
896{ "SIP","SIP" }, 896{ "SIP","SIP" },
897{ "Italian","Italienisch" }, 897{ "Italian","Italienisch" },
898{ "24:00","24:00" }, 898{ "24:00","24:00" },
899{ "12:00am","12:00am" }, 899{ "12:00am","12:00am" },
900{ "24.03.2004 (%d.%m.%Y|%A %d %B %Y)","24.03.2004 (%d.%m.%Y|%A %d %B %Y)" }, 900{ "24.03.2004 (%d.%m.%Y|%A %d %B %Y)","24.03.2004 (%d.%m.%Y|%A %d %B %Y)" },
901{ "03.24.2004 (%m.%d.%Y|%A %B %d %Y)","03.24.2004 (%m.%d.%Y|%A %B %d %Y)" }, 901{ "03.24.2004 (%m.%d.%Y|%A %B %d %Y)","03.24.2004 (%m.%d.%Y|%A %B %d %Y)" },
902{ "2004-03-24 (%Y-%m-%d|%A %Y %B %d)","2004-03-24 (%Y-%m-%d|%A %Y %B %d)" }, 902{ "2004-03-24 (%Y-%m-%d|%A %Y %B %d)","2004-03-24 (%Y-%m-%d|%A %Y %B %d)" },
903{ "Mon 19.04.04: %a %d.%m.%y","Mon 19.04.04: %a %d.%m.%y" }, 903{ "Mon 19.04.04: %a %d.%m.%y","Mon 19.04.04: %a %d.%m.%y" },
904{ "Mon, 19.Apr.04: %a, %d.%b.%y","Mon, 19.Apr.04: %a, %d.%b.%y" }, 904{ "Mon, 19.Apr.04: %a, %d.%b.%y","Mon, 19.Apr.04: %a, %d.%b.%y" },
905{ "Add 30 min to selected Timezone","Addiere 30 min zur Zeitzone" }, 905{ "Add 30 min to selected Timezone","Addiere 30 min zur Zeitzone" },
906{ "Used Mail Client","Benutzter Mail Client" }, 906{ "Used Mail Client","Benutzter Mail Client" },
907{ "Channel:","Channel:" }, 907{ "Channel:","Channel:" },
908{ "Message:","Message:" }, 908{ "Message:","Message:" },
909{ "Parameters:","Parameter:" }, 909{ "Parameters:","Parameter:" },
910{ "HINT: Delimiter=; Name=%1,Email=%2","Hinweis: Begrenzer=; Name=%1,Email=%2" }, 910{ "HINT: Delimiter=; Name=%1,Email=%2","Hinweis: Begrenzer=; Name=%1,Email=%2" },
911{ "extra Message:","extra Message:" }, 911{ "extra Message:","extra Message:" },
912{ "extra Parameters:","extra Parameter:" }, 912{ "extra Parameters:","extra Parameter:" },
913{ "HINT: Emails=%1,Attachments=%2","Hinweis: Emails=%1,Attachments=%2" }, 913{ "HINT: Emails=%1,Attachments=%2","Hinweis: Emails=%1,Attachments=%2" },
914{ "External Apps.","Externe Appl." }, 914{ "External Apps.","Externe Appl." },
915{ "24 hours","24 Std." }, 915{ "24 hours","24 Std." },
916{ "3 hours","3 Std." }, 916{ "3 hours","3 Std." },
917{ "1 hour","1 Std." }, 917{ "1 hour","1 Std." },
918{ "15 minutes","15 Min." }, 918{ "15 minutes","15 Min." },
919{ "5 minutes","5 Min." }, 919{ "5 minutes","5 Min." },
920{ "1 minute","1 Min." }, 920{ "1 minute","1 Min." },
921{ "23","23" }, 921{ "23","23" },
922{ "Mon 15","Mon 15" }, 922{ "Mon 15","Mon 15" },
923{ "Configure KO","Konfiguriere KO" }, 923{ "Configure KO","Konfiguriere KO" },
924{ "Event text","Termin Text" }, 924{ "Event text","Termin Text" },
925{ "ToDo","Todo" }, 925{ "ToDo","Todo" },
926{ "Today","Heute" }, 926{ "Today","Heute" },
927{ "What's Next View","What's Next Ansicht" }, 927{ "What's Next View","What's Next Ansicht" },
928{ "Allday Agenda view shows todos","Ganztag Agenda zeigt Todos" }, 928{ "Allday Agenda view shows todos","Ganztag Agenda zeigt Todos" },
929{ "Alarm","Alarm" }, 929{ "Alarm","Alarm" },
930{ "Used %1 Client","Benutzter %1 Client" }, 930{ "Used %1 Client","Benutzter %1 Client" },
931{ "No email client installed","Kein Email Klient installiert" }, 931{ "No email client installed","Kein Email Klient installiert" },
932{ "Userdefined email client","Benutzerdef. Email Klient" }, 932{ "Userdefined email client","Benutzerdef. Email Klient" },
933{ "OM/Pi email client","OM/Pi Email Klient" }, 933{ "OM/Pi email client","OM/Pi Email Klient" },
934{ "Include in multiple ","Beziehe in multiple " }, 934{ "Include in multiple ","Beziehe in multiple " },
935{ "calendar ","Kalender " }, 935{ "calendar ","Kalender " },
936{ "addressbook ","Adressbuch " }, 936{ "addressbook ","Adressbuch " },
937{ "pwmanager","PWmanager" }, 937{ "pwmanager","PWmanager" },
938{ " sync"," Sync ein" }, 938{ " sync"," Sync ein" },
939{ "Write back synced data","Schreibe gesyncte Daten zurück" }, 939{ "Write back synced data","Schreibe gesyncte Daten zurück" },
940{ "-- Write back (on remote) existing entries only","-- Schreibe nur existierende (entfernte) Einträge zurück" }, 940{ "-- Write back (on remote) existing entries only","-- Schreibe nur existierende (entfernte) Einträge zurück" },
941{ "-- Write back (calendar) entries in future only","-- Schreibe nur zukünftige Kalender-Einträge zurück" }, 941{ "-- Write back (calendar) entries in future only","-- Schreibe nur zukünftige Kalender-Einträge zurück" },
942{ "---- Max. weeks in future: ","---- Max. wochen in der Zukunft: " }, 942{ "---- Max. weeks in future: ","---- Max. wochen in der Zukunft: " },
943{ "Pi-Sync ( direct Kx/Pi to Kx/Pi sync )","Pi-Sync ( direktes Kx/Pi zu Kx/Pi sync )" }, 943{ "Pi-Sync ( direct Kx/Pi to Kx/Pi sync )","Pi-Sync ( direktes Kx/Pi zu Kx/Pi sync )" },
944{ "Mobile device (cell phone)","Mobiles Gerät (Handy)" }, 944{ "Mobile device (cell phone)","Mobiles Gerät (Handy)" },
945{ "Help...","Hilfe..." }, 945{ "Help...","Hilfe..." },
946{ "Local file Cal:","Lokale Datei Kal:" }, 946{ "Local file Cal:","Lokale Datei Kal:" },
947{ "Local file ABook:","Lokale Datei ABuch:" }, 947{ "Local file ABook:","Lokale Datei ABuch:" },
948{ "Local file PWMgr:","Lokale Datei PWMgr:" }, 948{ "Local file PWMgr:","Lokale Datei PWMgr:" },
949{ "Addressbook file (*.vcf) is used by KA/Pi","Adressbuch Datei (*.vcf) wird von KA/Pi genutzt" }, 949{ "Addressbook file (*.vcf) is used by KA/Pi","Adressbuch Datei (*.vcf) wird von KA/Pi genutzt" },
950{ "Calendar:","Kalender:" }, 950{ "Calendar:","Kalender:" },
951{ "AddressBook:","AdressBuch:" }, 951{ "AddressBook:","AdressBuch:" },
952{ "PWManager:","PWManager:" }, 952{ "PWManager:","PWManager:" },
953{ "Addressbook file is used by KA/Pi","Adressbuch Datei wird von KA/Pi genutzt" }, 953{ "Addressbook file is used by KA/Pi","Adressbuch Datei wird von KA/Pi genutzt" },
954{ "ssh/scp","ssh/scp" }, 954{ "ssh/scp","ssh/scp" },
955{ "ftp","ftp" }, 955{ "ftp","ftp" },
956{ "Password for remote access: (could be the same for each)","Passwort für entfernten Zugriff: (kann dasselbe sein für alle)" }, 956{ "Password for remote access: (could be the same for each)","Passwort für entfernten Zugriff: (kann dasselbe sein für alle)" },
957{ "Remote IP address: (could be the same for each)","Entfernte IP Adresse: (kann dasselbe sein für alle)" }, 957{ "Remote IP address: (could be the same for each)","Entfernte IP Adresse: (kann dasselbe sein für alle)" },
958{ "Remote port number: (should be different for each)","Entfernte Port Nummer: (Sollte für alle unterschiedlich sein)" }, 958{ "Remote port number: (should be different for each)","Entfernte Port Nummer: (Sollte für alle unterschiedlich sein)" },
959{ "command for downloading remote file to local device","Kommando zum Download der entfernten Datei zum lokalen Gerät" }, 959{ "command for downloading remote file to local device","Kommando zum Download der entfernten Datei zum lokalen Gerät" },
960{ "command for uploading local temp file to remote device","Kommando zum Upload der lokalen temp. Datei zum entfernten Gerät" }, 960{ "command for uploading local temp file to remote device","Kommando zum Upload der lokalen temp. Datei zum entfernten Gerät" },
961{ "Insert device where\nphone is connected. E.g.:\n","Füge Device ein, an dem\ndas Handy angeschlossen ist. Z.B.:\n" }, 961{ "Insert device where\nphone is connected. E.g.:\n","Füge Device ein, an dem\ndas Handy angeschlossen ist. Z.B.:\n" },
962{ "KDE-Pim sync config","KDE-Pim sync Konfig" }, 962{ "KDE-Pim sync config","KDE-Pim sync Konfig" },
963{ "Insert kind of connection,e.g.:\n","Füge Art der Verbindung ein,z.B.:\n" }, 963{ "Insert kind of connection,e.g.:\n","Füge Art der Verbindung ein,z.B.:\n" },
964{ "Recommended: Leave empty!\n(Such that model can\nbe auto detected)\nOr insert name of model:\n","Empfohlen: Leer lassen!\n(So dass das Model\nautomatisch erkannt\nwerden kann)\nOder füge Model Name ein:\n" }, 964{ "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" },
965{ "Port number (Default: %1)","Port Nummer (Default: %1)" }, 965{ "Port number (Default: %1)","Port Nummer (Default: %1)" },
966{ "Password to enable\naccess from remote:","Passwort um entfernten\nZugriff zuzulassen:" }, 966{ "Password to enable\naccess from remote:","Passwort um entfernten\nZugriff zuzulassen:" },
967{ "Automatically start\nat application startup","Starte automatisch\nbeim Programmstart" }, 967{ "Automatically start\nat application startup","Starte automatisch\nbeim Programmstart" },
968{ "Automatically sync\nwith KDE-Desktop","Automatischer Sync\nmit dem KDE-Desktop" }, 968{ "Automatically sync\nwith KDE-Desktop","Automatischer Sync\nmit dem KDE-Desktop" },
969{ "Enter port for Pi-Sync","Port Nummer für Pi-Sync" }, 969{ "Enter port for Pi-Sync","Port Nummer für Pi-Sync" },
970{ "Disable Pi-Sync","Schalte Pi-Sync aus" }, 970{ "Disable Pi-Sync","Schalte Pi-Sync aus" },
971{ "Do you really want\nto multiple sync\nwith all checked profiles?\nSyncing takes some\ntime - all profiles\nare synced twice!","Wollen Sie wirklich\nmit allen selektierten\nProfilen \"Multi-Syncen\"?\nDas Syncen dauert einige Zeit -\nalle Profile werden zweimal gesynct!" }, 971{ "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!" },
972{ "KDE-Pim Sync","KDE-Pim Sync" }, 972{ "KDE-Pim Sync","KDE-Pim Sync" },
973{ "Multiple profiles","Multi-Sync Profile" }, 973{ "Multiple profiles","Multi-Sync Profile" },
974{ "Device: ","Gerät: " }, 974{ "Device: ","Gerät: " },
975{ "Multiple sync started.","Multi-Sync gestartet." }, 975{ "Multiple sync started.","Multi-Sync gestartet." },
976{ "Nothing synced! No profiles defined for multisync!","Nichts gesynct! Keine Profile\nselektiert für Multi-Sync" }, 976{ "Nothing synced! No profiles defined for multisync!","Nichts gesynct! Keine Profile\nselektiert für Multi-Sync" },
977{ "Turn filter on","Schalte Filter an" }, 977{ "Turn filter on","Schalte Filter an" },
978{ "Turn filter off","Schalte Filter aus" }, 978{ "Turn filter off","Schalte Filter aus" },
979{ "Key bindings KOrganizer/Pi","Tastatur Belegung KOrganizer/Pi" }, 979{ "Key bindings KOrganizer/Pi","Tastatur Belegung KOrganizer/Pi" },
980{ "<p><b>White</b>: Item readonly</p>\n","<p><b>Weiss</b>: Eintrag schreibgeschützt</p>\n" }, 980{ "<p><b>White</b>: Item readonly</p>\n","<p><b>Weiss</b>: Eintrag schreibgeschützt</p>\n" },
981{ "<p><b>Dark yellow</b>: Event/todo with attendees.</p>\n","<p><b>Dunkelgelb</b>: Termin/Todo mit Teilnehmern.</p>\n" }, 981{ "<p><b>Dark yellow</b>: Event/todo with attendees.</p>\n","<p><b>Dunkelgelb</b>: Termin/Todo mit Teilnehmern.</p>\n" },
982{ "<p><b>Black</b>: Event/todo with attendees. You are the organizer!</p>\n","<p><b>Schwarz</b>: Termin/Todo mit Teilnehmern. Sie sind der Organisator!</p>\n" }, 982{ "<p><b>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" },
983{ "<p><b>Dark green</b>: Information(description) available.([i] in WN view)</p>\n","<p><b>Dunkelgrün</b>: Information(Beschreibung) verfügbar.([i] in WN Ansicht)</p>\n" }, 983{ "<p><b>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" },
984{ "<p><b>Blue</b>: Recurrent event.([r] in Whats'Next view)</p>\n","<p><b>Blau</b>: Wiederholender Termin.([r] in Whats'Next Ansicht)</p>\n" }, 984{ "<p><b>Blue</b>: Recurrent event.([r] in Whats'Next view)</p>\n","<p><b>Blau</b>: Wiederholender Termin.([r] in Whats'Next Ansicht)</p>\n" },
985{ "<p><b>Red</b>: Alarm set.([a] in Whats'Next view)</p>\n","<p><b>Rot</b>: Alarm gesetzt.([a] in Whats'Next Ansicht)</p>\n" }, 985{ "<p><b>Red</b>: Alarm set.([a] in Whats'Next view)</p>\n","<p><b>Rot</b>: Alarm gesetzt.([a] in Whats'Next Ansicht)</p>\n" },
986{ "<p><b>Cross</b>: Item cancelled.([c] in Whats'Next view)</p>\n","<p><b>Kreuz</b>: Eintrag gecancelt.([c] in Whats'Next Ansicht)</p>\n" }, 986{ "<p><b>Cross</b>: Item cancelled.([c] in Whats'Next view)</p>\n","<p><b>Kreuz</b>: Eintrag gecancelt.([c] in Whats'Next Ansicht)</p>\n" },
987{ "<p><b>(for square icons in agenda and month view)</b></p>\n","<p><b>(für quadratische Icons in Agenda und Monats Ansicht)</b></p>\n" }, 987{ "<p><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" },
988{ "<p><h2>KO/Pi icon colors:</h2></p>\n","<p><h2>KO/Pi Icon Farben:</h2></p>\n" }, 988{ "<p><h2>KO/Pi icon colors:</h2></p>\n","<p><h2>KO/Pi Icon Farben:</h2></p>\n" },
989{ "<p><b>E</b>: Edit item</p>\n","<p><b>E</b>: Editiere Eintrag</p>\n" }, 989{ "<p><b>E</b>: Edit item</p>\n","<p><b>E</b>: Editiere Eintrag</p>\n" },
990{ "<p><b>A</b>: Show agenda view.</p>\n","<p><b>A</b>: Zeige Agenda Ansicht.</p>\n" }, 990{ "<p><b>A</b>: Show agenda view.</p>\n","<p><b>A</b>: Zeige Agenda Ansicht.</p>\n" },
991{ "<p><b>I,C</b>: Close dialog.</p>\n","<p><b>I,C</b>: Schließe Dialog.</p>\n" }, 991{ "<p><b>I,C</b>: Close dialog.</p>\n","<p><b>I,C</b>: Schließe Dialog.</p>\n" },
992{ "<p><h3>In event/todo viewer:</h3></p>\n","<p><h3>In Termin/Todo Detail-Anzeige:</h3></p>\n" }, 992{ "<p><h3>In event/todo viewer:</h3></p>\n","<p><h3>In Termin/Todo Detail-Anzeige:</h3></p>\n" },
993{ "<p><b>shift+up/down</b>: Goto first/last item</p>\n","<p><b>shift+up/down</b>: Gehe zum ersten/letzten Eintrag</p>\n" }, 993{ "<p><b>shift+up/down</b>: Goto first/last item</p>\n","<p><b>shift+up/down</b>: Gehe zum ersten/letzten Eintrag</p>\n" },
994{ "<p><b>ctrl+up/down</b>: Goto up/down by 20% of items</p>\n","<p><b>ctrl+up/down</b>: Gehe hoch/runter 20% aller Einträge</p>\n" }, 994{ "<p><b>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" },
995{ "<p><b>up/down</b>: Next/prev item</p>\n","<p><b>up/down</b>: Nächster/vorheriger Eintrag</p>\n" }, 995{ "<p><b>up/down</b>: Next/prev item</p>\n","<p><b>up/down</b>: Nächster/vorheriger Eintrag</p>\n" },
996{ "<p><b>return+shift</b>: Deselect item+one step down</p>\n","<p><b>return+shift</b>: Deselektiere Item+Cursor einen Eintrag runter</p>\n" }, 996{ "<p><b>return+shift</b>: Deselect item+one step down</p>\n","<p><b>return+shift</b>: Deselektiere Item+Cursor einen Eintrag runter</p>\n" },
997{ "<p><b>return</b>: Select item+one step down</p>\n","<p><b>return</b>: Selektiere Item+Cursor einen Eintrag runter</p>\n" }, 997{ "<p><b>return</b>: Select item+one step down</p>\n","<p><b>return</b>: Selektiere Item+Cursor einen Eintrag runter</p>\n" },
998{ "<p><b>I</b>: Show info of current item+one step down.</p>\n","<p><b>I</b>: Zeige Detail-Ansicht vom sel.Eintrag+Cursor einen Eintrag runter.</p>\n" }, 998{ "<p><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" },
999{ "<p><h3>In list view:</h3></p>\n","<p><h3>In Listen Ansicht:</h3></p>\n" }, 999{ "<p><h3>In list view:</h3></p>\n","<p><h3>In Listen Ansicht:</h3></p>\n" },
1000{ "<p><b>return+shift</b>: Mark item as not completed+one step down</p>\n","<p><b>return+shift</b>: Markiere Todo als nicht erledigt+Cursor einen Eintrag runter</p>\n" }, 1000{ "<p><b>return+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" },
1001{ "<p><b>return</b>: Mark item as completed+one step down.</p>\n","<p><b>return</b>: Markiere Todo als erledigt+Cursor einen Eintrag runter.</p>\n" }, 1001{ "<p><b>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" },
1002{ "<p><b>Q</b>: Toggle quick todo line edit.</p>\n","<p><b>Q</b>: Zeige/verstecke Quick Todo Eingabe Zeile.</p>\n" }, 1002{ "<p><b>Q</b>: Toggle quick todo line edit.</p>\n","<p><b>Q</b>: Zeige/verstecke Quick Todo Eingabe Zeile.</p>\n" },
1003{ "<p><b>shift+P</b>: Make new <b>P</b>arent for todo selected with shift+S</p>\n","<p><b>shift+P</b>: Mache Todo zum neuen <b>P</b>arent Todo für das Todo, welches mit shift+Sselektiert wurde.</p>\n" }, 1003{ "<p><b>shift+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" },
1004{ "<p><b>shift+S</b>: Make <b>S</b>ubtodo (reparent todo)</p>\n","<p><b>shift+S</b>: Mache Todo zum <b>S</b>ubtodo</p>\n" }, 1004{ "<p><b>shift+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" },
1005{ "<p><b>shift+U</b>: <b>U</b>nparent todo (make root todo)</p>\n","<p><b>shift+U</b>: <b>U</b>nparent Todo (Mache Sub-Todo zum Toplevel Todo)</p>\n" }, 1005{ "<p><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" },
1006{ "<p><h3>In todo view:</h3></p>\n","<p><h3>In Todo Anzige:</h3></p>\n" }, 1006{ "<p><h3>In todo view:</h3></p>\n","<p><h3>In Todo Anzige:</h3></p>\n" },
1007{ "<p><b>ctrl+up/down</b>: Scroll small todo view</p>\n","<p><b>ctrl+up/down</b>: Scrolle kleine Todo Ansicht</p>\n" }, 1007{ "<p><b>ctrl+up/down</b>: Scroll small todo view</p>\n","<p><b>ctrl+up/down</b>: Scrolle kleine Todo Ansicht</p>\n" },
1008{ "<p><b>up/down</b>: Scroll agenda view</p>\n","<p><b>up/down</b>: Scrolle Agenda Ansicht</p>\n" }, 1008{ "<p><b>up/down</b>: Scroll agenda view</p>\n","<p><b>up/down</b>: Scrolle Agenda Ansicht</p>\n" },
1009{ "<p><h3>In agenda view:</h3></p>\n","<p><h3>In Agenda Ansicht:</h3></p>\n" }, 1009{ "<p><h3>In agenda view:</h3></p>\n","<p><h3>In Agenda Ansicht:</h3></p>\n" },
1010{ "<p><b>del,backspace</b>: Delete selected item</p>\n","<p><b>del,backspace</b>: Lösche selektiertes Item</p>\n" }, 1010{ "<p><b>del,backspace</b>: Delete selected item</p>\n","<p><b>del,backspace</b>: Lösche selektiertes Item</p>\n" },
1011{ "<p><b>left</b>: Prev. week | <b>left+ctrl</b>: Prev. month</p>\n","<p><b>left</b>: Vorh. Woche | <b>left+ctrl</b>: Vorh. Monat</p>\n" }, 1011{ "<p><b>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" },
1012{ "<p><b>right</b>: Next week | <b>right+ctrl</b>: Next month</p>\n","<p><b>right</b>: Nächste Woche | <b>right+ctrl</b>: Nächste Woche</p>\n" }, 1012{ "<p><b>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" },
1013{ "<p><b>B</b>: Edit description (details) of selected item</p>\n","<p><b>B</b>: Editiere Beschreibung (Details) des selektierten Items</p>\n" }, 1013{ "<p><b>B</b>: Edit description (details) of selected item</p>\n","<p><b>B</b>: Editiere Beschreibung (Details) des selektierten Items</p>\n" },
1014{ "<p><b>C</b>: Show current time in agenda view</p>\n","<p><b>C</b>: Zeige aktuelle Zeit in Agenda Ansicht</p>\n" }, 1014{ "<p><b>C</b>: Show current time in agenda view</p>\n","<p><b>C</b>: Zeige aktuelle Zeit in Agenda Ansicht</p>\n" },
1015{ "<p><b>+,-</b> : Zoom in/out agenda | <b>A</b>: Toggle allday agenda height</p>\n","<p><b>+,-</b> : Zoom rein/raus Agenda | <b>A</b>: Wechsle Ganztag Agenda Höhe</p>\n" }, 1015{ "<p><b>+,-</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" },
1016{ "<p><b>S+ctrl</b>: Add sub-todo | <b>X+ctrl</b>: Toggle datenavigator</p>\n","<p><b>S+ctrl</b>: Füge Sub-Todo hinzu | <b>X+ctrl</b>: Zeige/verstecke Datumsnavigator</p>\n" }, 1016{ "<p><b>S+ctrl</b>: Add sub-todo | <b>X+ctrl</b>: Toggle datenavigator</p>\n","<p><b>S+ctrl</b>: Füge Sub-Todo hinzu | <b>X+ctrl</b>: Zeige/verstecke Datumsnavigator</p>\n" },
1017{ "<p><b>T</b>: Goto today | <b>T+ctrl</b>: New Todo</p>\n","<p><b>T</b>: Gehe zu Heute | <b>T+ctrl</b>: Neues Todo</p>\n" }, 1017{ "<p><b>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" },
1018{ "<p><b>E</b>: Edit selected item |<b> E+ctrl</b>: New Event</p>\n","<p><b>E</b>: Editiere selektiertes Item |<b> E+ctrl</b>: Neuer Termin</p>\n" }, 1018{ "<p><b>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" },
1019{ "<p><b>D</b>: One day view | <b>M</b>: Month view</p>\n","<p><b>D</b>: Ein-Tages Ansicht | <b>M</b>: Monatsansicht</p>\n" }, 1019{ "<p><b>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" },
1020{ "<p><b>Z,Y</b>: Work week view | <b>U</b>: Week view</p>\n","<p><b>Z,Y</b>: Arbeitswochenansicht | <b>U</b>: Wochenansicht</p>\n" }, 1020{ "<p><b>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" },
1021{ "<p><b>V</b>: Todo view | <b>L</b>: Event list view</p>\n","<p><b>V</b>: Todo Ansicht | <b>L</b>: Termin Listen Ansicht</p>\n" }, 1021{ "<p><b>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" },
1022{ "<p><b>X</b>: Next X days view| <b>W</b>: What's next view\n ","<p><b>X</b>: Nächste-X-Tage Ansicht | <b>W</b>: What's Next Ansicht\n " }, 1022{ "<p><b>X</b>: Next X days view| <b>W</b>: What's next view\n ","<p><b>X</b>: Nächste-X-Tage Ansicht | <b>W</b>: What's Next Ansicht\n " },
1023{ "<p><b>1-0</b> (+<b>ctrl</b>): Select filter 1-10 (11-20)</p>\n","<p><b>1-0</b> (+<b>ctrl</b>): Selektiere Filter 1-10 (11-20)</p>\n" }, 1023{ "<p><b>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" },
1024{ "<p><b>O</b>: Filter On/Off | <b>J</b>: Journal view</p>\n","<p><b>O</b>: Filter An/Aus | <b>J</b>: Journal Ansicht</p>\n" }, 1024{ "<p><b>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" },
1025{ "<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" }, 1025{ "<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" },
1026{ "<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" }, 1026{ "<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" },
1027{ "<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" }, 1027{ "<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" },
1028{ "<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" }, 1028{ "<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" },
1029{ "<p><h2>KO/Pi key shortcuts:</h2></p>\n","<p><h2>KO/Pi Tastatur Kurzbefehle:</h2></p>\n" }, 1029{ "<p><h2>KO/Pi key shortcuts:</h2></p>\n","<p><h2>KO/Pi Tastatur Kurzbefehle:</h2></p>\n" },
1030{ "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" }, 1030{ "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" },
1031{ "Auto Saving in KOrganizer/Pi","Auto Speichern in KOrganizer/Pi" }, 1031{ "Auto Saving in KOrganizer/Pi","Auto Speichern in KOrganizer/Pi" },
1032{ "\nhttp://sourceforge.net/projects/kdepimpi\n","\nhttp://sourceforge.net/projects/kdepimpi\n" }, 1032{ "\nhttp://sourceforge.net/projects/kdepimpi\n","\nhttp://sourceforge.net/projects/kdepimpi\n" },
1033{ "\nor report them in the bugtracker on\n","\noder trage sie in dem Bugtracker ein auf\n" }, 1033{ "\nor report them in the bugtracker on\n","\noder trage sie in dem Bugtracker ein auf\n" },
1034{ "\nPlease report unexpected behaviour to\nlutz@pi-sync.info\n","\nBitte melde fehlerhaftes Verhalten an\nlutz@pi-sync.info\n" }, 1034{ "\nPlease report unexpected behaviour to\nlutz@pi-sync.info\n","\nBitte melde fehlerhaftes Verhalten an\nlutz@pi-sync.info\n" },
1035{ "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" }, 1035{ "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" },
1036{ "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" }, 1036{ "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" },
1037{ "Known Problems in KOrganizer/Pi","Bekannte Probleme in KOrganizer/Pi" }, 1037{ "Known Problems in KOrganizer/Pi","Bekannte Probleme in KOrganizer/Pi" },
1038{ "KO/Pi FAQ","KO/Pi FAQ" }, 1038{ "KO/Pi FAQ","KO/Pi FAQ" },
1039{ "PDA-Edition\nfor: Zaurus 5x00/7x0/860/3000/6000\n","PDA-Edition\nfür: Zaurus 5x00/7x0/860/3000/6000\n" }, 1039{ "PDA-Edition\nfor: Zaurus 5x00/7x0/860/3000/6000\n","PDA-Edition\nfür: Zaurus 5x00/7x0/860/3000/6000\n" },
1040{ "KOrganizer/Platform-independent\n","KOrganizer/Platform-independent\n" }, 1040{ "KOrganizer/Platform-independent\n","KOrganizer/Platform-independent\n" },
1041{ "About KOrganizer/Pi","Über KOrganizer/Pi" }, 1041{ "About KOrganizer/Pi","Über KOrganizer/Pi" },
1042{ "From: ","Von: " }, 1042{ "From: ","Von: " },
1043{ "Remove sync info","Entferne Sync Info" }, 1043{ "Remove sync info","Entferne Sync Info" },
1044{ "For all profiles","Für alle Profile" }, 1044{ "For all profiles","Für alle Profile" },
1045{ "Hide not Running","Verstecke nicht Laufende" }, 1045{ "Hide not Running","Verstecke nicht Laufende" },
1046{ "ME","ME" }, 1046{ "ME","ME" },
1047{ "Toolbar","Toolbar" }, 1047{ "Toolbar","Toolbar" },
1048{ "Undo Delete...","Löschen rückgängig machen..." }, 1048{ "Undo Delete...","Löschen rückgängig machen..." },
1049{ "Undo Delete","Löschen rückgängig machen" }, 1049{ "Undo Delete","Löschen rückgängig machen" },
1050{ "KDE Sync HowTo...","KDE Sync HowTo..." }, 1050{ "KDE Sync HowTo...","KDE Sync HowTo..." },
1051{ "Multi Sync HowTo...","Multi Sync HowTo..." }, 1051{ "Multi Sync HowTo...","Multi Sync HowTo..." },
1052{ "Januar","Januar" }, 1052{ "Januar","Januar" },
1053{ "KO/Pi Keys + Colors","KO/Pi Tasten + Farben" }, 1053{ "KO/Pi Keys + Colors","KO/Pi Tasten + Farben" },
1054{ "No Filter","Kein Filter" }, 1054{ "No Filter","Kein Filter" },
1055{ "Multiple Sync options","Multi Sync Optionen" }, 1055{ "Multiple Sync options","Multi Sync Optionen" },
1056{ "Sync algo options","Sync Ablauf Optionen" }, 1056{ "Sync algo options","Sync Ablauf Optionen" },
1057{ "Apply filter when adding data to local:","Filter für das Hinzufügen von Daten zu Lokal:" }, 1057{ "Apply filter when adding data to local:","Filter für das Hinzufügen von Daten zu Lokal:" },
1058{ "Incoming calendar filter:","Eingehender Kalender Filter:" }, 1058{ "Incoming calendar filter:","Eingehender Kalender Filter:" },
1059{ "Incoming addressbook filter:","Eingehender Adressbuch Filter:" }, 1059{ "Incoming addressbook filter:","Eingehender Adressbuch Filter:" },
1060{ "Write back options","Optionen zum Zurückschreiben" }, 1060{ "Write back options","Optionen zum Zurückschreiben" },
1061{ "Write back (on remote) existing entries only","Schreibe nur existierende (auf Entfernt) Einträge zurück" }, 1061{ "Write back (on remote) existing entries only","Schreibe nur existierende (auf Entfernt) Einträge zurück" },
1062{ "Apply filter when adding data to remote:","Filter für das Hinzufügen von Daten zu Entfernt:" }, 1062{ "Apply filter when adding data to remote:","Filter für das Hinzufügen von Daten zu Entfernt:" },
1063{ "Outgoing calendar filter:","Ausgehender Kalender Filter:" }, 1063{ "Outgoing calendar filter:","Ausgehender Kalender Filter:" },
1064{ "Outgoing addressbook filter:","Ausgehender Adressbuch Filter:" }, 1064{ "Outgoing addressbook filter:","Ausgehender Adressbuch Filter:" },
1065{ "Write back (calendar) entries for time period only","Schreibe nur Kalender Einträge für Zeitspanne zurück" }, 1065{ "Write back (calendar) entries for time period only","Schreibe nur Kalender Einträge für Zeitspanne zurück" },
1066{ "Time period","Zeitspanne" }, 1066{ "Time period","Zeitspanne" },
1067{ "From ","Von " }, 1067{ "From ","Von " },
1068{ " weeks in the past to "," Wochen in der Vergangenheit bis zu " }, 1068{ " weeks in the past to "," Wochen in der Vergangenheit bis zu " },
1069{ " weeks in the future "," Wochen in der Zukunft " }, 1069{ " weeks in the future "," Wochen in der Zukunft " },
1070{ "Profile kind specific settings","Profil Art abhängige Einstellungen" }, 1070{ "Profile kind specific settings","Profil Art abhängige Einstellungen" },
1071{ "Local temp file:","Lokale temp Datei:" }, 1071{ "Local temp file:","Lokale temp Datei:" },
1072{ "Multiple profiles with same name!\nPlease use unique profile names!","Mehrere Profile mit demselben Namen!\nBitte verschiedene Namen benutzen!" }, 1072{ "Multiple profiles with same name!\nPlease use unique profile names!","Mehrere Profile mit demselben Namen!\nBitte verschiedene Namen benutzen!" },
1073{ "Aborted! Nothing synced!","Abgebrochen! Nichts wurde gesynct!" }, 1073{ "Aborted! Nothing synced!","Abgebrochen! Nichts wurde gesynct!" },
1074{ "Language","Sprache" }, 1074{ "Language","Sprache" },
1075{ "Time Format","Zeit Format" }, 1075{ "Time Format","Zeit Format" },
1076{ "Time Zone","Zeit Zone" }, 1076{ "Time Zone","Zeit Zone" },
1077{ "%1 groups subscribed","%1 Guppen abboniert" }, 1077{ "%1 groups subscribed","%1 Guppen abboniert" },
1078{ "Your current storage dir is:\n%1\nYour mail is stored in:\n(storagedir)/apps/kopiemail/localmail","Aktuelles Speicherverzeichnis ist:\n%1\nIhre Mail wird gespeichert in:\n(speicherverz.)/apps/kopiemail/localmail" }, 1078{ "Your current storage dir is:\n%1\nYour mail is stored in:\n(storagedir)/apps/kopiemail/localmail","Aktuelles Speicherverzeichnis ist:\n%1\nIhre Mail wird gespeichert in:\n(speicherverz.)/apps/kopiemail/localmail" },
1079{ "<b>New data storage dir:</b>","<b>Neues Datenspeicherverzeichnis:</b>" }, 1079{ "<b>New data storage dir:</b>","<b>Neues Datenspeicherverzeichnis:</b>" },
1080{ "New dirs are created automatically","Neue Verzeichnisse werden aut. erstellt" }, 1080{ "New dirs are created automatically","Neue Verzeichnisse werden aut. erstellt" },
1081{ "Save settings","Speichere Einstellungen" }, 1081{ "Save settings","Speichere Einstellungen" },
1082{ "Save standard","Speichere Standard" }, 1082{ "Save standard","Speichere Standard" },
1083{ "<b>New settings are used\nafter a restart</b>","<b>Neue Einstellungen werden nach\neinem Neustart genutzt</b>" }, 1083{ "<b>New settings are used\nafter a restart</b>","<b>Neue Einstellungen werden nach\neinem Neustart genutzt</b>" },
1084{ "Settings are stored in\n%1","Einstellungen werden gespeichert in:\n%1" }, 1084{ "Settings are stored in\n%1","Einstellungen werden gespeichert in:\n%1" },
1085{ "Data storage path","Daten Speicherpfad" }, 1085{ "Data storage path","Daten Speicherpfad" },
1086{ "Language","Sprache" }, 1086{ "Language","Sprache" },
1087{ "Show time in agenda items","Zeige Zeit in Agenda Items" }, 1087{ "Show time in agenda items","Zeige Zeit in Agenda Items" },
1088{ "Color for Sundays + category "Holiday"","Farbe für Sonntags + Kategorie "Feiertag"" }, 1088{ "Color for Sundays + category "Holiday"","Farbe für Sonntags + Kategorie "Feiertag"" },
1089{ "Show events that are done","Zeige abgelaufene Termine" }, 1089{ "Show events that are done","Zeige abgelaufene Termine" },
1090{ "Hide not running Todos in To-do view","Verstecke nicht laufende Todos" }, 1090{ "Hide not running Todos in To-do view","Verstecke nicht laufende Todos" },
1091{ "+01:00 Europe/Oslo(CET)","+01:00 Europe/Oslo(CET)" }, 1091{ "+01:00 Europe/Oslo(CET)","+01:00 Europe/Oslo(CET)" },
1092{ "KO/Pi","KO/Pi" }, 1092{ "KO/Pi","KO/Pi" },
1093{ "There is nothing to undo!","Es gibt nichts zum\nRückgängigmachen!" }, 1093{ "There is nothing to undo!","Es gibt nichts zum\nRückgängigmachen!" },
1094{ "Recreating edit dialog. Please wait...","Recreating edit dialog. Please wait..." }, 1094{ "Recreating edit dialog. Please wait...","Recreating edit dialog. Please wait..." },
1095{ "Sound.Al.: ","Sound.Al.: " }, 1095{ "Sound.Al.: ","Sound.Al.: " },
1096{ "From: %1 To: %2 %3","Von: %1 Bis: %2 %3" }, 1096{ "From: %1 To: %2 %3","Von: %1 Bis: %2 %3" },
1097{ "Restore","Wiederherstellen" }, 1097{ "Restore","Wiederherstellen" },
1098{ "\nAre you sure you want\nto restore this?","\nMöchten Sie das wirklicht\nwiederherstellen?" }, 1098{ "\nAre you sure you want\nto restore this?","\nMöchten Sie das wirklicht\nwiederherstellen?" },
1099{ "% completed","% erledigt" }, 1099{ "% completed","% erledigt" },
1100{ "%d item(s) found.","%d Item(s) gefunden." }, 1100{ "%d item(s) found.","%d Item(s) gefunden." },
1101{ "Set complete","Setze auf erledigt" }, 1101{ "Set complete","Setze auf erledigt" },
1102{ "(cancelled)","(gecancelt)" }, 1102{ "(cancelled)","(gecancelt)" },
1103{ "Click on the week number to\nshow week in agenda view","Klicke auf die Wochennummer\num die Woche in der Agenda anzuzeigen" }, 1103{ "Click on the week number to\nshow week in agenda view","Klicke auf die Wochennummer\num die Woche in der Agenda anzuzeigen" },
1104{ " Local time "," Locale Zeit " }, 1104{ " Local time "," Locale Zeit " },
1105{ "Form2","Form2" }, 1105{ "Form2","Form2" },
1106{ "Filter enabled","Filter angeschaltet" }, 1106{ "Filter enabled","Filter angeschaltet" },
1107{ "Edit Filters","Ändere Filter" }, 1107{ "Edit Filters","Ändere Filter" },
1108{ "Print What's Next View...","Drucke What's Next Ansicht..." }, 1108{ "Print What's Next View...","Drucke What's Next Ansicht..." },
1109{ "Agenda","Agenda" }, 1109{ "Agenda","Agenda" },
1110{ " ("," (" }, 1110{ " ("," (" },
1111{ "<p><b>Due on:</b> %1</p>","<p><b>Fällig am:</b> %1</p>" }, 1111{ "<p><b>Due on:</b> %1</p>","<p><b>Fällig am:</b> %1</p>" },
1112{ "Print","Print" }, 1112{ "Print","Print" },
1113{ "&Setup Printer...","Drucker &Setup..." }, 1113{ "&Setup Printer...","Drucker &Setup..." },
1114{ "View Type","Zeige Typ" }, 1114{ "View Type","Zeige Typ" },
1115{ "Page &orientation:","Seiten Ausrichtung:" }, 1115{ "Page &orientation:","Seiten Ausrichtung:" },
1116{ "Use Default of Selected Style","Default des selektierten Stils" }, 1116{ "Use Default of Selected Style","Default des selektierten Stils" },
1117{ "Use Default Setting of Printer","Default Einstellung des Druckers" }, 1117{ "Use Default Setting of Printer","Default Einstellung des Druckers" },
1118{ "Portrait","Portrait" }, 1118{ "Portrait","Portrait" },
1119{ "Landscape","Landschaft" }, 1119{ "Landscape","Landschaft" },
1120{ "Print day","Drucke Tag" }, 1120{ "Print day","Drucke Tag" },
1121{ "CalPrintDay_Base","CalPrintDay_Base" }, 1121{ "CalPrintDay_Base","CalPrintDay_Base" },
1122{ "Date && Time Range","Datum && Zeitspanne" }, 1122{ "Date && Time Range","Datum && Zeitspanne" },
1123{ "&End date:","&Enddatum:" }, 1123{ "&End date:","&Enddatum:" },
1124{ "&Start date:","&Startdatum:" }, 1124{ "&Start date:","&Startdatum:" },
1125{ "Start &time:","Startzeit:" }, 1125{ "Start &time:","Startzeit:" },
1126{ "End ti&me:","Endzeit:" }, 1126{ "End ti&me:","Endzeit:" },
1127{ "E&xtend time range to include all events","Erweitere Zeitspanne um alle Termine einzuschliessen" }, 1127{ "E&xtend time range to include all events","Erweitere Zeitspanne um alle Termine einzuschliessen" },
1128{ "Include to&dos that are due on the printed day(s)","Inclusive To&dos, die an den selektierten Tagen fällig sind" }, 1128{ "Include to&dos that are due on the printed day(s)","Inclusive To&dos, die an den selektierten Tagen fällig sind" },
1129{ "Alt+D","Alt+D" }, 1129{ "Alt+D","Alt+D" },
1130{ "&Use colors","Nutze Farben" }, 1130{ "&Use colors","Nutze Farben" },
1131{ "Alt+U","Alt+U" }, 1131{ "Alt+U","Alt+U" },
1132{ "Print week","Drucke Woche" }, 1132{ "Print week","Drucke Woche" },
1133{ "CalPrintWeek_Base","CalPrintWeek_Base" }, 1133{ "CalPrintWeek_Base","CalPrintWeek_Base" },
1134{ "Use &colors","Nutze Farben" }, 1134{ "Use &colors","Nutze Farben" },
1135{ "Type of View","Typ der Ansicht" }, 1135{ "Type of View","Typ der Ansicht" },
1136{ "Print as &Filofax page","Drucke als &Filofax Seite" }, 1136{ "Print as &Filofax page","Drucke als &Filofax Seite" },
1137{ "Alt+F","Alt+F" }, 1137{ "Alt+F","Alt+F" },
1138{ "Print as &timetable view:","Drucke als Zeittabelle:" }, 1138{ "Print as &timetable view:","Drucke als Zeittabelle:" },
1139{ "Alt+T","Alt+T" }, 1139{ "Alt+T","Alt+T" },
1140{ "Print as split week view","Drucke als gesplittete Wochenansicht" }, 1140{ "Print as split week view","Drucke als gesplittete Wochenansicht" },
1141{ "Print month","Drucke Monat" }, 1141{ "Print month","Drucke Monat" },
1142{ "CalPrintMonth_Base","CalPrintMonth_Base" }, 1142{ "CalPrintMonth_Base","CalPrintMonth_Base" },
1143{ "&Start month:","&Startmonat:" }, 1143{ "&Start month:","&Startmonat:" },
1144{ "&End month:","&Endmonat:" }, 1144{ "&End month:","&Endmonat:" },
1145{ "Print week &numbers","Drucke Wochen Nummer(n)" }, 1145{ "Print week &numbers","Drucke Wochen Nummer(n)" },
1146{ "Print todos","Drucke Todos" }, 1146{ "Print todos","Drucke Todos" },
1147{ "CalPrintTodoConfig_Base","CalPrintTodoConfig_Base" }, 1147{ "CalPrintTodoConfig_Base","CalPrintTodoConfig_Base" },
1148{ "Include &description of the item","Inclusive Itembeschreibung" }, 1148{ "Include &description of the item","Inclusive Itembeschreibung" },
1149{ "Include d&ue date of the item","Inclusive Fälligkeitsdatum des Items" }, 1149{ "Include d&ue date of the item","Inclusive Fälligkeitsdatum des Items" },
1150{ "Include &priority of the item","Inclusive Priorität des Items" }, 1150{ "Include &priority of the item","Inclusive Priorität des Items" },
1151{ "Items to Print","Zu druckende Items" }, 1151{ "Items to Print","Zu druckende Items" },
1152{ "&From:","Von:" }, 1152{ "&From:","Von:" },
1153{ "&To:","Bis:" }, 1153{ "&To:","Bis:" },
1154{ "Print &all todo items","Drucke alle Todo Items" }, 1154{ "Print &all todo items","Drucke alle Todo Items" },
1155{ "Print only &uncompleted items","Drucke nur nicht erledigte Todos" }, 1155{ "Print only &uncompleted items","Drucke nur nicht erledigte Todos" },
1156{ "Only items due in the &range:","Nur Items in dem Zeitraum:" }, 1156{ "Only items due in the &range:","Nur Items in dem Zeitraum:" },
1157{ "Todo List","Todo Liste" }, 1157{ "Todo List","Todo Liste" },
1158{ "&Title:","&Titel:" }, 1158{ "&Title:","&Titel:" },
1159{ "Co&nnect subtodos with its parent","Verbinde Untertodos mit ihren Ober-Todos" }, 1159{ "Co&nnect subtodos with its parent","Verbinde Untertodos mit ihren Ober-Todos" },
1160{ "Todo list","Todo Liste" }, 1160{ "Todo list","Todo Liste" },
1161{ "&Print...","Drucke..." }, 1161{ "&Print...","Drucke..." },
1162{ "<qt>Printing on printer <b>%1</b></qt>","<qt>Drucke auf Drucker <b>%1</b></qt>" }, 1162{ "<qt>Printing on printer <b>%1</b></qt>","<qt>Drucke auf Drucker <b>%1</b></qt>" },
1163{ "[Unconfigured]","[Unkonfiguriert]" }, 1163{ "[Unconfigured]","[Unkonfiguriert]" },
1164{ "OK","OK" }, 1164{ "OK","OK" },
1165{ "FilterEditor","FilterEditor" }, 1165{ "FilterEditor","FilterEditor" },
1166{ "Include","Inclusive" }, 1166{ "Include","Inclusive" },
1167{ "Exclude","Exclusive" }, 1167{ "Exclude","Exclusive" },
1168{ "Edit Selection...","Editiere Auswahl" }, 1168{ "Edit Selection...","Editiere Auswahl" },
1169{ "recurring events","wiederholende Termine" }, 1169{ "recurring events","wiederholende Termine" },
1170{ "recurr. events","wiederh.Termine" }, 1170{ "recurr. events","wiederh.Termine" },
1171{ "completed to-dos","erledigte Todos" }, 1171{ "completed to-dos","erledigte Todos" },
1172{ "events","Termine" }, 1172{ "events","Termine" },
1173{ "todos","Todos" }, 1173{ "todos","Todos" },
1174{ "journals","Journale" }, 1174{ "journals","Journale" },
1175{ "public","öffentl." }, 1175{ "public","öffentl." },
1176{ "private","privat" }, 1176{ "private","privat" },
1177{ "confidential","vertraul." }, 1177{ "confidential","vertraul." },
1178{ "\nhas sub-todos.\nAll completed sub-todos\nwill be deleted as well!","\nhat Untertodos.\nAlle erledigten Untertodos\nwerden auch gelöscht!" }, 1178{ "\nhas sub-todos.\nAll completed sub-todos\nwill be deleted as well!","\nhat Untertodos.\nAlle erledigten Untertodos\nwerden auch gelöscht!" },
1179{ "Yesterday","Gestern" }, 1179{ "Yesterday","Gestern" },
1180{ "Day after tomorrow","Übermorgen" }, 1180{ "Day after tomorrow","Übermorgen" },
1181{ "Tomorrow","Morgen" }, 1181{ "Tomorrow","Morgen" },
1182{ "Day before yesterday","Vorgestern" }, 1182{ "Day before yesterday","Vorgestern" },
1183{ "Size %1","Größe %1" }, 1183{ "Size %1","Größe %1" },
1184{ "New Agendasize: %1","Neue Agendagröße: %1" }, 1184{ "New Agendasize: %1","Neue Agendagröße: %1" },
1185{ " (%1 y.)"," (%1 J.)" }, 1185{ " (%1 y.)"," (%1 J.)" },
1186{ "Allday:","Ganztägig:" }, 1186{ "Allday:","Ganztägig:" },
1187{ "compl.todos","erled.Todos" }, 1187{ "compl.todos","erled.Todos" },
1188{ "Day view","Tagesansicht" }, 1188{ "Day view","Tagesansicht" },
1189{ "Next days","Nächste Tage" }, 1189{ "Next days","Nächste Tage" },
1190{ "Next week","Nächste Woche" }, 1190{ "Next week","Nächste Woche" },
1191{ "Next two weeks","Nächste zwei Wochen" }, 1191{ "Next two weeks","Nächste zwei Wochen" },
1192{ "This month","Dieser Monat" }, 1192{ "This month","Dieser Monat" },
1193{ "Journal view","Journal" }, 1193{ "Journal view","Journal" },
1194{ "Display all opened","Zeige alle geöffnet" }, 1194{ "Display all opened","Zeige alle geöffnet" },
1195{ "Display all closed","Zeige alle geschlossen" }, 1195{ "Display all closed","Zeige alle geschlossen" },
1196{ "Display all flat","Zeige alle flach" }, 1196{ "Display all flat","Zeige alle flach" },
1197{ "<p><i>Completed on %1</i></p>","<p><i>Erledigt am %1</i></p>" }, 1197{ "<p><i>Completed on %1</i></p>","<p><i>Erledigt am %1</i></p>" },
1198{ "Default todo done color:","Standard Todo erledigt Farbe" }, 1198{ "Default todo done color:","Standard Todo erledigt Farbe" },
1199{ "Select week %1-%2","Wähle Woche %1-%2" }, 1199{ "Select week %1-%2","Wähle Woche %1-%2" },
1200{ "Select Week","Wähle Woche" }, 1200{ "Select Week","Wähle Woche" },
1201{ "Set alarm for selected...","Setze Alarm für Selekt..." }, 1201{ "Set alarm for selected...","Setze Alarm für Selekt..." },
1202{ "Set Alarm!","Setze Alarm!" }, 1202{ "Set Alarm!","Setze Alarm!" },
1203{ "Changed alarm for %1 items","Alarm für %1 Items geändert" }, 1203{ "Changed alarm for %1 items","Alarm für %1 Items geändert" },
1204{ " and "," und " }, 1204{ " and "," und " },
1205{ "<IMG src="%1"> only )","nur <IMG src="%1"> )" }, 1205{ "<IMG src="%1"> only )","nur <IMG src="%1"> )" },
1206{ "Mail to selected","Mail an Ausgewählte" }, 1206{ "Mail to selected","Mail an Ausgewählte" },
1207{ "Mail to all","Mail an Alle" }, 1207{ "Mail to all","Mail an Alle" },
1208{ "Week view mode uses bigger font","Wochenansicht Modus nutzt größeren Font" }, 1208{ "Week view mode uses bigger font","Wochenansicht Modus nutzt größeren Font" },
1209{ "Set reminder ON with offset to:","Alarm AN mit Offset auf:" }, 1209{ "Set reminder ON with offset to:","Alarm AN mit Offset auf:" },
1210{ " on"," am" }, 1210{ " on"," am" },
1211{ " completed on "," erledigt am " }, 1211{ " completed on "," erledigt am " },
1212{ "Save as Event template","Speichere als Vorlage" }, 1212{ "Save as Event template","Speichere als Vorlage" },
1213{ "Load Event template","Lade Termin Vorlage" }, 1213{ "Load Event template","Lade Termin Vorlage" },
1214{ "Save as Journal template","Speichere als Journal Vorlage" }, 1214{ "Save as Journal template","Speichere als Journal Vorlage" },
1215{ "Insert Journal template","Füge Journal Vorlage ein" }, 1215{ "Insert Journal template","Füge Journal Vorlage ein" },
1216{ "Sub todos:<br>","Unter Todos:<br>" }, 1216{ "Sub todos:<br>","Unter Todos:<br>" },
1217{ "Parent todo:<br>","Über Todo:<br>" }, 1217{ "Parent todo:<br>","Über Todo:<br>" },
1218{ "Set current as color category","Setze Gewählte als Farbkategorie" }, 1218{ "Set current as color category","Setze Gewählte als Farbkategorie" },
1219{ " completed"," erledigt" }, 1219{ " completed"," erledigt" },
1220{ "(c)2004 Lutz Rogowski (rogowski@kde.org)\nKO/Pi is based on KOrganizer\n(c)2002,2003 Cornelius Schumacher\n(schumacher@kde.org) and the KDE team.\nKOrganizer/Pi is licensed under the GPL.\nKO/Pi can be compiled for\nLinux, Zaurus-PDA and Windows\nwww.pi-sync.info --- www.korganizer.org\nSpecial thanks to Michael and Ben\nfor intensive testing!","(c)2004 Lutz Rogowski (rogowski@kde.org)\nKO/Pi basiert auf KOrganizer\n(c)2002,2003 Cornelius Schumacher\n(schumacher@kde.org) und das KDE Team.\nKOrganizer/Pi ist lizensiert unter der GPL.\nKO/Pi kann kompiliert werden für\nLinux, Zaurus-PDA und Windows\nwww.pi-sync.info --- www.korganizer.org\nBesonderen Dank an Michael und Ben\nfür intensives Testen!" }, 1220{ "(c)2004 Lutz Rogowski (rogowski@kde.org)\nKO/Pi is based on KOrganizer\n(c)2002,2003 Cornelius Schumacher\n(schumacher@kde.org) and the KDE team.\nKOrganizer/Pi is licensed under the GPL.\nKO/Pi can be compiled for\nLinux, Zaurus-PDA and Windows\nwww.pi-sync.info --- www.korganizer.org\nSpecial thanks to Michael and Ben\nfor intensive testing!","(c)2004 Lutz Rogowski (rogowski@kde.org)\nKO/Pi basiert auf KOrganizer\n(c)2002,2003 Cornelius Schumacher\n(schumacher@kde.org) und das KDE Team.\nKOrganizer/Pi ist lizensiert unter der GPL.\nKO/Pi kann kompiliert werden für\nLinux, Zaurus-PDA und Windows\nwww.pi-sync.info --- www.korganizer.org\nBesonderen Dank an Michael und Ben\nfür intensives Testen!" },
1221{ "Syncing aborted. Nothing synced.","Syncing abgebrochen.Nichts wurde gesynct." }, 1221{ "Syncing aborted. Nothing synced.","Syncing abgebrochen.Nichts wurde gesynct." },
1222{ "Connected! Sending request for remote file ...","Verbunden! Sende Daten Anfrage..." }, 1222{ "Connected! Sending request for remote file ...","Verbunden! Sende Daten Anfrage..." },
1223{ "Trying to connect to remote...","Versuche mit Gegenstelle zu verbinden..." }, 1223{ "Trying to connect to remote...","Versuche mit Gegenstelle zu verbinden..." },
1224{ "Connection to remote\nhost timed out!\nDid you forgot to enable\nsyncing on remote host?","Verbindungsversuch wegen\nZeitüberschreitung gescheitert!\nWurde vergessen Pi-Sync auf\nder Gegenstelle anzuschalten?" }, 1224{ "Connection to remote\nhost timed out!\nDid you forgot to enable\nsyncing on remote host?","Verbindungsversuch wegen\nZeitüberschreitung gescheitert!\nWurde vergessen Pi-Sync auf\nder Gegenstelle anzuschalten?" },
1225{ "ERROR: Receiving remote file failed.","FEHLER: Empfang der entfernten Daten fehlgeschlagen." }, 1225{ "ERROR: Receiving remote file failed.","FEHLER: Empfang der entfernten Daten fehlgeschlagen." },
1226{ "Error","Fehler" }, 1226{ "Error","Fehler" },
1227{ ""You entered an invalid date!\n Date changed to current date.","Ungültiges Datum eingegeben.\nSetze heutiges Datum." }, 1227{ ""You entered an invalid date!\n Date changed to current date.","Ungültiges Datum eingegeben.\nSetze heutiges Datum." },
1228{ "You entered an invalid date!\n Will use current date instead.","Ungültiges Datum eingegeben.\nSetze stattdessen heutiges Datum." }, 1228{ "You entered an invalid date!\n Will use current date instead.","Ungültiges Datum eingegeben.\nSetze stattdessen heutiges Datum." },
1229{ "Warning","Warnung" }, 1229{ "Warning","Warnung" },
1230{ "Select week number","Wähle Wochen Nummer" }, 1230{ "Select week number","Wähle Wochen Nummer" },
1231{ "Februar","Februar" }, 1231{ "Februar","Februar" },
1232{ "Click on the week number to\nshow week zoomed","Klicke auf die Wochennummer\num die Woche groß zu zeigen" }, 1232{ "Click on the week number to\nshow week zoomed","Klicke auf die Wochennummer\num die Woche groß zu zeigen" },
1233{ "W","W" }, 1233{ "W","W" },
1234{ "Click on this to\nselect week number","Klicke hierauf um\ndie Woche auszuwählen" }, 1234{ "Click on this to\nselect week number","Klicke hierauf um\ndie Woche auszuwählen" },
1235{ "T: %1","T: %1" }, 1235{ "T: %1","T: %1" },
1236{ "Start: ","Start: " }, 1236{ "Start: ","Start: " },
1237{ "Pi-Sync options for device: ","Pi-Sync Einstellungen für Gerät: " }, 1237{ "Pi-Sync options for device: ","Pi-Sync Einstellungen für Gerät: " },
1238{ "Password for remote access:","Passwort für fernen Zugriff:" }, 1238{ "Password for remote access:","Passwort für fernen Zugriff:" },
1239{ "Remote IP address:","Ferne IP Adresse:" }, 1239{ "Remote IP address:","Ferne IP Adresse:" },
1240{ "Remote port number:","Ferne Port Nummer:" }, 1240{ "Remote port number:","Ferne Port Nummer:" },
1241{ "Remote file saved to temp file.","Ferne Daten in temp Datei gespeichert." }, 1241{ "Remote file saved to temp file.","Ferne Daten in temp Datei gespeichert." },
1242{ "Remote from: ","Fern von: " }, 1242{ "Remote from: ","Fern von: " },
1243{ "Local from: ","Lokal von: " }, 1243{ "Local from: ","Lokal von: " },
1244{ "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" }, 1244{ "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" },
1245{ "Local calendar changed!\n","Lokaler Kalender geändert!\n" }, 1245{ "Local calendar changed!\n","Lokaler Kalender geändert!\n" },
1246{ "Write back","Schreibe zurück" }, 1246{ "Write back","Schreibe zurück" },
1247{ "KO/Pi Synchronization","KO/Pi Synchronisation" }, 1247{ "KO/Pi Synchronization","KO/Pi Synchronisation" },
1248{ "Pi-Sync succesful!","Pi-Sync erfolgreich!" }, 1248{ "Pi-Sync succesful!","Pi-Sync erfolgreich!" },
1249{ "Received sync request","Sync Anfrage erhalten" }, 1249{ "Received sync request","Sync Anfrage erhalten" },
1250{ "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." }, 1250{ "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." },
1251{ "Saving Data to temp file ...","Speichere Daten in temp Datei..." }, 1251{ "Saving Data to temp file ...","Speichere Daten in temp Datei..." },
1252{ "Data saved to temp file!","Daten in temp Datei gespeichert!" }, 1252{ "Data saved to temp file!","Daten in temp Datei gespeichert!" },
1253{ "Sending file...","Sende Datei..." }, 1253{ "Sending file...","Sende Datei..." },
1254{ "Waiting for synced file...","Warte auf gesyncte Daten..." }, 1254{ "Waiting for synced file...","Warte auf gesyncte Daten..." },
1255{ "Receiving synced file...","Gesyncte Daten erhalten..." }, 1255{ "Receiving synced file...","Gesyncte Daten erhalten..." },
1256{ "Received %1 bytes","%1 Bytes erhalten" }, 1256{ "Received %1 bytes","%1 Bytes erhalten" },
1257{ "Writing file to disk...","Speichere Datei..." }, 1257{ "Writing file to disk...","Speichere Datei..." },
1258{ "Pi-Sync successful!","Pi-Sync erfolgreich!" }, 1258{ "Pi-Sync successful!","Pi-Sync erfolgreich!" },
1259{ "Clock skew of\nsyncing devices\nis %1 seconds!","Uhrzeitunterschied der\nsyncenden Geräte\nist %1 Sekunden!" }, 1259{ "Clock skew of\nsyncing devices\nis %1 seconds!","Uhrzeitunterschied der\nsyncenden Geräte\nist %1 Sekunden!" },
1260{ "Synchronize!","Synchronisiere!" }, 1260{ "Synchronize!","Synchronisiere!" },
1261{ "High clock skew!","Großer Uhrzeitunterschied!" }, 1261{ "High clock skew!","Großer Uhrzeitunterschied!" },
1262{ "ADJUST\nYOUR\nCLOCKS!","JUSTIERE\nDIE\nUHREN!" }, 1262{ "ADJUST\nYOUR\nCLOCKS!","JUSTIERE\nDIE\nUHREN!" },
1263{ "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!" }, 1263{ "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!" },
1264{ "This is a %1 recurring todo.","Das ist eine %1 wiederholende Aufgabe." }, 1264{ "This is a %1 recurring todo.","Das ist eine %1 wiederholende Aufgabe." },
1265{ "<p><b>Start on:</b> %1</p>","<p><b>Start am:</b> %1</p>" }, 1265{ "<p><b>Start on:</b> %1</p>","<p><b>Start am:</b> %1</p>" },
1266{ "List week view","Listenwochenansicht" }, 1266{ "List week view","Listenwochenansicht" },
1267{ "List week","Listenwochenansicht" }, 1267{ "List week","Listenwochenansicht" },
1268{ "Next Week","Nächste Woche" }, 1268{ "Next Week","Nächste Woche" },
1269{ "Previous Week","Vorherige Woche" }, 1269{ "Previous Week","Vorherige Woche" },
1270{ "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." }, 1270{ "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." },
1271{ "Show in todo/event viewer:","Zeige in Termin/Todo Anzeige:" }, 1271{ "Show in todo/event viewer:","Zeige in Termin/Todo Anzeige:" },
1272{ "Details","Details" }, 1272{ "Details","Details" },
1273{ "Created time","Erstellt Zeit" }, 1273{ "Created time","Erstellt Zeit" },
1274{ "Last modified time","Geändert Zeit" }, 1274{ "Last modified time","Geändert Zeit" },
1275{ "Show in What'sThis quick overview:","Zeige in What'sThis Schnellübersicht:" }, 1275{ "Show in What'sThis quick overview:","Zeige in What'sThis Schnellübersicht:" },
1276{ "View Options","Anzeige Optionen" }, 1276{ "View Options","Anzeige Optionen" },
1277{ "<b>Created: ","<b>Erstellt am: " }, 1277{ "<b>Created: ","<b>Erstellt am: " },
1278{ "<b>Last modified: ","<b>Zuletzt geändert am: " }, 1278{ "<b>Last modified: ","<b>Zuletzt geändert am: " },
1279{ "Journal: ","Journal: " }, 1279{ "Journal: ","Journal: " },
1280{ "yearly","jährlich" }, 1280{ "yearly","jährlich" },
1281{ "(%1) ","%1-" }, 1281{ "(%1) ","%1-" },
1282{ "<p><b>K</b>: Week view in Month view syle</p>\n","<p><b>K</b>: Wochenansicht in Art der Monatsansicht</p>\n" }, 1282{ "<p><b>K</b>: Week view in Month view syle</p>\n","<p><b>K</b>: Wochenansicht in Art der Monatsansicht</p>\n" },
1283{ "Enable tooltips displaying summary of ev.","Titel-Tooltips anzeigen" }, 1283{ "Enable tooltips displaying summary of ev.","Titel-Tooltips anzeigen" },
1284{ "Enable scrollbars in month view cells","Scrollbar in Zellen anzeigen" }, 1284{ "Enable scrollbars in month view cells","Scrollbar in Zellen anzeigen" },
1285{ "Summary/Loc.","Titel/Ort" }, 1285{ "Summary/Loc.","Titel/Ort" },
1286{ "No items found. Use '*' and '?' where needed.","Nichts gefunden. Benutze '*' and '?' wo benötigt." }, 1286{ "No items found. Use '*' and '?' where needed.","Nichts gefunden. Benutze '*' and '?' wo benötigt." },
1287{ "Week Number","Wochennummer" }, 1287{ "Week Number","Wochennummer" },
1288{ "Import","Importiere" }, 1288{ "Import","Importiere" },
1289{ "Export","Exportiere" }, 1289{ "Export","Exportiere" },
1290{ "Beam","Beame" }, 1290{ "Beam","Beame" },
1291{ "Export selected","Exportiere Selektierte" }, 1291{ "Export selected","Exportiere Selektierte" },
1292{ "As iCal (ics) file...","Als iCal (ics) Datei..." }, 1292{ "As iCal (ics) file...","Als iCal (ics) Datei..." },
1293{ "As vCal (vcs) file...","Als vCal (vcs) Datei..." }, 1293{ "As vCal (vcs) file...","Als vCal (vcs) Datei..." },
1294{ "Journal/Details...","Journale/Details..." }, 1294{ "Journal/Details...","Journale/Details..." },
1295{ "Agenda View","Agenda Ansicht" }, 1295{ "Agenda View","Agenda Ansicht" },
1296{ "Show current time","Zeige aktuelle Zeit" }, 1296{ "Show current time","Zeige aktuelle Zeit" },
1297{ "Edit new item","Bearbeite neuen Eintrag" }, 1297{ "Edit new item","Bearbeite neuen Eintrag" },
1298{ "Please select at least one\nof the types to search for:\n\nEvents\nTodos\nJournals","Bitte wählen Sie mindestens\neinen dieser Typen\num darin zu suchen:\n\nTermine\nTodos\nJournale" }, 1298{ "Please select at least one\nof the types to search for:\n\nEvents\nTodos\nJournals","Bitte wählen Sie mindestens\neinen dieser Typen\num darin zu suchen:\n\nTermine\nTodos\nJournale" },
1299{ "There is no next alarm.","Es gibt keinen nächsten Alarm." }, 1299{ "There is no next alarm.","Es gibt keinen nächsten Alarm." },
1300{ "%1 %2 - %3 (next event/todo with alarm)","%1 %2 - %3 (nächster Termin/Todo mit Alarm)" }, 1300{ "%1 %2 - %3 (next event/todo with alarm)","%1 %2 - %3 (nächster Termin/Todo mit Alarm)" },
1301{ "The next alarm is in:\n","Der nächste Alarm ist in:\n" }, 1301{ "The next alarm is in:\n","Der nächste Alarm ist in:\n" },
1302{ "%1 days\n","%1 Tagen\n" }, 1302{ "%1 days\n","%1 Tagen\n" },
1303{ "1 day\n","1 Tag\n" }, 1303{ "1 day\n","1 Tag\n" },
1304{ "%1 hours\n","%1 Stunden\n" }, 1304{ "%1 hours\n","%1 Stunden\n" },
1305{ "1 hour\n","1 Stunde\n" }, 1305{ "1 hour\n","1 Stunde\n" },
1306{ "%1 minutes\n","%1 Minuten\n" }, 1306{ "%1 minutes\n","%1 Minuten\n" },
1307{ "1 minute\n","1 Minute\n" }, 1307{ "1 minute\n","1 Minute\n" },
1308{ "Only one toolbar","Nur eine Toolbar" }, 1308{ "Only one toolbar","Nur eine Toolbar" },
1309{ "Print","Drucke" }, 1309{ "Print","Drucke" },
1310{ "Print selected event / todo...","Drucke ausgewählten Termin / Todo..." }, 1310{ "Print selected event / todo...","Drucke ausgewählten Termin / Todo..." },
1311{ "There is nothing selected!","Es ist nichts ausgewählt!" }, 1311{ "There is nothing selected!","Es ist nichts ausgewählt!" },
1312{ "\n\nDo you really want to print this item?","\n\nMöchten Sie wirklich diesen Eintrag ausdrucken? " }, 1312{ "\n\nDo you really want to print this item?","\n\nMöchten Sie wirklich diesen Eintrag ausdrucken? " },
1313{ "KO/Pi Print Confirmation","KO/Pi Druckbestätigung" }, 1313{ "KO/Pi Print Confirmation","KO/Pi Druckbestätigung" },
1314{ "This prints the view as you see it.\n(With the complete content, of course.)\nYou may change the print layout by resizing the view.\nPrint unscaled may print several pages\ndepending on the amount of data.\nPrint scaled down will print all on one page.\nPrint scaled up/down will print all on one page,\nbut will scale up the text to page boundaries,\nif the text is smaller than the page.\nYou can select page geometry setup in the next dialog.\n","Dies druckt die Ansicht wie man sie sieht.\n(Mit dem kompletten Inhalt natürlich.)\nMan kann das Layout ändern durch ändern der Fenstergröße.\nDrucke unskaliert druckt ggf. mehrere Seiten\nabhängig von der Menge der Daten.\nDrucke runterskaliert um auf eine Seite zu passen\ndruckt alles auf eine Seite.\nDrucke hoch/runterskaliert um genau auf eine Seite zu passen\nvergrößert den Text gegebenenfalls.\nDas Seitenlayout kann im nächsten Dialog gewählt werden.\n" }, 1314{ "This prints the view as you see it.\n(With the complete content, of course.)\nYou may change the print layout by resizing the view.\nPrint unscaled may print several pages\ndepending on the amount of data.\nPrint scaled down will print all on one page.\nPrint scaled up/down will print all on one page,\nbut will scale up the text to page boundaries,\nif the text is smaller than the page.\nYou can select page geometry setup in the next dialog.\n","Dies druckt die Ansicht wie man sie sieht.\n(Mit dem kompletten Inhalt natürlich.)\nMan kann das Layout ändern durch ändern der Fenstergröße.\nDrucke unskaliert druckt ggf. mehrere Seiten\nabhängig von der Menge der Daten.\nDrucke runterskaliert um auf eine Seite zu passen\ndruckt alles auf eine Seite.\nDrucke hoch/runterskaliert um genau auf eine Seite zu passen\nvergrößert den Text gegebenenfalls.\nDas Seitenlayout kann im nächsten Dialog gewählt werden.\n" },
1315{ "KO/Pi Printout","KO/Pi Ausdruck" }, 1315{ "KO/Pi Printout","KO/Pi Ausdruck" },
1316{ "Print unscaled","Drucke unskaliert" }, 1316{ "Print unscaled","Drucke unskaliert" },
1317{ "Print scaled down to fit one page","Drucke runterskaliert um auf eine Seite zu passen." }, 1317{ "Print scaled down to fit one page","Drucke runterskaliert um auf eine Seite zu passen." },
1318{ "Print scaled up/down to fit one page","Drucke hoch/runterskaliert um genau auf eine Seite zu passen." }, 1318{ "Print scaled up/down to fit one page","Drucke hoch/runterskaliert um genau auf eine Seite zu passen." },
1319{ "Printout Mode","Druck Modus" }, 1319{ "Printout Mode","Druck Modus" },
1320{ "Filter menu icon","Filtermenu Icon" }, 1320{ "Filter menu icon","Filtermenu Icon" },
1321{ "<p><b>A+(shift or ctrl)</b>: Show occurence of next alarm</p>\n","<p><b>A+(shift oder ctrl)</b>: Zeige Zeit bis zum nächsten Alarm</p>\n" }, 1321{ "<p><b>A+(shift or ctrl)</b>: Show occurence of next alarm</p>\n","<p><b>A+(shift oder ctrl)</b>: Zeige Zeit bis zum nächsten Alarm</p>\n" },
1322{ "<p><b>N</b>: Switch to next view which has a toolbar icon</p>\n","<p><b>N</b>: Wechsle zur nächsten Ansicht, die ein Icon in der Toolbar hat</p>\n" }, 1322{ "<p><b>N</b>: Switch to next view which has a toolbar icon</p>\n","<p><b>N</b>: Wechsle zur nächsten Ansicht, die ein Icon in der Toolbar hat</p>\n" },
1323{ "%1d","%1t" }, 1323{ "%1d","%1t" },
1324{ "%1h","%1std" }, 1324{ "%1h","%1std" },
1325{ "%1min","%1min" }, 1325{ "%1min","%1min" },
1326{ "( %1 before )","( %1 vorher )" }, 1326{ "( %1 before )","( %1 vorher )" },
1327{ "The next alarm is in\nless than one minute!","Der nächste Alarm kommt in\nweniger als einer Minute!" }, 1327{ "The next alarm is in\nless than one minute!","Der nächste Alarm kommt in\nweniger als einer Minute!" },
1328{ "\nThe internal alarm notification is disabled!\n","\nDie interne Alarmbenachrichtigung ist ausgeschaltet!\n" }, 1328{ "\nThe internal alarm notification is disabled!\n","\nDie interne Alarmbenachrichtigung ist ausgeschaltet!\n" },
1329{ "Enable it in the settings menu, TAB alarm.","Schalten Sie sie an im Menu Einstellungen, TAB Alarm." }, 1329{ "Enable it in the settings menu, TAB alarm.","Schalten Sie sie an im Menu Einstellungen, TAB Alarm." },
1330{ "Show Sync Events","Zeige Sync-Ereignisse" }, 1330{ "Show Sync Events","Zeige Sync-Ereignisse" },
1331{ "Use short date in WN+Event view","Zeige Kurzdatum in WN+Terminanzeige" }, 1331{ "Use short date in WN+Event view","Zeige Kurzdatum in WN+Terminanzeige" },
1332{ "Number of max.displayed todo prios:","Anzahl max.angezeigter Todo-Prios:" }, 1332{ "Number of max.displayed todo prios:","Anzahl max.angezeigter Todo-Prios:" },
1333{ " on "," am " }, 1333{ " on "," am " },
1334{ "On: ","Am: " }, 1334{ "On: ","Am: " },
1335{ "<i>The recurrence is computed from the start datetime!</i>","<i>Die Wiederholung wird vom Startwert aus berechnet!</i>" }, 1335{ "<i>The recurrence is computed from the start datetime!</i>","<i>Die Wiederholung wird vom Startwert aus berechnet!</i>" },
1336{ "Start/Stop todo...","Starte/Stoppe Todo..." }, 1336{ "Start/Stop todo...","Starte/Stoppe Todo..." },
1337{ "Color for running todos:","Farbe für laufende Todos:" }, 1337{ "Color for running todos:","Farbe für laufende Todos:" },
1338{ "The todo\n%1\nis started.\nDo you want to set\nthe state to stopped?","Das Todo\n%1\nist gestartet.\nWollen Sie es\nauf gestoppt setzen?" }, 1338{ "The todo\n%1\nis started.\nDo you want to set\nthe state to stopped?","Das Todo\n%1\nist gestartet.\nWollen Sie es\nauf gestoppt setzen?" },
1339{ "Todo is started","Todo ist gestartet" }, 1339{ "Todo is started","Todo ist gestartet" },
1340{ "Stop todo","Stoppe Todo" }, 1340{ "Stop todo","Stoppe Todo" },
1341{ "Todo is stopped","Todo ist gestoppt" }, 1341{ "Todo is stopped","Todo ist gestoppt" },
1342{ "Start todo","Starte Todo" }, 1342{ "Start todo","Starte Todo" },
1343{ "The todo\n%1\nis stopped.\nDo you want to set\nthe state to started?","Das Todo\n%1\nist gestoppt.\nWollen Sie es auf\ngestartet setzen?" }, 1343{ "The todo\n%1\nis stopped.\nDo you want to set\nthe state to started?","Das Todo\n%1\nist gestoppt.\nWollen Sie es auf\ngestartet setzen?" },
1344{ "The todo\n%1\nwill be cloned!\nIt has subtodos!\nDo you want to clone\nall subtodos as well?","Das Todo\n%1\nwird geklont!\nEs hat Untertodos!\nMöchten Sie alle\nUntertodos auch klonen?" }, 1344{ "The todo\n%1\nwill be cloned!\nIt has subtodos!\nDo you want to clone\nall subtodos as well?","Das Todo\n%1\nwird geklont!\nEs hat Untertodos!\nMöchten Sie alle\nUntertodos auch klonen?" },
1345{ "Todo has subtodos","Todo hat Untertodos" }, 1345{ "Todo has subtodos","Todo hat Untertodos" },
1346{ "Block popup until mouse button release","Sperre Popup bis Mausknopf losgelassen" }, 1346{ "Block popup until mouse button release","Sperre Popup bis Mausknopf losgelassen" },
1347{ "Colors","Farben" }, 1347{ "Colors","Farben" },
1348{ "Click on new parent item","Klicke auf neues Übertodo" }, 1348{ "Click on new parent item","Klicke auf neues Übertodo" },
1349{ "Reparenting aborted!","Übertodo setzen abgebrochen" }, 1349{ "Reparenting aborted!","Übertodo setzen abgebrochen" },
1350{ "Cannot move Todo to itself\nor a child of itself","Kann nicht Todo auf\nsich selbst oder\nein Untertodo verschieben" }, 1350{ "Cannot move Todo to itself\nor a child of itself","Kann nicht Todo auf\nsich selbst oder\nein Untertodo verschieben" },
1351{ "Recursive reparenting not possible!","Rekursives Verschieben nicht möglich" }, 1351{ "Recursive reparenting not possible!","Rekursives Verschieben nicht möglich" },
1352{ "Delete all completed todos?\n(Completed recurring todos\nwill not be deleted!)","Entferne alle erledigten Todos?\n(Erledigte wiederholende Todos\nwerden nicht gelöscht!)" }, 1352{ "Delete all completed todos?\n(Completed recurring todos\nwill not be deleted!)","Entferne alle erledigten Todos?\n(Erledigte wiederholende Todos\nwerden nicht gelöscht!)" },
1353{ "Alternating background of list views","Abwechselnder Hintergrund für Listen" }, 1353{ "Alternating background of list views","Abwechselnder Hintergrund für Listen" },
1354{ "times","Zeiten" }, 1354{ "times","Zeiten" },
1355{ "The todo\n%1\nhas subtodos!\nDo you want to set\nthe categories for\nall subtodos as well?","Das Todo\n%1\nhat Untertodos!\nMöchten Sie die Kategorien\nauch für alle Untertodos setzen?" }, 1355{ "The todo\n%1\nhas subtodos!\nDo you want to set\nthe categories for\nall subtodos as well?","Das Todo\n%1\nhat Untertodos!\nMöchten Sie die Kategorien\nauch für alle Untertodos setzen?" },
1356{ "Backup enabled","Backup angeschaltet" }, 1356{ "Backup enabled","Backup angeschaltet" },
1357{ "Use standard backup dir","Standard Backupverzeichnis" }, 1357{ "Use standard backup dir","Standard Backupverzeichnis" },
1358{ "Number of Backups:","Anzahl der Backups" }, 1358{ "Number of Backups:","Anzahl der Backups" },
1359{ "Make backup every ","Mache ein Backup alle " }, 1359{ "Make backup every ","Mache ein Backup alle " },
1360{ " days"," Tage" }, 1360{ " days"," Tage" },
1361{ "Creating backup ... please wait ...","Erzeuge Backup ... bitte warten ..." }, 1361{ "Creating backup ... please wait ...","Erzeuge Backup ... bitte warten ..." },
1362{ "Backup Failed!","Backup Problem!" }, 1362{ "Backup Failed!","Backup Problem!" },
1363{ "Try again now","Versuche jetzt nochmal" }, 1363{ "Try again now","Versuche jetzt nochmal" },
1364{ "Try again later","Versuche später nochmal" }, 1364{ "Try again later","Versuche später nochmal" },
1365{ "Try again tomorrow","Versuche morgen nochmal" }, 1365{ "Try again tomorrow","Versuche morgen nochmal" },
1366{ "Disable backup","Schalte Backup ab" }, 1366{ "Disable backup","Schalte Backup ab" },
1367{ "<b>Backup directory does not exist: </b>","<b>Backup Verzeichnis existiert nicht: </b>" }, 1367{ "<b>Backup directory does not exist: </b>","<b>Backup Verzeichnis existiert nicht: </b>" },
1368{ "<b>The backup copy command failed!</b>","<b>Das Backup Kopierkommando is fehlgeschlagen!</b>" }, 1368{ "<b>The backup copy command failed!</b>","<b>Das Backup Kopierkommando is fehlgeschlagen!</b>" },
1369{ "Choose action","Wähle Aktion" }, 1369{ "Choose action","Wähle Aktion" },
1370{ "Comment for todo:","Kommentar zum Todo:" }, 1370{ "Comment for todo:","Kommentar zum Todo:" },
1371{ "Stop+note","Stop+Notiz" }, 1371{ "Stop+note","Stop+Notiz" },
1372{ "Agenda view shows completed todos","Agenda Ansicht zeigt erledigte Todos" }, 1372{ "Agenda view shows completed todos","Agenda Ansicht zeigt erledigte Todos" },
1373{ "KO/Pi: Missing alarms!","KO/Pi: Verpasste Alarme!" }, 1373{ "KO/Pi: Missing alarms!","KO/Pi: Verpasste Alarme!" },
1374{ "You missed the alarms for the following events or todos:","Sie verpassten die Alarme für folgende Termine oder Todos:" }, 1374{ "You missed the alarms for the following events or todos:","Sie verpassten die Alarme für folgende Termine oder Todos:" },
1375{ "Print complete list","Drucke komplette Liste" }, 1375{ "Print complete list","Drucke komplette Liste" },
1376{ "Hide all selected","Verstecke Selektierte" }, 1376{ "Hide all selected","Verstecke Selektierte" },
1377{ "Add items","hinzufügen" }, 1377{ "Add items","hinzufügen" },
1378{ "One (or more) selected\ntodo has subtodos!\nDo you want to select\nall subtodos of all\nselected todos as well?","Ein (oder mehrere) ausgewähltes\nTodo hat Untertodos!\nMöchten Sie der Auswahlliste\nalle Untertodos von allen\nausgewählten Todos hinzufügen?" }, 1378{ "One (or more) selected\ntodo has subtodos!\nDo you want to select\nall subtodos of all\nselected todos as well?","Ein (oder mehrere) ausgewähltes\nTodo hat Untertodos!\nMöchten Sie der Auswahlliste\nalle Untertodos von allen\nausgewählten Todos hinzufügen?" },
1379{ "Print List View...","Drucke Listenansicht..." },
1380{ "You can make a printout of the <b>List View</b> and the list view in the <b>Search Dialog</b>! To do this, please go to the <b>List View/Search Dialog</b>. Right click on the list. Select in the popup menu the entry <b>Print complete list</b>. That prints the list as you see it. You can remove items from the list before printing without deleting the corresponding event/todo! Simply select all items you do not want to print out. Then right click on one of the items and choose <b>Hide selected items</b>. After that you can print the list without these items.","Sie können die <b>Listenansicht</b> und die Listenansicht im <b>Suchdialog</b> ausdrucken! Um das zu machen gehen Sie bitte zur <b>Listenansicht</b> oder zum <b>Suchdialog</b>. Rechtsklicken Sie auf die Liste. Wählen Sie im Popupmenu den Eintrag <b>Drucke komplette Liste</b>. Das druckt die Liste so, wie man sie sieht. Sie können Listeneinträge entfernen ohne die korrespondierenden Ereignisse/Todos zu löschen! Selektieren sie einfach alle Einträge, die sie nicht ausdrucken möchten. Dann Rechtsklicken Sie auf einen Eintrag und wählen <b>Verstecke Selektierte</b>. Danach können Sie die Liste ohne diese Einträge ausdrucken." },
1381{ "","" },
1382{ "","" },
1383{ "","" },
1384{ "","" },
1385{ "","" },
1386{ "","" },
1387{ "","" },
1388{ "","" },
1379{ "","" }, 1389{ "","" },
1380{ "","" }, 1390{ "","" },
1381{ "","" }, \ No newline at end of file 1391{ "","" }, \ No newline at end of file
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp
index 20f8b57..25e76ee 100644
--- a/korganizer/mainwindow.cpp
+++ b/korganizer/mainwindow.cpp
@@ -550,1034 +550,1035 @@ void MainWindow::recieve( const QCString& cmsg, const QByteArray& data )
550 } 550 }
551 if ( msg == "-showList" ) { 551 if ( msg == "-showList" ) {
552 mView->viewManager()->showListView(); 552 mView->viewManager()->showListView();
553 } 553 }
554 else if ( msg == "-showDay" ) { 554 else if ( msg == "-showDay" ) {
555 mView->viewManager()->showDayView(); 555 mView->viewManager()->showDayView();
556 } 556 }
557 else if ( msg == "-showWWeek" ) { 557 else if ( msg == "-showWWeek" ) {
558 mView->viewManager()->showWorkWeekView(); 558 mView->viewManager()->showWorkWeekView();
559 } 559 }
560 else if ( msg == "-ringSync" ) { 560 else if ( msg == "-ringSync" ) {
561 mSyncManager->multiSync( false ); 561 mSyncManager->multiSync( false );
562 } 562 }
563 else if ( msg == "-showWeek" ) { 563 else if ( msg == "-showWeek" ) {
564 mView->viewManager()->showWeekView(); 564 mView->viewManager()->showWeekView();
565 } 565 }
566 else if ( msg == "-showTodo" ) { 566 else if ( msg == "-showTodo" ) {
567 mView->viewManager()->showTodoView(); 567 mView->viewManager()->showTodoView();
568 } 568 }
569 else if ( msg == "-showJournal" ) { 569 else if ( msg == "-showJournal" ) {
570 mView->dateNavigator()->selectDates( 1 ); 570 mView->dateNavigator()->selectDates( 1 );
571 mView->dateNavigator()->selectToday(); 571 mView->dateNavigator()->selectToday();
572 mView->viewManager()->showJournalView(); 572 mView->viewManager()->showJournalView();
573 } 573 }
574 else if ( msg == "-showKO" ) { 574 else if ( msg == "-showKO" ) {
575 mView->viewManager()->showNextXView(); 575 mView->viewManager()->showNextXView();
576 } 576 }
577 else if ( msg == "-showWNext" ) { 577 else if ( msg == "-showWNext" ) {
578 mView->viewManager()->showWhatsNextView(); 578 mView->viewManager()->showWhatsNextView();
579 } 579 }
580 else if ( msg == "nextView()" ) { 580 else if ( msg == "nextView()" ) {
581 mView->viewManager()->showNextView(); 581 mView->viewManager()->showNextView();
582 } 582 }
583 else if ( msg == "-showNextXView" ) { 583 else if ( msg == "-showNextXView" ) {
584 mView->viewManager()->showNextXView(); 584 mView->viewManager()->showNextXView();
585 } 585 }
586 586
587 587
588 } 588 }
589 589
590 showMaximized(); 590 showMaximized();
591 raise(); 591 raise();
592} 592}
593 593
594QPixmap MainWindow::loadPixmap( QString name ) 594QPixmap MainWindow::loadPixmap( QString name )
595{ 595{
596 return SmallIcon( name ); 596 return SmallIcon( name );
597 597
598} 598}
599void MainWindow::setUsesBigPixmaps ( bool b ) 599void MainWindow::setUsesBigPixmaps ( bool b )
600{ 600{
601 qDebug("KO: MainWindow::setUsesBigPixmaps %d called", b); 601 qDebug("KO: MainWindow::setUsesBigPixmaps %d called", b);
602 if ( b ) 602 if ( b )
603 qDebug("KO: BigPixmaps are not supported "); 603 qDebug("KO: BigPixmaps are not supported ");
604} 604}
605void MainWindow::initActions() 605void MainWindow::initActions()
606{ 606{
607 //KOPrefs::instance()->mShowFullMenu 607 //KOPrefs::instance()->mShowFullMenu
608 iconToolBar->clear(); 608 iconToolBar->clear();
609 KOPrefs *p = KOPrefs::instance(); 609 KOPrefs *p = KOPrefs::instance();
610 //QPEMenuBar *menuBar1;// = new QPEMenuBar( iconToolBar ); 610 //QPEMenuBar *menuBar1;// = new QPEMenuBar( iconToolBar );
611 611
612 QPopupMenu *viewMenu = new QPopupMenu( this ); 612 QPopupMenu *viewMenu = new QPopupMenu( this );
613 QPopupMenu *actionMenu = new QPopupMenu( this ); 613 QPopupMenu *actionMenu = new QPopupMenu( this );
614 QPopupMenu *importMenu = new QPopupMenu( this ); 614 QPopupMenu *importMenu = new QPopupMenu( this );
615 QPopupMenu *importMenu_X = new QPopupMenu( this ); 615 QPopupMenu *importMenu_X = new QPopupMenu( this );
616 QPopupMenu *exportMenu_X = new QPopupMenu( this ); 616 QPopupMenu *exportMenu_X = new QPopupMenu( this );
617 QPopupMenu *beamMenu_X = new QPopupMenu( this ); 617 QPopupMenu *beamMenu_X = new QPopupMenu( this );
618 selectFilterMenu = new QPopupMenu( this ); 618 selectFilterMenu = new QPopupMenu( this );
619 selectFilterMenu->setCheckable( true ); 619 selectFilterMenu->setCheckable( true );
620 syncMenu = new QPopupMenu( this ); 620 syncMenu = new QPopupMenu( this );
621 configureAgendaMenu = new QPopupMenu( this ); 621 configureAgendaMenu = new QPopupMenu( this );
622 configureToolBarMenu = new QPopupMenu( this ); 622 configureToolBarMenu = new QPopupMenu( this );
623 QPopupMenu *helpMenu = new QPopupMenu( this ); 623 QPopupMenu *helpMenu = new QPopupMenu( this );
624 QIconSet icon; 624 QIconSet icon;
625 int pixWid = 22, pixHei = 22; 625 int pixWid = 22, pixHei = 22;
626 QString pathString = ""; 626 QString pathString = "";
627 if ( !p->mToolBarMiniIcons ) { 627 if ( !p->mToolBarMiniIcons ) {
628 if ( QApplication::desktop()->width() < 480 ) { 628 if ( QApplication::desktop()->width() < 480 ) {
629 pathString += "icons16/"; 629 pathString += "icons16/";
630 pixWid = 18; pixHei = 16; 630 pixWid = 18; pixHei = 16;
631 } 631 }
632 } else { 632 } else {
633 pathString += "iconsmini/"; 633 pathString += "iconsmini/";
634 pixWid = 18; pixHei = 16; 634 pixWid = 18; pixHei = 16;
635 } 635 }
636 if ( KOPrefs::instance()->mShowFullMenu ) { 636 if ( KOPrefs::instance()->mShowFullMenu ) {
637 QMenuBar *menuBar1; 637 QMenuBar *menuBar1;
638 menuBar1 = menuBar(); 638 menuBar1 = menuBar();
639 menuBar1->insertItem( i18n("File"), importMenu ); 639 menuBar1->insertItem( i18n("File"), importMenu );
640 menuBar1->insertItem( i18n("View"), viewMenu ); 640 menuBar1->insertItem( i18n("View"), viewMenu );
641 menuBar1->insertItem( i18n("Actions"), actionMenu ); 641 menuBar1->insertItem( i18n("Actions"), actionMenu );
642#ifdef DESKTOP_VERSION 642#ifdef DESKTOP_VERSION
643 menuBar1->insertItem( i18n("Synchronize"), syncMenu ); 643 menuBar1->insertItem( i18n("Synchronize"), syncMenu );
644 menuBar1->insertItem( i18n("AgendaSize"),configureAgendaMenu ); 644 menuBar1->insertItem( i18n("AgendaSize"),configureAgendaMenu );
645#else 645#else
646 menuBar1->insertItem( i18n("Sync"), syncMenu ); 646 menuBar1->insertItem( i18n("Sync"), syncMenu );
647 menuBar1->insertItem( i18n("Agenda"),configureAgendaMenu ); 647 menuBar1->insertItem( i18n("Agenda"),configureAgendaMenu );
648#endif 648#endif
649 //menuBar1->insertItem( i18n("Toolbar"),configureToolBarMenu ); 649 //menuBar1->insertItem( i18n("Toolbar"),configureToolBarMenu );
650 menuBar1->insertItem( i18n("Filter"),selectFilterMenu ); 650 menuBar1->insertItem( i18n("Filter"),selectFilterMenu );
651 menuBar1->insertItem( i18n("Help"), helpMenu ); 651 menuBar1->insertItem( i18n("Help"), helpMenu );
652 } else { 652 } else {
653 QPEMenuBar *menuBar1; 653 QPEMenuBar *menuBar1;
654 menuBar1 = new QPEMenuBar( iconToolBar ); 654 menuBar1 = new QPEMenuBar( iconToolBar );
655 QPopupMenu *menuBar = new QPopupMenu( this ); 655 QPopupMenu *menuBar = new QPopupMenu( this );
656 icon = loadPixmap( pathString + "z_menu" ); 656 icon = loadPixmap( pathString + "z_menu" );
657 menuBar1->insertItem( icon.pixmap(), menuBar); 657 menuBar1->insertItem( icon.pixmap(), menuBar);
658 //menuBar1->insertItem( i18n("ME"), menuBar); 658 //menuBar1->insertItem( i18n("ME"), menuBar);
659 menuBar->insertItem( i18n("File"), importMenu ); 659 menuBar->insertItem( i18n("File"), importMenu );
660 menuBar->insertItem( i18n("View"), viewMenu ); 660 menuBar->insertItem( i18n("View"), viewMenu );
661 menuBar->insertItem( i18n("Actions"), actionMenu ); 661 menuBar->insertItem( i18n("Actions"), actionMenu );
662 menuBar->insertItem( i18n("Synchronize"), syncMenu ); 662 menuBar->insertItem( i18n("Synchronize"), syncMenu );
663 menuBar->insertItem( i18n("AgendaSize"),configureAgendaMenu ); 663 menuBar->insertItem( i18n("AgendaSize"),configureAgendaMenu );
664 menuBar->insertItem( i18n("Toolbar"),configureToolBarMenu ); 664 menuBar->insertItem( i18n("Toolbar"),configureToolBarMenu );
665 menuBar->insertItem( i18n("Filter"),selectFilterMenu ); 665 menuBar->insertItem( i18n("Filter"),selectFilterMenu );
666 menuBar->insertItem( i18n("Help"), helpMenu ); 666 menuBar->insertItem( i18n("Help"), helpMenu );
667 //menuBar1->setMaximumWidth( menuBar1->sizeHint().width() ); 667 //menuBar1->setMaximumWidth( menuBar1->sizeHint().width() );
668 menuBar1->setMaximumSize( menuBar1->sizeHint( )); 668 menuBar1->setMaximumSize( menuBar1->sizeHint( ));
669 } 669 }
670 connect ( selectFilterMenu, SIGNAL( activated ( int ) ), this, SLOT (selectFilter( int ) ) ); 670 connect ( selectFilterMenu, SIGNAL( activated ( int ) ), this, SLOT (selectFilter( int ) ) );
671 connect ( selectFilterMenu, SIGNAL( aboutToShow() ), this, SLOT (fillFilterMenu() ) ); 671 connect ( selectFilterMenu, SIGNAL( aboutToShow() ), this, SLOT (fillFilterMenu() ) );
672 672
673 673
674 mWeekBgColor = iconToolBar->backgroundColor(); 674 mWeekBgColor = iconToolBar->backgroundColor();
675 mWeekPixmap.resize( pixWid , pixHei ); 675 mWeekPixmap.resize( pixWid , pixHei );
676 mWeekPixmap.fill( mWeekBgColor ); 676 mWeekPixmap.fill( mWeekBgColor );
677 icon = mWeekPixmap; 677 icon = mWeekPixmap;
678 mWeekAction = new QAction( i18n("Select week number"),icon, i18n("Select week number"), 0, this ); 678 mWeekAction = new QAction( i18n("Select week number"),icon, i18n("Select week number"), 0, this );
679 if ( p-> mShowIconWeekNum ) 679 if ( p-> mShowIconWeekNum )
680 mWeekAction->addTo( iconToolBar ); 680 mWeekAction->addTo( iconToolBar );
681 mWeekFont = font(); 681 mWeekFont = font();
682 682
683 int fontPoint = mWeekFont.pointSize(); 683 int fontPoint = mWeekFont.pointSize();
684 QFontMetrics f( mWeekFont ); 684 QFontMetrics f( mWeekFont );
685 int fontWid = f.width( "30" ); 685 int fontWid = f.width( "30" );
686 while ( fontWid > pixWid ) { 686 while ( fontWid > pixWid ) {
687 --fontPoint; 687 --fontPoint;
688 mWeekFont.setPointSize( fontPoint ); 688 mWeekFont.setPointSize( fontPoint );
689 QFontMetrics f( mWeekFont ); 689 QFontMetrics f( mWeekFont );
690 fontWid = f.width( "30" ); 690 fontWid = f.width( "30" );
691 //qDebug("dec-- "); 691 //qDebug("dec-- ");
692 } 692 }
693 693
694 connect( mWeekAction, SIGNAL( activated() ), 694 connect( mWeekAction, SIGNAL( activated() ),
695 this, SLOT( weekAction() ) ); 695 this, SLOT( weekAction() ) );
696 696
697 connect( this, SIGNAL( selectWeek ( int ) ), mView->dateNavigator(), SLOT( selectWeek ( int ) ) ); 697 connect( this, SIGNAL( selectWeek ( int ) ), mView->dateNavigator(), SLOT( selectWeek ( int ) ) );
698 if ( p->mShowIconFilterview ) { 698 if ( p->mShowIconFilterview ) {
699 icon = loadPixmap( pathString + "filter" ); 699 icon = loadPixmap( pathString + "filter" );
700 actionFilterMenuTB = new QAction( i18n("Filter selector"), icon, i18n("Filter selector"), 0, this ); 700 actionFilterMenuTB = new QAction( i18n("Filter selector"), icon, i18n("Filter selector"), 0, this );
701 connect( actionFilterMenuTB, SIGNAL( activated() ), 701 connect( actionFilterMenuTB, SIGNAL( activated() ),
702 this, SLOT( fillFilterMenuTB() ) ); 702 this, SLOT( fillFilterMenuTB() ) );
703 actionFilterMenuTB->addTo( iconToolBar ); 703 actionFilterMenuTB->addTo( iconToolBar );
704 selectFilterMenuTB = new QPopupMenu( this ); 704 selectFilterMenuTB = new QPopupMenu( this );
705 selectFilterMenuTB->setCheckable( true ); 705 selectFilterMenuTB->setCheckable( true );
706 connect ( selectFilterMenuTB, SIGNAL( activated ( int ) ), this, SLOT (selectFilter( int ) ) ); 706 connect ( selectFilterMenuTB, SIGNAL( activated ( int ) ), this, SLOT (selectFilter( int ) ) );
707 } 707 }
708 708
709 //#endif 709 //#endif
710 // ****************** 710 // ******************
711 QAction *action; 711 QAction *action;
712 // QPopupMenu *configureMenu= new QPopupMenu( menuBar ); 712 // QPopupMenu *configureMenu= new QPopupMenu( menuBar );
713 configureToolBarMenu->setCheckable( true ); 713 configureToolBarMenu->setCheckable( true );
714 714
715 715
716 configureAgendaMenu->setCheckable( true ); 716 configureAgendaMenu->setCheckable( true );
717 int iii ; 717 int iii ;
718 for ( iii = 1;iii<= 10 ;++iii ){ 718 for ( iii = 1;iii<= 10 ;++iii ){
719 configureAgendaMenu->insertItem(i18n("Size %1").arg(iii), (iii+1)*2 ); 719 configureAgendaMenu->insertItem(i18n("Size %1").arg(iii), (iii+1)*2 );
720 } 720 }
721 //configureMenu->insertItem( "AgendaSize",configureAgendaMenu ); 721 //configureMenu->insertItem( "AgendaSize",configureAgendaMenu );
722 722
723 connect( configureAgendaMenu, SIGNAL( aboutToShow()), 723 connect( configureAgendaMenu, SIGNAL( aboutToShow()),
724 this, SLOT( showConfigureAgenda( ) ) ); 724 this, SLOT( showConfigureAgenda( ) ) );
725 725
726 icon = loadPixmap( pathString + "configure" ); 726 icon = loadPixmap( pathString + "configure" );
727 action = new QAction( i18n("Configure"),icon, i18n("Configure..."), 0, this ); 727 action = new QAction( i18n("Configure"),icon, i18n("Configure..."), 0, this );
728 action->addTo( actionMenu ); 728 action->addTo( actionMenu );
729 connect( action, SIGNAL( activated() ), 729 connect( action, SIGNAL( activated() ),
730 mView, SLOT( edit_options() ) ); 730 mView, SLOT( edit_options() ) );
731 actionMenu->insertSeparator(); 731 actionMenu->insertSeparator();
732 732
733 action = new QAction( i18n("Undo Delete"), i18n("Undo Delete..."), 0, this ); 733 action = new QAction( i18n("Undo Delete"), i18n("Undo Delete..."), 0, this );
734 action->addTo( actionMenu ); 734 action->addTo( actionMenu );
735 connect( action, SIGNAL( activated() ), 735 connect( action, SIGNAL( activated() ),
736 mView, SLOT( undo_delete() ) ); 736 mView, SLOT( undo_delete() ) );
737 actionMenu->insertSeparator(); 737 actionMenu->insertSeparator();
738 738
739 icon = loadPixmap( pathString + "newevent" ); 739 icon = loadPixmap( pathString + "newevent" );
740 configureToolBarMenu->insertItem(i18n("Stretched TB"), 5 ); 740 configureToolBarMenu->insertItem(i18n("Stretched TB"), 5 );
741 configureToolBarMenu->insertItem(i18n("Only one toolbar"), 6 ); 741 configureToolBarMenu->insertItem(i18n("Only one toolbar"), 6 );
742 configureToolBarMenu->insertSeparator(); 742 configureToolBarMenu->insertSeparator();
743 configureToolBarMenu->insertItem(i18n("Filtermenu"), 7 ); 743 configureToolBarMenu->insertItem(i18n("Filtermenu"), 7 );
744 configureToolBarMenu->insertSeparator(); 744 configureToolBarMenu->insertSeparator();
745 configureToolBarMenu->insertItem(i18n("Week Number"), 400); 745 configureToolBarMenu->insertItem(i18n("Week Number"), 400);
746 configureToolBarMenu->insertItem(icon, i18n("New Event..."), 10 ); 746 configureToolBarMenu->insertItem(icon, i18n("New Event..."), 10 );
747 QAction* ne_action = new QAction( i18n("New Event..."), icon, i18n("New Event..."), 0, this ); 747 QAction* ne_action = new QAction( i18n("New Event..."), icon, i18n("New Event..."), 0, this );
748 ne_action->addTo( actionMenu ); 748 ne_action->addTo( actionMenu );
749 connect( ne_action, SIGNAL( activated() ), 749 connect( ne_action, SIGNAL( activated() ),
750 mView, SLOT( newEvent() ) ); 750 mView, SLOT( newEvent() ) );
751 icon = loadPixmap( pathString + "newtodo" ); 751 icon = loadPixmap( pathString + "newtodo" );
752 configureToolBarMenu->insertItem(icon, i18n("New Todo..."), 20 ); 752 configureToolBarMenu->insertItem(icon, i18n("New Todo..."), 20 );
753 QAction* nt_action = new QAction( i18n("New Todo..."), icon, i18n("New Todo..."), 0, this ); 753 QAction* nt_action = new QAction( i18n("New Todo..."), icon, i18n("New Todo..."), 0, this );
754 nt_action->addTo( actionMenu ); 754 nt_action->addTo( actionMenu );
755 connect( nt_action, SIGNAL( activated() ), 755 connect( nt_action, SIGNAL( activated() ),
756 mView, SLOT( newTodo() ) ); 756 mView, SLOT( newTodo() ) );
757 757
758 icon = loadPixmap( pathString + "today" ); 758 icon = loadPixmap( pathString + "today" );
759 QAction* today_action = new QAction( i18n("Go to Today"), icon, i18n("Go to Today"), 0, this ); 759 QAction* today_action = new QAction( i18n("Go to Today"), icon, i18n("Go to Today"), 0, this );
760 today_action->addTo( viewMenu ); 760 today_action->addTo( viewMenu );
761 connect( today_action, SIGNAL( activated() ), 761 connect( today_action, SIGNAL( activated() ),
762 mView, SLOT( goToday() ) ); 762 mView, SLOT( goToday() ) );
763 viewMenu->insertSeparator(); 763 viewMenu->insertSeparator();
764 764
765 // *********************** 765 // ***********************
766 if ( KOPrefs::instance()->mVerticalScreen ) { 766 if ( KOPrefs::instance()->mVerticalScreen ) {
767 icon = SmallIcon( "1updownarrow" ); 767 icon = SmallIcon( "1updownarrow" );
768 } else { 768 } else {
769 icon = SmallIcon("1leftrightarrow" ); 769 icon = SmallIcon("1leftrightarrow" );
770 } 770 }
771 configureToolBarMenu->insertItem(icon, i18n("Toggle Fullscreen"), 28 ); 771 configureToolBarMenu->insertItem(icon, i18n("Toggle Fullscreen"), 28 );
772 QAction* FSaction = new QAction( i18n("Toggle Fullscreen"), icon, i18n("Toggle Fullscreen"), 0, this ); 772 QAction* FSaction = new QAction( i18n("Toggle Fullscreen"), icon, i18n("Toggle Fullscreen"), 0, this );
773 FSaction->addTo( viewMenu ); 773 FSaction->addTo( viewMenu );
774 connect( FSaction, SIGNAL( activated() ), mView, SLOT( toggleExpand() )); 774 connect( FSaction, SIGNAL( activated() ), mView, SLOT( toggleExpand() ));
775 775
776 icon = loadPixmap( pathString + "navi" ); 776 icon = loadPixmap( pathString + "navi" );
777 configureToolBarMenu->insertItem(icon, i18n("Toggle DateNavigator"), 22 ); 777 configureToolBarMenu->insertItem(icon, i18n("Toggle DateNavigator"), 22 );
778 action = new QAction( i18n("Toggle DateNavigator"), icon, i18n("Toggle DateNavigator"), 0, this ); 778 action = new QAction( i18n("Toggle DateNavigator"), icon, i18n("Toggle DateNavigator"), 0, this );
779 action->addTo( viewMenu ); 779 action->addTo( viewMenu );
780 connect( action, SIGNAL( activated() ), 780 connect( action, SIGNAL( activated() ),
781 mView, SLOT( toggleDateNavigatorWidget() ) ); 781 mView, SLOT( toggleDateNavigatorWidget() ) );
782 mToggleNav = action ; 782 mToggleNav = action ;
783 icon = loadPixmap( pathString + "filter" ); 783 icon = loadPixmap( pathString + "filter" );
784 configureToolBarMenu->insertItem(icon, i18n("Filter menu icon"), 26 ); 784 configureToolBarMenu->insertItem(icon, i18n("Filter menu icon"), 26 );
785 action = new QAction( i18n("Toggle FilterView"), icon, i18n("Toggle FilterView"), 0, this ); 785 action = new QAction( i18n("Toggle FilterView"), icon, i18n("Toggle FilterView"), 0, this );
786 action->addTo( viewMenu ); 786 action->addTo( viewMenu );
787 connect( action, SIGNAL( activated() ), 787 connect( action, SIGNAL( activated() ),
788 mView, SLOT( toggleFilter() ) ); 788 mView, SLOT( toggleFilter() ) );
789 mToggleFilter = action; 789 mToggleFilter = action;
790 icon = loadPixmap( pathString + "allday" ); 790 icon = loadPixmap( pathString + "allday" );
791 configureToolBarMenu->insertItem(icon, i18n("Toggle Allday"), 24 ); 791 configureToolBarMenu->insertItem(icon, i18n("Toggle Allday"), 24 );
792 action = new QAction( i18n("Toggle Allday"), icon,i18n("Toggle Allday"), 0, this ); 792 action = new QAction( i18n("Toggle Allday"), icon,i18n("Toggle Allday"), 0, this );
793 action->addTo( viewMenu ); 793 action->addTo( viewMenu );
794 connect( action, SIGNAL( activated() ), 794 connect( action, SIGNAL( activated() ),
795 mView, SLOT( toggleAllDaySize() ) ); 795 mView, SLOT( toggleAllDaySize() ) );
796 mToggleAllday = action; 796 mToggleAllday = action;
797 797
798 798
799 connect( mView->viewManager(), SIGNAL( signalFullScreen( bool ) ), 799 connect( mView->viewManager(), SIGNAL( signalFullScreen( bool ) ),
800 mToggleNav, SLOT( setEnabled ( bool ) ) ); 800 mToggleNav, SLOT( setEnabled ( bool ) ) );
801 connect( mView->viewManager(), SIGNAL( signalFullScreen( bool ) ), 801 connect( mView->viewManager(), SIGNAL( signalFullScreen( bool ) ),
802 mToggleFilter, SLOT( setEnabled ( bool ) ) ); 802 mToggleFilter, SLOT( setEnabled ( bool ) ) );
803 connect( mView->viewManager(), SIGNAL( signalAgendaView( bool ) ), 803 connect( mView->viewManager(), SIGNAL( signalAgendaView( bool ) ),
804 mToggleAllday, SLOT( setEnabled ( bool ) ) ); 804 mToggleAllday, SLOT( setEnabled ( bool ) ) );
805 // connect( mView->viewManager(), SIGNAL( signalAgendaView( bool ) ), 805 // connect( mView->viewManager(), SIGNAL( signalAgendaView( bool ) ),
806 // configureAgendaMenu, SLOT( setEnabled ( bool ) ) ); 806 // configureAgendaMenu, SLOT( setEnabled ( bool ) ) );
807 807
808 viewMenu->insertSeparator(); 808 viewMenu->insertSeparator();
809 icon = loadPixmap( pathString + "picker" ); 809 icon = loadPixmap( pathString + "picker" );
810 action = new QAction( i18n("Date Picker"), icon, i18n("Date Picker"), 0, this ); 810 action = new QAction( i18n("Date Picker"), icon, i18n("Date Picker"), 0, this );
811 action->addTo( viewMenu ); 811 action->addTo( viewMenu );
812 connect( action, SIGNAL( activated() ), 812 connect( action, SIGNAL( activated() ),
813 mView, SLOT( showDatePicker() ) ); 813 mView, SLOT( showDatePicker() ) );
814 action->addTo( iconToolBar ); 814 action->addTo( iconToolBar );
815 viewMenu->insertSeparator(); 815 viewMenu->insertSeparator();
816 816
817 if ( p-> mShowIconToggleFull ) 817 if ( p-> mShowIconToggleFull )
818 FSaction->addTo( iconToolBar ); 818 FSaction->addTo( iconToolBar );
819 if ( p->mShowIconNavigator ) mToggleNav ->addTo( iconToolBar ); 819 if ( p->mShowIconNavigator ) mToggleNav ->addTo( iconToolBar );
820 820
821 //******************** 821 //********************
822 if ( p->mShowIconAllday ) mToggleAllday->addTo( iconToolBar ); 822 if ( p->mShowIconAllday ) mToggleAllday->addTo( iconToolBar );
823 823
824 824
825 icon = loadPixmap( pathString + "whatsnext" ); 825 icon = loadPixmap( pathString + "whatsnext" );
826 configureToolBarMenu->insertItem(icon, i18n("What's Next"), 110 ); 826 configureToolBarMenu->insertItem(icon, i18n("What's Next"), 110 );
827 QAction* whatsnext_action = new QAction( i18n("What's Next"), icon, i18n("What's Next"), 0, this ); 827 QAction* whatsnext_action = new QAction( i18n("What's Next"), icon, i18n("What's Next"), 0, this );
828 whatsnext_action->addTo( viewMenu ); 828 whatsnext_action->addTo( viewMenu );
829 connect( whatsnext_action, SIGNAL( activated() ), 829 connect( whatsnext_action, SIGNAL( activated() ),
830 mView->viewManager(), SLOT( showWhatsNextView() ) ); 830 mView->viewManager(), SLOT( showWhatsNextView() ) );
831 831
832 icon = loadPixmap( pathString + "xdays" ); 832 icon = loadPixmap( pathString + "xdays" );
833 configureToolBarMenu->insertItem(icon, i18n("Next days"), 100 ); 833 configureToolBarMenu->insertItem(icon, i18n("Next days"), 100 );
834 QAction* xdays_action = new QAction( i18n("Next days"), icon, i18n("Next days"), 0, this ); 834 QAction* xdays_action = new QAction( i18n("Next days"), icon, i18n("Next days"), 0, this );
835 xdays_action->addTo( viewMenu ); 835 xdays_action->addTo( viewMenu );
836 connect( xdays_action, SIGNAL( activated() ), 836 connect( xdays_action, SIGNAL( activated() ),
837 mView->viewManager(), SLOT( showNextXView() ) ); 837 mView->viewManager(), SLOT( showNextXView() ) );
838 838
839 839
840 icon = loadPixmap( pathString + "journal" ); 840 icon = loadPixmap( pathString + "journal" );
841 configureToolBarMenu->insertItem(icon, i18n("Journal"), 90 ); 841 configureToolBarMenu->insertItem(icon, i18n("Journal"), 90 );
842 QAction* viewjournal_action = new QAction( i18n("Journal"), icon, i18n("Journal"), 0, this ); 842 QAction* viewjournal_action = new QAction( i18n("Journal"), icon, i18n("Journal"), 0, this );
843 viewjournal_action->addTo( viewMenu ); 843 viewjournal_action->addTo( viewMenu );
844 connect( viewjournal_action, SIGNAL( activated() ), 844 connect( viewjournal_action, SIGNAL( activated() ),
845 mView->viewManager(), SLOT( showJournalView() ) ); 845 mView->viewManager(), SLOT( showJournalView() ) );
846 846
847 847
848 icon = loadPixmap( pathString + "day" ); 848 icon = loadPixmap( pathString + "day" );
849 configureToolBarMenu->insertItem(icon, i18n("Day View"), 40 ); 849 configureToolBarMenu->insertItem(icon, i18n("Day View"), 40 );
850 QAction* day1_action = new QAction( i18n("Day View"), icon, i18n("Day View"), 0, this ); 850 QAction* day1_action = new QAction( i18n("Day View"), icon, i18n("Day View"), 0, this );
851 day1_action->addTo( viewMenu ); 851 day1_action->addTo( viewMenu );
852 // action->addTo( toolBar ); 852 // action->addTo( toolBar );
853 connect( day1_action, SIGNAL( activated() ), 853 connect( day1_action, SIGNAL( activated() ),
854 mView->viewManager(), SLOT( showDayView() ) ); 854 mView->viewManager(), SLOT( showDayView() ) );
855 855
856 icon = loadPixmap( pathString + "workweek" ); 856 icon = loadPixmap( pathString + "workweek" );
857 configureToolBarMenu->insertItem(icon, i18n("Work Week"), 50 ); 857 configureToolBarMenu->insertItem(icon, i18n("Work Week"), 50 );
858 QAction* day5_action = new QAction( i18n("Work Week"), icon, i18n("Work Week"), 0, this ); 858 QAction* day5_action = new QAction( i18n("Work Week"), icon, i18n("Work Week"), 0, this );
859 day5_action->addTo( viewMenu ); 859 day5_action->addTo( viewMenu );
860 connect( day5_action, SIGNAL( activated() ), 860 connect( day5_action, SIGNAL( activated() ),
861 mView->viewManager(), SLOT( showWorkWeekView() ) ); 861 mView->viewManager(), SLOT( showWorkWeekView() ) );
862 862
863 icon = loadPixmap( pathString + "week" ); 863 icon = loadPixmap( pathString + "week" );
864 configureToolBarMenu->insertItem(icon, i18n("Week"), 60 ); 864 configureToolBarMenu->insertItem(icon, i18n("Week"), 60 );
865 QAction* day7_action = new QAction( i18n("Week"), icon, i18n("Week"), 0, this ); 865 QAction* day7_action = new QAction( i18n("Week"), icon, i18n("Week"), 0, this );
866 day7_action->addTo( viewMenu ); 866 day7_action->addTo( viewMenu );
867 connect( day7_action, SIGNAL( activated() ), 867 connect( day7_action, SIGNAL( activated() ),
868 mView->viewManager(), SLOT( showWeekView() ) ); 868 mView->viewManager(), SLOT( showWeekView() ) );
869 869
870 icon = loadPixmap( pathString + "workweek2" ); 870 icon = loadPixmap( pathString + "workweek2" );
871 configureToolBarMenu->insertItem(icon, i18n("List week view"), 75 ); 871 configureToolBarMenu->insertItem(icon, i18n("List week view"), 75 );
872 QAction* day6_action = new QAction( i18n("List week"), icon, i18n("List week"), 0, this ); 872 QAction* day6_action = new QAction( i18n("List week"), icon, i18n("List week"), 0, this );
873 day6_action->addTo( viewMenu ); 873 day6_action->addTo( viewMenu );
874 connect( day6_action, SIGNAL( activated() ), 874 connect( day6_action, SIGNAL( activated() ),
875 mView->viewManager(), SLOT( showMonthViewWeek() ) ); 875 mView->viewManager(), SLOT( showMonthViewWeek() ) );
876 876
877 icon = loadPixmap( pathString + "month" ); 877 icon = loadPixmap( pathString + "month" );
878 configureToolBarMenu->insertItem(icon, i18n("Month"), 70 ); 878 configureToolBarMenu->insertItem(icon, i18n("Month"), 70 );
879 QAction* month_action = new QAction( i18n("Month"), icon, i18n("Month"), 0, this ); 879 QAction* month_action = new QAction( i18n("Month"), icon, i18n("Month"), 0, this );
880 month_action->addTo( viewMenu ); 880 month_action->addTo( viewMenu );
881 connect( month_action, SIGNAL( activated() ), 881 connect( month_action, SIGNAL( activated() ),
882 mView->viewManager(), SLOT( showMonthView() ) ); 882 mView->viewManager(), SLOT( showMonthView() ) );
883 883
884 icon = loadPixmap( pathString + "list" ); 884 icon = loadPixmap( pathString + "list" );
885 configureToolBarMenu->insertItem(icon, i18n("List View"), 30 ); 885 configureToolBarMenu->insertItem(icon, i18n("List View"), 30 );
886 QAction* showlist_action = new QAction( i18n("List View"), icon, i18n("List View"), 0, this ); 886 QAction* showlist_action = new QAction( i18n("List View"), icon, i18n("List View"), 0, this );
887 showlist_action->addTo( viewMenu ); 887 showlist_action->addTo( viewMenu );
888 connect( showlist_action, SIGNAL( activated() ), 888 connect( showlist_action, SIGNAL( activated() ),
889 mView->viewManager(), SLOT( showListView() ) ); 889 mView->viewManager(), SLOT( showListView() ) );
890 890
891 icon = loadPixmap( pathString + "todo" ); 891 icon = loadPixmap( pathString + "todo" );
892 configureToolBarMenu->insertItem(icon, i18n("Todo View"), 80 ); 892 configureToolBarMenu->insertItem(icon, i18n("Todo View"), 80 );
893 QAction* todoview_action = new QAction( i18n("Todo View"), icon, i18n("Todo View"), 0, this ); 893 QAction* todoview_action = new QAction( i18n("Todo View"), icon, i18n("Todo View"), 0, this );
894 todoview_action->addTo( viewMenu ); 894 todoview_action->addTo( viewMenu );
895 connect( todoview_action, SIGNAL( activated() ), 895 connect( todoview_action, SIGNAL( activated() ),
896 mView->viewManager(), SLOT( showTodoView() ) ); 896 mView->viewManager(), SLOT( showTodoView() ) );
897 897
898 898
899 899
900#if 0 900#if 0
901 action = new QAction( "view_timespan", "Time Span", 0, this ); 901 action = new QAction( "view_timespan", "Time Span", 0, this );
902 action->addTo( viewMenu ); 902 action->addTo( viewMenu );
903 connect( action, SIGNAL( activated() ), 903 connect( action, SIGNAL( activated() ),
904 mView->viewManager(), SLOT( showTimeSpanView() ) ); 904 mView->viewManager(), SLOT( showTimeSpanView() ) );
905#endif 905#endif
906 906
907 mNewSubTodoAction = new QAction( "new_subtodo", i18n("New Sub-Todo..."), 0, 907 mNewSubTodoAction = new QAction( "new_subtodo", i18n("New Sub-Todo..."), 0,
908 this ); 908 this );
909 mNewSubTodoAction->addTo( actionMenu ); 909 mNewSubTodoAction->addTo( actionMenu );
910 connect( mNewSubTodoAction, SIGNAL( activated() ), 910 connect( mNewSubTodoAction, SIGNAL( activated() ),
911 mView, SLOT( newSubTodo() ) ); 911 mView, SLOT( newSubTodo() ) );
912 912
913 actionMenu->insertSeparator(); 913 actionMenu->insertSeparator();
914 914
915 mShowAction = new QAction( "show_incidence", i18n("Show..."), 0, this ); 915 mShowAction = new QAction( "show_incidence", i18n("Show..."), 0, this );
916 mShowAction->addTo( actionMenu ); 916 mShowAction->addTo( actionMenu );
917 connect( mShowAction, SIGNAL( activated() ), 917 connect( mShowAction, SIGNAL( activated() ),
918 mView, SLOT( showIncidence() ) ); 918 mView, SLOT( showIncidence() ) );
919 919
920 mEditAction = new QAction( "edit_incidence", i18n("Edit..."), 0, this ); 920 mEditAction = new QAction( "edit_incidence", i18n("Edit..."), 0, this );
921 mEditAction->addTo( actionMenu ); 921 mEditAction->addTo( actionMenu );
922 connect( mEditAction, SIGNAL( activated() ), 922 connect( mEditAction, SIGNAL( activated() ),
923 mView, SLOT( editIncidence() ) ); 923 mView, SLOT( editIncidence() ) );
924 924
925 mDeleteAction = new QAction( "delete_incidence", i18n("Delete..."), 0, this ); 925 mDeleteAction = new QAction( "delete_incidence", i18n("Delete..."), 0, this );
926 mDeleteAction->addTo( actionMenu ); 926 mDeleteAction->addTo( actionMenu );
927 connect( mDeleteAction, SIGNAL( activated() ), 927 connect( mDeleteAction, SIGNAL( activated() ),
928 mView, SLOT( deleteIncidence() ) ); 928 mView, SLOT( deleteIncidence() ) );
929 929
930 930
931 mCloneAction = new QAction( "clone_incidence", i18n("Clone..."), 0, this ); 931 mCloneAction = new QAction( "clone_incidence", i18n("Clone..."), 0, this );
932 mCloneAction->addTo( actionMenu ); 932 mCloneAction->addTo( actionMenu );
933 connect( mCloneAction, SIGNAL( activated() ), 933 connect( mCloneAction, SIGNAL( activated() ),
934 mView, SLOT( cloneIncidence() ) ); 934 mView, SLOT( cloneIncidence() ) );
935 mMoveAction = new QAction( "Move_incidence", i18n("Move..."), 0, this ); 935 mMoveAction = new QAction( "Move_incidence", i18n("Move..."), 0, this );
936 mMoveAction->addTo( actionMenu ); 936 mMoveAction->addTo( actionMenu );
937 connect( mMoveAction, SIGNAL( activated() ), 937 connect( mMoveAction, SIGNAL( activated() ),
938 mView, SLOT( moveIncidence() ) ); 938 mView, SLOT( moveIncidence() ) );
939 mBeamAction = new QAction( "Beam_incidence", i18n("Beam..."), 0, this ); 939 mBeamAction = new QAction( "Beam_incidence", i18n("Beam..."), 0, this );
940 mBeamAction->addTo( actionMenu ); 940 mBeamAction->addTo( actionMenu );
941 connect( mBeamAction, SIGNAL( activated() ), 941 connect( mBeamAction, SIGNAL( activated() ),
942 mView, SLOT( beamIncidence() ) ); 942 mView, SLOT( beamIncidence() ) );
943 mCancelAction = new QAction( "Cancel_incidence", i18n("Toggle Cancel"), 0, this ); 943 mCancelAction = new QAction( "Cancel_incidence", i18n("Toggle Cancel"), 0, this );
944 mCancelAction->addTo( actionMenu ); 944 mCancelAction->addTo( actionMenu );
945 connect( mCancelAction, SIGNAL( activated() ), 945 connect( mCancelAction, SIGNAL( activated() ),
946 mView, SLOT( toggleCancelIncidence() ) ); 946 mView, SLOT( toggleCancelIncidence() ) );
947 947
948 actionMenu->insertSeparator(); 948 actionMenu->insertSeparator();
949 949
950 action = new QAction( "purge_completed", i18n("Purge Completed"), 0, 950 action = new QAction( "purge_completed", i18n("Purge Completed"), 0,
951 this ); 951 this );
952 action->addTo( actionMenu ); 952 action->addTo( actionMenu );
953 connect( action, SIGNAL( activated() ), mView, SLOT( purgeCompleted() ) ); 953 connect( action, SIGNAL( activated() ), mView, SLOT( purgeCompleted() ) );
954 954
955 icon = loadPixmap( pathString + "search" ); 955 icon = loadPixmap( pathString + "search" );
956 QAction* search_action = new QAction( i18n("Search"), icon, i18n("Search..."), 0, this ); 956 QAction* search_action = new QAction( i18n("Search"), icon, i18n("Search..."), 0, this );
957 configureToolBarMenu->insertItem(icon, i18n("Search"), 120 , 5); 957 configureToolBarMenu->insertItem(icon, i18n("Search"), 120 , 5);
958 search_action->addTo( actionMenu ); 958 search_action->addTo( actionMenu );
959 connect( search_action, SIGNAL( activated() ), 959 connect( search_action, SIGNAL( activated() ),
960 mView->dialogManager(), SLOT( showSearchDialog() ) ); 960 mView->dialogManager(), SLOT( showSearchDialog() ) );
961 961
962 962
963 963
964 if ( KOPrefs::instance()->mShowFullMenu ) { 964 if ( KOPrefs::instance()->mShowFullMenu ) {
965 actionMenu->insertSeparator(); 965 actionMenu->insertSeparator();
966 actionMenu->insertItem( i18n("Configure Toolbar"),configureToolBarMenu ); 966 actionMenu->insertItem( i18n("Configure Toolbar"),configureToolBarMenu );
967 967
968 } 968 }
969 // actionMenu->insertSeparator(); 969 // actionMenu->insertSeparator();
970 action = new QAction( "import_qtopia", i18n("Import (*.ics/*.vcs) file"), 0, 970 action = new QAction( "import_qtopia", i18n("Import (*.ics/*.vcs) file"), 0,
971 this ); 971 this );
972 action->addTo( importMenu_X ); 972 action->addTo( importMenu_X );
973 connect( action, SIGNAL( activated() ), SLOT( importIcal() ) ); 973 connect( action, SIGNAL( activated() ), SLOT( importIcal() ) );
974 action = new QAction( "import_quick", i18n("Import last file"), 0, 974 action = new QAction( "import_quick", i18n("Import last file"), 0,
975 this ); 975 this );
976 action->addTo( importMenu_X ); 976 action->addTo( importMenu_X );
977 connect( action, SIGNAL( activated() ), SLOT( quickImportIcal() ) ); 977 connect( action, SIGNAL( activated() ), SLOT( quickImportIcal() ) );
978 importMenu_X->insertSeparator(); 978 importMenu_X->insertSeparator();
979 action = new QAction( "import_bday", i18n("Import Birthdays (KA/Pi)"), 0, 979 action = new QAction( "import_bday", i18n("Import Birthdays (KA/Pi)"), 0,
980 this ); 980 this );
981 action->addTo( importMenu_X ); 981 action->addTo( importMenu_X );
982 connect( action, SIGNAL( activated() ), SLOT( importBday() ) ); 982 connect( action, SIGNAL( activated() ), SLOT( importBday() ) );
983 //#ifndef DESKTOP_VERSION 983 //#ifndef DESKTOP_VERSION
984 importMenu_X->insertSeparator(); 984 importMenu_X->insertSeparator();
985 action = new QAction( "import_qtopia", i18n("Import Opie/Qtopia Cal."), 0, 985 action = new QAction( "import_qtopia", i18n("Import Opie/Qtopia Cal."), 0,
986 this ); 986 this );
987 action->addTo( importMenu_X ); 987 action->addTo( importMenu_X );
988 connect( action, SIGNAL( activated() ), SLOT( importQtopia() ) ); 988 connect( action, SIGNAL( activated() ), SLOT( importQtopia() ) );
989 //#else 989 //#else
990#ifdef _OL_IMPORT_ 990#ifdef _OL_IMPORT_
991 importMenu_X->insertSeparator(); 991 importMenu_X->insertSeparator();
992 action = new QAction( "import_ol", i18n("Import from OL"), 0, 992 action = new QAction( "import_ol", i18n("Import from OL"), 0,
993 this ); 993 this );
994 action->addTo( importMenu_X ); 994 action->addTo( importMenu_X );
995 connect( action, SIGNAL( activated() ), SLOT( importOL() ) ); 995 connect( action, SIGNAL( activated() ), SLOT( importOL() ) );
996#endif 996#endif
997 //#endif 997 //#endif
998 998
999 //importMenu->insertSeparator(); 999 //importMenu->insertSeparator();
1000 action = new QAction( "load_cal", i18n("Load Calendar Backup"), 0, 1000 action = new QAction( "load_cal", i18n("Load Calendar Backup"), 0,
1001 this ); 1001 this );
1002 action->addTo( importMenu ); 1002 action->addTo( importMenu );
1003 connect( action, SIGNAL( activated() ), SLOT( loadCalendar() ) ); 1003 connect( action, SIGNAL( activated() ), SLOT( loadCalendar() ) );
1004 1004
1005 action = new QAction( "save_cal", i18n("Save Calendar Backup"), 0, 1005 action = new QAction( "save_cal", i18n("Save Calendar Backup"), 0,
1006 this ); 1006 this );
1007 action->addTo( importMenu ); 1007 action->addTo( importMenu );
1008 connect( action, SIGNAL( activated() ), SLOT( saveCalendar() ) ); 1008 connect( action, SIGNAL( activated() ), SLOT( saveCalendar() ) );
1009 importMenu->insertSeparator(); 1009 importMenu->insertSeparator();
1010 importMenu->insertItem( i18n("Import"), importMenu_X ); 1010 importMenu->insertItem( i18n("Import"), importMenu_X );
1011 //importMenu->insertSeparator(); 1011 //importMenu->insertSeparator();
1012 action = new QAction( "import_qtopia", i18n("Export VCalendar"), 0, 1012 action = new QAction( "import_qtopia", i18n("Export VCalendar"), 0,
1013 this ); 1013 this );
1014 action->addTo( exportMenu_X ); 1014 action->addTo( exportMenu_X );
1015 connect( action, SIGNAL( activated() ), SLOT( exportVCalendar() ) ); 1015 connect( action, SIGNAL( activated() ), SLOT( exportVCalendar() ) );
1016 1016
1017 1017
1018 //LR 1018 //LR
1019 QPopupMenu *ex2phone = new QPopupMenu( this ); 1019 QPopupMenu *ex2phone = new QPopupMenu( this );
1020 ex2phone->insertItem(i18n("Complete calendar..."), 1 ); 1020 ex2phone->insertItem(i18n("Complete calendar..."), 1 );
1021 ex2phone->insertItem(i18n("Filtered calendar..."), 2 ); 1021 ex2phone->insertItem(i18n("Filtered calendar..."), 2 );
1022 connect( ex2phone, SIGNAL( activated(int) ), this, SLOT( exportToPhone( int)) ); 1022 connect( ex2phone, SIGNAL( activated(int) ), this, SLOT( exportToPhone( int)) );
1023 exportMenu_X->insertItem( i18n("Export to phone"), ex2phone ); 1023 exportMenu_X->insertItem( i18n("Export to phone"), ex2phone );
1024 1024
1025 importMenu->insertItem( i18n("Export"), exportMenu_X ); 1025 importMenu->insertItem( i18n("Export"), exportMenu_X );
1026#ifndef DESKTOP_VERSION 1026#ifndef DESKTOP_VERSION
1027 //importMenu->insertSeparator(); 1027 //importMenu->insertSeparator();
1028 brAction = new QAction( "beam toggle", i18n("Beam receive enabled"), 0, 1028 brAction = new QAction( "beam toggle", i18n("Beam receive enabled"), 0,
1029 this ); 1029 this );
1030 brAction->addTo( beamMenu_X ); 1030 brAction->addTo( beamMenu_X );
1031 brAction->setToggleAction (true ) ; 1031 brAction->setToggleAction (true ) ;
1032 connect( brAction, SIGNAL( activated() ), this, SLOT( toggleBeamReceive() ) ); 1032 connect( brAction, SIGNAL( activated() ), this, SLOT( toggleBeamReceive() ) );
1033 1033
1034 action = new QAction( "beam all", i18n("Beam complete calendar..."), 0, 1034 action = new QAction( "beam all", i18n("Beam complete calendar..."), 0,
1035 this ); 1035 this );
1036 action->addTo( beamMenu_X ); 1036 action->addTo( beamMenu_X );
1037 connect( action, SIGNAL( activated() ), mView, SLOT( beamCalendar() ) ); 1037 connect( action, SIGNAL( activated() ), mView, SLOT( beamCalendar() ) );
1038 1038
1039 action = new QAction( "beam all", i18n("Beam filtered calendar..."), 0, 1039 action = new QAction( "beam all", i18n("Beam filtered calendar..."), 0,
1040 this ); 1040 this );
1041 action->addTo( beamMenu_X ); 1041 action->addTo( beamMenu_X );
1042 connect( action, SIGNAL( activated() ), mView, SLOT( beamFilteredCalendar()) ); 1042 connect( action, SIGNAL( activated() ), mView, SLOT( beamFilteredCalendar()) );
1043 importMenu->insertItem( i18n("Beam"), beamMenu_X ); 1043 importMenu->insertItem( i18n("Beam"), beamMenu_X );
1044#else 1044#else
1045 //importMenu->insertSeparator(); 1045 //importMenu->insertSeparator();
1046 icon = loadPixmap( pathString + "print" ); 1046 icon = loadPixmap( pathString + "print" );
1047 action = new QAction( i18n("Print calendar..."),icon,i18n("Print calendar..."), 0, this ); 1047 action = new QAction( i18n("Print calendar..."),icon,i18n("Print calendar..."), 0, this );
1048 action->addTo( beamMenu_X ); 1048 action->addTo( beamMenu_X );
1049 connect( action, SIGNAL( activated() ), 1049 connect( action, SIGNAL( activated() ),
1050 this, SLOT( printCal() ) ); 1050 this, SLOT( printCal() ) );
1051 1051
1052 icon = loadPixmap( pathString + "print" ); 1052 icon = loadPixmap( pathString + "print" );
1053 action = new QAction( i18n("Print agenda selection..."),icon,i18n("Print agenda selection..."), 0, this ); 1053 action = new QAction( i18n("Print agenda selection..."),icon,i18n("Print agenda selection..."), 0, this );
1054 action->addTo( beamMenu_X ); 1054 action->addTo( beamMenu_X );
1055 connect( action, SIGNAL( activated() ), 1055 connect( action, SIGNAL( activated() ),
1056 this, SLOT( printSel() ) ); 1056 this, SLOT( printSel() ) );
1057 action = new QAction( i18n("Print What's Next View..."),icon,i18n("Print What's Next View..."), 0, this ); 1057 action = new QAction( i18n("Print What's Next View..."),icon,i18n("Print What's Next View..."), 0, this );
1058 action->addTo( beamMenu_X ); 1058 action->addTo( beamMenu_X );
1059 connect( action, SIGNAL( activated() ), 1059 connect( action, SIGNAL( activated() ),
1060 mView->viewManager(), SLOT( slotprintWNV() ) ); 1060 mView->viewManager(), SLOT( slotprintWNV() ) );
1061 1061
1062 action = new QAction( i18n("Print selected event / todo..."),icon,i18n("Print selected event / todo..."), 0, this ); 1062
1063 icon = loadPixmap( pathString + "print" );
1064 action = new QAction( i18n("Print List View..."),icon,i18n("Print List View..."), 0, this );
1063 action->addTo( beamMenu_X ); 1065 action->addTo( beamMenu_X );
1064 connect( action, SIGNAL( activated() ), 1066 connect( action, SIGNAL( activated() ),
1065 mView, SLOT( slotprintSelInc() ) ); 1067 this, SLOT( printListView() ) );
1066 1068
1067 icon = loadPixmap( pathString + "print" ); 1069 action = new QAction( i18n("Print selected event / todo..."),icon,i18n("Print selected event / todo..."), 0, this );
1068 action = new QAction( i18n("Print list view..."),icon,i18n("Print list view..."), 0, this );
1069 action->addTo( beamMenu_X ); 1070 action->addTo( beamMenu_X );
1070 connect( action, SIGNAL( activated() ), 1071 connect( action, SIGNAL( activated() ),
1071 this, SLOT( printListView() ) ); 1072 mView, SLOT( slotprintSelInc() ) );
1072 1073
1073 importMenu->insertItem( i18n("Print"), beamMenu_X ); 1074 importMenu->insertItem( i18n("Print"), beamMenu_X );
1074#endif 1075#endif
1075 importMenu->insertSeparator(); 1076 importMenu->insertSeparator();
1076 action = new QAction( "manage cat", i18n("Manage new categories..."), 0, 1077 action = new QAction( "manage cat", i18n("Manage new categories..."), 0,
1077 this ); 1078 this );
1078 action->addTo( importMenu ); 1079 action->addTo( importMenu );
1079 connect( action, SIGNAL( activated() ), mView, SLOT( manageCategories() ) ); 1080 connect( action, SIGNAL( activated() ), mView, SLOT( manageCategories() ) );
1080 importMenu->insertSeparator(); 1081 importMenu->insertSeparator();
1081 action = new QAction( "beam all", i18n("Save"), 0, 1082 action = new QAction( "beam all", i18n("Save"), 0,
1082 this ); 1083 this );
1083 action->addTo( importMenu ); 1084 action->addTo( importMenu );
1084 connect( action, SIGNAL( activated() ), this, SLOT( save() ) ); 1085 connect( action, SIGNAL( activated() ), this, SLOT( save() ) );
1085 action = new QAction( "beam all", i18n("Exit (+save)"), 0, 1086 action = new QAction( "beam all", i18n("Exit (+save)"), 0,
1086 this ); 1087 this );
1087 action->addTo( importMenu ); 1088 action->addTo( importMenu );
1088 connect( action, SIGNAL( activated() ), this, SLOT( close() ) ); 1089 connect( action, SIGNAL( activated() ), this, SLOT( close() ) );
1089 1090
1090 //menuBar->insertItem( "Configure",configureMenu ); 1091 //menuBar->insertItem( "Configure",configureMenu );
1091 //configureMenu->insertItem( "Toolbar",configureToolBarMenu ); 1092 //configureMenu->insertItem( "Toolbar",configureToolBarMenu );
1092 icon = loadPixmap( "korganizer/korganizer" ); 1093 icon = loadPixmap( "korganizer/korganizer" );
1093 1094
1094 action = new QAction( "Whats New", i18n("What's new?"), 0,this ); 1095 action = new QAction( "Whats New", i18n("What's new?"), 0,this );
1095 action->addTo( helpMenu ); 1096 action->addTo( helpMenu );
1096 connect( action, SIGNAL( activated() ), 1097 connect( action, SIGNAL( activated() ),
1097 SLOT( whatsNew() ) ); 1098 SLOT( whatsNew() ) );
1098 action = new QAction( "featureHowto", i18n("Features + hints..."), 0,this ); 1099 action = new QAction( "featureHowto", i18n("Features + hints..."), 0,this );
1099 action->addTo( helpMenu ); 1100 action->addTo( helpMenu );
1100 connect( action, SIGNAL( activated() ), 1101 connect( action, SIGNAL( activated() ),
1101 SLOT( features() ) ); 1102 SLOT( features() ) );
1102 action = new QAction( "Keys + Colors", i18n("Keys + Colors..."), 0, this ); 1103 action = new QAction( "Keys + Colors", i18n("Keys + Colors..."), 0, this );
1103 action->addTo( helpMenu ); 1104 action->addTo( helpMenu );
1104 connect( action, SIGNAL( activated() ), 1105 connect( action, SIGNAL( activated() ),
1105 SLOT( keyBindings() ) ); 1106 SLOT( keyBindings() ) );
1106 action = new QAction( "Storage Howto", i18n("Storage HowTo..."), 0,this ); 1107 action = new QAction( "Storage Howto", i18n("Storage HowTo..."), 0,this );
1107 action->addTo( helpMenu ); 1108 action->addTo( helpMenu );
1108 connect( action, SIGNAL( activated() ), 1109 connect( action, SIGNAL( activated() ),
1109 SLOT( storagehowto() ) ); 1110 SLOT( storagehowto() ) );
1110 action = new QAction( "Timetracking Howto", i18n("Timetracking HowTo..."), 0,this ); 1111 action = new QAction( "Timetracking Howto", i18n("Timetracking HowTo..."), 0,this );
1111 action->addTo( helpMenu ); 1112 action->addTo( helpMenu );
1112 connect( action, SIGNAL( activated() ), 1113 connect( action, SIGNAL( activated() ),
1113 SLOT( timetrackinghowto() ) ); 1114 SLOT( timetrackinghowto() ) );
1114 action = new QAction( "Sync Howto", i18n("Sync HowTo..."), 0,this ); 1115 action = new QAction( "Sync Howto", i18n("Sync HowTo..."), 0,this );
1115 action->addTo( helpMenu ); 1116 action->addTo( helpMenu );
1116 connect( action, SIGNAL( activated() ), 1117 connect( action, SIGNAL( activated() ),
1117 SLOT( synchowto() ) ); 1118 SLOT( synchowto() ) );
1118 action = new QAction( "KDE Sync Howto", i18n("KDE Sync HowTo..."), 0,this ); 1119 action = new QAction( "KDE Sync Howto", i18n("KDE Sync HowTo..."), 0,this );
1119 action->addTo( helpMenu ); 1120 action->addTo( helpMenu );
1120 connect( action, SIGNAL( activated() ), 1121 connect( action, SIGNAL( activated() ),
1121 SLOT( kdesynchowto() ) ); 1122 SLOT( kdesynchowto() ) );
1122 action = new QAction( "Multi Sync Howto", i18n("Multi Sync HowTo..."), 0,this ); 1123 action = new QAction( "Multi Sync Howto", i18n("Multi Sync HowTo..."), 0,this );
1123 action->addTo( helpMenu ); 1124 action->addTo( helpMenu );
1124 connect( action, SIGNAL( activated() ), 1125 connect( action, SIGNAL( activated() ),
1125 SLOT( multisynchowto() ) ); 1126 SLOT( multisynchowto() ) );
1126 action = new QAction( "Auto saving", i18n("Auto saving..."), 0, this ); 1127 action = new QAction( "Auto saving", i18n("Auto saving..."), 0, this );
1127 action->addTo( helpMenu ); 1128 action->addTo( helpMenu );
1128 connect( action, SIGNAL( activated() ), 1129 connect( action, SIGNAL( activated() ),
1129 SLOT( aboutAutoSaving() ) ); 1130 SLOT( aboutAutoSaving() ) );
1130 action = new QAction( "Problemd", i18n("Known Problems..."), 0,this ); 1131 action = new QAction( "Problemd", i18n("Known Problems..."), 0,this );
1131 action->addTo( helpMenu ); 1132 action->addTo( helpMenu );
1132 connect( action, SIGNAL( activated() ), 1133 connect( action, SIGNAL( activated() ),
1133 SLOT( aboutKnownBugs() ) ); 1134 SLOT( aboutKnownBugs() ) );
1134 action = new QAction( "Translate Howto", i18n("User translation..."), 0,this ); 1135 action = new QAction( "Translate Howto", i18n("User translation..."), 0,this );
1135 action->addTo( helpMenu ); 1136 action->addTo( helpMenu );
1136 connect( action, SIGNAL( activated() ), 1137 connect( action, SIGNAL( activated() ),
1137 SLOT( usertrans() ) ); 1138 SLOT( usertrans() ) );
1138 action = new QAction( "Frequently asked questions", i18n("FAQ..."), 0,this ); 1139 action = new QAction( "Frequently asked questions", i18n("FAQ..."), 0,this );
1139 action->addTo( helpMenu ); 1140 action->addTo( helpMenu );
1140 connect( action, SIGNAL( activated() ), 1141 connect( action, SIGNAL( activated() ),
1141 SLOT( faq() ) ); 1142 SLOT( faq() ) );
1142 action = new QAction( "licence", i18n("Licence..."), 0, this ); 1143 action = new QAction( "licence", i18n("Licence..."), 0, this );
1143 action->addTo( helpMenu ); 1144 action->addTo( helpMenu );
1144 connect( action, SIGNAL( activated() ), 1145 connect( action, SIGNAL( activated() ),
1145 SLOT( licence() ) ); 1146 SLOT( licence() ) );
1146 action = new QAction( "about", i18n("About..."), 0, this ); 1147 action = new QAction( "about", i18n("About..."), 0, this );
1147 action->addTo( helpMenu ); 1148 action->addTo( helpMenu );
1148 connect( action, SIGNAL( activated() ), 1149 connect( action, SIGNAL( activated() ),
1149 SLOT( about() ) ); 1150 SLOT( about() ) );
1150 //menuBar->insertSeparator(); 1151 //menuBar->insertSeparator();
1151 1152
1152 // ****************************************************** 1153 // ******************************************************
1153 // menubar icons 1154 // menubar icons
1154 1155
1155 1156
1156 1157
1157 //menuBar->insertItem( iconToolBar ); 1158 //menuBar->insertItem( iconToolBar );
1158 //xdays_action 1159 //xdays_action
1159 if (p-> mShowIconNewEvent) 1160 if (p-> mShowIconNewEvent)
1160 ne_action->addTo( iconToolBar ); 1161 ne_action->addTo( iconToolBar );
1161 if (p->mShowIconNewTodo ) 1162 if (p->mShowIconNewTodo )
1162 nt_action->addTo( iconToolBar ); 1163 nt_action->addTo( iconToolBar );
1163 if (p-> mShowIconSearch) 1164 if (p-> mShowIconSearch)
1164 search_action->addTo( iconToolBar ); 1165 search_action->addTo( iconToolBar );
1165 if (p-> mShowIconWhatsThis) 1166 if (p-> mShowIconWhatsThis)
1166 QWhatsThis::whatsThisButton ( iconToolBar ); 1167 QWhatsThis::whatsThisButton ( iconToolBar );
1167 if (p-> mShowIconNext) 1168 if (p-> mShowIconNext)
1168 whatsnext_action->addTo( viewToolBar ); 1169 whatsnext_action->addTo( viewToolBar );
1169 if (p-> mShowIconNextDays) 1170 if (p-> mShowIconNextDays)
1170 xdays_action->addTo( viewToolBar ); 1171 xdays_action->addTo( viewToolBar );
1171 if (p-> mShowIconJournal) 1172 if (p-> mShowIconJournal)
1172 viewjournal_action->addTo( viewToolBar ); 1173 viewjournal_action->addTo( viewToolBar );
1173 if (p-> mShowIconDay1) 1174 if (p-> mShowIconDay1)
1174 day1_action->addTo( viewToolBar ); 1175 day1_action->addTo( viewToolBar );
1175 if (p-> mShowIconDay5) 1176 if (p-> mShowIconDay5)
1176 day5_action->addTo( viewToolBar ); 1177 day5_action->addTo( viewToolBar );
1177 if (p-> mShowIconDay7) 1178 if (p-> mShowIconDay7)
1178 day7_action->addTo( viewToolBar ); 1179 day7_action->addTo( viewToolBar );
1179 if (p-> mShowIconDay6) 1180 if (p-> mShowIconDay6)
1180 day6_action->addTo( viewToolBar ); 1181 day6_action->addTo( viewToolBar );
1181 if (p-> mShowIconMonth) 1182 if (p-> mShowIconMonth)
1182 month_action->addTo( viewToolBar ); 1183 month_action->addTo( viewToolBar );
1183 if (p-> mShowIconList) 1184 if (p-> mShowIconList)
1184 showlist_action->addTo( viewToolBar ); 1185 showlist_action->addTo( viewToolBar );
1185 if (p-> mShowIconTodoview) 1186 if (p-> mShowIconTodoview)
1186 todoview_action->addTo( viewToolBar ); 1187 todoview_action->addTo( viewToolBar );
1187 1188
1188 icon = loadPixmap( pathString + "2leftarrowB" ); 1189 icon = loadPixmap( pathString + "2leftarrowB" );
1189 configureToolBarMenu->insertItem(icon, i18n("Prev. month"), 200); 1190 configureToolBarMenu->insertItem(icon, i18n("Prev. month"), 200);
1190 if (p-> mShowIconBackFast) { 1191 if (p-> mShowIconBackFast) {
1191 action = new QAction( i18n("Prev. month"), icon, i18n("Prev. month"),0 , this ); 1192 action = new QAction( i18n("Prev. month"), icon, i18n("Prev. month"),0 , this );
1192 connect( action, SIGNAL( activated() ), 1193 connect( action, SIGNAL( activated() ),
1193 mView, SLOT( goPreviousMonth() ) ); 1194 mView, SLOT( goPreviousMonth() ) );
1194 action->addTo( navigatorToolBar ); 1195 action->addTo( navigatorToolBar );
1195 } 1196 }
1196 icon = loadPixmap( pathString + "1leftarrowB" ); 1197 icon = loadPixmap( pathString + "1leftarrowB" );
1197 configureToolBarMenu->insertItem(icon, i18n("Go backward"), 210); 1198 configureToolBarMenu->insertItem(icon, i18n("Go backward"), 210);
1198 if (p-> mShowIconBack) { 1199 if (p-> mShowIconBack) {
1199 action = new QAction( i18n("Go backward"), icon, i18n("Go backward"),0 , this ); 1200 action = new QAction( i18n("Go backward"), icon, i18n("Go backward"),0 , this );
1200 connect( action, SIGNAL( activated() ), 1201 connect( action, SIGNAL( activated() ),
1201 mView, SLOT( goPrevious() ) ); 1202 mView, SLOT( goPrevious() ) );
1202 action->addTo( navigatorToolBar ); 1203 action->addTo( navigatorToolBar );
1203 } 1204 }
1204 icon = loadPixmap( pathString + "today" ); 1205 icon = loadPixmap( pathString + "today" );
1205 configureToolBarMenu->insertItem(icon, i18n("Go to Today"), 130); 1206 configureToolBarMenu->insertItem(icon, i18n("Go to Today"), 130);
1206 if (p-> mShowIconToday) 1207 if (p-> mShowIconToday)
1207 today_action->addTo( navigatorToolBar ); 1208 today_action->addTo( navigatorToolBar );
1208 icon = loadPixmap( pathString + "1rightarrowB" ); 1209 icon = loadPixmap( pathString + "1rightarrowB" );
1209 configureToolBarMenu->insertItem(icon, i18n("Go forward"), 220); 1210 configureToolBarMenu->insertItem(icon, i18n("Go forward"), 220);
1210 if (p-> mShowIconForward) { 1211 if (p-> mShowIconForward) {
1211 action = new QAction( i18n("Go forward"), icon, i18n("Go forward"),0 , this ); 1212 action = new QAction( i18n("Go forward"), icon, i18n("Go forward"),0 , this );
1212 connect( action, SIGNAL( activated() ), 1213 connect( action, SIGNAL( activated() ),
1213 mView, SLOT( goNext() ) ); 1214 mView, SLOT( goNext() ) );
1214 action->addTo( navigatorToolBar ); 1215 action->addTo( navigatorToolBar );
1215 } 1216 }
1216 icon = loadPixmap( pathString + "2rightarrowB" ); 1217 icon = loadPixmap( pathString + "2rightarrowB" );
1217 configureToolBarMenu->insertItem(icon, i18n("Next month"), 230); 1218 configureToolBarMenu->insertItem(icon, i18n("Next month"), 230);
1218 if (p-> mShowIconForwardFast) { 1219 if (p-> mShowIconForwardFast) {
1219 action = new QAction( i18n("Next month"), icon, i18n("Next month"),0 , this ); 1220 action = new QAction( i18n("Next month"), icon, i18n("Next month"),0 , this );
1220 connect( action, SIGNAL( activated() ), 1221 connect( action, SIGNAL( activated() ),
1221 mView, SLOT( goNextMonth() ) ); 1222 mView, SLOT( goNextMonth() ) );
1222 action->addTo( navigatorToolBar ); 1223 action->addTo( navigatorToolBar );
1223 } 1224 }
1224 1225
1225 1226
1226 configureToolBarMenu->insertItem(i18n("What's This?"), 300, 6); 1227 configureToolBarMenu->insertItem(i18n("What's This?"), 300, 6);
1227 1228
1228 1229
1229 if ( p->mShowIconNavigator ) configureToolBarMenu->setItemChecked( 22 , true); 1230 if ( p->mShowIconNavigator ) configureToolBarMenu->setItemChecked( 22 , true);
1230 if ( p->mShowIconAllday ) configureToolBarMenu->setItemChecked( 24 , true); 1231 if ( p->mShowIconAllday ) configureToolBarMenu->setItemChecked( 24 , true);
1231 if ( p->mShowIconFilterview ) configureToolBarMenu->setItemChecked( 26 , true); 1232 if ( p->mShowIconFilterview ) configureToolBarMenu->setItemChecked( 26 , true);
1232 if ( p->mShowIconToggleFull ) configureToolBarMenu->setItemChecked( 28 , true); 1233 if ( p->mShowIconToggleFull ) configureToolBarMenu->setItemChecked( 28 , true);
1233 1234
1234 if (p-> mShowIconNewEvent) 1235 if (p-> mShowIconNewEvent)
1235 configureToolBarMenu->setItemChecked( 10, true ); 1236 configureToolBarMenu->setItemChecked( 10, true );
1236 if (p->mShowIconNewTodo ) 1237 if (p->mShowIconNewTodo )
1237 configureToolBarMenu->setItemChecked( 20, true ); 1238 configureToolBarMenu->setItemChecked( 20, true );
1238 if (p-> mShowIconSearch) 1239 if (p-> mShowIconSearch)
1239 configureToolBarMenu->setItemChecked( 120, true ); 1240 configureToolBarMenu->setItemChecked( 120, true );
1240 if (p-> mShowIconList) 1241 if (p-> mShowIconList)
1241 configureToolBarMenu->setItemChecked( 30, true ); 1242 configureToolBarMenu->setItemChecked( 30, true );
1242 if (p-> mShowIconDay1) 1243 if (p-> mShowIconDay1)
1243 configureToolBarMenu->setItemChecked( 40, true ); 1244 configureToolBarMenu->setItemChecked( 40, true );
1244 if (p-> mShowIconDay5) 1245 if (p-> mShowIconDay5)
1245 configureToolBarMenu->setItemChecked( 50, true ); 1246 configureToolBarMenu->setItemChecked( 50, true );
1246 if (p-> mShowIconDay6) 1247 if (p-> mShowIconDay6)
1247 configureToolBarMenu->setItemChecked( 75, true ); 1248 configureToolBarMenu->setItemChecked( 75, true );
1248 if (p-> mShowIconDay7) 1249 if (p-> mShowIconDay7)
1249 configureToolBarMenu->setItemChecked( 60, true ); 1250 configureToolBarMenu->setItemChecked( 60, true );
1250 if (p-> mShowIconMonth) 1251 if (p-> mShowIconMonth)
1251 configureToolBarMenu->setItemChecked( 70, true ); 1252 configureToolBarMenu->setItemChecked( 70, true );
1252 if (p-> mShowIconTodoview) 1253 if (p-> mShowIconTodoview)
1253 configureToolBarMenu->setItemChecked( 80, true ); 1254 configureToolBarMenu->setItemChecked( 80, true );
1254 if (p-> mShowIconBackFast) 1255 if (p-> mShowIconBackFast)
1255 configureToolBarMenu->setItemChecked( 200, true ); 1256 configureToolBarMenu->setItemChecked( 200, true );
1256 if (p-> mShowIconBack) 1257 if (p-> mShowIconBack)
1257 configureToolBarMenu->setItemChecked( 210, true ); 1258 configureToolBarMenu->setItemChecked( 210, true );
1258 if (p-> mShowIconToday) 1259 if (p-> mShowIconToday)
1259 configureToolBarMenu->setItemChecked( 130, true ); 1260 configureToolBarMenu->setItemChecked( 130, true );
1260 if (p-> mShowIconForward) 1261 if (p-> mShowIconForward)
1261 configureToolBarMenu->setItemChecked( 220, true ); 1262 configureToolBarMenu->setItemChecked( 220, true );
1262 if (p-> mShowIconForwardFast) 1263 if (p-> mShowIconForwardFast)
1263 configureToolBarMenu->setItemChecked( 230, true ); 1264 configureToolBarMenu->setItemChecked( 230, true );
1264 if (p-> mShowIconNextDays) 1265 if (p-> mShowIconNextDays)
1265 configureToolBarMenu->setItemChecked( 100, true ); 1266 configureToolBarMenu->setItemChecked( 100, true );
1266 if (p-> mShowIconNext) 1267 if (p-> mShowIconNext)
1267 configureToolBarMenu->setItemChecked( 110, true ); 1268 configureToolBarMenu->setItemChecked( 110, true );
1268 if (p-> mShowIconJournal) 1269 if (p-> mShowIconJournal)
1269 configureToolBarMenu->setItemChecked( 90, true ); 1270 configureToolBarMenu->setItemChecked( 90, true );
1270 if (p-> mShowIconWhatsThis) 1271 if (p-> mShowIconWhatsThis)
1271 configureToolBarMenu->setItemChecked( 300, true ); 1272 configureToolBarMenu->setItemChecked( 300, true );
1272 if (p-> mShowIconWeekNum) 1273 if (p-> mShowIconWeekNum)
1273 configureToolBarMenu->setItemChecked( 400, true ); 1274 configureToolBarMenu->setItemChecked( 400, true );
1274 if (!p-> mShowIconStretch) { 1275 if (!p-> mShowIconStretch) {
1275 QLabel* dummy = new QLabel( iconToolBar ); 1276 QLabel* dummy = new QLabel( iconToolBar );
1276 dummy->setBackgroundColor( iconToolBar->backgroundColor() ); 1277 dummy->setBackgroundColor( iconToolBar->backgroundColor() );
1277 dummy->setMinimumWidth( 0 ); 1278 dummy->setMinimumWidth( 0 );
1278 iconToolBar->setStretchableWidget ( dummy ) ; 1279 iconToolBar->setStretchableWidget ( dummy ) ;
1279 } 1280 }
1280 else { 1281 else {
1281 iconToolBar->setHorizontalStretchable (true ); 1282 iconToolBar->setHorizontalStretchable (true );
1282 viewToolBar->setHorizontalStretchable (true ); 1283 viewToolBar->setHorizontalStretchable (true );
1283 navigatorToolBar->setHorizontalStretchable (true ); 1284 navigatorToolBar->setHorizontalStretchable (true );
1284 iconToolBar->setVerticalStretchable (true ); 1285 iconToolBar->setVerticalStretchable (true );
1285 viewToolBar->setVerticalStretchable (true ); 1286 viewToolBar->setVerticalStretchable (true );
1286 navigatorToolBar->setVerticalStretchable (true ); 1287 navigatorToolBar->setVerticalStretchable (true );
1287 configureToolBarMenu->setItemChecked( 5, true ); 1288 configureToolBarMenu->setItemChecked( 5, true );
1288 } 1289 }
1289 if (p-> mShowIconFilter) 1290 if (p-> mShowIconFilter)
1290 configureToolBarMenu->setItemChecked( 7, true ); 1291 configureToolBarMenu->setItemChecked( 7, true );
1291 if (p-> mShowIconOnetoolbar) 1292 if (p-> mShowIconOnetoolbar)
1292 configureToolBarMenu->setItemChecked( 6, true ); 1293 configureToolBarMenu->setItemChecked( 6, true );
1293 1294
1294 1295
1295 if ( filterMenubar ) { 1296 if ( filterMenubar ) {
1296 filterMenubar->reparent(filterToolBar,0,QPoint(0,0) ); 1297 filterMenubar->reparent(filterToolBar,0,QPoint(0,0) );
1297 connect( mView->filterView(), SIGNAL( filterChanged() ), SLOT( updateFilterToolbar() ) ); 1298 connect( mView->filterView(), SIGNAL( filterChanged() ), SLOT( updateFilterToolbar() ) );
1298 } 1299 }
1299 connect( configureToolBarMenu, SIGNAL( activated( int ) ),this, SLOT(configureToolBar( int ) ) ); 1300 connect( configureToolBarMenu, SIGNAL( activated( int ) ),this, SLOT(configureToolBar( int ) ) );
1300 configureAgenda( p->mHourSize ); 1301 configureAgenda( p->mHourSize );
1301 connect( configureAgendaMenu, SIGNAL( activated( int ) ),this, SLOT(configureAgenda( int ) ) ); 1302 connect( configureAgendaMenu, SIGNAL( activated( int ) ),this, SLOT(configureAgenda( int ) ) );
1302} 1303}
1303 1304
1304void MainWindow::exportToPhone( int mode ) 1305void MainWindow::exportToPhone( int mode )
1305{ 1306{
1306 1307
1307 //ex2phone->insertItem(i18n("Complete calendar..."), 1 ); 1308 //ex2phone->insertItem(i18n("Complete calendar..."), 1 );
1308 //ex2phone->insertItem(i18n("Filtered calendar..."), 2 ); 1309 //ex2phone->insertItem(i18n("Filtered calendar..."), 2 );
1309 KOex2phonePrefs ex2phone; 1310 KOex2phonePrefs ex2phone;
1310 1311
1311 ex2phone.mPhoneConnection->setText( KPimGlobalPrefs::instance()->mEx2PhoneConnection ); 1312 ex2phone.mPhoneConnection->setText( KPimGlobalPrefs::instance()->mEx2PhoneConnection );
1312 ex2phone.mPhoneDevice->setText( KPimGlobalPrefs::instance()->mEx2PhoneDevice ); 1313 ex2phone.mPhoneDevice->setText( KPimGlobalPrefs::instance()->mEx2PhoneDevice );
1313 ex2phone.mPhoneModel->setText( KPimGlobalPrefs::instance()->mEx2PhoneModel ); 1314 ex2phone.mPhoneModel->setText( KPimGlobalPrefs::instance()->mEx2PhoneModel );
1314 if ( mode == 1 ) 1315 if ( mode == 1 )
1315 ex2phone.setCaption(i18n("Export complete calendar")); 1316 ex2phone.setCaption(i18n("Export complete calendar"));
1316 if ( mode == 2 ) 1317 if ( mode == 2 )
1317 ex2phone.setCaption(i18n("Export filtered calendar")); 1318 ex2phone.setCaption(i18n("Export filtered calendar"));
1318 1319
1319 if ( !ex2phone.exec() ) { 1320 if ( !ex2phone.exec() ) {
1320 return; 1321 return;
1321 } 1322 }
1322 KPimGlobalPrefs::instance()->mEx2PhoneConnection = ex2phone.mPhoneConnection->text(); 1323 KPimGlobalPrefs::instance()->mEx2PhoneConnection = ex2phone.mPhoneConnection->text();
1323 KPimGlobalPrefs::instance()->mEx2PhoneDevice = ex2phone.mPhoneDevice->text(); 1324 KPimGlobalPrefs::instance()->mEx2PhoneDevice = ex2phone.mPhoneDevice->text();
1324 KPimGlobalPrefs::instance()->mEx2PhoneModel = ex2phone.mPhoneModel->text(); 1325 KPimGlobalPrefs::instance()->mEx2PhoneModel = ex2phone.mPhoneModel->text();
1325 1326
1326 int inFuture = 0; 1327 int inFuture = 0;
1327 if ( ex2phone.mWriteBackFuture->isChecked() ) 1328 if ( ex2phone.mWriteBackFuture->isChecked() )
1328 inFuture = ex2phone.mWriteBackFutureWeeks->value(); 1329 inFuture = ex2phone.mWriteBackFutureWeeks->value();
1329 QPtrList<Incidence> delSel; 1330 QPtrList<Incidence> delSel;
1330 if ( mode == 1 ) 1331 if ( mode == 1 )
1331 delSel = mCalendar->rawIncidences(); 1332 delSel = mCalendar->rawIncidences();
1332 if ( mode == 2 ) 1333 if ( mode == 2 )
1333 delSel = mCalendar->incidences(); 1334 delSel = mCalendar->incidences();
1334 CalendarLocal* cal = new CalendarLocal(); 1335 CalendarLocal* cal = new CalendarLocal();
1335 cal->setLocalTime(); 1336 cal->setLocalTime();
1336 Incidence *incidence = delSel.first(); 1337 Incidence *incidence = delSel.first();
1337 QDateTime cur = QDateTime::currentDateTime().addDays( -7 ); 1338 QDateTime cur = QDateTime::currentDateTime().addDays( -7 );
1338 QDateTime end = cur.addDays( ( inFuture +1 ) *7 ); 1339 QDateTime end = cur.addDays( ( inFuture +1 ) *7 );
1339 while ( incidence ) { 1340 while ( incidence ) {
1340 if ( incidence->typeID() != journalID ) { 1341 if ( incidence->typeID() != journalID ) {
1341 bool add = true; 1342 bool add = true;
1342 if ( inFuture ) { 1343 if ( inFuture ) {
1343 QDateTime dt; 1344 QDateTime dt;
1344 if ( incidence->typeID() == todoID ) { 1345 if ( incidence->typeID() == todoID ) {
1345 Todo * t = (Todo*)incidence; 1346 Todo * t = (Todo*)incidence;
1346 if ( t->hasDueDate() ) 1347 if ( t->hasDueDate() )
1347 dt = t->dtDue(); 1348 dt = t->dtDue();
1348 else 1349 else
1349 dt = cur.addSecs( 62 ); 1350 dt = cur.addSecs( 62 );
1350 } 1351 }
1351 else { 1352 else {
1352 bool ok; 1353 bool ok;
1353 dt = incidence->getNextOccurence( cur, &ok ); 1354 dt = incidence->getNextOccurence( cur, &ok );
1354 if ( !ok ) 1355 if ( !ok )
1355 dt = cur.addSecs( -62 ); 1356 dt = cur.addSecs( -62 );
1356 } 1357 }
1357 if ( dt < cur || dt > end ) { 1358 if ( dt < cur || dt > end ) {
1358 add = false; 1359 add = false;
1359 } 1360 }
1360 } 1361 }
1361 if ( add ) { 1362 if ( add ) {
1362 Incidence *in = incidence->clone(); 1363 Incidence *in = incidence->clone();
1363 cal->addIncidence( in ); 1364 cal->addIncidence( in );
1364 } 1365 }
1365 } 1366 }
1366 incidence = delSel.next(); 1367 incidence = delSel.next();
1367 } 1368 }
1368 PhoneAccess::writeConfig( KPimGlobalPrefs::instance()->mEx2PhoneDevice, 1369 PhoneAccess::writeConfig( KPimGlobalPrefs::instance()->mEx2PhoneDevice,
1369 KPimGlobalPrefs::instance()->mEx2PhoneConnection, 1370 KPimGlobalPrefs::instance()->mEx2PhoneConnection,
1370 KPimGlobalPrefs::instance()->mEx2PhoneModel ); 1371 KPimGlobalPrefs::instance()->mEx2PhoneModel );
1371 1372
1372 setCaption( i18n("Writing to phone...")); 1373 setCaption( i18n("Writing to phone..."));
1373 if ( PhoneFormat::writeToPhone( cal ) ) 1374 if ( PhoneFormat::writeToPhone( cal ) )
1374 setCaption( i18n("Export to phone successful!")); 1375 setCaption( i18n("Export to phone successful!"));
1375 else 1376 else
1376 setCaption( i18n("Error exporting to phone!")); 1377 setCaption( i18n("Error exporting to phone!"));
1377 delete cal; 1378 delete cal;
1378} 1379}
1379 1380
1380 1381
1381void MainWindow::setDefaultPreferences() 1382void MainWindow::setDefaultPreferences()
1382{ 1383{
1383 KOPrefs *p = KOPrefs::instance(); 1384 KOPrefs *p = KOPrefs::instance();
1384 1385
1385 p->mCompactDialogs = true; 1386 p->mCompactDialogs = true;
1386 p->mConfirm = true; 1387 p->mConfirm = true;
1387 // p->mEnableQuickTodo = false; 1388 // p->mEnableQuickTodo = false;
1388 1389
1389} 1390}
1390 1391
1391QString MainWindow::resourcePath() 1392QString MainWindow::resourcePath()
1392{ 1393{
1393 return KGlobal::iconLoader()->iconPath(); 1394 return KGlobal::iconLoader()->iconPath();
1394} 1395}
1395 1396
1396void MainWindow::displayText( QString text ,QString cap ) 1397void MainWindow::displayText( QString text ,QString cap )
1397{ 1398{
1398 QDialog dia( this, "name", true ); ; 1399 QDialog dia( this, "name", true ); ;
1399 dia.setCaption( cap ); 1400 dia.setCaption( cap );
1400 QVBoxLayout* lay = new QVBoxLayout( &dia ); 1401 QVBoxLayout* lay = new QVBoxLayout( &dia );
1401 lay->setSpacing( 3 ); 1402 lay->setSpacing( 3 );
1402 lay->setMargin( 3 ); 1403 lay->setMargin( 3 );
1403 QTextBrowser tb ( &dia ); 1404 QTextBrowser tb ( &dia );
1404 lay->addWidget( &tb ); 1405 lay->addWidget( &tb );
1405 tb.setText( text ); 1406 tb.setText( text );
1406#ifdef DESKTOP_VERSION 1407#ifdef DESKTOP_VERSION
1407 dia.resize( 640, 480); 1408 dia.resize( 640, 480);
1408#else 1409#else
1409 dia.showMaximized(); 1410 dia.showMaximized();
1410#endif 1411#endif
1411 dia.exec(); 1412 dia.exec();
1412} 1413}
1413 1414
1414void MainWindow::features() 1415void MainWindow::features()
1415{ 1416{
1416 1417
1417 KApplication::showFile( i18n("KO/Pi Features and hints"), "kdepim/korganizer/featuresKOPI.txt" ); 1418 KApplication::showFile( i18n("KO/Pi Features and hints"), "kdepim/korganizer/featuresKOPI.txt" );
1418} 1419}
1419 1420
1420void MainWindow::usertrans() 1421void MainWindow::usertrans()
1421{ 1422{
1422 1423
1423 KApplication::showFile( i18n("KO/Pi User translation HowTo"), "kdepim/korganizer/usertranslationHOWTO.txt" ); 1424 KApplication::showFile( i18n("KO/Pi User translation HowTo"), "kdepim/korganizer/usertranslationHOWTO.txt" );
1424} 1425}
1425 1426
1426void MainWindow::storagehowto() 1427void MainWindow::storagehowto()
1427{ 1428{
1428 KApplication::showFile( "KDE-Pim/Pi Storage HowTo", "kdepim/storagehowto.txt" ); 1429 KApplication::showFile( "KDE-Pim/Pi Storage HowTo", "kdepim/storagehowto.txt" );
1429} 1430}
1430void MainWindow::timetrackinghowto() 1431void MainWindow::timetrackinghowto()
1431{ 1432{
1432 KApplication::showFile( "KO/Pi Timetracking HowTo", "kdepim/timetrackerhowto.txt" ); 1433 KApplication::showFile( "KO/Pi Timetracking HowTo", "kdepim/timetrackerhowto.txt" );
1433} 1434}
1434void MainWindow::kdesynchowto() 1435void MainWindow::kdesynchowto()
1435{ 1436{
1436 KApplication::showFile( "KDE-Pim/Pi Synchronization HowTo", "kdepim/Zaurus-KDE_syncHowTo.txt" ); 1437 KApplication::showFile( "KDE-Pim/Pi Synchronization HowTo", "kdepim/Zaurus-KDE_syncHowTo.txt" );
1437} 1438}
1438void MainWindow::multisynchowto() 1439void MainWindow::multisynchowto()
1439{ 1440{
1440 KApplication::showFile( "KDE-Pim/Pi Synchronization HowTo", "kdepim/MultiSyncHowTo.txt" ); 1441 KApplication::showFile( "KDE-Pim/Pi Synchronization HowTo", "kdepim/MultiSyncHowTo.txt" );
1441} 1442}
1442void MainWindow::synchowto() 1443void MainWindow::synchowto()
1443{ 1444{
1444 KApplication::showFile( "KDE-Pim/Pi Synchronization HowTo", "kdepim/SyncHowto.txt" ); 1445 KApplication::showFile( "KDE-Pim/Pi Synchronization HowTo", "kdepim/SyncHowto.txt" );
1445} 1446}
1446void MainWindow::faq() 1447void MainWindow::faq()
1447{ 1448{
1448 KApplication::showFile( i18n("KO/Pi FAQ"), "kdepim/korganizer/kopiFAQ.txt" ); 1449 KApplication::showFile( i18n("KO/Pi FAQ"), "kdepim/korganizer/kopiFAQ.txt" );
1449 1450
1450} 1451}
1451void MainWindow::whatsNew() 1452void MainWindow::whatsNew()
1452{ 1453{
1453 KApplication::showFile( "KDE-Pim/Pi Version Info", "kdepim/WhatsNew.txt" ); 1454 KApplication::showFile( "KDE-Pim/Pi Version Info", "kdepim/WhatsNew.txt" );
1454 1455
1455} 1456}
1456void MainWindow::licence() 1457void MainWindow::licence()
1457{ 1458{
1458 KApplication::showLicence(); 1459 KApplication::showLicence();
1459 1460
1460} 1461}
1461void MainWindow::about() 1462void MainWindow::about()
1462{ 1463{
1463 QString version; 1464 QString version;
1464#include <../version> 1465#include <../version>
1465 QMessageBox::about( this, i18n("About KOrganizer/Pi"), 1466 QMessageBox::about( this, i18n("About KOrganizer/Pi"),
1466 i18n("KOrganizer/Platform-independent\n") + 1467 i18n("KOrganizer/Platform-independent\n") +
1467 "(KO/Pi) " + version + " - " + 1468 "(KO/Pi) " + version + " - " +
1468 1469
1469#ifdef DESKTOP_VERSION 1470#ifdef DESKTOP_VERSION
1470 i18n("Desktop Edition\n") + 1471 i18n("Desktop Edition\n") +
1471#else 1472#else
1472 i18n("PDA-Edition\nfor: Zaurus 5x00/7x0/860/3000/6000\n") + 1473 i18n("PDA-Edition\nfor: Zaurus 5x00/7x0/860/3000/6000\n") +
1473#endif 1474#endif
1474 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.info --- www.korganizer.org\nSpecial thanks to Michael and Ben\nfor intensive testing!") ); 1475 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.info --- www.korganizer.org\nSpecial thanks to Michael and Ben\nfor intensive testing!") );
1475} 1476}
1476void MainWindow::keyBindings() 1477void MainWindow::keyBindings()
1477{ 1478{
1478 QString cap = i18n("KO/Pi Keys + Colors"); 1479 QString cap = i18n("KO/Pi Keys + Colors");
1479 QString text = i18n("<p><h2>KO/Pi key shortcuts:</h2></p>\n") + 1480 QString text = i18n("<p><h2>KO/Pi key shortcuts:</h2></p>\n") +
1480 i18n("<p><b>H</b>: This help dialog | <b>S</b>: Search dialog</p>\n")+ 1481 i18n("<p><b>H</b>: This help dialog | <b>S</b>: Search dialog</p>\n")+
1481 i18n("<p><b>N</b>: Switch to next view which has a toolbar icon</p>\n") + 1482 i18n("<p><b>N</b>: Switch to next view which has a toolbar icon</p>\n") +
1482 i18n("<p><b>A+(shift or ctrl)</b>: Show occurence of next alarm</p>\n") + 1483 i18n("<p><b>A+(shift or ctrl)</b>: Show occurence of next alarm</p>\n") +
1483 i18n("<p><b>I</b>: Show info for selected event/todo</p>\n") + 1484 i18n("<p><b>I</b>: Show info for selected event/todo</p>\n") +
1484 i18n("<p><b>Space</b>: Toggle fullscreen | <b>P</b>: Date picker</p>\n")+ 1485 i18n("<p><b>Space</b>: Toggle fullscreen | <b>P</b>: Date picker</p>\n")+
1485 i18n("<p><b>F</b>: Toggle filterview |<b>F+ctrl</b>: Edit filter </p>\n")+ 1486 i18n("<p><b>F</b>: Toggle filterview |<b>F+ctrl</b>: Edit filter </p>\n")+
1486 i18n("<p><b>O</b>: Filter On/Off | <b>J</b>: Journal view</p>\n")+ 1487 i18n("<p><b>O</b>: Filter On/Off | <b>J</b>: Journal view</p>\n")+
1487 i18n("<p><b>1-0</b> (+<b>ctrl</b>): Select filter 1-10 (11-20)</p>\n")+ 1488 i18n("<p><b>1-0</b> (+<b>ctrl</b>): Select filter 1-10 (11-20)</p>\n")+
1488 i18n("<p><b>X</b>: Next X days view| <b>W</b>: What's next view\n ")+ 1489 i18n("<p><b>X</b>: Next X days view| <b>W</b>: What's next view\n ")+
1489 i18n("<p><b>V</b>: Todo view | <b>L</b>: Event list view</p>\n")+ 1490 i18n("<p><b>V</b>: Todo view | <b>L</b>: Event list view</p>\n")+
1490 i18n("<p><b>Z,Y</b>: Work week view | <b>U</b>: Week view</p>\n")+ 1491 i18n("<p><b>Z,Y</b>: Work week view | <b>U</b>: Week view</p>\n")+
1491 i18n("<p><b>D</b>: One day view | <b>M</b>: Month view</p>\n")+ 1492 i18n("<p><b>D</b>: One day view | <b>M</b>: Month view</p>\n")+
1492 i18n("<p><b>K</b>: Week view in Month view syle</p>\n")+ 1493 i18n("<p><b>K</b>: Week view in Month view syle</p>\n")+
1493 i18n("<p><b>E</b>: Edit selected item |<b> E+ctrl</b>: New Event</p>\n")+ 1494 i18n("<p><b>E</b>: Edit selected item |<b> E+ctrl</b>: New Event</p>\n")+
1494 i18n("<p><b>T</b>: Goto today | <b>T+ctrl</b>: New Todo</p>\n")+ 1495 i18n("<p><b>T</b>: Goto today | <b>T+ctrl</b>: New Todo</p>\n")+
1495 i18n("<p><b>S+ctrl</b>: Add sub-todo | <b>X+ctrl</b>: Toggle datenavigator</p>\n")+ 1496 i18n("<p><b>S+ctrl</b>: Add sub-todo | <b>X+ctrl</b>: Toggle datenavigator</p>\n")+
1496 i18n("<p><b>+,-</b> : Zoom in/out agenda | <b>A</b>: Toggle allday agenda height</p>\n")+ 1497 i18n("<p><b>+,-</b> : Zoom in/out agenda | <b>A</b>: Toggle allday agenda height</p>\n")+
1497 i18n("<p><b>C</b>: Show current time in agenda view</p>\n")+ 1498 i18n("<p><b>C</b>: Show current time in agenda view</p>\n")+
1498 i18n("<p><b>B</b>: Edit description (details) of selected item</p>\n")+ 1499 i18n("<p><b>B</b>: Edit description (details) of selected item</p>\n")+
1499 i18n("<p><b>right</b>: Next week | <b>right+ctrl</b>: Next month</p>\n")+ 1500 i18n("<p><b>right</b>: Next week | <b>right+ctrl</b>: Next month</p>\n")+
1500 i18n("<p><b>left</b>: Prev. week | <b>left+ctrl</b>: Prev. month</p>\n")+ 1501 i18n("<p><b>left</b>: Prev. week | <b>left+ctrl</b>: Prev. month</p>\n")+
1501 i18n("<p><b>del,backspace</b>: Delete selected item</p>\n")+ 1502 i18n("<p><b>del,backspace</b>: Delete selected item</p>\n")+
1502 i18n("<p><h3>In agenda view:</h3></p>\n") + 1503 i18n("<p><h3>In agenda view:</h3></p>\n") +
1503 i18n("<p><b>up/down</b>: Scroll agenda view</p>\n")+ 1504 i18n("<p><b>up/down</b>: Scroll agenda view</p>\n")+
1504 i18n("<p><b>ctrl+up/down</b>: Scroll small todo view</p>\n")+ 1505 i18n("<p><b>ctrl+up/down</b>: Scroll small todo view</p>\n")+
1505 i18n("<p><h3>In todo view:</h3></p>\n") + 1506 i18n("<p><h3>In todo view:</h3></p>\n") +
1506 i18n("<p><b>shift+U</b>: <b>U</b>nparent todo (make root todo)</p>\n")+ 1507 i18n("<p><b>shift+U</b>: <b>U</b>nparent todo (make root todo)</p>\n")+
1507 i18n("<p><b>shift+S</b>: Make <b>S</b>ubtodo (reparent todo)</p>\n")+ 1508 i18n("<p><b>shift+S</b>: Make <b>S</b>ubtodo (reparent todo)</p>\n")+
1508 i18n("<p><b>shift+P</b>: Make new <b>P</b>arent for todo selected with shift+S</p>\n")+ 1509 i18n("<p><b>shift+P</b>: Make new <b>P</b>arent for todo selected with shift+S</p>\n")+
1509 i18n("<p><b>Q</b>: Toggle quick todo line edit.</p>\n")+ 1510 i18n("<p><b>Q</b>: Toggle quick todo line edit.</p>\n")+
1510 i18n("<p><b>I</b>: Show info of current item+one step down.</p>\n")+ 1511 i18n("<p><b>I</b>: Show info of current item+one step down.</p>\n")+
1511 i18n("<p><b>return</b>: Mark item as completed+one step down.</p>\n")+ 1512 i18n("<p><b>return</b>: Mark item as completed+one step down.</p>\n")+
1512 i18n("<p><b>return+shift</b>: Mark item as not completed+one step down</p>\n")+ 1513 i18n("<p><b>return+shift</b>: Mark item as not completed+one step down</p>\n")+
1513 i18n("<p><h3>In list view:</h3></p>\n") + 1514 i18n("<p><h3>In list view:</h3></p>\n") +
1514 i18n("<p><b>I</b>: Show info of current item+one step down.</p>\n")+ 1515 i18n("<p><b>I</b>: Show info of current item+one step down.</p>\n")+
1515 i18n("<p><b>return</b>: Select item+one step down</p>\n")+ 1516 i18n("<p><b>return</b>: Select item+one step down</p>\n")+
1516 i18n("<p><b>return+shift</b>: Deselect item+one step down</p>\n")+ 1517 i18n("<p><b>return+shift</b>: Deselect item+one step down</p>\n")+
1517 i18n("<p><b>up/down</b>: Next/prev item</p>\n")+ 1518 i18n("<p><b>up/down</b>: Next/prev item</p>\n")+
1518 i18n("<p><b>ctrl+up/down</b>: Goto up/down by 20% of items</p>\n")+ 1519 i18n("<p><b>ctrl+up/down</b>: Goto up/down by 20% of items</p>\n")+
1519 i18n("<p><b>shift+up/down</b>: Goto first/last item</p>\n")+ 1520 i18n("<p><b>shift+up/down</b>: Goto first/last item</p>\n")+
1520 i18n("<p><h3>In event/todo viewer:</h3></p>\n") + 1521 i18n("<p><h3>In event/todo viewer:</h3></p>\n") +
1521 i18n("<p><b>I,C</b>: Close dialog.</p>\n")+ 1522 i18n("<p><b>I,C</b>: Close dialog.</p>\n")+
1522 i18n("<p><b>A</b>: Show agenda view.</p>\n")+ 1523 i18n("<p><b>A</b>: Show agenda view.</p>\n")+
1523 i18n("<p><b>E</b>: Edit item</p>\n") + 1524 i18n("<p><b>E</b>: Edit item</p>\n") +
1524 i18n("<p><h2>KO/Pi icon colors:</h2></p>\n") + 1525 i18n("<p><h2>KO/Pi icon colors:</h2></p>\n") +
1525 i18n("<p><b>(for square icons in agenda and month view)</b></p>\n") + 1526 i18n("<p><b>(for square icons in agenda and month view)</b></p>\n") +
1526 i18n("<p><b>Cross</b>: Item cancelled.([c] in Whats'Next view)</p>\n")+ 1527 i18n("<p><b>Cross</b>: Item cancelled.([c] in Whats'Next view)</p>\n")+
1527 i18n("<p><b>Red</b>: Alarm set.([a] in Whats'Next view)</p>\n")+ 1528 i18n("<p><b>Red</b>: Alarm set.([a] in Whats'Next view)</p>\n")+
1528 i18n("<p><b>Blue</b>: Recurrent event.([r] in Whats'Next view)</p>\n")+ 1529 i18n("<p><b>Blue</b>: Recurrent event.([r] in Whats'Next view)</p>\n")+
1529 i18n("<p><b>Dark green</b>: Information(description) available.([i] in WN view)</p>\n")+ 1530 i18n("<p><b>Dark green</b>: Information(description) available.([i] in WN view)</p>\n")+
1530 i18n("<p><b>Black</b>: Event/todo with attendees. You are the organizer!</p>\n")+ 1531 i18n("<p><b>Black</b>: Event/todo with attendees. You are the organizer!</p>\n")+
1531 i18n("<p><b>Dark yellow</b>: Event/todo with attendees.</p>\n") + 1532 i18n("<p><b>Dark yellow</b>: Event/todo with attendees.</p>\n") +
1532 i18n("<p><b>White</b>: Item readonly</p>\n"); 1533 i18n("<p><b>White</b>: Item readonly</p>\n");
1533 displayText( text, cap); 1534 displayText( text, cap);
1534} 1535}
1535void MainWindow::aboutAutoSaving() 1536void MainWindow::aboutAutoSaving()
1536{ 1537{
1537 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"); 1538 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");
1538 1539
1539 KApplication::showText( i18n("Auto Saving in KOrganizer/Pi"), text); 1540 KApplication::showText( i18n("Auto Saving in KOrganizer/Pi"), text);
1540 1541
1541} 1542}
1542void MainWindow::aboutKnownBugs() 1543void MainWindow::aboutKnownBugs()
1543{ 1544{
1544 QMessageBox* msg; 1545 QMessageBox* msg;
1545 msg = new QMessageBox( i18n("Known Problems in KOrganizer/Pi"), 1546 msg = new QMessageBox( i18n("Known Problems in KOrganizer/Pi"),
1546 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")+ 1547 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")+
1547 i18n("2) Audio alarm daemon\nfor Zaurus is available!\nas an additional small application\n")+ 1548 i18n("2) Audio alarm daemon\nfor Zaurus is available!\nas an additional small application\n")+
1548 i18n("\nPlease report unexpected behaviour to\nlutz@pi-sync.info\n") + 1549 i18n("\nPlease report unexpected behaviour to\nlutz@pi-sync.info\n") +
1549 i18n("\nor report them in the bugtracker on\n") + 1550 i18n("\nor report them in the bugtracker on\n") +
1550 i18n("\nhttp://sourceforge.net/projects/kdepimpi\n"), 1551 i18n("\nhttp://sourceforge.net/projects/kdepimpi\n"),
1551 QMessageBox::NoIcon, 1552 QMessageBox::NoIcon,
1552 QMessageBox::Ok, 1553 QMessageBox::Ok,
1553 QMessageBox::NoButton, 1554 QMessageBox::NoButton,
1554 QMessageBox::NoButton); 1555 QMessageBox::NoButton);
1555 msg->exec(); 1556 msg->exec();
1556 delete msg; 1557 delete msg;
1557 1558
1558} 1559}
1559 1560
1560QString MainWindow::defaultFileName() 1561QString MainWindow::defaultFileName()
1561{ 1562{
1562 return locateLocal( "data", "korganizer/mycalendar.ics" ); 1563 return locateLocal( "data", "korganizer/mycalendar.ics" );
1563} 1564}
1564QString MainWindow::syncFileName() 1565QString MainWindow::syncFileName()
1565{ 1566{
1566#ifdef DESKTOP_VERSION 1567#ifdef DESKTOP_VERSION
1567 return locateLocal( "tmp", "synccalendar.ics" ); 1568 return locateLocal( "tmp", "synccalendar.ics" );
1568#else 1569#else
1569 return QString( "/tmp/synccalendar.ics" ); 1570 return QString( "/tmp/synccalendar.ics" );
1570#endif 1571#endif
1571} 1572}
1572#include "koglobals.h" 1573#include "koglobals.h"
1573#include <kcalendarsystem.h> 1574#include <kcalendarsystem.h>
1574void MainWindow::updateWeek(QDate seda) 1575void MainWindow::updateWeek(QDate seda)
1575{ 1576{
1576 int weekNum = KGlobal::locale()->weekNum ( seda ); 1577 int weekNum = KGlobal::locale()->weekNum ( seda );
1577 mWeekPixmap.fill( mWeekBgColor ); 1578 mWeekPixmap.fill( mWeekBgColor );
1578 QPainter p ( &mWeekPixmap ); 1579 QPainter p ( &mWeekPixmap );
1579 p.setFont( mWeekFont ); 1580 p.setFont( mWeekFont );
1580 p.drawText( 0,0,mWeekPixmap.width(), mWeekPixmap.height(),AlignCenter, QString::number( weekNum) ); 1581 p.drawText( 0,0,mWeekPixmap.width(), mWeekPixmap.height(),AlignCenter, QString::number( weekNum) );
1581 p.end(); 1582 p.end();
1582 QIconSet icon3 ( mWeekPixmap ); 1583 QIconSet icon3 ( mWeekPixmap );
1583 mWeekAction->setIconSet ( icon3 ); 1584 mWeekAction->setIconSet ( icon3 );
@@ -1918,591 +1919,594 @@ void MainWindow::keyPressEvent ( QKeyEvent * e )
1918 mView->viewManager()->showDayView(); 1919 mView->viewManager()->showDayView();
1919 showSelectedDates = true; 1920 showSelectedDates = true;
1920 break; 1921 break;
1921 case Qt::Key_O: 1922 case Qt::Key_O:
1922 mView->toggleFilerEnabled( ); 1923 mView->toggleFilerEnabled( );
1923 break; 1924 break;
1924 case Qt::Key_0: 1925 case Qt::Key_0:
1925 case Qt::Key_1: 1926 case Qt::Key_1:
1926 case Qt::Key_2: 1927 case Qt::Key_2:
1927 case Qt::Key_3: 1928 case Qt::Key_3:
1928 case Qt::Key_4: 1929 case Qt::Key_4:
1929 case Qt::Key_5: 1930 case Qt::Key_5:
1930 case Qt::Key_6: 1931 case Qt::Key_6:
1931 case Qt::Key_7: 1932 case Qt::Key_7:
1932 case Qt::Key_8: 1933 case Qt::Key_8:
1933 case Qt::Key_9: 1934 case Qt::Key_9:
1934 pro = e->key()-48; 1935 pro = e->key()-48;
1935 if ( pro == 0 ) 1936 if ( pro == 0 )
1936 pro = 10; 1937 pro = 10;
1937 if ( e->state() == Qt::ControlButton) 1938 if ( e->state() == Qt::ControlButton)
1938 pro += 10; 1939 pro += 10;
1939 break; 1940 break;
1940 case Qt::Key_M: 1941 case Qt::Key_M:
1941 mView->viewManager()->showMonthView(); 1942 mView->viewManager()->showMonthView();
1942 showSelectedDates = true; 1943 showSelectedDates = true;
1943 break; 1944 break;
1944 case Qt::Key_Insert: 1945 case Qt::Key_Insert:
1945 mView->newEvent(); 1946 mView->newEvent();
1946 break; 1947 break;
1947 case Qt::Key_S : 1948 case Qt::Key_S :
1948 if ( e->state() == Qt::ControlButton || e->state() == Qt::ShiftButton) 1949 if ( e->state() == Qt::ControlButton || e->state() == Qt::ShiftButton)
1949 mView->newSubTodo(); 1950 mView->newSubTodo();
1950 else 1951 else
1951 mView->dialogManager()->showSearchDialog(); 1952 mView->dialogManager()->showSearchDialog();
1952 break; 1953 break;
1953 case Qt::Key_Y : 1954 case Qt::Key_Y :
1954 case Qt::Key_Z : 1955 case Qt::Key_Z :
1955 mView->viewManager()->showWorkWeekView(); 1956 mView->viewManager()->showWorkWeekView();
1956 showSelectedDates = true; 1957 showSelectedDates = true;
1957 break; 1958 break;
1958 case Qt::Key_U : 1959 case Qt::Key_U :
1959 mView->viewManager()->showWeekView(); 1960 mView->viewManager()->showWeekView();
1960 showSelectedDates = true; 1961 showSelectedDates = true;
1961 break; 1962 break;
1962 case Qt::Key_H : 1963 case Qt::Key_H :
1963 keyBindings(); 1964 keyBindings();
1964 break; 1965 break;
1965 case Qt::Key_W: 1966 case Qt::Key_W:
1966 mView->viewManager()->showWhatsNextView(); 1967 mView->viewManager()->showWhatsNextView();
1967 break; 1968 break;
1968 case Qt::Key_L: 1969 case Qt::Key_L:
1969 mView->viewManager()->showListView(); 1970 mView->viewManager()->showListView();
1970 break; 1971 break;
1971 case Qt::Key_N: 1972 case Qt::Key_N:
1972 mView->viewManager()->showNextView(); 1973 mView->viewManager()->showNextView();
1973 break; 1974 break;
1974 case Qt::Key_V: 1975 case Qt::Key_V:
1975 mView->viewManager()->showTodoView(); 1976 mView->viewManager()->showTodoView();
1976 break; 1977 break;
1977 case Qt::Key_C: 1978 case Qt::Key_C:
1978 mView->viewManager()->agendaView()->setStartHour( QTime::currentTime ().hour() ); 1979 mView->viewManager()->agendaView()->setStartHour( QTime::currentTime ().hour() );
1979 break; 1980 break;
1980 case Qt::Key_P: 1981 case Qt::Key_P:
1981 mView->showDatePicker( ); 1982 mView->showDatePicker( );
1982 break; 1983 break;
1983 case Qt::Key_F: 1984 case Qt::Key_F:
1984 if ( e->state() == Qt::ControlButton|| e->state() == Qt::ShiftButton ) 1985 if ( e->state() == Qt::ControlButton|| e->state() == Qt::ShiftButton )
1985 mView->editFilters(); 1986 mView->editFilters();
1986 else 1987 else
1987 mView->toggleFilter(); 1988 mView->toggleFilter();
1988 break; 1989 break;
1989 case Qt::Key_X: 1990 case Qt::Key_X:
1990 if ( e->state() == Qt::ControlButton ) 1991 if ( e->state() == Qt::ControlButton )
1991 mView->toggleDateNavigatorWidget(); 1992 mView->toggleDateNavigatorWidget();
1992 else { 1993 else {
1993 mView->viewManager()->showNextXView(); 1994 mView->viewManager()->showNextXView();
1994 showSelectedDates = true; 1995 showSelectedDates = true;
1995 } 1996 }
1996 break; 1997 break;
1997 case Qt::Key_Space: 1998 case Qt::Key_Space:
1998 mView->toggleExpand(); 1999 mView->toggleExpand();
1999 break; 2000 break;
2000 case Qt::Key_A: 2001 case Qt::Key_A:
2001 if ( e->state() == Qt::ControlButton || e->state() == Qt::ShiftButton ) 2002 if ( e->state() == Qt::ControlButton || e->state() == Qt::ShiftButton )
2002 mView->showNextAlarms(); 2003 mView->showNextAlarms();
2003 else 2004 else
2004 mView->toggleAllDaySize(); 2005 mView->toggleAllDaySize();
2005 break; 2006 break;
2006 case Qt::Key_T: 2007 case Qt::Key_T:
2007 if ( e->state() == Qt::ControlButton|| e->state() == Qt::ShiftButton ) 2008 if ( e->state() == Qt::ControlButton|| e->state() == Qt::ShiftButton )
2008 mView->newTodo(); 2009 mView->newTodo();
2009 else { 2010 else {
2010 mView->goToday(); 2011 mView->goToday();
2011 showSelectedDates = true; 2012 showSelectedDates = true;
2012 } 2013 }
2013 break; 2014 break;
2014 case Qt::Key_J: 2015 case Qt::Key_J:
2015 mView->viewManager()->showJournalView(); 2016 mView->viewManager()->showJournalView();
2016 break; 2017 break;
2017 case Qt::Key_B: 2018 case Qt::Key_B:
2018 mView->editIncidenceDescription();; 2019 mView->editIncidenceDescription();;
2019 break; 2020 break;
2020 // case Qt::Key_Return: 2021 // case Qt::Key_Return:
2021 case Qt::Key_E: 2022 case Qt::Key_E:
2022 if ( e->state() == Qt::ControlButton|| e->state() == Qt::ShiftButton ) 2023 if ( e->state() == Qt::ControlButton|| e->state() == Qt::ShiftButton )
2023 mView->newEvent(); 2024 mView->newEvent();
2024 else 2025 else
2025 mView->editIncidence(); 2026 mView->editIncidence();
2026 break; 2027 break;
2027 case Qt::Key_Plus: 2028 case Qt::Key_Plus:
2028 size = p->mHourSize +2; 2029 size = p->mHourSize +2;
2029 if ( size <= 22 ) 2030 if ( size <= 22 )
2030 configureAgenda( size ); 2031 configureAgenda( size );
2031 break; 2032 break;
2032 case Qt::Key_Minus: 2033 case Qt::Key_Minus:
2033 size = p->mHourSize - 2; 2034 size = p->mHourSize - 2;
2034 if ( size >= 4 ) 2035 if ( size >= 4 )
2035 configureAgenda( size ); 2036 configureAgenda( size );
2036 break; 2037 break;
2037 2038
2038 2039
2039 default: 2040 default:
2040 e->ignore(); 2041 e->ignore();
2041 } 2042 }
2042 if ( pro > 0 ) { 2043 if ( pro > 0 ) {
2043 mView->selectFilter( pro-1 ); 2044 mView->selectFilter( pro-1 );
2044 } 2045 }
2045 if ( showSelectedDates ) { 2046 if ( showSelectedDates ) {
2046 ;// setCaptionToDates(); 2047 ;// setCaptionToDates();
2047 } 2048 }
2048 2049
2049} 2050}
2050void MainWindow::fillFilterMenuTB() 2051void MainWindow::fillFilterMenuTB()
2051{ 2052{
2052 selectFilterMenuTB->clear(); 2053 selectFilterMenuTB->clear();
2053 selectFilterMenuTB->insertItem(i18n ( "Edit Filters" ), 0 ); 2054 selectFilterMenuTB->insertItem(i18n ( "Edit Filters" ), 0 );
2054 selectFilterMenuTB->insertSeparator(); 2055 selectFilterMenuTB->insertSeparator();
2055 selectFilterMenuTB->insertItem(i18n ( "No Filter" ), 1 ); 2056 selectFilterMenuTB->insertItem(i18n ( "No Filter" ), 1 );
2056 2057
2057 selectFilterMenuTB->insertSeparator(); 2058 selectFilterMenuTB->insertSeparator();
2058 QPtrList<CalFilter> fili = mView->filters(); 2059 QPtrList<CalFilter> fili = mView->filters();
2059 CalFilter *curfilter = mView->filterView()->selectedFilter(); 2060 CalFilter *curfilter = mView->filterView()->selectedFilter();
2060 CalFilter *filter = fili.first(); 2061 CalFilter *filter = fili.first();
2061 int iii = 2; 2062 int iii = 2;
2062 bool checkitem = mView->filterView()->filtersEnabled(); 2063 bool checkitem = mView->filterView()->filtersEnabled();
2063 while(filter) { 2064 while(filter) {
2064 selectFilterMenuTB->insertItem( filter->name(), iii ); 2065 selectFilterMenuTB->insertItem( filter->name(), iii );
2065 if ( filter == curfilter) 2066 if ( filter == curfilter)
2066 selectFilterMenuTB->setItemChecked( iii, checkitem ); 2067 selectFilterMenuTB->setItemChecked( iii, checkitem );
2067 filter = fili.next(); 2068 filter = fili.next();
2068 ++iii; 2069 ++iii;
2069 } 2070 }
2070 if ( !checkitem ) 2071 if ( !checkitem )
2071 selectFilterMenuTB->setItemChecked( 1, true ); 2072 selectFilterMenuTB->setItemChecked( 1, true );
2072 2073
2073 int x = 0; 2074 int x = 0;
2074 int y = iconToolBar->height(); 2075 int y = iconToolBar->height();
2075 int dX = 0; 2076 int dX = 0;
2076 int dY = 0; 2077 int dY = 0;
2077 if ( iconToolBar->orientation () == Qt:: Horizontal ) { 2078 if ( iconToolBar->orientation () == Qt:: Horizontal ) {
2078 if ( iconToolBar->y() > height()/2 ) { 2079 if ( iconToolBar->y() > height()/2 ) {
2079 dY = selectFilterMenuTB->sizeHint().height()+8; 2080 dY = selectFilterMenuTB->sizeHint().height()+8;
2080 y = 0; 2081 y = 0;
2081 } 2082 }
2082 } else { 2083 } else {
2083 if ( iconToolBar->x() > width()/2 ) { // right side 2084 if ( iconToolBar->x() > width()/2 ) { // right side
2084 x=0; 2085 x=0;
2085 dX= selectFilterMenuTB->sizeHint().width()+8; 2086 dX= selectFilterMenuTB->sizeHint().width()+8;
2086 y = 0; 2087 y = 0;
2087 } else { 2088 } else {
2088 x= iconToolBar->width(); 2089 x= iconToolBar->width();
2089 y = 0; 2090 y = 0;
2090 } 2091 }
2091 } 2092 }
2092 //qDebug("dax %d dy %d %d %d ", dX, dY, iconToolBar->x(), iconToolBar->y() ); 2093 //qDebug("dax %d dy %d %d %d ", dX, dY, iconToolBar->x(), iconToolBar->y() );
2093 selectFilterMenuTB->popup(iconToolBar->mapToGlobal(QPoint(x,y)-QPoint( dX,dY))); 2094 selectFilterMenuTB->popup(iconToolBar->mapToGlobal(QPoint(x,y)-QPoint( dX,dY)));
2094} 2095}
2095void MainWindow::fillFilterMenu() 2096void MainWindow::fillFilterMenu()
2096{ 2097{
2097 selectFilterMenu->clear(); 2098 selectFilterMenu->clear();
2098 selectFilterMenu->insertItem(i18n ( "Edit Filters" ), 0 ); 2099 selectFilterMenu->insertItem(i18n ( "Edit Filters" ), 0 );
2099 selectFilterMenu->insertSeparator(); 2100 selectFilterMenu->insertSeparator();
2100 selectFilterMenu->insertItem(i18n ( "No Filter" ), 1 ); 2101 selectFilterMenu->insertItem(i18n ( "No Filter" ), 1 );
2101 2102
2102 selectFilterMenu->insertSeparator(); 2103 selectFilterMenu->insertSeparator();
2103 QPtrList<CalFilter> fili = mView->filters(); 2104 QPtrList<CalFilter> fili = mView->filters();
2104 CalFilter *curfilter = mView->filterView()->selectedFilter(); 2105 CalFilter *curfilter = mView->filterView()->selectedFilter();
2105 CalFilter *filter = fili.first(); 2106 CalFilter *filter = fili.first();
2106 int iii = 2; 2107 int iii = 2;
2107 bool checkitem = mView->filterView()->filtersEnabled(); 2108 bool checkitem = mView->filterView()->filtersEnabled();
2108 while(filter) { 2109 while(filter) {
2109 selectFilterMenu->insertItem( filter->name(), iii ); 2110 selectFilterMenu->insertItem( filter->name(), iii );
2110 if ( filter == curfilter) 2111 if ( filter == curfilter)
2111 selectFilterMenu->setItemChecked( iii, checkitem ); 2112 selectFilterMenu->setItemChecked( iii, checkitem );
2112 filter = fili.next(); 2113 filter = fili.next();
2113 ++iii; 2114 ++iii;
2114 } 2115 }
2115 if ( !checkitem ) 2116 if ( !checkitem )
2116 selectFilterMenu->setItemChecked( 1, true ); 2117 selectFilterMenu->setItemChecked( 1, true );
2117} 2118}
2118void MainWindow::fillFilterMenuPopup() 2119void MainWindow::fillFilterMenuPopup()
2119{ 2120{
2120 filterPopupMenu->clear(); 2121 filterPopupMenu->clear();
2121 filterPopupMenu->insertItem(i18n ( "No Filter" ), 0 ); 2122 filterPopupMenu->insertItem(i18n ( "No Filter" ), 0 );
2122 2123
2123 filterPopupMenu->insertSeparator(); 2124 filterPopupMenu->insertSeparator();
2124 QPtrList<CalFilter> fili = mView->filters(); 2125 QPtrList<CalFilter> fili = mView->filters();
2125 CalFilter *curfilter = mView->filterView()->selectedFilter(); 2126 CalFilter *curfilter = mView->filterView()->selectedFilter();
2126 CalFilter *filter = fili.first(); 2127 CalFilter *filter = fili.first();
2127 int iii = 1; 2128 int iii = 1;
2128 bool checkitem = mView->filterView()->filtersEnabled(); 2129 bool checkitem = mView->filterView()->filtersEnabled();
2129 while(filter) { 2130 while(filter) {
2130 filterPopupMenu->insertItem( filter->name(), iii ); 2131 filterPopupMenu->insertItem( filter->name(), iii );
2131 if ( filter == curfilter) 2132 if ( filter == curfilter)
2132 filterPopupMenu->setItemChecked( iii, checkitem ); 2133 filterPopupMenu->setItemChecked( iii, checkitem );
2133 filter = fili.next(); 2134 filter = fili.next();
2134 ++iii; 2135 ++iii;
2135 } 2136 }
2136 if ( !checkitem ) 2137 if ( !checkitem )
2137 filterPopupMenu->setItemChecked( 0, true ); 2138 filterPopupMenu->setItemChecked( 0, true );
2138} 2139}
2139void MainWindow::selectFilter( int fil ) 2140void MainWindow::selectFilter( int fil )
2140{ 2141{
2141 2142
2142 if ( fil == 0 ) { 2143 if ( fil == 0 ) {
2143 mView->editFilters( ); 2144 mView->editFilters( );
2144 } else if ( fil == 1 ){ 2145 } else if ( fil == 1 ){
2145 if ( mView->filterView()->filtersEnabled() ) 2146 if ( mView->filterView()->filtersEnabled() )
2146 mView->toggleFilerEnabled( ); 2147 mView->toggleFilerEnabled( );
2147 } else { 2148 } else {
2148 if ( !mView->filterView()->filtersEnabled() ) { 2149 if ( !mView->filterView()->filtersEnabled() ) {
2149 mView->filterView()->blockSignals( true ); 2150 mView->filterView()->blockSignals( true );
2150 mView->toggleFilerEnabled( ); 2151 mView->toggleFilerEnabled( );
2151 mView->filterView()->blockSignals( false ); 2152 mView->filterView()->blockSignals( false );
2152 } 2153 }
2153 mView->selectFilter( fil-2 ); 2154 mView->selectFilter( fil-2 );
2154 } 2155 }
2155} 2156}
2156void MainWindow::updateFilterToolbar() 2157void MainWindow::updateFilterToolbar()
2157{ 2158{
2158 if ( filterMenubar ) { 2159 if ( filterMenubar ) {
2159 if ( !mView->filterView()->filtersEnabled() ) { 2160 if ( !mView->filterView()->filtersEnabled() ) {
2160 filterMenubar->changeItem( 0, i18n("No Filter") ); 2161 filterMenubar->changeItem( 0, i18n("No Filter") );
2161 } else { 2162 } else {
2162 CalFilter *curfilter = mView->filterView()->selectedFilter(); 2163 CalFilter *curfilter = mView->filterView()->selectedFilter();
2163 if ( curfilter ) { 2164 if ( curfilter ) {
2164 filterMenubar->changeItem( 0, curfilter->name() ); 2165 filterMenubar->changeItem( 0, curfilter->name() );
2165 } 2166 }
2166 } 2167 }
2167 } 2168 }
2168} 2169}
2169void MainWindow::selectFilterPopup( int fil ) 2170void MainWindow::selectFilterPopup( int fil )
2170{ 2171{
2171 selectFilter( fil + 1 ); 2172 selectFilter( fil + 1 );
2172 2173
2173} 2174}
2174void MainWindow::configureToolBar( int item ) 2175void MainWindow::configureToolBar( int item )
2175{ 2176{
2176 2177
2177 configureToolBarMenu->setItemChecked( item, !configureToolBarMenu-> isItemChecked ( item ) ); 2178 configureToolBarMenu->setItemChecked( item, !configureToolBarMenu-> isItemChecked ( item ) );
2178 KOPrefs *p = KOPrefs::instance(); 2179 KOPrefs *p = KOPrefs::instance();
2179 p-> mShowIconStretch= configureToolBarMenu->isItemChecked( 5 ); 2180 p-> mShowIconStretch= configureToolBarMenu->isItemChecked( 5 );
2180 p-> mShowIconOnetoolbar = configureToolBarMenu->isItemChecked( 6 ); 2181 p-> mShowIconOnetoolbar = configureToolBarMenu->isItemChecked( 6 );
2181 p-> mShowIconFilter = configureToolBarMenu->isItemChecked( 7 ); 2182 p-> mShowIconFilter = configureToolBarMenu->isItemChecked( 7 );
2182 p-> mShowIconNewEvent= configureToolBarMenu->isItemChecked( 10 ); 2183 p-> mShowIconNewEvent= configureToolBarMenu->isItemChecked( 10 );
2183 p->mShowIconNewTodo = configureToolBarMenu->isItemChecked( 20 ); 2184 p->mShowIconNewTodo = configureToolBarMenu->isItemChecked( 20 );
2184 p->mShowIconNavigator = configureToolBarMenu->isItemChecked( 22 ); 2185 p->mShowIconNavigator = configureToolBarMenu->isItemChecked( 22 );
2185 p->mShowIconAllday = configureToolBarMenu->isItemChecked( 24 ); 2186 p->mShowIconAllday = configureToolBarMenu->isItemChecked( 24 );
2186 p->mShowIconFilterview = configureToolBarMenu->isItemChecked( 26 ); 2187 p->mShowIconFilterview = configureToolBarMenu->isItemChecked( 26 );
2187 p->mShowIconToggleFull = configureToolBarMenu->isItemChecked( 28 ); 2188 p->mShowIconToggleFull = configureToolBarMenu->isItemChecked( 28 );
2188 p-> mShowIconSearch= configureToolBarMenu->isItemChecked( 120 ); 2189 p-> mShowIconSearch= configureToolBarMenu->isItemChecked( 120 );
2189 p-> mShowIconList= configureToolBarMenu->isItemChecked( 30 ); 2190 p-> mShowIconList= configureToolBarMenu->isItemChecked( 30 );
2190 p-> mShowIconDay1= configureToolBarMenu->isItemChecked( 40 ); 2191 p-> mShowIconDay1= configureToolBarMenu->isItemChecked( 40 );
2191 p-> mShowIconDay5= configureToolBarMenu->isItemChecked( 50 ); 2192 p-> mShowIconDay5= configureToolBarMenu->isItemChecked( 50 );
2192 p-> mShowIconDay6= configureToolBarMenu->isItemChecked( 75 ); 2193 p-> mShowIconDay6= configureToolBarMenu->isItemChecked( 75 );
2193 p-> mShowIconDay7= configureToolBarMenu->isItemChecked( 60 ); 2194 p-> mShowIconDay7= configureToolBarMenu->isItemChecked( 60 );
2194 p-> mShowIconMonth= configureToolBarMenu->isItemChecked( 70 ); 2195 p-> mShowIconMonth= configureToolBarMenu->isItemChecked( 70 );
2195 p-> mShowIconTodoview= configureToolBarMenu->isItemChecked( 80 ); 2196 p-> mShowIconTodoview= configureToolBarMenu->isItemChecked( 80 );
2196 p-> mShowIconBackFast= configureToolBarMenu->isItemChecked( 200 ); 2197 p-> mShowIconBackFast= configureToolBarMenu->isItemChecked( 200 );
2197 p-> mShowIconBack = configureToolBarMenu->isItemChecked( 210 ); 2198 p-> mShowIconBack = configureToolBarMenu->isItemChecked( 210 );
2198 p-> mShowIconToday= configureToolBarMenu->isItemChecked( 130 ); 2199 p-> mShowIconToday= configureToolBarMenu->isItemChecked( 130 );
2199 p-> mShowIconForward= configureToolBarMenu->isItemChecked( 220 ); 2200 p-> mShowIconForward= configureToolBarMenu->isItemChecked( 220 );
2200 p-> mShowIconForwardFast= configureToolBarMenu->isItemChecked( 230 ); 2201 p-> mShowIconForwardFast= configureToolBarMenu->isItemChecked( 230 );
2201 p-> mShowIconNextDays= configureToolBarMenu->isItemChecked( 100 ); 2202 p-> mShowIconNextDays= configureToolBarMenu->isItemChecked( 100 );
2202 p-> mShowIconNext= configureToolBarMenu->isItemChecked( 110 ); 2203 p-> mShowIconNext= configureToolBarMenu->isItemChecked( 110 );
2203 p-> mShowIconJournal= configureToolBarMenu->isItemChecked( 90 ); 2204 p-> mShowIconJournal= configureToolBarMenu->isItemChecked( 90 );
2204 p-> mShowIconWhatsThis= configureToolBarMenu->isItemChecked( 300 ); 2205 p-> mShowIconWhatsThis= configureToolBarMenu->isItemChecked( 300 );
2205 p-> mShowIconWeekNum= configureToolBarMenu->isItemChecked( 400 ); 2206 p-> mShowIconWeekNum= configureToolBarMenu->isItemChecked( 400 );
2206 // initActions(); 2207 // initActions();
2207} 2208}
2208void MainWindow::setCaption ( const QString & c ) 2209void MainWindow::setCaption ( const QString & c )
2209{ 2210{
2210 QString cap = c; 2211 QString cap = c;
2211 cap.replace( QRegExp("\n"), " " ); 2212 cap.replace( QRegExp("\n"), " " );
2212 cap = cap.stripWhiteSpace(); 2213 cap = cap.stripWhiteSpace();
2213 if ( cap.isEmpty() ) 2214 if ( cap.isEmpty() )
2214 cap = "KO/Pi"; 2215 cap = "KO/Pi";
2215 QWidget::setCaption( cap ); 2216 QWidget::setCaption( cap );
2216} 2217}
2217void MainWindow::setCaptionToDates() 2218void MainWindow::setCaptionToDates()
2218{ 2219{
2219 QString selDates; 2220 QString selDates;
2220 QDate date = mView->startDate(); 2221 QDate date = mView->startDate();
2221 if ( ! date.isValid() ) { 2222 if ( ! date.isValid() ) {
2222 setCaption(""); 2223 setCaption("");
2223 return; 2224 return;
2224 } 2225 }
2225 selDates = KGlobal::locale()->formatDate( date, true); 2226 selDates = KGlobal::locale()->formatDate( date, true);
2226 if (mView->startDate() < mView->endDate() ) 2227 if (mView->startDate() < mView->endDate() )
2227 selDates += " - " + KGlobal::locale()->formatDate(mView->endDate(), true); 2228 selDates += " - " + KGlobal::locale()->formatDate(mView->endDate(), true);
2228 else { 2229 else {
2229 QString addString; 2230 QString addString;
2230 if ( date == QDateTime::currentDateTime().date() ) 2231 if ( date == QDateTime::currentDateTime().date() )
2231 addString = i18n("Today"); 2232 addString = i18n("Today");
2232 else if ( date == QDateTime::currentDateTime().date().addDays(1) ) 2233 else if ( date == QDateTime::currentDateTime().date().addDays(1) )
2233 addString = i18n("Tomorrow"); 2234 addString = i18n("Tomorrow");
2234 if ( !addString.isEmpty() ) 2235 if ( !addString.isEmpty() )
2235 selDates = addString+", "+selDates ; 2236 selDates = addString+", "+selDates ;
2236 } 2237 }
2237 setCaption( i18n("Dates: ") + selDates ); 2238 setCaption( i18n("Dates: ") + selDates );
2238 2239
2239} 2240}
2240void MainWindow::showConfigureAgenda( ) 2241void MainWindow::showConfigureAgenda( )
2241{ 2242{
2242 int iii; 2243 int iii;
2243 for ( iii = 1;iii<= 10 ;++iii ){ 2244 for ( iii = 1;iii<= 10 ;++iii ){
2244 configureAgendaMenu->setItemChecked( (iii+1)*2, false ); 2245 configureAgendaMenu->setItemChecked( (iii+1)*2, false );
2245 } 2246 }
2246 configureAgendaMenu->setItemChecked( (KOPrefs::instance()->mHourSize/2)*2, true ); 2247 configureAgendaMenu->setItemChecked( (KOPrefs::instance()->mHourSize/2)*2, true );
2247} 2248}
2248void MainWindow::configureAgenda( int item ) 2249void MainWindow::configureAgenda( int item )
2249{ 2250{
2250 if ( KOPrefs::instance()->mHourSize == item ) 2251 if ( KOPrefs::instance()->mHourSize == item )
2251 return; 2252 return;
2252 KOPrefs::instance()->mHourSize=item; 2253 KOPrefs::instance()->mHourSize=item;
2253 mView->viewManager()->agendaView()->updateConfig(); 2254 mView->viewManager()->agendaView()->updateConfig();
2254} 2255}
2255 2256
2256void MainWindow::saveCalendar() 2257void MainWindow::saveCalendar()
2257{ 2258{
2258 QString fn = KOPrefs::instance()->mLastSaveFile; 2259 QString fn = KOPrefs::instance()->mLastSaveFile;
2259 fn = KFileDialog::getSaveFileName( fn, i18n("Save backup filename"), this ); 2260 fn = KFileDialog::getSaveFileName( fn, i18n("Save backup filename"), this );
2260 2261
2261 if ( fn == "" ) 2262 if ( fn == "" )
2262 return; 2263 return;
2263 QFileInfo info; 2264 QFileInfo info;
2264 info.setFile( fn ); 2265 info.setFile( fn );
2265 QString mes; 2266 QString mes;
2266 bool createbup = true; 2267 bool createbup = true;
2267 if ( info. exists() ) { 2268 if ( info. exists() ) {
2268 mes = i18n("Backup file\nalready exists!\nOld backup file from:\n%1\nOverwrite?\n").arg(KGlobal::locale()->formatDateTime(info.lastModified (), true, false )) ; 2269 mes = i18n("Backup file\nalready exists!\nOld backup file from:\n%1\nOverwrite?\n").arg(KGlobal::locale()->formatDateTime(info.lastModified (), true, false )) ;
2269 int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"),mes, 2270 int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"),mes,
2270 i18n("Overwrite!"), i18n("Cancel"), 0, 2271 i18n("Overwrite!"), i18n("Cancel"), 0,
2271 0, 1 ); 2272 0, 1 );
2272 if ( result != 0 ) { 2273 if ( result != 0 ) {
2273 createbup = false; 2274 createbup = false;
2274 } 2275 }
2275 } 2276 }
2276 if ( createbup ) { 2277 if ( createbup ) {
2277 mView->saveCalendar( fn ); 2278 mView->saveCalendar( fn );
2278 mes = i18n("KO/Pi:Saved %1").arg(fn); 2279 mes = i18n("KO/Pi:Saved %1").arg(fn);
2279 KOPrefs::instance()->mLastSaveFile = fn; 2280 KOPrefs::instance()->mLastSaveFile = fn;
2280 setCaption(mes); 2281 setCaption(mes);
2281 } 2282 }
2282} 2283}
2283void MainWindow::loadCalendar() 2284void MainWindow::loadCalendar()
2284{ 2285{
2285 2286
2286 QString fn = KOPrefs::instance()->mLastLoadFile; 2287 QString fn = KOPrefs::instance()->mLastLoadFile;
2287 fn = KFileDialog::getOpenFileName( fn, i18n("Load backup filename"), this ); 2288 fn = KFileDialog::getOpenFileName( fn, i18n("Load backup filename"), this );
2288 2289
2289 if ( fn == "" ) 2290 if ( fn == "" )
2290 return; 2291 return;
2291 QFileInfo info; 2292 QFileInfo info;
2292 info.setFile( fn ); 2293 info.setFile( fn );
2293 QString mess; 2294 QString mess;
2294 bool loadbup = true; 2295 bool loadbup = true;
2295 if ( info. exists() ) { 2296 if ( info. exists() ) {
2296 mess = i18n("Backup file from:\n%1\nLoading backup\nfile will delete\nyour current Data!\n").arg(KGlobal::locale()->formatDateTime(info.lastModified (), true, false )); 2297 mess = i18n("Backup file from:\n%1\nLoading backup\nfile will delete\nyour current Data!\n").arg(KGlobal::locale()->formatDateTime(info.lastModified (), true, false ));
2297 int result = QMessageBox::warning( this, "KO/Pi: Warning!", 2298 int result = QMessageBox::warning( this, "KO/Pi: Warning!",
2298 mess, 2299 mess,
2299 i18n("Load!"), i18n("Cancel"), 0, 2300 i18n("Load!"), i18n("Cancel"), 0,
2300 0, 1 ); 2301 0, 1 );
2301 if ( result != 0 ) { 2302 if ( result != 0 ) {
2302 loadbup = false; 2303 loadbup = false;
2303 } 2304 }
2304 } else { 2305 } else {
2305 QMessageBox::warning( this, i18n("KO/Pi: Warning!"), 2306 QMessageBox::warning( this, i18n("KO/Pi: Warning!"),
2306 i18n("Backup file\ndoes not exist!\nNothing loaded!"), 0, 0, 2307 i18n("Backup file\ndoes not exist!\nNothing loaded!"), 0, 0,
2307 0, 1 ); 2308 0, 1 );
2308 2309
2309 return; 2310 return;
2310 } 2311 }
2311 if ( loadbup ) { 2312 if ( loadbup ) {
2312 mView->openCalendar( fn ); 2313 mView->openCalendar( fn );
2313 KOPrefs::instance()->mLastLoadFile = fn; 2314 KOPrefs::instance()->mLastLoadFile = fn;
2314 mess = i18n("KO/Pi:Loaded %1").arg(fn) ; 2315 mess = i18n("KO/Pi:Loaded %1").arg(fn) ;
2315 setCaption(mess); 2316 setCaption(mess);
2316 } 2317 }
2317 2318
2318} 2319}
2319void MainWindow::quickImportIcal() 2320void MainWindow::quickImportIcal()
2320{ 2321{
2321 importFile( KOPrefs::instance()->mLastImportFile, false ); 2322 importFile( KOPrefs::instance()->mLastImportFile, false );
2322} 2323}
2323void MainWindow::importFile( QString fn, bool quick ) 2324void MainWindow::importFile( QString fn, bool quick )
2324{ 2325{
2325 QFileInfo info; 2326 QFileInfo info;
2326 info.setFile( fn ); 2327 info.setFile( fn );
2327 QString mess; 2328 QString mess;
2328 bool loadbup = true; 2329 bool loadbup = true;
2329 if ( !info. exists() ) { 2330 if ( !info. exists() ) {
2330 mess = i18n("Import file \n...%1\ndoes not exist!\nNothing imported!\n").arg(fn.right( 30)); 2331 mess = i18n("Import file \n...%1\ndoes not exist!\nNothing imported!\n").arg(fn.right( 30));
2331 int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"), 2332 int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"),
2332 mess ); 2333 mess );
2333 return; 2334 return;
2334 } 2335 }
2335 int result = 0; 2336 int result = 0;
2336 if ( !quick ) { 2337 if ( !quick ) {
2337 mess = i18n( "Import file \n...%1\nfrom:\n%2\nDuplicated entries\nwill not be imported!\n").arg(fn.right( 25)).arg(KGlobal::locale()->formatDateTime(info.lastModified (), true, false )); 2338 mess = i18n( "Import file \n...%1\nfrom:\n%2\nDuplicated entries\nwill not be imported!\n").arg(fn.right( 25)).arg(KGlobal::locale()->formatDateTime(info.lastModified (), true, false ));
2338 result = QMessageBox::warning( this, "KO/Pi: Warning!", 2339 result = QMessageBox::warning( this, "KO/Pi: Warning!",
2339 mess, 2340 mess,
2340 "Import", "Cancel", 0, 2341 "Import", "Cancel", 0,
2341 0, 1 ); 2342 0, 1 );
2342 } 2343 }
2343 if ( result == 0 ) { 2344 if ( result == 0 ) {
2344 if ( mView->openCalendar( fn, true )) { 2345 if ( mView->openCalendar( fn, true )) {
2345 KOPrefs::instance()->mLastImportFile = fn; 2346 KOPrefs::instance()->mLastImportFile = fn;
2346 setCaption(i18n("Imported file successfully")); 2347 setCaption(i18n("Imported file successfully"));
2347 } else { 2348 } else {
2348 setCaption(i18n("Error importing file")); 2349 setCaption(i18n("Error importing file"));
2349 } 2350 }
2350 } 2351 }
2351} 2352}
2352 2353
2353void MainWindow::importIcal() 2354void MainWindow::importIcal()
2354{ 2355{
2355 2356
2356 QString fn =KOPrefs::instance()->mLastImportFile; 2357 QString fn =KOPrefs::instance()->mLastImportFile;
2357 2358
2358 fn =KFileDialog:: getOpenFileName( fn, i18n("Import filename(*.ics/*.vcs)"), this ); 2359 fn =KFileDialog:: getOpenFileName( fn, i18n("Import filename(*.ics/*.vcs)"), this );
2359 if ( fn == "" ) 2360 if ( fn == "" )
2360 return; 2361 return;
2361 importFile( fn, true ); 2362 importFile( fn, true );
2362 2363
2363} 2364}
2364 2365
2365void MainWindow::exportVCalendar() 2366void MainWindow::exportVCalendar()
2366{ 2367{
2367 QString fn = KOPrefs::instance()->mLastVcalFile; 2368 QString fn = KOPrefs::instance()->mLastVcalFile;
2368 fn = KFileDialog::getSaveFileName( fn, i18n("Export vcal filename(*.vcs)"), this ); 2369 fn = KFileDialog::getSaveFileName( fn, i18n("Export vcal filename(*.vcs)"), this );
2369 if ( fn == "" ) 2370 if ( fn == "" )
2370 return; 2371 return;
2371 QFileInfo info; 2372 QFileInfo info;
2372 info.setFile( fn ); 2373 info.setFile( fn );
2373 QString mes; 2374 QString mes;
2374 bool createbup = true; 2375 bool createbup = true;
2375 if ( info. exists() ) { 2376 if ( info. exists() ) {
2376 mes = i18n("Save file\nalready exists!\nOld save file from:\n%1\nOverwrite?\n").arg (KGlobal::locale()->formatDateTime(info.lastModified (), true, false ) ); 2377 mes = i18n("Save file\nalready exists!\nOld save file from:\n%1\nOverwrite?\n").arg (KGlobal::locale()->formatDateTime(info.lastModified (), true, false ) );
2377 int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"),mes, 2378 int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"),mes,
2378 i18n("Overwrite!"), i18n("Cancel"), 0, 2379 i18n("Overwrite!"), i18n("Cancel"), 0,
2379 0, 1 ); 2380 0, 1 );
2380 if ( result != 0 ) { 2381 if ( result != 0 ) {
2381 createbup = false; 2382 createbup = false;
2382 } 2383 }
2383 } 2384 }
2384 if ( createbup ) { 2385 if ( createbup ) {
2385 if ( mView->exportVCalendar( fn ) ) { 2386 if ( mView->exportVCalendar( fn ) ) {
2386 KOPrefs::instance()->mLastVcalFile = fn; 2387 KOPrefs::instance()->mLastVcalFile = fn;
2387 if ( fn.length() > 20 ) 2388 if ( fn.length() > 20 )
2388 mes = i18n("KO/Pi:Exported to ...%1").arg(fn.right(20)) ; 2389 mes = i18n("KO/Pi:Exported to ...%1").arg(fn.right(20)) ;
2389 else 2390 else
2390 mes = i18n("KO/Pi:Exported to %1").arg(fn ); 2391 mes = i18n("KO/Pi:Exported to %1").arg(fn );
2391 setCaption(mes); 2392 setCaption(mes);
2392 } 2393 }
2393 } 2394 }
2394 2395
2395} 2396}
2396QString MainWindow::sentSyncFile() 2397QString MainWindow::sentSyncFile()
2397{ 2398{
2398#ifdef DESKTOP_VERSION 2399#ifdef DESKTOP_VERSION
2399 return locateLocal( "tmp", "copysynccal.ics" ); 2400 return locateLocal( "tmp", "copysynccal.ics" );
2400#else 2401#else
2401 return QString( "/tmp/copysynccal.ics" ); 2402 return QString( "/tmp/copysynccal.ics" );
2402#endif 2403#endif
2403} 2404}
2404 2405
2405void MainWindow::syncFileRequest() 2406void MainWindow::syncFileRequest()
2406{ 2407{
2407 if ( KOPrefs::instance()->mPassiveSyncWithDesktop ) { 2408 if ( KOPrefs::instance()->mPassiveSyncWithDesktop ) {
2408 mSyncManager->slotSyncMenu( 999 ); 2409 mSyncManager->slotSyncMenu( 999 );
2409 } 2410 }
2410 2411
2411 setCaption(i18n("Saving Data to temp file ..." )); 2412 setCaption(i18n("Saving Data to temp file ..." ));
2412 mView->saveCalendar( sentSyncFile() ); 2413 mView->saveCalendar( sentSyncFile() );
2413 setCaption(i18n("Data saved to temp file!" )); 2414 setCaption(i18n("Data saved to temp file!" ));
2414 2415
2415} 2416}
2416void MainWindow::getFile( bool success ) 2417void MainWindow::getFile( bool success )
2417{ 2418{
2418 if ( ! success ) { 2419 if ( ! success ) {
2419 setCaption( i18n("Error receiving file. Nothing changed!") ); 2420 setCaption( i18n("Error receiving file. Nothing changed!") );
2420 return; 2421 return;
2421 } 2422 }
2422 mView->openCalendar( sentSyncFile() ); 2423 mView->openCalendar( sentSyncFile() );
2423 if ( KOPrefs::instance()->mPassiveSyncWithDesktop ) { 2424 if ( KOPrefs::instance()->mPassiveSyncWithDesktop ) {
2424 mSyncManager->slotSyncMenu( 999 ); 2425 mSyncManager->slotSyncMenu( 999 );
2425 } 2426 }
2426 setCaption( i18n("Pi-Sync successful!") ); 2427 setCaption( i18n("Pi-Sync successful!") );
2427} 2428}
2428void MainWindow::printListView() 2429void MainWindow::printListView()
2429{ 2430{
2430 qDebug("MainWindow::printListView() "); 2431
2432 QString message = i18n("You can make a printout of the <b>List View</b> and the list view in the <b>Search Dialog</b>! To do this, please go to the <b>List View/Search Dialog</b>. Right click on the list. Select in the popup menu the entry <b>Print complete list</b>. That prints the list as you see it. You can remove items from the list before printing without deleting the corresponding event/todo! Simply select all items you do not want to print out. Then right click on one of the items and choose <b>Hide selected items</b>. After that you can print the list without these items.");
2433
2434 KMessageBox::information( this, message);
2431} 2435}
2432void MainWindow::printSel( ) 2436void MainWindow::printSel( )
2433{ 2437{
2434 mView->viewManager()->agendaView()->agenda()->printSelection(); 2438 mView->viewManager()->agendaView()->agenda()->printSelection();
2435} 2439}
2436 2440
2437void MainWindow::printCal() 2441void MainWindow::printCal()
2438{ 2442{
2439 mView->print();//mCp->showDialog(); 2443 mView->print();//mCp->showDialog();
2440} 2444}
2441 2445
2442 2446
2443#include "libkdepim/kdatepicker.h" 2447#include "libkdepim/kdatepicker.h"
2444#include <kdatetbl.h> 2448#include <kdatetbl.h>
2445 2449
2446void MainWindow::weekAction() 2450void MainWindow::weekAction()
2447{ 2451{
2448 int month; 2452 int month;
2449 KPopupFrame* popup = new KPopupFrame(this); 2453 KPopupFrame* popup = new KPopupFrame(this);
2450 KDateInternalWeekPicker* picker = new KDateInternalWeekPicker(popup); 2454 KDateInternalWeekPicker* picker = new KDateInternalWeekPicker(popup);
2451 // ----- 2455 // -----
2452 picker->resize(picker->sizeHint()); 2456 picker->resize(picker->sizeHint());
2453 popup->setMainWidget(picker); 2457 popup->setMainWidget(picker);
2454 picker->setFocus(); 2458 picker->setFocus();
2455 connect(picker, SIGNAL(closeMe(int)), popup, SLOT(close(int))); 2459 connect(picker, SIGNAL(closeMe(int)), popup, SLOT(close(int)));
2456 int x = 0; 2460 int x = 0;
2457 int y = iconToolBar->height(); 2461 int y = iconToolBar->height();
2458 int dX = 0; 2462 int dX = 0;
2459 int dY = 0; 2463 int dY = 0;
2460 if ( iconToolBar->orientation () == Qt:: Horizontal ) { 2464 if ( iconToolBar->orientation () == Qt:: Horizontal ) {
2461 if ( iconToolBar->y() > height()/2 ) { 2465 if ( iconToolBar->y() > height()/2 ) {
2462 dY = picker->sizeHint().height()+8; 2466 dY = picker->sizeHint().height()+8;
2463 y = 0; 2467 y = 0;
2464 } 2468 }
2465 } else { 2469 } else {
2466 if ( iconToolBar->x() > width()/2 ) { // right side 2470 if ( iconToolBar->x() > width()/2 ) { // right side
2467 x=0; 2471 x=0;
2468 dX= picker->sizeHint().width()+8; 2472 dX= picker->sizeHint().width()+8;
2469 y = 0; 2473 y = 0;
2470 } else { 2474 } else {
2471 x= iconToolBar->width(); 2475 x= iconToolBar->width();
2472 y = 0; 2476 y = 0;
2473 } 2477 }
2474 } 2478 }
2475 //qDebug("dax %d dy %d %d %d ", dX, dY, iconToolBar->x(), iconToolBar->y() ); 2479 //qDebug("dax %d dy %d %d %d ", dX, dY, iconToolBar->x(), iconToolBar->y() );
2476 if(popup->exec(iconToolBar->mapToGlobal(QPoint(x,y)-QPoint( dX,dY)))) 2480 if(popup->exec(iconToolBar->mapToGlobal(QPoint(x,y)-QPoint( dX,dY))))
2477 { 2481 {
2478 month = picker->getResult(); 2482 month = picker->getResult();
2479 emit selectWeek ( month ); 2483 emit selectWeek ( month );
2480 //qDebug("weekSelected %d ", month); 2484 //qDebug("weekSelected %d ", month);
2481 } 2485 }
2482 delete popup; 2486 delete popup;
2483} 2487}
2484 2488
2485void MainWindow::hideEvent ( QHideEvent * ) 2489void MainWindow::hideEvent ( QHideEvent * )
2486{ 2490{
2487 QString message; 2491 QString message;
2488 QDateTime nextA = mCalendar->nextAlarmEventDateTime(); 2492 QDateTime nextA = mCalendar->nextAlarmEventDateTime();
2489 if ( nextA.isValid() ) { 2493 if ( nextA.isValid() ) {
2490 QString sum = mCalendar->nextSummary(); 2494 QString sum = mCalendar->nextSummary();
2491 2495
2492 message = i18n("%1 %2 - %3 (next event/todo with alarm)").arg( KGlobal::locale()->formatTime(nextA.time() , false)).arg(sum ).arg( KGlobal::locale()->formatDate(nextA.date() , false)); 2496 message = i18n("%1 %2 - %3 (next event/todo with alarm)").arg( KGlobal::locale()->formatTime(nextA.time() , false)).arg(sum ).arg( KGlobal::locale()->formatDate(nextA.date() , false));
2493 setCaption( message ); 2497 setCaption( message );
2494 } 2498 }
2495} 2499}
2496 2500
2497void MainWindow::resizeEvent( QResizeEvent* e) 2501void MainWindow::resizeEvent( QResizeEvent* e)
2498{ 2502{
2499#ifndef DESKTOP_VERSION 2503#ifndef DESKTOP_VERSION
2500 if ( !KOPrefs::instance()->mShowIconFilter && !KOPrefs::instance()->mShowIconOnetoolbar && QApplication::desktop()->width() > 320) { 2504 if ( !KOPrefs::instance()->mShowIconFilter && !KOPrefs::instance()->mShowIconOnetoolbar && QApplication::desktop()->width() > 320) {
2501 if (QApplication::desktop()->width() > QApplication::desktop()->height() ) 2505 if (QApplication::desktop()->width() > QApplication::desktop()->height() )
2502 filterToolBar->hide(); 2506 filterToolBar->hide();
2503 else 2507 else
2504 filterToolBar->show(); 2508 filterToolBar->show();
2505 } 2509 }
2506#endif 2510#endif
2507 QMainWindow::resizeEvent( e); 2511 QMainWindow::resizeEvent( e);
2508} 2512}