summaryrefslogtreecommitdiffabout
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--bin/kdepim/kaddressbook/germantranslation.txt5
-rw-r--r--bin/kdepim/pwmanager/germantranslation.txt5
-rw-r--r--korganizer/mainwindow.cpp5
-rw-r--r--microkde/kapplication.cpp13
4 files changed, 18 insertions, 10 deletions
diff --git a/bin/kdepim/kaddressbook/germantranslation.txt b/bin/kdepim/kaddressbook/germantranslation.txt
index 85aed43..50056c4 100644
--- a/bin/kdepim/kaddressbook/germantranslation.txt
+++ b/bin/kdepim/kaddressbook/germantranslation.txt
@@ -1,764 +1,769 @@
1{ "file","Datei" }, 1{ "file","Datei" },
2{ "Choose one file","Wähle eine Datei" }, 2{ "Choose one file","Wähle eine Datei" },
3{ "dir","Verzeichnis" }, 3{ "dir","Verzeichnis" },
4{ "Choose a directory with may files","Wähle Verzeichnis" }, 4{ "Choose a directory with may files","Wähle Verzeichnis" },
5{ "ldap","ldap" }, 5{ "ldap","ldap" },
6{ "No description available","Keine Beschreibung verfügbar" }, 6{ "No description available","Keine Beschreibung verfügbar" },
7{ "Library files for "%1" not found in paths","Bibliothek für "%1" nicht gefunden" }, 7{ "Library files for "%1" not found in paths","Bibliothek für "%1" nicht gefunden" },
8{ "qtopia","qtopia" }, 8{ "qtopia","qtopia" },
9{ "Qtopia PIM Addressbook.","Qtopia PIM Adressbuch." }, 9{ "Qtopia PIM Addressbook.","Qtopia PIM Adressbuch." },
10{ "vCard","vCard" }, 10{ "vCard","vCard" },
11{ "vCard Format","vCard Format" }, 11{ "vCard Format","vCard Format" },
12{ "microkabcformat_binary","microkabcformat_binary" }, 12{ "microkabcformat_binary","microkabcformat_binary" },
13{ "Binary","Binary" }, 13{ "Binary","Binary" },
14{ "No description available.","Keine Beschreibung verfügbar." }, 14{ "No description available.","Keine Beschreibung verfügbar." },
15{ "Department","Abteilung" }, 15{ "Department","Abteilung" },
16{ "Profession","Beruf" }, 16{ "Profession","Beruf" },
17{ "Assistant's Name","Name d.Assistenten" }, 17{ "Assistant's Name","Name d.Assistenten" },
18{ "Manager's Name","Name d.Manager's" }, 18{ "Manager's Name","Name d.Manager's" },
19{ "Spouse's Name","Name d.Ehegatten" }, 19{ "Spouse's Name","Name d.Ehegatten" },
20{ "Office","Büro" }, 20{ "Office","Büro" },
21{ "IM Address","IM Adresse" }, 21{ "IM Address","IM Adresse" },
22{ "Anniversary","Jahrestag" }, 22{ "Anniversary","Jahrestag" },
23{ "Gender","Geschlecht" }, 23{ "Gender","Geschlecht" },
24{ "Children","Kinder" }, 24{ "Children","Kinder" },
25{ "FreeBusyUrl","FreeBusyUrl" }, 25{ "FreeBusyUrl","FreeBusyUrl" },
26{ "ExternalID","ExternalID" }, 26{ "ExternalID","ExternalID" },
27{ "Resource loaded: '%1'","Resource geladen: '%1'" }, 27{ "Resource loaded: '%1'","Resource geladen: '%1'" },
28{ "Select View","Ansicht wählen" }, 28{ "Select View","Ansicht wählen" },
29{ "Modify View...","Ansicht ändern..." }, 29{ "Modify View...","Ansicht ändern..." },
30{ "Add View...","Ansicht hinzufügen..." }, 30{ "Add View...","Ansicht hinzufügen..." },
31{ "Delete View","Ansicht löschen" }, 31{ "Delete View","Ansicht löschen" },
32{ "Refresh View","Ansicht aktualisieren" }, 32{ "Refresh View","Ansicht aktualisieren" },
33{ "Edit &Filters...","Bearbeite &Filter..." }, 33{ "Edit &Filters...","Bearbeite &Filter..." },
34{ "Select Filter","Filter wählen" }, 34{ "Select Filter","Filter wählen" },
35{ "Style:","Stil:" }, 35{ "Style:","Stil:" },
36{ "HTML table style.","HTML tabellen stil." }, 36{ "HTML table style.","HTML tabellen stil." },
37{ "Default Table View","Standard Tabellen Ansicht" }, 37{ "Default Table View","Standard Tabellen Ansicht" },
38{ "Show Extension Bar","Zeige Extension Bar" }, 38{ "Show Extension Bar","Zeige Extension Bar" },
39{ "None","Kein" }, 39{ "None","Kein" },
40{ "Name...","Name..." }, 40{ "Name...","Name..." },
41{ "Role:","Funktion:" }, 41{ "Role:","Funktion:" },
42{ "Organization:","Firma:" }, 42{ "Organization:","Firma:" },
43{ "Formatted name:","Formatt. Name:" }, 43{ "Formatted name:","Formatt. Name:" },
44{ "Edit Phone Numbers...","Bearbeite Telefonnummern..." }, 44{ "Edit Phone Numbers...","Bearbeite Telefonnummern..." },
45{ "Categories","Kategorien" }, 45{ "Categories","Kategorien" },
46{ "Public","Öffentlich" }, 46{ "Public","Öffentlich" },
47{ "Private","Privat" }, 47{ "Private","Privat" },
48{ "Confidential","Vertraulich" }, 48{ "Confidential","Vertraulich" },
49{ "&General","Allgemein" }, 49{ "&General","Allgemein" },
50{ "&Edit Addresses...","B&earbeite Adressen..." }, 50{ "&Edit Addresses...","B&earbeite Adressen..." },
51{ "Edit Email Addresses...","Bearbeite E-Mail Adressen..." }, 51{ "Edit Email Addresses...","Bearbeite E-Mail Adressen..." },
52{ "Email:","Email:" }, 52{ "Email:","Email:" },
53{ "URL:","URL:" }, 53{ "URL:","URL:" },
54{ "&IM address:","&IM address:" }, 54{ "&IM address:","&IM address:" },
55{ "&Address","&Adresse" }, 55{ "&Address","&Adresse" },
56{ "Department:","Abteilung:" }, 56{ "Department:","Abteilung:" },
57{ "Office:","Büro:" }, 57{ "Office:","Büro:" },
58{ "Profession:","Beruf:" }, 58{ "Profession:","Beruf:" },
59{ "Manager's name:","N.d.Manager's:" }, 59{ "Manager's name:","N.d.Manager's:" },
60{ "Assistant's name:","N.d.Assistenten:" }, 60{ "Assistant's name:","N.d.Assistenten:" },
61{ "Nick name:","Spitzname:" }, 61{ "Nick name:","Spitzname:" },
62{ "Spouse's name:","N.d.Ehegatten:" }, 62{ "Spouse's name:","N.d.Ehegatten:" },
63{ "Children's names:","N.d.Kinder:" }, 63{ "Children's names:","N.d.Kinder:" },
64{ "Birthday:","Geburtstag:" }, 64{ "Birthday:","Geburtstag:" },
65{ " Local Time","Ortszeit" }, 65{ " Local Time","Ortszeit" },
66{ "Mon","Mo" }, 66{ "Mon","Mo" },
67{ "Tue","Di" }, 67{ "Tue","Di" },
68{ "Wed","Mi" }, 68{ "Wed","Mi" },
69{ "Thu","Do" }, 69{ "Thu","Do" },
70{ "Fri","Fr" }, 70{ "Fri","Fr" },
71{ "Sat","Sa" }, 71{ "Sat","Sa" },
72{ "Sun","So" }, 72{ "Sun","So" },
73{ "January","Januar" }, 73{ "January","Januar" },
74{ "February","Februar" }, 74{ "February","Februar" },
75{ "March","März" }, 75{ "March","März" },
76{ "April","April" }, 76{ "April","April" },
77{ "May","Mai" }, 77{ "May","Mai" },
78{ "June","Juni" }, 78{ "June","Juni" },
79{ "July","July" }, 79{ "July","July" },
80{ "August","August" }, 80{ "August","August" },
81{ "September","September" }, 81{ "September","September" },
82{ "October","October" }, 82{ "October","October" },
83{ "November","November" }, 83{ "November","November" },
84{ "December","Dezember" }, 84{ "December","Dezember" },
85{ "tomorrow","Morgen" }, 85{ "tomorrow","Morgen" },
86{ "today","Heute" }, 86{ "today","Heute" },
87{ "yesterday","Gestern" }, 87{ "yesterday","Gestern" },
88{ "Monday","Montag" }, 88{ "Monday","Montag" },
89{ "Tuesday","Dienstag" }, 89{ "Tuesday","Dienstag" },
90{ "Wednesday","Mittwoch" }, 90{ "Wednesday","Mittwoch" },
91{ "Thursday","Donnerstag" }, 91{ "Thursday","Donnerstag" },
92{ "Friday","Freitag" }, 92{ "Friday","Freitag" },
93{ "Saturday","Samstag" }, 93{ "Saturday","Samstag" },
94{ "Sunday","Sonntag" }, 94{ "Sunday","Sonntag" },
95{ "Anniversary:","Jahrestag:" }, 95{ "Anniversary:","Jahrestag:" },
96{ "Gender:","Geschlecht:" }, 96{ "Gender:","Geschlecht:" },
97{ "ALIEN (gender undefined)","ALIEN (Geschlecht unbekannt)" }, 97{ "ALIEN (gender undefined)","ALIEN (Geschlecht unbekannt)" },
98{ "female","weiblich" }, 98{ "female","weiblich" },
99{ "male","männlich" }, 99{ "male","männlich" },
100{ "&Details","&Details" }, 100{ "&Details","&Details" },
101{ "Note:","Notiz:" }, 101{ "Note:","Notiz:" },
102{ "&Notes","&Notizen" }, 102{ "&Notes","&Notizen" },
103{ "Use geo data","Benutze geo Daten" }, 103{ "Use geo data","Benutze geo Daten" },
104{ "Latitude:","Breitengrad:" }, 104{ "Latitude:","Breitengrad:" },
105{ "Longitude:","Längengrad:" }, 105{ "Longitude:","Längengrad:" },
106{ "Edit Geo Data...","Edit geo Daten..." }, 106{ "Edit Geo Data...","Edit geo Daten..." },
107{ "Keys:","Schlüssel:" }, 107{ "Keys:","Schlüssel:" },
108{ "Add","Hinzu" }, 108{ "Add","Hinzu" },
109{ "Remove","Entf." }, 109{ "Remove","Entf." },
110{ "Export","Exportiere" }, 110{ "Export","Exportiere" },
111{ "&Misc","Verschiedenes" }, 111{ "&Misc","Verschiedenes" },
112{ "Photo","Foto" }, 112{ "Photo","Foto" },
113{ "Store as URL","Speichere als URL" }, 113{ "Store as URL","Speichere als URL" },
114{ "Logo","Logo" }, 114{ "Logo","Logo" },
115{ "&Images","B&ilder" }, 115{ "&Images","B&ilder" },
116{ "Home","Privat" }, 116{ "Home","Privat" },
117{ "Work","Geschäft" }, 117{ "Work","Geschäft" },
118{ "Mobile","Handy" }, 118{ "Mobile","Handy" },
119{ "Fax","Fax" }, 119{ "Fax","Fax" },
120{ "Contact Editor","Bearbeite Kontakt" }, 120{ "Contact Editor","Bearbeite Kontakt" },
121{ "&Mail...","&Mail..." }, 121{ "&Mail...","&Mail..." },
122{ "&Print...","Drucken..." }, 122{ "&Print...","Drucken..." },
123{ "&Save","&Speichern" }, 123{ "&Save","&Speichern" },
124{ "&New Contact...","&Neuer Kontakt..." }, 124{ "&New Contact...","&Neuer Kontakt..." },
125{ "Mail &vCard...","Mail &vCard..." }, 125{ "Mail &vCard...","Mail &vCard..." },
126{ "Selected to phone","Auswahl zum Telefon" }, 126{ "Selected to phone","Auswahl zum Telefon" },
127{ "Beam selected v&Card(s)","Beame ausgewählte v&Card(s)" }, 127{ "Beam selected v&Card(s)","Beame ausgewählte v&Card(s)" },
128{ "&Beam personal vCard","Beame persönliche vCard" }, 128{ "&Beam personal vCard","Beame persönliche vCard" },
129{ "&Edit Contact...","Bearbeite Kontakt..." }, 129{ "&Edit Contact...","Bearbeite Kontakt..." },
130{ "&Exit","B&eenden" }, 130{ "&Exit","B&eenden" },
131{ "&Copy","Kopieren" }, 131{ "&Copy","Kopieren" },
132{ "Cu&t","Ausschneiden" }, 132{ "Cu&t","Ausschneiden" },
133{ "&Paste","Einfügen" }, 133{ "&Paste","Einfügen" },
134{ "Select &All","Alles auswählen" }, 134{ "Select &All","Alles auswählen" },
135{ "&Undo","Rückgängig machen" }, 135{ "&Undo","Rückgängig machen" },
136{ "Re&do","Wiederherstellen" }, 136{ "Re&do","Wiederherstellen" },
137{ "&Delete Contact","Lösche Kontakt" }, 137{ "&Delete Contact","Lösche Kontakt" },
138{ "Configure &Resources...","Konfiguriere &Resourcen..." }, 138{ "Configure &Resources...","Konfiguriere &Resourcen..." },
139{ "&Configure %1...","Konfiguriere %1..." }, 139{ "&Configure %1...","Konfiguriere %1..." },
140{ "Configure S&hortcuts...","Konfiguriere S&hortcuts..." }, 140{ "Configure S&hortcuts...","Konfiguriere S&hortcuts..." },
141{ "Show Jump Bar","Zeige Jump Bar" }, 141{ "Show Jump Bar","Zeige Jump Bar" },
142{ "Show Details","Zeige Details" }, 142{ "Show Details","Zeige Details" },
143{ "Beam receive enabled","Beam (IR) Empfang AN" }, 143{ "Beam receive enabled","Beam (IR) Empfang AN" },
144{ "Set Who Am I","Setze "wer bin ich"" }, 144{ "Set Who Am I","Setze "wer bin ich"" },
145{ "Set Categories for Contacts...","Setze Kategorien für Kontakte..." }, 145{ "Set Categories for Contacts...","Setze Kategorien für Kontakte..." },
146{ "Edit Category List...","Editiere Kategorieliste..." }, 146{ "Edit Category List...","Editiere Kategorieliste..." },
147{ "Remove "voice"...","Entferne "voice"..." }, 147{ "Remove "voice"...","Entferne "voice"..." },
148{ "Import from Outlook...","Importiere aus Outlook..." }, 148{ "Import from Outlook...","Importiere aus Outlook..." },
149{ "Licence","Lizenz" }, 149{ "Licence","Lizenz" },
150{ "Faq","Fragen + Antworten" }, 150{ "Faq","Fragen + Antworten" },
151{ "What's New?","Was ist neu?" }, 151{ "What's New?","Was ist neu?" },
152{ "Sync HowTo","Sync Anleitung" }, 152{ "Sync HowTo","Sync Anleitung" },
153{ "&About KAddressBook","Über KAdressBuch" }, 153{ "&About KAddressBook","Über KAdressBuch" },
154{ "Select Incremental Search Field","Selektiere Such Feld" }, 154{ "Select Incremental Search Field","Selektiere Such Feld" },
155{ "Synchronize","Synchronisieren" }, 155{ "Synchronize","Synchronisieren" },
156{ "Configure...","Konfigurieren..." }, 156{ "Configure...","Konfigurieren..." },
157{ "Enable Pi-Sync","Aktiviere Pi-Sync" }, 157{ "Enable Pi-Sync","Aktiviere Pi-Sync" },
158{ "Multiple sync","Multi Sync" }, 158{ "Multiple sync","Multi Sync" },
159{ "Import CSV List...","Importiere CSV-Datei..." }, 159{ "Import CSV List...","Importiere CSV-Datei..." },
160{ "Export CSV List...","Exportiere CSV-Datei..." }, 160{ "Export CSV List...","Exportiere CSV-Datei..." },
161{ "Import KDE 2 Addressbook...","Importiere KDE 2 Adressbuch..." }, 161{ "Import KDE 2 Addressbook...","Importiere KDE 2 Adressbuch..." },
162{ "Import vCard...","Importiere vCard..." }, 162{ "Import vCard...","Importiere vCard..." },
163{ "Export vCard 3.0...","Exportiere vCard 3.0..." }, 163{ "Export vCard 3.0...","Exportiere vCard 3.0..." },
164{ "Import Qtopia...","Importiere Qtopia..." }, 164{ "Import Qtopia...","Importiere Qtopia..." },
165{ "Export Qtopia...","Exportiere Qtopia..." }, 165{ "Export Qtopia...","Exportiere Qtopia..." },
166{ "Edit Contact","Bearbeite Kontakt" }, 166{ "Edit Contact","Bearbeite Kontakt" },
167{ "Ok","Ok" }, 167{ "Ok","Ok" },
168{ "Apply","Anwenden" }, 168{ "Apply","Anwenden" },
169{ "Cancel","Abbrechen" }, 169{ "Cancel","Abbrechen" },
170{ "KAddressbook/Pi","KAdressbuch/Pi" }, 170{ "KAddressbook/Pi","KAdressbuch/Pi" },
171{ "No Filter","Kein Filter" }, 171{ "No Filter","Kein Filter" },
172{ "Given Name","Vorname" }, 172{ "Given Name","Vorname" },
173{ "Family Name","Nachname" }, 173{ "Family Name","Nachname" },
174{ "Email Address","E-Mail Adresse" }, 174{ "Email Address","E-Mail Adresse" },
175{ "All Fields","Alle Felder" }, 175{ "All Fields","Alle Felder" },
176{ "Question","Frage" }, 176{ "Question","Frage" },
177{ "After importing, phone numbers\nmay have two or more types.\n(E.g. work+voice)\nThese numbers are shown as "other".\nClick Yes to remove the voice type\nfrom numbers with more than one type.\n\nRemove voice type?","After importing, phone numbers\nmay have two or more types.\n(E.g. work+voice)\nThese numbers are shown as "other".\nClick Yes to remove the voice type\nfrom numbers with more than one type.\n\nRemove voice type?" }, 177{ "After importing, phone numbers\nmay have two or more types.\n(E.g. work+voice)\nThese numbers are shown as "other".\nClick Yes to remove the voice type\nfrom numbers with more than one type.\n\nRemove voice type?","After importing, phone numbers\nmay have two or more types.\n(E.g. work+voice)\nThese numbers are shown as "other".\nClick Yes to remove the voice type\nfrom numbers with more than one type.\n\nRemove voice type?" },
178{ "No","Nein" }, 178{ "No","Nein" },
179{ "Yes","Ja" }, 179{ "Yes","Ja" },
180{ "Synchronization Preferences","Einstellungen der Synchronisationsprofile" }, 180{ "Synchronization Preferences","Einstellungen der Synchronisationsprofile" },
181{ "Local device name:","Name dieses Gerätes:" }, 181{ "Local device name:","Name dieses Gerätes:" },
182{ "New profile","Neues Profil" }, 182{ "New profile","Neues Profil" },
183{ "Clone profile","Klone Profil" }, 183{ "Clone profile","Klone Profil" },
184{ "Delete profile","Lösche Profil" }, 184{ "Delete profile","Lösche Profil" },
185{ "Profile:","Profil:" }, 185{ "Profile:","Profil:" },
186{ "Ask for every entry on conflict","Frage bei Konflikten nach"}, 186{ "Ask for every entry on conflict","Frage bei Konflikten nach"},
187{ "Take local entry on conflict","Nimm lokalen Eintrag beim Konflikt" }, 187{ "Take local entry on conflict","Nimm lokalen Eintrag beim Konflikt" },
188{ "Take newest entry on conflict","Nimm neuesten Eintrag beim Konflikt" }, 188{ "Take newest entry on conflict","Nimm neuesten Eintrag beim Konflikt" },
189{ "Take remote entry on conflict","Nimm fernen Eintrag beim Konflikt" } 189{ "Take remote entry on conflict","Nimm fernen Eintrag beim Konflikt" }
190{ "Force: Take local entry always","Erzwinge: Nimm immer lokalen Eintrag" }, 190{ "Force: Take local entry always","Erzwinge: Nimm immer lokalen Eintrag" },
191{ "Force: Take remote entry always","Erzwinge: Nimm immer fernen Eintrag" }, 191{ "Force: Take remote entry always","Erzwinge: Nimm immer fernen Eintrag" },
192{ "Show summary after sync","Zeige Zusammenfassung nach dem Synchronisieren" }, 192{ "Show summary after sync","Zeige Zusammenfassung nach dem Synchronisieren" },
193{ "Write back file","Schreibe Datei zurück" }, 193{ "Write back file","Schreibe Datei zurück" },
194{ "Remote file (w down/upload command)","Entfernte Datei (via down/upload Kommando)" }, 194{ "Remote file (w down/upload command)","Entfernte Datei (via down/upload Kommando)" },
195{ "Pre sync (download) command:","Bevor Sync (download) Kommando:" }, 195{ "Pre sync (download) command:","Bevor Sync (download) Kommando:" },
196{ "Local device name:","Name dieses Gerätes:" }, 196{ "Local device name:","Name dieses Gerätes:" },
197{ "Ask for preferences before sync","Frage nach Synchronisationseinstellungen vor dem Syncen" }, 197{ "Ask for preferences before sync","Frage nach Synchronisationseinstellungen vor dem Syncen" },
198{ "Sync preferences","Synchronisations Einstellungen" }, 198{ "Sync preferences","Synchronisations Einstellungen" },
199{ "Profile kind","Profil Art" }, 199{ "Profile kind","Profil Art" },
200{ "Local file","Lokale Datei" }, 200{ "Local file","Lokale Datei" },
201{ "Local file:","Lokale Datei:" }, 201{ "Local file:","Lokale Datei:" },
202{ "Post sync (upload) command:","Nach Sync (upload) Kommando:" }, 202{ "Post sync (upload) command:","Nach Sync (upload) Kommando:" },
203{ "Fill in default values for:","Setze Beispiel Werte ein für:" }, 203{ "Fill in default values for:","Setze Beispiel Werte ein für:" },
204{ "Hint: Use $PWD$ for placeholder of password!","Hinweis: Benutze $PWD$ als Platzhalter für ein Passwort!" }, 204{ "Hint: Use $PWD$ for placeholder of password!","Hinweis: Benutze $PWD$ als Platzhalter für ein Passwort!" },
205{ "Synchronization Preferences","Einstellungen der Synchronisationsprofile"}, 205{ "Synchronization Preferences","Einstellungen der Synchronisationsprofile"},
206{ "Device","Gerät:" }, 206{ "Device","Gerät:" },
207{ "Sync with file \n...%1\nfrom:\n%2\n","Sync mit Datei \n...%1\nvom:\n%2\n" }, 207{ "Sync with file \n...%1\nfrom:\n%2\n","Sync mit Datei \n...%1\nvom:\n%2\n" },
208{ "Synchronization summary:\n\n %d items added to local\n %d items added to remote\n %d items updated on local\n %d items updated on remote\n %d items deleted on local\n %d items deleted on remote\n","Synchronisationsübersicht:\n\n %d items lokal hinzugefügt\n %d items entfernt hinzugefügt\n %d items lokal geändert\n %d items entfernt geändert\n %d items lokal gelöscht\n %d items entfernt gelöscht\n" }, 208{ "Synchronization summary:\n\n %d items added to local\n %d items added to remote\n %d items updated on local\n %d items updated on remote\n %d items deleted on local\n %d items deleted on remote\n","Synchronisationsübersicht:\n\n %d items lokal hinzugefügt\n %d items entfernt hinzugefügt\n %d items lokal geändert\n %d items entfernt geändert\n %d items lokal gelöscht\n %d items entfernt gelöscht\n" },
209{ "Synchronization successful","Synchronisation erfolgreich" }, 209{ "Synchronization successful","Synchronisation erfolgreich" },
210{ "Sync cancelled or failed. Nothing synced.","Sync abgebrochen oder fehlgeschlagen. Nichts wurde gesynced." }, 210{ "Sync cancelled or failed. Nothing synced.","Sync abgebrochen oder fehlgeschlagen. Nichts wurde gesynced." },
211{ "Sync file \n...%1\ndoes not exist!\nNothing synced!\n","Sync Datei \n...%1\nexistiert nicht!\nNichts wurde gesynced!\n" }, 211{ "Sync file \n...%1\ndoes not exist!\nNothing synced!\n","Sync Datei \n...%1\nexistiert nicht!\nNichts wurde gesynced!\n" },
212{ "Sync filename(*.ics/*.vcs)","Sync Dateiname(*.ics/*.vcs)" }, 212{ "Sync filename(*.ics/*.vcs)","Sync Dateiname(*.ics/*.vcs)" },
213{ "Enter password","Passwort eingeben" }, 213{ "Enter password","Passwort eingeben" },
214{ "Do you really want\nto remote sync\nwith profile \n","Wollen Sie wirklich\nmit dem entfernten\nProfil syncen: \n" }, 214{ "Do you really want\nto remote sync\nwith profile \n","Wollen Sie wirklich\nmit dem entfernten\nProfil syncen: \n" },
215{ "Copy remote file to local machine...","Kopiere entfernte Datei auf lokalen Rechner..." }, 215{ "Copy remote file to local machine...","Kopiere entfernte Datei auf lokalen Rechner..." },
216{ "Sorry, the copy command failed!\nCommand was:\n%1\n \nTry command on console to get more\ndetailed info about the reason.\n","Sorry, das Kopierkommando schlug fehl!\nKommando war:\n%1\n \nVersuche Kommando von Kosole um\nDetails für das Fehlschlagen\nzu erfahren.\n" }, 216{ "Sorry, the copy command failed!\nCommand was:\n%1\n \nTry command on console to get more\ndetailed info about the reason.\n","Sorry, das Kopierkommando schlug fehl!\nKommando war:\n%1\n \nVersuche Kommando von Kosole um\nDetails für das Fehlschlagen\nzu erfahren.\n" },
217{ "Writing back file result: ","Resultat des Dateizurückschreibens: " }, 217{ "Writing back file result: ","Resultat des Dateizurückschreibens: " },
218{ "Syncronization sucessfully completed","Synchronisation erfolgreich abgeschlossen" }, 218{ "Syncronization sucessfully completed","Synchronisation erfolgreich abgeschlossen" },
219{ "Used %1 Client","Benutzter %1 Client" }, 219{ "Used %1 Client","Benutzter %1 Client" },
220{ "No email client installed","Kein Email Klient installiert" }, 220{ "No email client installed","Kein Email Klient installiert" },
221{ "Userdefined email client","Benutzerdef. Email Klient" }, 221{ "Userdefined email client","Benutzerdef. Email Klient" },
222{ "OM/Pi email client","OM/Pi Email Klient" }, 222{ "OM/Pi email client","OM/Pi Email Klient" },
223{ "Include in multiple ","Beziehe in mehrfach " }, 223{ "Include in multiple ","Beziehe in mehrfach " },
224{ "calendar ","Kalender " }, 224{ "calendar ","Kalender " },
225{ "addressbook ","Adressbuch " }, 225{ "addressbook ","Adressbuch " },
226{ "pwmanager","PWmanager" }, 226{ "pwmanager","PWmanager" },
227{ " sync"," Sync ein" }, 227{ " sync"," Sync ein" },
228{ "Write back synced data","Schreibe gesyncte Daten zurück" }, 228{ "Write back synced data","Schreibe gesyncte Daten zurück" },
229{ "-- Write back (on remote) existing entries only","-- Schreibe nur existierende (entfernte) Einträge zurück" }, 229{ "-- Write back (on remote) existing entries only","-- Schreibe nur existierende (entfernte) Einträge zurück" },
230{ "-- Write back (calendar) entries in future only","-- Schreibe nur zukünftige Kalender-Einträge zurück" }, 230{ "-- Write back (calendar) entries in future only","-- Schreibe nur zukünftige Kalender-Einträge zurück" },
231{ "---- Max. weeks in future: ","---- Max. wochen in der Zukunft: " }, 231{ "---- Max. weeks in future: ","---- Max. wochen in der Zukunft: " },
232{ "Pi-Sync ( direct Kx/Pi to Kx/Pi sync )","Pi-Sync ( direktes Kx/Pi zu Kx/Pi sync )" }, 232{ "Pi-Sync ( direct Kx/Pi to Kx/Pi sync )","Pi-Sync ( direktes Kx/Pi zu Kx/Pi sync )" },
233{ "Mobile device (cell phone)","Mobiles Gerät (Handy)" }, 233{ "Mobile device (cell phone)","Mobiles Gerät (Handy)" },
234{ "Help...","Hilfe..." }, 234{ "Help...","Hilfe..." },
235{ "Local file Cal:","Lokale Datei Kal:" }, 235{ "Local file Cal:","Lokale Datei Kal:" },
236{ "Local file ABook:","Lokale Datei ABuch:" }, 236{ "Local file ABook:","Lokale Datei ABuch:" },
237{ "Local file PWMgr:","Lokale Datei PWMgr:" }, 237{ "Local file PWMgr:","Lokale Datei PWMgr:" },
238{ "Addressbook file (*.vcf) is used by KA/Pi","Adressbuch Datei (*.vcf) wird von KA/Pi genutzt" }, 238{ "Addressbook file (*.vcf) is used by KA/Pi","Adressbuch Datei (*.vcf) wird von KA/Pi genutzt" },
239{ "Calendar:","Kalender:" }, 239{ "Calendar:","Kalender:" },
240{ "AddressBook:","AdressBuch:" }, 240{ "AddressBook:","AdressBuch:" },
241{ "PWManager:","PWManager:" }, 241{ "PWManager:","PWManager:" },
242{ "Addressbook file is used by KA/Pi","Adressbuch Datei wird von KA/Pi genutzt" }, 242{ "Addressbook file is used by KA/Pi","Adressbuch Datei wird von KA/Pi genutzt" },
243{ "ssh/scp","ssh/scp" }, 243{ "ssh/scp","ssh/scp" },
244{ "ftp","ftp" }, 244{ "ftp","ftp" },
245{ "Password for remote access: (could be the same for each)","Passwort für entfernten Zugriff: (kann dasselbe sein für alle)" }, 245{ "Password for remote access: (could be the same for each)","Passwort für entfernten Zugriff: (kann dasselbe sein für alle)" },
246{ "Remote IP address: (could be the same for each)","Entfernte IP Adresse: (kann dasselbe sein für alle)" }, 246{ "Remote IP address: (could be the same for each)","Entfernte IP Adresse: (kann dasselbe sein für alle)" },
247{ "Remote port number: (should be different for each)","Entfernte Port Nummer: (Sollte für alle unterschiedlich sein)" }, 247{ "Remote port number: (should be different for each)","Entfernte Port Nummer: (Sollte für alle unterschiedlich sein)" },
248{ "command for downloading remote file to local device","Kommando zum Download der entfernten Datei zum lokalen Gerät" }, 248{ "command for downloading remote file to local device","Kommando zum Download der entfernten Datei zum lokalen Gerät" },
249{ "command for uploading local temp file to remote device","Kommando zum Upload der lokalen temp. Datei zum entfernten Gerät" }, 249{ "command for uploading local temp file to remote device","Kommando zum Upload der lokalen temp. Datei zum entfernten Gerät" },
250{ "Insert device where\nphone is connected. E.g.:\n","Füge Device ein, an dem\ndas Handy angeschlossen ist. Z.B.:\n" }, 250{ "Insert device where\nphone is connected. E.g.:\n","Füge Device ein, an dem\ndas Handy angeschlossen ist. Z.B.:\n" },
251{ "KDE-Pim sync config","KDE-Pim sync Konfig" }, 251{ "KDE-Pim sync config","KDE-Pim sync Konfig" },
252{ "Insert kind of connection,e.g.:\n","Füge Art der Verbindung ein,z.B.:\n" }, 252{ "Insert kind of connection,e.g.:\n","Füge Art der Verbindung ein,z.B.:\n" },
253{ "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" }, 253{ "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" },
254{ "Port number (Default: %1)","Port Nummer (Default: %1)" }, 254{ "Port number (Default: %1)","Port Nummer (Default: %1)" },
255{ "Password to enable\naccess from remote:","Passwort um entfernten\nZugriff zuzulassen:" }, 255{ "Password to enable\naccess from remote:","Passwort um entfernten\nZugriff zuzulassen:" },
256{ "Automatically start\nat application startup","Starte automatisch\nbeim Programmstart" }, 256{ "Automatically start\nat application startup","Starte automatisch\nbeim Programmstart" },
257{ "Automatically sync\nwith KDE-Desktop","Automatischer Sync\nmit dem KDE-Desktop" }, 257{ "Automatically sync\nwith KDE-Desktop","Automatischer Sync\nmit dem KDE-Desktop" },
258{ "Enter port for Pi-Sync","Port Nummer für Pi-Sync" }, 258{ "Enter port for Pi-Sync","Port Nummer für Pi-Sync" },
259{ "Disable Pi-Sync","Schalte Pi-Sync aus" }, 259{ "Disable Pi-Sync","Schalte Pi-Sync aus" },
260{ "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!" }, 260{ "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!" },
261{ "KDE-Pim Sync","KDE-Pim Sync" }, 261{ "KDE-Pim Sync","KDE-Pim Sync" },
262{ "Multiple profiles","Multi-Sync Profile" }, 262{ "Multiple profiles","Multi-Sync Profile" },
263{ "Device: ","Gerät: " }, 263{ "Device: ","Gerät: " },
264{ "Multiple sync started.","Multi-Sync gestartet." }, 264{ "Multiple sync started.","Multi-Sync gestartet." },
265{ "Nothing synced! No profiles defined for multisync!","Nichts gesynct! Keine Profile\nselektiert für Multi-Sync" }, 265{ "Nothing synced! No profiles defined for multisync!","Nichts gesynct! Keine Profile\nselektiert für Multi-Sync" },
266{ "KDE-Pim sync config","KDE-Pim Sync Konfig" }, 266{ "KDE-Pim sync config","KDE-Pim Sync Konfig" },
267{ "Insert kind of connection,e.g.:\n","Füge Art der Verbindung ein, z.B.:\n" }, 267{ "Insert kind of connection,e.g.:\n","Füge Art der Verbindung ein, z.B.:\n" },
268{ "Recommended: Leave empty!\n(Such that model can\nbe auto detected)\nOr insert name of model:\n","Empfohlen: Leer lassen!\n(So dass das Modell\nautomatisch\erkannt\nwerden kann)\nOder füge Model Name ein:\n" }, 268{ "Recommended: Leave empty!\n(Such that model can\nbe auto detected)\nOr insert name of model:\n","Empfohlen: Leer lassen!\n(So dass das Modell\nautomatisch\erkannt\nwerden kann)\nOder füge Model Name ein:\n" },
269{ "KO/Pi config error","KO/Pi Konfig. Fehler" }, 269{ "KO/Pi config error","KO/Pi Konfig. Fehler" },
270{ "Local device name undefined!\nPlease define device name!","Name dieses Gerätes undefiniert!\nBitte Namen angeben!" }, 270{ "Local device name undefined!\nPlease define device name!","Name dieses Gerätes undefiniert!\nBitte Namen angeben!" },
271{ "Edit Address Book Filters","Editiere Addressbuch Filter" }, 271{ "Edit Address Book Filters","Editiere Addressbuch Filter" },
272{ "&Add...","Hinzufügen..." }, 272{ "&Add...","Hinzufügen..." },
273{ "&Edit...","B&earbeiten..." }, 273{ "&Edit...","B&earbeiten..." },
274{ "&Remove","Entfe&rne" }, 274{ "&Remove","Entfe&rne" },
275{ "Modify View: ","Ansicht ändern: " }, 275{ "Modify View: ","Ansicht ändern: " },
276{ "Fields","Felder" }, 276{ "Fields","Felder" },
277{ "Select Fields to Display","Wähle anzuzeigende Felder" }, 277{ "Select Fields to Display","Wähle anzuzeigende Felder" },
278{ "All","Alles" }, 278{ "All","Alles" },
279{ "Frequent","Frequent" }, 279{ "Frequent","Frequent" },
280{ "Address","Adresse" }, 280{ "Address","Adresse" },
281{ "Email","E-Mail" }, 281{ "Email","E-Mail" },
282{ "Personal","Persönl." }, 282{ "Personal","Persönl." },
283{ "Organization","Organisation" }, 283{ "Organization","Organisation" },
284{ "Custom","Benutzerdefiniert" }, 284{ "Custom","Benutzerdefiniert" },
285{ "&Selected\nfields:","&Selektierte\nFelder:" }, 285{ "&Selected\nfields:","&Selektierte\nFelder:" },
286{ "Formatted Name","Format. Name" }, 286{ "Formatted Name","Format. Name" },
287{ "Additional Names","Mittelname" }, 287{ "Additional Names","Mittelname" },
288{ "Honorific Prefixes","Namen Prefix" }, 288{ "Honorific Prefixes","Namen Prefix" },
289{ "Honorific Suffixes","Namen Suffix" }, 289{ "Honorific Suffixes","Namen Suffix" },
290{ "Nick Name","Sptitzname" }, 290{ "Nick Name","Sptitzname" },
291{ "Birthday","Geburtstag" }, 291{ "Birthday","Geburtstag" },
292{ "Home Address Street","Privat Adresse Strasse" }, 292{ "Home Address Street","Privat Adresse Strasse" },
293{ "Home Address Locality","Privat Adresse Stadt" }, 293{ "Home Address Locality","Privat Adresse Stadt" },
294{ "Home Address Region","Privat Adresse Bundesland" }, 294{ "Home Address Region","Privat Adresse Bundesland" },
295{ "Home Address Postal Code","Privat Adresse PLZ" }, 295{ "Home Address Postal Code","Privat Adresse PLZ" },
296{ "Home Address Country","Privat Adresse Land" }, 296{ "Home Address Country","Privat Adresse Land" },
297{ "Home Address Label","Privat Adresse Label" }, 297{ "Home Address Label","Privat Adresse Label" },
298{ "Business Address Street","Büro Adresse Strasse" }, 298{ "Business Address Street","Büro Adresse Strasse" },
299{ "Business Address Locality","Büro Adresse Stadt" }, 299{ "Business Address Locality","Büro Adresse Stadt" },
300{ "Business Address Region","Büro Adresse Bundesland" }, 300{ "Business Address Region","Büro Adresse Bundesland" },
301{ "Business Address Postal Code","Büro Adresse PLZ" }, 301{ "Business Address Postal Code","Büro Adresse PLZ" },
302{ "Business Address Country","Büro Adresse Land" }, 302{ "Business Address Country","Büro Adresse Land" },
303{ "Business Address Label","Büro Adresse Label" }, 303{ "Business Address Label","Büro Adresse Label" },
304{ "Home Phone","Privat Telefon" }, 304{ "Home Phone","Privat Telefon" },
305{ "Business Phone","Büro Telefon" }, 305{ "Business Phone","Büro Telefon" },
306{ "Mobile Phone","Handy" }, 306{ "Mobile Phone","Handy" },
307{ "Home Fax","Privat Fax" }, 307{ "Home Fax","Privat Fax" },
308{ "Business Fax","Büro Fax" }, 308{ "Business Fax","Büro Fax" },
309{ "Car Phone","Autotelefon" }, 309{ "Car Phone","Autotelefon" },
310{ "ISDN","ISDN" }, 310{ "ISDN","ISDN" },
311{ "Pager","Pager" }, 311{ "Pager","Pager" },
312{ "Mail Client","Mail Client" }, 312{ "Mail Client","Mail Client" },
313{ "Title","Titel" }, 313{ "Title","Titel" },
314{ "Role","Rolle" }, 314{ "Role","Rolle" },
315{ "Note","Notiz" }, 315{ "Note","Notiz" },
316{ "URL","URL" }, 316{ "URL","URL" },
317{ "Resource","Resource" }, 317{ "Resource","Resource" },
318{ "SIP","SIP" }, 318{ "SIP","SIP" },
319{ "Default Filter","Default Filter" }, 319{ "Default Filter","Default Filter" },
320{ "The default filter will be activated whenever this view is displayed. This feature allows you to configure views that only interact with certain types of information based on the filter. Once the view is activated, the filter can be changed at anytime.","#The default filter will be activated whenever this view is displayed. This feature allows you to configure views that only interact with certain types of information based on the filter. Once the view is activated, the filter can be changed at anytime." }, 320{ "The default filter will be activated whenever this view is displayed. This feature allows you to configure views that only interact with certain types of information based on the filter. Once the view is activated, the filter can be changed at anytime.","#The default filter will be activated whenever this view is displayed. This feature allows you to configure views that only interact with certain types of information based on the filter. Once the view is activated, the filter can be changed at anytime." },
321{ "No default filter","Kein default Filter" }, 321{ "No default filter","Kein default Filter" },
322{ "Use last active filter","Nutze letzen aktiven Filter" }, 322{ "Use last active filter","Nutze letzen aktiven Filter" },
323{ "Use filter:","Nutze Filter:" }, 323{ "Use filter:","Nutze Filter:" },
324{ "Look & Feel","Look & Feel" }, 324{ "Look & Feel","Look & Feel" },
325{ "Row Separator","Reihen Separator" }, 325{ "Row Separator","Reihen Separator" },
326{ "Alternating backgrounds","Abwechselnder Hintergrund" }, 326{ "Alternating backgrounds","Abwechselnder Hintergrund" },
327{ "Single line","Einzelne Zeile" }, 327{ "Single line","Einzelne Zeile" },
328{ "Enable background image:","Hintergrundbild:" }, 328{ "Enable background image:","Hintergrundbild:" },
329{ "Enable contact tooltips","Contact Tooltips" }, 329{ "Enable contact tooltips","Contact Tooltips" },
330{ "&Enable custom Colors","Benutzerdef. Farben" }, 330{ "&Enable custom Colors","Benutzerdef. Farben" },
331{ "&Colors","Farben" }, 331{ "&Colors","Farben" },
332{ "If custom colors are enabled, you may choose the colors for the view below. Otherwise colors from your current KDE color scheme are used.","#If custom colors are enabled, you may choose the colors for the view below. Otherwise colors from your current KDE color scheme are used." }, 332{ "If custom colors are enabled, you may choose the colors for the view below. Otherwise colors from your current KDE color scheme are used.","#If custom colors are enabled, you may choose the colors for the view below. Otherwise colors from your current KDE color scheme are used." },
333{ "Double click or press RETURN on a item to select a color for the related strings in the view.","#Double click or press RETURN on a item to select a color for the related strings in the view." }, 333{ "Double click or press RETURN on a item to select a color for the related strings in the view.","#Double click or press RETURN on a item to select a color for the related strings in the view." },
334{ "&Enable custom fonts","B&enutzerdefinierte Schriften" }, 334{ "&Enable custom fonts","B&enutzerdefinierte Schriften" },
335{ "&Text font:","Textschriftart:" }, 335{ "&Text font:","Textschriftart:" },
336{ "&Header font:","Titelschriftart:" }, 336{ "&Header font:","Titelschriftart:" },
337{ "If custom fonts are enabled, you may choose which fonts to use for this view below. Otherwise the default KDE font will be used, in bold style for the header and normal style for the data.","#If custom fonts are enabled, you may choose which fonts to use for this view below. Otherwise the default KDE font will be used, in bold style for the header and normal style for the data." }, 337{ "If custom fonts are enabled, you may choose which fonts to use for this view below. Otherwise the default KDE font will be used, in bold style for the header and normal style for the data.","#If custom fonts are enabled, you may choose which fonts to use for this view below. Otherwise the default KDE font will be used, in bold style for the header and normal style for the data." },
338{ "&Fonts","Schri&ften" }, 338{ "&Fonts","Schri&ften" },
339{ "Background Color","Hintergrundfarbe" }, 339{ "Background Color","Hintergrundfarbe" },
340{ "Text Color","Textfarbe" }, 340{ "Text Color","Textfarbe" },
341{ "Header Background Color","Titel Hintergrundfarbe" }, 341{ "Header Background Color","Titel Hintergrundfarbe" },
342{ "Header Text Color","Titel Farbe" }, 342{ "Header Text Color","Titel Farbe" },
343{ "Highlight Color","Auswahlfarbe" }, 343{ "Highlight Color","Auswahlfarbe" },
344{ "Highlighted Text Color","Auswahltextfarbe" }, 344{ "Highlighted Text Color","Auswahltextfarbe" },
345{ "Alternating Background Color","Abwechselnder Hintergrundfarbe" }, 345{ "Alternating Background Color","Abwechselnder Hintergrundfarbe" },
346{ "Postal","Post" }, 346{ "Postal","Post" },
347{ "Dr.","Dr." }, 347{ "Dr.","Dr." },
348{ "Miss","Frl." }, 348{ "Miss","Frl." },
349{ "Mr.","Herr" }, 349{ "Mr.","Herr" },
350{ "Mrs.","Frau" }, 350{ "Mrs.","Frau" },
351{ "Ms.","Fr." }, 351{ "Ms.","Fr." },
352{ "Prof.","Prof." }, 352{ "Prof.","Prof." },
353{ "I","I" }, 353{ "I","I" },
354{ "II","II" }, 354{ "II","II" },
355{ "III","III" }, 355{ "III","III" },
356{ "Jr.","Jr." }, 356{ "Jr.","Jr." },
357{ "Sr.","Sr." }, 357{ "Sr.","Sr." },
358{ "Name:","Name:" }, 358{ "Name:","Name:" },
359{ "Documents","Dokumente" }, 359{ "Documents","Dokumente" },
360{ "Files","Dateien" }, 360{ "Files","Dateien" },
361{ "All Files","Alle Dateien" }, 361{ "All Files","Alle Dateien" },
362{ "Name","Name" }, 362{ "Name","Name" },
363{ "Size","Größe" }, 363{ "Size","Größe" },
364{ "Date","Datum" }, 364{ "Date","Datum" },
365{ "Mime Type","Mime Typ" }, 365{ "Mime Type","Mime Typ" },
366{ "Geo Data Input","Geo Dateneingabe" }, 366{ "Geo Data Input","Geo Dateneingabe" },
367{ "Sexagesimal","Sexagesimal" }, 367{ "Sexagesimal","Sexagesimal" },
368{ "North","Nord" }, 368{ "North","Nord" },
369{ "South","Süd" }, 369{ "South","Süd" },
370{ "East","Ost" }, 370{ "East","Ost" },
371{ "West","West" }, 371{ "West","West" },
372{ "Undefined","Unbestimmt" }, 372{ "Undefined","Unbestimmt" },
373{ "Edit Address","Bearbeite Adresse" }, 373{ "Edit Address","Bearbeite Adresse" },
374{ "Street:","Strasse:" }, 374{ "Street:","Strasse:" },
375{ "Post office box:","Postfach:" }, 375{ "Post office box:","Postfach:" },
376{ "Locality:","Stadt:" }, 376{ "Locality:","Stadt:" },
377{ "Region:","Region:" }, 377{ "Region:","Region:" },
378{ "Postal code:","PLZ:" }, 378{ "Postal code:","PLZ:" },
379{ "Country:","Staat:" }, 379{ "Country:","Staat:" },
380{ "This is the preferred address","Dies ist die bevorzugte Adresse" }, 380{ "This is the preferred address","Dies ist die bevorzugte Adresse" },
381{ "New...","Neu..." }, 381{ "New...","Neu..." },
382{ "Change Type","Ändere Art" }, 382{ "Change Type","Ändere Art" },
383{ "Edit Address Type","Ändere Address Art" }, 383{ "Edit Address Type","Ändere Address Art" },
384{ "Address Types","Address Art" }, 384{ "Address Types","Address Art" },
385{ "Domestic","Inland" }, 385{ "Domestic","Inland" },
386{ "International","International" }, 386{ "International","International" },
387{ "Parcel","Paket" }, 387{ "Parcel","Paket" },
388{ "Edit Contact Name","Ändere Kontakt Name" }, 388{ "Edit Contact Name","Ändere Kontakt Name" },
389{ "Honorific prefixes:","Namensprefixes:" }, 389{ "Honorific prefixes:","Namensprefixes:" },
390{ "Given name:","Vorname:" }, 390{ "Given name:","Vorname:" },
391{ "Additional names:","Mittelnamen:" }, 391{ "Additional names:","Mittelnamen:" },
392{ "Family names:","Nachname:" }, 392{ "Family names:","Nachname:" },
393{ "Honorific suffixes:","Namenssuffixe:" }, 393{ "Honorific suffixes:","Namenssuffixe:" },
394{ "Parse name automatically","Setze Namen automatisch" }, 394{ "Parse name automatically","Setze Namen automatisch" },
395{ "Edit Phone Numbers","Bearbeite Telefonnummern" }, 395{ "Edit Phone Numbers","Bearbeite Telefonnummern" },
396{ "Number","Nummer" }, 396{ "Number","Nummer" },
397{ "Type","Typ" }, 397{ "Type","Typ" },
398{ "Edit Phone Number","Bearbeite Telefonnummer" }, 398{ "Edit Phone Number","Bearbeite Telefonnummer" },
399{ "Number:","Nummer:" }, 399{ "Number:","Nummer:" },
400{ "This is the preferred phone number","Dies ist die bevorzugte Telefonnummer" }, 400{ "This is the preferred phone number","Dies ist die bevorzugte Telefonnummer" },
401{ "Types","Typen" }, 401{ "Types","Typen" },
402{ "Messenger","Messenger" }, 402{ "Messenger","Messenger" },
403{ "Other","Anderes" }, 403{ "Other","Anderes" },
404{ "Video","Video" }, 404{ "Video","Video" },
405{ "Mailbox","Mailbox" }, 405{ "Mailbox","Mailbox" },
406{ "Modem","Modem" }, 406{ "Modem","Modem" },
407{ "Car","Auto" }, 407{ "Car","Auto" },
408{ "PCS","PCS" }, 408{ "PCS","PCS" },
409{ "Category","Kategorie" }, 409{ "Category","Kategorie" },
410{ "Select Categories","Wähle Kategorien" }, 410{ "Select Categories","Wähle Kategorien" },
411{ " &Deselect All "," &Deselektiere alle " }, 411{ " &Deselect All "," &Deselektiere alle " },
412{ " &Edit Categories "," B&earbeite Kategorien " }, 412{ " &Edit Categories "," B&earbeite Kategorien " },
413{ "&OK","&OK" }, 413{ "&OK","&OK" },
414{ "&Cancel","Abbre&chen" }, 414{ "&Cancel","Abbre&chen" },
415{ "Configure","Konfiguriere" }, 415{ "Configure","Konfiguriere" },
416{ "Default","Voreinstellungen" }, 416{ "Default","Voreinstellungen" },
417{ "Addressbook","Adressbuch" }, 417{ "Addressbook","Adressbuch" },
418{ "Details view font","Schriftart Detailansicht" }, 418{ "Details view font","Schriftart Detailansicht" },
419{ "phone:123","phone:123" }, 419{ "phone:123","phone:123" },
420{ "Search only after <return> key pressed","Suche nur nach <return> Taste" }, 420{ "Search only after <return> key pressed","Suche nur nach <return> Taste" },
421{ "Honor KDE single click","Benutze KDE Einzelklick" }, 421{ "Honor KDE single click","Benutze KDE Einzelklick" },
422{ "Automatic name parsing for new addressees","Automa. Name Parsen für neue Einträge" }, 422{ "Automatic name parsing for new addressees","Automa. Name Parsen für neue Einträge" },
423{ "Display List and Details at once (restart)","Zeige Liste und Details zusammen(neustart)" }, 423{ "Display List and Details at once (restart)","Zeige Liste und Details zusammen(neustart)" },
424{ "Ask for quit when closing Ka/Pi","Vor Beenden von Ka/Pi nachfragen" }, 424{ "Ask for quit when closing Ka/Pi","Vor Beenden von Ka/Pi nachfragen" },
425{ "General","Allgemein" }, 425{ "General","Allgemein" },
426{ "Extensions (restart)","Extensions (restart)" }, 426{ "Extensions (restart)","Extensions (restart)" },
427{ "Description","Beschreibungen" }, 427{ "Description","Beschreibungen" },
428{ "Extensions","Extensions" }, 428{ "Extensions","Extensions" },
429{ "Prefixes","Prefixe" }, 429{ "Prefixes","Prefixe" },
430{ "Inclusions","Inclusions" }, 430{ "Inclusions","Inclusions" },
431{ "Suffixes","Suffixe" }, 431{ "Suffixes","Suffixe" },
432{ "Default formatted name:","Default format. Name:" }, 432{ "Default formatted name:","Default format. Name:" },
433{ "Empty","Leer" }, 433{ "Empty","Leer" },
434{ "Simple Name","Einfacher Name" }, 434{ "Simple Name","Einfacher Name" },
435{ "Full Name","Voller Name" }, 435{ "Full Name","Voller Name" },
436{ "Reverse Name","Namen umdrehen" }, 436{ "Reverse Name","Namen umdrehen" },
437{ "Contact","Kontakt" }, 437{ "Contact","Kontakt" },
438{ "Global","Allgemein" }, 438{ "Global","Allgemein" },
439{ "Phone","Telefon" }, 439{ "Phone","Telefon" },
440{ "SMS","SMS" }, 440{ "SMS","SMS" },
441{ "Language:(needs restart)","Sprache:(Neustart)" }, 441{ "Language:(needs restart)","Sprache:(Neustart)" },
442{ "English","English" }, 442{ "English","English" },
443{ "German","Deutsch" }, 443{ "German","Deutsch" },
444{ "French","Französisch" }, 444{ "French","Französisch" },
445{ "Italian","Italienisch" }, 445{ "Italian","Italienisch" },
446{ "User defined (usertranslation.txt)","Benutzerdef. (usertranslation.txt)" }, 446{ "User defined (usertranslation.txt)","Benutzerdef. (usertranslation.txt)" },
447{ "Time Format(nr):","Zeit Format(nr):" }, 447{ "Time Format(nr):","Zeit Format(nr):" },
448{ "24:00","24:00" }, 448{ "24:00","24:00" },
449{ "12:00am","12:00am" }, 449{ "12:00am","12:00am" },
450{ "Week starts on Sunday","Woche beginnt Sonntags" }, 450{ "Week starts on Sunday","Woche beginnt Sonntags" },
451{ "Locale","Locale" }, 451{ "Locale","Locale" },
452{ "Date Format:","Datums Format:" }, 452{ "Date Format:","Datums Format:" },
453{ "24.03.2004 (%d.%m.%Y|%A %d %B %Y)","24.03.2004 (%d.%m.%Y|%A %d %B %Y)" }, 453{ "24.03.2004 (%d.%m.%Y|%A %d %B %Y)","24.03.2004 (%d.%m.%Y|%A %d %B %Y)" },
454{ "03.24.2004 (%m.%d.%Y|%A %B %d %Y)","03.24.2004 (%m.%d.%Y|%A %B %d %Y)" }, 454{ "03.24.2004 (%m.%d.%Y|%A %B %d %Y)","03.24.2004 (%m.%d.%Y|%A %B %d %Y)" },
455{ "2004-03-24 (%Y-%m-%d|%A %Y %B %d)","2004-03-24 (%Y-%m-%d|%A %Y %B %d)" }, 455{ "2004-03-24 (%Y-%m-%d|%A %Y %B %d)","2004-03-24 (%Y-%m-%d|%A %Y %B %d)" },
456{ "User defined","Benutzerdefiniert" }, 456{ "User defined","Benutzerdefiniert" },
457{ "User long date:","Format langes Datum:" }, 457{ "User long date:","Format langes Datum:" },
458{ "User short date:","Format kurzes Datum:" }, 458{ "User short date:","Format kurzes Datum:" },
459{ "Daylight start:","Sommerzeit Start:" }, 459{ "Daylight start:","Sommerzeit Start:" },
460{ "Daylight end:","Sommerzeit Ende:" }, 460{ "Daylight end:","Sommerzeit Ende:" },
461{ "Actual start and end is the\nsunday before this date.","Tatsächlicher Beginn/Ende ist der\nSonntag vor diesem Datum!" }, 461{ "Actual start and end is the\nsunday before this date.","Tatsächlicher Beginn/Ende ist der\nSonntag vor diesem Datum!" },
462{ "Monday 19 April 2004: %A %d %B %Y","Monday 19 April 2004: %A %d %B %Y" }, 462{ "Monday 19 April 2004: %A %d %B %Y","Monday 19 April 2004: %A %d %B %Y" },
463{ "Mon 19.04.04: %a %d.%m.%y","Mon 19.04.04: %a %d.%m.%y" }, 463{ "Mon 19.04.04: %a %d.%m.%y","Mon 19.04.04: %a %d.%m.%y" },
464{ "Mon, 19.Apr.04: %a, %d.%b.%y","Mon, 19.Apr.04: %a, %d.%b.%y" }, 464{ "Mon, 19.Apr.04: %a, %d.%b.%y","Mon, 19.Apr.04: %a, %d.%b.%y" },
465{ "Date Format","Datums Format" }, 465{ "Date Format","Datums Format" },
466{ "Timezone:","Zeitzone:" }, 466{ "Timezone:","Zeitzone:" },
467{ "The year in the date is ignored.","Das Jahr vom Datum wird ignoriert." }, 467{ "The year in the date is ignored.","Das Jahr vom Datum wird ignoriert." },
468{ "Timezone has daylight saving","Zeitzone hat Sommerzeit" }, 468{ "Timezone has daylight saving","Zeitzone hat Sommerzeit" },
469{ "Add 30 min to selected Timezone","Addiere 30 min zur Zeitzone" }, 469{ "Add 30 min to selected Timezone","Addiere 30 min zur Zeitzone" },
470{ "Used Mail Client","Benutzter Mail Client" }, 470{ "Used Mail Client","Benutzter Mail Client" },
471{ "Channel:","Channel:" }, 471{ "Channel:","Channel:" },
472{ "Message:","Message:" }, 472{ "Message:","Message:" },
473{ "Parameters:","Parameter:" }, 473{ "Parameters:","Parameter:" },
474{ "HINT: Delimiter=; Name=%1,Email=%2","Hinweis: Begrenzer=; Name=%1,Email=%2" }, 474{ "HINT: Delimiter=; Name=%1,Email=%2","Hinweis: Begrenzer=; Name=%1,Email=%2" },
475{ "extra Message:","extra Message:" }, 475{ "extra Message:","extra Message:" },
476{ "extra Parameters:","extra Parameter:" }, 476{ "extra Parameters:","extra Parameter:" },
477{ "HINT: Emails=%1,Attachments=%2","Hinweis: Emails=%1,Attachments=%2" }, 477{ "HINT: Emails=%1,Attachments=%2","Hinweis: Emails=%1,Attachments=%2" },
478{ "External Apps.","Externe Appl." }, 478{ "External Apps.","Externe Appl." },
479{ "Used %1 Client","Benutzer %1 Client" }, 479{ "Used %1 Client","Benutzer %1 Client" },
480{ "No email client installed","Keine Email Client installiert" }, 480{ "No email client installed","Keine Email Client installiert" },
481{ "Userdefined email client","Benutzerdef. Email Client" }, 481{ "Userdefined email client","Benutzerdef. Email Client" },
482{ "OM/Pi email client","OM/Pi Email Client" }, 482{ "OM/Pi email client","OM/Pi Email Client" },
483{ "Close KA/Pi?","Schließe KA/Pi?" }, 483{ "Close KA/Pi?","Schließe KA/Pi?" },
484{ "\nChanges will be saved!","\nÄnderungen werden gespeichert!" }, 484{ "\nChanges will be saved!","\nÄnderungen werden gespeichert!" },
485{ "Yes!","Ja!" }, 485{ "Yes!","Ja!" },
486{ "There was an error while attempting to save\n the address book. Please check that some \nother application is not using it. ","#There was an error while attempting to save\n the address book. Please check that some \nother application is not using it. " }, 486{ "There was an error while attempting to save\n the address book. Please check that some \nother application is not using it. ","#There was an error while attempting to save\n the address book. Please check that some \nother application is not using it. " },
487{ "Saving addressbook ... ","Speichere Adressbuch ... " }, 487{ "Saving addressbook ... ","Speichere Adressbuch ... " },
488{ "Addressbook saved!","Adressbuch gespeichert!" }, 488{ "Addressbook saved!","Adressbuch gespeichert!" },
489{ "Default Table View","Default Tabellenansicht" }, 489{ "Default Table View","Default Tabellenansicht" },
490{ "Merge and Remove","Zusammenfügen/entfernen" }, 490{ "Merge and Remove","Zusammenfügen/entfernen" },
491{ "Merge","Zusammenfügen" }, 491{ "Merge","Zusammenfügen" },
492{ "Merge Contacts Editor","Contact-Zusammenfüge-Editor" }, 492{ "Merge Contacts Editor","Contact-Zusammenfüge-Editor" },
493{ "New List...","Neue Liste..." }, 493{ "New List...","Neue Liste..." },
494{ "Rename List...","Ändere Namen..." }, 494{ "Rename List...","Ändere Namen..." },
495{ "Remove List","Lösche Liste" }, 495{ "Remove List","Lösche Liste" },
496{ "Add Contact","Kontakt hinzu" }, 496{ "Add Contact","Kontakt hinzu" },
497{ "Change Email...","Ändere Email..." }, 497{ "Change Email...","Ändere Email..." },
498{ "Remove Contact","Entferne Kontakt" }, 498{ "Remove Contact","Entferne Kontakt" },
499{ "Use Preferred","Nutze Preferred" }, 499{ "Use Preferred","Nutze Preferred" },
500{ "Distribution List Editor","Distribution List Editor" }, 500{ "Distribution List Editor","Distribution List Editor" },
501{ "Choose which contacts to export","Wähle Kontakte zum Exportieren" }, 501{ "Choose which contacts to export","Wähle Kontakte zum Exportieren" },
502{ "Which contacts do you want to export?","Welche Kontakte sollen exportiert werden?" }, 502{ "Which contacts do you want to export?","Welche Kontakte sollen exportiert werden?" },
503{ "Contact Selection","Kontaktauswahl" }, 503{ "Contact Selection","Kontaktauswahl" },
504{ "&All","&Alle" }, 504{ "&All","&Alle" },
505{ "Export the entire address book","Exportiere das komplette Addressbuch" }, 505{ "Export the entire address book","Exportiere das komplette Addressbuch" },
506{ "&Selected","Au&sgewählte" }, 506{ "&Selected","Au&sgewählte" },
507{ "Only export contacts selected in KAddressBook.\nThis option is disabled if no contacts are selected.","###Only export contacts selected in KAddressBook.\nThis option is disabled if no contacts are selected." }, 507{ "Only export contacts selected in KAddressBook.\nThis option is disabled if no contacts are selected.","###Only export contacts selected in KAddressBook.\nThis option is disabled if no contacts are selected." },
508{ "By matching &filter","Zutreffender &Filter" }, 508{ "By matching &filter","Zutreffender &Filter" },
509{ "Only export contacts matching the selected filter.\nThis option is disabled if you haven't defined any filters","###Only export contacts matching the selected filter.\nThis option is disabled if you haven't defined any filters" }, 509{ "Only export contacts matching the selected filter.\nThis option is disabled if you haven't defined any filters","###Only export contacts matching the selected filter.\nThis option is disabled if you haven't defined any filters" },
510{ "By Cate&gories","Kategorien" }, 510{ "By Cate&gories","Kategorien" },
511{ "Only export contacts who are members of a category that is checked on the list to the left.\nThis option is disabled if you have no categories.","###Only export contacts who are members of a category that is checked on the list to the left.\nThis option is disabled if you have no categories." }, 511{ "Only export contacts who are members of a category that is checked on the list to the left.\nThis option is disabled if you have no categories.","###Only export contacts who are members of a category that is checked on the list to the left.\nThis option is disabled if you have no categories." },
512{ "Select a filter to decide which contacts to export.","Wähle Filter zum Export aus." }, 512{ "Select a filter to decide which contacts to export.","Wähle Filter zum Export aus." },
513{ "Check the categories whose members you want to export.","Wähle die Kategorien zum Export aus." }, 513{ "Check the categories whose members you want to export.","Wähle die Kategorien zum Export aus." },
514{ "Sorting","Sortieren" }, 514{ "Sorting","Sortieren" },
515{ "Criterion:","Merkmal:" }, 515{ "Criterion:","Merkmal:" },
516{ "Order:","Reihenfolge:" }, 516{ "Order:","Reihenfolge:" },
517{ "Ascending","Aufsteigend" }, 517{ "Ascending","Aufsteigend" },
518{ "Descending","Absteigend" }, 518{ "Descending","Absteigend" },
519{ "Save file","Datei speichern" }, 519{ "Save file","Datei speichern" },
520{ "Error","Fehler" }, 520{ "Error","Fehler" },
521{ "Unable to export contacts.","Exportieren der Kontakte geht nicht." }, 521{ "Unable to export contacts.","Exportieren der Kontakte geht nicht." },
522{ "\nNo unsaved changes detected!\nNothing will be saved!","\nKeine ungespeicherten\nÄnderungen erkannt!\nNichts wird gespeichert!" }, 522{ "\nNo unsaved changes detected!\nNothing will be saved!","\nKeine ungespeicherten\nÄnderungen erkannt!\nNichts wird gespeichert!" },
523{ "Manage new categories...","Verwalte neue Kategorien..." }, 523{ "Manage new categories...","Verwalte neue Kategorien..." },
524{ "&File","Datei" }, 524{ "&File","Datei" },
525{ "&Edit","Bearbeite" }, 525{ "&Edit","Bearbeite" },
526{ "&View","Ansichten" }, 526{ "&View","Ansichten" },
527{ "&Settings","Konfiguration" }, 527{ "&Settings","Konfiguration" },
528{ "&Change selected","Ändere Selekt." }, 528{ "&Change selected","Ändere Selekt." },
529{ "&Help","Hilfe" }, 529{ "&Help","Hilfe" },
530{ "Remove sync info","Entferne Sync Info" }, 530{ "Remove sync info","Entferne Sync Info" },
531{ "For all profiles","Für alle Profile" }, 531{ "For all profiles","Für alle Profile" },
532{ "&Change","Ändere" }, 532{ "&Change","Ändere" },
533{ "Import xml (Qtopia)...","Importiere xml (Qtopia)..." }, 533{ "Import xml (Qtopia)...","Importiere xml (Qtopia)..." },
534{ "Export xml (Qtopia)...","Exportiere xml (Qtopia)..." }, 534{ "Export xml (Qtopia)...","Exportiere xml (Qtopia)..." },
535{ "Export to phone","Exportiere aufs Handy..." }, 535{ "Export to phone","Exportiere aufs Handy..." },
536{ "Which contacts do you want to select?","Welche Kontakte möchten Sie wählen?" }, 536{ "Which contacts do you want to select?","Welche Kontakte möchten Sie wählen?" },
537{ "&Modify","Ändere" }, 537{ "&Modify","Ändere" },
538{ "Choose which contacts to select","Bitte Kontakte auswählen!" }, 538{ "Choose which contacts to select","Bitte Kontakte auswählen!" },
539{ "After importing/loading/syncing\nthere may be new categories in\naddressees\nwhich are not in the category list.\nPlease choose what to do:\n ","Nach dem Importieren/Laden/Syncen\nkann es neue Kategorien in den \nKontakten geben, die nicht\nin der Kategorieliste enthalten sind.\nBitte wählen Sie, was passieren soll:\n " }, 539{ "After importing/loading/syncing\nthere may be new categories in\naddressees\nwhich are not in the category list.\nPlease choose what to do:\n ","Nach dem Importieren/Laden/Syncen\nkann es neue Kategorien in den \nKontakten geben, die nicht\nin der Kategorieliste enthalten sind.\nBitte wählen Sie, was passieren soll:\n " },
540{ "Manage new Categories","Verwalte neue Kategorien" }, 540{ "Manage new Categories","Verwalte neue Kategorien" },
541{ "Add to category list","Füge zur Kategorieliste hinzu" }, 541{ "Add to category list","Füge zur Kategorieliste hinzu" },
542{ "Remove from addressees","Entferne von den Kontakten" }, 542{ "Remove from addressees","Entferne von den Kontakten" },
543{ "New categories not in list:","Kategorien, die nicht in der Liste sind:" }, 543{ "New categories not in list:","Kategorien, die nicht in der Liste sind:" },
544{ "A&dd","Hinzufügen" }, 544{ "A&dd","Hinzufügen" },
545{ "Please read Help-Sync Howto\nto know what settings to use.","Bitte lese Hilfe-Sync Howto\num zu erfahren welche Einstellungen\ndie richtigen sind." }, 545{ "Please read Help-Sync Howto\nto know what settings to use.","Bitte lese Hilfe-Sync Howto\num zu erfahren welche Einstellungen\ndie richtigen sind." },
546{ "NOTE: This will remove all old\ncontact data on phone!","ACHTUNG: Das löscht alle alten\nKontakt Daten auf dem Handy!" }, 546{ "NOTE: This will remove all old\ncontact data on phone!","ACHTUNG: Das löscht alle alten\nKontakt Daten auf dem Handy!" },
547{ "Export to mobile phone!","Exportiere auf das Handy!" }, 547{ "Export to mobile phone!","Exportiere auf das Handy!" },
548{ "Export to phone options","Export ans Handy Optionen" }, 548{ "Export to phone options","Export ans Handy Optionen" },
549{ "Writing to phone...","Sende Daten ans Handy..." }, 549{ "Writing to phone...","Sende Daten ans Handy..." },
550{ " This may take 1-3 minutes!"," Das kann 1-3 Minuten dauern!" }, 550{ " This may take 1-3 minutes!"," Das kann 1-3 Minuten dauern!" },
551{ "Retry","Nochmal versuchen" }, 551{ "Retry","Nochmal versuchen" },
552{ "KDE/Pim phone access","KDE/Pim Handy Zugriff" }, 552{ "KDE/Pim phone access","KDE/Pim Handy Zugriff" },
553{ "Error accessing device!\nPlease turn on connection\nand retry!","Fehler beim Zugriff auf das Gerät!\nBitte die Verbindung aktivieren\nund nochmal versuchen!" }, 553{ "Error accessing device!\nPlease turn on connection\nand retry!","Fehler beim Zugriff auf das Gerät!\nBitte die Verbindung aktivieren\nund nochmal versuchen!" },
554{ "Error exporting to phone!","Fehler beim Export auf das Handy!" }, 554{ "Error exporting to phone!","Fehler beim Export auf das Handy!" },
555{ "&Print View","Drucke Ansicht" }, 555{ "&Print View","Drucke Ansicht" },
556{ "&Print Details","Drucke Details" }, 556{ "&Print Details","Drucke Details" },
557{ "Beam v&Card(s)...","Beame v&Card(s)..." }, 557{ "Beam v&Card(s)...","Beame v&Card(s)..." },
558{ "Set formatted name...","Setze formatierten Namen..." }, 558{ "Set formatted name...","Setze formatierten Namen..." },
559{ "Kde Sync HowTo","Kde Sync HowTo" }, 559{ "Kde Sync HowTo","Kde Sync HowTo" },
560{ "Multi Sync HowTo","Multi Sync HowTo" }, 560{ "Multi Sync HowTo","Multi Sync HowTo" },
561{ "&Beam","&Beame" }, 561{ "&Beam","&Beame" },
562{ "Edit Email Addresses","Editiere Email Adressen" }, 562{ "Edit Email Addresses","Editiere Email Adressen" },
563{ "Email address:","Email Adresse:" }, 563{ "Email address:","Email Adresse:" },
564{ "Change","Ändere" }, 564{ "Change","Ändere" },
565{ "Set Standard","Setze Standard" }, 565{ "Set Standard","Setze Standard" },
566{ "New Contact","Neuer Contact" }, 566{ "New Contact","Neuer Contact" },
567{ "Undo %1","Rückgängig %1" }, 567{ "Undo %1","Rückgängig %1" },
568{ "Redo","Wiederholen" }, 568{ "Redo","Wiederholen" },
569{ "Saving ... please wait! ","Am Speichern ... bitte warten! " }, 569{ "Saving ... please wait! ","Am Speichern ... bitte warten! " },
570{ "CSV Import Dialog","CSV Import Dialog" }, 570{ "CSV Import Dialog","CSV Import Dialog" },
571{ "File to import:","Datei zum Import:" }, 571{ "File to import:","Datei zum Import:" },
572{ "Delimiter","Trennzeichen" }, 572{ "Delimiter","Trennzeichen" },
573{ "Comma","Komma" }, 573{ "Comma","Komma" },
574{ "Semicolon","Semikolon" }, 574{ "Semicolon","Semikolon" },
575{ "Tabulator","Tabulator" }, 575{ "Tabulator","Tabulator" },
576{ "Space","Leerzeichen" }, 576{ "Space","Leerzeichen" },
577{ "1","1" }, 577{ "1","1" },
578{ """,""" }, 578{ """,""" },
579{ "'","'" }, 579{ "'","'" },
580{ "Start at line:","Beginne mit Zeile:" }, 580{ "Start at line:","Beginne mit Zeile:" },
581{ "Textquote:","Textquote:" }, 581{ "Textquote:","Textquote:" },
582{ "Ignore duplicate delimiters","Ignoriere doppelte Trennzeichen" }, 582{ "Ignore duplicate delimiters","Ignoriere doppelte Trennzeichen" },
583{ "Import KDE 2 Addressbook","Importiere KDE 2 Addressbook" }, 583{ "Import KDE 2 Addressbook","Importiere KDE 2 Addressbook" },
584{ "Override previously imported entries?","Überschreibe bereits importierte Einträge?" }, 584{ "Override previously imported entries?","Überschreibe bereits importierte Einträge?" },
585{ "Select vCard to Import","Selektiere zu importierende vCard" }, 585{ "Select vCard to Import","Selektiere zu importierende vCard" },
586{ "Information","Information" }, 586{ "Information","Information" },
587{ "contacts successfully imported.","Kontakte erfolgreich importiert." }, 587{ "contacts successfully imported.","Kontakte erfolgreich importiert." },
588{ "Import xml file","Importiere xml Datei" }, 588{ "Import xml file","Importiere xml Datei" },
589{ "Choose contact selection","Wähle Kontakt Auswahl" }, 589{ "Choose contact selection","Wähle Kontakt Auswahl" },
590{ "Select the entire address book","Wähle das ganze Adressbuch" }, 590{ "Select the entire address book","Wähle das ganze Adressbuch" },
591{ "Only contacts selected in KAddressBook.\nThis option is disabled if no contacts are selected.","Nur in KA/Pi selektierte Kontate.\nDiese Option ist nicht verfügbar\nwhen keine Kontakte selektiert sind." }, 591{ "Only contacts selected in KAddressBook.\nThis option is disabled if no contacts are selected.","Nur in KA/Pi selektierte Kontate.\nDiese Option ist nicht verfügbar\nwhen keine Kontakte selektiert sind." },
592{ "Only contacts matching the selected filter.\nThis option is disabled if you haven't defined any filters","Nur Kontakte die auf den Filter zutreffen.\nDiese Option ist nicht verfügbar, wenn keine Filter definiert sind." }, 592{ "Only contacts matching the selected filter.\nThis option is disabled if you haven't defined any filters","Nur Kontakte die auf den Filter zutreffen.\nDiese Option ist nicht verfügbar, wenn keine Filter definiert sind." },
593{ "Only contacts who are members of a category that is checked on the list to the left.\nThis option is disabled if you have no categories.","Nur Kontakte die Mitglieder der Kategirien sind,\die links selektiert sind.\nDiese Option ist nicht verfügbar, wenn es keine Kategirien gibt." }, 593{ "Only contacts who are members of a category that is checked on the list to the left.\nThis option is disabled if you have no categories.","Nur Kontakte die Mitglieder der Kategirien sind,\die links selektiert sind.\nDiese Option ist nicht verfügbar, wenn es keine Kategirien gibt." },
594{ "Select a filter to decide which contacts to select.","Selektiere einen Filter um festzulegen welche Kontakte ausgewählt werden sollen." }, 594{ "Select a filter to decide which contacts to select.","Selektiere einen Filter um festzulegen welche Kontakte ausgewählt werden sollen." },
595{ "Check the categories whose members you want to select.","Setzte die Kategorien, dessen Mitglieder Sie auswählen möchten." }, 595{ "Check the categories whose members you want to select.","Setzte die Kategorien, dessen Mitglieder Sie auswählen möchten." },
596{ "I/O device: ","I/O device: " }, 596{ "I/O device: ","I/O device: " },
597{ "Connection: ","Connection: " }, 597{ "Connection: ","Connection: " },
598{ "Model(opt.): ","Model(opt.): " }, 598{ "Model(opt.): ","Model(opt.): " },
599{ "Exporting to phone...","Exportiere aufs Handy..." }, 599{ "Exporting to phone...","Exportiere aufs Handy..." },
600{ "Error exporting to phone","Fehler beim Export aufs Handy" }, 600{ "Error exporting to phone","Fehler beim Export aufs Handy" },
601{ "contacts successfully exported.","Kontakte erfolgreich exportiert." }, 601{ "contacts successfully exported.","Kontakte erfolgreich exportiert." },
602{ "Do you want to remove<br>all existing entries from<br>%1<br>before exporting.?","Wollen Sie<br>alle existieren Einträge von<br>%1<br>vor dem Export entfernen?" }, 602{ "Do you want to remove<br>all existing entries from<br>%1<br>before exporting.?","Wollen Sie<br>alle existieren Einträge von<br>%1<br>vor dem Export entfernen?" },
603{ "Set formatted name","Setze formatierten Namen" }, 603{ "Set formatted name","Setze formatierten Namen" },
604{ "You can set the formatted name\nfor a list of contacts in one go.","Sie können den formatierten Namen für\nein Liste von Kontakten auf einmal setzen." }, 604{ "You can set the formatted name\nfor a list of contacts in one go.","Sie können den formatierten Namen für\nein Liste von Kontakten auf einmal setzen." },
605{ "Set formatted name to:","Setze formatierten Name auf:" }, 605{ "Set formatted name to:","Setze formatierten Name auf:" },
606{ "Simple: James Bond","Einfach: James Bond" }, 606{ "Simple: James Bond","Einfach: James Bond" },
607{ "Full: Mr. James 007 Bond I","Voll: Mr. James 007 Bond I" }, 607{ "Full: Mr. James 007 Bond I","Voll: Mr. James 007 Bond I" },
608{ "Reverse: Bond, James","Umgekehrt: Bond, James" }, 608{ "Reverse: Bond, James","Umgekehrt: Bond, James" },
609{ "Organization: MI6","Organisation: MI6" }, 609{ "Organization: MI6","Organisation: MI6" },
610{ "Set formatted name to\norganization, if name empty","Setze formatierten Namen auf\nOrganisation, wenn Name leer ist." }, 610{ "Set formatted name to\norganization, if name empty","Setze formatierten Namen auf\nOrganisation, wenn Name leer ist." },
611{ "Select contact list","Selektiere Kontakt Liste" }, 611{ "Select contact list","Selektiere Kontakt Liste" },
612{ "Changing contact #%1","Ändere Kontakt #%1" }, 612{ "Changing contact #%1","Ändere Kontakt #%1" },
613{ "Refreshing view...","Lade Ansicht neu..." }, 613{ "Refreshing view...","Lade Ansicht neu..." },
614{ "Setting formatted name completed!","Setzen vom formatierten Namen beendet!" }, 614{ "Setting formatted name completed!","Setzen vom formatierten Namen beendet!" },
615{ "Removing voice...","Entferne voice..." }, 615{ "Removing voice...","Entferne voice..." },
616{ "Remove voice completed!","Entferne voice beendet!" }, 616{ "Remove voice completed!","Entferne voice beendet!" },
617{ "Merge with existing categories?","Zu bestehenden\nKategorien hinzufügen?" }, 617{ "Merge with existing categories?","Zu bestehenden\nKategorien hinzufügen?" },
618{ "Setting categories ... please wait!","Setze Kategorien ... bitte warten!" }, 618{ "Setting categories ... please wait!","Setze Kategorien ... bitte warten!" },
619{ "Setting categories completed!","Setzen der Kategorien beendet!" }, 619{ "Setting categories completed!","Setzen der Kategorien beendet!" },
620{ "OK","OK" }, 620{ "OK","OK" },
621{ "Please wait, processing categories...","Bitte warten, bearbeite Kategorien..." }, 621{ "Please wait, processing categories...","Bitte warten, bearbeite Kategorien..." },
622{ "Processing contact #%1","Bearbeite Kontakt #%1" }, 622{ "Processing contact #%1","Bearbeite Kontakt #%1" },
623{ " categories added to list! "," Kategorien zur Liste hinzugefügt! " }, 623{ " categories added to list! "," Kategorien zur Liste hinzugefügt! " },
624{ "%1: %2","%1: %2" }, 624{ "%1: %2","%1: %2" },
625{ "Your personal contact is\nnot set! Please select it\nand set it with menu:\nSettings - Set Who Am I\n","Ihr persönlicher Kontakt ist\nnicht gesetzt! Bitte selektieren Sie\nihn und setzen ihn mit Menu:\nKonfiguration - Setze wer bin ich\n" }, 625{ "Your personal contact is\nnot set! Please select it\nand set it with menu:\nSettings - Set Who Am I\n","Ihr persönlicher Kontakt ist\nnicht gesetzt! Bitte selektieren Sie\nihn und setzen ihn mit Menu:\nKonfiguration - Setze wer bin ich\n" },
626{ "<qt>Do you really want to use <b>%1</b> as your new personal contact?</qt>","<qt>Wollen Sie wirklich<br><b>%1</b><br>als persönlichen Kontakt setzent?</qt>" }, 626{ "<qt>Do you really want to use <b>%1</b> as your new personal contact?</qt>","<qt>Wollen Sie wirklich<br><b>%1</b><br>als persönlichen Kontakt setzent?</qt>" },
627{ "Cut","Ausschneiden" }, 627{ "Cut","Ausschneiden" },
628{ "Paste","Einfügen" }, 628{ "Paste","Einfügen" },
629{ "Delete","Löschen" }, 629{ "Delete","Löschen" },
630{ "Choose...","Wähle..." }, 630{ "Choose...","Wähle..." },
631{ "Add View","Ansicht hinzufügen" }, 631{ "Add View","Ansicht hinzufügen" },
632{ "View name:","Ansicht Name:" }, 632{ "View name:","Ansicht Name:" },
633{ "View Type","Ainsicht Typ" }, 633{ "View Type","Ainsicht Typ" },
634{ "Icons represent contacts. Very simple view.","Icons repräsentieren Kontakte. Sehr einfache Ansicht." }, 634{ "Icons represent contacts. Very simple view.","Icons repräsentieren Kontakte. Sehr einfache Ansicht." },
635{ "A listing of contacts in a table. Each cell of the table holds a field of the contact.","Eine Kontaktliste in einer Tabelle." }, 635{ "A listing of contacts in a table. Each cell of the table holds a field of the contact.","Eine Kontaktliste in einer Tabelle." },
636{ "Rolodex style cards represent contacts.","Rolodex Stil Karten repräsentieren Kontakte." }, 636{ "Rolodex style cards represent contacts.","Rolodex Stil Karten repräsentieren Kontakte." },
637{ "Draw &separators","Zeichne &Trennlinie" }, 637{ "Draw &separators","Zeichne &Trennlinie" },
638{ "Separator &width:","Trennlinien &Breite:" }, 638{ "Separator &width:","Trennlinien &Breite:" },
639{ "&Padding:","Füllung:" }, 639{ "&Padding:","Füllung:" },
640{ "Cards","Karten" }, 640{ "Cards","Karten" },
641{ "&Margin:","&Rand:" }, 641{ "&Margin:","&Rand:" },
642{ "Draw &borders","Zeichne Ränder" }, 642{ "Draw &borders","Zeichne Ränder" },
643{ "The item margin is the distance (in pixels) between the item edge and the item data. Most noticeably, incrementing the item margin will add space between the focus rectangle and the item data.","The item margin is the distance (in pixels) between the item edge and the item data. Most noticeably, incrementing the item margin will add space between the focus rectangle and the item data." }, 643{ "The item margin is the distance (in pixels) between the item edge and the item data. Most noticeably, incrementing the item margin will add space between the focus rectangle and the item data.","The item margin is the distance (in pixels) between the item edge and the item data. Most noticeably, incrementing the item margin will add space between the focus rectangle and the item data." },
644{ "The Item Spacing decides the distance (in pixels) between the items and anything else: the view borders, other items or column separators.","The Item Spacing decides the distance (in pixels) between the items and anything else: the view borders, other items or column separators." }, 644{ "The Item Spacing decides the distance (in pixels) between the items and anything else: the view borders, other items or column separators.","The Item Spacing decides the distance (in pixels) between the items and anything else: the view borders, other items or column separators." },
645{ "Sets the width of column separators","Sets the width of column separators" }, 645{ "Sets the width of column separators","Sets the width of column separators" },
646{ "&Layout","&Layout" }, 646{ "&Layout","&Layout" },
647{ "Show &empty fields","Zeige leere Felder" }, 647{ "Show &empty fields","Zeige leere Felder" },
648{ "Show field &labels","Zeige Feld Label" }, 648{ "Show field &labels","Zeige Feld Label" },
649{ "Be&havior","Ver&halten" }, 649{ "Be&havior","Ver&halten" },
650{ "Header, Border and Separator Color","Kopf, Rand und Trennlinien Farbe" }, 650{ "Header, Border and Separator Color","Kopf, Rand und Trennlinien Farbe" },
651{ "<qt>Are you sure that you want to delete the view <b>%1</b>?</qt>","<qt>Sind Sie sicher, dass Sie die Ansicht <b>%1</b> löschen möchten?</qt>" }, 651{ "<qt>Are you sure that you want to delete the view <b>%1</b>?</qt>","<qt>Sind Sie sicher, dass Sie die Ansicht <b>%1</b> löschen möchten?</qt>" },
652{ "Confirm Delete","Bestätige Löschen" }, 652{ "Confirm Delete","Bestätige Löschen" },
653{ "Edit Address Book Filter","Editiere Adressbuch Filter" }, 653{ "Edit Address Book Filter","Editiere Adressbuch Filter" },
654{ "Category rule","Kategorie Regel" }, 654{ "Category rule","Kategorie Regel" },
655{ "Include categories","Inklusive" }, 655{ "Include categories","Inklusive" },
656{ "Exclude categories","Exclusive" }, 656{ "Exclude categories","Exclusive" },
657{ "Include contacts, that are:","Schließe folgende Kontakte ein:" }, 657{ "Include contacts, that are:","Schließe folgende Kontakte ein:" },
658{ "public","Öffentlich" }, 658{ "public","Öffentlich" },
659{ "private","Privat" }, 659{ "private","Privat" },
660{ "confidential","Vertraulich" }, 660{ "confidential","Vertraulich" },
661{ "Configure Resources","Konfiguriere Resourcen" }, 661{ "Configure Resources","Konfiguriere Resourcen" },
662{ "Resource Configuration","Resource Konfiguration" }, 662{ "Resource Configuration","Resource Konfiguration" },
663{ "Resources","Resourcen" }, 663{ "Resources","Resourcen" },
664{ "Standard","Standard" }, 664{ "Standard","Standard" },
665{ "&Use as Standard","Setze als Standard" }, 665{ "&Use as Standard","Setze als Standard" },
666{ "Select type of the new resource:","Selektiere Typ der neuen Resource:" }, 666{ "Select type of the new resource:","Selektiere Typ der neuen Resource:" },
667{ "General Settings","Allgemeine Einstellungen" }, 667{ "General Settings","Allgemeine Einstellungen" },
668{ "Read-only","Nur-Lesen" }, 668{ "Read-only","Nur-Lesen" },
669{ "Include in sync","Schließe in Sync mit ein" }, 669{ "Include in sync","Schließe in Sync mit ein" },
670{ "%1 Resource Settings","%1 Resource Einstellungen" }, 670{ "%1 Resource Settings","%1 Resource Einstellungen" },
671{ "Format:","Format:" }, 671{ "Format:","Format:" },
672{ "Location:","Ort:" }, 672{ "Location:","Ort:" },
673{ "Full Menu bar (restart)","Volle Menu Leiste (Neustart!)" }, 673{ "Full Menu bar (restart)","Volle Menu Leiste (Neustart!)" },
674{ "Language","Sprache" }, 674{ "Language","Sprache" },
675{ "Time Format","Zeit Format" }, 675{ "Time Format","Zeit Format" },
676{ "Time Zone","Zeit Zone" }, 676{ "Time Zone","Zeit Zone" },
677{ "Data storage path","Daten Speicherpfad" }, 677{ "Data storage path","Daten Speicherpfad" },
678{ "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" }, 678{ "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" },
679{ "<b>New data storage dir:</b>","<b>Neues Datenspeicherverzeichnis:</b>" }, 679{ "<b>New data storage dir:</b>","<b>Neues Datenspeicherverzeichnis:</b>" },
680{ "New dirs are created automatically","Neue Verzeichnisse werden aut. erstellt" }, 680{ "New dirs are created automatically","Neue Verzeichnisse werden aut. erstellt" },
681{ "Save settings","Speichere Einstellungen" }, 681{ "Save settings","Speichere Einstellungen" },
682{ "Save standard","Speichere Standard" }, 682{ "Save standard","Speichere Standard" },
683{ "Save","Speichern" }, 683{ "Save","Speichern" },
684{ "<b>New settings are used\nafter a restart</b>","<b>Neue Einstellungen werden nach\neinem Neustart genutzt</b>" }, 684{ "<b>New settings are used\nafter a restart</b>","<b>Neue Einstellungen werden nach\neinem Neustart genutzt</b>" },
685{ "Settings are stored in\n%1","Einstellungen werden gespeichert in:\n%1" }, 685{ "Settings are stored in\n%1","Einstellungen werden gespeichert in:\n%1" },
686{ "Multiple Sync options","Multi Sync Optionen" }, 686{ "Multiple Sync options","Multi Sync Optionen" },
687{ "Sync algo options","Sync Ablauf Optionen" }, 687{ "Sync algo options","Sync Ablauf Optionen" },
688{ "Apply filter when adding data to local:","Filter für das Hinzufügen von Daten zu Lokal:" }, 688{ "Apply filter when adding data to local:","Filter für das Hinzufügen von Daten zu Lokal:" },
689{ "Incoming calendar filter:","Eingehender Kalender Filter:" }, 689{ "Incoming calendar filter:","Eingehender Kalender Filter:" },
690{ "Incoming addressbook filter:","Eingehender Adressbuch Filter:" }, 690{ "Incoming addressbook filter:","Eingehender Adressbuch Filter:" },
691{ "Write back options","Optionen zum Zurückschreiben" }, 691{ "Write back options","Optionen zum Zurückschreiben" },
692{ "Write back (on remote) existing entries only","Schreibe nur existierende (auf Entfernt) Einträge zurück" }, 692{ "Write back (on remote) existing entries only","Schreibe nur existierende (auf Entfernt) Einträge zurück" },
693{ "Apply filter when adding data to remote:","Filter für das Hinzufügen von Daten zu Entfernt:" }, 693{ "Apply filter when adding data to remote:","Filter für das Hinzufügen von Daten zu Entfernt:" },
694{ "Outgoing calendar filter:","Ausgehender Kalender Filter:" }, 694{ "Outgoing calendar filter:","Ausgehender Kalender Filter:" },
695{ "Outgoing addressbook filter:","Ausgehender Adressbuch Filter:" }, 695{ "Outgoing addressbook filter:","Ausgehender Adressbuch Filter:" },
696{ "Write back (calendar) entries for time period only","Schreibe nur Kalender Einträge für Zeitspanne zurück" }, 696{ "Write back (calendar) entries for time period only","Schreibe nur Kalender Einträge für Zeitspanne zurück" },
697{ "Time period","Zeitspanne" }, 697{ "Time period","Zeitspanne" },
698{ "From ","Von " }, 698{ "From ","Von " },
699{ " weeks in the past to "," Wochen in der Vergangenheit bis zu " }, 699{ " weeks in the past to "," Wochen in der Vergangenheit bis zu " },
700{ " weeks in the future "," Wochen in der Zukunft " }, 700{ " weeks in the future "," Wochen in der Zukunft " },
701{ "Profile kind specific settings","Profil Art abhängige Einstellungen" }, 701{ "Profile kind specific settings","Profil Art abhängige Einstellungen" },
702{ "Local temp file:","Lokale temp Datei:" }, 702{ "Local temp file:","Lokale temp Datei:" },
703{ "Multiple profiles with same name!\nPlease use unique profile names!","Mehrere Profile mit demselben Namen!\nBitte verschiedene Namen benutzen!" }, 703{ "Multiple profiles with same name!\nPlease use unique profile names!","Mehrere Profile mit demselben Namen!\nBitte verschiedene Namen benutzen!" },
704{ "Aborted! Nothing synced!","Abgebrochen! Nichts wurde gesynct!" }, 704{ "Aborted! Nothing synced!","Abgebrochen! Nichts wurde gesynct!" },
705{ "You cannot remove your standard resource!\n Please select a new standard resource first.","Standard Resource kann\nnicht entfernt werden!\nBitte eine andere Resource\nals Standard setzen." }, 705{ "You cannot remove your standard resource!\n Please select a new standard resource first.","Standard Resource kann\nnicht entfernt werden!\nBitte eine andere Resource\nals Standard setzen." },
706{ "Sorry","Tut mir leid" }, 706{ "Sorry","Tut mir leid" },
707{ "You cannot use a read-only<br> resource as standard!","Man kann nicht eine read-only<br> Resource als Standard setzen!" }, 707{ "You cannot use a read-only<br> resource as standard!","Man kann nicht eine read-only<br> Resource als Standard setzen!" },
708{ "Please restart to get the \nchanged resources (re)loaded!\n","Bitte starten Sie jetzt\ndas Programm neu, um die geänderten\nResourcen neu zu laden!\n" }, 708{ "Please restart to get the \nchanged resources (re)loaded!\n","Bitte starten Sie jetzt\ndas Programm neu, um die geänderten\nResourcen neu zu laden!\n" },
709{ "The selected file does not\ninclude a valid vCard.\nPlease check the file and try again.\n","Die gewählte Datei enthält\nkeine gültige vCard.\nBitte prüfen Sie die Datei\nund versuchen es erneut.\n" }, 709{ "The selected file does not\ninclude a valid vCard.\nPlease check the file and try again.\n","Die gewählte Datei enthält\nkeine gültige vCard.\nBitte prüfen Sie die Datei\nund versuchen es erneut.\n" },
710{ "Unable to load resource '%1'","Resource kann nicht geladen werden: '%1'" }, 710{ "Unable to load resource '%1'","Resource kann nicht geladen werden: '%1'" },
711{ "Some changes are only\neffective after a restart!\n","Einige Änderungen werden erst\nnach einem Neustart übernommen!\n" }, 711{ "Some changes are only\neffective after a restart!\n","Einige Änderungen werden erst\nnach einem Neustart übernommen!\n" },
712{ "Syncing aborted. Nothing synced.","Syncing abgebrochen.Nichts wurde gesynct." }, 712{ "Syncing aborted. Nothing synced.","Syncing abgebrochen.Nichts wurde gesynct." },
713{ "Connected! Sending request for remote file ...","Verbunden! Sende Daten Anfrage..." }, 713{ "Connected! Sending request for remote file ...","Verbunden! Sende Daten Anfrage..." },
714{ "Trying to connect to remote...","Versuche mit Gegenstelle zu verbinden..." }, 714{ "Trying to connect to remote...","Versuche mit Gegenstelle zu verbinden..." },
715{ "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?" }, 715{ "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?" },
716{ "ERROR: Receiving remote file failed.","FEHLER: Empfang der entfernten Daten fehlgeschlagen." }, 716{ "ERROR: Receiving remote file failed.","FEHLER: Empfang der entfernten Daten fehlgeschlagen." },
717{ "Error","Fehler" }, 717{ "Error","Fehler" },
718{ ""You entered an invalid date!\n Date changed to current date.","Ungültiges Datum eingegeben.\nSetze heutiges Datum." }, 718{ ""You entered an invalid date!\n Date changed to current date.","Ungültiges Datum eingegeben.\nSetze heutiges Datum." },
719{ "You entered an invalid date!\n Will use current date instead.","Ungültiges Datum eingegeben.\nSetze stattdessen heutiges Datum." }, 719{ "You entered an invalid date!\n Will use current date instead.","Ungültiges Datum eingegeben.\nSetze stattdessen heutiges Datum." },
720{ "Warning","Warnung" }, 720{ "Warning","Warnung" },
721{ "Select week number","Wähle Wochen Nummer" }, 721{ "Select week number","Wähle Wochen Nummer" },
722{ "Februar","Februar" }, 722{ "Februar","Februar" },
723{ "Pi-Sync options for device: ","Pi-Sync Einstellungen für Gerät: " }, 723{ "Pi-Sync options for device: ","Pi-Sync Einstellungen für Gerät: " },
724{ "Password for remote access:","Passwort für fernen Zugriff:" }, 724{ "Password for remote access:","Passwort für fernen Zugriff:" },
725{ "Remote IP address:","Ferne IP Adresse:" }, 725{ "Remote IP address:","Ferne IP Adresse:" },
726{ "Remote port number:","Ferne Port Nummer:" }, 726{ "Remote port number:","Ferne Port Nummer:" },
727{ "Remote file saved to temp file.","Ferne Daten in temp Datei gespeichert." }, 727{ "Remote file saved to temp file.","Ferne Daten in temp Datei gespeichert." },
728{ "Remote from: ","Fern von: " }, 728{ "Remote from: ","Fern von: " },
729{ "Local from: ","Lokal von: " }, 729{ "Local from: ","Lokal von: " },
730{ "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" }, 730{ "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" },
731{ "Local calendar changed!\n","Lokaler Kalender geändert!\n" }, 731{ "Local calendar changed!\n","Lokaler Kalender geändert!\n" },
732{ "Write back","Schreibe zurück" }, 732{ "Write back","Schreibe zurück" },
733{ "Pi-Sync succesful!","Pi-Sync erfolgreich!" }, 733{ "Pi-Sync succesful!","Pi-Sync erfolgreich!" },
734{ "Received sync request","Sync Anfrage erhalten" }, 734{ "Received sync request","Sync Anfrage erhalten" },
735{ "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." }, 735{ "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." },
736{ "Saving Data to temp file ...","Speichere Daten in temp Datei..." }, 736{ "Saving Data to temp file ...","Speichere Daten in temp Datei..." },
737{ "Data saved to temp file!","Daten in temp Datei gespeichert!" }, 737{ "Data saved to temp file!","Daten in temp Datei gespeichert!" },
738{ "Sending file...","Sende Datei..." }, 738{ "Sending file...","Sende Datei..." },
739{ "Waiting for synced file...","Warte auf gesyncte Daten..." }, 739{ "Waiting for synced file...","Warte auf gesyncte Daten..." },
740{ "Receiving synced file...","Gesyncte Daten erhalten..." }, 740{ "Receiving synced file...","Gesyncte Daten erhalten..." },
741{ "Received %1 bytes","%1 Bytes erhalten" }, 741{ "Received %1 bytes","%1 Bytes erhalten" },
742{ "Writing file to disk...","Speichere Datei..." }, 742{ "Writing file to disk...","Speichere Datei..." },
743{ "Pi-Sync successful!","Pi-Sync erfolgreich!" }, 743{ "Pi-Sync successful!","Pi-Sync erfolgreich!" },
744{ "Clock skew of\nsyncing devices\nis %1 seconds!","Uhrzeitunterschied der\nsyncenden Geräte\nist %1 Sekunden!" }, 744{ "Clock skew of\nsyncing devices\nis %1 seconds!","Uhrzeitunterschied der\nsyncenden Geräte\nist %1 Sekunden!" },
745{ "Synchronize!","Synchronisiere!" }, 745{ "Synchronize!","Synchronisiere!" },
746{ "High clock skew!","Großer Uhrzeitunterschied!" }, 746{ "High clock skew!","Großer Uhrzeitunterschied!" },
747{ "ADJUST\nYOUR\nCLOCKS!","JUSTIERE\nDIE\nUHREN!" }, 747{ "ADJUST\nYOUR\nCLOCKS!","JUSTIERE\nDIE\nUHREN!" },
748{ "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!" }, 748{ "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!" },
749{ "Change search field enable jump bar","Ändere Suchfeld um Jumpbar anzuzeigen" }, 749{ "Change search field enable jump bar","Ändere Suchfeld um Jumpbar anzuzeigen" },
750{ "Search with '*' prefix (wildcard)","Suche mit '*' Prefix (Wildcard)" }, 750{ "Search with '*' prefix (wildcard)","Suche mit '*' Prefix (Wildcard)" },
751{ "Shrink searchfield in portrait view","Verkleinere Suchfeld im Portraitmodus" }, 751{ "Shrink searchfield in portrait view","Verkleinere Suchfeld im Portraitmodus" },
752{ "Edit new contact","Bearbeite neuen Kontakt" }, 752{ "Edit new contact","Bearbeite neuen Kontakt" },
753{ "Edit ","Bearbeite " }, 753{ "Edit ","Bearbeite " },
754{ "No contact changed!","Kein Kontakt verändert" }, 754{ "No contact changed!","Kein Kontakt verändert" },
755{ "%1 contacts changed!","%1 Kontakte geändert!" }, 755{ "%1 contacts changed!","%1 Kontakte geändert!" },
756{ "Mobile (home)","Handy (Arbeit)" }, 756{ "Mobile (home)","Handy (Arbeit)" },
757{ "Mobile (work)","Handy (Privat)" }, 757{ "Mobile (work)","Handy (Privat)" },
758{ "Def.Formatted Name","Def. Format. Name" }, 758{ "Def.Formatted Name","Def. Format. Name" },
759{ "Colors","Farben" }, 759{ "Colors","Farben" },
760{ "Alternating background of list views","Abwechselnder Hintergrund für Listen" }, 760{ "Alternating background of list views","Abwechselnder Hintergrund für Listen" },
761{ "Backup enabled","Backup angeschaltet" },
762{ "Use standard backup dir","Standard Backupverzeichnis" },
763{ "Number of Backups:","Anzahl der Backups" },
764{ "Make backup every ","Mache ein Backup alle " },
765{ " days"," Tage" },
761{ "","" }, 766{ "","" },
762{ "","" }, 767{ "","" },
763{ "","" }, 768{ "","" },
764{ "","" }, \ No newline at end of file 769{ "","" }, \ No newline at end of file
diff --git a/bin/kdepim/pwmanager/germantranslation.txt b/bin/kdepim/pwmanager/germantranslation.txt
index a50dd04..38896fb 100644
--- a/bin/kdepim/pwmanager/germantranslation.txt
+++ b/bin/kdepim/pwmanager/germantranslation.txt
@@ -1,362 +1,367 @@
1{ " Local Time","Ortszeit" }, 1{ " Local Time","Ortszeit" },
2{ "Default","Standard" }, 2{ "Default","Standard" },
3{ "Configure...","Konfigurieren..." }, 3{ "Configure...","Konfigurieren..." },
4{ "Remove sync info","Entferne Sync Info" }, 4{ "Remove sync info","Entferne Sync Info" },
5{ "For all profiles","Für alle Profile" }, 5{ "For all profiles","Für alle Profile" },
6{ "Enable Pi-Sync","Aktiviere Pi-Sync" }, 6{ "Enable Pi-Sync","Aktiviere Pi-Sync" },
7{ "Multiple sync","Multi Sync" }, 7{ "Multiple sync","Multi Sync" },
8{ "&Save","&Speichern" }, 8{ "&Save","&Speichern" },
9{ "&Print...","Drucken..." }, 9{ "&Print...","Drucken..." },
10{ "&File","Datei" }, 10{ "&File","Datei" },
11{ "&Edit","Bearbeite" }, 11{ "&Edit","Bearbeite" },
12{ "&View","Ansicht" }, 12{ "&View","Ansicht" },
13{ "&Help","Hilfe" }, 13{ "&Help","Hilfe" },
14{ "Description","Beschreibungen" }, 14{ "Description","Beschreibungen" },
15{ "URL","URL" }, 15{ "URL","URL" },
16{ "Name:","Name:" }, 16{ "Name:","Name:" },
17{ "Documents","Dokumente" }, 17{ "Documents","Dokumente" },
18{ "Files","Dateien" }, 18{ "Files","Dateien" },
19{ "All Files","Alle Dateien" }, 19{ "All Files","Alle Dateien" },
20{ "Name","Name" }, 20{ "Name","Name" },
21{ "Size","Größe" }, 21{ "Size","Größe" },
22{ "Date","Datum" }, 22{ "Date","Datum" },
23{ "Mime Type","Mime Typ" }, 23{ "Mime Type","Mime Typ" },
24{ "Ok","Ok" }, 24{ "Ok","Ok" },
25{ "Cancel","Abbrechen" }, 25{ "Cancel","Abbrechen" },
26{ "1","1" }, 26{ "1","1" },
27{ "Synchronization Preferences","Einstellungen der Synchronisationsprofile" }, 27{ "Synchronization Preferences","Einstellungen der Synchronisationsprofile" },
28{ "Local device name:","Name dieses Gerätes:" }, 28{ "Local device name:","Name dieses Gerätes:" },
29{ "New profile","Neues Profil" }, 29{ "New profile","Neues Profil" },
30{ "Clone profile","Klone Profil" }, 30{ "Clone profile","Klone Profil" },
31{ "Delete profile","Lösche Profil" }, 31{ "Delete profile","Lösche Profil" },
32{ "Profile:","Profil:" }, 32{ "Profile:","Profil:" },
33{ "Multiple Sync options","Multi Sync Optionen" }, 33{ "Multiple Sync options","Multi Sync Optionen" },
34{ "Include in multiple ","Beziehe in mehrfach " }, 34{ "Include in multiple ","Beziehe in mehrfach " },
35{ "calendar ","Kalender " }, 35{ "calendar ","Kalender " },
36{ "addressbook ","Adressbuch " }, 36{ "addressbook ","Adressbuch " },
37{ "pwmanager","PWmanager" }, 37{ "pwmanager","PWmanager" },
38{ " sync"," Sync ein" }, 38{ " sync"," Sync ein" },
39{ "Sync algo options","Sync Ablauf Optionen" }, 39{ "Sync algo options","Sync Ablauf Optionen" },
40{ "Ask for preferences before sync","Frage nach Synchronisationseinstellungen vor dem Syncen" }, 40{ "Ask for preferences before sync","Frage nach Synchronisationseinstellungen vor dem Syncen" },
41{ "Sync preferences","Synchronisations Einstellungen" }, 41{ "Sync preferences","Synchronisations Einstellungen" },
42{ "Take local entry on conflict","Nimm lokalen Eintrag beim Konflikt" }, 42{ "Take local entry on conflict","Nimm lokalen Eintrag beim Konflikt" },
43{ "Take remote entry on conflict","Nimm fernen Eintrag beim Konflikt" }, 43{ "Take remote entry on conflict","Nimm fernen Eintrag beim Konflikt" },
44{ "Take newest entry on conflict","Nimm neuesten Eintrag beim Konflikt" }, 44{ "Take newest entry on conflict","Nimm neuesten Eintrag beim Konflikt" },
45{ "Ask for every entry on conflict","Frage bei Konflikten nach" }, 45{ "Ask for every entry on conflict","Frage bei Konflikten nach" },
46{ "Force: Take local entry always","Erzwinge: Nimm immer lokalen Eintrag" }, 46{ "Force: Take local entry always","Erzwinge: Nimm immer lokalen Eintrag" },
47{ "Force: Take remote entry always","Erzwinge: Nimm immer fernen Eintrag" }, 47{ "Force: Take remote entry always","Erzwinge: Nimm immer fernen Eintrag" },
48{ "Show summary after sync","Zeige Zusammenfassung nach dem Synchronisieren" }, 48{ "Show summary after sync","Zeige Zusammenfassung nach dem Synchronisieren" },
49{ "Apply filter when adding data to local:","Filter für das Hinzufügen von Daten zu Lokal:" }, 49{ "Apply filter when adding data to local:","Filter für das Hinzufügen von Daten zu Lokal:" },
50{ "Incoming calendar filter:","Eingehender Kalender Filter:" }, 50{ "Incoming calendar filter:","Eingehender Kalender Filter:" },
51{ "Incoming addressbook filter:","Eingehender Adressbuch Filter:" }, 51{ "Incoming addressbook filter:","Eingehender Adressbuch Filter:" },
52{ "Write back synced data","Schreibe gesyncte Daten zurück" }, 52{ "Write back synced data","Schreibe gesyncte Daten zurück" },
53{ "Write back options","Optionen zum Zurückschreiben" }, 53{ "Write back options","Optionen zum Zurückschreiben" },
54{ "Write back (on remote) existing entries only","Schreibe nur existierende (auf Entfernt) Einträge zurück" }, 54{ "Write back (on remote) existing entries only","Schreibe nur existierende (auf Entfernt) Einträge zurück" },
55{ "Apply filter when adding data to remote:","Filter für das Hinzufügen von Daten zu Entfernt:" }, 55{ "Apply filter when adding data to remote:","Filter für das Hinzufügen von Daten zu Entfernt:" },
56{ "Outgoing calendar filter:","Ausgehender Kalender Filter:" }, 56{ "Outgoing calendar filter:","Ausgehender Kalender Filter:" },
57{ "Outgoing addressbook filter:","Ausgehender Adressbuch Filter:" }, 57{ "Outgoing addressbook filter:","Ausgehender Adressbuch Filter:" },
58{ "Write back (calendar) entries for time period only","Schreibe nur Kalender Einträge für Zeitspanne zurück" }, 58{ "Write back (calendar) entries for time period only","Schreibe nur Kalender Einträge für Zeitspanne zurück" },
59{ "Time period","Zeitspanne" }, 59{ "Time period","Zeitspanne" },
60{ "From ","Von " }, 60{ "From ","Von " },
61{ " weeks in the past to "," Wochen in der Vergangenheit bis zu " }, 61{ " weeks in the past to "," Wochen in der Vergangenheit bis zu " },
62{ " weeks in the future "," Wochen in der Zukunft " }, 62{ " weeks in the future "," Wochen in der Zukunft " },
63{ "Profile kind","Profil Art" }, 63{ "Profile kind","Profil Art" },
64{ "Local file","Lokale Datei" }, 64{ "Local file","Lokale Datei" },
65{ "Pi-Sync ( direct Kx/Pi to Kx/Pi sync )","Pi-Sync ( direktes Kx/Pi zu Kx/Pi sync )" }, 65{ "Pi-Sync ( direct Kx/Pi to Kx/Pi sync )","Pi-Sync ( direktes Kx/Pi zu Kx/Pi sync )" },
66{ "Remote file (w down/upload command)","Entfernte Datei (via down/upload Kommando)" }, 66{ "Remote file (w down/upload command)","Entfernte Datei (via down/upload Kommando)" },
67{ "Mobile device (cell phone)","Mobiles Gerät (Handy)" }, 67{ "Mobile device (cell phone)","Mobiles Gerät (Handy)" },
68{ "Profile kind specific settings","Profil Art abhängige Einstellungen" }, 68{ "Profile kind specific settings","Profil Art abhängige Einstellungen" },
69{ "I/O device: ","I/O device: " }, 69{ "I/O device: ","I/O device: " },
70{ "Help...","Hilfe..." }, 70{ "Help...","Hilfe..." },
71{ "Connection: ","Connection: " }, 71{ "Connection: ","Connection: " },
72{ "Model(opt.): ","Model(opt.): " }, 72{ "Model(opt.): ","Model(opt.): " },
73{ "Local file Cal:","Lokale Datei Kal:" }, 73{ "Local file Cal:","Lokale Datei Kal:" },
74{ "Local file ABook:","Lokale Datei ABuch:" }, 74{ "Local file ABook:","Lokale Datei ABuch:" },
75{ "Local file PWMgr:","Lokale Datei PWMgr:" }, 75{ "Local file PWMgr:","Lokale Datei PWMgr:" },
76{ "Choose...","Wähle..." }, 76{ "Choose...","Wähle..." },
77{ "Addressbook file (*.vcf) is used by KA/Pi","Adressbuch Datei (*.vcf) wird von KA/Pi genutzt" }, 77{ "Addressbook file (*.vcf) is used by KA/Pi","Adressbuch Datei (*.vcf) wird von KA/Pi genutzt" },
78{ "Calendar:","Kalender:" }, 78{ "Calendar:","Kalender:" },
79{ "AddressBook:","AdressBuch:" }, 79{ "AddressBook:","AdressBuch:" },
80{ "PWManager:","PWManager:" }, 80{ "PWManager:","PWManager:" },
81{ "Pre sync (download) command:","Bevor Sync (download) Kommando:" }, 81{ "Pre sync (download) command:","Bevor Sync (download) Kommando:" },
82{ "Local temp file:","Lokale temp Datei:" }, 82{ "Local temp file:","Lokale temp Datei:" },
83{ "Post sync (upload) command:","Nach Sync (upload) Kommando:" }, 83{ "Post sync (upload) command:","Nach Sync (upload) Kommando:" },
84{ "Addressbook file is used by KA/Pi","Adressbuch Datei wird von KA/Pi genutzt" }, 84{ "Addressbook file is used by KA/Pi","Adressbuch Datei wird von KA/Pi genutzt" },
85{ "Fill in default values for:","Setze Beispiel Werte ein für:" }, 85{ "Fill in default values for:","Setze Beispiel Werte ein für:" },
86{ "ssh/scp","ssh/scp" }, 86{ "ssh/scp","ssh/scp" },
87{ "ftp","ftp" }, 87{ "ftp","ftp" },
88{ "Hint: Use $PWD$ for placeholder of password!","Hinweis: Benutze $PWD$ als Platzhalter für ein Passwort!" }, 88{ "Hint: Use $PWD$ for placeholder of password!","Hinweis: Benutze $PWD$ als Platzhalter für ein Passwort!" },
89{ "Password for remote access: (could be the same for each)","Passwort für entfernten Zugriff: (kann dasselbe sein für alle)" }, 89{ "Password for remote access: (could be the same for each)","Passwort für entfernten Zugriff: (kann dasselbe sein für alle)" },
90{ "Remote IP address: (could be the same for each)","Entfernte IP Adresse: (kann dasselbe sein für alle)" }, 90{ "Remote IP address: (could be the same for each)","Entfernte IP Adresse: (kann dasselbe sein für alle)" },
91{ "Remote port number: (should be different for each)","Entfernte Port Nummer: (Sollte für alle unterschiedlich sein)" }, 91{ "Remote port number: (should be different for each)","Entfernte Port Nummer: (Sollte für alle unterschiedlich sein)" },
92{ "command for downloading remote file to local device","Kommando zum Download der entfernten Datei zum lokalen Gerät" }, 92{ "command for downloading remote file to local device","Kommando zum Download der entfernten Datei zum lokalen Gerät" },
93{ "command for uploading local temp file to remote device","Kommando zum Upload der lokalen temp. Datei zum entfernten Gerät" }, 93{ "command for uploading local temp file to remote device","Kommando zum Upload der lokalen temp. Datei zum entfernten Gerät" },
94{ "No Filter","Kein Filter" }, 94{ "No Filter","Kein Filter" },
95{ "KO/Pi config error","KO/Pi Konfig. Fehler" }, 95{ "KO/Pi config error","KO/Pi Konfig. Fehler" },
96{ "Local device name undefined!\nPlease define device name!","Name dieses Gerätes undefiniert!\nBitte Namen angeben!" }, 96{ "Local device name undefined!\nPlease define device name!","Name dieses Gerätes undefiniert!\nBitte Namen angeben!" },
97{ "Multiple profiles with same name!\nPlease use unique profile names!","Mehrere Profile mit demselben Namen!\nBitte verschiedene Namen benutzen!" }, 97{ "Multiple profiles with same name!\nPlease use unique profile names!","Mehrere Profile mit demselben Namen!\nBitte verschiedene Namen benutzen!" },
98{ "Configure","Konfiguriere" }, 98{ "Configure","Konfiguriere" },
99{ "Apply","Anwenden" }, 99{ "Apply","Anwenden" },
100{ "None","Kein" }, 100{ "None","Kein" },
101{ "Global","Allgemein" }, 101{ "Global","Allgemein" },
102{ "Email","E-Mail" }, 102{ "Email","E-Mail" },
103{ "Phone","Telefon" }, 103{ "Phone","Telefon" },
104{ "SMS","SMS" }, 104{ "SMS","SMS" },
105{ "Fax","Fax" }, 105{ "Fax","Fax" },
106{ "Pager","Pager" }, 106{ "Pager","Pager" },
107{ "SIP","SIP" }, 107{ "SIP","SIP" },
108{ "Language:(needs restart)","Sprache:(Neustart)" }, 108{ "Language:(needs restart)","Sprache:(Neustart)" },
109{ "English","English" }, 109{ "English","English" },
110{ "German","Deutsch" }, 110{ "German","Deutsch" },
111{ "French","Französisch" }, 111{ "French","Französisch" },
112{ "Italian","Italienisch" }, 112{ "Italian","Italienisch" },
113{ "User defined (usertranslation.txt)","Benutzerdef. (usertranslation.txt)" }, 113{ "User defined (usertranslation.txt)","Benutzerdef. (usertranslation.txt)" },
114{ "Language","Sprache" }, 114{ "Language","Sprache" },
115{ "Time Format(nr):","Zeit Format(nr):" }, 115{ "Time Format(nr):","Zeit Format(nr):" },
116{ "24:00","24:00" }, 116{ "24:00","24:00" },
117{ "12:00am","12:00am" }, 117{ "12:00am","12:00am" },
118{ "Week starts on Sunday","Woche beginnt Sonntags" }, 118{ "Week starts on Sunday","Woche beginnt Sonntags" },
119{ "Time Format","Zeit Format" }, 119{ "Time Format","Zeit Format" },
120{ "Date Format:","Datums Format:" }, 120{ "Date Format:","Datums Format:" },
121{ "24.03.2004 (%d.%m.%Y|%A %d %B %Y)","24.03.2004 (%d.%m.%Y|%A %d %B %Y)" }, 121{ "24.03.2004 (%d.%m.%Y|%A %d %B %Y)","24.03.2004 (%d.%m.%Y|%A %d %B %Y)" },
122{ "03.24.2004 (%m.%d.%Y|%A %B %d %Y)","03.24.2004 (%m.%d.%Y|%A %B %d %Y)" }, 122{ "03.24.2004 (%m.%d.%Y|%A %B %d %Y)","03.24.2004 (%m.%d.%Y|%A %B %d %Y)" },
123{ "2004-03-24 (%Y-%m-%d|%A %Y %B %d)","2004-03-24 (%Y-%m-%d|%A %Y %B %d)" }, 123{ "2004-03-24 (%Y-%m-%d|%A %Y %B %d)","2004-03-24 (%Y-%m-%d|%A %Y %B %d)" },
124{ "User defined","Benutzerdefiniert" }, 124{ "User defined","Benutzerdefiniert" },
125{ "User long date:","Format langes Datum:" }, 125{ "User long date:","Format langes Datum:" },
126{ "User short date:","Format kurzes Datum:" }, 126{ "User short date:","Format kurzes Datum:" },
127{ "Monday 19 April 2004: %A %d %B %Y","Monday 19 April 2004: %A %d %B %Y" }, 127{ "Monday 19 April 2004: %A %d %B %Y","Monday 19 April 2004: %A %d %B %Y" },
128{ "Mon 19.04.04: %a %d.%m.%y","Mon 19.04.04: %a %d.%m.%y" }, 128{ "Mon 19.04.04: %a %d.%m.%y","Mon 19.04.04: %a %d.%m.%y" },
129{ "Mon, 19.Apr.04: %a, %d.%b.%y","Mon, 19.Apr.04: %a, %d.%b.%y" }, 129{ "Mon, 19.Apr.04: %a, %d.%b.%y","Mon, 19.Apr.04: %a, %d.%b.%y" },
130{ "Date Format","Datums Format" }, 130{ "Date Format","Datums Format" },
131{ "Timezone:","Zeitzone:" }, 131{ "Timezone:","Zeitzone:" },
132{ "Add 30 min to selected Timezone","Addiere 30 min zur Zeitzone" }, 132{ "Add 30 min to selected Timezone","Addiere 30 min zur Zeitzone" },
133{ "Timezone has daylight saving","Zeitzone hat Sommerzeit" }, 133{ "Timezone has daylight saving","Zeitzone hat Sommerzeit" },
134{ "Actual start and end is the\nsunday before this date.","Tatsächlicher Beginn/Ende ist der\nSonntag vor diesem Datum!" }, 134{ "Actual start and end is the\nsunday before this date.","Tatsächlicher Beginn/Ende ist der\nSonntag vor diesem Datum!" },
135{ "The year in the date is ignored.","Das Jahr vom Datum wird ignoriert." }, 135{ "The year in the date is ignored.","Das Jahr vom Datum wird ignoriert." },
136{ "Daylight start:","Sommerzeit Start:" }, 136{ "Daylight start:","Sommerzeit Start:" },
137{ "Mon","Mo" }, 137{ "Mon","Mo" },
138{ "Tue","Di" }, 138{ "Tue","Di" },
139{ "Wed","Mi" }, 139{ "Wed","Mi" },
140{ "Thu","Do" }, 140{ "Thu","Do" },
141{ "Fri","Fr" }, 141{ "Fri","Fr" },
142{ "Sat","Sa" }, 142{ "Sat","Sa" },
143{ "Sun","So" }, 143{ "Sun","So" },
144{ "January","Januar" }, 144{ "January","Januar" },
145{ "February","Februar" }, 145{ "February","Februar" },
146{ "March","März" }, 146{ "March","März" },
147{ "April","April" }, 147{ "April","April" },
148{ "May","Mai" }, 148{ "May","Mai" },
149{ "June","Juni" }, 149{ "June","Juni" },
150{ "July","July" }, 150{ "July","July" },
151{ "August","August" }, 151{ "August","August" },
152{ "September","September" }, 152{ "September","September" },
153{ "October","October" }, 153{ "October","October" },
154{ "November","November" }, 154{ "November","November" },
155{ "December","Dezember" }, 155{ "December","Dezember" },
156{ "tomorrow","Morgen" }, 156{ "tomorrow","Morgen" },
157{ "today","Heute" }, 157{ "today","Heute" },
158{ "yesterday","Gestern" }, 158{ "yesterday","Gestern" },
159{ "Monday","Montag" }, 159{ "Monday","Montag" },
160{ "Tuesday","Dienstag" }, 160{ "Tuesday","Dienstag" },
161{ "Wednesday","Mittwoch" }, 161{ "Wednesday","Mittwoch" },
162{ "Thursday","Donnerstag" }, 162{ "Thursday","Donnerstag" },
163{ "Friday","Freitag" }, 163{ "Friday","Freitag" },
164{ "Saturday","Samstag" }, 164{ "Saturday","Samstag" },
165{ "Sunday","Sonntag" }, 165{ "Sunday","Sonntag" },
166{ "Daylight end:","Sommerzeit Ende:" }, 166{ "Daylight end:","Sommerzeit Ende:" },
167{ "Time Zone","Zeit Zone" }, 167{ "Time Zone","Zeit Zone" },
168{ "Used Mail Client","Benutzter Mail Client" }, 168{ "Used Mail Client","Benutzter Mail Client" },
169{ "Channel:","Channel:" }, 169{ "Channel:","Channel:" },
170{ "Message:","Message:" }, 170{ "Message:","Message:" },
171{ "Parameters:","Parameter:" }, 171{ "Parameters:","Parameter:" },
172{ "HINT: Delimiter=; Name=%1,Email=%2","Hinweis: Begrenzer=; Name=%1,Email=%2" }, 172{ "HINT: Delimiter=; Name=%1,Email=%2","Hinweis: Begrenzer=; Name=%1,Email=%2" },
173{ "extra Message:","extra Message:" }, 173{ "extra Message:","extra Message:" },
174{ "extra Parameters:","extra Parameter:" }, 174{ "extra Parameters:","extra Parameter:" },
175{ "HINT: Emails=%1,Attachments=%2","Hinweis: Emails=%1,Attachments=%2" }, 175{ "HINT: Emails=%1,Attachments=%2","Hinweis: Emails=%1,Attachments=%2" },
176{ "External Apps.","Externe Appl." }, 176{ "External Apps.","Externe Appl." },
177{ "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" }, 177{ "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" },
178{ "<b>New data storage dir:</b>","<b>Neues Datenspeicherverzeichnis:</b>" }, 178{ "<b>New data storage dir:</b>","<b>Neues Datenspeicherverzeichnis:</b>" },
179{ "New dirs are created automatically","Neue Verzeichnisse werden aut. erstellt" }, 179{ "New dirs are created automatically","Neue Verzeichnisse werden aut. erstellt" },
180{ "Save settings","Speichere Einstellungen" }, 180{ "Save settings","Speichere Einstellungen" },
181{ "Save standard","Speichere Standard" }, 181{ "Save standard","Speichere Standard" },
182{ "<b>New settings are used\nafter a restart</b>","<b>Neue Einstellungen werden nach\neinem Neustart genutzt</b>" }, 182{ "<b>New settings are used\nafter a restart</b>","<b>Neue Einstellungen werden nach\neinem Neustart genutzt</b>" },
183{ "Settings are stored in\n%1","Einstellungen werden gespeichert in:\n%1" }, 183{ "Settings are stored in\n%1","Einstellungen werden gespeichert in:\n%1" },
184{ "Data storage path","Daten Speicherpfad" }, 184{ "Data storage path","Daten Speicherpfad" },
185{ "Used %1 Client","Benutzer %1 Client" }, 185{ "Used %1 Client","Benutzer %1 Client" },
186{ "No email client installed","Keine Email Client installiert" }, 186{ "No email client installed","Keine Email Client installiert" },
187{ "Userdefined email client","Benutzerdef. Email Client" }, 187{ "Userdefined email client","Benutzerdef. Email Client" },
188{ "OM/Pi email client","OM/Pi Email Client" }, 188{ "OM/Pi email client","OM/Pi Email Client" },
189{ "URL:","URL:" }, 189{ "URL:","URL:" },
190{ "No","Nein" }, 190{ "No","Nein" },
191{ "Yes","Ja" }, 191{ "Yes","Ja" },
192{ "Untitled","Unbenannt" }, 192{ "Untitled","Unbenannt" },
193{ "&New","&Neu" }, 193{ "&New","&Neu" },
194{ "&Open","&Öffne" }, 194{ "&Open","&Öffne" },
195{ "&Close","Schließen" }, 195{ "&Close","Schließen" },
196{ "Save &as...","Speichere &als..." }, 196{ "Save &as...","Speichere &als..." },
197{ "&Text-file...","&Text-Datei..." }, 197{ "&Text-file...","&Text-Datei..." },
198{ "&Gpasman / Kpasman ...","&Gpasman / Kpasman ..." }, 198{ "&Gpasman / Kpasman ...","&Gpasman / Kpasman ..." },
199{ "&CSV (Comma Separated Value) ...","&CSV (Komma getrennte Werte) ..." }, 199{ "&CSV (Comma Separated Value) ...","&CSV (Komma getrennte Werte) ..." },
200{ "E&xport","E&xport" }, 200{ "E&xport","E&xport" },
201{ "I&mport","I&mport" }, 201{ "I&mport","I&mport" },
202{ "&Quit","Beenden" }, 202{ "&Quit","Beenden" },
203{ "&Add password","&Passwort hinzufügen" }, 203{ "&Add password","&Passwort hinzufügen" },
204{ "&Delete","Lösche" }, 204{ "&Delete","Lösche" },
205{ "Change &Master Password","Ändere &Master Passwort" }, 205{ "Change &Master Password","Ändere &Master Passwort" },
206{ "&Manage","Verwalte" }, 206{ "&Manage","Verwalte" },
207{ "&Find","&Finde" }, 207{ "&Find","&Finde" },
208{ "&Lock all entries","Sperre alle Einträge" }, 208{ "&Lock all entries","Sperre alle Einträge" },
209{ "&Deep-lock all entries","Sperre total alle Einträge" }, 209{ "&Deep-lock all entries","Sperre total alle Einträge" },
210{ "&Unlock all entries","Entsperre alle Einträge" }, 210{ "&Unlock all entries","Entsperre alle Einträge" },
211{ "&Configure...","Konfiguriere..." }, 211{ "&Configure...","Konfiguriere..." },
212{ "&Options","Konfig" }, 212{ "&Options","Konfig" },
213{ "C&ategories...","K&ategorien..." }, 213{ "C&ategories...","K&ategorien..." },
214{ "&Sync","&Sync" }, 214{ "&Sync","&Sync" },
215{ "&License","&Lizenz" }, 215{ "&License","&Lizenz" },
216{ "&Faq","&Faq" }, 216{ "&Faq","&Faq" },
217{ "&About PwManager","Über PwManager" }, 217{ "&About PwManager","Über PwManager" },
218{ "&Sync HowTo","&Sync HowTo" }, 218{ "&Sync HowTo","&Sync HowTo" },
219{ "&What's New","Was ist neu?" }, 219{ "&What's New","Was ist neu?" },
220{ "New","Neu" }, 220{ "New","Neu" },
221{ "Open","Öffnen" }, 221{ "Open","Öffnen" },
222{ "Save","Speichern" }, 222{ "Save","Speichern" },
223{ "Save as","Speichern als" }, 223{ "Save as","Speichern als" },
224{ "Print...","Drucke..." }, 224{ "Print...","Drucke..." },
225{ "Add password","Passwort hinzufügen" }, 225{ "Add password","Passwort hinzufügen" },
226{ "Edit password","Passwort ändern" }, 226{ "Edit password","Passwort ändern" },
227{ "Delete password","Passwort löschen" }, 227{ "Delete password","Passwort löschen" },
228{ "Find entry","Finde Eintrag" }, 228{ "Find entry","Finde Eintrag" },
229{ "Lock all entries","Sperre alle Einträge" }, 229{ "Lock all entries","Sperre alle Einträge" },
230{ "Deep-Lock all entries","Sperre total alle Einträge" }, 230{ "Deep-Lock all entries","Sperre total alle Einträge" },
231{ "Unlock all entries","Entsperre alle Einträge" }, 231{ "Unlock all entries","Entsperre alle Einträge" },
232{ "Categories:","Kategorien:" }, 232{ "Categories:","Kategorien:" },
233{ "&Rename","&Umbenennen" }, 233{ "&Rename","&Umbenennen" },
234{ "Username","Benutzername" }, 234{ "Username","Benutzername" },
235{ "Password","Passwort" }, 235{ "Password","Passwort" },
236{ "Launcher","Launcher" }, 236{ "Launcher","Launcher" },
237{ "copy password to clipboard","Kopiere Passwort ins Clipboard" }, 237{ "copy password to clipboard","Kopiere Passwort ins Clipboard" },
238{ "copy username to clipboard","Kopiere Benutzername ins Clipboard" }, 238{ "copy username to clipboard","Kopiere Benutzername ins Clipboard" },
239{ "copy description to clipboard","Kopiere Beschreibung ins Clipboard" }, 239{ "copy description to clipboard","Kopiere Beschreibung ins Clipboard" },
240{ "copy url to clipboard","Kopiere URL ins Clipboard" }, 240{ "copy url to clipboard","Kopiere URL ins Clipboard" },
241{ "copy launcher to clipboard","Kopiere Launcher ins Clipboard" }, 241{ "copy launcher to clipboard","Kopiere Launcher ins Clipboard" },
242{ "copy comment to clipboard","Kopiere Kommentare ins Clipboard" }, 242{ "copy comment to clipboard","Kopiere Kommentare ins Clipboard" },
243{ "Execute "Launcher"",""Launcher" ausführen" }, 243{ "Execute "Launcher"",""Launcher" ausführen" },
244{ "Go to "URL"","Gehe zu "URL"" }, 244{ "Go to "URL"","Gehe zu "URL"" },
245{ "Ready.","Fertig." }, 245{ "Ready.","Fertig." },
246{ "password filename(*.pwm)","passwort dateiname(*.pwm)" }, 246{ "password filename(*.pwm)","passwort dateiname(*.pwm)" },
247{ "File error","Datei Fehler" }, 247{ "File error","Datei Fehler" },
248{ "Could not read file!","Kann Datei nicht lesen!" }, 248{ "Could not read file!","Kann Datei nicht lesen!" },
249{ "Master-password","Master-Passwort" }, 249{ "Master-password","Master-Passwort" },
250{ "Please enter the master-password:","Bitter Master-Passwort eingeben:" }, 250{ "Please enter the master-password:","Bitter Master-Passwort eingeben:" },
251{ "Wrong master-password!\nPlease try again.","Falsches Master-Passwort!\nBitte erneut versuchen." }, 251{ "Wrong master-password!\nPlease try again.","Falsches Master-Passwort!\nBitte erneut versuchen." },
252{ "password error","Passwort Fehler" }, 252{ "password error","Passwort Fehler" },
253{ "Successfully opened file.","Datei erfolgreich geöffnet." }, 253{ "Successfully opened file.","Datei erfolgreich geöffnet." },
254{ "DEEP-LOCKED","TOTAL-GESPERRT" }, 254{ "DEEP-LOCKED","TOTAL-GESPERRT" },
255{ "This file is DEEP-LOCKED!\nThat means all data has been encrypted\nand written out to the file. If you want\nto see the entries, please UNLOCK the file.\nWhile unlocking, you will be prompted for the\nmaster-password or the key-card.","Diese Datei ist TOTAL-GESPERRT!\nDas bedeutet, dass alle Daten verschlüsselt\nsind und in die Datei geschrieben wurden.\nWenn Sie die Einträge sehen möchten\nENTSPERREN Sie bitte die Datei.\nZum Entsperren werden Sie nach\ndem Master-Passwort gefragt." }, 255{ "This file is DEEP-LOCKED!\nThat means all data has been encrypted\nand written out to the file. If you want\nto see the entries, please UNLOCK the file.\nWhile unlocking, you will be prompted for the\nmaster-password or the key-card.","Diese Datei ist TOTAL-GESPERRT!\nDas bedeutet, dass alle Daten verschlüsselt\nsind und in die Datei geschrieben wurden.\nWenn Sie die Einträge sehen möchten\nENTSPERREN Sie bitte die Datei.\nZum Entsperren werden Sie nach\ndem Master-Passwort gefragt." },
256{ "<LOCKED>","<GESPERRT>" }, 256{ "<LOCKED>","<GESPERRT>" },
257{ "To unlock click the icon on the left.","Zum Entsperren auf linkes Icon klicken." }, 257{ "To unlock click the icon on the left.","Zum Entsperren auf linkes Icon klicken." },
258{ "PwManager","PwManager" }, 258{ "PwManager","PwManager" },
259{ "Window-style:","Window-Stil:" }, 259{ "Window-style:","Window-Stil:" },
260{ "Category on top","Kategorien oben" }, 260{ "Category on top","Kategorien oben" },
261{ "Category-list left/top","Kategorien links oben" }, 261{ "Category-list left/top","Kategorien links oben" },
262{ "Font for Password entries:","Schrift für Passwort Einträge:" }, 262{ "Font for Password entries:","Schrift für Passwort Einträge:" },
263{ "Font for Password summary:","Schrift für Passwort Übersicht:" }, 263{ "Font for Password summary:","Schrift für Passwort Übersicht:" },
264{ "Font:","Schriftart:" }, 264{ "Font:","Schriftart:" },
265{ "Summary","Übersicht" }, 265{ "Summary","Übersicht" },
266{ "Compression:","Kompression:" }, 266{ "Compression:","Kompression:" },
267{ "gzip","gzip" }, 267{ "gzip","gzip" },
268{ "Encryption:","Verschlüsselung:" }, 268{ "Encryption:","Verschlüsselung:" },
269{ "Blowfish (128 bit)","Blowfish (128 bit)" }, 269{ "Blowfish (128 bit)","Blowfish (128 bit)" },
270{ "AES-128, Rijndael (128 bit)","AES-128, Rijndael (128 bit)" }, 270{ "AES-128, Rijndael (128 bit)","AES-128, Rijndael (128 bit)" },
271{ "AES-192, Rijndael (192 bit)","AES-192, Rijndael (192 bit)" }, 271{ "AES-192, Rijndael (192 bit)","AES-192, Rijndael (192 bit)" },
272{ "AES-256, Rijndael (256 bit)","AES-256, Rijndael (256 bit)" }, 272{ "AES-256, Rijndael (256 bit)","AES-256, Rijndael (256 bit)" },
273{ "Triple-DES (168 bit)","Triple-DES (168 bit)" }, 273{ "Triple-DES (168 bit)","Triple-DES (168 bit)" },
274{ "Twofish (256 bit)","Twofish (256 bit)" }, 274{ "Twofish (256 bit)","Twofish (256 bit)" },
275{ "Twofish-128 (128 bit)","Twofish-128 (128 bit)" }, 275{ "Twofish-128 (128 bit)","Twofish-128 (128 bit)" },
276{ "Hashing:","Hashing:" }, 276{ "Hashing:","Hashing:" },
277{ "SHA-160, SHA1 (160 bit)","SHA-160, SHA1 (160 bit)" }, 277{ "SHA-160, SHA1 (160 bit)","SHA-160, SHA1 (160 bit)" },
278{ "SHA-256 (256 bit)","SHA-256 (256 bit)" }, 278{ "SHA-256 (256 bit)","SHA-256 (256 bit)" },
279{ "SHA-384 (384 bit)","SHA-384 (384 bit)" }, 279{ "SHA-384 (384 bit)","SHA-384 (384 bit)" },
280{ "SHA-512 (512 bit)","SHA-512 (512 bit)" }, 280{ "SHA-512 (512 bit)","SHA-512 (512 bit)" },
281{ "MD5 (128 bit)","MD5 (128 bit)" }, 281{ "MD5 (128 bit)","MD5 (128 bit)" },
282{ "RIPE-MD-160 (160 bit)","RIPE-MD-160 (160 bit)" }, 282{ "RIPE-MD-160 (160 bit)","RIPE-MD-160 (160 bit)" },
283{ "Tiger (192 bit)","Tiger (192 bit)" }, 283{ "Tiger (192 bit)","Tiger (192 bit)" },
284{ "Permissions:","Zugriffsrechte:" }, 284{ "Permissions:","Zugriffsrechte:" },
285{ "Make backup before saving","Mache Backup vor dem Speichern" }, 285{ "Make backup before saving","Mache Backup vor dem Speichern" },
286{ "Password timeout\n(timeout to hold password in\nmemory,so you don't have to\nre-enter it,if you\nalready have entered it)\n[set to 0 to disable]:","Passwort Timeout\n(Timeout um das Passwort\nim Speicher zu halten,\nso dass es nicht noch mal\neingegeben werden muß.)\n[Setze auf 0 zum deaktivieren]:" }, 286{ "Password timeout\n(timeout to hold password in\nmemory,so you don't have to\nre-enter it,if you\nalready have entered it)\n[set to 0 to disable]:","Passwort Timeout\n(Timeout um das Passwort\nim Speicher zu halten,\nso dass es nicht noch mal\neingegeben werden muß.)\n[Setze auf 0 zum deaktivieren]:" },
287{ "Auto-lock timeout\n(auto lock document after this\namount of seconds)\n[set to 0 to disable]:","(Total-)Sperr-Timeout\n(Sperre Dokument total nach\ndieser Anzahl Sekunden)\n[Setze auf 0 zum deaktivieren]:" }, 287{ "Auto-lock timeout\n(auto lock document after this\namount of seconds)\n[set to 0 to disable]:","(Total-)Sperr-Timeout\n(Sperre Dokument total nach\ndieser Anzahl Sekunden)\n[Setze auf 0 zum deaktivieren]:" },
288{ "deep-lock on autolock","Sperre total beim Sperr-Timeout" }, 288{ "deep-lock on autolock","Sperre total beim Sperr-Timeout" },
289{ "open deeplocked","Öffne total gesperrt" }, 289{ "open deeplocked","Öffne total gesperrt" },
290{ "Favourite browser:","Bevorzugter Browser:" }, 290{ "Favourite browser:","Bevorzugter Browser:" },
291{ "Favourite x-terminal:","Bevorzugtes x-terminal:" }, 291{ "Favourite x-terminal:","Bevorzugtes x-terminal:" },
292{ "Open document with passwords unlocked","Öffne Dokument mit Passwort ungesperrt" }, 292{ "Open document with passwords unlocked","Öffne Dokument mit Passwort ungesperrt" },
293{ "Look && feel","Aussehen" }, 293{ "Look && feel","Aussehen" },
294{ "File","Datei" }, 294{ "File","Datei" },
295{ "Timeout","Timeout" }, 295{ "Timeout","Timeout" },
296{ "Autostart","Autostart" }, 296{ "Autostart","Autostart" },
297{ "External apps","Externe Applik." }, 297{ "External apps","Externe Applik." },
298{ "Miscellaneous","Verschiedenes" }, 298{ "Miscellaneous","Verschiedenes" },
299{ "+01:00 Europe/Oslo(CET)","+01:00 Europe/Oslo(CET)" }, 299{ "+01:00 Europe/Oslo(CET)","+01:00 Europe/Oslo(CET)" },
300{ "edit category descriptions","Ändere Label für Kategorie" }, 300{ "edit category descriptions","Ändere Label für Kategorie" },
301{ "Close","Schließen" }, 301{ "Close","Schließen" },
302{ "Category:","Category:" }, 302{ "Category:","Category:" },
303{ "Text1 (Description):","Text1 (Beschreibung):" }, 303{ "Text1 (Description):","Text1 (Beschreibung):" },
304{ "Text2 (Username):","Text2 (Benutzername):" }, 304{ "Text2 (Username):","Text2 (Benutzername):" },
305{ "Text3 (Password):","Text3 (Passwort):" }, 305{ "Text3 (Password):","Text3 (Passwort):" },
306{ "edit/add a password entry","Ändere/hinzufüge Passwort Eintrag" }, 306{ "edit/add a password entry","Ändere/hinzufüge Passwort Eintrag" },
307{ "Description:","Beschreibung:" }, 307{ "Description:","Beschreibung:" },
308{ "Username:","Benutzername:" }, 308{ "Username:","Benutzername:" },
309{ "Password:","Passwort:" }, 309{ "Password:","Passwort:" },
310{ "&Reveal","&Offen zeigen" }, 310{ "&Reveal","&Offen zeigen" },
311{ "&Generate","&Generiere" }, 311{ "&Generate","&Generiere" },
312{ "&Password","&Passwort" }, 312{ "&Password","&Passwort" },
313{ "&Comments","Kommentar" }, 313{ "&Comments","Kommentar" },
314{ "Launcher:","Launcher:" }, 314{ "Launcher:","Launcher:" },
315{ "$d = Description","$d = Beschreibung" }, 315{ "$d = Description","$d = Beschreibung" },
316{ "$n = Username","$n = Benutzername" }, 316{ "$n = Username","$n = Benutzername" },
317{ "$c = Comment","$c = Kommentar" }, 317{ "$c = Comment","$c = Kommentar" },
318{ "$u = URL","$u = URL" }, 318{ "$u = URL","$u = URL" },
319{ "$p = Password","$p = Passwort" }, 319{ "$p = Password","$p = Passwort" },
320{ "&Launcher","&Launcher" }, 320{ "&Launcher","&Launcher" },
321{ "Password generator","Passwort Generator" }, 321{ "Password generator","Passwort Generator" },
322{ "Character set:","Buchstaben Set:" }, 322{ "Character set:","Buchstaben Set:" },
323{ "Lowercase (abc)","Klein (abc)" }, 323{ "Lowercase (abc)","Klein (abc)" },
324{ "Uppercase (ABC)","Groß (ABC)" }, 324{ "Uppercase (ABC)","Groß (ABC)" },
325{ "Numbers (123)","Nummmern (123)" }, 325{ "Numbers (123)","Nummmern (123)" },
326{ "Special characters:","Spezielle Buchstaben:" }, 326{ "Special characters:","Spezielle Buchstaben:" },
327{ "Spaces (blank characters)","Leerzeichen" }, 327{ "Spaces (blank characters)","Leerzeichen" },
328{ "User defined:","Benutzer definiert:" }, 328{ "User defined:","Benutzer definiert:" },
329{ "Password Length:","Passwort Länge:" }, 329{ "Password Length:","Passwort Länge:" },
330{ "Enable Filtering to get better passwords","Enable Filtering to get better passwords" }, 330{ "Enable Filtering to get better passwords","Enable Filtering to get better passwords" },
331{ "no password","Kein Passwort" }, 331{ "no password","Kein Passwort" },
332{ "Sorry, you haven't set a password.","Sorry, Sie haben kein Passwort angegeben." }, 332{ "Sorry, you haven't set a password.","Sorry, Sie haben kein Passwort angegeben." },
333{ "not saved, yet","not saved, yet" }, 333{ "not saved, yet","not saved, yet" },
334{ "Can't deep-lock, because the document\nhasn't been saved, yet. Please save\nto a file and try again.","Kann nicht tiefsperren, weil das\nDokument noch nicht gespeichert wurde.\nBitte speichern und noch einmal versuchen." }, 334{ "Can't deep-lock, because the document\nhasn't been saved, yet. Please save\nto a file and try again.","Kann nicht tiefsperren, weil das\nDokument noch nicht gespeichert wurde.\nBitte speichern und noch einmal versuchen." },
335{ "Find","Finde" }, 335{ "Find","Finde" },
336{ "&Exact match","Genaue Übereinstimmung" }, 336{ "&Exact match","Genaue Übereinstimmung" },
337{ "&Case sensitive","Großschrift abhängig" }, 337{ "&Case sensitive","Großschrift abhängig" },
338{ "Search in Column","Suche in Spalten" }, 338{ "Search in Column","Suche in Spalten" },
339{ "&Description","Beschreibung" }, 339{ "&Description","Beschreibung" },
340{ "C&omment","Kommentar" }, 340{ "C&omment","Kommentar" },
341{ "&Username","Benutzername" }, 341{ "&Username","Benutzername" },
342{ "U&RL","URL" }, 342{ "U&RL","URL" },
343{ "delete?","Löschen?" }, 343{ "delete?","Löschen?" },
344{ "Do you really want to delete\nthe selected entry","Wollen Sie wirklich\nden Eintrag löschen:" }, 344{ "Do you really want to delete\nthe selected entry","Wollen Sie wirklich\nden Eintrag löschen:" },
345{ "Save?","Speichern?" }, 345{ "Save?","Speichern?" },
346{ ""\nhas been modified.\nDo you want to save it?",""\nwurde geändert.\nMöchten Sie speichern?" }, 346{ ""\nhas been modified.\nDo you want to save it?",""\nwurde geändert.\nMöchten Sie speichern?" },
347{ "The list\n "","Die Liste\n "" }, 347{ "The list\n "","Die Liste\n "" },
348{ "nothing to do","Nichts zu tun" }, 348{ "nothing to do","Nichts zu tun" },
349{ "Sorry, there's nothing to save.\nPlease first add some passwords.","Sorry, es gibt nichts zu speichern.\nBitte erst Passwörter hinzufügen." }, 349{ "Sorry, there's nothing to save.\nPlease first add some passwords.","Sorry, es gibt nichts zu speichern.\nBitte erst Passwörter hinzufügen." },
350{ "Add new password","Passwort hinzufügen" }, 350{ "Add new password","Passwort hinzufügen" },
351{ "Successfully saved data.","Datei gespeichert." }, 351{ "Successfully saved data.","Datei gespeichert." },
352{ "Category:","Kategorie:" }, 352{ "Category:","Kategorie:" },
353{ "LOCKED","GESPERRT" }, 353{ "LOCKED","GESPERRT" },
354{ "Colors","Farben" }, 354{ "Colors","Farben" },
355{ "Alternating background of list views","Abwechselnder Hintergrund für Listen" }, 355{ "Alternating background of list views","Abwechselnder Hintergrund für Listen" },
356{ "Backup enabled","Backup angeschaltet" },
357{ "Use standard backup dir","Standard Backupverzeichnis" },
358{ "Number of Backups:","Anzahl der Backups" },
359{ "Make backup every ","Mache ein Backup alle " },
360{ " days"," Tage" },
356{ "","" }, 361{ "","" },
357{ "","" }, 362{ "","" },
358{ "","" }, 363{ "","" },
359{ "","" }, 364{ "","" },
360{ "","" }, 365{ "","" },
361{ "","" }, 366{ "","" },
362 367
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp
index 9ad0694..eed023c 100644
--- a/korganizer/mainwindow.cpp
+++ b/korganizer/mainwindow.cpp
@@ -234,2256 +234,2255 @@ MainWindow::MainWindow( QWidget *parent, const char *name, QString msg) :
234 if ( p->mToolBarHorN ) { 234 if ( p->mToolBarHorN ) {
235 if ( p->mToolBarUpN ) 235 if ( p->mToolBarUpN )
236 tbd = Bottom; 236 tbd = Bottom;
237 else 237 else
238 tbd = Top; 238 tbd = Top;
239 } 239 }
240 else { 240 else {
241 if ( p->mToolBarUpN ) 241 if ( p->mToolBarUpN )
242 tbd = Right; 242 tbd = Right;
243 else 243 else
244 tbd = Left; 244 tbd = Left;
245 } 245 }
246 navigatorToolBar = new QPEToolBar( this ); 246 navigatorToolBar = new QPEToolBar( this );
247 addToolBar (navigatorToolBar , tbd ); 247 addToolBar (navigatorToolBar , tbd );
248 } 248 }
249 249
250 250
251 251
252 mCalendarModifiedFlag = false; 252 mCalendarModifiedFlag = false;
253 QLabel* splash = new QLabel(i18n("KO/Pi is starting ... "), this ); 253 QLabel* splash = new QLabel(i18n("KO/Pi is starting ... "), this );
254 splash->setAlignment ( AlignCenter ); 254 splash->setAlignment ( AlignCenter );
255 setCentralWidget( splash ); 255 setCentralWidget( splash );
256#ifndef DESKTOP_VERSION 256#ifndef DESKTOP_VERSION
257 showMaximized(); 257 showMaximized();
258#endif 258#endif
259 259
260 //qDebug("Mainwidget x %d y %d w %d h %d", x(), y(), width(), height ()); 260 //qDebug("Mainwidget x %d y %d w %d h %d", x(), y(), width(), height ());
261 setDefaultPreferences(); 261 setDefaultPreferences();
262 mCalendar = new CalendarLocal(); 262 mCalendar = new CalendarLocal();
263 mView = new CalendarView( mCalendar, this,"mCalendar " ); 263 mView = new CalendarView( mCalendar, this,"mCalendar " );
264 mView->hide(); 264 mView->hide();
265 //mView->resize(splash->size() ); 265 //mView->resize(splash->size() );
266 initActions(); 266 initActions();
267 mSyncManager = new KSyncManager((QWidget*)this, (KSyncInterface*)mView, KSyncManager::KOPI, KOPrefs::instance(), syncMenu); 267 mSyncManager = new KSyncManager((QWidget*)this, (KSyncInterface*)mView, KSyncManager::KOPI, KOPrefs::instance(), syncMenu);
268 mSyncManager->setBlockSave(false); 268 mSyncManager->setBlockSave(false);
269 mView->setSyncManager(mSyncManager); 269 mView->setSyncManager(mSyncManager);
270#ifndef DESKTOP_VERSION 270#ifndef DESKTOP_VERSION
271 iconToolBar->show(); 271 iconToolBar->show();
272 qApp->processEvents(); 272 qApp->processEvents();
273#endif 273#endif
274 //qDebug("Splashwidget x %d y %d w %d h %d", splash-> x(), splash->y(), splash->width(),splash-> height ()); 274 //qDebug("Splashwidget x %d y %d w %d h %d", splash-> x(), splash->y(), splash->width(),splash-> height ());
275 int vh = height() ; 275 int vh = height() ;
276 int vw = width(); 276 int vw = width();
277 //qDebug("Toolbar hei %d ",iconToolBar->height() ); 277 //qDebug("Toolbar hei %d ",iconToolBar->height() );
278 if ( iconToolBar->orientation () == Qt:: Horizontal ) { 278 if ( iconToolBar->orientation () == Qt:: Horizontal ) {
279 vh -= iconToolBar->height(); 279 vh -= iconToolBar->height();
280 } else { 280 } else {
281 vw -= iconToolBar->height(); 281 vw -= iconToolBar->height();
282 } 282 }
283 //mView->setMaximumSize( splash->size() ); 283 //mView->setMaximumSize( splash->size() );
284 //mView->resize( splash->size() ); 284 //mView->resize( splash->size() );
285 //qDebug("MainView x %d y %d w %d h %d", mView->x(),mView-> y(), mView->width(), mView->height ()); 285 //qDebug("MainView x %d y %d w %d h %d", mView->x(),mView-> y(), mView->width(), mView->height ());
286 mView->readSettings(); 286 mView->readSettings();
287 bool newFile = false; 287 bool newFile = false;
288 if( !QFile::exists( defaultFileName() ) ) { 288 if( !QFile::exists( defaultFileName() ) ) {
289 QFileInfo finfo ( defaultFileName() ); 289 QFileInfo finfo ( defaultFileName() );
290 QString oldFile = QDir::convertSeparators( QDir::homeDirPath()+"/Applications/korganizer/mycalendar.ics"); 290 QString oldFile = QDir::convertSeparators( QDir::homeDirPath()+"/Applications/korganizer/mycalendar.ics");
291 QString message = "You are starting KO/Pi for the\nfirst time after updating to a\nversion >= 1.9.1. The location of the\ndefault calendar file has changed.\nA mycalendar.ics file was detected\nat the old location.\nThis file will be loaded now\nand stored at the new location!\n(Config file location has changed, too!)\nPlease read menu Help-What's New!\n"; 291 QString message = "You are starting KO/Pi for the\nfirst time after updating to a\nversion >= 1.9.1. The location of the\ndefault calendar file has changed.\nA mycalendar.ics file was detected\nat the old location.\nThis file will be loaded now\nand stored at the new location!\n(Config file location has changed, too!)\nPlease read menu Help-What's New!\n";
292 finfo.setFile( oldFile ); 292 finfo.setFile( oldFile );
293 if (finfo.exists() ) { 293 if (finfo.exists() ) {
294 KMessageBox::information( this, message); 294 KMessageBox::information( this, message);
295 mView->openCalendar( oldFile ); 295 mView->openCalendar( oldFile );
296 qApp->processEvents(); 296 qApp->processEvents();
297 } else { 297 } else {
298 oldFile = QDir::convertSeparators( QDir::homeDirPath()+"/korganizer/mycalendar.ics"); 298 oldFile = QDir::convertSeparators( QDir::homeDirPath()+"/korganizer/mycalendar.ics");
299 finfo.setFile( oldFile ); 299 finfo.setFile( oldFile );
300 if (finfo.exists() ) { 300 if (finfo.exists() ) {
301 KMessageBox::information( this, message); 301 KMessageBox::information( this, message);
302 mView->openCalendar( oldFile ); 302 mView->openCalendar( oldFile );
303 qApp->processEvents(); 303 qApp->processEvents();
304 } 304 }
305 } 305 }
306 mView->saveCalendar( defaultFileName() ); 306 mView->saveCalendar( defaultFileName() );
307 newFile = true; 307 newFile = true;
308 } 308 }
309 309
310 QTime neededSaveTime = QDateTime::currentDateTime().time(); 310 QTime neededSaveTime = QDateTime::currentDateTime().time();
311 mView->openCalendar( defaultFileName() ); 311 mView->openCalendar( defaultFileName() );
312 int msNeeded = neededSaveTime.msecsTo( QDateTime::currentDateTime().time() ); 312 int msNeeded = neededSaveTime.msecsTo( QDateTime::currentDateTime().time() );
313 qDebug("KO: Calendar loading time: %d ms",msNeeded ); 313 qDebug("KO: Calendar loading time: %d ms",msNeeded );
314 314
315 if ( KPimGlobalPrefs::instance()->mPreferredLanguage != KOPrefs::instance()->mOldLoadedLanguage ) { 315 if ( KPimGlobalPrefs::instance()->mPreferredLanguage != KOPrefs::instance()->mOldLoadedLanguage ) {
316 KOPrefs::instance()->setAllDefaults(); 316 KOPrefs::instance()->setAllDefaults();
317 int count = mView->addCategories(); 317 int count = mView->addCategories();
318 } 318 }
319 processIncidenceSelection( 0 ); 319 processIncidenceSelection( 0 );
320 connect( mView, SIGNAL( incidenceSelected( Incidence * ) ), 320 connect( mView, SIGNAL( incidenceSelected( Incidence * ) ),
321 SLOT( processIncidenceSelection( Incidence * ) ) ); 321 SLOT( processIncidenceSelection( Incidence * ) ) );
322 connect( mView, SIGNAL( modifiedChanged( bool ) ), 322 connect( mView, SIGNAL( modifiedChanged( bool ) ),
323 SLOT( slotModifiedChanged( bool ) ) ); 323 SLOT( slotModifiedChanged( bool ) ) );
324 324
325 325
326 connect( mView, SIGNAL( tempDisableBR(bool) ), 326 connect( mView, SIGNAL( tempDisableBR(bool) ),
327 SLOT( disableBR(bool) ) ); 327 SLOT( disableBR(bool) ) );
328 connect( &mSaveTimer, SIGNAL( timeout() ), SLOT( save() ) ); 328 connect( &mSaveTimer, SIGNAL( timeout() ), SLOT( save() ) );
329 mView->setModified( false ); 329 mView->setModified( false );
330 mBlockAtStartup = false; 330 mBlockAtStartup = false;
331 mView->setModified( false ); 331 mView->setModified( false );
332 setCentralWidget( mView ); 332 setCentralWidget( mView );
333 globalFlagBlockStartup = 0; 333 globalFlagBlockStartup = 0;
334 mView->show(); 334 mView->show();
335 delete splash; 335 delete splash;
336 if ( newFile ) 336 if ( newFile )
337 mView->updateConfig(); 337 mView->updateConfig();
338 // qApp->processEvents(); 338 // qApp->processEvents();
339 //qDebug("MainView x %d y %d w %d h %d", mView->x(),mView-> y(), mView->width(), mView->height ()); 339 //qDebug("MainView x %d y %d w %d h %d", mView->x(),mView-> y(), mView->width(), mView->height ());
340 //fillSyncMenu(); 340 //fillSyncMenu();
341 341
342 342
343 connect(mSyncManager , SIGNAL( save() ), this, SLOT( save() ) ); 343 connect(mSyncManager , SIGNAL( save() ), this, SLOT( save() ) );
344 connect(mView , SIGNAL( save() ), this, SLOT( save() ) ); 344 connect(mView , SIGNAL( save() ), this, SLOT( save() ) );
345 connect(mView , SIGNAL( saveStopTimer() ), this, SLOT( saveStopTimer() ) ); 345 connect(mView , SIGNAL( saveStopTimer() ), this, SLOT( saveStopTimer() ) );
346 connect(mSyncManager , SIGNAL( request_file() ), this, SLOT( syncFileRequest() ) ); 346 connect(mSyncManager , SIGNAL( request_file() ), this, SLOT( syncFileRequest() ) );
347 connect(mSyncManager , SIGNAL( getFile( bool )), this, SLOT(getFile( bool ) ) ); 347 connect(mSyncManager , SIGNAL( getFile( bool )), this, SLOT(getFile( bool ) ) );
348 mSyncManager->setDefaultFileName( sentSyncFile()); 348 mSyncManager->setDefaultFileName( sentSyncFile());
349 connect ( syncMenu, SIGNAL( activated ( int ) ), mSyncManager, SLOT (slotSyncMenu( int ) ) ); 349 connect ( syncMenu, SIGNAL( activated ( int ) ), mSyncManager, SLOT (slotSyncMenu( int ) ) );
350 mSyncManager->fillSyncMenu(); 350 mSyncManager->fillSyncMenu();
351 351
352 352
353 353
354 mView->viewManager()->agendaView()->setStartHour( KOPrefs::instance()->mDayBegins ); 354 mView->viewManager()->agendaView()->setStartHour( KOPrefs::instance()->mDayBegins );
355 if ( showWarning ) { 355 if ( showWarning ) {
356 KMessageBox::information( this, 356 KMessageBox::information( this,
357 "You are starting KO/Pi for the first time.\nPlease read menu: Help-What's New,\nif you did an update!\nPlease choose your timezone in the \nConfigure Dialog TAB Time Zone!\nPlease choose your language\nin the TAB Locale!\nYou get the Configure Dialog\nvia Menu: Actions - Configure....\nClick OK to show the Configure Dialog!\n", "KO/Pi information"); 357 "You are starting KO/Pi for the first time.\nPlease read menu: Help-What's New,\nif you did an update!\nPlease choose your timezone in the \nConfigure Dialog TAB Time Zone!\nPlease choose your language\nin the TAB Locale!\nYou get the Configure Dialog\nvia Menu: Actions - Configure....\nClick OK to show the Configure Dialog!\n", "KO/Pi information");
358 qApp->processEvents(); 358 qApp->processEvents();
359 mView->dialogManager()->showSyncOptions(); 359 mView->dialogManager()->showSyncOptions();
360 } 360 }
361 361
362 //US listen for result adressed from Ka/Pi 362 //US listen for result adressed from Ka/Pi
363#ifndef DESKTOP_VERSION 363#ifndef DESKTOP_VERSION
364 connect(qApp, SIGNAL (appMessage ( const QCString &, const QByteArray & )), ExternalAppHandler::instance(), SLOT (appMessage ( const QCString &, const QByteArray & ))); 364 connect(qApp, SIGNAL (appMessage ( const QCString &, const QByteArray & )), ExternalAppHandler::instance(), SLOT (appMessage ( const QCString &, const QByteArray & )));
365#endif 365#endif
366#ifndef DESKTOP_VERSION 366#ifndef DESKTOP_VERSION
367 infrared = 0; 367 infrared = 0;
368#endif 368#endif
369 updateFilterToolbar(); 369 updateFilterToolbar();
370 updateWeek( mView->startDate() ); 370 updateWeek( mView->startDate() );
371 connect( mView->dateNavigator(), SIGNAL( datesSelected( const KCal::DateList & ) ), 371 connect( mView->dateNavigator(), SIGNAL( datesSelected( const KCal::DateList & ) ),
372 SLOT( updateWeekNum( const KCal::DateList & ) ) ); 372 SLOT( updateWeekNum( const KCal::DateList & ) ) );
373 mBRdisabled = false; 373 mBRdisabled = false;
374 //toggleBeamReceive(); 374 //toggleBeamReceive();
375} 375}
376MainWindow::~MainWindow() 376MainWindow::~MainWindow()
377{ 377{
378 //qDebug("MainWindow::~MainWindow() "); 378 //qDebug("MainWindow::~MainWindow() ");
379 //save toolbar location 379 //save toolbar location
380 delete mCalendar; 380 delete mCalendar;
381 delete mSyncManager; 381 delete mSyncManager;
382#ifndef DESKTOP_VERSION 382#ifndef DESKTOP_VERSION
383 if ( infrared ) 383 if ( infrared )
384 delete infrared; 384 delete infrared;
385#endif 385#endif
386 386
387 387
388} 388}
389 389
390void MainWindow::disableBR(bool b) 390void MainWindow::disableBR(bool b)
391{ 391{
392#ifndef DESKTOP_VERSION 392#ifndef DESKTOP_VERSION
393 if ( b ) { 393 if ( b ) {
394 if ( infrared ) { 394 if ( infrared ) {
395 toggleBeamReceive(); 395 toggleBeamReceive();
396 mBRdisabled = true; 396 mBRdisabled = true;
397 } 397 }
398 mBRdisabled = true; 398 mBRdisabled = true;
399 } else { 399 } else {
400 if ( mBRdisabled ) { 400 if ( mBRdisabled ) {
401 mBRdisabled = false; 401 mBRdisabled = false;
402 //makes no sense,because other cal ap is probably running 402 //makes no sense,because other cal ap is probably running
403 // toggleBeamReceive(); 403 // toggleBeamReceive();
404 } 404 }
405 } 405 }
406#endif 406#endif
407 407
408} 408}
409bool MainWindow::beamReceiveEnabled() 409bool MainWindow::beamReceiveEnabled()
410{ 410{
411#ifndef DESKTOP_VERSION 411#ifndef DESKTOP_VERSION
412 return ( infrared != 0 ); 412 return ( infrared != 0 );
413#endif 413#endif
414 return false; 414 return false;
415} 415}
416 416
417void MainWindow::toggleBeamReceive() 417void MainWindow::toggleBeamReceive()
418{ 418{
419 if ( mBRdisabled ) 419 if ( mBRdisabled )
420 return; 420 return;
421#ifndef DESKTOP_VERSION 421#ifndef DESKTOP_VERSION
422 if ( infrared ) { 422 if ( infrared ) {
423 qDebug("KO: Disable BeamReceive "); 423 qDebug("KO: Disable BeamReceive ");
424 delete infrared; 424 delete infrared;
425 infrared = 0; 425 infrared = 0;
426 brAction->setOn(false); 426 brAction->setOn(false);
427 return; 427 return;
428 } 428 }
429 qDebug("KO: Enable BeamReceive "); 429 qDebug("KO: Enable BeamReceive ");
430 brAction->setOn(true); 430 brAction->setOn(true);
431 infrared = new QCopChannel("QPE/Application/datebook",this, "channel" ) ; 431 infrared = new QCopChannel("QPE/Application/datebook",this, "channel" ) ;
432 QObject::connect( infrared, SIGNAL (received ( const QCString &, const QByteArray & )),this, SLOT(recieve( const QCString&, const QByteArray& ))); 432 QObject::connect( infrared, SIGNAL (received ( const QCString &, const QByteArray & )),this, SLOT(recieve( const QCString&, const QByteArray& )));
433#endif 433#endif
434} 434}
435void MainWindow::showMaximized () 435void MainWindow::showMaximized ()
436{ 436{
437#ifndef DESKTOP_VERSION 437#ifndef DESKTOP_VERSION
438 if ( ! globalFlagBlockStartup ) 438 if ( ! globalFlagBlockStartup )
439 if ( mClosed ) 439 if ( mClosed )
440 mView->goToday(); 440 mView->goToday();
441#endif 441#endif
442 QWidget::showMaximized () ; 442 QWidget::showMaximized () ;
443 mClosed = false; 443 mClosed = false;
444} 444}
445void MainWindow::closeEvent( QCloseEvent* ce ) 445void MainWindow::closeEvent( QCloseEvent* ce )
446{ 446{
447 447
448 448
449 449
450 if ( ! KOPrefs::instance()->mAskForQuit ) { 450 if ( ! KOPrefs::instance()->mAskForQuit ) {
451 saveOnClose(); 451 saveOnClose();
452 mClosed = true; 452 mClosed = true;
453 ce->accept(); 453 ce->accept();
454 return; 454 return;
455 455
456 } 456 }
457 457
458 switch( QMessageBox::information( this, "KO/Pi", 458 switch( QMessageBox::information( this, "KO/Pi",
459 i18n("Do you really want\nto close KO/Pi?"), 459 i18n("Do you really want\nto close KO/Pi?"),
460 i18n("Close"), i18n("No"), 460 i18n("Close"), i18n("No"),
461 0, 0 ) ) { 461 0, 0 ) ) {
462 case 0: 462 case 0:
463 saveOnClose(); 463 saveOnClose();
464 mClosed = true; 464 mClosed = true;
465 ce->accept(); 465 ce->accept();
466 break; 466 break;
467 case 1: 467 case 1:
468 ce->ignore(); 468 ce->ignore();
469 break; 469 break;
470 case 2: 470 case 2:
471 471
472 default: 472 default:
473 break; 473 break;
474 } 474 }
475 475
476 476
477} 477}
478 478
479void MainWindow::recieve( const QCString& cmsg, const QByteArray& data ) 479void MainWindow::recieve( const QCString& cmsg, const QByteArray& data )
480{ 480{
481 QDataStream stream( data, IO_ReadOnly ); 481 QDataStream stream( data, IO_ReadOnly );
482 // QMessageBox::about( this, "About KOrganizer/Pi", "*" +msg +"*" ); 482 // QMessageBox::about( this, "About KOrganizer/Pi", "*" +msg +"*" );
483 //QString datamess; 483 //QString datamess;
484 //qDebug("message "); 484 //qDebug("message ");
485 qDebug("KO: QCOP message received: %s ", cmsg.data() ); 485 qDebug("KO: QCOP message received: %s ", cmsg.data() );
486 486
487 if ( cmsg == "setDocument(QString)" ) { 487 if ( cmsg == "setDocument(QString)" ) {
488 QDataStream stream( data, IO_ReadOnly ); 488 QDataStream stream( data, IO_ReadOnly );
489 QString fileName; 489 QString fileName;
490 stream >> fileName; 490 stream >> fileName;
491 //qDebug("filename %s ", fileName.latin1()); 491 //qDebug("filename %s ", fileName.latin1());
492 showMaximized(); 492 showMaximized();
493 raise(); 493 raise();
494 KOPrefs::instance()->mLastSyncedLocalFile = fileName ; 494 KOPrefs::instance()->mLastSyncedLocalFile = fileName ;
495 mSyncManager->slotSyncMenu( 1002 ); 495 mSyncManager->slotSyncMenu( 1002 );
496 return; 496 return;
497 } 497 }
498 498
499 if ( cmsg == "-writeFile" ) { 499 if ( cmsg == "-writeFile" ) {
500 // I made from the "-writeFile" an "-writeAlarm" 500 // I made from the "-writeFile" an "-writeAlarm"
501 mView->viewManager()->showWhatsNextView(); 501 mView->viewManager()->showWhatsNextView();
502 mCalendar->checkAlarmForIncidence( 0, true); 502 mCalendar->checkAlarmForIncidence( 0, true);
503 showMaximized(); 503 showMaximized();
504 raise(); 504 raise();
505 return; 505 return;
506 506
507 } 507 }
508 if ( cmsg == "-writeFileSilent" ) { 508 if ( cmsg == "-writeFileSilent" ) {
509 // I made from the "-writeFile" an "-writeAlarm" 509 // I made from the "-writeFile" an "-writeAlarm"
510 // mView->viewManager()->showWhatsNextView(); 510 // mView->viewManager()->showWhatsNextView();
511 mCalendar->checkAlarmForIncidence( 0, true); 511 mCalendar->checkAlarmForIncidence( 0, true);
512 //showMaximized(); 512 //showMaximized();
513 //raise(); 513 //raise();
514 hide(); 514 hide();
515 return; 515 return;
516 } 516 }
517 if ( cmsg == "-newCountdown" ) { 517 if ( cmsg == "-newCountdown" ) {
518 qDebug("newCountdown "); 518 qDebug("newCountdown ");
519 519
520 } 520 }
521 QString msg ; 521 QString msg ;
522 QString allmsg = cmsg; 522 QString allmsg = cmsg;
523 while ( allmsg.length() > 0 ) { 523 while ( allmsg.length() > 0 ) {
524 int nextC = allmsg.find( "-", 1 ); 524 int nextC = allmsg.find( "-", 1 );
525 if ( nextC == -1 ) { 525 if ( nextC == -1 ) {
526 msg = allmsg; 526 msg = allmsg;
527 allmsg = ""; 527 allmsg = "";
528 } else{ 528 } else{
529 msg = allmsg.left( nextC ); 529 msg = allmsg.left( nextC );
530 allmsg = allmsg.mid( nextC, allmsg.length()-nextC ); 530 allmsg = allmsg.mid( nextC, allmsg.length()-nextC );
531 } 531 }
532 //qDebug("msg: %s all: %s ", msg.latin1(), allmsg.latin1() ); 532 //qDebug("msg: %s all: %s ", msg.latin1(), allmsg.latin1() );
533 if ( msg == "-newEvent" ) { 533 if ( msg == "-newEvent" ) {
534 mView->newEvent(); 534 mView->newEvent();
535 } 535 }
536 if ( msg == "-newTodo" ) { 536 if ( msg == "-newTodo" ) {
537 mView->newTodo(); 537 mView->newTodo();
538 538
539 } 539 }
540 if ( msg == "-showWN" ) { 540 if ( msg == "-showWN" ) {
541 mView->viewManager()->showWhatsNextView(); 541 mView->viewManager()->showWhatsNextView();
542 } 542 }
543 if ( msg == "-showTodo" ) { 543 if ( msg == "-showTodo" ) {
544 mView->viewManager()->showTodoView(); 544 mView->viewManager()->showTodoView();
545 } 545 }
546 if ( msg == "-showList" ) { 546 if ( msg == "-showList" ) {
547 mView->viewManager()->showListView(); 547 mView->viewManager()->showListView();
548 } 548 }
549 else if ( msg == "-showDay" ) { 549 else if ( msg == "-showDay" ) {
550 mView->viewManager()->showDayView(); 550 mView->viewManager()->showDayView();
551 } 551 }
552 else if ( msg == "-showWWeek" ) { 552 else if ( msg == "-showWWeek" ) {
553 mView->viewManager()->showWorkWeekView(); 553 mView->viewManager()->showWorkWeekView();
554 } 554 }
555 else if ( msg == "-ringSync" ) { 555 else if ( msg == "-ringSync" ) {
556 mSyncManager->multiSync( false ); 556 mSyncManager->multiSync( false );
557 } 557 }
558 else if ( msg == "-showWeek" ) { 558 else if ( msg == "-showWeek" ) {
559 mView->viewManager()->showWeekView(); 559 mView->viewManager()->showWeekView();
560 } 560 }
561 else if ( msg == "-showTodo" ) { 561 else if ( msg == "-showTodo" ) {
562 mView->viewManager()->showTodoView(); 562 mView->viewManager()->showTodoView();
563 } 563 }
564 else if ( msg == "-showJournal" ) { 564 else if ( msg == "-showJournal" ) {
565 mView->dateNavigator()->selectDates( 1 ); 565 mView->dateNavigator()->selectDates( 1 );
566 mView->dateNavigator()->selectToday(); 566 mView->dateNavigator()->selectToday();
567 mView->viewManager()->showJournalView(); 567 mView->viewManager()->showJournalView();
568 } 568 }
569 else if ( msg == "-showKO" ) { 569 else if ( msg == "-showKO" ) {
570 mView->viewManager()->showNextXView(); 570 mView->viewManager()->showNextXView();
571 } 571 }
572 else if ( msg == "-showWNext" ) { 572 else if ( msg == "-showWNext" ) {
573 mView->viewManager()->showWhatsNextView(); 573 mView->viewManager()->showWhatsNextView();
574 } 574 }
575 else if ( msg == "nextView()" ) { 575 else if ( msg == "nextView()" ) {
576 mView->viewManager()->showNextView(); 576 mView->viewManager()->showNextView();
577 } 577 }
578 else if ( msg == "-showNextXView" ) { 578 else if ( msg == "-showNextXView" ) {
579 mView->viewManager()->showNextXView(); 579 mView->viewManager()->showNextXView();
580 } 580 }
581 581
582 582
583 } 583 }
584 584
585 showMaximized(); 585 showMaximized();
586 raise(); 586 raise();
587} 587}
588 588
589QPixmap MainWindow::loadPixmap( QString name ) 589QPixmap MainWindow::loadPixmap( QString name )
590{ 590{
591 return SmallIcon( name ); 591 return SmallIcon( name );
592 592
593} 593}
594void MainWindow::setUsesBigPixmaps ( bool b ) 594void MainWindow::setUsesBigPixmaps ( bool b )
595{ 595{
596 qDebug("KO: MainWindow::setUsesBigPixmaps %d called", b); 596 qDebug("KO: MainWindow::setUsesBigPixmaps %d called", b);
597 if ( b ) 597 if ( b )
598 qDebug("KO: BigPixmaps are not supported "); 598 qDebug("KO: BigPixmaps are not supported ");
599} 599}
600void MainWindow::initActions() 600void MainWindow::initActions()
601{ 601{
602 //KOPrefs::instance()->mShowFullMenu 602 //KOPrefs::instance()->mShowFullMenu
603 iconToolBar->clear(); 603 iconToolBar->clear();
604 KOPrefs *p = KOPrefs::instance(); 604 KOPrefs *p = KOPrefs::instance();
605 //QPEMenuBar *menuBar1;// = new QPEMenuBar( iconToolBar ); 605 //QPEMenuBar *menuBar1;// = new QPEMenuBar( iconToolBar );
606 606
607 QPopupMenu *viewMenu = new QPopupMenu( this ); 607 QPopupMenu *viewMenu = new QPopupMenu( this );
608 QPopupMenu *actionMenu = new QPopupMenu( this ); 608 QPopupMenu *actionMenu = new QPopupMenu( this );
609 QPopupMenu *importMenu = new QPopupMenu( this ); 609 QPopupMenu *importMenu = new QPopupMenu( this );
610 QPopupMenu *importMenu_X = new QPopupMenu( this ); 610 QPopupMenu *importMenu_X = new QPopupMenu( this );
611 QPopupMenu *exportMenu_X = new QPopupMenu( this ); 611 QPopupMenu *exportMenu_X = new QPopupMenu( this );
612 QPopupMenu *beamMenu_X = new QPopupMenu( this ); 612 QPopupMenu *beamMenu_X = new QPopupMenu( this );
613 selectFilterMenu = new QPopupMenu( this ); 613 selectFilterMenu = new QPopupMenu( this );
614 selectFilterMenu->setCheckable( true ); 614 selectFilterMenu->setCheckable( true );
615 syncMenu = new QPopupMenu( this ); 615 syncMenu = new QPopupMenu( this );
616 configureAgendaMenu = new QPopupMenu( this ); 616 configureAgendaMenu = new QPopupMenu( this );
617 configureToolBarMenu = new QPopupMenu( this ); 617 configureToolBarMenu = new QPopupMenu( this );
618 QPopupMenu *helpMenu = new QPopupMenu( this ); 618 QPopupMenu *helpMenu = new QPopupMenu( this );
619 QIconSet icon; 619 QIconSet icon;
620 int pixWid = 22, pixHei = 22; 620 int pixWid = 22, pixHei = 22;
621 QString pathString = ""; 621 QString pathString = "";
622 if ( !p->mToolBarMiniIcons ) { 622 if ( !p->mToolBarMiniIcons ) {
623 if ( QApplication::desktop()->width() < 480 ) { 623 if ( QApplication::desktop()->width() < 480 ) {
624 pathString += "icons16/"; 624 pathString += "icons16/";
625 pixWid = 18; pixHei = 16; 625 pixWid = 18; pixHei = 16;
626 } 626 }
627 } else { 627 } else {
628 pathString += "iconsmini/"; 628 pathString += "iconsmini/";
629 pixWid = 18; pixHei = 16; 629 pixWid = 18; pixHei = 16;
630 } 630 }
631 if ( KOPrefs::instance()->mShowFullMenu ) { 631 if ( KOPrefs::instance()->mShowFullMenu ) {
632 QMenuBar *menuBar1; 632 QMenuBar *menuBar1;
633 menuBar1 = menuBar(); 633 menuBar1 = menuBar();
634 menuBar1->insertItem( i18n("File"), importMenu ); 634 menuBar1->insertItem( i18n("File"), importMenu );
635 menuBar1->insertItem( i18n("View"), viewMenu ); 635 menuBar1->insertItem( i18n("View"), viewMenu );
636 menuBar1->insertItem( i18n("Actions"), actionMenu ); 636 menuBar1->insertItem( i18n("Actions"), actionMenu );
637#ifdef DESKTOP_VERSION 637#ifdef DESKTOP_VERSION
638 menuBar1->insertItem( i18n("Synchronize"), syncMenu ); 638 menuBar1->insertItem( i18n("Synchronize"), syncMenu );
639 menuBar1->insertItem( i18n("AgendaSize"),configureAgendaMenu ); 639 menuBar1->insertItem( i18n("AgendaSize"),configureAgendaMenu );
640#else 640#else
641 menuBar1->insertItem( i18n("Sync"), syncMenu ); 641 menuBar1->insertItem( i18n("Sync"), syncMenu );
642 menuBar1->insertItem( i18n("Agenda"),configureAgendaMenu ); 642 menuBar1->insertItem( i18n("Agenda"),configureAgendaMenu );
643#endif 643#endif
644 //menuBar1->insertItem( i18n("Toolbar"),configureToolBarMenu ); 644 //menuBar1->insertItem( i18n("Toolbar"),configureToolBarMenu );
645 menuBar1->insertItem( i18n("Filter"),selectFilterMenu ); 645 menuBar1->insertItem( i18n("Filter"),selectFilterMenu );
646 menuBar1->insertItem( i18n("Help"), helpMenu ); 646 menuBar1->insertItem( i18n("Help"), helpMenu );
647 } else { 647 } else {
648 QPEMenuBar *menuBar1; 648 QPEMenuBar *menuBar1;
649 menuBar1 = new QPEMenuBar( iconToolBar ); 649 menuBar1 = new QPEMenuBar( iconToolBar );
650 QPopupMenu *menuBar = new QPopupMenu( this ); 650 QPopupMenu *menuBar = new QPopupMenu( this );
651 icon = loadPixmap( pathString + "z_menu" ); 651 icon = loadPixmap( pathString + "z_menu" );
652 menuBar1->insertItem( icon.pixmap(), menuBar); 652 menuBar1->insertItem( icon.pixmap(), menuBar);
653 //menuBar1->insertItem( i18n("ME"), menuBar); 653 //menuBar1->insertItem( i18n("ME"), menuBar);
654 menuBar->insertItem( i18n("File"), importMenu ); 654 menuBar->insertItem( i18n("File"), importMenu );
655 menuBar->insertItem( i18n("View"), viewMenu ); 655 menuBar->insertItem( i18n("View"), viewMenu );
656 menuBar->insertItem( i18n("Actions"), actionMenu ); 656 menuBar->insertItem( i18n("Actions"), actionMenu );
657 menuBar->insertItem( i18n("Synchronize"), syncMenu ); 657 menuBar->insertItem( i18n("Synchronize"), syncMenu );
658 menuBar->insertItem( i18n("AgendaSize"),configureAgendaMenu ); 658 menuBar->insertItem( i18n("AgendaSize"),configureAgendaMenu );
659 menuBar->insertItem( i18n("Toolbar"),configureToolBarMenu ); 659 menuBar->insertItem( i18n("Toolbar"),configureToolBarMenu );
660 menuBar->insertItem( i18n("Filter"),selectFilterMenu ); 660 menuBar->insertItem( i18n("Filter"),selectFilterMenu );
661 menuBar->insertItem( i18n("Help"), helpMenu ); 661 menuBar->insertItem( i18n("Help"), helpMenu );
662 //menuBar1->setMaximumWidth( menuBar1->sizeHint().width() ); 662 //menuBar1->setMaximumWidth( menuBar1->sizeHint().width() );
663 menuBar1->setMaximumSize( menuBar1->sizeHint( )); 663 menuBar1->setMaximumSize( menuBar1->sizeHint( ));
664 } 664 }
665 connect ( selectFilterMenu, SIGNAL( activated ( int ) ), this, SLOT (selectFilter( int ) ) ); 665 connect ( selectFilterMenu, SIGNAL( activated ( int ) ), this, SLOT (selectFilter( int ) ) );
666 connect ( selectFilterMenu, SIGNAL( aboutToShow() ), this, SLOT (fillFilterMenu() ) ); 666 connect ( selectFilterMenu, SIGNAL( aboutToShow() ), this, SLOT (fillFilterMenu() ) );
667 667
668 668
669 mWeekBgColor = iconToolBar->backgroundColor(); 669 mWeekBgColor = iconToolBar->backgroundColor();
670 mWeekPixmap.resize( pixWid , pixHei ); 670 mWeekPixmap.resize( pixWid , pixHei );
671 mWeekPixmap.fill( mWeekBgColor ); 671 mWeekPixmap.fill( mWeekBgColor );
672 icon = mWeekPixmap; 672 icon = mWeekPixmap;
673 mWeekAction = new QAction( i18n("Select week number"),icon, i18n("Select week number"), 0, this ); 673 mWeekAction = new QAction( i18n("Select week number"),icon, i18n("Select week number"), 0, this );
674 if ( p-> mShowIconWeekNum ) 674 if ( p-> mShowIconWeekNum )
675 mWeekAction->addTo( iconToolBar ); 675 mWeekAction->addTo( iconToolBar );
676 mWeekFont = font(); 676 mWeekFont = font();
677 677
678 int fontPoint = mWeekFont.pointSize(); 678 int fontPoint = mWeekFont.pointSize();
679 QFontMetrics f( mWeekFont ); 679 QFontMetrics f( mWeekFont );
680 int fontWid = f.width( "30" ); 680 int fontWid = f.width( "30" );
681 while ( fontWid > pixWid ) { 681 while ( fontWid > pixWid ) {
682 --fontPoint; 682 --fontPoint;
683 mWeekFont.setPointSize( fontPoint ); 683 mWeekFont.setPointSize( fontPoint );
684 QFontMetrics f( mWeekFont ); 684 QFontMetrics f( mWeekFont );
685 fontWid = f.width( "30" ); 685 fontWid = f.width( "30" );
686 //qDebug("dec-- "); 686 //qDebug("dec-- ");
687 } 687 }
688 688
689 connect( mWeekAction, SIGNAL( activated() ), 689 connect( mWeekAction, SIGNAL( activated() ),
690 this, SLOT( weekAction() ) ); 690 this, SLOT( weekAction() ) );
691 691
692 connect( this, SIGNAL( selectWeek ( int ) ), mView->dateNavigator(), SLOT( selectWeek ( int ) ) ); 692 connect( this, SIGNAL( selectWeek ( int ) ), mView->dateNavigator(), SLOT( selectWeek ( int ) ) );
693 if ( p->mShowIconFilterview ) { 693 if ( p->mShowIconFilterview ) {
694 icon = loadPixmap( pathString + "filter" ); 694 icon = loadPixmap( pathString + "filter" );
695 actionFilterMenuTB = new QAction( i18n("Filter selector"), icon, i18n("Filter selector"), 0, this ); 695 actionFilterMenuTB = new QAction( i18n("Filter selector"), icon, i18n("Filter selector"), 0, this );
696 connect( actionFilterMenuTB, SIGNAL( activated() ), 696 connect( actionFilterMenuTB, SIGNAL( activated() ),
697 this, SLOT( fillFilterMenuTB() ) ); 697 this, SLOT( fillFilterMenuTB() ) );
698 actionFilterMenuTB->addTo( iconToolBar ); 698 actionFilterMenuTB->addTo( iconToolBar );
699 selectFilterMenuTB = new QPopupMenu( this ); 699 selectFilterMenuTB = new QPopupMenu( this );
700 selectFilterMenuTB->setCheckable( true ); 700 selectFilterMenuTB->setCheckable( true );
701 connect ( selectFilterMenuTB, SIGNAL( activated ( int ) ), this, SLOT (selectFilter( int ) ) ); 701 connect ( selectFilterMenuTB, SIGNAL( activated ( int ) ), this, SLOT (selectFilter( int ) ) );
702 } 702 }
703 703
704 //#endif 704 //#endif
705 // ****************** 705 // ******************
706 QAction *action; 706 QAction *action;
707 // QPopupMenu *configureMenu= new QPopupMenu( menuBar ); 707 // QPopupMenu *configureMenu= new QPopupMenu( menuBar );
708 configureToolBarMenu->setCheckable( true ); 708 configureToolBarMenu->setCheckable( true );
709 709
710 710
711 configureAgendaMenu->setCheckable( true ); 711 configureAgendaMenu->setCheckable( true );
712 int iii ; 712 int iii ;
713 for ( iii = 1;iii<= 10 ;++iii ){ 713 for ( iii = 1;iii<= 10 ;++iii ){
714 configureAgendaMenu->insertItem(i18n("Size %1").arg(iii), (iii+1)*2 ); 714 configureAgendaMenu->insertItem(i18n("Size %1").arg(iii), (iii+1)*2 );
715 } 715 }
716 //configureMenu->insertItem( "AgendaSize",configureAgendaMenu ); 716 //configureMenu->insertItem( "AgendaSize",configureAgendaMenu );
717 717
718 connect( configureAgendaMenu, SIGNAL( aboutToShow()), 718 connect( configureAgendaMenu, SIGNAL( aboutToShow()),
719 this, SLOT( showConfigureAgenda( ) ) ); 719 this, SLOT( showConfigureAgenda( ) ) );
720 720
721 icon = loadPixmap( pathString + "configure" ); 721 icon = loadPixmap( pathString + "configure" );
722 action = new QAction( i18n("Configure"),icon, i18n("Configure..."), 0, this ); 722 action = new QAction( i18n("Configure"),icon, i18n("Configure..."), 0, this );
723 action->addTo( actionMenu ); 723 action->addTo( actionMenu );
724 connect( action, SIGNAL( activated() ), 724 connect( action, SIGNAL( activated() ),
725 mView, SLOT( edit_options() ) ); 725 mView, SLOT( edit_options() ) );
726 actionMenu->insertSeparator(); 726 actionMenu->insertSeparator();
727 727
728 action = new QAction( i18n("Undo Delete"), i18n("Undo Delete..."), 0, this ); 728 action = new QAction( i18n("Undo Delete"), i18n("Undo Delete..."), 0, this );
729 action->addTo( actionMenu ); 729 action->addTo( actionMenu );
730 connect( action, SIGNAL( activated() ), 730 connect( action, SIGNAL( activated() ),
731 mView, SLOT( undo_delete() ) ); 731 mView, SLOT( undo_delete() ) );
732 actionMenu->insertSeparator(); 732 actionMenu->insertSeparator();
733 733
734 icon = loadPixmap( pathString + "newevent" ); 734 icon = loadPixmap( pathString + "newevent" );
735 configureToolBarMenu->insertItem(i18n("Stretched TB"), 5 ); 735 configureToolBarMenu->insertItem(i18n("Stretched TB"), 5 );
736 configureToolBarMenu->insertItem(i18n("Only one toolbar"), 6 ); 736 configureToolBarMenu->insertItem(i18n("Only one toolbar"), 6 );
737 configureToolBarMenu->insertSeparator(); 737 configureToolBarMenu->insertSeparator();
738 configureToolBarMenu->insertItem(i18n("Filtermenu"), 7 ); 738 configureToolBarMenu->insertItem(i18n("Filtermenu"), 7 );
739 configureToolBarMenu->insertSeparator(); 739 configureToolBarMenu->insertSeparator();
740 configureToolBarMenu->insertItem(i18n("Week Number"), 400); 740 configureToolBarMenu->insertItem(i18n("Week Number"), 400);
741 configureToolBarMenu->insertItem(icon, i18n("New Event..."), 10 ); 741 configureToolBarMenu->insertItem(icon, i18n("New Event..."), 10 );
742 QAction* ne_action = new QAction( i18n("New Event..."), icon, i18n("New Event..."), 0, this ); 742 QAction* ne_action = new QAction( i18n("New Event..."), icon, i18n("New Event..."), 0, this );
743 ne_action->addTo( actionMenu ); 743 ne_action->addTo( actionMenu );
744 connect( ne_action, SIGNAL( activated() ), 744 connect( ne_action, SIGNAL( activated() ),
745 mView, SLOT( newEvent() ) ); 745 mView, SLOT( newEvent() ) );
746 icon = loadPixmap( pathString + "newtodo" ); 746 icon = loadPixmap( pathString + "newtodo" );
747 configureToolBarMenu->insertItem(icon, i18n("New Todo..."), 20 ); 747 configureToolBarMenu->insertItem(icon, i18n("New Todo..."), 20 );
748 QAction* nt_action = new QAction( i18n("New Todo..."), icon, i18n("New Todo..."), 0, this ); 748 QAction* nt_action = new QAction( i18n("New Todo..."), icon, i18n("New Todo..."), 0, this );
749 nt_action->addTo( actionMenu ); 749 nt_action->addTo( actionMenu );
750 connect( nt_action, SIGNAL( activated() ), 750 connect( nt_action, SIGNAL( activated() ),
751 mView, SLOT( newTodo() ) ); 751 mView, SLOT( newTodo() ) );
752 752
753 icon = loadPixmap( pathString + "today" ); 753 icon = loadPixmap( pathString + "today" );
754 QAction* today_action = new QAction( i18n("Go to Today"), icon, i18n("Go to Today"), 0, this ); 754 QAction* today_action = new QAction( i18n("Go to Today"), icon, i18n("Go to Today"), 0, this );
755 today_action->addTo( viewMenu ); 755 today_action->addTo( viewMenu );
756 connect( today_action, SIGNAL( activated() ), 756 connect( today_action, SIGNAL( activated() ),
757 mView, SLOT( goToday() ) ); 757 mView, SLOT( goToday() ) );
758 viewMenu->insertSeparator(); 758 viewMenu->insertSeparator();
759 759
760 // *********************** 760 // ***********************
761 if ( KOPrefs::instance()->mVerticalScreen ) { 761 if ( KOPrefs::instance()->mVerticalScreen ) {
762 icon = SmallIcon( "1updownarrow" ); 762 icon = SmallIcon( "1updownarrow" );
763 } else { 763 } else {
764 icon = SmallIcon("1leftrightarrow" ); 764 icon = SmallIcon("1leftrightarrow" );
765 } 765 }
766 configureToolBarMenu->insertItem(icon, i18n("Toggle Fullscreen"), 28 ); 766 configureToolBarMenu->insertItem(icon, i18n("Toggle Fullscreen"), 28 );
767 QAction* FSaction = new QAction( i18n("Toggle Fullscreen"), icon, i18n("Toggle Fullscreen"), 0, this ); 767 QAction* FSaction = new QAction( i18n("Toggle Fullscreen"), icon, i18n("Toggle Fullscreen"), 0, this );
768 FSaction->addTo( viewMenu ); 768 FSaction->addTo( viewMenu );
769 connect( FSaction, SIGNAL( activated() ), mView, SLOT( toggleExpand() )); 769 connect( FSaction, SIGNAL( activated() ), mView, SLOT( toggleExpand() ));
770 770
771 icon = loadPixmap( pathString + "navi" ); 771 icon = loadPixmap( pathString + "navi" );
772 configureToolBarMenu->insertItem(icon, i18n("Toggle DateNavigator"), 22 ); 772 configureToolBarMenu->insertItem(icon, i18n("Toggle DateNavigator"), 22 );
773 action = new QAction( i18n("Toggle DateNavigator"), icon, i18n("Toggle DateNavigator"), 0, this ); 773 action = new QAction( i18n("Toggle DateNavigator"), icon, i18n("Toggle DateNavigator"), 0, this );
774 action->addTo( viewMenu ); 774 action->addTo( viewMenu );
775 connect( action, SIGNAL( activated() ), 775 connect( action, SIGNAL( activated() ),
776 mView, SLOT( toggleDateNavigatorWidget() ) ); 776 mView, SLOT( toggleDateNavigatorWidget() ) );
777 mToggleNav = action ; 777 mToggleNav = action ;
778 icon = loadPixmap( pathString + "filter" ); 778 icon = loadPixmap( pathString + "filter" );
779 configureToolBarMenu->insertItem(icon, i18n("Filter menu icon"), 26 ); 779 configureToolBarMenu->insertItem(icon, i18n("Filter menu icon"), 26 );
780 action = new QAction( i18n("Toggle FilterView"), icon, i18n("Toggle FilterView"), 0, this ); 780 action = new QAction( i18n("Toggle FilterView"), icon, i18n("Toggle FilterView"), 0, this );
781 action->addTo( viewMenu ); 781 action->addTo( viewMenu );
782 connect( action, SIGNAL( activated() ), 782 connect( action, SIGNAL( activated() ),
783 mView, SLOT( toggleFilter() ) ); 783 mView, SLOT( toggleFilter() ) );
784 mToggleFilter = action; 784 mToggleFilter = action;
785 icon = loadPixmap( pathString + "allday" ); 785 icon = loadPixmap( pathString + "allday" );
786 configureToolBarMenu->insertItem(icon, i18n("Toggle Allday"), 24 ); 786 configureToolBarMenu->insertItem(icon, i18n("Toggle Allday"), 24 );
787 action = new QAction( i18n("Toggle Allday"), icon,i18n("Toggle Allday"), 0, this ); 787 action = new QAction( i18n("Toggle Allday"), icon,i18n("Toggle Allday"), 0, this );
788 action->addTo( viewMenu ); 788 action->addTo( viewMenu );
789 connect( action, SIGNAL( activated() ), 789 connect( action, SIGNAL( activated() ),
790 mView, SLOT( toggleAllDaySize() ) ); 790 mView, SLOT( toggleAllDaySize() ) );
791 mToggleAllday = action; 791 mToggleAllday = action;
792 792
793 793
794 connect( mView->viewManager(), SIGNAL( signalFullScreen( bool ) ), 794 connect( mView->viewManager(), SIGNAL( signalFullScreen( bool ) ),
795 mToggleNav, SLOT( setEnabled ( bool ) ) ); 795 mToggleNav, SLOT( setEnabled ( bool ) ) );
796 connect( mView->viewManager(), SIGNAL( signalFullScreen( bool ) ), 796 connect( mView->viewManager(), SIGNAL( signalFullScreen( bool ) ),
797 mToggleFilter, SLOT( setEnabled ( bool ) ) ); 797 mToggleFilter, SLOT( setEnabled ( bool ) ) );
798 connect( mView->viewManager(), SIGNAL( signalAgendaView( bool ) ), 798 connect( mView->viewManager(), SIGNAL( signalAgendaView( bool ) ),
799 mToggleAllday, SLOT( setEnabled ( bool ) ) ); 799 mToggleAllday, SLOT( setEnabled ( bool ) ) );
800 800
801 viewMenu->insertSeparator(); 801 viewMenu->insertSeparator();
802 icon = loadPixmap( pathString + "picker" ); 802 icon = loadPixmap( pathString + "picker" );
803 action = new QAction( i18n("Date Picker"), icon, i18n("Date Picker"), 0, this ); 803 action = new QAction( i18n("Date Picker"), icon, i18n("Date Picker"), 0, this );
804 action->addTo( viewMenu ); 804 action->addTo( viewMenu );
805 connect( action, SIGNAL( activated() ), 805 connect( action, SIGNAL( activated() ),
806 mView, SLOT( showDatePicker() ) ); 806 mView, SLOT( showDatePicker() ) );
807 action->addTo( iconToolBar ); 807 action->addTo( iconToolBar );
808 viewMenu->insertSeparator(); 808 viewMenu->insertSeparator();
809 809
810 if ( p-> mShowIconToggleFull ) 810 if ( p-> mShowIconToggleFull )
811 FSaction->addTo( iconToolBar ); 811 FSaction->addTo( iconToolBar );
812 if ( p->mShowIconNavigator ) mToggleNav ->addTo( iconToolBar ); 812 if ( p->mShowIconNavigator ) mToggleNav ->addTo( iconToolBar );
813 813
814 //******************** 814 //********************
815 if ( p->mShowIconAllday ) mToggleAllday->addTo( iconToolBar ); 815 if ( p->mShowIconAllday ) mToggleAllday->addTo( iconToolBar );
816 816
817 817
818 icon = loadPixmap( pathString + "whatsnext" ); 818 icon = loadPixmap( pathString + "whatsnext" );
819 configureToolBarMenu->insertItem(icon, i18n("What's Next"), 110 ); 819 configureToolBarMenu->insertItem(icon, i18n("What's Next"), 110 );
820 QAction* whatsnext_action = new QAction( i18n("What's Next"), icon, i18n("What's Next"), 0, this ); 820 QAction* whatsnext_action = new QAction( i18n("What's Next"), icon, i18n("What's Next"), 0, this );
821 whatsnext_action->addTo( viewMenu ); 821 whatsnext_action->addTo( viewMenu );
822 connect( whatsnext_action, SIGNAL( activated() ), 822 connect( whatsnext_action, SIGNAL( activated() ),
823 mView->viewManager(), SLOT( showWhatsNextView() ) ); 823 mView->viewManager(), SLOT( showWhatsNextView() ) );
824 824
825 icon = loadPixmap( pathString + "xdays" ); 825 icon = loadPixmap( pathString + "xdays" );
826 configureToolBarMenu->insertItem(icon, i18n("Next days"), 100 ); 826 configureToolBarMenu->insertItem(icon, i18n("Next days"), 100 );
827 QAction* xdays_action = new QAction( i18n("Next days"), icon, i18n("Next days"), 0, this ); 827 QAction* xdays_action = new QAction( i18n("Next days"), icon, i18n("Next days"), 0, this );
828 xdays_action->addTo( viewMenu ); 828 xdays_action->addTo( viewMenu );
829 connect( xdays_action, SIGNAL( activated() ), 829 connect( xdays_action, SIGNAL( activated() ),
830 mView->viewManager(), SLOT( showNextXView() ) ); 830 mView->viewManager(), SLOT( showNextXView() ) );
831 831
832 832
833 icon = loadPixmap( pathString + "journal" ); 833 icon = loadPixmap( pathString + "journal" );
834 configureToolBarMenu->insertItem(icon, i18n("Journal"), 90 ); 834 configureToolBarMenu->insertItem(icon, i18n("Journal"), 90 );
835 QAction* viewjournal_action = new QAction( i18n("Journal"), icon, i18n("Journal"), 0, this ); 835 QAction* viewjournal_action = new QAction( i18n("Journal"), icon, i18n("Journal"), 0, this );
836 viewjournal_action->addTo( viewMenu ); 836 viewjournal_action->addTo( viewMenu );
837 connect( viewjournal_action, SIGNAL( activated() ), 837 connect( viewjournal_action, SIGNAL( activated() ),
838 mView->viewManager(), SLOT( showJournalView() ) ); 838 mView->viewManager(), SLOT( showJournalView() ) );
839 839
840 840
841 icon = loadPixmap( pathString + "day" ); 841 icon = loadPixmap( pathString + "day" );
842 configureToolBarMenu->insertItem(icon, i18n("Day View"), 40 ); 842 configureToolBarMenu->insertItem(icon, i18n("Day View"), 40 );
843 QAction* day1_action = new QAction( i18n("Day View"), icon, i18n("Day View"), 0, this ); 843 QAction* day1_action = new QAction( i18n("Day View"), icon, i18n("Day View"), 0, this );
844 day1_action->addTo( viewMenu ); 844 day1_action->addTo( viewMenu );
845 // action->addTo( toolBar ); 845 // action->addTo( toolBar );
846 connect( day1_action, SIGNAL( activated() ), 846 connect( day1_action, SIGNAL( activated() ),
847 mView->viewManager(), SLOT( showDayView() ) ); 847 mView->viewManager(), SLOT( showDayView() ) );
848 848
849 icon = loadPixmap( pathString + "workweek" ); 849 icon = loadPixmap( pathString + "workweek" );
850 configureToolBarMenu->insertItem(icon, i18n("Work Week"), 50 ); 850 configureToolBarMenu->insertItem(icon, i18n("Work Week"), 50 );
851 QAction* day5_action = new QAction( i18n("Work Week"), icon, i18n("Work Week"), 0, this ); 851 QAction* day5_action = new QAction( i18n("Work Week"), icon, i18n("Work Week"), 0, this );
852 day5_action->addTo( viewMenu ); 852 day5_action->addTo( viewMenu );
853 connect( day5_action, SIGNAL( activated() ), 853 connect( day5_action, SIGNAL( activated() ),
854 mView->viewManager(), SLOT( showWorkWeekView() ) ); 854 mView->viewManager(), SLOT( showWorkWeekView() ) );
855 855
856 icon = loadPixmap( pathString + "week" ); 856 icon = loadPixmap( pathString + "week" );
857 configureToolBarMenu->insertItem(icon, i18n("Week"), 60 ); 857 configureToolBarMenu->insertItem(icon, i18n("Week"), 60 );
858 QAction* day7_action = new QAction( i18n("Week"), icon, i18n("Week"), 0, this ); 858 QAction* day7_action = new QAction( i18n("Week"), icon, i18n("Week"), 0, this );
859 day7_action->addTo( viewMenu ); 859 day7_action->addTo( viewMenu );
860 connect( day7_action, SIGNAL( activated() ), 860 connect( day7_action, SIGNAL( activated() ),
861 mView->viewManager(), SLOT( showWeekView() ) ); 861 mView->viewManager(), SLOT( showWeekView() ) );
862 862
863 icon = loadPixmap( pathString + "workweek2" ); 863 icon = loadPixmap( pathString + "workweek2" );
864 configureToolBarMenu->insertItem(icon, i18n("List week view"), 75 ); 864 configureToolBarMenu->insertItem(icon, i18n("List week view"), 75 );
865 QAction* day6_action = new QAction( i18n("List week"), icon, i18n("List week"), 0, this ); 865 QAction* day6_action = new QAction( i18n("List week"), icon, i18n("List week"), 0, this );
866 day6_action->addTo( viewMenu ); 866 day6_action->addTo( viewMenu );
867 connect( day6_action, SIGNAL( activated() ), 867 connect( day6_action, SIGNAL( activated() ),
868 mView->viewManager(), SLOT( showMonthViewWeek() ) ); 868 mView->viewManager(), SLOT( showMonthViewWeek() ) );
869 869
870 icon = loadPixmap( pathString + "month" ); 870 icon = loadPixmap( pathString + "month" );
871 configureToolBarMenu->insertItem(icon, i18n("Month"), 70 ); 871 configureToolBarMenu->insertItem(icon, i18n("Month"), 70 );
872 QAction* month_action = new QAction( i18n("Month"), icon, i18n("Month"), 0, this ); 872 QAction* month_action = new QAction( i18n("Month"), icon, i18n("Month"), 0, this );
873 month_action->addTo( viewMenu ); 873 month_action->addTo( viewMenu );
874 connect( month_action, SIGNAL( activated() ), 874 connect( month_action, SIGNAL( activated() ),
875 mView->viewManager(), SLOT( showMonthView() ) ); 875 mView->viewManager(), SLOT( showMonthView() ) );
876 876
877 icon = loadPixmap( pathString + "list" ); 877 icon = loadPixmap( pathString + "list" );
878 configureToolBarMenu->insertItem(icon, i18n("List View"), 30 ); 878 configureToolBarMenu->insertItem(icon, i18n("List View"), 30 );
879 QAction* showlist_action = new QAction( i18n("List View"), icon, i18n("List View"), 0, this ); 879 QAction* showlist_action = new QAction( i18n("List View"), icon, i18n("List View"), 0, this );
880 showlist_action->addTo( viewMenu ); 880 showlist_action->addTo( viewMenu );
881 connect( showlist_action, SIGNAL( activated() ), 881 connect( showlist_action, SIGNAL( activated() ),
882 mView->viewManager(), SLOT( showListView() ) ); 882 mView->viewManager(), SLOT( showListView() ) );
883 883
884 icon = loadPixmap( pathString + "todo" ); 884 icon = loadPixmap( pathString + "todo" );
885 configureToolBarMenu->insertItem(icon, i18n("Todo View"), 80 ); 885 configureToolBarMenu->insertItem(icon, i18n("Todo View"), 80 );
886 QAction* todoview_action = new QAction( i18n("Todo View"), icon, i18n("Todo View"), 0, this ); 886 QAction* todoview_action = new QAction( i18n("Todo View"), icon, i18n("Todo View"), 0, this );
887 todoview_action->addTo( viewMenu ); 887 todoview_action->addTo( viewMenu );
888 connect( todoview_action, SIGNAL( activated() ), 888 connect( todoview_action, SIGNAL( activated() ),
889 mView->viewManager(), SLOT( showTodoView() ) ); 889 mView->viewManager(), SLOT( showTodoView() ) );
890 890
891 891
892 892
893#if 0 893#if 0
894 action = new QAction( "view_timespan", "Time Span", 0, this ); 894 action = new QAction( "view_timespan", "Time Span", 0, this );
895 action->addTo( viewMenu ); 895 action->addTo( viewMenu );
896 connect( action, SIGNAL( activated() ), 896 connect( action, SIGNAL( activated() ),
897 mView->viewManager(), SLOT( showTimeSpanView() ) ); 897 mView->viewManager(), SLOT( showTimeSpanView() ) );
898#endif 898#endif
899 899
900 mNewSubTodoAction = new QAction( "new_subtodo", i18n("New Sub-Todo..."), 0, 900 mNewSubTodoAction = new QAction( "new_subtodo", i18n("New Sub-Todo..."), 0,
901 this ); 901 this );
902 mNewSubTodoAction->addTo( actionMenu ); 902 mNewSubTodoAction->addTo( actionMenu );
903 connect( mNewSubTodoAction, SIGNAL( activated() ), 903 connect( mNewSubTodoAction, SIGNAL( activated() ),
904 mView, SLOT( newSubTodo() ) ); 904 mView, SLOT( newSubTodo() ) );
905 905
906 actionMenu->insertSeparator(); 906 actionMenu->insertSeparator();
907 907
908 mShowAction = new QAction( "show_incidence", i18n("Show..."), 0, this ); 908 mShowAction = new QAction( "show_incidence", i18n("Show..."), 0, this );
909 mShowAction->addTo( actionMenu ); 909 mShowAction->addTo( actionMenu );
910 connect( mShowAction, SIGNAL( activated() ), 910 connect( mShowAction, SIGNAL( activated() ),
911 mView, SLOT( showIncidence() ) ); 911 mView, SLOT( showIncidence() ) );
912 912
913 mEditAction = new QAction( "edit_incidence", i18n("Edit..."), 0, this ); 913 mEditAction = new QAction( "edit_incidence", i18n("Edit..."), 0, this );
914 mEditAction->addTo( actionMenu ); 914 mEditAction->addTo( actionMenu );
915 connect( mEditAction, SIGNAL( activated() ), 915 connect( mEditAction, SIGNAL( activated() ),
916 mView, SLOT( editIncidence() ) ); 916 mView, SLOT( editIncidence() ) );
917 917
918 mDeleteAction = new QAction( "delete_incidence", i18n("Delete..."), 0, this ); 918 mDeleteAction = new QAction( "delete_incidence", i18n("Delete..."), 0, this );
919 mDeleteAction->addTo( actionMenu ); 919 mDeleteAction->addTo( actionMenu );
920 connect( mDeleteAction, SIGNAL( activated() ), 920 connect( mDeleteAction, SIGNAL( activated() ),
921 mView, SLOT( deleteIncidence() ) ); 921 mView, SLOT( deleteIncidence() ) );
922 922
923 923
924 mCloneAction = new QAction( "clone_incidence", i18n("Clone..."), 0, this ); 924 mCloneAction = new QAction( "clone_incidence", i18n("Clone..."), 0, this );
925 mCloneAction->addTo( actionMenu ); 925 mCloneAction->addTo( actionMenu );
926 connect( mCloneAction, SIGNAL( activated() ), 926 connect( mCloneAction, SIGNAL( activated() ),
927 mView, SLOT( cloneIncidence() ) ); 927 mView, SLOT( cloneIncidence() ) );
928 mMoveAction = new QAction( "Move_incidence", i18n("Move..."), 0, this ); 928 mMoveAction = new QAction( "Move_incidence", i18n("Move..."), 0, this );
929 mMoveAction->addTo( actionMenu ); 929 mMoveAction->addTo( actionMenu );
930 connect( mMoveAction, SIGNAL( activated() ), 930 connect( mMoveAction, SIGNAL( activated() ),
931 mView, SLOT( moveIncidence() ) ); 931 mView, SLOT( moveIncidence() ) );
932 mBeamAction = new QAction( "Beam_incidence", i18n("Beam..."), 0, this ); 932 mBeamAction = new QAction( "Beam_incidence", i18n("Beam..."), 0, this );
933 mBeamAction->addTo( actionMenu ); 933 mBeamAction->addTo( actionMenu );
934 connect( mBeamAction, SIGNAL( activated() ), 934 connect( mBeamAction, SIGNAL( activated() ),
935 mView, SLOT( beamIncidence() ) ); 935 mView, SLOT( beamIncidence() ) );
936 mCancelAction = new QAction( "Cancel_incidence", i18n("Toggle Cancel"), 0, this ); 936 mCancelAction = new QAction( "Cancel_incidence", i18n("Toggle Cancel"), 0, this );
937 mCancelAction->addTo( actionMenu ); 937 mCancelAction->addTo( actionMenu );
938 connect( mCancelAction, SIGNAL( activated() ), 938 connect( mCancelAction, SIGNAL( activated() ),
939 mView, SLOT( toggleCancelIncidence() ) ); 939 mView, SLOT( toggleCancelIncidence() ) );
940 940
941 actionMenu->insertSeparator(); 941 actionMenu->insertSeparator();
942 942
943 action = new QAction( "purge_completed", i18n("Purge Completed"), 0, 943 action = new QAction( "purge_completed", i18n("Purge Completed"), 0,
944 this ); 944 this );
945 action->addTo( actionMenu ); 945 action->addTo( actionMenu );
946 connect( action, SIGNAL( activated() ), mView, SLOT( purgeCompleted() ) ); 946 connect( action, SIGNAL( activated() ), mView, SLOT( purgeCompleted() ) );
947 947
948 icon = loadPixmap( pathString + "search" ); 948 icon = loadPixmap( pathString + "search" );
949 QAction* search_action = new QAction( i18n("Search"), icon, i18n("Search..."), 0, this ); 949 QAction* search_action = new QAction( i18n("Search"), icon, i18n("Search..."), 0, this );
950 configureToolBarMenu->insertItem(icon, i18n("Search"), 120 , 5); 950 configureToolBarMenu->insertItem(icon, i18n("Search"), 120 , 5);
951 search_action->addTo( actionMenu ); 951 search_action->addTo( actionMenu );
952 connect( search_action, SIGNAL( activated() ), 952 connect( search_action, SIGNAL( activated() ),
953 mView->dialogManager(), SLOT( showSearchDialog() ) ); 953 mView->dialogManager(), SLOT( showSearchDialog() ) );
954 954
955 955
956 956
957 if ( KOPrefs::instance()->mShowFullMenu ) { 957 if ( KOPrefs::instance()->mShowFullMenu ) {
958 actionMenu->insertSeparator(); 958 actionMenu->insertSeparator();
959 actionMenu->insertItem( i18n("Configure Toolbar"),configureToolBarMenu ); 959 actionMenu->insertItem( i18n("Configure Toolbar"),configureToolBarMenu );
960 960
961 } 961 }
962 // actionMenu->insertSeparator(); 962 // actionMenu->insertSeparator();
963 action = new QAction( "import_qtopia", i18n("Import (*.ics/*.vcs) file"), 0, 963 action = new QAction( "import_qtopia", i18n("Import (*.ics/*.vcs) file"), 0,
964 this ); 964 this );
965 action->addTo( importMenu_X ); 965 action->addTo( importMenu_X );
966 connect( action, SIGNAL( activated() ), SLOT( importIcal() ) ); 966 connect( action, SIGNAL( activated() ), SLOT( importIcal() ) );
967 action = new QAction( "import_quick", i18n("Import last file"), 0, 967 action = new QAction( "import_quick", i18n("Import last file"), 0,
968 this ); 968 this );
969 action->addTo( importMenu_X ); 969 action->addTo( importMenu_X );
970 connect( action, SIGNAL( activated() ), SLOT( quickImportIcal() ) ); 970 connect( action, SIGNAL( activated() ), SLOT( quickImportIcal() ) );
971 importMenu_X->insertSeparator(); 971 importMenu_X->insertSeparator();
972 action = new QAction( "import_bday", i18n("Import Birthdays (KA/Pi)"), 0, 972 action = new QAction( "import_bday", i18n("Import Birthdays (KA/Pi)"), 0,
973 this ); 973 this );
974 action->addTo( importMenu_X ); 974 action->addTo( importMenu_X );
975 connect( action, SIGNAL( activated() ), SLOT( importBday() ) ); 975 connect( action, SIGNAL( activated() ), SLOT( importBday() ) );
976 //#ifndef DESKTOP_VERSION 976 //#ifndef DESKTOP_VERSION
977 importMenu_X->insertSeparator(); 977 importMenu_X->insertSeparator();
978 action = new QAction( "import_qtopia", i18n("Import Opie/Qtopia Cal."), 0, 978 action = new QAction( "import_qtopia", i18n("Import Opie/Qtopia Cal."), 0,
979 this ); 979 this );
980 action->addTo( importMenu_X ); 980 action->addTo( importMenu_X );
981 connect( action, SIGNAL( activated() ), SLOT( importQtopia() ) ); 981 connect( action, SIGNAL( activated() ), SLOT( importQtopia() ) );
982 //#else 982 //#else
983#ifdef _OL_IMPORT_ 983#ifdef _OL_IMPORT_
984 importMenu_X->insertSeparator(); 984 importMenu_X->insertSeparator();
985 action = new QAction( "import_ol", i18n("Import from OL"), 0, 985 action = new QAction( "import_ol", i18n("Import from OL"), 0,
986 this ); 986 this );
987 action->addTo( importMenu_X ); 987 action->addTo( importMenu_X );
988 connect( action, SIGNAL( activated() ), SLOT( importOL() ) ); 988 connect( action, SIGNAL( activated() ), SLOT( importOL() ) );
989#endif 989#endif
990 //#endif 990 //#endif
991 991
992 //importMenu->insertSeparator(); 992 //importMenu->insertSeparator();
993 action = new QAction( "load_cal", i18n("Load Calendar Backup"), 0, 993 action = new QAction( "load_cal", i18n("Load Calendar Backup"), 0,
994 this ); 994 this );
995 action->addTo( importMenu ); 995 action->addTo( importMenu );
996 connect( action, SIGNAL( activated() ), SLOT( loadCalendar() ) ); 996 connect( action, SIGNAL( activated() ), SLOT( loadCalendar() ) );
997 997
998 action = new QAction( "save_cal", i18n("Save Calendar Backup"), 0, 998 action = new QAction( "save_cal", i18n("Save Calendar Backup"), 0,
999 this ); 999 this );
1000 action->addTo( importMenu ); 1000 action->addTo( importMenu );
1001 connect( action, SIGNAL( activated() ), SLOT( saveCalendar() ) ); 1001 connect( action, SIGNAL( activated() ), SLOT( saveCalendar() ) );
1002 importMenu->insertSeparator(); 1002 importMenu->insertSeparator();
1003 importMenu->insertItem( i18n("Import"), importMenu_X ); 1003 importMenu->insertItem( i18n("Import"), importMenu_X );
1004 //importMenu->insertSeparator(); 1004 //importMenu->insertSeparator();
1005 action = new QAction( "import_qtopia", i18n("Export VCalendar"), 0, 1005 action = new QAction( "import_qtopia", i18n("Export VCalendar"), 0,
1006 this ); 1006 this );
1007 action->addTo( exportMenu_X ); 1007 action->addTo( exportMenu_X );
1008 connect( action, SIGNAL( activated() ), SLOT( exportVCalendar() ) ); 1008 connect( action, SIGNAL( activated() ), SLOT( exportVCalendar() ) );
1009 1009
1010 1010
1011 //LR 1011 //LR
1012 QPopupMenu *ex2phone = new QPopupMenu( this ); 1012 QPopupMenu *ex2phone = new QPopupMenu( this );
1013 ex2phone->insertItem(i18n("Complete calendar..."), 1 ); 1013 ex2phone->insertItem(i18n("Complete calendar..."), 1 );
1014 ex2phone->insertItem(i18n("Filtered calendar..."), 2 ); 1014 ex2phone->insertItem(i18n("Filtered calendar..."), 2 );
1015 connect( ex2phone, SIGNAL( activated(int) ), this, SLOT( exportToPhone( int)) ); 1015 connect( ex2phone, SIGNAL( activated(int) ), this, SLOT( exportToPhone( int)) );
1016 exportMenu_X->insertItem( i18n("Export to phone"), ex2phone ); 1016 exportMenu_X->insertItem( i18n("Export to phone"), ex2phone );
1017 1017
1018 importMenu->insertItem( i18n("Export"), exportMenu_X ); 1018 importMenu->insertItem( i18n("Export"), exportMenu_X );
1019#ifndef DESKTOP_VERSION 1019#ifndef DESKTOP_VERSION
1020 //importMenu->insertSeparator(); 1020 //importMenu->insertSeparator();
1021 brAction = new QAction( "beam toggle", i18n("Beam receive enabled"), 0, 1021 brAction = new QAction( "beam toggle", i18n("Beam receive enabled"), 0,
1022 this ); 1022 this );
1023 brAction->addTo( beamMenu_X ); 1023 brAction->addTo( beamMenu_X );
1024 brAction->setToggleAction (true ) ; 1024 brAction->setToggleAction (true ) ;
1025 connect( brAction, SIGNAL( activated() ), this, SLOT( toggleBeamReceive() ) ); 1025 connect( brAction, SIGNAL( activated() ), this, SLOT( toggleBeamReceive() ) );
1026 1026
1027 action = new QAction( "beam all", i18n("Beam complete calendar..."), 0, 1027 action = new QAction( "beam all", i18n("Beam complete calendar..."), 0,
1028 this ); 1028 this );
1029 action->addTo( beamMenu_X ); 1029 action->addTo( beamMenu_X );
1030 connect( action, SIGNAL( activated() ), mView, SLOT( beamCalendar() ) ); 1030 connect( action, SIGNAL( activated() ), mView, SLOT( beamCalendar() ) );
1031 1031
1032 action = new QAction( "beam all", i18n("Beam filtered calendar..."), 0, 1032 action = new QAction( "beam all", i18n("Beam filtered calendar..."), 0,
1033 this ); 1033 this );
1034 action->addTo( beamMenu_X ); 1034 action->addTo( beamMenu_X );
1035 connect( action, SIGNAL( activated() ), mView, SLOT( beamFilteredCalendar()) ); 1035 connect( action, SIGNAL( activated() ), mView, SLOT( beamFilteredCalendar()) );
1036 importMenu->insertItem( i18n("Beam"), beamMenu_X ); 1036 importMenu->insertItem( i18n("Beam"), beamMenu_X );
1037#else 1037#else
1038 //importMenu->insertSeparator(); 1038 //importMenu->insertSeparator();
1039 icon = loadPixmap( pathString + "print" ); 1039 icon = loadPixmap( pathString + "print" );
1040 action = new QAction( i18n("Print calendar..."),icon,i18n("Print calendar..."), 0, this ); 1040 action = new QAction( i18n("Print calendar..."),icon,i18n("Print calendar..."), 0, this );
1041 action->addTo( beamMenu_X ); 1041 action->addTo( beamMenu_X );
1042 connect( action, SIGNAL( activated() ), 1042 connect( action, SIGNAL( activated() ),
1043 this, SLOT( printCal() ) ); 1043 this, SLOT( printCal() ) );
1044 1044
1045 icon = loadPixmap( pathString + "print" ); 1045 icon = loadPixmap( pathString + "print" );
1046 action = new QAction( i18n("Print agenda selection..."),icon,i18n("Print agenda selection..."), 0, this ); 1046 action = new QAction( i18n("Print agenda selection..."),icon,i18n("Print agenda selection..."), 0, this );
1047 action->addTo( beamMenu_X ); 1047 action->addTo( beamMenu_X );
1048 connect( action, SIGNAL( activated() ), 1048 connect( action, SIGNAL( activated() ),
1049 this, SLOT( printSel() ) ); 1049 this, SLOT( printSel() ) );
1050 action = new QAction( i18n("Print What's Next View..."),icon,i18n("Print What's Next View..."), 0, this ); 1050 action = new QAction( i18n("Print What's Next View..."),icon,i18n("Print What's Next View..."), 0, this );
1051 action->addTo( beamMenu_X ); 1051 action->addTo( beamMenu_X );
1052 connect( action, SIGNAL( activated() ), 1052 connect( action, SIGNAL( activated() ),
1053 mView->viewManager(), SLOT( slotprintWNV() ) ); 1053 mView->viewManager(), SLOT( slotprintWNV() ) );
1054 1054
1055 action = new QAction( i18n("Print selected event / todo..."),icon,i18n("Print selected event / todo..."), 0, this ); 1055 action = new QAction( i18n("Print selected event / todo..."),icon,i18n("Print selected event / todo..."), 0, this );
1056 action->addTo( beamMenu_X ); 1056 action->addTo( beamMenu_X );
1057 connect( action, SIGNAL( activated() ), 1057 connect( action, SIGNAL( activated() ),
1058 mView, SLOT( slotprintSelInc() ) ); 1058 mView, SLOT( slotprintSelInc() ) );
1059 1059
1060 1060
1061 importMenu->insertItem( i18n("Print"), beamMenu_X ); 1061 importMenu->insertItem( i18n("Print"), beamMenu_X );
1062#endif 1062#endif
1063 importMenu->insertSeparator(); 1063 importMenu->insertSeparator();
1064 action = new QAction( "manage cat", i18n("Manage new categories..."), 0, 1064 action = new QAction( "manage cat", i18n("Manage new categories..."), 0,
1065 this ); 1065 this );
1066 action->addTo( importMenu ); 1066 action->addTo( importMenu );
1067 connect( action, SIGNAL( activated() ), mView, SLOT( manageCategories() ) ); 1067 connect( action, SIGNAL( activated() ), mView, SLOT( manageCategories() ) );
1068 importMenu->insertSeparator(); 1068 importMenu->insertSeparator();
1069 action = new QAction( "beam all", i18n("Save"), 0, 1069 action = new QAction( "beam all", i18n("Save"), 0,
1070 this ); 1070 this );
1071 action->addTo( importMenu ); 1071 action->addTo( importMenu );
1072 connect( action, SIGNAL( activated() ), this, SLOT( save() ) ); 1072 connect( action, SIGNAL( activated() ), this, SLOT( save() ) );
1073 action = new QAction( "beam all", i18n("Exit (+save)"), 0, 1073 action = new QAction( "beam all", i18n("Exit (+save)"), 0,
1074 this ); 1074 this );
1075 action->addTo( importMenu ); 1075 action->addTo( importMenu );
1076 connect( action, SIGNAL( activated() ), this, SLOT( close() ) ); 1076 connect( action, SIGNAL( activated() ), this, SLOT( close() ) );
1077 1077
1078 //menuBar->insertItem( "Configure",configureMenu ); 1078 //menuBar->insertItem( "Configure",configureMenu );
1079 //configureMenu->insertItem( "Toolbar",configureToolBarMenu ); 1079 //configureMenu->insertItem( "Toolbar",configureToolBarMenu );
1080 icon = loadPixmap( "korganizer/korganizer" ); 1080 icon = loadPixmap( "korganizer/korganizer" );
1081 1081
1082 action = new QAction( "Whats New", i18n("What's new?"), 0,this ); 1082 action = new QAction( "Whats New", i18n("What's new?"), 0,this );
1083 action->addTo( helpMenu ); 1083 action->addTo( helpMenu );
1084 connect( action, SIGNAL( activated() ), 1084 connect( action, SIGNAL( activated() ),
1085 SLOT( whatsNew() ) ); 1085 SLOT( whatsNew() ) );
1086 action = new QAction( "featureHowto", i18n("Features + hints..."), 0,this ); 1086 action = new QAction( "featureHowto", i18n("Features + hints..."), 0,this );
1087 action->addTo( helpMenu ); 1087 action->addTo( helpMenu );
1088 connect( action, SIGNAL( activated() ), 1088 connect( action, SIGNAL( activated() ),
1089 SLOT( features() ) ); 1089 SLOT( features() ) );
1090 action = new QAction( "Keys + Colors", i18n("Keys + Colors..."), 0, this ); 1090 action = new QAction( "Keys + Colors", i18n("Keys + Colors..."), 0, this );
1091 action->addTo( helpMenu ); 1091 action->addTo( helpMenu );
1092 connect( action, SIGNAL( activated() ), 1092 connect( action, SIGNAL( activated() ),
1093 SLOT( keyBindings() ) ); 1093 SLOT( keyBindings() ) );
1094 action = new QAction( "Storage Howto", i18n("Storage HowTo..."), 0,this ); 1094 action = new QAction( "Storage Howto", i18n("Storage HowTo..."), 0,this );
1095 action->addTo( helpMenu ); 1095 action->addTo( helpMenu );
1096 connect( action, SIGNAL( activated() ), 1096 connect( action, SIGNAL( activated() ),
1097 SLOT( storagehowto() ) ); 1097 SLOT( storagehowto() ) );
1098 action = new QAction( "Timetracking Howto", i18n("Timetracking HowTo..."), 0,this ); 1098 action = new QAction( "Timetracking Howto", i18n("Timetracking HowTo..."), 0,this );
1099 action->addTo( helpMenu ); 1099 action->addTo( helpMenu );
1100 connect( action, SIGNAL( activated() ), 1100 connect( action, SIGNAL( activated() ),
1101 SLOT( timetrackinghowto() ) ); 1101 SLOT( timetrackinghowto() ) );
1102 action = new QAction( "Sync Howto", i18n("Sync HowTo..."), 0,this ); 1102 action = new QAction( "Sync Howto", i18n("Sync HowTo..."), 0,this );
1103 action->addTo( helpMenu ); 1103 action->addTo( helpMenu );
1104 connect( action, SIGNAL( activated() ), 1104 connect( action, SIGNAL( activated() ),
1105 SLOT( synchowto() ) ); 1105 SLOT( synchowto() ) );
1106 action = new QAction( "KDE Sync Howto", i18n("KDE Sync HowTo..."), 0,this ); 1106 action = new QAction( "KDE Sync Howto", i18n("KDE Sync HowTo..."), 0,this );
1107 action->addTo( helpMenu ); 1107 action->addTo( helpMenu );
1108 connect( action, SIGNAL( activated() ), 1108 connect( action, SIGNAL( activated() ),
1109 SLOT( kdesynchowto() ) ); 1109 SLOT( kdesynchowto() ) );
1110 action = new QAction( "Multi Sync Howto", i18n("Multi Sync HowTo..."), 0,this ); 1110 action = new QAction( "Multi Sync Howto", i18n("Multi Sync HowTo..."), 0,this );
1111 action->addTo( helpMenu ); 1111 action->addTo( helpMenu );
1112 connect( action, SIGNAL( activated() ), 1112 connect( action, SIGNAL( activated() ),
1113 SLOT( multisynchowto() ) ); 1113 SLOT( multisynchowto() ) );
1114 action = new QAction( "Auto saving", i18n("Auto saving..."), 0, this ); 1114 action = new QAction( "Auto saving", i18n("Auto saving..."), 0, this );
1115 action->addTo( helpMenu ); 1115 action->addTo( helpMenu );
1116 connect( action, SIGNAL( activated() ), 1116 connect( action, SIGNAL( activated() ),
1117 SLOT( aboutAutoSaving() ) ); 1117 SLOT( aboutAutoSaving() ) );
1118 action = new QAction( "Problemd", i18n("Known Problems..."), 0,this ); 1118 action = new QAction( "Problemd", i18n("Known Problems..."), 0,this );
1119 action->addTo( helpMenu ); 1119 action->addTo( helpMenu );
1120 connect( action, SIGNAL( activated() ), 1120 connect( action, SIGNAL( activated() ),
1121 SLOT( aboutKnownBugs() ) ); 1121 SLOT( aboutKnownBugs() ) );
1122 action = new QAction( "Translate Howto", i18n("User translation..."), 0,this ); 1122 action = new QAction( "Translate Howto", i18n("User translation..."), 0,this );
1123 action->addTo( helpMenu ); 1123 action->addTo( helpMenu );
1124 connect( action, SIGNAL( activated() ), 1124 connect( action, SIGNAL( activated() ),
1125 SLOT( usertrans() ) ); 1125 SLOT( usertrans() ) );
1126 action = new QAction( "Frequently asked questions", i18n("FAQ..."), 0,this ); 1126 action = new QAction( "Frequently asked questions", i18n("FAQ..."), 0,this );
1127 action->addTo( helpMenu ); 1127 action->addTo( helpMenu );
1128 connect( action, SIGNAL( activated() ), 1128 connect( action, SIGNAL( activated() ),
1129 SLOT( faq() ) ); 1129 SLOT( faq() ) );
1130 action = new QAction( "licence", i18n("Licence..."), 0, this ); 1130 action = new QAction( "licence", i18n("Licence..."), 0, this );
1131 action->addTo( helpMenu ); 1131 action->addTo( helpMenu );
1132 connect( action, SIGNAL( activated() ), 1132 connect( action, SIGNAL( activated() ),
1133 SLOT( licence() ) ); 1133 SLOT( licence() ) );
1134 action = new QAction( "about", i18n("About..."), 0, this ); 1134 action = new QAction( "about", i18n("About..."), 0, this );
1135 action->addTo( helpMenu ); 1135 action->addTo( helpMenu );
1136 connect( action, SIGNAL( activated() ), 1136 connect( action, SIGNAL( activated() ),
1137 SLOT( about() ) ); 1137 SLOT( about() ) );
1138 //menuBar->insertSeparator(); 1138 //menuBar->insertSeparator();
1139 1139
1140 // ****************************************************** 1140 // ******************************************************
1141 // menubar icons 1141 // menubar icons
1142 1142
1143 1143
1144 1144
1145 //menuBar->insertItem( iconToolBar ); 1145 //menuBar->insertItem( iconToolBar );
1146 //xdays_action 1146 //xdays_action
1147 if (p-> mShowIconNewEvent) 1147 if (p-> mShowIconNewEvent)
1148 ne_action->addTo( iconToolBar ); 1148 ne_action->addTo( iconToolBar );
1149 if (p->mShowIconNewTodo ) 1149 if (p->mShowIconNewTodo )
1150 nt_action->addTo( iconToolBar ); 1150 nt_action->addTo( iconToolBar );
1151 if (p-> mShowIconSearch) 1151 if (p-> mShowIconSearch)
1152 search_action->addTo( iconToolBar ); 1152 search_action->addTo( iconToolBar );
1153 if (p-> mShowIconWhatsThis) 1153 if (p-> mShowIconWhatsThis)
1154 QWhatsThis::whatsThisButton ( iconToolBar ); 1154 QWhatsThis::whatsThisButton ( iconToolBar );
1155 if (p-> mShowIconNext) 1155 if (p-> mShowIconNext)
1156 whatsnext_action->addTo( viewToolBar ); 1156 whatsnext_action->addTo( viewToolBar );
1157 if (p-> mShowIconNextDays) 1157 if (p-> mShowIconNextDays)
1158 xdays_action->addTo( viewToolBar ); 1158 xdays_action->addTo( viewToolBar );
1159 if (p-> mShowIconJournal) 1159 if (p-> mShowIconJournal)
1160 viewjournal_action->addTo( viewToolBar ); 1160 viewjournal_action->addTo( viewToolBar );
1161 if (p-> mShowIconDay1) 1161 if (p-> mShowIconDay1)
1162 day1_action->addTo( viewToolBar ); 1162 day1_action->addTo( viewToolBar );
1163 if (p-> mShowIconDay5) 1163 if (p-> mShowIconDay5)
1164 day5_action->addTo( viewToolBar ); 1164 day5_action->addTo( viewToolBar );
1165 if (p-> mShowIconDay7) 1165 if (p-> mShowIconDay7)
1166 day7_action->addTo( viewToolBar ); 1166 day7_action->addTo( viewToolBar );
1167 if (p-> mShowIconDay6) 1167 if (p-> mShowIconDay6)
1168 day6_action->addTo( viewToolBar ); 1168 day6_action->addTo( viewToolBar );
1169 if (p-> mShowIconMonth) 1169 if (p-> mShowIconMonth)
1170 month_action->addTo( viewToolBar ); 1170 month_action->addTo( viewToolBar );
1171 if (p-> mShowIconList) 1171 if (p-> mShowIconList)
1172 showlist_action->addTo( viewToolBar ); 1172 showlist_action->addTo( viewToolBar );
1173 if (p-> mShowIconTodoview) 1173 if (p-> mShowIconTodoview)
1174 todoview_action->addTo( viewToolBar ); 1174 todoview_action->addTo( viewToolBar );
1175 1175
1176 icon = loadPixmap( pathString + "2leftarrowB" ); 1176 icon = loadPixmap( pathString + "2leftarrowB" );
1177 configureToolBarMenu->insertItem(icon, i18n("Prev. month"), 200); 1177 configureToolBarMenu->insertItem(icon, i18n("Prev. month"), 200);
1178 if (p-> mShowIconBackFast) { 1178 if (p-> mShowIconBackFast) {
1179 action = new QAction( i18n("Prev. month"), icon, i18n("Prev. month"),0 , this ); 1179 action = new QAction( i18n("Prev. month"), icon, i18n("Prev. month"),0 , this );
1180 connect( action, SIGNAL( activated() ), 1180 connect( action, SIGNAL( activated() ),
1181 mView, SLOT( goPreviousMonth() ) ); 1181 mView, SLOT( goPreviousMonth() ) );
1182 action->addTo( navigatorToolBar ); 1182 action->addTo( navigatorToolBar );
1183 } 1183 }
1184 icon = loadPixmap( pathString + "1leftarrowB" ); 1184 icon = loadPixmap( pathString + "1leftarrowB" );
1185 configureToolBarMenu->insertItem(icon, i18n("Go backward"), 210); 1185 configureToolBarMenu->insertItem(icon, i18n("Go backward"), 210);
1186 if (p-> mShowIconBack) { 1186 if (p-> mShowIconBack) {
1187 action = new QAction( i18n("Go backward"), icon, i18n("Go backward"),0 , this ); 1187 action = new QAction( i18n("Go backward"), icon, i18n("Go backward"),0 , this );
1188 connect( action, SIGNAL( activated() ), 1188 connect( action, SIGNAL( activated() ),
1189 mView, SLOT( goPrevious() ) ); 1189 mView, SLOT( goPrevious() ) );
1190 action->addTo( navigatorToolBar ); 1190 action->addTo( navigatorToolBar );
1191 } 1191 }
1192 icon = loadPixmap( pathString + "today" ); 1192 icon = loadPixmap( pathString + "today" );
1193 configureToolBarMenu->insertItem(icon, i18n("Go to Today"), 130); 1193 configureToolBarMenu->insertItem(icon, i18n("Go to Today"), 130);
1194 if (p-> mShowIconToday) 1194 if (p-> mShowIconToday)
1195 today_action->addTo( navigatorToolBar ); 1195 today_action->addTo( navigatorToolBar );
1196 icon = loadPixmap( pathString + "1rightarrowB" ); 1196 icon = loadPixmap( pathString + "1rightarrowB" );
1197 configureToolBarMenu->insertItem(icon, i18n("Go forward"), 220); 1197 configureToolBarMenu->insertItem(icon, i18n("Go forward"), 220);
1198 if (p-> mShowIconForward) { 1198 if (p-> mShowIconForward) {
1199 action = new QAction( i18n("Go forward"), icon, i18n("Go forward"),0 , this ); 1199 action = new QAction( i18n("Go forward"), icon, i18n("Go forward"),0 , this );
1200 connect( action, SIGNAL( activated() ), 1200 connect( action, SIGNAL( activated() ),
1201 mView, SLOT( goNext() ) ); 1201 mView, SLOT( goNext() ) );
1202 action->addTo( navigatorToolBar ); 1202 action->addTo( navigatorToolBar );
1203 } 1203 }
1204 icon = loadPixmap( pathString + "2rightarrowB" ); 1204 icon = loadPixmap( pathString + "2rightarrowB" );
1205 configureToolBarMenu->insertItem(icon, i18n("Next month"), 230); 1205 configureToolBarMenu->insertItem(icon, i18n("Next month"), 230);
1206 if (p-> mShowIconForwardFast) { 1206 if (p-> mShowIconForwardFast) {
1207 action = new QAction( i18n("Next month"), icon, i18n("Next month"),0 , this ); 1207 action = new QAction( i18n("Next month"), icon, i18n("Next month"),0 , this );
1208 connect( action, SIGNAL( activated() ), 1208 connect( action, SIGNAL( activated() ),
1209 mView, SLOT( goNextMonth() ) ); 1209 mView, SLOT( goNextMonth() ) );
1210 action->addTo( navigatorToolBar ); 1210 action->addTo( navigatorToolBar );
1211 } 1211 }
1212 1212
1213 1213
1214 configureToolBarMenu->insertItem(i18n("What's This?"), 300, 6); 1214 configureToolBarMenu->insertItem(i18n("What's This?"), 300, 6);
1215 1215
1216 1216
1217 if ( p->mShowIconNavigator ) configureToolBarMenu->setItemChecked( 22 , true); 1217 if ( p->mShowIconNavigator ) configureToolBarMenu->setItemChecked( 22 , true);
1218 if ( p->mShowIconAllday ) configureToolBarMenu->setItemChecked( 24 , true); 1218 if ( p->mShowIconAllday ) configureToolBarMenu->setItemChecked( 24 , true);
1219 if ( p->mShowIconFilterview ) configureToolBarMenu->setItemChecked( 26 , true); 1219 if ( p->mShowIconFilterview ) configureToolBarMenu->setItemChecked( 26 , true);
1220 if ( p->mShowIconToggleFull ) configureToolBarMenu->setItemChecked( 28 , true); 1220 if ( p->mShowIconToggleFull ) configureToolBarMenu->setItemChecked( 28 , true);
1221 1221
1222 if (p-> mShowIconNewEvent) 1222 if (p-> mShowIconNewEvent)
1223 configureToolBarMenu->setItemChecked( 10, true ); 1223 configureToolBarMenu->setItemChecked( 10, true );
1224 if (p->mShowIconNewTodo ) 1224 if (p->mShowIconNewTodo )
1225 configureToolBarMenu->setItemChecked( 20, true ); 1225 configureToolBarMenu->setItemChecked( 20, true );
1226 if (p-> mShowIconSearch) 1226 if (p-> mShowIconSearch)
1227 configureToolBarMenu->setItemChecked( 120, true ); 1227 configureToolBarMenu->setItemChecked( 120, true );
1228 if (p-> mShowIconList) 1228 if (p-> mShowIconList)
1229 configureToolBarMenu->setItemChecked( 30, true ); 1229 configureToolBarMenu->setItemChecked( 30, true );
1230 if (p-> mShowIconDay1) 1230 if (p-> mShowIconDay1)
1231 configureToolBarMenu->setItemChecked( 40, true ); 1231 configureToolBarMenu->setItemChecked( 40, true );
1232 if (p-> mShowIconDay5) 1232 if (p-> mShowIconDay5)
1233 configureToolBarMenu->setItemChecked( 50, true ); 1233 configureToolBarMenu->setItemChecked( 50, true );
1234 if (p-> mShowIconDay6) 1234 if (p-> mShowIconDay6)
1235 configureToolBarMenu->setItemChecked( 75, true ); 1235 configureToolBarMenu->setItemChecked( 75, true );
1236 if (p-> mShowIconDay7) 1236 if (p-> mShowIconDay7)
1237 configureToolBarMenu->setItemChecked( 60, true ); 1237 configureToolBarMenu->setItemChecked( 60, true );
1238 if (p-> mShowIconMonth) 1238 if (p-> mShowIconMonth)
1239 configureToolBarMenu->setItemChecked( 70, true ); 1239 configureToolBarMenu->setItemChecked( 70, true );
1240 if (p-> mShowIconTodoview) 1240 if (p-> mShowIconTodoview)
1241 configureToolBarMenu->setItemChecked( 80, true ); 1241 configureToolBarMenu->setItemChecked( 80, true );
1242 if (p-> mShowIconBackFast) 1242 if (p-> mShowIconBackFast)
1243 configureToolBarMenu->setItemChecked( 200, true ); 1243 configureToolBarMenu->setItemChecked( 200, true );
1244 if (p-> mShowIconBack) 1244 if (p-> mShowIconBack)
1245 configureToolBarMenu->setItemChecked( 210, true ); 1245 configureToolBarMenu->setItemChecked( 210, true );
1246 if (p-> mShowIconToday) 1246 if (p-> mShowIconToday)
1247 configureToolBarMenu->setItemChecked( 130, true ); 1247 configureToolBarMenu->setItemChecked( 130, true );
1248 if (p-> mShowIconForward) 1248 if (p-> mShowIconForward)
1249 configureToolBarMenu->setItemChecked( 220, true ); 1249 configureToolBarMenu->setItemChecked( 220, true );
1250 if (p-> mShowIconForwardFast) 1250 if (p-> mShowIconForwardFast)
1251 configureToolBarMenu->setItemChecked( 230, true ); 1251 configureToolBarMenu->setItemChecked( 230, true );
1252 if (p-> mShowIconNextDays) 1252 if (p-> mShowIconNextDays)
1253 configureToolBarMenu->setItemChecked( 100, true ); 1253 configureToolBarMenu->setItemChecked( 100, true );
1254 if (p-> mShowIconNext) 1254 if (p-> mShowIconNext)
1255 configureToolBarMenu->setItemChecked( 110, true ); 1255 configureToolBarMenu->setItemChecked( 110, true );
1256 if (p-> mShowIconJournal) 1256 if (p-> mShowIconJournal)
1257 configureToolBarMenu->setItemChecked( 90, true ); 1257 configureToolBarMenu->setItemChecked( 90, true );
1258 if (p-> mShowIconWhatsThis) 1258 if (p-> mShowIconWhatsThis)
1259 configureToolBarMenu->setItemChecked( 300, true ); 1259 configureToolBarMenu->setItemChecked( 300, true );
1260 if (p-> mShowIconWeekNum) 1260 if (p-> mShowIconWeekNum)
1261 configureToolBarMenu->setItemChecked( 400, true ); 1261 configureToolBarMenu->setItemChecked( 400, true );
1262 if (!p-> mShowIconStretch) { 1262 if (!p-> mShowIconStretch) {
1263 QLabel* dummy = new QLabel( iconToolBar ); 1263 QLabel* dummy = new QLabel( iconToolBar );
1264 dummy->setBackgroundColor( iconToolBar->backgroundColor() ); 1264 dummy->setBackgroundColor( iconToolBar->backgroundColor() );
1265 dummy->setMinimumWidth( 0 ); 1265 dummy->setMinimumWidth( 0 );
1266 iconToolBar->setStretchableWidget ( dummy ) ; 1266 iconToolBar->setStretchableWidget ( dummy ) ;
1267 } 1267 }
1268 else { 1268 else {
1269 iconToolBar->setHorizontalStretchable (true ); 1269 iconToolBar->setHorizontalStretchable (true );
1270 viewToolBar->setHorizontalStretchable (true ); 1270 viewToolBar->setHorizontalStretchable (true );
1271 navigatorToolBar->setHorizontalStretchable (true ); 1271 navigatorToolBar->setHorizontalStretchable (true );
1272 iconToolBar->setVerticalStretchable (true ); 1272 iconToolBar->setVerticalStretchable (true );
1273 viewToolBar->setVerticalStretchable (true ); 1273 viewToolBar->setVerticalStretchable (true );
1274 navigatorToolBar->setVerticalStretchable (true ); 1274 navigatorToolBar->setVerticalStretchable (true );
1275 configureToolBarMenu->setItemChecked( 5, true ); 1275 configureToolBarMenu->setItemChecked( 5, true );
1276 } 1276 }
1277 if (p-> mShowIconFilter) 1277 if (p-> mShowIconFilter)
1278 configureToolBarMenu->setItemChecked( 7, true ); 1278 configureToolBarMenu->setItemChecked( 7, true );
1279 if (p-> mShowIconOnetoolbar) 1279 if (p-> mShowIconOnetoolbar)
1280 configureToolBarMenu->setItemChecked( 6, true ); 1280 configureToolBarMenu->setItemChecked( 6, true );
1281 1281
1282 1282
1283 if ( filterMenubar ) 1283 if ( filterMenubar )
1284 connect( mView->filterView(), SIGNAL( filterChanged() ), SLOT( updateFilterToolbar() ) ); 1284 connect( mView->filterView(), SIGNAL( filterChanged() ), SLOT( updateFilterToolbar() ) );
1285 connect( configureToolBarMenu, SIGNAL( activated( int ) ),this, SLOT(configureToolBar( int ) ) ); 1285 connect( configureToolBarMenu, SIGNAL( activated( int ) ),this, SLOT(configureToolBar( int ) ) );
1286 configureAgenda( p->mHourSize ); 1286 configureAgenda( p->mHourSize );
1287 connect( configureAgendaMenu, SIGNAL( activated( int ) ),this, SLOT(configureAgenda( int ) ) ); 1287 connect( configureAgendaMenu, SIGNAL( activated( int ) ),this, SLOT(configureAgenda( int ) ) );
1288} 1288}
1289 1289
1290void MainWindow::exportToPhone( int mode ) 1290void MainWindow::exportToPhone( int mode )
1291{ 1291{
1292 1292
1293 //ex2phone->insertItem(i18n("Complete calendar..."), 1 ); 1293 //ex2phone->insertItem(i18n("Complete calendar..."), 1 );
1294 //ex2phone->insertItem(i18n("Filtered calendar..."), 2 ); 1294 //ex2phone->insertItem(i18n("Filtered calendar..."), 2 );
1295 KOex2phonePrefs ex2phone; 1295 KOex2phonePrefs ex2phone;
1296 1296
1297 ex2phone.mPhoneConnection->setText( KPimGlobalPrefs::instance()->mEx2PhoneConnection ); 1297 ex2phone.mPhoneConnection->setText( KPimGlobalPrefs::instance()->mEx2PhoneConnection );
1298 ex2phone.mPhoneDevice->setText( KPimGlobalPrefs::instance()->mEx2PhoneDevice ); 1298 ex2phone.mPhoneDevice->setText( KPimGlobalPrefs::instance()->mEx2PhoneDevice );
1299 ex2phone.mPhoneModel->setText( KPimGlobalPrefs::instance()->mEx2PhoneModel ); 1299 ex2phone.mPhoneModel->setText( KPimGlobalPrefs::instance()->mEx2PhoneModel );
1300 if ( mode == 1 ) 1300 if ( mode == 1 )
1301 ex2phone.setCaption(i18n("Export complete calendar")); 1301 ex2phone.setCaption(i18n("Export complete calendar"));
1302 if ( mode == 2 ) 1302 if ( mode == 2 )
1303 ex2phone.setCaption(i18n("Export filtered calendar")); 1303 ex2phone.setCaption(i18n("Export filtered calendar"));
1304 1304
1305 if ( !ex2phone.exec() ) { 1305 if ( !ex2phone.exec() ) {
1306 return; 1306 return;
1307 } 1307 }
1308 KPimGlobalPrefs::instance()->mEx2PhoneConnection = ex2phone.mPhoneConnection->text(); 1308 KPimGlobalPrefs::instance()->mEx2PhoneConnection = ex2phone.mPhoneConnection->text();
1309 KPimGlobalPrefs::instance()->mEx2PhoneDevice = ex2phone.mPhoneDevice->text(); 1309 KPimGlobalPrefs::instance()->mEx2PhoneDevice = ex2phone.mPhoneDevice->text();
1310 KPimGlobalPrefs::instance()->mEx2PhoneModel = ex2phone.mPhoneModel->text(); 1310 KPimGlobalPrefs::instance()->mEx2PhoneModel = ex2phone.mPhoneModel->text();
1311 1311
1312 int inFuture = 0; 1312 int inFuture = 0;
1313 if ( ex2phone.mWriteBackFuture->isChecked() ) 1313 if ( ex2phone.mWriteBackFuture->isChecked() )
1314 inFuture = ex2phone.mWriteBackFutureWeeks->value(); 1314 inFuture = ex2phone.mWriteBackFutureWeeks->value();
1315 QPtrList<Incidence> delSel; 1315 QPtrList<Incidence> delSel;
1316 if ( mode == 1 ) 1316 if ( mode == 1 )
1317 delSel = mCalendar->rawIncidences(); 1317 delSel = mCalendar->rawIncidences();
1318 if ( mode == 2 ) 1318 if ( mode == 2 )
1319 delSel = mCalendar->incidences(); 1319 delSel = mCalendar->incidences();
1320 CalendarLocal* cal = new CalendarLocal(); 1320 CalendarLocal* cal = new CalendarLocal();
1321 cal->setLocalTime(); 1321 cal->setLocalTime();
1322 Incidence *incidence = delSel.first(); 1322 Incidence *incidence = delSel.first();
1323 QDateTime cur = QDateTime::currentDateTime().addDays( -7 ); 1323 QDateTime cur = QDateTime::currentDateTime().addDays( -7 );
1324 QDateTime end = cur.addDays( ( inFuture +1 ) *7 ); 1324 QDateTime end = cur.addDays( ( inFuture +1 ) *7 );
1325 while ( incidence ) { 1325 while ( incidence ) {
1326 if ( incidence->type() != "Journal" ) { 1326 if ( incidence->type() != "Journal" ) {
1327 bool add = true; 1327 bool add = true;
1328 if ( inFuture ) { 1328 if ( inFuture ) {
1329 QDateTime dt; 1329 QDateTime dt;
1330 if ( incidence->type() == "Todo" ) { 1330 if ( incidence->type() == "Todo" ) {
1331 Todo * t = (Todo*)incidence; 1331 Todo * t = (Todo*)incidence;
1332 if ( t->hasDueDate() ) 1332 if ( t->hasDueDate() )
1333 dt = t->dtDue(); 1333 dt = t->dtDue();
1334 else 1334 else
1335 dt = cur.addSecs( 62 ); 1335 dt = cur.addSecs( 62 );
1336 } 1336 }
1337 else { 1337 else {
1338 bool ok; 1338 bool ok;
1339 dt = incidence->getNextOccurence( cur, &ok ); 1339 dt = incidence->getNextOccurence( cur, &ok );
1340 if ( !ok ) 1340 if ( !ok )
1341 dt = cur.addSecs( -62 ); 1341 dt = cur.addSecs( -62 );
1342 } 1342 }
1343 if ( dt < cur || dt > end ) { 1343 if ( dt < cur || dt > end ) {
1344 add = false; 1344 add = false;
1345 } 1345 }
1346 } 1346 }
1347 if ( add ) { 1347 if ( add ) {
1348 Incidence *in = incidence->clone(); 1348 Incidence *in = incidence->clone();
1349 cal->addIncidence( in ); 1349 cal->addIncidence( in );
1350 } 1350 }
1351 } 1351 }
1352 incidence = delSel.next(); 1352 incidence = delSel.next();
1353 } 1353 }
1354 PhoneAccess::writeConfig( KPimGlobalPrefs::instance()->mEx2PhoneDevice, 1354 PhoneAccess::writeConfig( KPimGlobalPrefs::instance()->mEx2PhoneDevice,
1355 KPimGlobalPrefs::instance()->mEx2PhoneConnection, 1355 KPimGlobalPrefs::instance()->mEx2PhoneConnection,
1356 KPimGlobalPrefs::instance()->mEx2PhoneModel ); 1356 KPimGlobalPrefs::instance()->mEx2PhoneModel );
1357 1357
1358 setCaption( i18n("Writing to phone...")); 1358 setCaption( i18n("Writing to phone..."));
1359 if ( PhoneFormat::writeToPhone( cal ) ) 1359 if ( PhoneFormat::writeToPhone( cal ) )
1360 setCaption( i18n("Export to phone successful!")); 1360 setCaption( i18n("Export to phone successful!"));
1361 else 1361 else
1362 setCaption( i18n("Error exporting to phone!")); 1362 setCaption( i18n("Error exporting to phone!"));
1363 delete cal; 1363 delete cal;
1364} 1364}
1365 1365
1366 1366
1367void MainWindow::setDefaultPreferences() 1367void MainWindow::setDefaultPreferences()
1368{ 1368{
1369 KOPrefs *p = KOPrefs::instance(); 1369 KOPrefs *p = KOPrefs::instance();
1370 1370
1371 p->mCompactDialogs = true; 1371 p->mCompactDialogs = true;
1372 p->mConfirm = true; 1372 p->mConfirm = true;
1373 // p->mEnableQuickTodo = false; 1373 // p->mEnableQuickTodo = false;
1374 1374
1375} 1375}
1376 1376
1377QString MainWindow::resourcePath() 1377QString MainWindow::resourcePath()
1378{ 1378{
1379 return KGlobal::iconLoader()->iconPath(); 1379 return KGlobal::iconLoader()->iconPath();
1380} 1380}
1381 1381
1382void MainWindow::displayText( QString text ,QString cap ) 1382void MainWindow::displayText( QString text ,QString cap )
1383{ 1383{
1384 QDialog dia( this, "name", true ); ; 1384 QDialog dia( this, "name", true ); ;
1385 dia.setCaption( cap ); 1385 dia.setCaption( cap );
1386 QVBoxLayout* lay = new QVBoxLayout( &dia ); 1386 QVBoxLayout* lay = new QVBoxLayout( &dia );
1387 lay->setSpacing( 3 ); 1387 lay->setSpacing( 3 );
1388 lay->setMargin( 3 ); 1388 lay->setMargin( 3 );
1389 QTextBrowser tb ( &dia ); 1389 QTextBrowser tb ( &dia );
1390 lay->addWidget( &tb ); 1390 lay->addWidget( &tb );
1391 tb.setText( text ); 1391 tb.setText( text );
1392#ifdef DESKTOP_VERSION 1392#ifdef DESKTOP_VERSION
1393 dia.resize( 640, 480); 1393 dia.resize( 640, 480);
1394#else 1394#else
1395 dia.showMaximized(); 1395 dia.showMaximized();
1396#endif 1396#endif
1397 dia.exec(); 1397 dia.exec();
1398} 1398}
1399 1399
1400void MainWindow::features() 1400void MainWindow::features()
1401{ 1401{
1402 1402
1403 KApplication::showFile( i18n("KO/Pi Features and hints"), "kdepim/korganizer/featuresKOPI.txt" ); 1403 KApplication::showFile( i18n("KO/Pi Features and hints"), "kdepim/korganizer/featuresKOPI.txt" );
1404} 1404}
1405 1405
1406void MainWindow::usertrans() 1406void MainWindow::usertrans()
1407{ 1407{
1408 1408
1409 KApplication::showFile( i18n("KO/Pi User translation HowTo"), "kdepim/korganizer/usertranslationHOWTO.txt" ); 1409 KApplication::showFile( i18n("KO/Pi User translation HowTo"), "kdepim/korganizer/usertranslationHOWTO.txt" );
1410} 1410}
1411 1411
1412void MainWindow::storagehowto() 1412void MainWindow::storagehowto()
1413{ 1413{
1414 KApplication::showFile( "KDE-Pim/Pi Storage HowTo", "kdepim/storagehowto.txt" ); 1414 KApplication::showFile( "KDE-Pim/Pi Storage HowTo", "kdepim/storagehowto.txt" );
1415} 1415}
1416void MainWindow::timetrackinghowto() 1416void MainWindow::timetrackinghowto()
1417{ 1417{
1418 KApplication::showFile( "KO/Pi Timetracking HowTo", "kdepim/timetrackerhowto.txt" ); 1418 KApplication::showFile( "KO/Pi Timetracking HowTo", "kdepim/timetrackerhowto.txt" );
1419} 1419}
1420void MainWindow::kdesynchowto() 1420void MainWindow::kdesynchowto()
1421{ 1421{
1422 KApplication::showFile( "KDE-Pim/Pi Synchronization HowTo", "kdepim/Zaurus-KDE_syncHowTo.txt" ); 1422 KApplication::showFile( "KDE-Pim/Pi Synchronization HowTo", "kdepim/Zaurus-KDE_syncHowTo.txt" );
1423} 1423}
1424void MainWindow::multisynchowto() 1424void MainWindow::multisynchowto()
1425{ 1425{
1426 KApplication::showFile( "KDE-Pim/Pi Synchronization HowTo", "kdepim/MultiSyncHowTo.txt" ); 1426 KApplication::showFile( "KDE-Pim/Pi Synchronization HowTo", "kdepim/MultiSyncHowTo.txt" );
1427} 1427}
1428void MainWindow::synchowto() 1428void MainWindow::synchowto()
1429{ 1429{
1430 KApplication::showFile( "KDE-Pim/Pi Synchronization HowTo", "kdepim/SyncHowto.txt" ); 1430 KApplication::showFile( "KDE-Pim/Pi Synchronization HowTo", "kdepim/SyncHowto.txt" );
1431} 1431}
1432void MainWindow::faq() 1432void MainWindow::faq()
1433{ 1433{
1434 KApplication::showFile( i18n("KO/Pi FAQ"), "kdepim/korganizer/kopiFAQ.txt" ); 1434 KApplication::showFile( i18n("KO/Pi FAQ"), "kdepim/korganizer/kopiFAQ.txt" );
1435 1435
1436} 1436}
1437void MainWindow::whatsNew() 1437void MainWindow::whatsNew()
1438{ 1438{
1439 KApplication::showFile( "KDE-Pim/Pi Version Info", "kdepim/WhatsNew.txt" ); 1439 KApplication::showFile( "KDE-Pim/Pi Version Info", "kdepim/WhatsNew.txt" );
1440 1440
1441} 1441}
1442void MainWindow::licence() 1442void MainWindow::licence()
1443{ 1443{
1444 KApplication::showLicence(); 1444 KApplication::showLicence();
1445 1445
1446} 1446}
1447void MainWindow::about() 1447void MainWindow::about()
1448{ 1448{
1449 QString version; 1449 QString version;
1450#include <../version> 1450#include <../version>
1451 QMessageBox::about( this, i18n("About KOrganizer/Pi"), 1451 QMessageBox::about( this, i18n("About KOrganizer/Pi"),
1452 i18n("KOrganizer/Platform-independent\n") + 1452 i18n("KOrganizer/Platform-independent\n") +
1453 "(KO/Pi) " + version + " - " + 1453 "(KO/Pi) " + version + " - " +
1454 1454
1455#ifdef DESKTOP_VERSION 1455#ifdef DESKTOP_VERSION
1456 i18n("Desktop Edition\n") + 1456 i18n("Desktop Edition\n") +
1457#else 1457#else
1458 i18n("PDA-Edition\nfor: Zaurus 5x00/7x0/860/3000/6000\n") + 1458 i18n("PDA-Edition\nfor: Zaurus 5x00/7x0/860/3000/6000\n") +
1459#endif 1459#endif
1460 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!") ); 1460 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!") );
1461} 1461}
1462void MainWindow::keyBindings() 1462void MainWindow::keyBindings()
1463{ 1463{
1464 QString cap = i18n("KO/Pi Keys + Colors"); 1464 QString cap = i18n("KO/Pi Keys + Colors");
1465 QString text = i18n("<p><h2>KO/Pi key shortcuts:</h2></p>\n") + 1465 QString text = i18n("<p><h2>KO/Pi key shortcuts:</h2></p>\n") +
1466 i18n("<p><b>H</b>: This help dialog | <b>S</b>: Search dialog</p>\n")+ 1466 i18n("<p><b>H</b>: This help dialog | <b>S</b>: Search dialog</p>\n")+
1467 i18n("<p><b>N</b>: Switch to next view which has a toolbar icon</p>\n") + 1467 i18n("<p><b>N</b>: Switch to next view which has a toolbar icon</p>\n") +
1468 i18n("<p><b>A+(shift or ctrl)</b>: Show occurence of next alarm</p>\n") + 1468 i18n("<p><b>A+(shift or ctrl)</b>: Show occurence of next alarm</p>\n") +
1469 i18n("<p><b>I</b>: Show info for selected event/todo</p>\n") + 1469 i18n("<p><b>I</b>: Show info for selected event/todo</p>\n") +
1470 i18n("<p><b>Space</b>: Toggle fullscreen | <b>P</b>: Date picker</p>\n")+ 1470 i18n("<p><b>Space</b>: Toggle fullscreen | <b>P</b>: Date picker</p>\n")+
1471 i18n("<p><b>F</b>: Toggle filterview |<b>F+ctrl</b>: Edit filter </p>\n")+ 1471 i18n("<p><b>F</b>: Toggle filterview |<b>F+ctrl</b>: Edit filter </p>\n")+
1472 i18n("<p><b>O</b>: Filter On/Off | <b>J</b>: Journal view</p>\n")+ 1472 i18n("<p><b>O</b>: Filter On/Off | <b>J</b>: Journal view</p>\n")+
1473 i18n("<p><b>1-0</b> (+<b>ctrl</b>): Select filter 1-10 (11-20)</p>\n")+ 1473 i18n("<p><b>1-0</b> (+<b>ctrl</b>): Select filter 1-10 (11-20)</p>\n")+
1474 i18n("<p><b>X</b>: Next X days view| <b>W</b>: What's next view\n ")+ 1474 i18n("<p><b>X</b>: Next X days view| <b>W</b>: What's next view\n ")+
1475 i18n("<p><b>V</b>: Todo view | <b>L</b>: Event list view</p>\n")+ 1475 i18n("<p><b>V</b>: Todo view | <b>L</b>: Event list view</p>\n")+
1476 i18n("<p><b>Z,Y</b>: Work week view | <b>U</b>: Week view</p>\n")+ 1476 i18n("<p><b>Z,Y</b>: Work week view | <b>U</b>: Week view</p>\n")+
1477 i18n("<p><b>D</b>: One day view | <b>M</b>: Month view</p>\n")+ 1477 i18n("<p><b>D</b>: One day view | <b>M</b>: Month view</p>\n")+
1478 i18n("<p><b>K</b>: Week view in Month view syle</p>\n")+ 1478 i18n("<p><b>K</b>: Week view in Month view syle</p>\n")+
1479 i18n("<p><b>E</b>: Edit selected item |<b> E+ctrl</b>: New Event</p>\n")+ 1479 i18n("<p><b>E</b>: Edit selected item |<b> E+ctrl</b>: New Event</p>\n")+
1480 i18n("<p><b>T</b>: Goto today | <b>T+ctrl</b>: New Todo</p>\n")+ 1480 i18n("<p><b>T</b>: Goto today | <b>T+ctrl</b>: New Todo</p>\n")+
1481 i18n("<p><b>S+ctrl</b>: Add sub-todo | <b>X+ctrl</b>: Toggle datenavigator</p>\n")+ 1481 i18n("<p><b>S+ctrl</b>: Add sub-todo | <b>X+ctrl</b>: Toggle datenavigator</p>\n")+
1482 i18n("<p><b>+,-</b> : Zoom in/out agenda | <b>A</b>: Toggle allday agenda height</p>\n")+ 1482 i18n("<p><b>+,-</b> : Zoom in/out agenda | <b>A</b>: Toggle allday agenda height</p>\n")+
1483 i18n("<p><b>C</b>: Show current time in agenda view</p>\n")+ 1483 i18n("<p><b>C</b>: Show current time in agenda view</p>\n")+
1484 i18n("<p><b>B</b>: Edit description (details) of selected item</p>\n")+ 1484 i18n("<p><b>B</b>: Edit description (details) of selected item</p>\n")+
1485 i18n("<p><b>right</b>: Next week | <b>right+ctrl</b>: Next month</p>\n")+ 1485 i18n("<p><b>right</b>: Next week | <b>right+ctrl</b>: Next month</p>\n")+
1486 i18n("<p><b>left</b>: Prev. week | <b>left+ctrl</b>: Prev. month</p>\n")+ 1486 i18n("<p><b>left</b>: Prev. week | <b>left+ctrl</b>: Prev. month</p>\n")+
1487 i18n("<p><b>del,backspace</b>: Delete selected item</p>\n")+ 1487 i18n("<p><b>del,backspace</b>: Delete selected item</p>\n")+
1488 i18n("<p><h3>In agenda view:</h3></p>\n") + 1488 i18n("<p><h3>In agenda view:</h3></p>\n") +
1489 i18n("<p><b>up/down</b>: Scroll agenda view</p>\n")+ 1489 i18n("<p><b>up/down</b>: Scroll agenda view</p>\n")+
1490 i18n("<p><b>ctrl+up/down</b>: Scroll small todo view</p>\n")+ 1490 i18n("<p><b>ctrl+up/down</b>: Scroll small todo view</p>\n")+
1491 i18n("<p><h3>In todo view:</h3></p>\n") + 1491 i18n("<p><h3>In todo view:</h3></p>\n") +
1492 i18n("<p><b>shift+U</b>: <b>U</b>nparent todo (make root todo)</p>\n")+ 1492 i18n("<p><b>shift+U</b>: <b>U</b>nparent todo (make root todo)</p>\n")+
1493 i18n("<p><b>shift+S</b>: Make <b>S</b>ubtodo (reparent todo)</p>\n")+ 1493 i18n("<p><b>shift+S</b>: Make <b>S</b>ubtodo (reparent todo)</p>\n")+
1494 i18n("<p><b>shift+P</b>: Make new <b>P</b>arent for todo selected with shift+S</p>\n")+ 1494 i18n("<p><b>shift+P</b>: Make new <b>P</b>arent for todo selected with shift+S</p>\n")+
1495 i18n("<p><b>Q</b>: Toggle quick todo line edit.</p>\n")+ 1495 i18n("<p><b>Q</b>: Toggle quick todo line edit.</p>\n")+
1496 i18n("<p><b>I</b>: Show info of current item+one step down.</p>\n")+ 1496 i18n("<p><b>I</b>: Show info of current item+one step down.</p>\n")+
1497 i18n("<p><b>return</b>: Mark item as completed+one step down.</p>\n")+ 1497 i18n("<p><b>return</b>: Mark item as completed+one step down.</p>\n")+
1498 i18n("<p><b>return+shift</b>: Mark item as not completed+one step down</p>\n")+ 1498 i18n("<p><b>return+shift</b>: Mark item as not completed+one step down</p>\n")+
1499 i18n("<p><h3>In list view:</h3></p>\n") + 1499 i18n("<p><h3>In list view:</h3></p>\n") +
1500 i18n("<p><b>I</b>: Show info of current item+one step down.</p>\n")+ 1500 i18n("<p><b>I</b>: Show info of current item+one step down.</p>\n")+
1501 i18n("<p><b>return</b>: Select item+one step down</p>\n")+ 1501 i18n("<p><b>return</b>: Select item+one step down</p>\n")+
1502 i18n("<p><b>return+shift</b>: Deselect item+one step down</p>\n")+ 1502 i18n("<p><b>return+shift</b>: Deselect item+one step down</p>\n")+
1503 i18n("<p><b>up/down</b>: Next/prev item</p>\n")+ 1503 i18n("<p><b>up/down</b>: Next/prev item</p>\n")+
1504 i18n("<p><b>ctrl+up/down</b>: Goto up/down by 20% of items</p>\n")+ 1504 i18n("<p><b>ctrl+up/down</b>: Goto up/down by 20% of items</p>\n")+
1505 i18n("<p><b>shift+up/down</b>: Goto first/last item</p>\n")+ 1505 i18n("<p><b>shift+up/down</b>: Goto first/last item</p>\n")+
1506 i18n("<p><h3>In event/todo viewer:</h3></p>\n") + 1506 i18n("<p><h3>In event/todo viewer:</h3></p>\n") +
1507 i18n("<p><b>I,C</b>: Close dialog.</p>\n")+ 1507 i18n("<p><b>I,C</b>: Close dialog.</p>\n")+
1508 i18n("<p><b>A</b>: Show agenda view.</p>\n")+ 1508 i18n("<p><b>A</b>: Show agenda view.</p>\n")+
1509 i18n("<p><b>E</b>: Edit item</p>\n") + 1509 i18n("<p><b>E</b>: Edit item</p>\n") +
1510 i18n("<p><h2>KO/Pi icon colors:</h2></p>\n") + 1510 i18n("<p><h2>KO/Pi icon colors:</h2></p>\n") +
1511 i18n("<p><b>(for square icons in agenda and month view)</b></p>\n") + 1511 i18n("<p><b>(for square icons in agenda and month view)</b></p>\n") +
1512 i18n("<p><b>Cross</b>: Item cancelled.([c] in Whats'Next view)</p>\n")+ 1512 i18n("<p><b>Cross</b>: Item cancelled.([c] in Whats'Next view)</p>\n")+
1513 i18n("<p><b>Red</b>: Alarm set.([a] in Whats'Next view)</p>\n")+ 1513 i18n("<p><b>Red</b>: Alarm set.([a] in Whats'Next view)</p>\n")+
1514 i18n("<p><b>Blue</b>: Recurrent event.([r] in Whats'Next view)</p>\n")+ 1514 i18n("<p><b>Blue</b>: Recurrent event.([r] in Whats'Next view)</p>\n")+
1515 i18n("<p><b>Dark green</b>: Information(description) available.([i] in WN view)</p>\n")+ 1515 i18n("<p><b>Dark green</b>: Information(description) available.([i] in WN view)</p>\n")+
1516 i18n("<p><b>Black</b>: Event/todo with attendees. You are the organizer!</p>\n")+ 1516 i18n("<p><b>Black</b>: Event/todo with attendees. You are the organizer!</p>\n")+
1517 i18n("<p><b>Dark yellow</b>: Event/todo with attendees.</p>\n") + 1517 i18n("<p><b>Dark yellow</b>: Event/todo with attendees.</p>\n") +
1518 i18n("<p><b>White</b>: Item readonly</p>\n"); 1518 i18n("<p><b>White</b>: Item readonly</p>\n");
1519 displayText( text, cap); 1519 displayText( text, cap);
1520} 1520}
1521void MainWindow::aboutAutoSaving() 1521void MainWindow::aboutAutoSaving()
1522{ 1522{
1523 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"); 1523 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");
1524 1524
1525 KApplication::showText( i18n("Auto Saving in KOrganizer/Pi"), text); 1525 KApplication::showText( i18n("Auto Saving in KOrganizer/Pi"), text);
1526 1526
1527} 1527}
1528void MainWindow::aboutKnownBugs() 1528void MainWindow::aboutKnownBugs()
1529{ 1529{
1530 QMessageBox* msg; 1530 QMessageBox* msg;
1531 msg = new QMessageBox( i18n("Known Problems in KOrganizer/Pi"), 1531 msg = new QMessageBox( i18n("Known Problems in KOrganizer/Pi"),
1532 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")+ 1532 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")+
1533 i18n("2) Audio alarm daemon\nfor Zaurus is available!\nas an additional small application\n")+ 1533 i18n("2) Audio alarm daemon\nfor Zaurus is available!\nas an additional small application\n")+
1534 i18n("\nPlease report unexpected behaviour to\nlutz@pi-sync.info\n") + 1534 i18n("\nPlease report unexpected behaviour to\nlutz@pi-sync.info\n") +
1535 i18n("\nor report them in the bugtracker on\n") + 1535 i18n("\nor report them in the bugtracker on\n") +
1536 i18n("\nhttp://sourceforge.net/projects/kdepimpi\n"), 1536 i18n("\nhttp://sourceforge.net/projects/kdepimpi\n"),
1537 QMessageBox::NoIcon, 1537 QMessageBox::NoIcon,
1538 QMessageBox::Ok, 1538 QMessageBox::Ok,
1539 QMessageBox::NoButton, 1539 QMessageBox::NoButton,
1540 QMessageBox::NoButton); 1540 QMessageBox::NoButton);
1541 msg->exec(); 1541 msg->exec();
1542 delete msg; 1542 delete msg;
1543 1543
1544} 1544}
1545 1545
1546QString MainWindow::defaultFileName() 1546QString MainWindow::defaultFileName()
1547{ 1547{
1548 return locateLocal( "data", "korganizer/mycalendar.ics" ); 1548 return locateLocal( "data", "korganizer/mycalendar.ics" );
1549} 1549}
1550QString MainWindow::syncFileName() 1550QString MainWindow::syncFileName()
1551{ 1551{
1552#ifdef DESKTOP_VERSION 1552#ifdef DESKTOP_VERSION
1553 return locateLocal( "tmp", "synccalendar.ics" ); 1553 return locateLocal( "tmp", "synccalendar.ics" );
1554#else 1554#else
1555 return QString( "/tmp/synccalendar.ics" ); 1555 return QString( "/tmp/synccalendar.ics" );
1556#endif 1556#endif
1557} 1557}
1558#include "koglobals.h" 1558#include "koglobals.h"
1559#include <kcalendarsystem.h> 1559#include <kcalendarsystem.h>
1560void MainWindow::updateWeek(QDate seda) 1560void MainWindow::updateWeek(QDate seda)
1561{ 1561{
1562 int weekNum = KGlobal::locale()->weekNum ( seda ); 1562 int weekNum = KGlobal::locale()->weekNum ( seda );
1563 mWeekPixmap.fill( mWeekBgColor ); 1563 mWeekPixmap.fill( mWeekBgColor );
1564 QPainter p ( &mWeekPixmap ); 1564 QPainter p ( &mWeekPixmap );
1565 p.setFont( mWeekFont ); 1565 p.setFont( mWeekFont );
1566 p.drawText( 0,0,mWeekPixmap.width(), mWeekPixmap.height(),AlignCenter, QString::number( weekNum) ); 1566 p.drawText( 0,0,mWeekPixmap.width(), mWeekPixmap.height(),AlignCenter, QString::number( weekNum) );
1567 p.end(); 1567 p.end();
1568 QIconSet icon3 ( mWeekPixmap ); 1568 QIconSet icon3 ( mWeekPixmap );
1569 mWeekAction->setIconSet ( icon3 ); 1569 mWeekAction->setIconSet ( icon3 );
1570 1570
1571} 1571}
1572void MainWindow::updateWeekNum(const DateList &selectedDates) 1572void MainWindow::updateWeekNum(const DateList &selectedDates)
1573{ 1573{
1574 updateWeek( selectedDates.first() ); 1574 updateWeek( selectedDates.first() );
1575} 1575}
1576void MainWindow::processIncidenceSelection( Incidence *incidence ) 1576void MainWindow::processIncidenceSelection( Incidence *incidence )
1577{ 1577{
1578 1578
1579 if ( !incidence ) { 1579 if ( !incidence ) {
1580 enableIncidenceActions( false ); 1580 enableIncidenceActions( false );
1581 1581
1582 mNewSubTodoAction->setEnabled( false ); 1582 mNewSubTodoAction->setEnabled( false );
1583 setCaptionToDates(); 1583 setCaptionToDates();
1584 return; 1584 return;
1585 1585
1586 } 1586 }
1587 1587
1588 //KGlobal::locale()->formatDateTime(nextA, true); 1588 //KGlobal::locale()->formatDateTime(nextA, true);
1589 QString startString = ""; 1589 QString startString = "";
1590 if ( incidence->type() != "Todo" ) { 1590 if ( incidence->type() != "Todo" ) {
1591 if ( incidence->dtStart().date() < incidence->dtEnd().date() ) { 1591 if ( incidence->dtStart().date() < incidence->dtEnd().date() ) {
1592 if ( incidence->doesFloat() ) { 1592 if ( incidence->doesFloat() ) {
1593 startString += ": "+incidence->dtStartDateStr( true ); 1593 startString += ": "+incidence->dtStartDateStr( true );
1594 startString += " --- "+((Event*)incidence)->dtEndDateStr( true ); 1594 startString += " --- "+((Event*)incidence)->dtEndDateStr( true );
1595 1595
1596 } else { 1596 } else {
1597 startString = ": "+incidence->dtStartStr(true); 1597 startString = ": "+incidence->dtStartStr(true);
1598 startString += " --- "+((Event*)incidence)->dtEndStr(true); 1598 startString += " --- "+((Event*)incidence)->dtEndStr(true);
1599 1599
1600 } 1600 }
1601 1601
1602 } else { 1602 } else {
1603 if ( incidence->dtStart().time() != incidence->dtEnd().time() ) 1603 if ( incidence->dtStart().time() != incidence->dtEnd().time() )
1604 startString = ": "+KGlobal::locale()->formatTime(incidence->dtStart().time())+ 1604 startString = ": "+KGlobal::locale()->formatTime(incidence->dtStart().time())+
1605 "-"+KGlobal::locale()->formatTime(incidence->dtEnd().time()); 1605 "-"+KGlobal::locale()->formatTime(incidence->dtEnd().time());
1606 1606
1607 if ( incidence->isBirthday() || incidence->isAnniversary() ) { 1607 if ( incidence->isBirthday() || incidence->isAnniversary() ) {
1608 bool ok; 1608 bool ok;
1609 QDateTime noc = incidence->getNextOccurence( mView->startDate().addDays(-1), &ok ); 1609 QDateTime noc = incidence->getNextOccurence( mView->startDate().addDays(-1), &ok );
1610 if ( ok ) { 1610 if ( ok ) {
1611 int years = noc.date().year() - incidence->dtStart().date().year(); 1611 int years = noc.date().year() - incidence->dtStart().date().year();
1612 startString += i18n(" (%1 y.)"). arg( years ); 1612 startString += i18n(" (%1 y.)"). arg( years );
1613 } 1613 }
1614 } 1614 }
1615 else 1615 else
1616 startString +=" "+KGlobal::locale()->formatDate( incidence->dtStart().date(), true); 1616 startString +=" "+KGlobal::locale()->formatDate( incidence->dtStart().date(), true);
1617 } 1617 }
1618 1618
1619 } 1619 }
1620 else 1620 else
1621 startString = i18n(": (Prio ") +QString::number( (( KCal::Todo*)incidence)->priority() ) +") "+QString::number( (( KCal::Todo*)incidence)->percentComplete() ) +i18n("\% completed"); 1621 startString = i18n(": (Prio ") +QString::number( (( KCal::Todo*)incidence)->priority() ) +") "+QString::number( (( KCal::Todo*)incidence)->percentComplete() ) +i18n("\% completed");
1622 if ( !incidence->location().isEmpty() ) 1622 if ( !incidence->location().isEmpty() )
1623 startString += " (" +incidence->location()+")"; 1623 startString += " (" +incidence->location()+")";
1624 setCaption( incidence->summary()+startString); 1624 setCaption( incidence->summary()+startString);
1625 1625
1626 enableIncidenceActions( true ); 1626 enableIncidenceActions( true );
1627 1627
1628 if ( incidence->type() == "Event" ) { 1628 if ( incidence->type() == "Event" ) {
1629 mShowAction->setText( i18n("Show Event...") ); 1629 mShowAction->setText( i18n("Show Event...") );
1630 mEditAction->setText( i18n("Edit Event...") ); 1630 mEditAction->setText( i18n("Edit Event...") );
1631 mDeleteAction->setText( i18n("Delete Event...") ); 1631 mDeleteAction->setText( i18n("Delete Event...") );
1632 1632
1633 mNewSubTodoAction->setEnabled( false ); 1633 mNewSubTodoAction->setEnabled( false );
1634 } else if ( incidence->type() == "Todo" ) { 1634 } else if ( incidence->type() == "Todo" ) {
1635 mShowAction->setText( i18n("Show Todo...") ); 1635 mShowAction->setText( i18n("Show Todo...") );
1636 mEditAction->setText( i18n("Edit Todo...") ); 1636 mEditAction->setText( i18n("Edit Todo...") );
1637 mDeleteAction->setText( i18n("Delete Todo...") ); 1637 mDeleteAction->setText( i18n("Delete Todo...") );
1638 1638
1639 mNewSubTodoAction->setEnabled( true ); 1639 mNewSubTodoAction->setEnabled( true );
1640 } else { 1640 } else {
1641 mShowAction->setText( i18n("Show...") ); 1641 mShowAction->setText( i18n("Show...") );
1642 mShowAction->setText( i18n("Edit...") ); 1642 mShowAction->setText( i18n("Edit...") );
1643 mShowAction->setText( i18n("Delete...") ); 1643 mShowAction->setText( i18n("Delete...") );
1644 1644
1645 mNewSubTodoAction->setEnabled( false ); 1645 mNewSubTodoAction->setEnabled( false );
1646 } 1646 }
1647} 1647}
1648 1648
1649void MainWindow::enableIncidenceActions( bool enabled ) 1649void MainWindow::enableIncidenceActions( bool enabled )
1650{ 1650{
1651 mShowAction->setEnabled( enabled ); 1651 mShowAction->setEnabled( enabled );
1652 mEditAction->setEnabled( enabled ); 1652 mEditAction->setEnabled( enabled );
1653 mDeleteAction->setEnabled( enabled ); 1653 mDeleteAction->setEnabled( enabled );
1654 1654
1655 mCloneAction->setEnabled( enabled ); 1655 mCloneAction->setEnabled( enabled );
1656 mMoveAction->setEnabled( enabled ); 1656 mMoveAction->setEnabled( enabled );
1657 mBeamAction->setEnabled( enabled ); 1657 mBeamAction->setEnabled( enabled );
1658 mCancelAction->setEnabled( enabled ); 1658 mCancelAction->setEnabled( enabled );
1659} 1659}
1660 1660
1661void MainWindow::importOL() 1661void MainWindow::importOL()
1662{ 1662{
1663#ifdef _OL_IMPORT_ 1663#ifdef _OL_IMPORT_
1664 KOImportOLdialog *id = new KOImportOLdialog("Import from OL - select folder!" , mView->calendar(),this ); 1664 KOImportOLdialog *id = new KOImportOLdialog("Import from OL - select folder!" , mView->calendar(),this );
1665 id->exec(); 1665 id->exec();
1666 delete id; 1666 delete id;
1667 mView->updateView(); 1667 mView->updateView();
1668#endif 1668#endif
1669} 1669}
1670void MainWindow::importBday() 1670void MainWindow::importBday()
1671{ 1671{
1672 int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"), 1672 int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"),
1673 i18n("When importing birthdays twice\nduplicated events will be ignored,\nif the event has not been\nchanged in KO/Pi!\n"), 1673 i18n("When importing birthdays twice\nduplicated events will be ignored,\nif the event has not been\nchanged in KO/Pi!\n"),
1674 i18n("Import!"), i18n("Cancel"), 0, 1674 i18n("Import!"), i18n("Cancel"), 0,
1675 0, 1 ); 1675 0, 1 );
1676 if ( result == 0 ) { 1676 if ( result == 0 ) {
1677 mView->importBday(); 1677 mView->importBday();
1678 1678
1679 } 1679 }
1680 1680
1681 1681
1682} 1682}
1683void MainWindow::importQtopia() 1683void MainWindow::importQtopia()
1684{ 1684{
1685 //#ifndef DESKTOP_VERSION 1685 //#ifndef DESKTOP_VERSION
1686 QString mess = i18n("When importing a calendar twice\nduplicated events will be ignored!\nYou can create a backup file with\nFile - Save Calendar Backup\nto revert importing"); 1686 QString mess = i18n("When importing a calendar twice\nduplicated events will be ignored!\nYou can create a backup file with\nFile - Save Calendar Backup\nto revert importing");
1687#ifdef DESKTOP_VERSION 1687#ifdef DESKTOP_VERSION
1688 mess += i18n("The content of the following files will be\nimported (located in your home directory (hd)):\n(hd)/Applications/datebook/datebook.xml\n(hd)/Applications/todolist/todolist.xml\nThe following category file will be used:\n(hd)/Settings/Categories.xml"); 1688 mess += i18n("The content of the following files will be\nimported (located in your home directory (hd)):\n(hd)/Applications/datebook/datebook.xml\n(hd)/Applications/todolist/todolist.xml\nThe following category file will be used:\n(hd)/Settings/Categories.xml");
1689#endif 1689#endif
1690 int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"),mess, 1690 int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"),mess,
1691 i18n("Import!"), i18n("Cancel"), 0, 1691 i18n("Import!"), i18n("Cancel"), 0,
1692 0, 1 ); 1692 0, 1 );
1693 if ( result == 0 ) { 1693 if ( result == 0 ) {
1694#ifndef DESKTOP_VERSION 1694#ifndef DESKTOP_VERSION
1695 QString datebook = Global::applicationFileName( "datebook", "datebook.xml"); 1695 QString datebook = Global::applicationFileName( "datebook", "datebook.xml");
1696 QString todolist = Global::applicationFileName( "todolist", "todolist.xml"); 1696 QString todolist = Global::applicationFileName( "todolist", "todolist.xml");
1697 QString categories = QString( getenv( "HOME" ) ) + "/Settings/Categories.xml"; 1697 QString categories = QString( getenv( "HOME" ) ) + "/Settings/Categories.xml";
1698#else 1698#else
1699 QString datebook = QDir::homeDirPath()+ "/Applications/datebook/datebook.xml"; 1699 QString datebook = QDir::homeDirPath()+ "/Applications/datebook/datebook.xml";
1700 QString todolist = QDir::homeDirPath()+ "/Applications/todolist/todolist.xml"; 1700 QString todolist = QDir::homeDirPath()+ "/Applications/todolist/todolist.xml";
1701 QString categories = QDir::homeDirPath()+ "/Settings/Categories.xml"; 1701 QString categories = QDir::homeDirPath()+ "/Settings/Categories.xml";
1702#endif 1702#endif
1703 mView->importQtopia( categories, datebook, todolist ); 1703 mView->importQtopia( categories, datebook, todolist );
1704 } 1704 }
1705#if 0 1705#if 0
1706 int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"), 1706 int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"),
1707 i18n("Not supported \non desktop!\n"), 1707 i18n("Not supported \non desktop!\n"),
1708 i18n("Ok"), i18n("Cancel"), 0, 1708 i18n("Ok"), i18n("Cancel"), 0,
1709 0, 1 ); 1709 0, 1 );
1710 1710
1711#endif 1711#endif
1712} 1712}
1713 1713
1714void MainWindow::saveOnClose() 1714void MainWindow::saveOnClose()
1715{ 1715{
1716 KOPrefs *p = KOPrefs::instance(); 1716 KOPrefs *p = KOPrefs::instance();
1717 p->mToolBarHor = ( iconToolBar->orientation () == Qt:: Horizontal ); 1717 p->mToolBarHor = ( iconToolBar->orientation () == Qt:: Horizontal );
1718 p->mToolBarHorV = ( viewToolBar->orientation () == Qt:: Horizontal ); 1718 p->mToolBarHorV = ( viewToolBar->orientation () == Qt:: Horizontal );
1719 p->mToolBarHorN = ( navigatorToolBar->orientation () == Qt:: Horizontal ); 1719 p->mToolBarHorN = ( navigatorToolBar->orientation () == Qt:: Horizontal );
1720 if ( filterToolBar ) { 1720 if ( filterToolBar ) {
1721 p->mToolBarHorF = ( filterToolBar->orientation () == Qt:: Horizontal ); 1721 p->mToolBarHorF = ( filterToolBar->orientation () == Qt:: Horizontal );
1722 } 1722 }
1723#ifdef DESKTOP_VERSION 1723#ifdef DESKTOP_VERSION
1724 1724
1725 QPoint myP; 1725 QPoint myP;
1726 myP = mapFromGlobal( iconToolBar->mapToGlobal( QPoint( 0,0) ) ); 1726 myP = mapFromGlobal( iconToolBar->mapToGlobal( QPoint( 0,0) ) );
1727 if ( p->mToolBarHor ) 1727 if ( p->mToolBarHor )
1728 p->mToolBarUp = myP.y() > height()/2; 1728 p->mToolBarUp = myP.y() > height()/2;
1729 else 1729 else
1730 p->mToolBarUp = myP.x() > width()/2; 1730 p->mToolBarUp = myP.x() > width()/2;
1731 myP = mapFromGlobal( viewToolBar->mapToGlobal( QPoint( 0,0) ) ); 1731 myP = mapFromGlobal( viewToolBar->mapToGlobal( QPoint( 0,0) ) );
1732 if ( p->mToolBarHorV ) 1732 if ( p->mToolBarHorV )
1733 p->mToolBarUpV = myP.y() > height()/2; 1733 p->mToolBarUpV = myP.y() > height()/2;
1734 else 1734 else
1735 p->mToolBarUpV = myP.x() > width()/2 ; 1735 p->mToolBarUpV = myP.x() > width()/2 ;
1736 myP = mapFromGlobal( navigatorToolBar->mapToGlobal( QPoint( 0,0) ) ); 1736 myP = mapFromGlobal( navigatorToolBar->mapToGlobal( QPoint( 0,0) ) );
1737 if ( p->mToolBarHorN ) 1737 if ( p->mToolBarHorN )
1738 p->mToolBarUpN = myP.y() > height()/2; 1738 p->mToolBarUpN = myP.y() > height()/2;
1739 else 1739 else
1740 p->mToolBarUpN = myP.x() > width()/2 ; 1740 p->mToolBarUpN = myP.x() > width()/2 ;
1741 if ( filterToolBar ) { 1741 if ( filterToolBar ) {
1742 myP = mapFromGlobal( filterToolBar->mapToGlobal( QPoint( 0,0) ) ); 1742 myP = mapFromGlobal( filterToolBar->mapToGlobal( QPoint( 0,0) ) );
1743 if ( p->mToolBarHorF ) 1743 if ( p->mToolBarHorF )
1744 p->mToolBarUpF = myP.y() > height()/2; 1744 p->mToolBarUpF = myP.y() > height()/2;
1745 else 1745 else
1746 p->mToolBarUpF = myP.x() > width()/2 ; 1746 p->mToolBarUpF = myP.x() > width()/2 ;
1747 } 1747 }
1748#else 1748#else
1749 if ( p->mToolBarHor ) 1749 if ( p->mToolBarHor )
1750 p->mToolBarUp = iconToolBar->y() > height()/2; 1750 p->mToolBarUp = iconToolBar->y() > height()/2;
1751 else 1751 else
1752 p->mToolBarUp = iconToolBar->x() > width()/2; 1752 p->mToolBarUp = iconToolBar->x() > width()/2;
1753 if ( p->mToolBarHorV ) 1753 if ( p->mToolBarHorV )
1754 p->mToolBarUpV = viewToolBar->y() > height()/2; 1754 p->mToolBarUpV = viewToolBar->y() > height()/2;
1755 else 1755 else
1756 p->mToolBarUpV = viewToolBar->x() > width()/2 ; 1756 p->mToolBarUpV = viewToolBar->x() > width()/2 ;
1757 1757
1758 if ( p->mToolBarHorN ) 1758 if ( p->mToolBarHorN )
1759 p->mToolBarUpN = navigatorToolBar->y() > height()/2; 1759 p->mToolBarUpN = navigatorToolBar->y() > height()/2;
1760 else 1760 else
1761 p->mToolBarUpN = navigatorToolBar->x() > width()/2 ; 1761 p->mToolBarUpN = navigatorToolBar->x() > width()/2 ;
1762 if ( filterToolBar ) { 1762 if ( filterToolBar ) {
1763 if ( p->mToolBarHorF ) 1763 if ( p->mToolBarHorF )
1764 p->mToolBarUpF = filterToolBar->y() > height()/2; 1764 p->mToolBarUpF = filterToolBar->y() > height()/2;
1765 else 1765 else
1766 p->mToolBarUpF = filterToolBar->x() > width()/2 ; 1766 p->mToolBarUpF = filterToolBar->x() > width()/2 ;
1767 } 1767 }
1768#endif 1768#endif
1769 1769
1770
1771 mView->writeSettings();
1772 if ( mCalendarModifiedFlag || mView->checkFileChanged( defaultFileName())) 1770 if ( mCalendarModifiedFlag || mView->checkFileChanged( defaultFileName()))
1773 save(); 1771 save();
1772 mView->writeSettings();
1774} 1773}
1775void MainWindow::slotModifiedChanged( bool changed ) 1774void MainWindow::slotModifiedChanged( bool changed )
1776{ 1775{
1777 if ( mBlockAtStartup ) 1776 if ( mBlockAtStartup )
1778 return; 1777 return;
1779 1778
1780 int msec; 1779 int msec;
1781 // we store the changes after 1 minute, 1780 // we store the changes after 1 minute,
1782 // and for safety reasons after 10 minutes again 1781 // and for safety reasons after 10 minutes again
1783 if ( !mSyncManager->blockSave() ) 1782 if ( !mSyncManager->blockSave() )
1784 msec = (1000 * 60*KOPrefs::instance()->mAutoSaveInterval) +1000; 1783 msec = (1000 * 60*KOPrefs::instance()->mAutoSaveInterval) +1000;
1785 else 1784 else
1786 msec = 1000 * 600; 1785 msec = 1000 * 600;
1787 mSaveTimer.start( msec, true ); // 1 minute 1786 mSaveTimer.start( msec, true ); // 1 minute
1788 qDebug("KO: Saving File in %d secs!", msec/1000); 1787 qDebug("KO: Saving File in %d secs!", msec/1000);
1789 mCalendarModifiedFlag = true; 1788 mCalendarModifiedFlag = true;
1790} 1789}
1791void MainWindow::saveStopTimer() 1790void MainWindow::saveStopTimer()
1792{ 1791{
1793 mSaveTimer.stop(); 1792 mSaveTimer.stop();
1794} 1793}
1795void MainWindow::save() 1794void MainWindow::save()
1796{ 1795{
1797 if ( !mCalendarModifiedFlag ) { 1796 if ( !mCalendarModifiedFlag ) {
1798 qDebug("KO: Calendar not modified. Nothing saved."); 1797 qDebug("KO: Calendar not modified. Nothing saved.");
1799 return; 1798 return;
1800 } 1799 }
1801 if ( mSyncManager->blockSave() ) 1800 if ( mSyncManager->blockSave() )
1802 return; 1801 return;
1803 mSyncManager->setBlockSave(true); 1802 mSyncManager->setBlockSave(true);
1804 if ( mView->checkFileVersion( defaultFileName()) ) { 1803 if ( mView->checkFileVersion( defaultFileName()) ) {
1805 if ( KPimGlobalPrefs::instance()->mBackupEnabled ){ 1804 if ( KPimGlobalPrefs::instance()->mBackupEnabled ){
1806 QDate reference ( 2000,1,1); 1805 QDate reference ( 2000,1,1);
1807 int daysTo = reference.daysTo ( QDate::currentDate() ); 1806 int daysTo = reference.daysTo ( QDate::currentDate() );
1808 if ( daysTo - KPimGlobalPrefs::instance()->mBackupDayCount >= KOPrefs::instance()->mLastBackupDate ) { 1807 if ( daysTo - KPimGlobalPrefs::instance()->mBackupDayCount >= KOPrefs::instance()->mLastBackupDate ) {
1809 setCaption(i18n("KO/Pi:Creating backup ... please wait ..." )); 1808 setCaption(i18n("KO/Pi:Creating backup ... please wait ..." ));
1810 qDebug("KO: Last backup was %d days ago ", daysTo - KOPrefs::instance()->mLastBackupDate); 1809 qDebug("KO: Last backup was %d days ago ", daysTo - KOPrefs::instance()->mLastBackupDate);
1811 // we need the file path, the backup dir and the number of bups as param 1810 // we need the file path, the backup dir and the number of bups as param
1812 QString bupDir = KPimGlobalPrefs::instance()->mBackupDatadir; 1811 QString bupDir = KPimGlobalPrefs::instance()->mBackupDatadir;
1813 if ( KPimGlobalPrefs::instance()->mBackupUseDefaultDir) 1812 if ( KPimGlobalPrefs::instance()->mBackupUseDefaultDir)
1814 bupDir = KGlobalSettings::backupDataDir(); 1813 bupDir = KGlobalSettings::backupDataDir();
1815 int retval = KApplication::createBackup( defaultFileName(), bupDir, KPimGlobalPrefs::instance()->mBackupNumbers );//55;//call backup 1814 int retval = KApplication::createBackup( defaultFileName(), bupDir, KPimGlobalPrefs::instance()->mBackupNumbers );
1816 if ( retval == 0 ) { 1815 if ( retval == 0 ) {
1817 qDebug("KO: Backup cancelled. Will try again tomorrow "); 1816 qDebug("KO: Backup cancelled. Will try again tomorrow ");
1818 // retval == 0 : backup skipped for today, try again tomorrow 1817 // retval == 0 : backup skipped for today, try again tomorrow
1819 KOPrefs::instance()->mLastBackupDate = daysTo- KPimGlobalPrefs::instance()->mBackupDayCount+1; 1818 KOPrefs::instance()->mLastBackupDate = daysTo- KPimGlobalPrefs::instance()->mBackupDayCount+1;
1820 } else if ( retval == 1 ){ 1819 } else if ( retval == 1 ){
1821 qDebug("KO: Backup created."); 1820 qDebug("KO: Backup created.");
1822 // backup ok 1821 // backup ok
1823 KOPrefs::instance()->mLastBackupDate = daysTo; 1822 KOPrefs::instance()->mLastBackupDate = daysTo;
1824 1823
1825 } else if ( retval == 2 ){ 1824 } else if ( retval == 2 ){
1826 qDebug("KO: Backup globally cancelled."); 1825 qDebug("KO: Backup globally cancelled.");
1827 // backup globally cancelled 1826 // backup globally cancelled
1828 KPimGlobalPrefs::instance()->mBackupEnabled = false; 1827 KPimGlobalPrefs::instance()->mBackupEnabled = false;
1829 } 1828 }
1830 // retval == 3: do nothing, try again later 1829 // retval == 3: do nothing, try again later
1831 } 1830 }
1832 ; // KPimGlobalPrefs::instance()->mLastBackupDate 1831 ; // KPimGlobalPrefs::instance()->mLastBackupDate
1833 } 1832 }
1834 QTime neededSaveTime = QDateTime::currentDateTime().time(); 1833 QTime neededSaveTime = QDateTime::currentDateTime().time();
1835 setCaption(i18n("KO/Pi:Saving Data to File ..." )); 1834 setCaption(i18n("KO/Pi:Saving Data to File ..." ));
1836 qDebug("KO: Start saving data to file!"); 1835 qDebug("KO: Start saving data to file!");
1837 mView->saveCalendar( defaultFileName() ); 1836 mView->saveCalendar( defaultFileName() );
1838 mCalendarModifiedFlag = false; 1837 mCalendarModifiedFlag = false;
1839 int msNeeded = neededSaveTime.msecsTo( QDateTime::currentDateTime().time() ); 1838 int msNeeded = neededSaveTime.msecsTo( QDateTime::currentDateTime().time() );
1840 qDebug("KO: Needed %d ms for saving.",msNeeded ); 1839 qDebug("KO: Needed %d ms for saving.",msNeeded );
1841 QString savemes; 1840 QString savemes;
1842 savemes.sprintf(i18n("KO/Pi:File Saved. Needed %d sec, %d ms"),(msNeeded/1000)%100,msNeeded%1000 ); 1841 savemes.sprintf(i18n("KO/Pi:File Saved. Needed %d sec, %d ms"),(msNeeded/1000)%100,msNeeded%1000 );
1843 setCaption(savemes); 1842 setCaption(savemes);
1844 } else 1843 } else
1845 setCaption(i18n("Saving cancelled!")); 1844 setCaption(i18n("Saving cancelled!"));
1846 mSyncManager->setBlockSave( false ); 1845 mSyncManager->setBlockSave( false );
1847} 1846}
1848 1847
1849void MainWindow::keyReleaseEvent ( QKeyEvent * e) 1848void MainWindow::keyReleaseEvent ( QKeyEvent * e)
1850{ 1849{
1851 if ( !e->isAutoRepeat() ) { 1850 if ( !e->isAutoRepeat() ) {
1852 mFlagKeyPressed = false; 1851 mFlagKeyPressed = false;
1853 } 1852 }
1854} 1853}
1855void MainWindow::keyPressEvent ( QKeyEvent * e ) 1854void MainWindow::keyPressEvent ( QKeyEvent * e )
1856{ 1855{
1857 qApp->processEvents(); 1856 qApp->processEvents();
1858 if ( e->isAutoRepeat() && !mFlagKeyPressed ) { 1857 if ( e->isAutoRepeat() && !mFlagKeyPressed ) {
1859 e->ignore(); 1858 e->ignore();
1860 // qDebug(" ignore %d",e->isAutoRepeat() ); 1859 // qDebug(" ignore %d",e->isAutoRepeat() );
1861 return; 1860 return;
1862 } 1861 }
1863 if (! e->isAutoRepeat() ) 1862 if (! e->isAutoRepeat() )
1864 mFlagKeyPressed = true; 1863 mFlagKeyPressed = true;
1865 KOPrefs *p = KOPrefs::instance(); 1864 KOPrefs *p = KOPrefs::instance();
1866 bool showSelectedDates = false; 1865 bool showSelectedDates = false;
1867 int size; 1866 int size;
1868 int pro = 0; 1867 int pro = 0;
1869 //qDebug("MainWindow::keyPressEvent "); 1868 //qDebug("MainWindow::keyPressEvent ");
1870 switch ( e->key() ) { 1869 switch ( e->key() ) {
1871 case Qt::Key_Right: 1870 case Qt::Key_Right:
1872 if ( e->state() == Qt::ControlButton || e->state() == Qt::ShiftButton) 1871 if ( e->state() == Qt::ControlButton || e->state() == Qt::ShiftButton)
1873 mView->goNextMonth(); 1872 mView->goNextMonth();
1874 else 1873 else
1875 mView->goNext(); 1874 mView->goNext();
1876 showSelectedDates = true; 1875 showSelectedDates = true;
1877 break; 1876 break;
1878 case Qt::Key_Left: 1877 case Qt::Key_Left:
1879 if ( e->state() == Qt::ControlButton|| e->state() == Qt::ShiftButton ) 1878 if ( e->state() == Qt::ControlButton|| e->state() == Qt::ShiftButton )
1880 mView->goPreviousMonth(); 1879 mView->goPreviousMonth();
1881 else 1880 else
1882 mView->goPrevious(); 1881 mView->goPrevious();
1883 showSelectedDates = true; 1882 showSelectedDates = true;
1884 break; 1883 break;
1885 case Qt::Key_Down: 1884 case Qt::Key_Down:
1886 mView->viewManager()->agendaView()->scrollOneHourDown(); 1885 mView->viewManager()->agendaView()->scrollOneHourDown();
1887 break; 1886 break;
1888 case Qt::Key_Up: 1887 case Qt::Key_Up:
1889 mView->viewManager()->agendaView()->scrollOneHourUp(); 1888 mView->viewManager()->agendaView()->scrollOneHourUp();
1890 break; 1889 break;
1891 case Qt::Key_K: 1890 case Qt::Key_K:
1892 mView->viewManager()->showMonthViewWeek(); 1891 mView->viewManager()->showMonthViewWeek();
1893 break; 1892 break;
1894 case Qt::Key_I: 1893 case Qt::Key_I:
1895 mView->showIncidence(); 1894 mView->showIncidence();
1896 break; 1895 break;
1897 case Qt::Key_Delete: 1896 case Qt::Key_Delete:
1898 case Qt::Key_Backspace: 1897 case Qt::Key_Backspace:
1899 mView->deleteIncidence(); 1898 mView->deleteIncidence();
1900 break; 1899 break;
1901 case Qt::Key_D: 1900 case Qt::Key_D:
1902 mView->viewManager()->showDayView(); 1901 mView->viewManager()->showDayView();
1903 showSelectedDates = true; 1902 showSelectedDates = true;
1904 break; 1903 break;
1905 case Qt::Key_O: 1904 case Qt::Key_O:
1906 mView->toggleFilerEnabled( ); 1905 mView->toggleFilerEnabled( );
1907 break; 1906 break;
1908 case Qt::Key_0: 1907 case Qt::Key_0:
1909 case Qt::Key_1: 1908 case Qt::Key_1:
1910 case Qt::Key_2: 1909 case Qt::Key_2:
1911 case Qt::Key_3: 1910 case Qt::Key_3:
1912 case Qt::Key_4: 1911 case Qt::Key_4:
1913 case Qt::Key_5: 1912 case Qt::Key_5:
1914 case Qt::Key_6: 1913 case Qt::Key_6:
1915 case Qt::Key_7: 1914 case Qt::Key_7:
1916 case Qt::Key_8: 1915 case Qt::Key_8:
1917 case Qt::Key_9: 1916 case Qt::Key_9:
1918 pro = e->key()-48; 1917 pro = e->key()-48;
1919 if ( pro == 0 ) 1918 if ( pro == 0 )
1920 pro = 10; 1919 pro = 10;
1921 if ( e->state() == Qt::ControlButton) 1920 if ( e->state() == Qt::ControlButton)
1922 pro += 10; 1921 pro += 10;
1923 break; 1922 break;
1924 case Qt::Key_M: 1923 case Qt::Key_M:
1925 mView->viewManager()->showMonthView(); 1924 mView->viewManager()->showMonthView();
1926 showSelectedDates = true; 1925 showSelectedDates = true;
1927 break; 1926 break;
1928 case Qt::Key_Insert: 1927 case Qt::Key_Insert:
1929 mView->newEvent(); 1928 mView->newEvent();
1930 break; 1929 break;
1931 case Qt::Key_S : 1930 case Qt::Key_S :
1932 if ( e->state() == Qt::ControlButton || e->state() == Qt::ShiftButton) 1931 if ( e->state() == Qt::ControlButton || e->state() == Qt::ShiftButton)
1933 mView->newSubTodo(); 1932 mView->newSubTodo();
1934 else 1933 else
1935 mView->dialogManager()->showSearchDialog(); 1934 mView->dialogManager()->showSearchDialog();
1936 break; 1935 break;
1937 case Qt::Key_Y : 1936 case Qt::Key_Y :
1938 case Qt::Key_Z : 1937 case Qt::Key_Z :
1939 mView->viewManager()->showWorkWeekView(); 1938 mView->viewManager()->showWorkWeekView();
1940 showSelectedDates = true; 1939 showSelectedDates = true;
1941 break; 1940 break;
1942 case Qt::Key_U : 1941 case Qt::Key_U :
1943 mView->viewManager()->showWeekView(); 1942 mView->viewManager()->showWeekView();
1944 showSelectedDates = true; 1943 showSelectedDates = true;
1945 break; 1944 break;
1946 case Qt::Key_H : 1945 case Qt::Key_H :
1947 keyBindings(); 1946 keyBindings();
1948 break; 1947 break;
1949 case Qt::Key_W: 1948 case Qt::Key_W:
1950 mView->viewManager()->showWhatsNextView(); 1949 mView->viewManager()->showWhatsNextView();
1951 break; 1950 break;
1952 case Qt::Key_L: 1951 case Qt::Key_L:
1953 mView->viewManager()->showListView(); 1952 mView->viewManager()->showListView();
1954 break; 1953 break;
1955 case Qt::Key_N: 1954 case Qt::Key_N:
1956 mView->viewManager()->showNextView(); 1955 mView->viewManager()->showNextView();
1957 break; 1956 break;
1958 case Qt::Key_V: 1957 case Qt::Key_V:
1959 mView->viewManager()->showTodoView(); 1958 mView->viewManager()->showTodoView();
1960 break; 1959 break;
1961 case Qt::Key_C: 1960 case Qt::Key_C:
1962 mView->viewManager()->agendaView()->setStartHour( QTime::currentTime ().hour() ); 1961 mView->viewManager()->agendaView()->setStartHour( QTime::currentTime ().hour() );
1963 break; 1962 break;
1964 case Qt::Key_P: 1963 case Qt::Key_P:
1965 mView->showDatePicker( ); 1964 mView->showDatePicker( );
1966 break; 1965 break;
1967 case Qt::Key_F: 1966 case Qt::Key_F:
1968 if ( e->state() == Qt::ControlButton|| e->state() == Qt::ShiftButton ) 1967 if ( e->state() == Qt::ControlButton|| e->state() == Qt::ShiftButton )
1969 mView->editFilters(); 1968 mView->editFilters();
1970 else 1969 else
1971 mView->toggleFilter(); 1970 mView->toggleFilter();
1972 break; 1971 break;
1973 case Qt::Key_X: 1972 case Qt::Key_X:
1974 if ( e->state() == Qt::ControlButton ) 1973 if ( e->state() == Qt::ControlButton )
1975 mView->toggleDateNavigatorWidget(); 1974 mView->toggleDateNavigatorWidget();
1976 else { 1975 else {
1977 mView->viewManager()->showNextXView(); 1976 mView->viewManager()->showNextXView();
1978 showSelectedDates = true; 1977 showSelectedDates = true;
1979 } 1978 }
1980 break; 1979 break;
1981 case Qt::Key_Space: 1980 case Qt::Key_Space:
1982 mView->toggleExpand(); 1981 mView->toggleExpand();
1983 break; 1982 break;
1984 case Qt::Key_A: 1983 case Qt::Key_A:
1985 if ( e->state() == Qt::ControlButton || e->state() == Qt::ShiftButton ) 1984 if ( e->state() == Qt::ControlButton || e->state() == Qt::ShiftButton )
1986 mView->showNextAlarms(); 1985 mView->showNextAlarms();
1987 else 1986 else
1988 mView->toggleAllDaySize(); 1987 mView->toggleAllDaySize();
1989 break; 1988 break;
1990 case Qt::Key_T: 1989 case Qt::Key_T:
1991 if ( e->state() == Qt::ControlButton|| e->state() == Qt::ShiftButton ) 1990 if ( e->state() == Qt::ControlButton|| e->state() == Qt::ShiftButton )
1992 mView->newTodo(); 1991 mView->newTodo();
1993 else { 1992 else {
1994 mView->goToday(); 1993 mView->goToday();
1995 showSelectedDates = true; 1994 showSelectedDates = true;
1996 } 1995 }
1997 break; 1996 break;
1998 case Qt::Key_J: 1997 case Qt::Key_J:
1999 mView->viewManager()->showJournalView(); 1998 mView->viewManager()->showJournalView();
2000 break; 1999 break;
2001 case Qt::Key_B: 2000 case Qt::Key_B:
2002 mView->editIncidenceDescription();; 2001 mView->editIncidenceDescription();;
2003 break; 2002 break;
2004 // case Qt::Key_Return: 2003 // case Qt::Key_Return:
2005 case Qt::Key_E: 2004 case Qt::Key_E:
2006 if ( e->state() == Qt::ControlButton|| e->state() == Qt::ShiftButton ) 2005 if ( e->state() == Qt::ControlButton|| e->state() == Qt::ShiftButton )
2007 mView->newEvent(); 2006 mView->newEvent();
2008 else 2007 else
2009 mView->editIncidence(); 2008 mView->editIncidence();
2010 break; 2009 break;
2011 case Qt::Key_Plus: 2010 case Qt::Key_Plus:
2012 size = p->mHourSize +2; 2011 size = p->mHourSize +2;
2013 if ( size <= 22 ) 2012 if ( size <= 22 )
2014 configureAgenda( size ); 2013 configureAgenda( size );
2015 break; 2014 break;
2016 case Qt::Key_Minus: 2015 case Qt::Key_Minus:
2017 size = p->mHourSize - 2; 2016 size = p->mHourSize - 2;
2018 if ( size >= 4 ) 2017 if ( size >= 4 )
2019 configureAgenda( size ); 2018 configureAgenda( size );
2020 break; 2019 break;
2021 2020
2022 2021
2023 default: 2022 default:
2024 e->ignore(); 2023 e->ignore();
2025 } 2024 }
2026 if ( pro > 0 ) { 2025 if ( pro > 0 ) {
2027 mView->selectFilter( pro-1 ); 2026 mView->selectFilter( pro-1 );
2028 } 2027 }
2029 if ( showSelectedDates ) { 2028 if ( showSelectedDates ) {
2030 ;// setCaptionToDates(); 2029 ;// setCaptionToDates();
2031 } 2030 }
2032 2031
2033} 2032}
2034void MainWindow::fillFilterMenuTB() 2033void MainWindow::fillFilterMenuTB()
2035{ 2034{
2036 selectFilterMenuTB->clear(); 2035 selectFilterMenuTB->clear();
2037 selectFilterMenuTB->insertItem(i18n ( "Edit Filters" ), 0 ); 2036 selectFilterMenuTB->insertItem(i18n ( "Edit Filters" ), 0 );
2038 selectFilterMenuTB->insertSeparator(); 2037 selectFilterMenuTB->insertSeparator();
2039 selectFilterMenuTB->insertItem(i18n ( "No Filter" ), 1 ); 2038 selectFilterMenuTB->insertItem(i18n ( "No Filter" ), 1 );
2040 2039
2041 selectFilterMenuTB->insertSeparator(); 2040 selectFilterMenuTB->insertSeparator();
2042 QPtrList<CalFilter> fili = mView->filters(); 2041 QPtrList<CalFilter> fili = mView->filters();
2043 CalFilter *curfilter = mView->filterView()->selectedFilter(); 2042 CalFilter *curfilter = mView->filterView()->selectedFilter();
2044 CalFilter *filter = fili.first(); 2043 CalFilter *filter = fili.first();
2045 int iii = 2; 2044 int iii = 2;
2046 bool checkitem = mView->filterView()->filtersEnabled(); 2045 bool checkitem = mView->filterView()->filtersEnabled();
2047 while(filter) { 2046 while(filter) {
2048 selectFilterMenuTB->insertItem( filter->name(), iii ); 2047 selectFilterMenuTB->insertItem( filter->name(), iii );
2049 if ( filter == curfilter) 2048 if ( filter == curfilter)
2050 selectFilterMenuTB->setItemChecked( iii, checkitem ); 2049 selectFilterMenuTB->setItemChecked( iii, checkitem );
2051 filter = fili.next(); 2050 filter = fili.next();
2052 ++iii; 2051 ++iii;
2053 } 2052 }
2054 if ( !checkitem ) 2053 if ( !checkitem )
2055 selectFilterMenuTB->setItemChecked( 1, true ); 2054 selectFilterMenuTB->setItemChecked( 1, true );
2056 2055
2057 int x = 0; 2056 int x = 0;
2058 int y = iconToolBar->height(); 2057 int y = iconToolBar->height();
2059 int dX = 0; 2058 int dX = 0;
2060 int dY = 0; 2059 int dY = 0;
2061 if ( iconToolBar->orientation () == Qt:: Horizontal ) { 2060 if ( iconToolBar->orientation () == Qt:: Horizontal ) {
2062 if ( iconToolBar->y() > height()/2 ) { 2061 if ( iconToolBar->y() > height()/2 ) {
2063 dY = selectFilterMenuTB->sizeHint().height()+8; 2062 dY = selectFilterMenuTB->sizeHint().height()+8;
2064 y = 0; 2063 y = 0;
2065 } 2064 }
2066 } else { 2065 } else {
2067 if ( iconToolBar->x() > width()/2 ) { // right side 2066 if ( iconToolBar->x() > width()/2 ) { // right side
2068 x=0; 2067 x=0;
2069 dX= selectFilterMenuTB->sizeHint().width()+8; 2068 dX= selectFilterMenuTB->sizeHint().width()+8;
2070 y = 0; 2069 y = 0;
2071 } else { 2070 } else {
2072 x= iconToolBar->width(); 2071 x= iconToolBar->width();
2073 y = 0; 2072 y = 0;
2074 } 2073 }
2075 } 2074 }
2076 //qDebug("dax %d dy %d %d %d ", dX, dY, iconToolBar->x(), iconToolBar->y() ); 2075 //qDebug("dax %d dy %d %d %d ", dX, dY, iconToolBar->x(), iconToolBar->y() );
2077 selectFilterMenuTB->popup(iconToolBar->mapToGlobal(QPoint(x,y)-QPoint( dX,dY))); 2076 selectFilterMenuTB->popup(iconToolBar->mapToGlobal(QPoint(x,y)-QPoint( dX,dY)));
2078} 2077}
2079void MainWindow::fillFilterMenu() 2078void MainWindow::fillFilterMenu()
2080{ 2079{
2081 selectFilterMenu->clear(); 2080 selectFilterMenu->clear();
2082 selectFilterMenu->insertItem(i18n ( "Edit Filters" ), 0 ); 2081 selectFilterMenu->insertItem(i18n ( "Edit Filters" ), 0 );
2083 selectFilterMenu->insertSeparator(); 2082 selectFilterMenu->insertSeparator();
2084 selectFilterMenu->insertItem(i18n ( "No Filter" ), 1 ); 2083 selectFilterMenu->insertItem(i18n ( "No Filter" ), 1 );
2085 2084
2086 selectFilterMenu->insertSeparator(); 2085 selectFilterMenu->insertSeparator();
2087 QPtrList<CalFilter> fili = mView->filters(); 2086 QPtrList<CalFilter> fili = mView->filters();
2088 CalFilter *curfilter = mView->filterView()->selectedFilter(); 2087 CalFilter *curfilter = mView->filterView()->selectedFilter();
2089 CalFilter *filter = fili.first(); 2088 CalFilter *filter = fili.first();
2090 int iii = 2; 2089 int iii = 2;
2091 bool checkitem = mView->filterView()->filtersEnabled(); 2090 bool checkitem = mView->filterView()->filtersEnabled();
2092 while(filter) { 2091 while(filter) {
2093 selectFilterMenu->insertItem( filter->name(), iii ); 2092 selectFilterMenu->insertItem( filter->name(), iii );
2094 if ( filter == curfilter) 2093 if ( filter == curfilter)
2095 selectFilterMenu->setItemChecked( iii, checkitem ); 2094 selectFilterMenu->setItemChecked( iii, checkitem );
2096 filter = fili.next(); 2095 filter = fili.next();
2097 ++iii; 2096 ++iii;
2098 } 2097 }
2099 if ( !checkitem ) 2098 if ( !checkitem )
2100 selectFilterMenu->setItemChecked( 1, true ); 2099 selectFilterMenu->setItemChecked( 1, true );
2101} 2100}
2102void MainWindow::fillFilterMenuPopup() 2101void MainWindow::fillFilterMenuPopup()
2103{ 2102{
2104 filterPopupMenu->clear(); 2103 filterPopupMenu->clear();
2105 filterPopupMenu->insertItem(i18n ( "No Filter" ), 0 ); 2104 filterPopupMenu->insertItem(i18n ( "No Filter" ), 0 );
2106 2105
2107 filterPopupMenu->insertSeparator(); 2106 filterPopupMenu->insertSeparator();
2108 QPtrList<CalFilter> fili = mView->filters(); 2107 QPtrList<CalFilter> fili = mView->filters();
2109 CalFilter *curfilter = mView->filterView()->selectedFilter(); 2108 CalFilter *curfilter = mView->filterView()->selectedFilter();
2110 CalFilter *filter = fili.first(); 2109 CalFilter *filter = fili.first();
2111 int iii = 1; 2110 int iii = 1;
2112 bool checkitem = mView->filterView()->filtersEnabled(); 2111 bool checkitem = mView->filterView()->filtersEnabled();
2113 while(filter) { 2112 while(filter) {
2114 filterPopupMenu->insertItem( filter->name(), iii ); 2113 filterPopupMenu->insertItem( filter->name(), iii );
2115 if ( filter == curfilter) 2114 if ( filter == curfilter)
2116 filterPopupMenu->setItemChecked( iii, checkitem ); 2115 filterPopupMenu->setItemChecked( iii, checkitem );
2117 filter = fili.next(); 2116 filter = fili.next();
2118 ++iii; 2117 ++iii;
2119 } 2118 }
2120 if ( !checkitem ) 2119 if ( !checkitem )
2121 filterPopupMenu->setItemChecked( 0, true ); 2120 filterPopupMenu->setItemChecked( 0, true );
2122} 2121}
2123void MainWindow::selectFilter( int fil ) 2122void MainWindow::selectFilter( int fil )
2124{ 2123{
2125 2124
2126 if ( fil == 0 ) { 2125 if ( fil == 0 ) {
2127 mView->editFilters( ); 2126 mView->editFilters( );
2128 } else if ( fil == 1 ){ 2127 } else if ( fil == 1 ){
2129 if ( mView->filterView()->filtersEnabled() ) 2128 if ( mView->filterView()->filtersEnabled() )
2130 mView->toggleFilerEnabled( ); 2129 mView->toggleFilerEnabled( );
2131 } else { 2130 } else {
2132 if ( !mView->filterView()->filtersEnabled() ) { 2131 if ( !mView->filterView()->filtersEnabled() ) {
2133 mView->filterView()->blockSignals( true ); 2132 mView->filterView()->blockSignals( true );
2134 mView->toggleFilerEnabled( ); 2133 mView->toggleFilerEnabled( );
2135 mView->filterView()->blockSignals( false ); 2134 mView->filterView()->blockSignals( false );
2136 } 2135 }
2137 mView->selectFilter( fil-2 ); 2136 mView->selectFilter( fil-2 );
2138 } 2137 }
2139} 2138}
2140void MainWindow::updateFilterToolbar() 2139void MainWindow::updateFilterToolbar()
2141{ 2140{
2142 if ( filterMenubar ) { 2141 if ( filterMenubar ) {
2143 if ( !mView->filterView()->filtersEnabled() ) { 2142 if ( !mView->filterView()->filtersEnabled() ) {
2144 filterMenubar->changeItem( 0, i18n("No Filter") ); 2143 filterMenubar->changeItem( 0, i18n("No Filter") );
2145 } else { 2144 } else {
2146 CalFilter *curfilter = mView->filterView()->selectedFilter(); 2145 CalFilter *curfilter = mView->filterView()->selectedFilter();
2147 if ( curfilter ) { 2146 if ( curfilter ) {
2148 filterMenubar->changeItem( 0, curfilter->name() ); 2147 filterMenubar->changeItem( 0, curfilter->name() );
2149 } 2148 }
2150 } 2149 }
2151 } 2150 }
2152} 2151}
2153void MainWindow::selectFilterPopup( int fil ) 2152void MainWindow::selectFilterPopup( int fil )
2154{ 2153{
2155 selectFilter( fil + 1 ); 2154 selectFilter( fil + 1 );
2156 2155
2157} 2156}
2158void MainWindow::configureToolBar( int item ) 2157void MainWindow::configureToolBar( int item )
2159{ 2158{
2160 2159
2161 configureToolBarMenu->setItemChecked( item, !configureToolBarMenu-> isItemChecked ( item ) ); 2160 configureToolBarMenu->setItemChecked( item, !configureToolBarMenu-> isItemChecked ( item ) );
2162 KOPrefs *p = KOPrefs::instance(); 2161 KOPrefs *p = KOPrefs::instance();
2163 p-> mShowIconStretch= configureToolBarMenu->isItemChecked( 5 ); 2162 p-> mShowIconStretch= configureToolBarMenu->isItemChecked( 5 );
2164 p-> mShowIconOnetoolbar = configureToolBarMenu->isItemChecked( 6 ); 2163 p-> mShowIconOnetoolbar = configureToolBarMenu->isItemChecked( 6 );
2165 p-> mShowIconFilter = configureToolBarMenu->isItemChecked( 7 ); 2164 p-> mShowIconFilter = configureToolBarMenu->isItemChecked( 7 );
2166 p-> mShowIconNewEvent= configureToolBarMenu->isItemChecked( 10 ); 2165 p-> mShowIconNewEvent= configureToolBarMenu->isItemChecked( 10 );
2167 p->mShowIconNewTodo = configureToolBarMenu->isItemChecked( 20 ); 2166 p->mShowIconNewTodo = configureToolBarMenu->isItemChecked( 20 );
2168 p->mShowIconNavigator = configureToolBarMenu->isItemChecked( 22 ); 2167 p->mShowIconNavigator = configureToolBarMenu->isItemChecked( 22 );
2169 p->mShowIconAllday = configureToolBarMenu->isItemChecked( 24 ); 2168 p->mShowIconAllday = configureToolBarMenu->isItemChecked( 24 );
2170 p->mShowIconFilterview = configureToolBarMenu->isItemChecked( 26 ); 2169 p->mShowIconFilterview = configureToolBarMenu->isItemChecked( 26 );
2171 p->mShowIconToggleFull = configureToolBarMenu->isItemChecked( 28 ); 2170 p->mShowIconToggleFull = configureToolBarMenu->isItemChecked( 28 );
2172 p-> mShowIconSearch= configureToolBarMenu->isItemChecked( 120 ); 2171 p-> mShowIconSearch= configureToolBarMenu->isItemChecked( 120 );
2173 p-> mShowIconList= configureToolBarMenu->isItemChecked( 30 ); 2172 p-> mShowIconList= configureToolBarMenu->isItemChecked( 30 );
2174 p-> mShowIconDay1= configureToolBarMenu->isItemChecked( 40 ); 2173 p-> mShowIconDay1= configureToolBarMenu->isItemChecked( 40 );
2175 p-> mShowIconDay5= configureToolBarMenu->isItemChecked( 50 ); 2174 p-> mShowIconDay5= configureToolBarMenu->isItemChecked( 50 );
2176 p-> mShowIconDay6= configureToolBarMenu->isItemChecked( 75 ); 2175 p-> mShowIconDay6= configureToolBarMenu->isItemChecked( 75 );
2177 p-> mShowIconDay7= configureToolBarMenu->isItemChecked( 60 ); 2176 p-> mShowIconDay7= configureToolBarMenu->isItemChecked( 60 );
2178 p-> mShowIconMonth= configureToolBarMenu->isItemChecked( 70 ); 2177 p-> mShowIconMonth= configureToolBarMenu->isItemChecked( 70 );
2179 p-> mShowIconTodoview= configureToolBarMenu->isItemChecked( 80 ); 2178 p-> mShowIconTodoview= configureToolBarMenu->isItemChecked( 80 );
2180 p-> mShowIconBackFast= configureToolBarMenu->isItemChecked( 200 ); 2179 p-> mShowIconBackFast= configureToolBarMenu->isItemChecked( 200 );
2181 p-> mShowIconBack = configureToolBarMenu->isItemChecked( 210 ); 2180 p-> mShowIconBack = configureToolBarMenu->isItemChecked( 210 );
2182 p-> mShowIconToday= configureToolBarMenu->isItemChecked( 130 ); 2181 p-> mShowIconToday= configureToolBarMenu->isItemChecked( 130 );
2183 p-> mShowIconForward= configureToolBarMenu->isItemChecked( 220 ); 2182 p-> mShowIconForward= configureToolBarMenu->isItemChecked( 220 );
2184 p-> mShowIconForwardFast= configureToolBarMenu->isItemChecked( 230 ); 2183 p-> mShowIconForwardFast= configureToolBarMenu->isItemChecked( 230 );
2185 p-> mShowIconNextDays= configureToolBarMenu->isItemChecked( 100 ); 2184 p-> mShowIconNextDays= configureToolBarMenu->isItemChecked( 100 );
2186 p-> mShowIconNext= configureToolBarMenu->isItemChecked( 110 ); 2185 p-> mShowIconNext= configureToolBarMenu->isItemChecked( 110 );
2187 p-> mShowIconJournal= configureToolBarMenu->isItemChecked( 90 ); 2186 p-> mShowIconJournal= configureToolBarMenu->isItemChecked( 90 );
2188 p-> mShowIconWhatsThis= configureToolBarMenu->isItemChecked( 300 ); 2187 p-> mShowIconWhatsThis= configureToolBarMenu->isItemChecked( 300 );
2189 p-> mShowIconWeekNum= configureToolBarMenu->isItemChecked( 400 ); 2188 p-> mShowIconWeekNum= configureToolBarMenu->isItemChecked( 400 );
2190 // initActions(); 2189 // initActions();
2191} 2190}
2192void MainWindow::setCaption ( const QString & c ) 2191void MainWindow::setCaption ( const QString & c )
2193{ 2192{
2194 QString cap = c; 2193 QString cap = c;
2195 cap.replace( QRegExp("\n"), " " ); 2194 cap.replace( QRegExp("\n"), " " );
2196 cap = cap.stripWhiteSpace(); 2195 cap = cap.stripWhiteSpace();
2197 if ( cap.isEmpty() ) 2196 if ( cap.isEmpty() )
2198 cap = "KO/Pi"; 2197 cap = "KO/Pi";
2199 QWidget::setCaption( cap ); 2198 QWidget::setCaption( cap );
2200} 2199}
2201void MainWindow::setCaptionToDates() 2200void MainWindow::setCaptionToDates()
2202{ 2201{
2203 QString selDates; 2202 QString selDates;
2204 QDate date = mView->startDate(); 2203 QDate date = mView->startDate();
2205 if ( ! date.isValid() ) { 2204 if ( ! date.isValid() ) {
2206 setCaption(""); 2205 setCaption("");
2207 return; 2206 return;
2208 } 2207 }
2209 selDates = KGlobal::locale()->formatDate( date, true); 2208 selDates = KGlobal::locale()->formatDate( date, true);
2210 if (mView->startDate() < mView->endDate() ) 2209 if (mView->startDate() < mView->endDate() )
2211 selDates += " - " + KGlobal::locale()->formatDate(mView->endDate(), true); 2210 selDates += " - " + KGlobal::locale()->formatDate(mView->endDate(), true);
2212 else { 2211 else {
2213 QString addString; 2212 QString addString;
2214 if ( date == QDateTime::currentDateTime().date() ) 2213 if ( date == QDateTime::currentDateTime().date() )
2215 addString = i18n("Today"); 2214 addString = i18n("Today");
2216 else if ( date == QDateTime::currentDateTime().date().addDays(1) ) 2215 else if ( date == QDateTime::currentDateTime().date().addDays(1) )
2217 addString = i18n("Tomorrow"); 2216 addString = i18n("Tomorrow");
2218 if ( !addString.isEmpty() ) 2217 if ( !addString.isEmpty() )
2219 selDates = addString+", "+selDates ; 2218 selDates = addString+", "+selDates ;
2220 } 2219 }
2221 setCaption( i18n("Dates: ") + selDates ); 2220 setCaption( i18n("Dates: ") + selDates );
2222 2221
2223} 2222}
2224void MainWindow::showConfigureAgenda( ) 2223void MainWindow::showConfigureAgenda( )
2225{ 2224{
2226 int iii; 2225 int iii;
2227 for ( iii = 1;iii<= 10 ;++iii ){ 2226 for ( iii = 1;iii<= 10 ;++iii ){
2228 configureAgendaMenu->setItemChecked( (iii+1)*2, false ); 2227 configureAgendaMenu->setItemChecked( (iii+1)*2, false );
2229 } 2228 }
2230 configureAgendaMenu->setItemChecked( (KOPrefs::instance()->mHourSize/2)*2, true ); 2229 configureAgendaMenu->setItemChecked( (KOPrefs::instance()->mHourSize/2)*2, true );
2231} 2230}
2232void MainWindow::configureAgenda( int item ) 2231void MainWindow::configureAgenda( int item )
2233{ 2232{
2234 if ( KOPrefs::instance()->mHourSize == item ) 2233 if ( KOPrefs::instance()->mHourSize == item )
2235 return; 2234 return;
2236 KOPrefs::instance()->mHourSize=item; 2235 KOPrefs::instance()->mHourSize=item;
2237 mView->viewManager()->agendaView()->updateConfig(); 2236 mView->viewManager()->agendaView()->updateConfig();
2238} 2237}
2239 2238
2240void MainWindow::saveCalendar() 2239void MainWindow::saveCalendar()
2241{ 2240{
2242 QString fn = KOPrefs::instance()->mLastSaveFile; 2241 QString fn = KOPrefs::instance()->mLastSaveFile;
2243 fn = KFileDialog::getSaveFileName( fn, i18n("Save backup filename"), this ); 2242 fn = KFileDialog::getSaveFileName( fn, i18n("Save backup filename"), this );
2244 2243
2245 if ( fn == "" ) 2244 if ( fn == "" )
2246 return; 2245 return;
2247 QFileInfo info; 2246 QFileInfo info;
2248 info.setFile( fn ); 2247 info.setFile( fn );
2249 QString mes; 2248 QString mes;
2250 bool createbup = true; 2249 bool createbup = true;
2251 if ( info. exists() ) { 2250 if ( info. exists() ) {
2252 mes = i18n("Backup file\nalready exists!\nOld backup file from:\n%1\nOverwrite?\n").arg(KGlobal::locale()->formatDateTime(info.lastModified (), true, false )) ; 2251 mes = i18n("Backup file\nalready exists!\nOld backup file from:\n%1\nOverwrite?\n").arg(KGlobal::locale()->formatDateTime(info.lastModified (), true, false )) ;
2253 int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"),mes, 2252 int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"),mes,
2254 i18n("Overwrite!"), i18n("Cancel"), 0, 2253 i18n("Overwrite!"), i18n("Cancel"), 0,
2255 0, 1 ); 2254 0, 1 );
2256 if ( result != 0 ) { 2255 if ( result != 0 ) {
2257 createbup = false; 2256 createbup = false;
2258 } 2257 }
2259 } 2258 }
2260 if ( createbup ) { 2259 if ( createbup ) {
2261 mView->saveCalendar( fn ); 2260 mView->saveCalendar( fn );
2262 mes = i18n("KO/Pi:Saved %1").arg(fn); 2261 mes = i18n("KO/Pi:Saved %1").arg(fn);
2263 KOPrefs::instance()->mLastSaveFile = fn; 2262 KOPrefs::instance()->mLastSaveFile = fn;
2264 setCaption(mes); 2263 setCaption(mes);
2265 } 2264 }
2266} 2265}
2267void MainWindow::loadCalendar() 2266void MainWindow::loadCalendar()
2268{ 2267{
2269 2268
2270 QString fn = KOPrefs::instance()->mLastLoadFile; 2269 QString fn = KOPrefs::instance()->mLastLoadFile;
2271 fn = KFileDialog::getOpenFileName( fn, i18n("Load backup filename"), this ); 2270 fn = KFileDialog::getOpenFileName( fn, i18n("Load backup filename"), this );
2272 2271
2273 if ( fn == "" ) 2272 if ( fn == "" )
2274 return; 2273 return;
2275 QFileInfo info; 2274 QFileInfo info;
2276 info.setFile( fn ); 2275 info.setFile( fn );
2277 QString mess; 2276 QString mess;
2278 bool loadbup = true; 2277 bool loadbup = true;
2279 if ( info. exists() ) { 2278 if ( info. exists() ) {
2280 mess = i18n("Backup file from:\n%1\nLoading backup\nfile will delete\nyour current Data!\n").arg(KGlobal::locale()->formatDateTime(info.lastModified (), true, false )); 2279 mess = i18n("Backup file from:\n%1\nLoading backup\nfile will delete\nyour current Data!\n").arg(KGlobal::locale()->formatDateTime(info.lastModified (), true, false ));
2281 int result = QMessageBox::warning( this, "KO/Pi: Warning!", 2280 int result = QMessageBox::warning( this, "KO/Pi: Warning!",
2282 mess, 2281 mess,
2283 i18n("Load!"), i18n("Cancel"), 0, 2282 i18n("Load!"), i18n("Cancel"), 0,
2284 0, 1 ); 2283 0, 1 );
2285 if ( result != 0 ) { 2284 if ( result != 0 ) {
2286 loadbup = false; 2285 loadbup = false;
2287 } 2286 }
2288 } else { 2287 } else {
2289 QMessageBox::warning( this, i18n("KO/Pi: Warning!"), 2288 QMessageBox::warning( this, i18n("KO/Pi: Warning!"),
2290 i18n("Backup file\ndoes not exist!\nNothing loaded!"), 0, 0, 2289 i18n("Backup file\ndoes not exist!\nNothing loaded!"), 0, 0,
2291 0, 1 ); 2290 0, 1 );
2292 2291
2293 return; 2292 return;
2294 } 2293 }
2295 if ( loadbup ) { 2294 if ( loadbup ) {
2296 mView->openCalendar( fn ); 2295 mView->openCalendar( fn );
2297 KOPrefs::instance()->mLastLoadFile = fn; 2296 KOPrefs::instance()->mLastLoadFile = fn;
2298 mess = i18n("KO/Pi:Loaded %1").arg(fn) ; 2297 mess = i18n("KO/Pi:Loaded %1").arg(fn) ;
2299 setCaption(mess); 2298 setCaption(mess);
2300 } 2299 }
2301 2300
2302} 2301}
2303void MainWindow::quickImportIcal() 2302void MainWindow::quickImportIcal()
2304{ 2303{
2305 importFile( KOPrefs::instance()->mLastImportFile, false ); 2304 importFile( KOPrefs::instance()->mLastImportFile, false );
2306} 2305}
2307void MainWindow::importFile( QString fn, bool quick ) 2306void MainWindow::importFile( QString fn, bool quick )
2308{ 2307{
2309 QFileInfo info; 2308 QFileInfo info;
2310 info.setFile( fn ); 2309 info.setFile( fn );
2311 QString mess; 2310 QString mess;
2312 bool loadbup = true; 2311 bool loadbup = true;
2313 if ( !info. exists() ) { 2312 if ( !info. exists() ) {
2314 mess = i18n("Import file \n...%1\ndoes not exist!\nNothing imported!\n").arg(fn.right( 30)); 2313 mess = i18n("Import file \n...%1\ndoes not exist!\nNothing imported!\n").arg(fn.right( 30));
2315 int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"), 2314 int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"),
2316 mess ); 2315 mess );
2317 return; 2316 return;
2318 } 2317 }
2319 int result = 0; 2318 int result = 0;
2320 if ( !quick ) { 2319 if ( !quick ) {
2321 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 )); 2320 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 ));
2322 result = QMessageBox::warning( this, "KO/Pi: Warning!", 2321 result = QMessageBox::warning( this, "KO/Pi: Warning!",
2323 mess, 2322 mess,
2324 "Import", "Cancel", 0, 2323 "Import", "Cancel", 0,
2325 0, 1 ); 2324 0, 1 );
2326 } 2325 }
2327 if ( result == 0 ) { 2326 if ( result == 0 ) {
2328 if ( mView->openCalendar( fn, true )) { 2327 if ( mView->openCalendar( fn, true )) {
2329 KOPrefs::instance()->mLastImportFile = fn; 2328 KOPrefs::instance()->mLastImportFile = fn;
2330 setCaption(i18n("Imported file successfully")); 2329 setCaption(i18n("Imported file successfully"));
2331 } else { 2330 } else {
2332 setCaption(i18n("Error importing file")); 2331 setCaption(i18n("Error importing file"));
2333 } 2332 }
2334 } 2333 }
2335} 2334}
2336 2335
2337void MainWindow::importIcal() 2336void MainWindow::importIcal()
2338{ 2337{
2339 2338
2340 QString fn =KOPrefs::instance()->mLastImportFile; 2339 QString fn =KOPrefs::instance()->mLastImportFile;
2341 2340
2342 fn =KFileDialog:: getOpenFileName( fn, i18n("Import filename(*.ics/*.vcs)"), this ); 2341 fn =KFileDialog:: getOpenFileName( fn, i18n("Import filename(*.ics/*.vcs)"), this );
2343 if ( fn == "" ) 2342 if ( fn == "" )
2344 return; 2343 return;
2345 importFile( fn, true ); 2344 importFile( fn, true );
2346 2345
2347} 2346}
2348 2347
2349void MainWindow::exportVCalendar() 2348void MainWindow::exportVCalendar()
2350{ 2349{
2351 QString fn = KOPrefs::instance()->mLastVcalFile; 2350 QString fn = KOPrefs::instance()->mLastVcalFile;
2352 fn = KFileDialog::getSaveFileName( fn, i18n("Export vcal filename(*.vcs)"), this ); 2351 fn = KFileDialog::getSaveFileName( fn, i18n("Export vcal filename(*.vcs)"), this );
2353 if ( fn == "" ) 2352 if ( fn == "" )
2354 return; 2353 return;
2355 QFileInfo info; 2354 QFileInfo info;
2356 info.setFile( fn ); 2355 info.setFile( fn );
2357 QString mes; 2356 QString mes;
2358 bool createbup = true; 2357 bool createbup = true;
2359 if ( info. exists() ) { 2358 if ( info. exists() ) {
2360 mes = i18n("Save file\nalready exists!\nOld save file from:\n%1\nOverwrite?\n").arg (KGlobal::locale()->formatDateTime(info.lastModified (), true, false ) ); 2359 mes = i18n("Save file\nalready exists!\nOld save file from:\n%1\nOverwrite?\n").arg (KGlobal::locale()->formatDateTime(info.lastModified (), true, false ) );
2361 int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"),mes, 2360 int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"),mes,
2362 i18n("Overwrite!"), i18n("Cancel"), 0, 2361 i18n("Overwrite!"), i18n("Cancel"), 0,
2363 0, 1 ); 2362 0, 1 );
2364 if ( result != 0 ) { 2363 if ( result != 0 ) {
2365 createbup = false; 2364 createbup = false;
2366 } 2365 }
2367 } 2366 }
2368 if ( createbup ) { 2367 if ( createbup ) {
2369 if ( mView->exportVCalendar( fn ) ) { 2368 if ( mView->exportVCalendar( fn ) ) {
2370 KOPrefs::instance()->mLastVcalFile = fn; 2369 KOPrefs::instance()->mLastVcalFile = fn;
2371 if ( fn.length() > 20 ) 2370 if ( fn.length() > 20 )
2372 mes = i18n("KO/Pi:Exported to ...%1").arg(fn.right(20)) ; 2371 mes = i18n("KO/Pi:Exported to ...%1").arg(fn.right(20)) ;
2373 else 2372 else
2374 mes = i18n("KO/Pi:Exported to %1").arg(fn ); 2373 mes = i18n("KO/Pi:Exported to %1").arg(fn );
2375 setCaption(mes); 2374 setCaption(mes);
2376 } 2375 }
2377 } 2376 }
2378 2377
2379} 2378}
2380QString MainWindow::sentSyncFile() 2379QString MainWindow::sentSyncFile()
2381{ 2380{
2382#ifdef DESKTOP_VERSION 2381#ifdef DESKTOP_VERSION
2383 return locateLocal( "tmp", "copysynccal.ics" ); 2382 return locateLocal( "tmp", "copysynccal.ics" );
2384#else 2383#else
2385 return QString( "/tmp/copysynccal.ics" ); 2384 return QString( "/tmp/copysynccal.ics" );
2386#endif 2385#endif
2387} 2386}
2388 2387
2389void MainWindow::syncFileRequest() 2388void MainWindow::syncFileRequest()
2390{ 2389{
2391 if ( KOPrefs::instance()->mPassiveSyncWithDesktop ) { 2390 if ( KOPrefs::instance()->mPassiveSyncWithDesktop ) {
2392 mSyncManager->slotSyncMenu( 999 ); 2391 mSyncManager->slotSyncMenu( 999 );
2393 } 2392 }
2394 2393
2395 setCaption(i18n("Saving Data to temp file ..." )); 2394 setCaption(i18n("Saving Data to temp file ..." ));
2396 mView->saveCalendar( sentSyncFile() ); 2395 mView->saveCalendar( sentSyncFile() );
2397 setCaption(i18n("Data saved to temp file!" )); 2396 setCaption(i18n("Data saved to temp file!" ));
2398 2397
2399} 2398}
2400void MainWindow::getFile( bool success ) 2399void MainWindow::getFile( bool success )
2401{ 2400{
2402 if ( ! success ) { 2401 if ( ! success ) {
2403 setCaption( i18n("Error receiving file. Nothing changed!") ); 2402 setCaption( i18n("Error receiving file. Nothing changed!") );
2404 return; 2403 return;
2405 } 2404 }
2406 mView->openCalendar( sentSyncFile() ); 2405 mView->openCalendar( sentSyncFile() );
2407 if ( KOPrefs::instance()->mPassiveSyncWithDesktop ) { 2406 if ( KOPrefs::instance()->mPassiveSyncWithDesktop ) {
2408 mSyncManager->slotSyncMenu( 999 ); 2407 mSyncManager->slotSyncMenu( 999 );
2409 } 2408 }
2410 setCaption( i18n("Pi-Sync successful!") ); 2409 setCaption( i18n("Pi-Sync successful!") );
2411} 2410}
2412 2411
2413void MainWindow::printSel( ) 2412void MainWindow::printSel( )
2414{ 2413{
2415 mView->viewManager()->agendaView()->agenda()->printSelection(); 2414 mView->viewManager()->agendaView()->agenda()->printSelection();
2416} 2415}
2417 2416
2418void MainWindow::printCal() 2417void MainWindow::printCal()
2419{ 2418{
2420 mView->print();//mCp->showDialog(); 2419 mView->print();//mCp->showDialog();
2421} 2420}
2422 2421
2423 2422
2424#include "libkdepim/kdatepicker.h" 2423#include "libkdepim/kdatepicker.h"
2425#include <kdatetbl.h> 2424#include <kdatetbl.h>
2426 2425
2427void MainWindow::weekAction() 2426void MainWindow::weekAction()
2428{ 2427{
2429 int month; 2428 int month;
2430 KPopupFrame* popup = new KPopupFrame(this); 2429 KPopupFrame* popup = new KPopupFrame(this);
2431 KDateInternalWeekPicker* picker = new KDateInternalWeekPicker(popup); 2430 KDateInternalWeekPicker* picker = new KDateInternalWeekPicker(popup);
2432 // ----- 2431 // -----
2433 picker->resize(picker->sizeHint()); 2432 picker->resize(picker->sizeHint());
2434 popup->setMainWidget(picker); 2433 popup->setMainWidget(picker);
2435 picker->setFocus(); 2434 picker->setFocus();
2436 connect(picker, SIGNAL(closeMe(int)), popup, SLOT(close(int))); 2435 connect(picker, SIGNAL(closeMe(int)), popup, SLOT(close(int)));
2437 int x = 0; 2436 int x = 0;
2438 int y = iconToolBar->height(); 2437 int y = iconToolBar->height();
2439 int dX = 0; 2438 int dX = 0;
2440 int dY = 0; 2439 int dY = 0;
2441 if ( iconToolBar->orientation () == Qt:: Horizontal ) { 2440 if ( iconToolBar->orientation () == Qt:: Horizontal ) {
2442 if ( iconToolBar->y() > height()/2 ) { 2441 if ( iconToolBar->y() > height()/2 ) {
2443 dY = picker->sizeHint().height()+8; 2442 dY = picker->sizeHint().height()+8;
2444 y = 0; 2443 y = 0;
2445 } 2444 }
2446 } else { 2445 } else {
2447 if ( iconToolBar->x() > width()/2 ) { // right side 2446 if ( iconToolBar->x() > width()/2 ) { // right side
2448 x=0; 2447 x=0;
2449 dX= picker->sizeHint().width()+8; 2448 dX= picker->sizeHint().width()+8;
2450 y = 0; 2449 y = 0;
2451 } else { 2450 } else {
2452 x= iconToolBar->width(); 2451 x= iconToolBar->width();
2453 y = 0; 2452 y = 0;
2454 } 2453 }
2455 } 2454 }
2456 //qDebug("dax %d dy %d %d %d ", dX, dY, iconToolBar->x(), iconToolBar->y() ); 2455 //qDebug("dax %d dy %d %d %d ", dX, dY, iconToolBar->x(), iconToolBar->y() );
2457 if(popup->exec(iconToolBar->mapToGlobal(QPoint(x,y)-QPoint( dX,dY)))) 2456 if(popup->exec(iconToolBar->mapToGlobal(QPoint(x,y)-QPoint( dX,dY))))
2458 { 2457 {
2459 month = picker->getResult(); 2458 month = picker->getResult();
2460 emit selectWeek ( month ); 2459 emit selectWeek ( month );
2461 //qDebug("weekSelected %d ", month); 2460 //qDebug("weekSelected %d ", month);
2462 } 2461 }
2463 delete popup; 2462 delete popup;
2464} 2463}
2465 2464
2466void MainWindow::hideEvent ( QHideEvent * ) 2465void MainWindow::hideEvent ( QHideEvent * )
2467{ 2466{
2468 QString message; 2467 QString message;
2469 QDateTime nextA = mCalendar->nextAlarmEventDateTime(); 2468 QDateTime nextA = mCalendar->nextAlarmEventDateTime();
2470 if ( nextA.isValid() ) { 2469 if ( nextA.isValid() ) {
2471 QString sum = mCalendar->nextSummary(); 2470 QString sum = mCalendar->nextSummary();
2472 2471
2473 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)); 2472 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));
2474 setCaption( message ); 2473 setCaption( message );
2475 } 2474 }
2476} 2475}
2477 2476
2478void MainWindow::resizeEvent( QResizeEvent* e) 2477void MainWindow::resizeEvent( QResizeEvent* e)
2479{ 2478{
2480#ifndef DESKTOP_VERSION 2479#ifndef DESKTOP_VERSION
2481 if ( !KOPrefs::instance()->mShowIconFilter && !KOPrefs::instance()->mShowIconOnetoolbar && QApplication::desktop()->width() > 320) { 2480 if ( !KOPrefs::instance()->mShowIconFilter && !KOPrefs::instance()->mShowIconOnetoolbar && QApplication::desktop()->width() > 320) {
2482 if (QApplication::desktop()->width() > QApplication::desktop()->height() ) 2481 if (QApplication::desktop()->width() > QApplication::desktop()->height() )
2483 filterToolBar->hide(); 2482 filterToolBar->hide();
2484 else 2483 else
2485 filterToolBar->show(); 2484 filterToolBar->show();
2486 } 2485 }
2487#endif 2486#endif
2488 QMainWindow::resizeEvent( e); 2487 QMainWindow::resizeEvent( e);
2489} 2488}
diff --git a/microkde/kapplication.cpp b/microkde/kapplication.cpp
index 566bb41..2c9e3b6 100644
--- a/microkde/kapplication.cpp
+++ b/microkde/kapplication.cpp
@@ -1,247 +1,246 @@
1#include <stdlib.h> 1#include <stdlib.h>
2#include <stdio.h> 2#include <stdio.h>
3 3
4#include "kapplication.h" 4#include "kapplication.h"
5#include "ktextedit.h" 5#include "ktextedit.h"
6#include <qapplication.h> 6#include <qapplication.h>
7#include <qstring.h> 7#include <qstring.h>
8#include <qfile.h> 8#include <qfile.h>
9#include <qtextstream.h> 9#include <qtextstream.h>
10#include <qdialog.h> 10#include <qdialog.h>
11#include <qlayout.h> 11#include <qlayout.h>
12#include <qtextbrowser.h> 12#include <qtextbrowser.h>
13#include <qregexp.h> 13#include <qregexp.h>
14 14
15int KApplication::random() 15int KApplication::random()
16{ 16{
17 return rand(); 17 return rand();
18} 18}
19 19
20//US 20//US
21QString KApplication::randomString(int length) 21QString KApplication::randomString(int length)
22{ 22{
23 if (length <=0 ) return QString::null; 23 if (length <=0 ) return QString::null;
24 24
25 QString str; 25 QString str;
26 while (length--) 26 while (length--)
27 { 27 {
28 int r=random() % 62; 28 int r=random() % 62;
29 r+=48; 29 r+=48;
30 if (r>57) r+=7; 30 if (r>57) r+=7;
31 if (r>90) r+=6; 31 if (r>90) r+=6;
32 str += char(r); 32 str += char(r);
33 // so what if I work backwards? 33 // so what if I work backwards?
34 } 34 }
35 return str; 35 return str;
36} 36}
37int KApplication::execDialog( QDialog* d ) 37int KApplication::execDialog( QDialog* d )
38{ 38{
39 if (QApplication::desktop()->width() <= 640 ) 39 if (QApplication::desktop()->width() <= 640 )
40 d->showMaximized(); 40 d->showMaximized();
41 else 41 else
42 ;//d->resize( 800, 600 ); 42 ;//d->resize( 800, 600 );
43 return d->exec(); 43 return d->exec();
44} 44}
45void KApplication::showLicence() 45void KApplication::showLicence()
46{ 46{
47 KApplication::showFile( "KDE-Pim/Pi licence", "kdepim/licence.txt" ); 47 KApplication::showFile( "KDE-Pim/Pi licence", "kdepim/licence.txt" );
48} 48}
49 49
50void KApplication::testCoords( int* x, int* y, int* wid, int * hei ) 50void KApplication::testCoords( int* x, int* y, int* wid, int * hei )
51{ 51{
52 int dWid = QApplication::desktop()->width() ; 52 int dWid = QApplication::desktop()->width() ;
53 int dHei = QApplication::desktop()->height(); 53 int dHei = QApplication::desktop()->height();
54 if ( *x + *wid > dWid ) { 54 if ( *x + *wid > dWid ) {
55 *x = 0; 55 *x = 0;
56 if ( *wid > dWid ) 56 if ( *wid > dWid )
57 *wid = dWid; 57 *wid = dWid;
58 } 58 }
59 if ( *y + *hei > dHei ) { 59 if ( *y + *hei > dHei ) {
60 *y = 0; 60 *y = 0;
61 if ( *hei > dHei ) 61 if ( *hei > dHei )
62 *hei = dHei; 62 *hei = dHei;
63 } 63 }
64} 64}
65void KApplication::showFile(QString caption, QString fn) 65void KApplication::showFile(QString caption, QString fn)
66{ 66{
67 QString text; 67 QString text;
68 QString fileName; 68 QString fileName;
69#ifndef DESKTOP_VERSION 69#ifndef DESKTOP_VERSION
70 fileName = getenv("QPEDIR"); 70 fileName = getenv("QPEDIR");
71 fileName += "/pics/" + fn ; 71 fileName += "/pics/" + fn ;
72#else 72#else
73 fileName = qApp->applicationDirPath () + "/" + fn; 73 fileName = qApp->applicationDirPath () + "/" + fn;
74#endif 74#endif
75 QFile file( fileName ); 75 QFile file( fileName );
76 if (!file.open( IO_ReadOnly ) ) { 76 if (!file.open( IO_ReadOnly ) ) {
77 return ; 77 return ;
78 } 78 }
79 QTextStream ts( &file ); 79 QTextStream ts( &file );
80 text = ts.read(); 80 text = ts.read();
81 file.close(); 81 file.close();
82 KApplication::showText( caption, text ); 82 KApplication::showText( caption, text );
83 83
84} 84}
85 85
86bool KApplication::convert2latin1(QString fileName) 86bool KApplication::convert2latin1(QString fileName)
87{ 87{
88 QString text; 88 QString text;
89 QFile file( fileName ); 89 QFile file( fileName );
90 if (!file.open( IO_ReadOnly ) ) { 90 if (!file.open( IO_ReadOnly ) ) {
91 return false; 91 return false;
92 92
93 } 93 }
94 QTextStream ts( &file ); 94 QTextStream ts( &file );
95 ts.setEncoding( QTextStream::UnicodeUTF8 ); 95 ts.setEncoding( QTextStream::UnicodeUTF8 );
96 text = ts.read(); 96 text = ts.read();
97 file.close(); 97 file.close();
98 if (!file.open( IO_WriteOnly ) ) { 98 if (!file.open( IO_WriteOnly ) ) {
99 return false; 99 return false;
100 } 100 }
101 QTextStream tsIn( &file ); 101 QTextStream tsIn( &file );
102 tsIn.setEncoding( QTextStream::Latin1 ); 102 tsIn.setEncoding( QTextStream::Latin1 );
103 tsIn << text.latin1(); 103 tsIn << text.latin1();
104 file.close(); 104 file.close();
105 return true; 105 return true;
106 106
107 107
108} 108}
109void KApplication::showText(QString caption, QString text) 109void KApplication::showText(QString caption, QString text)
110{ 110{
111 QDialog dia( 0, "name", true ); ; 111 QDialog dia( 0, "name", true ); ;
112 dia.setCaption( caption ); 112 dia.setCaption( caption );
113 QVBoxLayout* lay = new QVBoxLayout( &dia ); 113 QVBoxLayout* lay = new QVBoxLayout( &dia );
114 lay->setSpacing( 3 ); 114 lay->setSpacing( 3 );
115 lay->setMargin( 3 ); 115 lay->setMargin( 3 );
116 KTextEdit tb ( &dia ); 116 KTextEdit tb ( &dia );
117 tb.setWordWrap( QMultiLineEdit::WidgetWidth ); 117 tb.setWordWrap( QMultiLineEdit::WidgetWidth );
118 lay->addWidget( &tb ); 118 lay->addWidget( &tb );
119 tb.setText( text ); 119 tb.setText( text );
120#ifdef DESKTOP_VERSION 120#ifdef DESKTOP_VERSION
121 dia.resize( 640, 480); 121 dia.resize( 640, 480);
122#else 122#else
123 dia.showMaximized(); 123 dia.showMaximized();
124#endif 124#endif
125 dia.exec(); 125 dia.exec();
126 126
127} 127}
128 128
129#include <qlabel.h> 129#include <qlabel.h>
130#include <qpushbutton.h> 130#include <qpushbutton.h>
131#include <qlayout.h> 131#include <qlayout.h>
132#include <qdir.h> 132#include <qdir.h>
133#include <qradiobutton.h> 133#include <qradiobutton.h>
134#include <qbuttongroup.h> 134#include <qbuttongroup.h>
135#include "kglobal.h" 135#include "kglobal.h"
136#include "klocale.h" 136#include "klocale.h"
137 137
138class KBackupPrefs : public QDialog 138class KBackupPrefs : public QDialog
139{ 139{
140 public: 140 public:
141 KBackupPrefs( QString message , QWidget *parent=0, const char *name=0 ) : 141 KBackupPrefs( QString message , QWidget *parent=0, const char *name=0 ) :
142 QDialog( parent, name, true ) 142 QDialog( parent, name, true )
143 { 143 {
144 setCaption( i18n("Backup Failed!") ); 144 setCaption( i18n("Backup Failed!") );
145 QVBoxLayout* lay = new QVBoxLayout( this ); 145 QVBoxLayout* lay = new QVBoxLayout( this );
146 lay->setSpacing( 3 ); 146 lay->setSpacing( 3 );
147 lay->setMargin( 3 ); 147 lay->setMargin( 3 );
148 QLabel * lab = new QLabel( message, this ); 148 QLabel * lab = new QLabel( message, this );
149 lay->addWidget( lab ); 149 lay->addWidget( lab );
150 QButtonGroup* format = new QButtonGroup( 1, Horizontal, i18n("Choose action"), this ); 150 QButtonGroup* format = new QButtonGroup( 1, Horizontal, i18n("Choose action"), this );
151 lay->addWidget( format ); 151 lay->addWidget( format );
152 format->setExclusive ( true ) ; 152 format->setExclusive ( true ) ;
153 vcal = new QRadioButton(i18n("Try again now"), format ); 153 vcal = new QRadioButton(i18n("Try again now"), format );
154 tcal = new QRadioButton(i18n("Try again later"), format ); 154 tcal = new QRadioButton(i18n("Try again later"), format );
155 ical = new QRadioButton(i18n("Try again tomorrow"), format ); 155 ical = new QRadioButton(i18n("Try again tomorrow"), format );
156 ocal = new QRadioButton(i18n("Disable backup"), format ); 156 ocal = new QRadioButton(i18n("Disable backup"), format );
157 vcal->setChecked( true ); 157 vcal->setChecked( true );
158 QPushButton * ok = new QPushButton( i18n("OK"), this ); 158 QPushButton * ok = new QPushButton( i18n("OK"), this );
159 lay->addWidget(ok ); 159 lay->addWidget(ok );
160 connect ( ok,SIGNAL(clicked() ),this , SLOT ( accept() ) ); 160 connect ( ok,SIGNAL(clicked() ),this , SLOT ( accept() ) );
161 } 161 }
162 162
163 bool again() { return vcal->isChecked(); } 163 bool again() { return vcal->isChecked(); }
164 bool later() { return tcal->isChecked(); } 164 bool later() { return tcal->isChecked(); }
165 bool againTomorrow() { return ical->isChecked(); } 165 bool againTomorrow() { return ical->isChecked(); }
166private: 166private:
167 QRadioButton* vcal, *ical, *ocal, *tcal; 167 QRadioButton* vcal, *ical, *ocal, *tcal;
168}; 168};
169int KApplication::createBackup( QString fn, QString dp, int numBup ) 169int KApplication::createBackup( QString fn, QString dp, int numBup )
170{ 170{
171 if ( numBup < 1) return 3; 171 if ( numBup < 1) return 3;
172 int ret = 3; 172 int ret = 3;
173 qDebug("KApplication::createBackup %s --- %s --- %d", fn.latin1(), dp.latin1(), numBup); 173 //qDebug("KApplication::createBackup %s --- %s --- %d", fn.latin1(), dp.latin1(), numBup);
174 QDir bupDir ( dp ); 174 QDir bupDir ( dp );
175 bool tryAgain = true; 175 bool tryAgain = true;
176 while ( tryAgain ) { 176 while ( tryAgain ) {
177 if ( !bupDir.exists() ) { 177 if ( !bupDir.exists() ) {
178 KBackupPrefs noDir( i18n("<b>Backup directory does not exist: </b>") + dp.right(30)); 178 KBackupPrefs noDir( i18n("<b>Backup directory does not exist: </b>") + dp.right(30));
179 if ( !noDir.exec() ) return 3; 179 if ( !noDir.exec() ) return 3;
180 if ( noDir.againTomorrow() ) { 180 if ( noDir.againTomorrow() ) {
181 return 0; 181 return 0;
182 } else if ( noDir.later() ) { 182 } else if ( noDir.later() ) {
183 return 3; 183 return 3;
184 } else if ( !noDir.again() ) { 184 } else if ( !noDir.again() ) {
185 return 2; 185 return 2;
186 } 186 }
187 } else { 187 } else {
188 tryAgain = false; 188 tryAgain = false;
189 } 189 }
190 } 190 }
191 // we have a valid dir! 191 // we have a valid dir!
192 QStringList allFileList = bupDir.entryList(QDir::Files); 192 QStringList allFileList = bupDir.entryList(QDir::Files);
193 QFileInfo fileInfo ( fn ); 193 QFileInfo fileInfo ( fn );
194 QString fName = fileInfo.fileName (); 194 QString fName = fileInfo.fileName ();
195 QStringList fileList; 195 QStringList fileList;
196 196
197 int i; 197 int i;
198 for ( i = 0; i < allFileList.count(); ++i ) { 198 for ( i = 0; i < allFileList.count(); ++i ) {
199 QString fi = allFileList[i]; 199 QString fi = allFileList[i];
200 if ( fi. find( fName ) > -1 ) 200 if ( fi. find( fName ) > -1 )
201 fileList.append( fi ); 201 fileList.append( fi );
202 } 202 }
203 qDebug("%d backup files exist ", fileList.count()); 203 qDebug("KApp: %d backup files exist ", fileList.count());
204 int count = fileList.count(); 204 int count = fileList.count();
205 fileList.sort(); 205 fileList.sort();
206 int remCount = 0; 206 int remCount = 0;
207 while ( count >= numBup ) { 207 while ( count >= numBup ) {
208 QString fnr = dp + "/"+fileList[remCount]; 208 QString fnr = dp + "/"+fileList[remCount];
209 QFile::remove( fnr ); 209 QFile::remove( fnr );
210 --count; 210 --count;
211 ++remCount; 211 ++remCount;
212 } 212 }
213 QDateTime mRunStart = QDateTime::currentDateTime(); 213 QDateTime mRunStart = QDateTime::currentDateTime();
214 QString file = "%1%2%3-%4%5%6-"; 214 QString file = "%1%2%3-%4%5%6-";
215 file = file.arg( mRunStart.date().year(), 4).arg( mRunStart.date().month(),2 ).arg( mRunStart.date().day(), 2 ).arg( mRunStart.time().hour(),2 ).arg( mRunStart.time().minute(),2 ).arg( mRunStart.time().second(),2 ); 215 file = file.arg( mRunStart.date().year(), 4).arg( mRunStart.date().month(),2 ).arg( mRunStart.date().day(), 2 ).arg( mRunStart.time().hour(),2 ).arg( mRunStart.time().minute(),2 ).arg( mRunStart.time().second(),2 );
216 file.replace ( QRegExp (" "), "0" ); 216 file.replace ( QRegExp (" "), "0" );
217 file += fName ; 217 file += fName ;
218 file = dp + "/"+file; 218 file = dp + file;
219 QString command; 219 QString command;
220 int res = 0; 220 int res = 0;
221#ifdef _WIN32_ 221#ifdef _WIN32_
222 command = "xcopy "+ fn+ " "+file; 222 command = "copy \""+ QDir::convertSeparators( fn)+ "\" \""+QDir::convertSeparators(file)+ "\" ";
223 command = QDir::convertSeparators( command );
224#else 223#else
225 command = "cp "+ fn+ " "+file; 224 command = "cp "+ fn+ " "+file;
226#endif 225#endif
227 qDebug("command %s ",command.latin1() ); 226 //qDebug("command %s ",command.latin1() );
228 tryAgain = true; 227 tryAgain = true;
229 while ( tryAgain ) { 228 while ( tryAgain ) {
230 res = system ( command.latin1() ); 229 res = system ( command.latin1() );
231 qDebug("copy result %d ", res); 230 qDebug("KApp: Copy result %d ", res);
232 if ( res != 0 ) { 231 if ( res != 0 ) {
233 KBackupPrefs noDir( i18n("<b>The backup copy command failed!</b>")); 232 KBackupPrefs noDir( i18n("<b>The backup copy command failed!</b>"));
234 if ( !noDir.exec() ) return 3; 233 if ( !noDir.exec() ) return 3;
235 if ( noDir.againTomorrow() ) { 234 if ( noDir.againTomorrow() ) {
236 return 0; 235 return 0;
237 } else if ( noDir.later() ) { 236 } else if ( noDir.later() ) {
238 return 3; 237 return 3;
239 } else if ( !noDir.again() ) { 238 } else if ( !noDir.again() ) {
240 return 2; 239 return 2;
241 } 240 }
242 } else { 241 } else {
243 tryAgain = false; 242 tryAgain = false;
244 } 243 }
245 } 244 }
246 return 1; 245 return 1;
247} 246}