-rw-r--r-- | bin/kdepim/kaddressbook/germantranslation.txt | 2 | ||||
-rw-r--r-- | bin/kdepim/kopiemail/germantranslation.txt | 2 | ||||
-rw-r--r-- | bin/kdepim/korganizer/germantranslation.txt | 2 | ||||
-rw-r--r-- | bin/kdepim/pwmanager/germantranslation.txt | 2 | ||||
-rw-r--r-- | korganizer/kodaymatrix.cpp | 14 | ||||
-rw-r--r-- | korganizer/koprefsdialog.cpp | 4 | ||||
-rw-r--r-- | libkcal/icalformatimpl.cpp | 7 | ||||
-rw-r--r-- | libkdepim/kcmconfigs/kdepimconfigwidget.cpp | 41 | ||||
-rw-r--r-- | libkdepim/kcmconfigs/kdepimconfigwidget.h | 4 | ||||
-rw-r--r-- | libkdepim/kpimglobalprefs.cpp | 7 | ||||
-rw-r--r-- | libkdepim/kpimglobalprefs.h | 6 | ||||
-rw-r--r-- | libkdepim/kprefsdialog.cpp | 2 | ||||
-rw-r--r-- | libkdepim/kprefsdialog.h | 7 | ||||
-rw-r--r-- | microkde/kglobalsettings.cpp | 9 | ||||
-rw-r--r-- | microkde/kglobalsettings.h | 1 |
15 files changed, 88 insertions, 22 deletions
diff --git a/bin/kdepim/kaddressbook/germantranslation.txt b/bin/kdepim/kaddressbook/germantranslation.txt index 0884a83..85aed43 100644 --- a/bin/kdepim/kaddressbook/germantranslation.txt +++ b/bin/kdepim/kaddressbook/germantranslation.txt | |||
@@ -1,764 +1,764 @@ | |||
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 Beginn:" }, | 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 | { "","" }, | 761 | { "","" }, |
762 | { "","" }, | 762 | { "","" }, |
763 | { "","" }, | 763 | { "","" }, |
764 | { "","" }, \ No newline at end of file | 764 | { "","" }, \ No newline at end of file |
diff --git a/bin/kdepim/kopiemail/germantranslation.txt b/bin/kdepim/kopiemail/germantranslation.txt index 903abdf..75fdd11 100644 --- a/bin/kdepim/kopiemail/germantranslation.txt +++ b/bin/kdepim/kopiemail/germantranslation.txt | |||
@@ -1,280 +1,280 @@ | |||
1 | { " Local Time"," Locale Zeit" }, | 1 | { " Local Time"," Locale Zeit" }, |
2 | { "Preferences","Vorlieben" }, | 2 | { "Preferences","Vorlieben" }, |
3 | { "Ok","Ok" }, | 3 | { "Ok","Ok" }, |
4 | { "Default","Standard" }, | 4 | { "Default","Standard" }, |
5 | { "Cancel","Abbrechen" }, | 5 | { "Cancel","Abbrechen" }, |
6 | { "Global","Global" }, | 6 | { "Global","Global" }, |
7 | { "Email","Email" }, | 7 | { "Email","Email" }, |
8 | { "Phone","Phone" }, | 8 | { "Phone","Phone" }, |
9 | { "SMS","SMS" }, | 9 | { "SMS","SMS" }, |
10 | { "Fax","Fax" }, | 10 | { "Fax","Fax" }, |
11 | { "Pager","Pager" }, | 11 | { "Pager","Pager" }, |
12 | { "SIP","SIP" }, | 12 | { "SIP","SIP" }, |
13 | { "Language:(needs restart)","Sprache (Neustart!)" }, | 13 | { "Language:(needs restart)","Sprache (Neustart!)" }, |
14 | { "English","Englisch" }, | 14 | { "English","Englisch" }, |
15 | { "German","Deutsch" }, | 15 | { "German","Deutsch" }, |
16 | { "French","Französich" }, | 16 | { "French","Französich" }, |
17 | { "Italian","Italienisch" }, | 17 | { "Italian","Italienisch" }, |
18 | { "User defined (usertranslation.txt)","Benutzerdef.(usertranslation.txt)" }, | 18 | { "User defined (usertranslation.txt)","Benutzerdef.(usertranslation.txt)" }, |
19 | { "Time Format(nr):","Zeit Format(Neustart!)" }, | 19 | { "Time Format(nr):","Zeit Format(Neustart!)" }, |
20 | { "24:00","24:00" }, | 20 | { "24:00","24:00" }, |
21 | { "12:00am","12:00am" }, | 21 | { "12:00am","12:00am" }, |
22 | { "Week starts on Sunday","Woche beginnt Sonntags" }, | 22 | { "Week starts on Sunday","Woche beginnt Sonntags" }, |
23 | { "Locale","Localisation" }, | 23 | { "Locale","Localisation" }, |
24 | { "Date Format:","Datums Format:" }, | 24 | { "Date Format:","Datums Format:" }, |
25 | { "24.03.2004 (%d.%m.%Y|%A %d %B %Y)","24.03.2004 (%d.%m.%Y|%A %d %B %Y)" }, | 25 | { "24.03.2004 (%d.%m.%Y|%A %d %B %Y)","24.03.2004 (%d.%m.%Y|%A %d %B %Y)" }, |
26 | { "03.24.2004 (%m.%d.%Y|%A %B %d %Y)","03.24.2004 (%m.%d.%Y|%A %B %d %Y)" }, | 26 | { "03.24.2004 (%m.%d.%Y|%A %B %d %Y)","03.24.2004 (%m.%d.%Y|%A %B %d %Y)" }, |
27 | { "2004-03-24 (%Y-%m-%d|%A %Y %B %d)","2004-03-24 (%Y-%m-%d|%A %Y %B %d)" }, | 27 | { "2004-03-24 (%Y-%m-%d|%A %Y %B %d)","2004-03-24 (%Y-%m-%d|%A %Y %B %d)" }, |
28 | { "User defined","Benutzerdefiniert" }, | 28 | { "User defined","Benutzerdefiniert" }, |
29 | { "User long date:","Format langes Datum:" }, | 29 | { "User long date:","Format langes Datum:" }, |
30 | { "User short date:","Format kurzes Datum:" }, | 30 | { "User short date:","Format kurzes Datum:" }, |
31 | { "Monday 19 April 2004: %A %d %B %Y","Montag 19 April 2004: %A %d %B %Y" }, | 31 | { "Monday 19 April 2004: %A %d %B %Y","Montag 19 April 2004: %A %d %B %Y" }, |
32 | { "Mon 19.04.04: %a %d.%m.%y","Mon 19.04.04: %a %d.%m.%y" }, | 32 | { "Mon 19.04.04: %a %d.%m.%y","Mon 19.04.04: %a %d.%m.%y" }, |
33 | { "Mon, 19.Apr.04: %a, %d.%b.%y","Mon, 19.Apr.04: %a, %d.%b.%y" }, | 33 | { "Mon, 19.Apr.04: %a, %d.%b.%y","Mon, 19.Apr.04: %a, %d.%b.%y" }, |
34 | { "Date Format","Datums Format" }, | 34 | { "Date Format","Datums Format" }, |
35 | { "Timezone:","Zeitzone:" }, | 35 | { "Timezone:","Zeitzone:" }, |
36 | { "Add 30 min to selected Timezone","Addiere 30 min zur Zeitzone" }, | 36 | { "Add 30 min to selected Timezone","Addiere 30 min zur Zeitzone" }, |
37 | { "Timezone has daylight saving","Zeitzone hat Sommerzeit" }, | 37 | { "Timezone has daylight saving","Zeitzone hat Sommerzeit" }, |
38 | { "Actual start and end is the\nsunday before this date.","Tatsächlicher Beginn/Ende ist der\nSonntag vor diesem Datum!" }, | 38 | { "Actual start and end is the\nsunday before this date.","Tatsächlicher Beginn/Ende ist der\nSonntag vor diesem Datum!" }, |
39 | { "The year in the date is ignored.","Das Jahr vom Datum wird ignoriert." }, | 39 | { "The year in the date is ignored.","Das Jahr vom Datum wird ignoriert." }, |
40 | { "Daylight start:","Sommerzeit Beginn:" }, | 40 | { "Daylight start:","Sommerzeit Start:" }, |
41 | { "Mon","Mo" }, | 41 | { "Mon","Mo" }, |
42 | { "Tue","Di" }, | 42 | { "Tue","Di" }, |
43 | { "Wed","Mi" }, | 43 | { "Wed","Mi" }, |
44 | { "Thu","Do" }, | 44 | { "Thu","Do" }, |
45 | { "Fri","Fr" }, | 45 | { "Fri","Fr" }, |
46 | { "Sat","Sa" }, | 46 | { "Sat","Sa" }, |
47 | { "Sun","So" }, | 47 | { "Sun","So" }, |
48 | { "January","Januar" }, | 48 | { "January","Januar" }, |
49 | { "February","Februar" }, | 49 | { "February","Februar" }, |
50 | { "March","März" }, | 50 | { "March","März" }, |
51 | { "April","April" }, | 51 | { "April","April" }, |
52 | { "May","Mai" }, | 52 | { "May","Mai" }, |
53 | { "June","Juni" }, | 53 | { "June","Juni" }, |
54 | { "July","Juli" }, | 54 | { "July","Juli" }, |
55 | { "August","August" }, | 55 | { "August","August" }, |
56 | { "September","September" }, | 56 | { "September","September" }, |
57 | { "October","Oktober" }, | 57 | { "October","Oktober" }, |
58 | { "November","November" }, | 58 | { "November","November" }, |
59 | { "December","Dezember" }, | 59 | { "December","Dezember" }, |
60 | { "tomorrow","morgen" }, | 60 | { "tomorrow","morgen" }, |
61 | { "today","heute" }, | 61 | { "today","heute" }, |
62 | { "yesterday","gestern" }, | 62 | { "yesterday","gestern" }, |
63 | { "Monday","Montag" }, | 63 | { "Monday","Montag" }, |
64 | { "Tuesday","Dienstag" }, | 64 | { "Tuesday","Dienstag" }, |
65 | { "Wednesday","Mittwoch" }, | 65 | { "Wednesday","Mittwoch" }, |
66 | { "Thursday","Donnerstag" }, | 66 | { "Thursday","Donnerstag" }, |
67 | { "Friday","Freitag" }, | 67 | { "Friday","Freitag" }, |
68 | { "Saturday","Samstag" }, | 68 | { "Saturday","Samstag" }, |
69 | { "Sunday","Sonntag" }, | 69 | { "Sunday","Sonntag" }, |
70 | { "Daylight end:","Sommerzeit Ende:" }, | 70 | { "Daylight end:","Sommerzeit Ende:" }, |
71 | { "Time Zone","Zeitzone" }, | 71 | { "Time Zone","Zeitzone" }, |
72 | { "Used Mail Client","Benutzter Mail Client" }, | 72 | { "Used Mail Client","Benutzter Mail Client" }, |
73 | { "Channel:","Channel:" }, | 73 | { "Channel:","Channel:" }, |
74 | { "Message:","Message:" }, | 74 | { "Message:","Message:" }, |
75 | { "Parameters:","Parameter:" }, | 75 | { "Parameters:","Parameter:" }, |
76 | { "HINT: Delimiter=; Name=%1,Email=%2","Hinweis: Begrenzer=; Name=%1,Email=%2" }, | 76 | { "HINT: Delimiter=; Name=%1,Email=%2","Hinweis: Begrenzer=; Name=%1,Email=%2" }, |
77 | { "extra Message:","extra Message:" }, | 77 | { "extra Message:","extra Message:" }, |
78 | { "extra Parameters:","extra Parameter:" }, | 78 | { "extra Parameters:","extra Parameter:" }, |
79 | { "HINT: Emails=%1,Attachments=%2","Hinweis: Emails=%1,Attachments=%2" }, | 79 | { "HINT: Emails=%1,Attachments=%2","Hinweis: Emails=%1,Attachments=%2" }, |
80 | { "External Apps.","Externe Appl." }, | 80 | { "External Apps.","Externe Appl." }, |
81 | { "General","Allgemein" }, | 81 | { "General","Allgemein" }, |
82 | { "Full &name:","Vor- und &Nachname:" }, | 82 | { "Full &name:","Vor- und &Nachname:" }, |
83 | { "E&mail address:","E&mail Adresse:" }, | 83 | { "E&mail address:","E&mail Adresse:" }, |
84 | { "Fonts","Schriftart" }, | 84 | { "Fonts","Schriftart" }, |
85 | { "Choose...","Wähle..." }, | 85 | { "Choose...","Wähle..." }, |
86 | { "Used %1 Client","Benutzter %1 Client" }, | 86 | { "Used %1 Client","Benutzter %1 Client" }, |
87 | { "No email client installed","Kein Email Klient installiert" }, | 87 | { "No email client installed","Kein Email Klient installiert" }, |
88 | { "Userdefined email client","Benutzerdef. Email Klient" }, | 88 | { "Userdefined email client","Benutzerdef. Email Klient" }, |
89 | { "OM/Pi email client","OM/Pi Email Klient" }, | 89 | { "OM/Pi email client","OM/Pi Email Klient" }, |
90 | { "Delete","Löschen" }, | 90 | { "Delete","Löschen" }, |
91 | { "New","Neu" }, | 91 | { "New","Neu" }, |
92 | { "Edit","Bearbeite" }, | 92 | { "Edit","Bearbeite" }, |
93 | { "Close","Schließen" }, | 93 | { "Close","Schließen" }, |
94 | { "Size","Größe" }, | 94 | { "Size","Größe" }, |
95 | { "Date","Datum" }, | 95 | { "Date","Datum" }, |
96 | { "Please set at","Bitte einstellen in" }, | 96 | { "Please set at","Bitte einstellen in" }, |
97 | { "Settings@General TAB","Einstellungen@Allgemein TAB" }, | 97 | { "Settings@General TAB","Einstellungen@Allgemein TAB" }, |
98 | { "KOpieMail/Pi","KOpieMail/Pi" }, | 98 | { "KOpieMail/Pi","KOpieMail/Pi" }, |
99 | { "Mail","Mail" }, | 99 | { "Mail","Mail" }, |
100 | { "Settings","Konfig" }, | 100 | { "Settings","Konfig" }, |
101 | { "Get all new mails","Hole alle neuen Mails" }, | 101 | { "Get all new mails","Hole alle neuen Mails" }, |
102 | { "Get new messages","Hole neue mails" }, | 102 | { "Get new messages","Hole neue mails" }, |
103 | { "Compose new mail","Schreibe neue Mail" }, | 103 | { "Compose new mail","Schreibe neue Mail" }, |
104 | { "Send queued mails","Sende gespeicherte Mails" }, | 104 | { "Send queued mails","Sende gespeicherte Mails" }, |
105 | { "Show/Hide folders","Zeige Verzeichnisse" }, | 105 | { "Show/Hide folders","Zeige Verzeichnisse" }, |
106 | { "Delete Mail","Lösche Mail" }, | 106 | { "Delete Mail","Lösche Mail" }, |
107 | { "Edit settings","Ändere Einstellungen" }, | 107 | { "Edit settings","Ändere Einstellungen" }, |
108 | { "Configure accounts","Konfiguriere Zugänge" }, | 108 | { "Configure accounts","Konfiguriere Zugänge" }, |
109 | { "Mailbox","Mailbox" }, | 109 | { "Mailbox","Mailbox" }, |
110 | { "Subject","Betreff" }, | 110 | { "Subject","Betreff" }, |
111 | { "Sender","Sender" }, | 111 | { "Sender","Sender" }, |
112 | { "Size","Größe" }, | 112 | { "Size","Größe" }, |
113 | { "Date","Datum" }, | 113 | { "Date","Datum" }, |
114 | { "Close","Schliessen" }, | 114 | { "Close","Schliessen" }, |
115 | { "Help","Hilfe" }, | 115 | { "Help","Hilfe" }, |
116 | { "About","Über" }, | 116 | { "About","Über" }, |
117 | { "Licence","Lizenz" }, | 117 | { "Licence","Lizenz" }, |
118 | { "LibEtPan Licence","LibEtPan Lizenz" }, | 118 | { "LibEtPan Licence","LibEtPan Lizenz" }, |
119 | { "Settings - some need a restart (nr)","Einstellungen - manche benötigen einen Neustart (nr)" }, | 119 | { "Settings - some need a restart (nr)","Einstellungen - manche benötigen einen Neustart (nr)" }, |
120 | { "HINT: Separate multiple\neMail addresses by ";"","Hinweis:Trenne mehrere\nAddressen mit einem ";"" }, | 120 | { "HINT: Separate multiple\neMail addresses by ";"","Hinweis:Trenne mehrere\nAddressen mit einem ";"" }, |
121 | { "Ignore above settings and\nuse KA/Pi "Who am I" instead!","Ignoriere obige Einstellungen und\nbenutze KA/Pi "Wer bin ich"\nstattdessen!" }, | 121 | { "Ignore above settings and\nuse KA/Pi "Who am I" instead!","Ignoriere obige Einstellungen und\nbenutze KA/Pi "Wer bin ich"\nstattdessen!" }, |
122 | { "View mail as html","Zeige Mails als html" }, | 122 | { "View mail as html","Zeige Mails als html" }, |
123 | { "Send mails later","Sende Mails später" }, | 123 | { "Send mails later","Sende Mails später" }, |
124 | { "Application(nr)","Applikation(nr)" }, | 124 | { "Application(nr)","Applikation(nr)" }, |
125 | { "OK","OK" }, | 125 | { "OK","OK" }, |
126 | { "Compose mail:","Verfasse Mail:" }, | 126 | { "Compose mail:","Verfasse Mail:" }, |
127 | { "Dear Mr.","Hallo Herr" }, | 127 | { "Dear Mr.","Hallo Herr" }, |
128 | { "Read mail:","Lese Mail:" }, | 128 | { "Read mail:","Lese Mail:" }, |
129 | { "Hello","Hallo" }, | 129 | { "Hello","Hallo" }, |
130 | { "Configure Accounts","Konfigure Zugänge" }, | 130 | { "Configure Accounts","Konfigure Zugänge" }, |
131 | { "Name of the Account","Name des Zugangs" }, | 131 | { "Name of the Account","Name des Zugangs" }, |
132 | { "News","News" }, | 132 | { "News","News" }, |
133 | { "Account","Zugang" }, | 133 | { "Account","Zugang" }, |
134 | { "Type","Typ" }, | 134 | { "Type","Typ" }, |
135 | { "<p>Please select an account.</p>","<p>Bitte wähle einen Zugang.</p>" }, | 135 | { "<p>Please select an account.</p>","<p>Bitte wähle einen Zugang.</p>" }, |
136 | { "Error","Fehler" }, | 136 | { "Error","Fehler" }, |
137 | { "Configure NNTP","Konfiguriere News" }, | 137 | { "Configure NNTP","Konfiguriere News" }, |
138 | { "Port","Port" }, | 138 | { "Port","Port" }, |
139 | { "Server","Server" }, | 139 | { "Server","Server" }, |
140 | { "Use SSL","Benutze SSL" }, | 140 | { "Use SSL","Benutze SSL" }, |
141 | { "User","Benutzer" }, | 141 | { "User","Benutzer" }, |
142 | { "Password","Passwort" }, | 142 | { "Password","Passwort" }, |
143 | { "Use Login","Benutze Login" }, | 143 | { "Use Login","Benutze Login" }, |
144 | { "Newsgroup","Newsgroup" }, | 144 | { "Newsgroup","Newsgroup" }, |
145 | { "Get newsgroup list from server","Hole Newsgroup Liste vom Server" }, | 145 | { "Get newsgroup list from server","Hole Newsgroup Liste vom Server" }, |
146 | { "Filter:","Filter:" }, | 146 | { "Filter:","Filter:" }, |
147 | { "Show subscribed","Zeige abbonnierte" }, | 147 | { "Show subscribed","Zeige abbonnierte" }, |
148 | { "Groups","NewsGroups" }, | 148 | { "Groups","NewsGroups" }, |
149 | { "Configure IMAP","Konfiguriere IMAP" }, | 149 | { "Configure IMAP","Konfiguriere IMAP" }, |
150 | { "Use secure sockets:","Benutze sichere Verbindung:" }, | 150 | { "Use secure sockets:","Benutze sichere Verbindung:" }, |
151 | { "ssh $SERVER exec","ssh $SERVER exec" }, | 151 | { "ssh $SERVER exec","ssh $SERVER exec" }, |
152 | { "Prefix","Prefix" }, | 152 | { "Prefix","Prefix" }, |
153 | { "Local storage folder:","Lokales Verzeichnis:" }, | 153 | { "Local storage folder:","Lokales Verzeichnis:" }, |
154 | { "Get only messages smaller","Hole nur Nachrichten kleiner" }, | 154 | { "Get only messages smaller","Hole nur Nachrichten kleiner" }, |
155 | { "kB","kB" }, | 155 | { "kB","kB" }, |
156 | { "Leave Messages on Server","Belasse Nachrichten auf dem Server" }, | 156 | { "Leave Messages on Server","Belasse Nachrichten auf dem Server" }, |
157 | { "Configure POP3","Konfiguriere POP3" }, | 157 | { "Configure POP3","Konfiguriere POP3" }, |
158 | { "ssh $SERVER exec imapd","ssh $SERVER exec imapd" }, | 158 | { "ssh $SERVER exec imapd","ssh $SERVER exec imapd" }, |
159 | { "Configure SMTP","Konfiguriere SMTP" }, | 159 | { "Configure SMTP","Konfiguriere SMTP" }, |
160 | { "Name of the SMTP Server","Name des SMTP Servers" }, | 160 | { "Name of the SMTP Server","Name des SMTP Servers" }, |
161 | { "Port of the SMTP Server","Port des SMTP Servers" }, | 161 | { "Port of the SMTP Server","Port des SMTP Servers" }, |
162 | { "Fetching folder list","Hole Verzeichnis Liste" }, | 162 | { "Fetching folder list","Hole Verzeichnis Liste" }, |
163 | { "Fetch ","Hole " }, | 163 | { "Fetch ","Hole " }, |
164 | { "Fetching header list","Hole Titel Liste" }, | 164 | { "Fetching header list","Hole Titel Liste" }, |
165 | { "Mailbox has %1 mails","Mailbox hat %1 Mails" }, | 165 | { "Mailbox has %1 mails","Mailbox hat %1 Mails" }, |
166 | { "Read this mail","Lies diese Mail" }, | 166 | { "Read this mail","Lies diese Mail" }, |
167 | { "Move/Copy this mail","Verschiebe/kopiere diese Mail" }, | 167 | { "Move/Copy this mail","Verschiebe/kopiere diese Mail" }, |
168 | { "Delete this mail","Lösche diese Mail" }, | 168 | { "Delete this mail","Lösche diese Mail" }, |
169 | { "Move/Copy all selected mail","Verschiebe/kopiere selektierte Mails" }, | 169 | { "Move/Copy all selected mail","Verschiebe/kopiere selektierte Mails" }, |
170 | { "Delete all selected mails","Lösche alle selektierten Mails" }, | 170 | { "Delete all selected mails","Lösche alle selektierten Mails" }, |
171 | { "Clear selection","Selektion aufheben" }, | 171 | { "Clear selection","Selektion aufheben" }, |
172 | { "Reply","Antworten" }, | 172 | { "Reply","Antworten" }, |
173 | { "Forward","Weiterleiten" }, | 173 | { "Forward","Weiterleiten" }, |
174 | { "Attachments","Anhang" }, | 174 | { "Attachments","Anhang" }, |
175 | { "Show Html","Zeige in html" }, | 175 | { "Show Html","Zeige in html" }, |
176 | { "Description","Beschreibung" }, | 176 | { "Description","Beschreibung" }, |
177 | { "Filename","Dateiname" }, | 177 | { "Filename","Dateiname" }, |
178 | { "E-Mail by %1","E-Mail von %1" }, | 178 | { "E-Mail by %1","E-Mail von %1" }, |
179 | { "Cc","Kopie" }, | 179 | { "Cc","Kopie" }, |
180 | { "To","An" }, | 180 | { "To","An" }, |
181 | { "From","Von" }, | 181 | { "From","Von" }, |
182 | { "<p>Do you really want to delete this mail? <br><br>","<p>Wollen Sie diese Mail wirklich löschen? <br><br>" }, | 182 | { "<p>Do you really want to delete this mail? <br><br>","<p>Wollen Sie diese Mail wirklich löschen? <br><br>" }, |
183 | { "Mailbox has %1 mail(s)","Mailbox hat %1 Mail(s)" }, | 183 | { "Mailbox has %1 mail(s)","Mailbox hat %1 Mail(s)" }, |
184 | { "Move/Copie all mails","Verschiebe/kopiere alle Mails" }, | 184 | { "Move/Copie all mails","Verschiebe/kopiere alle Mails" }, |
185 | { "Delete all mails","Lösche alle Mails" }, | 185 | { "Delete all mails","Lösche alle Mails" }, |
186 | { "Create new subfolder","Neues Unterverzeichnis" }, | 186 | { "Create new subfolder","Neues Unterverzeichnis" }, |
187 | { "Delete folder","Lösche Verzeichnis" }, | 187 | { "Delete folder","Lösche Verzeichnis" }, |
188 | { "Refresh folder list","Aktualisiere Liste" }, | 188 | { "Refresh folder list","Aktualisiere Liste" }, |
189 | { "Create new folder","Neues Verzeichnis" }, | 189 | { "Create new folder","Neues Verzeichnis" }, |
190 | { "Disconnect","Diskonnect" }, | 190 | { "Disconnect","Diskonnect" }, |
191 | { "Set offline","Gehe offline" }, | 191 | { "Set offline","Gehe offline" }, |
192 | { "Select target box","Wähle Ziel Box" }, | 192 | { "Select target box","Wähle Ziel Box" }, |
193 | { "<b>Store mail(s) to</b>","<b>Speichere Mail(s) nach</b>" }, | 193 | { "<b>Store mail(s) to</b>","<b>Speichere Mail(s) nach</b>" }, |
194 | { "Folder:","Verzeichnis:" }, | 194 | { "Folder:","Verzeichnis:" }, |
195 | { "Account:","Zugang:" }, | 195 | { "Account:","Zugang:" }, |
196 | { "Prefix will prepend, do not enter","Pfad-Prefix wird vorangestellt" }, | 196 | { "Prefix will prepend, do not enter","Pfad-Prefix wird vorangestellt" }, |
197 | { "Move mail(s)","Verschiebe Mail(s)" }, | 197 | { "Move mail(s)","Verschiebe Mail(s)" }, |
198 | { "only mails smaller","nur Mails kleiner" }, | 198 | { "only mails smaller","nur Mails kleiner" }, |
199 | { " kB"," kB" }, | 199 | { " kB"," kB" }, |
200 | { " message %1 of %2"," Nachricht %1 von %2" }, | 200 | { " message %1 of %2"," Nachricht %1 von %2" }, |
201 | { "Copying...","Am Kopieren..." }, | 201 | { "Copying...","Am Kopieren..." }, |
202 | { "Copy message %1 of %2","Kopiere Nachricht %1 von %2" }, | 202 | { "Copy message %1 of %2","Kopiere Nachricht %1 von %2" }, |
203 | { "Do you really want to delete\nall selected mails?","Wollen Sie wirklich alle\nselektierten Mails Löschen?" }, | 203 | { "Do you really want to delete\nall selected mails?","Wollen Sie wirklich alle\nselektierten Mails Löschen?" }, |
204 | { "Delete All Mails","Lösche alle Mails" }, | 204 | { "Delete All Mails","Lösche alle Mails" }, |
205 | { "Deleting ...","Am Löschen..." }, | 205 | { "Deleting ...","Am Löschen..." }, |
206 | { "Delete message %1 of %2","Lösche Nachricht %1 von %2" }, | 206 | { "Delete message %1 of %2","Lösche Nachricht %1 von %2" }, |
207 | { "Compose Message","Verfasse Nachricht" }, | 207 | { "Compose Message","Verfasse Nachricht" }, |
208 | { "Reply-To","Antwort-An" }, | 208 | { "Reply-To","Antwort-An" }, |
209 | { "BCC","BCC" }, | 209 | { "BCC","BCC" }, |
210 | { "Signature","Signatur" }, | 210 | { "Signature","Signatur" }, |
211 | { "CC","Kopie" }, | 211 | { "CC","Kopie" }, |
212 | { "Options","Optionen" }, | 212 | { "Options","Optionen" }, |
213 | { "Delete File","Lösche Datei" }, | 213 | { "Delete File","Lösche Datei" }, |
214 | { "Add File","Füge Datei hinzu" }, | 214 | { "Add File","Füge Datei hinzu" }, |
215 | { "Attachment","Anhang" }, | 215 | { "Attachment","Anhang" }, |
216 | { "send later","sende später" }, | 216 | { "send later","sende später" }, |
217 | { "use:","via:" }, | 217 | { "use:","via:" }, |
218 | { "Save","Speichern" }, | 218 | { "Save","Speichern" }, |
219 | { "Name","Name" }, | 219 | { "Name","Name" }, |
220 | { "No Receiver spezified","Kein Empfänger angegeben" }, | 220 | { "No Receiver spezified","Kein Empfänger angegeben" }, |
221 | { "Sending mail","Sende Mail" }, | 221 | { "Sending mail","Sende Mail" }, |
222 | { "No","Nein" }, | 222 | { "No","Nein" }, |
223 | { "Yes","Ja" }, | 223 | { "Yes","Ja" }, |
224 | { "Store message into drafts?\n","Speichere Nachricht in Entwürfe?\n" }, | 224 | { "Store message into drafts?\n","Speichere Nachricht in Entwürfe?\n" }, |
225 | { "Store message?","Nachricht speichern?" }, | 225 | { "Store message?","Nachricht speichern?" }, |
226 | { "Select Type","Selektiere Typ" }, | 226 | { "Select Type","Selektiere Typ" }, |
227 | { "Select Account Type","Wähle Art des Zugangs" }, | 227 | { "Select Account Type","Wähle Art des Zugangs" }, |
228 | { "IMAP","IMAP (online lesen)" }, | 228 | { "IMAP","IMAP (online lesen)" }, |
229 | { "POP3","POP3 (holen)" }, | 229 | { "POP3","POP3 (holen)" }, |
230 | { "SMTP","SMTP (senden)" }, | 230 | { "SMTP","SMTP (senden)" }, |
231 | { "<p>Do you really want to delete the selected Account?</p>","<p>Möchten Sie wirklich den ausgewählten Account löschen?</p>" }, | 231 | { "<p>Do you really want to delete the selected Account?</p>","<p>Möchten Sie wirklich den ausgewählten Account löschen?</p>" }, |
232 | { "Question","Eine Frage..." }, | 232 | { "Question","Eine Frage..." }, |
233 | { "Send this message?","Nachricht wirklich senden?" }, | 233 | { "Send this message?","Nachricht wirklich senden?" }, |
234 | { "Stop editing message","Stop editing message" }, | 234 | { "Stop editing message","Stop editing message" }, |
235 | { "Sending mail %1 of %2","Sende Mail %1 von %2" }, | 235 | { "Sending mail %1 of %2","Sende Mail %1 von %2" }, |
236 | { "%1 of %2 bytes send","%1 von %2 Bytes gesendet" }, | 236 | { "%1 of %2 bytes send","%1 von %2 Bytes gesendet" }, |
237 | { "Refresh header list","Aktualisiere Titel Liste" }, | 237 | { "Refresh header list","Aktualisiere Titel Liste" }, |
238 | { "Define a smtp\n account first!\n","Bitte zuerst einen\nSMTP Account anlegen!\n" }, | 238 | { "Define a smtp\n account first!\n","Bitte zuerst einen\nSMTP Account anlegen!\n" }, |
239 | { "Mail queue flushed","Gespeicherte Mails gesendet!" }, | 239 | { "Mail queue flushed","Gespeicherte Mails gesendet!" }, |
240 | { "Please create an\nSMTP account first.\nThe SMTP is needed\nfor sending mail.\n","Bitte legen Sie einen\nSMTP Account an.\nDer SMTP Account wird\nfür das Versenden von\nMails benötigt!" }, | 240 | { "Please create an\nSMTP account first.\nThe SMTP is needed\nfor sending mail.\n","Bitte legen Sie einen\nSMTP Account an.\nDer SMTP Account wird\nfür das Versenden von\nMails benötigt!" }, |
241 | { "Show next mail","Zeige nächste Mail" }, | 241 | { "Show next mail","Zeige nächste Mail" }, |
242 | { "End of List","Ende der Liste" }, | 242 | { "End of List","Ende der Liste" }, |
243 | { "Language","Sprache" }, | 243 | { "Language","Sprache" }, |
244 | { "Time Format","Zeit Format" }, | 244 | { "Time Format","Zeit Format" }, |
245 | { "%1 groups subscribed","%1 Guppen abboniert" }, | 245 | { "%1 groups subscribed","%1 Guppen abboniert" }, |
246 | { "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" }, | 246 | { "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" }, |
247 | { "<b>New data storage dir:</b>","<b>Neues Datenspeicherverzeichnis:</b>" }, | 247 | { "<b>New data storage dir:</b>","<b>Neues Datenspeicherverzeichnis:</b>" }, |
248 | { "New dirs are created automatically","Neue Verzeichnisse werden aut. erstellt" }, | 248 | { "New dirs are created automatically","Neue Verzeichnisse werden aut. erstellt" }, |
249 | { "Save settings","Speichere Einstellungen" }, | 249 | { "Save settings","Speichere Einstellungen" }, |
250 | { "Save standard","Speichere Standard" }, | 250 | { "Save standard","Speichere Standard" }, |
251 | { "<b>New settings are used\nafter a restart</b>","<b>Neue Einstellungen werden nach\neinem Neustart genutzt</b>" }, | 251 | { "<b>New settings are used\nafter a restart</b>","<b>Neue Einstellungen werden nach\neinem Neustart genutzt</b>" }, |
252 | { "Settings are stored in\n%1","Einstellungen werden gespeichert in:\n%1" }, | 252 | { "Settings are stored in\n%1","Einstellungen werden gespeichert in:\n%1" }, |
253 | { "Data storage path","Daten Speicherpfad" }, | 253 | { "Data storage path","Daten Speicherpfad" }, |
254 | { "userdefined","benutzerdefiniert" }, | 254 | { "userdefined","benutzerdefiniert" }, |
255 | { "Reply to this mail","Beantworte diese Mail" }, | 255 | { "Reply to this mail","Beantworte diese Mail" }, |
256 | { "Su:","Be:" }, | 256 | { "Su:","Be:" }, |
257 | { "Fr:","Vo:" }, | 257 | { "Fr:","Vo:" }, |
258 | { "To:","An:" }, | 258 | { "To:","An:" }, |
259 | { "Download Mail","Mail runterladen" }, | 259 | { "Download Mail","Mail runterladen" }, |
260 | { "View Source","Zeige Source" }, | 260 | { "View Source","Zeige Source" }, |
261 | { "Show "To" field in list view","Zeige "An" Feld in Listenansicht" }, | 261 | { "Show "To" field in list view","Zeige "An" Feld in Listenansicht" }, |
262 | { "Show info fields at startup","Zeige Info Felder beim Start" }, | 262 | { "Show info fields at startup","Zeige Info Felder beim Start" }, |
263 | { "Show "Subject" info field","Zeige "Betreff" Info Feld" }, | 263 | { "Show "Subject" info field","Zeige "Betreff" Info Feld" }, |
264 | { "Show "From" info field","Zeige "Von" Info Feld" }, | 264 | { "Show "From" info field","Zeige "Von" Info Feld" }, |
265 | { "Show "To" info field","Zeige "An" Info Feld" }, | 265 | { "Show "To" info field","Zeige "An" Info Feld" }, |
266 | { "Mail saved as draft!","Mail als Entwurf gespeichert!" }, | 266 | { "Mail saved as draft!","Mail als Entwurf gespeichert!" }, |
267 | { "Save signature","Speichere Signatur" }, | 267 | { "Save signature","Speichere Signatur" }, |
268 | { "No paths allowed in\nlocal folder settings.\nPlease specify a folder\nname or leave empty\nto create local folder\nwith account name\nautomatically.","Beim lokalen Verzeichnis\nsind keine Pfade erlaubt.\nBitte Verzeichnisnamen\nangeben oder leer lassen\num automatisch ein lokales\nVerzeichnis mit dem\nZugangsnamen anzulegen." }, | 268 | { "No paths allowed in\nlocal folder settings.\nPlease specify a folder\nname or leave empty\nto create local folder\nwith account name\nautomatically.","Beim lokalen Verzeichnis\nsind keine Pfade erlaubt.\nBitte Verzeichnisnamen\nangeben oder leer lassen\num automatisch ein lokales\nVerzeichnis mit dem\nZugangsnamen anzulegen." }, |
269 | { "Do you really want to\nsend all queued mails?","Möchten sie wirklich\nalle Mails im\nOutgoing-Ordner\nsenden?" }, | 269 | { "Do you really want to\nsend all queued mails?","Möchten sie wirklich\nalle Mails im\nOutgoing-Ordner\nsenden?" }, |
270 | { "Sending all mails","Senden aller Mails" }, | 270 | { "Sending all mails","Senden aller Mails" }, |
271 | { "SMTP Account:","SMTP Zugang:" }, | 271 | { "SMTP Account:","SMTP Zugang:" }, |
272 | { "Select SMTP Account","Wähle SMTP Zugang" }, | 272 | { "Select SMTP Account","Wähle SMTP Zugang" }, |
273 | { "Error sending mail:\n%1","Fehler beim Mailversand:\n%1\nHaben Sie vergessen\ndie Post ausreichend\nzu frankieren? ;-)" }, | 273 | { "Error sending mail:\n%1","Fehler beim Mailversand:\n%1\nHaben Sie vergessen\ndie Post ausreichend\nzu frankieren? ;-)" }, |
274 | { "Error sending mail","Fehler beim Mailversand" }, | 274 | { "Error sending mail","Fehler beim Mailversand" }, |
275 | { "Error sending queued mail.\nBreaking.","Fehler beim Mailversand.\nAbbruch." }, | 275 | { "Error sending queued mail.\nBreaking.","Fehler beim Mailversand.\nAbbruch." }, |
276 | { "Colors","Farben" }, | 276 | { "Colors","Farben" }, |
277 | { "Alternating background of list views","Abwechselnder Hintergrund für Listen" }, | 277 | { "Alternating background of list views","Abwechselnder Hintergrund für Listen" }, |
278 | { "","" }, | 278 | { "","" }, |
279 | { "","" }, | 279 | { "","" }, |
280 | { "","" }, \ No newline at end of file | 280 | { "","" }, \ No newline at end of file |
diff --git a/bin/kdepim/korganizer/germantranslation.txt b/bin/kdepim/korganizer/germantranslation.txt index 5693112..fa18304 100644 --- a/bin/kdepim/korganizer/germantranslation.txt +++ b/bin/kdepim/korganizer/germantranslation.txt | |||
@@ -1,1216 +1,1216 @@ | |||
1 | { "10 minutes","10 Minuten" }, | 1 | { "10 minutes","10 Minuten" }, |
2 | { "10th","10." }, | 2 | { "10th","10." }, |
3 | { "11th","11." }, | 3 | { "11th","11." }, |
4 | { "12 pm Format","12 AM/PM Format" }, | 4 | { "12 pm Format","12 AM/PM Format" }, |
5 | { "12th","12." }, | 5 | { "12th","12." }, |
6 | { "13th","13." }, | 6 | { "13th","13." }, |
7 | { "14th","14." }, | 7 | { "14th","14." }, |
8 | { "15th","15." }, | 8 | { "15th","15." }, |
9 | { "16th","16." }, | 9 | { "16th","16." }, |
10 | { "17th","17." }, | 10 | { "17th","17." }, |
11 | { "18th","18." }, | 11 | { "18th","18." }, |
12 | { "19th","19." }, | 12 | { "19th","19." }, |
13 | { "1 Day","1 Tag" }, | 13 | { "1 Day","1 Tag" }, |
14 | { "1 h","1 Std" }, | 14 | { "1 h","1 Std" }, |
15 | { "1 (high)","1 (hoch)" }, | 15 | { "1 (high)","1 (hoch)" }, |
16 | { "5 (low)","5" }, | 16 | { "5 (low)","5" }, |
17 | { "1st","1." }, | 17 | { "1st","1." }, |
18 | { "20th","20." }, | 18 | { "20th","20." }, |
19 | { "21st","21." }, | 19 | { "21st","21." }, |
20 | { "22nd","22." }, | 20 | { "22nd","22." }, |
21 | { "23rd","23." }, | 21 | { "23rd","23." }, |
22 | { "24:00 Hour Format","24:00 Stunden Format" }, | 22 | { "24:00 Hour Format","24:00 Stunden Format" }, |
23 | { "24th","24." }, | 23 | { "24th","24." }, |
24 | { "25th","25." }, | 24 | { "25th","25." }, |
25 | { "26th","26." }, | 25 | { "26th","26." }, |
26 | { "27th","27." }, | 26 | { "27th","27." }, |
27 | { "28th","28." }, | 27 | { "28th","28." }, |
28 | { "29th","29." }, | 28 | { "29th","29." }, |
29 | { "2nd","2." }, | 29 | { "2nd","2." }, |
30 | { "30 minutes","30 Minuten" }, | 30 | { "30 minutes","30 Minuten" }, |
31 | { "30th","30." }, | 31 | { "30th","30." }, |
32 | { "31st","31." }, | 32 | { "31st","31." }, |
33 | { "3rd","3." }, | 33 | { "3rd","3." }, |
34 | { "4th","4." }, | 34 | { "4th","4." }, |
35 | { "5 (lowest)","5 (Niedrigster)" }, | 35 | { "5 (lowest)","5 (Niedrigster)" }, |
36 | { "5th","5." }, | 36 | { "5th","5." }, |
37 | { "6th","6." }, | 37 | { "6th","6." }, |
38 | { "7th","7." }, | 38 | { "7th","7." }, |
39 | { "8th","8." }, | 39 | { "8th","8." }, |
40 | { "9th","9." }, | 40 | { "9th","9." }, |
41 | { "About...","Über..." }, | 41 | { "About...","Über..." }, |
42 | { "&Accept","&Akzeptieren" }, | 42 | { "&Accept","&Akzeptieren" }, |
43 | { "Accept","Akzeptieren" }, | 43 | { "Accept","Akzeptieren" }, |
44 | { "Accept A&ll","A&lles Akzepieren" }, | 44 | { "Accept A&ll","A&lles Akzepieren" }, |
45 | { "Access:","Zugriff:" }, | 45 | { "Access:","Zugriff:" }, |
46 | { "A corresponding event is missing in your calendar!","Ein zugehöriger Termin fehlt in ihrem Kalender!" }, | 46 | { "A corresponding event is missing in your calendar!","Ein zugehöriger Termin fehlt in ihrem Kalender!" }, |
47 | { "Actions","Aktionen" }, | 47 | { "Actions","Aktionen" }, |
48 | { "Add Filter","Filter Hinzufügen" }, | 48 | { "Add Filter","Filter Hinzufügen" }, |
49 | { "&Add","Hinzufügen" }, | 49 | { "&Add","Hinzufügen" }, |
50 | { "Add","Hinzufügen" }, | 50 | { "Add","Hinzufügen" }, |
51 | { "Additional email addresses:","Zusätzliche E-Mail Adressen:" }, | 51 | { "Additional email addresses:","Zusätzliche E-Mail Adressen:" }, |
52 | { "Additional email address:","Zusätzliche E-Mail Adresse:" }, | 52 | { "Additional email address:","Zusätzliche E-Mail Adresse:" }, |
53 | { "&Addressbook","&Adressbuch" }, | 53 | { "&Addressbook","&Adressbuch" }, |
54 | { "Address &Book...","Adress&buch..." }, | 54 | { "Address &Book...","Adress&buch..." }, |
55 | { "Agenda Size","Agende Größe" }, | 55 | { "Agenda Size","Agende Größe" }, |
56 | { "Agenda Size:","Größe der Agenda:" }, | 56 | { "Agenda Size:","Größe der Agenda:" }, |
57 | { "Agenda view:","Agenda Ansicht:" }, | 57 | { "Agenda view:","Agenda Ansicht:" }, |
58 | { "Agenda view background color:","Hintergrund der Agenda Ansicht:" }, | 58 | { "Agenda view background color:","Hintergrund der Agenda Ansicht:" }, |
59 | { "All attendees","Alle Teilnehmer" }, | 59 | { "All attendees","Alle Teilnehmer" }, |
60 | { "AllDayAgenda Height:","Höhe Ganztages Agenda:" }, | 60 | { "AllDayAgenda Height:","Höhe Ganztages Agenda:" }, |
61 | { "All day event","Ganztägig" }, | 61 | { "All day event","Ganztägig" }, |
62 | { "Anonymous","Anonym" }, | 62 | { "Anonymous","Anonym" }, |
63 | { "Apply","Anwenden" }, | 63 | { "Apply","Anwenden" }, |
64 | { "Apr","Apr" }, | 64 | { "Apr","Apr" }, |
65 | { "April","April" }, | 65 | { "April","April" }, |
66 | {"Ask for every entry on conflict","Frage bei Konflikten nach"}, | 66 | {"Ask for every entry on conflict","Frage bei Konflikten nach"}, |
67 | { "Ask for preferences before syncing","Vor dem Syncronisieren nachfragen" }, | 67 | { "Ask for preferences before syncing","Vor dem Syncronisieren nachfragen" }, |
68 | { "Ask for quit when closing KO/Pi","Vor dem Beenden von KO/Pi nachfragen" }, | 68 | { "Ask for quit when closing KO/Pi","Vor dem Beenden von KO/Pi nachfragen" }, |
69 | { "Attendees","Teilnehmer" }, | 69 | { "Attendees","Teilnehmer" }, |
70 | { "Aug","Aug" }, | 70 | { "Aug","Aug" }, |
71 | { "August","August" }, | 71 | { "August","August" }, |
72 | { "Auto-Save","Automatisches Abspeichern" }, | 72 | { "Auto-Save","Automatisches Abspeichern" }, |
73 | { "Auto save delay in minutes:","Verzög.autom.Speichern in Min" }, | 73 | { "Auto save delay in minutes:","Verzög.autom.Speichern in Min" }, |
74 | { "Auto saving...","Automatische Sicherung..." }, | 74 | { "Auto saving...","Automatische Sicherung..." }, |
75 | { "Begin on:","Starte mit:" }, | 75 | { "Begin on:","Starte mit:" }, |
76 | { "Begins on: %1","Starte mit: %1" }, | 76 | { "Begins on: %1","Starte mit: %1" }, |
77 | { "<b>From:</b> %1 <b>To:</b> %2","<b>Vom:</b> %1 <b>Zum:</b> %2" }, | 77 | { "<b>From:</b> %1 <b>To:</b> %2","<b>Vom:</b> %1 <b>Zum:</b> %2" }, |
78 | { "<b>On:</b> %1","<b>Am:</b> %1" }, | 78 | { "<b>On:</b> %1","<b>Am:</b> %1" }, |
79 | { "<b>On:</b> %1 <b>From:S</b> %2 <b>To:</b> %3","<b>Am:</b> %1 <b>Vom:S</b> %2 <b>Zum:</b> %3" }, | 79 | { "<b>On:</b> %1 <b>From:S</b> %2 <b>To:</b> %3","<b>Am:</b> %1 <b>Vom:S</b> %2 <b>Zum:</b> %3" }, |
80 | { "<b>Original event:</b><p>","<b>Original Termin:</b><p>" }, | 80 | { "<b>Original event:</b><p>","<b>Original Termin:</b><p>" }, |
81 | { " - both are modified after last sync"," - beide wurden nach der letzten Syncronisation verändert" }, | 81 | { " - both are modified after last sync"," - beide wurden nach der letzten Syncronisation verändert" }, |
82 | { "Busy","Belegt" }, | 82 | { "Busy","Belegt" }, |
83 | { "&Cancel","Abbre&chen" }, | 83 | { "&Cancel","Abbre&chen" }, |
84 | { "Cancel","Abbrechen" }, | 84 | { "Cancel","Abbrechen" }, |
85 | { "Cannot delete To-Do\nwhich has children.","Kann Todo nicht löschen,\n da noch Einträge vorhanden sind" }, | 85 | { "Cannot delete To-Do\nwhich has children.","Kann Todo nicht löschen,\n da noch Einträge vorhanden sind" }, |
86 | { "Can't generate mail:\nNo event selected.","Kann e-Mail nicht erstellen:\nKein Termin ausgewählt." }, | 86 | { "Can't generate mail:\nNo event selected.","Kann e-Mail nicht erstellen:\nKein Termin ausgewählt." }, |
87 | { "Categories...","Kategorien..." }, | 87 | { "Categories...","Kategorien..." }, |
88 | { "Categories","Kategorien" }, | 88 | { "Categories","Kategorien" }, |
89 | { "Category","Kategorie" }, | 89 | { "Category","Kategorie" }, |
90 | { "Center View","Zentriere Ansicht" }, | 90 | { "Center View","Zentriere Ansicht" }, |
91 | { "Change","Ändere" }, | 91 | { "Change","Ändere" }, |
92 | { "Cinema","Kino" }, | 92 | { "Cinema","Kino" }, |
93 | { "Click to add a new Todo","Hier klicken, um ein neues Todo anzulegen" }, | 93 | { "Click to add a new Todo","Hier klicken, um ein neues Todo anzulegen" }, |
94 | { "Clone Item","Klone Eintrag" }, | 94 | { "Clone Item","Klone Eintrag" }, |
95 | { "&Close","S&chließen" }, | 95 | { "&Close","S&chließen" }, |
96 | { "Close","Schließen" }, | 96 | { "Close","Schließen" }, |
97 | { "Close this dialog to abort deletion!","Zum Abbrechen des Löschvorganges Dialog schließen!" }, | 97 | { "Close this dialog to abort deletion!","Zum Abbrechen des Löschvorganges Dialog schließen!" }, |
98 | { "Colors","Farben" }, | 98 | { "Colors","Farben" }, |
99 | { "completed","erledigt" }, | 99 | { "completed","erledigt" }, |
100 | { "completed on %1","erledigt am %1" }, | 100 | { "completed on %1","erledigt am %1" }, |
101 | { "Complete","Erledigt" }, | 101 | { "Complete","Erledigt" }, |
102 | { "Confidential","Vertraulich" }, | 102 | { "Confidential","Vertraulich" }, |
103 | { "Configure...","Einstellungen..." }, | 103 | { "Configure...","Einstellungen..." }, |
104 | { "Confirm &deletes","Löschvogang bestätigen" }, | 104 | { "Confirm &deletes","Löschvogang bestätigen" }, |
105 | { "Couldn't load calendar\n '%1'.","Kann Kalender\n '%1' nicht laden." }, | 105 | { "Couldn't load calendar\n '%1'.","Kann Kalender\n '%1' nicht laden." }, |
106 | { "Counter-event Viewer","Terminzähler Ansicht" }, | 106 | { "Counter-event Viewer","Terminzähler Ansicht" }, |
107 | { "Daily ending hour:","Feierabend:" }, | 107 | { "Daily ending hour:","Feierabend:" }, |
108 | { "Daily starting hour:","Anfangszeit:" }, | 108 | { "Daily starting hour:","Anfangszeit:" }, |
109 | { "Daily","Täglich" }, | 109 | { "Daily","Täglich" }, |
110 | { "Date Format","Datums Format" }, | 110 | { "Date Format","Datums Format" }, |
111 | { "Date Format:","Datums Format:" }, | 111 | { "Date Format:","Datums Format:" }, |
112 | { "DateNavigator:(nr)","Datums Navigator" }, | 112 | { "DateNavigator:(nr)","Datums Navigator" }, |
113 | { "Dates: ","Datum: " }, | 113 | { "Dates: ","Datum: " }, |
114 | { "Date && Time","Datum && Zeit" }, | 114 | { "Date && Time","Datum && Zeit" }, |
115 | { "Day begins at:","Der Tag beginnt um:" }, | 115 | { "Day begins at:","Der Tag beginnt um:" }, |
116 | { "Days in Next-X-Days:","Tage in Nächste-X-Tage:" }, | 116 | { "Days in Next-X-Days:","Tage in Nächste-X-Tage:" }, |
117 | { "Days in What's Next:","Tage in What's Next:" }, | 117 | { "Days in What's Next:","Tage in What's Next:" }, |
118 | { "day(s)","Tag(e)" }, | 118 | { "day(s)","Tag(e)" }, |
119 | { "Days to show in Next-X-Days view:","Welche Tage in Nächste-X-Tagen anzeigen:" }, | 119 | { "Days to show in Next-X-Days view:","Welche Tage in Nächste-X-Tagen anzeigen:" }, |
120 | { "day","Tag" }, | 120 | { "day","Tag" }, |
121 | { "Dec","Dez" }, | 121 | { "Dec","Dez" }, |
122 | { "December","Dezember" }, | 122 | { "December","Dezember" }, |
123 | { "Default alarm time:","Standard Alarmzeit:" }, | 123 | { "Default alarm time:","Standard Alarmzeit:" }, |
124 | { "Default appointment time:","Standard Termin Startzeit:" }, | 124 | { "Default appointment time:","Standard Termin Startzeit:" }, |
125 | { "Default event color:","Standard Terminfarbe:" }, | 125 | { "Default event color:","Standard Terminfarbe:" }, |
126 | { "Default","Standard" }, | 126 | { "Default","Standard" }, |
127 | { "Def. duration of new app.:","Standard Termin Länge:" }, | 127 | { "Def. duration of new app.:","Standard Termin Länge:" }, |
128 | { "Delete All","Lösche alles" }, | 128 | { "Delete All","Lösche alles" }, |
129 | { "Delete all selected","Lösche alle Selektierten" }, | 129 | { "Delete all selected","Lösche alle Selektierten" }, |
130 | { "Delete Current","Aktuellen löschen" }, | 130 | { "Delete Current","Aktuellen löschen" }, |
131 | { "Delete Event...","Lösche Termin..." }, | 131 | { "Delete Event...","Lösche Termin..." }, |
132 | { "Delete Event","Lösche Termin" }, | 132 | { "Delete Event","Lösche Termin" }, |
133 | { "&Delete","Löschen" }, | 133 | { "&Delete","Löschen" }, |
134 | { "Delete...","Löschen..." }, | 134 | { "Delete...","Löschen..." }, |
135 | { "Delete","Löschen" }, | 135 | { "Delete","Löschen" }, |
136 | { "Delete Todo...","Lösche Todo..." }, | 136 | { "Delete Todo...","Lösche Todo..." }, |
137 | { "Delete To-Do","Lösche Todo" }, | 137 | { "Delete To-Do","Lösche Todo" }, |
138 | { "Deleting item %d ...","Lösche Eintrag %d..." }, | 138 | { "Deleting item %d ...","Lösche Eintrag %d..." }, |
139 | { "Descriptions","Beschreibungen" }, | 139 | { "Descriptions","Beschreibungen" }, |
140 | { "Deselect all","Deselektiere Alle" }, | 140 | { "Deselect all","Deselektiere Alle" }, |
141 | { "Details","Details" }, | 141 | { "Details","Details" }, |
142 | { "Dinner","Abendessen" }, | 142 | { "Dinner","Abendessen" }, |
143 | { "Do you really want\nto close KO/Pi?","Möchten Sie wirklich\nKO/PI verlassen?" }, | 143 | { "Do you really want\nto close KO/Pi?","Möchten Sie wirklich\nKO/PI verlassen?" }, |
144 | { "Due Date","Fällig am" }, | 144 | { "Due Date","Fällig am" }, |
145 | { "Due: ","Fällig: "}, | 145 | { "Due: ","Fällig: "}, |
146 | { "Due Time","Fällig um" }, | 146 | { "Due Time","Fällig um" }, |
147 | { "Due:","Fällig:"}, | 147 | { "Due:","Fällig:"}, |
148 | { "Duration: ","Dauer: " }, | 148 | { "Duration: ","Dauer: " }, |
149 | { "Edit...","Bearbeite..." }, | 149 | { "Edit...","Bearbeite..." }, |
150 | { "Edit","Bearbeite" }, | 150 | { "Edit","Bearbeite" }, |
151 | { "Edit Event...","Bearbeite Termin..." }, | 151 | { "Edit Event...","Bearbeite Termin..." }, |
152 | { "Edit Event","Bearbeite Termin" }, | 152 | { "Edit Event","Bearbeite Termin" }, |
153 | { "Edit exceptions","Bearbeite Ausnahmen" }, | 153 | { "Edit exceptions","Bearbeite Ausnahmen" }, |
154 | { "EditorBox:","Editor Fenster:" }, | 154 | { "EditorBox:","Editor Fenster:" }, |
155 | { "Edit Recurrence Range","Bearbeite Wiederholung" }, | 155 | { "Edit Recurrence Range","Bearbeite Wiederholung" }, |
156 | { "Edit Todo...","Berabeite Todo..." }, | 156 | { "Edit Todo...","Berabeite Todo..." }, |
157 | { "Edit To-Do","Todo bearbeiten" }, | 157 | { "Edit To-Do","Todo bearbeiten" }, |
158 | { "E&mail address:","E&mail Adresse:" }, | 158 | { "E&mail address:","E&mail Adresse:" }, |
159 | { "(EmptyEmail)","(KeineEmail)" }, | 159 | { "(EmptyEmail)","(KeineEmail)" }, |
160 | { "(EmptyName)","(KeinName)" }, | 160 | { "(EmptyName)","(KeinName)" }, |
161 | { "Enable Recurrence","Wiederholung anschalten" }, | 161 | { "Enable Recurrence","Wiederholung anschalten" }, |
162 | { "End after","Endet nach"}, | 162 | { "End after","Endet nach"}, |
163 | { "End by:","Endet am"}, | 163 | { "End by:","Endet am"}, |
164 | { "End Date","End Datum" }, | 164 | { "End Date","End Datum" }, |
165 | { "End:","Ende:" }, | 165 | { "End:","Ende:" }, |
166 | { "End Time","End Zeit" }, | 166 | { "End Time","End Zeit" }, |
167 | { "English","Englisch" }, | 167 | { "English","Englisch" }, |
168 | { "Event","Termin" }, | 168 | { "Event","Termin" }, |
169 | { "Event list","Termin Liste" }, | 169 | { "Event list","Termin Liste" }, |
170 | { "Events","Termine" }, | 170 | { "Events","Termine" }, |
171 | { "Event Viewer:","Termin Übersicht:" }, | 171 | { "Event Viewer:","Termin Übersicht:" }, |
172 | { "every","jede" }, | 172 | { "every","jede" }, |
173 | { "Exceptions...","Ausnahmen..." }, | 173 | { "Exceptions...","Ausnahmen..." }, |
174 | { "Exceptions","Ausnahmen" }, | 174 | { "Exceptions","Ausnahmen" }, |
175 | { "Exclude holidays","Ohne freie Tage" }, | 175 | { "Exclude holidays","Ohne freie Tage" }, |
176 | { "Exclude Saturdays","Ohne Samstage" }, | 176 | { "Exclude Saturdays","Ohne Samstage" }, |
177 | { "Feb","Feb" }, | 177 | { "Feb","Feb" }, |
178 | { "February","Februar" }, | 178 | { "February","Februar" }, |
179 | { "&Find","Suche!" }, | 179 | { "&Find","Suche!" }, |
180 | { "Fonts","Schriftart" }, | 180 | { "Fonts","Schriftart" }, |
181 | { "Force take local entry always","Erzwinge:Nimm immer lokalen Eintrag" }, | 181 | { "Force take local entry always","Erzwinge:Nimm immer lokalen Eintrag" }, |
182 | { "Force take remote entry always","Erzwinge:Nimm immer fernen Eintrag"}, | 182 | { "Force take remote entry always","Erzwinge:Nimm immer fernen Eintrag"}, |
183 | { "Free","Frei" }, | 183 | { "Free","Frei" }, |
184 | { "Friday","Freitag" }, | 184 | { "Friday","Freitag" }, |
185 | { "Fri","Fr" }, | 185 | { "Fri","Fr" }, |
186 | { "From:","Vom:" }, | 186 | { "From:","Vom:" }, |
187 | { "Full &name:","Vor- und &Nachname:" }, | 187 | { "Full &name:","Vor- und &Nachname:" }, |
188 | { "General","Allgemein" }, | 188 | { "General","Allgemein" }, |
189 | { "German","Deutsch" }, | 189 | { "German","Deutsch" }, |
190 | { "Gifts","Geschenke" }, | 190 | { "Gifts","Geschenke" }, |
191 | { "Go to Today","Heute anzeigen" }, | 191 | { "Go to Today","Heute anzeigen" }, |
192 | { "Help","Hilfe" }, | 192 | { "Help","Hilfe" }, |
193 | { "Hide Dates","Daten ausblenden" }, | 193 | { "Hide Dates","Daten ausblenden" }, |
194 | { "Highlight color:","Markierungen:" }, | 194 | { "Highlight color:","Markierungen:" }, |
195 | { "Holiday color:","Freie Tage:" }, | 195 | { "Holiday color:","Freie Tage:" }, |
196 | { "hour(s)","Stunde(n)" }, | 196 | { "hour(s)","Stunde(n)" }, |
197 | { "In %1 days: ","In %1 Tagen: " }, | 197 | { "In %1 days: ","In %1 Tagen: " }, |
198 | { "Incomplete Todo:","Unerledigte Aufgaben:" }, | 198 | { "Incomplete Todo:","Unerledigte Aufgaben:" }, |
199 | { "Information","Information" }, | 199 | { "Information","Information" }, |
200 | { "Invalid search expression,\ncannot perform ","Kann Suche nicht ausführen" }, | 200 | { "Invalid search expression,\ncannot perform ","Kann Suche nicht ausführen" }, |
201 | { "Jan","Jan" }, | 201 | { "Jan","Jan" }, |
202 | { "January","Januar" }, | 202 | { "January","Januar" }, |
203 | { "JournalView:","Journal Ansicht:" }, | 203 | { "JournalView:","Journal Ansicht:" }, |
204 | { "Journals","Journale" }, | 204 | { "Journals","Journale" }, |
205 | { "Jul","Jul" }, | 205 | { "Jul","Jul" }, |
206 | { "July","Juli" }, | 206 | { "July","Juli" }, |
207 | { "Jump to date","Springe zum Datum" }, | 207 | { "Jump to date","Springe zum Datum" }, |
208 | { "June","Juni" }, | 208 | { "June","Juni" }, |
209 | { "Jun","Jun" }, | 209 | { "Jun","Jun" }, |
210 | { "Key Bindings...","Tastenzuordnung..." }, | 210 | { "Key Bindings...","Tastenzuordnung..." }, |
211 | { "Kids","Kinder" }, | 211 | { "Kids","Kinder" }, |
212 | { "Known Problems...","Bekannte Probleme..." }, | 212 | { "Known Problems...","Bekannte Probleme..." }, |
213 | { "KO/Pi Find ","KO/Pi Suchdialog " }, | 213 | { "KO/Pi Find ","KO/Pi Suchdialog " }, |
214 | { "KO/Pi Find: ","KO/Pi Suchen: " }, | 214 | { "KO/Pi Find: ","KO/Pi Suchen: " }, |
215 | { "KO/Pi is starting ... "," KO/Pi startet ... \n... Zeit für eine Kaffeepause ..." }, | 215 | { "KO/Pi is starting ... "," KO/Pi startet ... \n... Zeit für eine Kaffeepause ..." }, |
216 | { "Language:(needs restart)","Sprache (Neustart!)" }, | 216 | { "Language:(needs restart)","Sprache (Neustart!)" }, |
217 | { "Language:","Sprache" }, | 217 | { "Language:","Sprache" }, |
218 | { "Large","Etwas mehr" }, | 218 | { "Large","Etwas mehr" }, |
219 | { "List View:","Listenansicht:" }, | 219 | { "List View:","Listenansicht:" }, |
220 | { "List View","Listenansicht" }, | 220 | { "List View","Listenansicht" }, |
221 | { "Load/Save","Laden/Speichern" }, | 221 | { "Load/Save","Laden/Speichern" }, |
222 | { "Load Template","Lade Vorlage" }, | 222 | { "Load Template","Lade Vorlage" }, |
223 | { "Locale","Localisation" }, | 223 | { "Locale","Localisation" }, |
224 | { "Local temp file:","Lokale temp. Datei:" }, | 224 | { "Local temp file:","Lokale temp. Datei:" }, |
225 | { "Location: ","Ort: " }, | 225 | { "Location: ","Ort: " }, |
226 | { "Location:","Ort:" }, | 226 | { "Location:","Ort:" }, |
227 | { "Mail client","Mail Programm" }, | 227 | { "Mail client","Mail Programm" }, |
228 | { "Mail Client","Mail Programm" }, | 228 | { "Mail Client","Mail Programm" }, |
229 | { "March","März" }, | 229 | { "March","März" }, |
230 | { "Mar","Mär" }, | 230 | { "Mar","Mär" }, |
231 | { "May","Mai" }, | 231 | { "May","Mai" }, |
232 | { "M. Bains line:","M. Bains Linie:" }, | 232 | { "M. Bains line:","M. Bains Linie:" }, |
233 | { "Medium","Medium" }, | 233 | { "Medium","Medium" }, |
234 | { "Method","Methode" }, | 234 | { "Method","Methode" }, |
235 | { "minute(s)","Minute(n)" }, | 235 | { "minute(s)","Minute(n)" }, |
236 | { "Monday","Montag" }, | 236 | { "Monday","Montag" }, |
237 | { "Mon","Mo" }, | 237 | { "Mon","Mo" }, |
238 | { "Monthly","Monatlich" }, | 238 | { "Monthly","Monatlich" }, |
239 | { "Month not long enough","Monat ist nicht lang genug" }, | 239 | { "Month not long enough","Monat ist nicht lang genug" }, |
240 | { "month(s)","Monat(e)" }, | 240 | { "month(s)","Monat(e)" }, |
241 | { "Month view:","Monatsansicht:" }, | 241 | { "Month view:","Monatsansicht:" }, |
242 | { "Month view uses category colors","Monatsansicht zeigt Kategorie Farben" }, | 242 | { "Month view uses category colors","Monatsansicht zeigt Kategorie Farben" }, |
243 | { "Todo view uses category colors","To-Do Ansicht zeigt Kategorie Farben" }, | 243 | { "Todo view uses category colors","To-Do Ansicht zeigt Kategorie Farben" }, |
244 | { "Move &Down","Nach unten verschieben" }, | 244 | { "Move &Down","Nach unten verschieben" }, |
245 | { "Move &Up","Nach oben verschieben" }, | 245 | { "Move &Up","Nach oben verschieben" }, |
246 | { "Name:","Name:" }, | 246 | { "Name:","Name:" }, |
247 | { "Name","Name" }, | 247 | { "Name","Name" }, |
248 | { "\nAre you sure you want\nto delete this event?","\nSind Sie sicher, dass Sie\nden Termin löschen möchten?" }, | 248 | { "\nAre you sure you want\nto delete this event?","\nSind Sie sicher, dass Sie\nden Termin löschen möchten?" }, |
249 | { "%n Days","%n Tage" }, | 249 | { "%n Days","%n Tage" }, |
250 | { "Never","Nie" }, | 250 | { "Never","Nie" }, |
251 | { "New event...","Neuer Termin..." }, | 251 | { "New event...","Neuer Termin..." }, |
252 | { "New event","Neuer Termin" }, | 252 | { "New event","Neuer Termin" }, |
253 | { "New Event...","Neuer Termin..." }, | 253 | { "New Event...","Neuer Termin..." }, |
254 | { "New Events/Todos should","Neue Termine/Todos sollten" }, | 254 | { "New Events/Todos should","Neue Termine/Todos sollten" }, |
255 | { "&New","&Neu" }, | 255 | { "&New","&Neu" }, |
256 | { "New","Neu", }, | 256 | { "New","Neu", }, |
257 | { "New Sub-Todo...","Neues Sub-Todo..." }, | 257 | { "New Sub-Todo...","Neues Sub-Todo..." }, |
258 | { "New Todo...","Neues Todo..." }, | 258 | { "New Todo...","Neues Todo..." }, |
259 | { "Next Alarm: ","Nächster Alarm: ", }, | 259 | { "Next Alarm: ","Nächster Alarm: ", }, |
260 | { "&Next Day","&Nächster Tag", }, | 260 | { "&Next Day","&Nächster Tag", }, |
261 | { "Next days view uses full window","Nächste-X-Tage nutzt Vollbild" }, | 261 | { "Next days view uses full window","Nächste-X-Tage nutzt Vollbild" }, |
262 | { "Next month","Nächster Monat" }, | 262 | { "Next month","Nächster Monat" }, |
263 | { "&Next Week","&Nächste Woche" }, | 263 | { "&Next Week","&Nächste Woche" }, |
264 | { "Next year","Nächstes Jahr" }, | 264 | { "Next year","Nächstes Jahr" }, |
265 | { "Next Year","Nächstes Jahr" }, | 265 | { "Next Year","Nächstes Jahr" }, |
266 | { "%n h","%n Std" }, | 266 | { "%n h","%n Std" }, |
267 | { "No ending date","Kein End-Datum", }, | 267 | { "No ending date","Kein End-Datum", }, |
268 | { "No event, nothing to do.","Kein Termin, nichts zu tun.", }, | 268 | { "No event, nothing to do.","Kein Termin, nichts zu tun.", }, |
269 | { "No event selected.","Kein Termin selektiert" }, | 269 | { "No event selected.","Kein Termin selektiert" }, |
270 | { "No","Nein" }, | 270 | { "No","Nein" }, |
271 | { "No program set","Kein Programm ausgewählt", }, | 271 | { "No program set","Kein Programm ausgewählt", }, |
272 | { "Normal","Normal" }, | 272 | { "Normal","Normal" }, |
273 | { "[No selection]","Keine Selektion", }, | 273 | { "[No selection]","Keine Selektion", }, |
274 | { "No sound set","Kein Sound ausgewählt", }, | 274 | { "No sound set","Kein Sound ausgewählt", }, |
275 | { "no time ","keine Zeit ", }, | 275 | { "no time ","keine Zeit ", }, |
276 | { "no time","keine Zeit", }, | 276 | { "no time","keine Zeit", }, |
277 | { "No Time","Keine Zeit" }, | 277 | { "No Time","Keine Zeit" }, |
278 | { "November","November" }, | 278 | { "November","November" }, |
279 | { "Nov","Nov", }, | 279 | { "Nov","Nov", }, |
280 | { "\nThis event recurs\nover multiple dates.\n","\nDieser Termin wiederholt sich an mehreren Tagen.\n" }, | 280 | { "\nThis event recurs\nover multiple dates.\n","\nDieser Termin wiederholt sich an mehreren Tagen.\n" }, |
281 | { "occurrence(s)","Vorkommen" }, | 281 | { "occurrence(s)","Vorkommen" }, |
282 | { "October","Oktober" }, | 282 | { "October","Oktober" }, |
283 | { "Oct","Okt", }, | 283 | { "Oct","Okt", }, |
284 | { "O-due!","Ü-fällig! " }, | 284 | { "O-due!","Ü-fällig! " }, |
285 | { "&OK","&OK" }, | 285 | { "&OK","&OK" }, |
286 | { "Ok+Show!","Ok+Anzeigen" }, | 286 | { "Ok+Show!","Ok+Anzeigen" }, |
287 | { "Organizer: %1","Organisator %1" }, | 287 | { "Organizer: %1","Organisator %1" }, |
288 | { "Organizer","Organisator" }, | 288 | { "Organizer","Organisator" }, |
289 | { "Owner: ","Besitzer: " }, | 289 | { "Owner: ","Besitzer: " }, |
290 | { "Owner:","Besitzer:" }, | 290 | { "Owner:","Besitzer:" }, |
291 | { "<p><b>Priority:</b> %2</p>","<p><b>Priorität:</b> %2</p>" }, | 291 | { "<p><b>Priority:</b> %2</p>","<p><b>Priorität:</b> %2</p>" }, |
292 | { "Pick a date to display","Wähle einen Tag zum anzeigen aus" }, | 292 | { "Pick a date to display","Wähle einen Tag zum anzeigen aus" }, |
293 | { "Please specify a valid due date.","Bitte gültiges Fälligkeitsdatum angeben."}, | 293 | { "Please specify a valid due date.","Bitte gültiges Fälligkeitsdatum angeben."}, |
294 | { "Please specify a valid end date,\nfor example '%1'.","Bitte gültiges Enddatum angeben,\nz.B.'%1'." }, | 294 | { "Please specify a valid end date,\nfor example '%1'.","Bitte gültiges Enddatum angeben,\nz.B.'%1'." }, |
295 | { "Please specify a valid start date.","Bitte gültiges Startdatum angeben." }, | 295 | { "Please specify a valid start date.","Bitte gültiges Startdatum angeben." }, |
296 | { "Please specify a valid start date,\nfor example '%1'.","Bitte gültiges Startdatum angeben,\nz.B. '%1'." }, | 296 | { "Please specify a valid start date,\nfor example '%1'.","Bitte gültiges Startdatum angeben,\nz.B. '%1'." }, |
297 | { "Please specify a valid start time.","Bitte gültige Startzeit angeben."}, | 297 | { "Please specify a valid start time.","Bitte gültige Startzeit angeben."}, |
298 | { "Please specify a valid start time,\nfor example '%1'.","Bitte gültige Startzeit angeben,\nz.B. '%1'." }, | 298 | { "Please specify a valid start time,\nfor example '%1'.","Bitte gültige Startzeit angeben,\nz.B. '%1'." }, |
299 | { "Preferences - some settings need a restart (nr)","Einstellungen - teilweise Neustart erforderlich (bn)" }, | 299 | { "Preferences - some settings need a restart (nr)","Einstellungen - teilweise Neustart erforderlich (bn)" }, |
300 | { "&Previous Day","Vorheriger Tag" }, | 300 | { "&Previous Day","Vorheriger Tag" }, |
301 | { "Previous month","Vorheriger Monat" }, | 301 | { "Previous month","Vorheriger Monat" }, |
302 | { "Previous Month","Vorheriger Monat" }, | 302 | { "Previous Month","Vorheriger Monat" }, |
303 | { "&Previous Week","Vorherige Woche" }, | 303 | { "&Previous Week","Vorherige Woche" }, |
304 | { "Previous year","Vorheriges Jahr" }, | 304 | { "Previous year","Vorheriges Jahr" }, |
305 | { "Previous Year","Vorheriges Jahr" }, | 305 | { "Previous Year","Vorheriges Jahr" }, |
306 | { "Printing","Drucken" }, | 306 | { "Printing","Drucken" }, |
307 | { "Priority:","Priorität:" }, | 307 | { "Priority:","Priorität:" }, |
308 | { "Private","Privat" }, | 308 | { "Private","Privat" }, |
309 | { "Proceed","Weiter" }, | 309 | { "Proceed","Weiter" }, |
310 | { "Public","Öffentlich" }, | 310 | { "Public","Öffentlich" }, |
311 | { "Purge","Entferne" }, | 311 | { "Purge","Entferne" }, |
312 | { "Purge Completed","Entferne erledigte Todos" }, | 312 | { "Purge Completed","Entferne erledigte Todos" }, |
313 | { "Purge Todos","Todos bereinigen" }, | 313 | { "Purge Todos","Todos bereinigen" }, |
314 | { "read-only","schreibgeschützt" }, | 314 | { "read-only","schreibgeschützt" }, |
315 | { "Recur every","Wiederh. alle" }, | 315 | { "Recur every","Wiederh. alle" }, |
316 | { "Recur in the month of","Wiederh. im Monat" }, | 316 | { "Recur in the month of","Wiederh. im Monat" }, |
317 | { "Recur on the","Wiederh. am" }, | 317 | { "Recur on the","Wiederh. am" }, |
318 | { "Recur on this day","Wiederh. am diesen Tag" }, | 318 | { "Recur on this day","Wiederh. am diesen Tag" }, |
319 | { "Recurrence Range...","Wiederholungs Zeitraum..." }, | 319 | { "Recurrence Range...","Wiederholungs Zeitraum..." }, |
320 | { "Recurrence Range","Wiederholungs Zeitraum" }, | 320 | { "Recurrence Range","Wiederholungs Zeitraum" }, |
321 | { "Recurrence Rule","Wiederholungs Regel" }, | 321 | { "Recurrence Rule","Wiederholungs Regel" }, |
322 | { "Recurrence","Wiederholung" }, | 322 | { "Recurrence","Wiederholung" }, |
323 | { "Recurs","Wiederholung" }, | 323 | { "Recurs","Wiederholung" }, |
324 | {"&Reject","Abweisen"}, | 324 | {"&Reject","Abweisen"}, |
325 | { "Reminder:","Alarm:" }, | 325 | { "Reminder:","Alarm:" }, |
326 | { "Rem.:","Alarm:" }, | 326 | { "Rem.:","Alarm:" }, |
327 | { "Rem.","Alarm:" }, | 327 | { "Rem.","Alarm:" }, |
328 | { "Remote file:","Remote Datei:"}, | 328 | { "Remote file:","Remote Datei:"}, |
329 | { "Remote IP:","Remote (ferne) IP:" }, | 329 | { "Remote IP:","Remote (ferne) IP:" }, |
330 | { "Remote syncing (via ssh/scp) network settings ","Remote Sync (via ssh/scp) Netzwerk Einstellungen " }, | 330 | { "Remote syncing (via ssh/scp) network settings ","Remote Sync (via ssh/scp) Netzwerk Einstellungen " }, |
331 | { "Remote user:","Remote Benutzer"}, | 331 | { "Remote user:","Remote Benutzer"}, |
332 | { "&Remove","Entfe&rnen" }, | 332 | { "&Remove","Entfe&rnen" }, |
333 | { "Remove","Entfernen" }, | 333 | { "Remove","Entfernen" }, |
334 | { "Request response","Bemerkung anfordern" }, | 334 | { "Request response","Bemerkung anfordern" }, |
335 | { "Role:","Rolle:" }, | 335 | { "Role:","Rolle:" }, |
336 | { "Role","Rolle" }, | 336 | { "Role","Rolle" }, |
337 | { "Sat","Sa" }, | 337 | { "Sat","Sa" }, |
338 | { "Saturday","Samstag" }, | 338 | { "Saturday","Samstag" }, |
339 | { "Search for:","Suche nach:" }, | 339 | { "Search for:","Suche nach:" }, |
340 | { "Search In","Suche in" }, | 340 | { "Search In","Suche in" }, |
341 | { "Search...","Suche..." }, | 341 | { "Search...","Suche..." }, |
342 | { "Search","Suche" }, | 342 | { "Search","Suche" }, |
343 | { "Select Addresses","Wähle Adressen" }, | 343 | { "Select Addresses","Wähle Adressen" }, |
344 | { "Select all","Selektiere Alle" }, | 344 | { "Select all","Selektiere Alle" }, |
345 | { "Select a month","Wähle Monat" }, | 345 | { "Select a month","Wähle Monat" }, |
346 | { "Select a week","Wähle Woche" }, | 346 | { "Select a week","Wähle Woche" }, |
347 | { "Select a year","Wähle Jahr" }, | 347 | { "Select a year","Wähle Jahr" }, |
348 | { "Send directly","Sende direkt" }, | 348 | { "Send directly","Sende direkt" }, |
349 | { "&Send Messages","&Sende Nachrichten", }, | 349 | { "&Send Messages","&Sende Nachrichten", }, |
350 | { "Sep","Sep" }, | 350 | { "Sep","Sep" }, |
351 | { "September","September" }, | 351 | { "September","September" }, |
352 | { "Shopping","Einkaufen" }, | 352 | { "Shopping","Einkaufen" }, |
353 | { "Show Dates","Zeige Daten" }, | 353 | { "Show Dates","Zeige Daten" }, |
354 | { "Show events that recur daily in date nav.","Zeige tägl.wiederh.Term.in Datums Nav." }, | 354 | { "Show events that recur daily in date nav.","Zeige tägl.wiederh.Term.in Datums Nav." }, |
355 | { "Show Event...","Zeige Termin..." }, | 355 | { "Show Event...","Zeige Termin..." }, |
356 | { "Show ev. that recur weekly in date nav.","Zeige wöch.wiederh.Term.in Datums Nav." }, | 356 | { "Show ev. that recur weekly in date nav.","Zeige wöch.wiederh.Term.in Datums Nav." }, |
357 | { "Show Marcus Bains line","Zeige Marcus Bains Linie" }, | 357 | { "Show Marcus Bains line","Zeige Marcus Bains Linie" }, |
358 | { "Show summary after syncing","Zeige Zusammenfassung nach Sync." }, | 358 | { "Show summary after syncing","Zeige Zusammenfassung nach Sync." }, |
359 | { "Show time as:","Zeige Zeit als" }, | 359 | { "Show time as:","Zeige Zeit als" }, |
360 | { "Show Todo...","Zeige To-Do" }, | 360 | { "Show Todo...","Zeige To-Do" }, |
361 | { "Show vertical screen (Needs restart)","Vertikaler Bildschirm-Layout (Neustart!)" }, | 361 | { "Show vertical screen (Needs restart)","Vertikaler Bildschirm-Layout (Neustart!)" }, |
362 | { "&Show","Zeige" }, | 362 | { "&Show","Zeige" }, |
363 | { "Show...","Zeige..." }, | 363 | { "Show...","Zeige..." }, |
364 | { "Show","Zeige" }, | 364 | { "Show","Zeige" }, |
365 | { "Small","Klein" }, | 365 | { "Small","Klein" }, |
366 | { "Sorry","Entschuldigung" }, | 366 | { "Sorry","Entschuldigung" }, |
367 | {"Sorry, the copy command failed!\nCommand was:\n","Der Kopierbefehl schlug fehl!\nBefehl war:\n"}, | 367 | {"Sorry, the copy command failed!\nCommand was:\n","Der Kopierbefehl schlug fehl!\nBefehl war:\n"}, |
368 | { "Start:","Start:" }, | 368 | { "Start:","Start:" }, |
369 | { "Start Date","Start Datum" }, | 369 | { "Start Date","Start Datum" }, |
370 | { "Start date: %1","Start Datum: %1" }, | 370 | { "Start date: %1","Start Datum: %1" }, |
371 | { "Start Time","Start Zeit" }, | 371 | { "Start Time","Start Zeit" }, |
372 | { "Status:","Status:" }, | 372 | { "Status:","Status:" }, |
373 | { "Status","Status:" }, | 373 | { "Status","Status:" }, |
374 | { "Summaries","Titel" }, | 374 | { "Summaries","Titel" }, |
375 | { "Summary:","Titel:" }, | 375 | { "Summary:","Titel:" }, |
376 | { "Summary","Titel" }, | 376 | { "Summary","Titel" }, |
377 | { "Sunday","Sonntag" }, | 377 | { "Sunday","Sonntag" }, |
378 | { "Sun","So" }, | 378 | { "Sun","So" }, |
379 | { "Sync preferences:","Sync Einstellungen" }, | 379 | { "Sync preferences:","Sync Einstellungen" }, |
380 | { "Sync Prefs","Sync Einstellungen" }, | 380 | { "Sync Prefs","Sync Einstellungen" }, |
381 | { "Syncronize","Daten abgleich" }, | 381 | { "Syncronize","Daten abgleich" }, |
382 | { "Take local entry on conflict","Nimm lokalen Eintrag beim Konflikt" }, | 382 | { "Take local entry on conflict","Nimm lokalen Eintrag beim Konflikt" }, |
383 | { "Take newest entry on conflict","Nimm neuesten Eintrag beim Konflikt" }, | 383 | { "Take newest entry on conflict","Nimm neuesten Eintrag beim Konflikt" }, |
384 | { "Take remote entry on conflict","Nimm fernen Eintrag beim Konflikt" }, | 384 | { "Take remote entry on conflict","Nimm fernen Eintrag beim Konflikt" }, |
385 | { "Template '%1' does not contain a valid Todo.","Template '%1' enthält kein gültiges To-Do" }, | 385 | { "Template '%1' does not contain a valid Todo.","Template '%1' enthält kein gültiges To-Do" }, |
386 | { "Template does not contain a valid Event.","Template '%1' enthält keinen gültigen Termin" }, | 386 | { "Template does not contain a valid Event.","Template '%1' enthält keinen gültigen Termin" }, |
387 | { "Template...","Vorlage..." }, | 387 | { "Template...","Vorlage..." }, |
388 | { "This day","Dieser Tag" }, | 388 | { "This day","Dieser Tag" }, |
389 | { "This is an experimental feature. ","Dieses Feature ist experimentel" }, | 389 | { "This is an experimental feature. ","Dieses Feature ist experimentel" }, |
390 | { "This item will be\npermanently deleted.","Dieser Eintrag wird\nkomplett gelöscht." }, | 390 | { "This item will be\npermanently deleted.","Dieser Eintrag wird\nkomplett gelöscht." }, |
391 | { "This item will be permanently deleted.", "Dieser Eintrag wird komplett gelöscht." }, | 391 | { "This item will be permanently deleted.", "Dieser Eintrag wird komplett gelöscht." }, |
392 | { "Thu","Do" }, | 392 | { "Thu","Do" }, |
393 | { "Thursday","Donnerstag" }, | 393 | { "Thursday","Donnerstag" }, |
394 | { "Time associated","Mit Zeit" }, | 394 | { "Time associated","Mit Zeit" }, |
395 | { "Time bar:","Uhrzeit Zeile:" }, | 395 | { "Time bar:","Uhrzeit Zeile:" }, |
396 | { "Time && Date","Zeit und Datum" }, | 396 | { "Time && Date","Zeit und Datum" }, |
397 | { "Time Format","Zeit Format" }, | 397 | { "Time Format","Zeit Format" }, |
398 | { "Time Format(nr):","Zeit Format(Neustart!)" }, | 398 | { "Time Format(nr):","Zeit Format(Neustart!)" }, |
399 | { "Date Labels:","Datumsleiste:" }, | 399 | { "Date Labels:","Datumsleiste:" }, |
400 | { "Time: ","Zeit: " }, | 400 | { "Time: ","Zeit: " }, |
401 | { "Timezone:","Zeitzone:" }, | 401 | { "Timezone:","Zeitzone:" }, |
402 | { "To: ","Bis: " }, | 402 | { "To: ","Bis: " }, |
403 | { "To:","Bis:" }, | 403 | { "To:","Bis:" }, |
404 | { "Today: ","Heute: " }, | 404 | { "Today: ","Heute: " }, |
405 | { "Todo due today color:","Heute fällige To-Do's" }, | 405 | { "Todo due today color:","Heute fällige To-Do's" }, |
406 | { "To-do items:","To-Do items:" }, | 406 | { "To-do items:","To-Do items:" }, |
407 | { "Todo overdue color:","Überfällige To-Do's" }, | 407 | { "Todo overdue color:","Überfällige To-Do's" }, |
408 | { "Todo","Todo" }, | 408 | { "Todo","Todo" }, |
409 | { "To-do view shows completed Todos","To-do Ansicht zeigt erledigte To-dos" }, | 409 | { "To-do view shows completed Todos","To-do Ansicht zeigt erledigte To-dos" }, |
410 | { "ToDoView:","Todo Ansicht:" }, | 410 | { "ToDoView:","Todo Ansicht:" }, |
411 | { "Toggle Alarm","Wechsle Alarm" }, | 411 | { "Toggle Alarm","Wechsle Alarm" }, |
412 | { "Toggle Allday","Umschalten Ganztag" }, | 412 | { "Toggle Allday","Umschalten Ganztag" }, |
413 | { "Tomorrow: ","Morgen: " }, | 413 | { "Tomorrow: ","Morgen: " }, |
414 | { "Tue","Di" }, | 414 | { "Tue","Di" }, |
415 | { "Tuesday","Dienstag" }, | 415 | { "Tuesday","Dienstag" }, |
416 | { "Two entries are in conflict, if: ","Zwei Einträge haben einen Konflikt, wenn:" }, | 416 | { "Two entries are in conflict, if: ","Zwei Einträge haben einen Konflikt, wenn:" }, |
417 | { "Unable to find template '%1'.","Kann Vorlage '%1' nicht finden." }, | 417 | { "Unable to find template '%1'.","Kann Vorlage '%1' nicht finden." }, |
418 | { "Unknown","Unbekannt" }, | 418 | { "Unknown","Unbekannt" }, |
419 | { "Up","Hinauf" }, | 419 | { "Up","Hinauf" }, |
420 | { "Use password (if not, ask when syncing)","Passwort: (sonst jedesmal anfragen)" }, | 420 | { "Use password (if not, ask when syncing)","Passwort: (sonst jedesmal anfragen)" }, |
421 | { "User defined","Benutzerdefiniert" }, | 421 | { "User defined","Benutzerdefiniert" }, |
422 | { "User long date:","Format langes Datum:" }, | 422 | { "User long date:","Format langes Datum:" }, |
423 | { "User short date:","Forma kurzes Datum:" }, | 423 | { "User short date:","Forma kurzes Datum:" }, |
424 | { "View","Ansicht" }, | 424 | { "View","Ansicht" }, |
425 | { "View Fonts","Schriftarten Ansichten" }, | 425 | { "View Fonts","Schriftarten Ansichten" }, |
426 | { "Views","Ansichten" }, | 426 | { "Views","Ansichten" }, |
427 | { "Wed","Mi" }, | 427 | { "Wed","Mi" }, |
428 | { "Wednesday","Mittwoch" }, | 428 | { "Wednesday","Mittwoch" }, |
429 | { "Week %1","Woche %1" }, | 429 | { "Week %1","Woche %1" }, |
430 | { "Weekly","Wöchentlich" }, | 430 | { "Weekly","Wöchentlich" }, |
431 | { "Week starts on Sunday","Woche beginnt Sonntags" }, | 431 | { "Week starts on Sunday","Woche beginnt Sonntags" }, |
432 | { "What's Next View:","What's Next Anz." }, | 432 | { "What's Next View:","What's Next Anz." }, |
433 | { "What's next ?","Was kommt als nächstes?(What's Next)" }, | 433 | { "What's next ?","Was kommt als nächstes?(What's Next)" }, |
434 | { "Working Hours","Tägliche Arbeitszeit" }, | 434 | { "Working Hours","Tägliche Arbeitszeit" }, |
435 | { "Working hours color:","Arbeitszeit in der Agenda Ansicht:" }, | 435 | { "Working hours color:","Arbeitszeit in der Agenda Ansicht:" }, |
436 | { "Write back existing entries only","Nur exisitierende Einträge zurückschreiben" }, | 436 | { "Write back existing entries only","Nur exisitierende Einträge zurückschreiben" }, |
437 | { "Write back synced file","Syncronisierte Datei zurückschreiben" }, | 437 | { "Write back synced file","Syncronisierte Datei zurückschreiben" }, |
438 | { "Yearly","Jährlich" }, | 438 | { "Yearly","Jährlich" }, |
439 | { "year(s)","Jahr(e)" }, | 439 | { "year(s)","Jahr(e)" }, |
440 | { "Yes","Ja" }, | 440 | { "Yes","Ja" }, |
441 | { "You have %d item(s) selected.\n","Sie haben %d Einträge ausgewählt.\n" }, | 441 | { "You have %d item(s) selected.\n","Sie haben %d Einträge ausgewählt.\n" }, |
442 | { "You have to restart KOrganizer for this setting to take effect.","Sie müssem Korganizer neu starten, damit diese Einstellung aktiviert wird." }, | 442 | { "You have to restart KOrganizer for this setting to take effect.","Sie müssem Korganizer neu starten, damit diese Einstellung aktiviert wird." }, |
443 | { "week(s) on:","Woche(n) am: " }, | 443 | { "week(s) on:","Woche(n) am: " }, |
444 | { "Full menu bar(nr)","Volle Menuleiste(bn)" }, | 444 | { "Full menu bar(nr)","Volle Menuleiste(bn)" }, |
445 | { "Timezone has daylight saving","Zeitzone hat Sommerzeit" }, | 445 | { "Timezone has daylight saving","Zeitzone hat Sommerzeit" }, |
446 | { "Actual start and end is the\nsunday before this date.","Tatsächlicher Beginn/Ende ist der\nSonntag vor diesem Datum!" }, | 446 | { "Actual start and end is the\nsunday before this date.","Tatsächlicher Beginn/Ende ist der\nSonntag vor diesem Datum!" }, |
447 | { "The year in the date is ignored.","Das Jahr vom Datum wird ignoriert." }, | 447 | { "The year in the date is ignored.","Das Jahr vom Datum wird ignoriert." }, |
448 | { "Daylight start:","Sommerzeit Beginn:" }, | 448 | { "Daylight start:","Sommerzeit Start:" }, |
449 | { "Daylight end:","Sommerzeit Ende:" }, | 449 | { "Daylight end:","Sommerzeit Ende:" }, |
450 | { "Time Zone","Zeitzone" }, | 450 | { "Time Zone","Zeitzone" }, |
451 | { "Monday 19 April 2004: %A %d %B %Y","Montag 19 April 2004: %A %d %B %Y" }, | 451 | { "Monday 19 April 2004: %A %d %B %Y","Montag 19 April 2004: %A %d %B %Y" }, |
452 | { "%A: Monday --- %a: Mon","%A: Montag --- %a: Mon" }, | 452 | { "%A: Monday --- %a: Mon","%A: Montag --- %a: Mon" }, |
453 | { "minutely","minütlich" }, | 453 | { "minutely","minütlich" }, |
454 | { "hourly","stündlich" }, | 454 | { "hourly","stündlich" }, |
455 | { "daily","täglich" }, | 455 | { "daily","täglich" }, |
456 | { "weekly","wöchentlich" }, | 456 | { "weekly","wöchentlich" }, |
457 | { "monthly","monatlich" }, | 457 | { "monthly","monatlich" }, |
458 | { "day-monthly","tag-monatlich" }, | 458 | { "day-monthly","tag-monatlich" }, |
459 | { "month-yearly","monat-jährlich" }, | 459 | { "month-yearly","monat-jährlich" }, |
460 | { "day-yearly","tag-jährlich" }, | 460 | { "day-yearly","tag-jährlich" }, |
461 | { "position-yearly","pos-jährlich" }, | 461 | { "position-yearly","pos-jährlich" }, |
462 | { "Edit item on doubleclick (if not, show)","Editiere mit Doppelklick(wenn nicht, zeige)" }, | 462 | { "Edit item on doubleclick (if not, show)","Editiere mit Doppelklick(wenn nicht, zeige)" }, |
463 | { "Highlight current day in agenda","Hebe >>heute<< in Agenda hervor" }, | 463 | { "Highlight current day in agenda","Hebe >>heute<< in Agenda hervor" }, |
464 | { "Use light color for highlight current day","Helle Farbe für >>heute<< Hervorhebung" }, | 464 | { "Use light color for highlight current day","Helle Farbe für >>heute<< Hervorhebung" }, |
465 | { "Highlight selection in Time Edit","Hebe Auswahl in Zeit Edit hervor" }, | 465 | { "Highlight selection in Time Edit","Hebe Auswahl in Zeit Edit hervor" }, |
466 | { "Hold fullscreen on view change","Behalte Vollbild bei Ansichswechsel" }, | 466 | { "Hold fullscreen on view change","Behalte Vollbild bei Ansichswechsel" }, |
467 | { "Hold non-fullscreen on view change","Behalte Nicht-Vollbild bei Ansichtsw." }, | 467 | { "Hold non-fullscreen on view change","Behalte Nicht-Vollbild bei Ansichtsw." }, |
468 | { "Event list view uses full window","Listenansicht nutzt Vollbild" }, | 468 | { "Event list view uses full window","Listenansicht nutzt Vollbild" }, |
469 | { "Set agenda to DayBeginsAt on change","Setze Agenda auf TagBeginntUm bei Wechsel" }, | 469 | { "Set agenda to DayBeginsAt on change","Setze Agenda auf TagBeginntUm bei Wechsel" }, |
470 | { "Set agenda to current time on change","Setze Agenda auf gegenw.Zeit bei Wechsel" }, | 470 | { "Set agenda to current time on change","Setze Agenda auf gegenw.Zeit bei Wechsel" }, |
471 | { "Listview uses monthly timespan","Listenansicht zeigt monatliche Zeitspanne" }, | 471 | { "Listview uses monthly timespan","Listenansicht zeigt monatliche Zeitspanne" }, |
472 | { "ViewChange","Ansichtswechsel" }, | 472 | { "ViewChange","Ansichtswechsel" }, |
473 | { "Default alarm *.wav file:","Standard Alarm *.wav Datei:" }, | 473 | { "Default alarm *.wav file:","Standard Alarm *.wav Datei:" }, |
474 | { "This setting is useless for 5500 user!","Diese Einst. ist nutzlos für 5500 Nutzer" }, | 474 | { "This setting is useless for 5500 user!","Diese Einst. ist nutzlos für 5500 Nutzer" }, |
475 | { "File","Datei" }, | 475 | { "File","Datei" }, |
476 | { "Clone...","Dupliziere.." }, | 476 | { "Clone...","Dupliziere.." }, |
477 | { "Move...","Bewege..." }, | 477 | { "Move...","Bewege..." }, |
478 | { "Beam...","Sende via IR..." }, | 478 | { "Beam...","Sende via IR..." }, |
479 | { "&Clone...","Dupliziere.." }, | 479 | { "&Clone...","Dupliziere.." }, |
480 | { "&Move...","Bewege..." }, | 480 | { "&Move...","Bewege..." }, |
481 | { "&Beam...","Sende via IR..." }, | 481 | { "&Beam...","Sende via IR..." }, |
482 | { "Show Completed","Zeige erledigte Todos" }, | 482 | { "Show Completed","Zeige erledigte Todos" }, |
483 | { "Show Quick Todo","Zeige Quick Todo" }, | 483 | { "Show Quick Todo","Zeige Quick Todo" }, |
484 | { "Unparent Todo","Un-sub Todo" }, | 484 | { "Unparent Todo","Un-sub Todo" }, |
485 | { "Save selected to file...","Speichere Selektierte..." }, | 485 | { "Save selected to file...","Speichere Selektierte..." }, |
486 | { "Add Categ. to selected...","Füge zu Selekt. Kateg. hinzu..." }, | 486 | { "Add Categ. to selected...","Füge zu Selekt. Kateg. hinzu..." }, |
487 | { "Set Categ. for selected...","Setze Kateg. für Selekt." }, | 487 | { "Set Categ. for selected...","Setze Kateg. für Selekt." }, |
488 | { "Beam selected via IR","Sende Selekt. via IR..." }, | 488 | { "Beam selected via IR","Sende Selekt. via IR..." }, |
489 | { "Search","Suchen" }, | 489 | { "Search","Suchen" }, |
490 | { "Date Picker","Datum auswählen" }, | 490 | { "Date Picker","Datum auswählen" }, |
491 | { "Day View","Tagesansicht" }, | 491 | { "Day View","Tagesansicht" }, |
492 | { "Work Week","Arbeitswoche" }, | 492 | { "Work Week","Arbeitswoche" }, |
493 | { "Week","Wochenansicht" }, | 493 | { "Week","Wochenansicht" }, |
494 | { "Month","Monatsansicht" }, | 494 | { "Month","Monatsansicht" }, |
495 | { "Todo View","Todo Liste" }, | 495 | { "Todo View","Todo Liste" }, |
496 | { "Journal","Journal" }, | 496 | { "Journal","Journal" }, |
497 | { "Next days","Nächste Tage" }, | 497 | { "Next days","Nächste Tage" }, |
498 | { "Print agenda selection...","Drucke Agendaselektion..." }, | 498 | { "Print agenda selection...","Drucke Agendaselektion..." }, |
499 | { "Toggle DateNavigator","Navigator umschalten" }, | 499 | { "Toggle DateNavigator","Navigator umschalten" }, |
500 | { "Toggle FilterView","Filteransicht umschalten" }, | 500 | { "Toggle FilterView","Filteransicht umschalten" }, |
501 | { "Prev. month","Vorheriger Monat" }, | 501 | { "Prev. month","Vorheriger Monat" }, |
502 | { "Go backward","Gehe zurück" }, | 502 | { "Go backward","Gehe zurück" }, |
503 | { "Go forward","Gehe weiter" }, | 503 | { "Go forward","Gehe weiter" }, |
504 | { "Synchronize","Synchronisieren" }, | 504 | { "Synchronize","Synchronisieren" }, |
505 | { "AgendaSize","Agendagröße" }, | 505 | { "AgendaSize","Agendagröße" }, |
506 | { "Import (*.ics/*.vcs) file","Importiere (*.ics/*.vcs) Datei" }, | 506 | { "Import (*.ics/*.vcs) file","Importiere (*.ics/*.vcs) Datei" }, |
507 | { "Import last file","Importiere letzte Datei" }, | 507 | { "Import last file","Importiere letzte Datei" }, |
508 | { "Import Opie/Qtopia Cal.","Importiere Opie/Qtopia Kal." }, | 508 | { "Import Opie/Qtopia Cal.","Importiere Opie/Qtopia Kal." }, |
509 | { "Load Calendar Backup","Lade Kalender Backup" }, | 509 | { "Load Calendar Backup","Lade Kalender Backup" }, |
510 | { "Save Calendar Backup","Speichere Kalender Backup" }, | 510 | { "Save Calendar Backup","Speichere Kalender Backup" }, |
511 | { "Export VCalendar","Exportiere VCalendar" }, | 511 | { "Export VCalendar","Exportiere VCalendar" }, |
512 | { "Manage new categories...","Verwalte neue Kategorien..." }, | 512 | { "Manage new categories...","Verwalte neue Kategorien..." }, |
513 | { "Beam complete calendar...","Sende kompletten Kalender via IR" }, | 513 | { "Beam complete calendar...","Sende kompletten Kalender via IR" }, |
514 | { "Beam filtered calendar...","Sende gefilterten Kalender via IR" }, | 514 | { "Beam filtered calendar...","Sende gefilterten Kalender via IR" }, |
515 | { "Remote via ssh","Über Netzwerk via ssh" }, | 515 | { "Remote via ssh","Über Netzwerk via ssh" }, |
516 | { "With local file","Mit lokaler Datei" }, | 516 | { "With local file","Mit lokaler Datei" }, |
517 | { "With last file","Mit letzter Datei" }, | 517 | { "With last file","Mit letzter Datei" }, |
518 | { "KO/Pi: Ready for beaming","KO/Pi: Bereit zum Senden" }, | 518 | { "KO/Pi: Ready for beaming","KO/Pi: Bereit zum Senden" }, |
519 | { "KO/Pi:Beaming done","KO/Pi: Senden erfolgt" }, | 519 | { "KO/Pi:Beaming done","KO/Pi: Senden erfolgt" }, |
520 | { "Save filename","Speichern: Dateinamen wählen" }, | 520 | { "Save filename","Speichern: Dateinamen wählen" }, |
521 | { "File already exists!\nOld file from:\n%1\nOverwrite?\n","Dateiname existiert bereits!\nAlte Datei vom:\n%1\nÜberschreiben?\n" }, | 521 | { "File already exists!\nOld file from:\n%1\nOverwrite?\n","Dateiname existiert bereits!\nAlte Datei vom:\n%1\nÜberschreiben?\n" }, |
522 | { "KO/Pi: Warning!","KO/Pi: Warnung!" }, | 522 | { "KO/Pi: Warning!","KO/Pi: Warnung!" }, |
523 | { "Overwrite!","Überschreibe!" }, | 523 | { "Overwrite!","Überschreibe!" }, |
524 | { "KO/Pi:Saved %1","KO/Pi:Gespeichert %1" }, | 524 | { "KO/Pi:Saved %1","KO/Pi:Gespeichert %1" }, |
525 | { "All selected items will be\npermanently deleted.\n(Deleting items will take\nsome time on a PDA)\n","Alle selektierten Einträge werden\nunwiederbringlich gelöscht.\n(Löschen kann auf dem\nPDA einige Zeit dauern)\n" }, | 525 | { "All selected items will be\npermanently deleted.\n(Deleting items will take\nsome time on a PDA)\n","Alle selektierten Einträge werden\nunwiederbringlich gelöscht.\n(Löschen kann auf dem\nPDA einige Zeit dauern)\n" }, |
526 | { "KO/Pi Confirmation","KO/Pi Bestätigung" }, | 526 | { "KO/Pi Confirmation","KO/Pi Bestätigung" }, |
527 | { "Close dialog to abort deletion!","Schließe Dialog um das Löschen abzubrechen!" }, | 527 | { "Close dialog to abort deletion!","Schließe Dialog um das Löschen abzubrechen!" }, |
528 | { "Deleting item %d ...","Lösche Eintrag %d ..." }, | 528 | { "Deleting item %d ...","Lösche Eintrag %d ..." }, |
529 | { "%d items remaining in list.","%d Einträge sind in der Liste verblieben." }, | 529 | { "%d items remaining in list.","%d Einträge sind in der Liste verblieben." }, |
530 | { "Size","Größe" }, | 530 | { "Size","Größe" }, |
531 | { "Date","Datum" }, | 531 | { "Date","Datum" }, |
532 | { "Mime Type","Datei Typ" }, | 532 | { "Mime Type","Datei Typ" }, |
533 | { "All Files","Alle Dateien" }, | 533 | { "All Files","Alle Dateien" }, |
534 | { "Files","Dateien" }, | 534 | { "Files","Dateien" }, |
535 | { "Documents","DoKumente" }, | 535 | { "Documents","DoKumente" }, |
536 | { "Select Categories","Selektiere Kategorien" }, | 536 | { "Select Categories","Selektiere Kategorien" }, |
537 | { " &Deselect All "," Auswahl aufheben " }, | 537 | { " &Deselect All "," Auswahl aufheben " }, |
538 | { "A&dd","Hinzu" }, | 538 | { "A&dd","Hinzu" }, |
539 | { "&Modify","Ändern" }, | 539 | { "&Modify","Ändern" }, |
540 | { "Edit Categories","Editiere Kategorien" }, | 540 | { "Edit Categories","Editiere Kategorien" }, |
541 | { " &Edit Categories "," &Editiere Kategorien " }, | 541 | { " &Edit Categories "," &Editiere Kategorien " }, |
542 | { "Beam Options","Beam Einstellungen" }, | 542 | { "Beam Options","Beam Einstellungen" }, |
543 | { " With timezone "," Mit Zeitzone " }, | 543 | { " With timezone "," Mit Zeitzone " }, |
544 | { " Local time ", " Lokale Zeit " }, | 544 | { " Local time ", " Lokale Zeit " }, |
545 | { "Manage new Categories","Verwalte neue Kategorien" }, | 545 | { "Manage new Categories","Verwalte neue Kategorien" }, |
546 | { "Add to category list","Füge zur Kategorieliste hinzu" }, | 546 | { "Add to category list","Füge zur Kategorieliste hinzu" }, |
547 | { "Remove from Events/Todos","Entferne von Terminen/Todos" }, | 547 | { "Remove from Events/Todos","Entferne von Terminen/Todos" }, |
548 | { "After importing/loading/syncing\nthere may be new categories in\nevents or todos\nwhich are not in the category list.\nPlease choose what to do:\n ","Nach dem Importieren/Laden/Syncen\nkann es neue Kategorien in den \nTerminen oder Todos geben, die nicht\nin der Kategorieliste enthalten sind.\nBitte wählen Sie, was passieren soll:\n " }, | 548 | { "After importing/loading/syncing\nthere may be new categories in\nevents or todos\nwhich are not in the category list.\nPlease choose what to do:\n ","Nach dem Importieren/Laden/Syncen\nkann es neue Kategorien in den \nTerminen oder Todos geben, die nicht\nin der Kategorieliste enthalten sind.\nBitte wählen Sie, was passieren soll:\n " }, |
549 | { "New categories not in list:","Kategorien, die nicht in der Liste sind:" }, | 549 | { "New categories not in list:","Kategorien, die nicht in der Liste sind:" }, |
550 | { "File format","Datei Format" }, | 550 | { "File format","Datei Format" }, |
551 | { "Time format","Zeit Format" }, | 551 | { "Time format","Zeit Format" }, |
552 | { "KO/Pi:Saving Data to File ...","KO/Pi: Speichere Kalender in Datei ..." }, | 552 | { "KO/Pi:Saving Data to File ...","KO/Pi: Speichere Kalender in Datei ..." }, |
553 | { "KO/Pi:File Saved. Needed %d sec, %d ms","KO/Pi: Abgespeichert in %d sec, %d ms" }, | 553 | { "KO/Pi:File Saved. Needed %d sec, %d ms","KO/Pi: Abgespeichert in %d sec, %d ms" }, |
554 | { "h","Std" }, | 554 | { "h","Std" }, |
555 | { "min","Min" }, | 555 | { "min","Min" }, |
556 | { "hou","Std" }, | 556 | { "hou","Std" }, |
557 | { "day","Tag" }, | 557 | { "day","Tag" }, |
558 | { "French","Französich" }, | 558 | { "French","Französich" }, |
559 | { "Time","Zeit" }, | 559 | { "Time","Zeit" }, |
560 | { "Event Viewer","Termin Ansicht" }, | 560 | { "Event Viewer","Termin Ansicht" }, |
561 | { "Cancel Sync","Sync Abbrechen" }, | 561 | { "Cancel Sync","Sync Abbrechen" }, |
562 | { "Remote","Fern" }, | 562 | { "Remote","Fern" }, |
563 | { "Local","Lokal" }, | 563 | { "Local","Lokal" }, |
564 | { "Conflict! Please choose entry","Konflikt! Bitte Eintrag wählen" }, | 564 | { "Conflict! Please choose entry","Konflikt! Bitte Eintrag wählen" }, |
565 | { "Local: ","Lokal: " }, | 565 | { "Local: ","Lokal: " }, |
566 | { "Remote: ","Fern: " }, | 566 | { "Remote: ","Fern: " }, |
567 | { "Last modified: ","Zuletzt geändert: " }, | 567 | { "Last modified: ","Zuletzt geändert: " }, |
568 | { "Location: ","Ort: " }, | 568 | { "Location: ","Ort: " }, |
569 | { "<p><b>From:</b> %1 </p><p><b>To:</b> %2</p>","<p><b>Von:</b> %1 </p><p><b>Bis:</b> %2</p>" }, | 569 | { "<p><b>From:</b> %1 </p><p><b>To:</b> %2</p>","<p><b>Von:</b> %1 </p><p><b>Bis:</b> %2</p>" }, |
570 | { "<p><b>On:</b> %1</p>","<p><b>Am:</b> %1</p>" }, | 570 | { "<p><b>On:</b> %1</p>","<p><b>Am:</b> %1</p>" }, |
571 | { "<p><b>From:</b> %1</p> ","<p><b>Von:</b> %1</p> " }, | 571 | { "<p><b>From:</b> %1</p> ","<p><b>Von:</b> %1</p> " }, |
572 | { "<p><b>To:</b> %1</p>","<p><b>Bis:</b> %1</p>" }, | 572 | { "<p><b>To:</b> %1</p>","<p><b>Bis:</b> %1</p>" }, |
573 | { "<p><b>On:</b> %1</p> ","<p><b>Am:</b> %1</p> " }, | 573 | { "<p><b>On:</b> %1</p> ","<p><b>Am:</b> %1</p> " }, |
574 | { "<p><b>From:</b> %1 <b>To:</b> %2</p>","<p><b>Von:</b> %1 <b>Bis:</b> %2</p>" }, | 574 | { "<p><b>From:</b> %1 <b>To:</b> %2</p>","<p><b>Von:</b> %1 <b>Bis:</b> %2</p>" }, |
575 | { "This is a %1 recurring event.","Das ist ein %1 wiederholender Termin." }, | 575 | { "This is a %1 recurring event.","Das ist ein %1 wiederholender Termin." }, |
576 | { "<b>Next recurrence is on:</b>","<b>Nächste Wiederholung ist am:</b>" }, | 576 | { "<b>Next recurrence is on:</b>","<b>Nächste Wiederholung ist am:</b>" }, |
577 | { "<b>Last recurrence was on:</b>","<b>Letzte Wiederholung war am:</b>" }, | 577 | { "<b>Last recurrence was on:</b>","<b>Letzte Wiederholung war am:</b>" }, |
578 | { "( %1 min before )","( %1 min vorher )" }, | 578 | { "( %1 min before )","( %1 min vorher )" }, |
579 | { "<b>Alarm on: ","<b>Alarm am: " }, | 579 | { "<b>Alarm on: ","<b>Alarm am: " }, |
580 | { "<b>Details: </b>","<b>Details: </b>" }, | 580 | { "<b>Details: </b>","<b>Details: </b>" }, |
581 | { "<p><b>Priority:</b> %2</p>","<p><b>Priorität:</b> %2</p>" }, | 581 | { "<p><b>Priority:</b> %2</p>","<p><b>Priorität:</b> %2</p>" }, |
582 | { "<p><i>%1 % completed</i></p>","<p><i>%1 % erledigt</i></p>" }, | 582 | { "<p><i>%1 % completed</i></p>","<p><i>%1 % erledigt</i></p>" }, |
583 | { "Organizer","Organisator" }, | 583 | { "Organizer","Organisator" }, |
584 | { "Save","Speichern" }, | 584 | { "Save","Speichern" }, |
585 | { "Exit (+save)","Beenden (+ speichern)" }, | 585 | { "Exit (+save)","Beenden (+ speichern)" }, |
586 | { "Home","Zuhause" }, | 586 | { "Home","Zuhause" }, |
587 | { "Office","Büro" }, | 587 | { "Office","Büro" }, |
588 | { "Libary","Bücherei" }, | 588 | { "Libary","Bücherei" }, |
589 | { "Doctor","Arzt" }, | 589 | { "Doctor","Arzt" }, |
590 | { "Beach","Strand" }, | 590 | { "Beach","Strand" }, |
591 | { "Conference room","Konferenzraum" }, | 591 | { "Conference room","Konferenzraum" }, |
592 | { "Drive Home","Heimfahrt" }, | 592 | { "Drive Home","Heimfahrt" }, |
593 | { "Watch TV","Tv gucken" }, | 593 | { "Watch TV","Tv gucken" }, |
594 | { "Phone call","Telefonanruf" }, | 594 | { "Phone call","Telefonanruf" }, |
595 | { "Pay bill","Rechnung bezahlen" }, | 595 | { "Pay bill","Rechnung bezahlen" }, |
596 | { "Read book","Buch lesen" }, | 596 | { "Read book","Buch lesen" }, |
597 | { "Watering plants","Pflanzen giessen" }, | 597 | { "Watering plants","Pflanzen giessen" }, |
598 | {"Appointment","Verabredung" }, | 598 | {"Appointment","Verabredung" }, |
599 | {"Birthday","Geburtstag" }, | 599 | {"Birthday","Geburtstag" }, |
600 | {"Business","Geschäft" }, | 600 | {"Business","Geschäft" }, |
601 | {"Business Travel","Geschäftsreise" }, | 601 | {"Business Travel","Geschäftsreise" }, |
602 | {"Cinema","Kino" }, | 602 | {"Cinema","Kino" }, |
603 | {"Customer","Kunde" }, | 603 | {"Customer","Kunde" }, |
604 | {"Break","Pause" }, | 604 | {"Break","Pause" }, |
605 | {"Breakfast","Frühstück" }, | 605 | {"Breakfast","Frühstück" }, |
606 | {"Competition","Wettkampf" }, | 606 | {"Competition","Wettkampf" }, |
607 | {"Dinner","Abendessen" }, | 607 | {"Dinner","Abendessen" }, |
608 | {"Education","Erziehung" }, | 608 | {"Education","Erziehung" }, |
609 | {"Family","Familie" }, | 609 | {"Family","Familie" }, |
610 | {"Favorites","Favoriten" }, | 610 | {"Favorites","Favoriten" }, |
611 | {"Festival","Festival" }, | 611 | {"Festival","Festival" }, |
612 | {"Fishing","Angeln" }, | 612 | {"Fishing","Angeln" }, |
613 | {"Flight","Flug" }, | 613 | {"Flight","Flug" }, |
614 | {"Gifts","Geschenk" }, | 614 | {"Gifts","Geschenk" }, |
615 | {"Holiday","Feiertag" }, | 615 | {"Holiday","Feiertag" }, |
616 | {"Holiday Cards","Ansichtskarten" }, | 616 | {"Holiday Cards","Ansichtskarten" }, |
617 | {"Hot Contacts","Heisse Kontakte" }, | 617 | {"Hot Contacts","Heisse Kontakte" }, |
618 | {"Hiking","Wandern" }, | 618 | {"Hiking","Wandern" }, |
619 | {"Hunting","Jagen" }, | 619 | {"Hunting","Jagen" }, |
620 | {"Key Customer","Wichtiger Kunde" }, | 620 | {"Key Customer","Wichtiger Kunde" }, |
621 | {"Kids","Kinder" }, | 621 | {"Kids","Kinder" }, |
622 | {"Lunch","Mittagessen" }, | 622 | {"Lunch","Mittagessen" }, |
623 | {"Meeting","Treffen" }, | 623 | {"Meeting","Treffen" }, |
624 | {"Miscellaneous","Verschiedenes" }, | 624 | {"Miscellaneous","Verschiedenes" }, |
625 | {"Partner","Partner" }, | 625 | {"Partner","Partner" }, |
626 | {"Party","Partie" }, | 626 | {"Party","Partie" }, |
627 | {"Personal","Privat" }, | 627 | {"Personal","Privat" }, |
628 | {"Personal Travel","Privatreise"}, | 628 | {"Personal Travel","Privatreise"}, |
629 | {"PHB","PHB" }, | 629 | {"PHB","PHB" }, |
630 | {"Phone Calls","Telefonanruf" }, | 630 | {"Phone Calls","Telefonanruf" }, |
631 | {"Projects","Projekt" }, | 631 | {"Projects","Projekt" }, |
632 | {"Recurring","Wiederholend" }, | 632 | {"Recurring","Wiederholend" }, |
633 | {"School","Schule" }, | 633 | {"School","Schule" }, |
634 | {"Shopping","Einkaufen" }, | 634 | {"Shopping","Einkaufen" }, |
635 | {"Speach","Rede" }, | 635 | {"Speach","Rede" }, |
636 | {"Special Occasion","Spez.Gelegenheit" }, | 636 | {"Special Occasion","Spez.Gelegenheit" }, |
637 | {"Sports","Sport" }, | 637 | {"Sports","Sport" }, |
638 | {"Talk","Vortrag" }, | 638 | {"Talk","Vortrag" }, |
639 | {"Travel","Reise" }, | 639 | {"Travel","Reise" }, |
640 | {"TV","TV" }, | 640 | {"TV","TV" }, |
641 | {"Germany","Deutschland" }, | 641 | {"Germany","Deutschland" }, |
642 | {"Sweden","Schweden" }, | 642 | {"Sweden","Schweden" }, |
643 | {"Forest","Wald" }, | 643 | {"Forest","Wald" }, |
644 | { "Desert","Wüste" }, | 644 | { "Desert","Wüste" }, |
645 | { "Kitchen","Küche" }, | 645 | { "Kitchen","Küche" }, |
646 | { "Lake","See" }, | 646 | { "Lake","See" }, |
647 | {"University","Universität"}, | 647 | {"University","Universität"}, |
648 | {"Vacation","Urlaub" }, | 648 | {"Vacation","Urlaub" }, |
649 | {"VIP","VIP" }, | 649 | {"VIP","VIP" }, |
650 | { "Import Sharp Calendar","Importiere Sharp Kalender" }, | 650 | { "Import Sharp Calendar","Importiere Sharp Kalender" }, |
651 | { "This todo has been cancelled!","Dieses Todo wurde gecancelt!" }, | 651 | { "This todo has been cancelled!","Dieses Todo wurde gecancelt!" }, |
652 | { "This event has been cancelled!","Dieser Termin wurde gecancelt!" }, | 652 | { "This event has been cancelled!","Dieser Termin wurde gecancelt!" }, |
653 | { "Cancelled","Gecancelt" }, | 653 | { "Cancelled","Gecancelt" }, |
654 | { "Multiple sync","Mehrfach Sync" }, | 654 | { "Multiple sync","Mehrfach Sync" }, |
655 | { "Local file","Lokale Datei" }, | 655 | { "Local file","Lokale Datei" }, |
656 | { "Last file","Letzte Datei" }, | 656 | { "Last file","Letzte Datei" }, |
657 | { "Keys + Colors...","Tasten + Farben..." }, | 657 | { "Keys + Colors...","Tasten + Farben..." }, |
658 | { "Mini icons in toolbar(nr)","Mini Icons in ToolBar(bn)" }, | 658 | { "Mini icons in toolbar(nr)","Mini Icons in ToolBar(bn)" }, |
659 | { "Quick load/save (w/o Unicode)","Schnelles Laden/Speichern (o Unicode)" }, | 659 | { "Quick load/save (w/o Unicode)","Schnelles Laden/Speichern (o Unicode)" }, |
660 | { "Choose...","Wähle..." }, | 660 | { "Choose...","Wähle..." }, |
661 | { "Use colors for application:","Setze Farben für Programm:" }, | 661 | { "Use colors for application:","Setze Farben für Programm:" }, |
662 | { "Buttons, menus, etc.:","Knöpfe, Menu, etc.:" }, | 662 | { "Buttons, menus, etc.:","Knöpfe, Menu, etc.:" }, |
663 | { "Frames, labels, etc.:","Rahmen, Label, etc.:" }, | 663 | { "Frames, labels, etc.:","Rahmen, Label, etc.:" }, |
664 | { "Show parent To-Do's","Zeige Ober-Todos" }, | 664 | { "Show parent To-Do's","Zeige Ober-Todos" }, |
665 | { "Show location","Zeige Orte" }, | 665 | { "Show location","Zeige Orte" }, |
666 | { "Show events that recur ","Zeige Termine, die sich wiederholen:" }, | 666 | { "Show events that recur ","Zeige Termine, die sich wiederholen:" }, |
667 | { "Show in every cell ","Zeige in jeder Zelle " }, | 667 | { "Show in every cell ","Zeige in jeder Zelle " }, |
668 | { "short month","kurzen Monat" }, | 668 | { "short month","kurzen Monat" }, |
669 | { "icons","Icons" }, | 669 | { "icons","Icons" }, |
670 | { "Show Sat/Sun together","Zeige Sam/Son zusammen" }, | 670 | { "Show Sat/Sun together","Zeige Sam/Son zusammen" }, |
671 | { "Categorie colors are applied to text","Kategorie Farben färben Text" }, | 671 | { "Categorie colors are applied to text","Kategorie Farben färben Text" }, |
672 | { "Month view uses day colors","Monatsansicht zeigt Tagesfarben" }, | 672 | { "Month view uses day colors","Monatsansicht zeigt Tagesfarben" }, |
673 | { "Day color odd months","Tagesfarbe ungerade Monate" }, | 673 | { "Day color odd months","Tagesfarbe ungerade Monate" }, |
674 | { "Day color even months","Tagesfarbe gerade Monate" }, | 674 | { "Day color even months","Tagesfarbe gerade Monate" }, |
675 | { "Color for Sundays + category \"Holiday\"","Farbe für Sonntag + Kateg.\" Feiertag\"" }, | 675 | { "Color for Sundays + category \"Holiday\"","Farbe für Sonntag + Kateg.\" Feiertag\"" }, |
676 | { "To-do view shows complete as 'xx %'","Zeige Prozent erledigt als 'xx %'" }, | 676 | { "To-do view shows complete as 'xx %'","Zeige Prozent erledigt als 'xx %'" }, |
677 | { "Small To-do view uses smaller font","Kleine To-do Ansicht nutzt kleineren Font" }, | 677 | { "Small To-do view uses smaller font","Kleine To-do Ansicht nutzt kleineren Font" }, |
678 | { "Colors are applied to text","Farben werden auf Text angewendet" }, | 678 | { "Colors are applied to text","Farben werden auf Text angewendet" }, |
679 | { "Use internal alarm notification","Nutze interne Alarm Benachrichtigung" }, | 679 | { "Use internal alarm notification","Nutze interne Alarm Benachrichtigung" }, |
680 | { "Note: KO/Pi must be running to notify you about an alarm. Recommended for use on Zaurus: Disable this option and install KO/Pi alarm applet.\n","Achtung: KO/Pi muß ausgeführt werden damit die Benachrichtigung funktioniert. Empfehlung für Zaurus: Diese Option nicht wählen und KO/Pi Alarm Applet installieren.\n" }, | 680 | { "Note: KO/Pi must be running to notify you about an alarm. Recommended for use on Zaurus: Disable this option and install KO/Pi alarm applet.\n","Achtung: KO/Pi muß ausgeführt werden damit die Benachrichtigung funktioniert. Empfehlung für Zaurus: Diese Option nicht wählen und KO/Pi Alarm Applet installieren.\n" }, |
681 | { "Play beeps count:","Anzahl der Alarmpiepse: " }, | 681 | { "Play beeps count:","Anzahl der Alarmpiepse: " }, |
682 | { "Beeps interval in sec:","Zeitintervall der Alarmpiepse: " }, | 682 | { "Beeps interval in sec:","Zeitintervall der Alarmpiepse: " }, |
683 | { "Default suspend time in min:","Standard Supendierungs Zeit: " }, | 683 | { "Default suspend time in min:","Standard Supendierungs Zeit: " }, |
684 | { "Auto suspend count:","Anzahl der auto Suspendierungen" }, | 684 | { "Auto suspend count:","Anzahl der auto Suspendierungen" }, |
685 | { "Alarm *.wav file for newly created alarm:","Alarm *.wav Datei für neu angelegte Alarme:" }, | 685 | { "Alarm *.wav file for newly created alarm:","Alarm *.wav Datei für neu angelegte Alarme:" }, |
686 | { "New profile","Neues Profil" }, | 686 | { "New profile","Neues Profil" }, |
687 | { "Clone profile","Klone Profil" }, | 687 | { "Clone profile","Klone Profil" }, |
688 | { "Delete profile","Lösche Profil" }, | 688 | { "Delete profile","Lösche Profil" }, |
689 | { "Profile:","Profil:" }, | 689 | { "Profile:","Profil:" }, |
690 | { "Include in multiple sync","Beziehe Profil in mehrfach Sync mit ein" }, | 690 | { "Include in multiple sync","Beziehe Profil in mehrfach Sync mit ein" }, |
691 | { "Force: Take local entry always","Erzwinge: Nimm immer lokalen Eintrag" }, | 691 | { "Force: Take local entry always","Erzwinge: Nimm immer lokalen Eintrag" }, |
692 | { "Force: Take remote entry always","Erzwinge: Nimm immer fernen Eintrag" }, | 692 | { "Force: Take remote entry always","Erzwinge: Nimm immer fernen Eintrag" }, |
693 | { "Show summary after sync","Zeige Zusammenfassung nach dem Synchronisieren" }, | 693 | { "Show summary after sync","Zeige Zusammenfassung nach dem Synchronisieren" }, |
694 | { "Write back file","Schreibe Datei zurück" }, | 694 | { "Write back file","Schreibe Datei zurück" }, |
695 | { "Remote file (w down/upload command)","Entfernte Datei (via down/upload Kommando)" }, | 695 | { "Remote file (w down/upload command)","Entfernte Datei (via down/upload Kommando)" }, |
696 | { "Pre sync (download) command:","Bevor Sync (download) Kommando:" }, | 696 | { "Pre sync (download) command:","Bevor Sync (download) Kommando:" }, |
697 | { "Local device name:","Name dieses Gerätes:" }, | 697 | { "Local device name:","Name dieses Gerätes:" }, |
698 | { "Ask for preferences before sync","Frage nach Synchronisationseinstellungen vor dem Syncen" }, | 698 | { "Ask for preferences before sync","Frage nach Synchronisationseinstellungen vor dem Syncen" }, |
699 | { "Sync preferences","Synchronisations Einstellungen" }, | 699 | { "Sync preferences","Synchronisations Einstellungen" }, |
700 | { "Profile kind","Profil Art" }, | 700 | { "Profile kind","Profil Art" }, |
701 | { "Local file","Lokale Datei" }, | 701 | { "Local file","Lokale Datei" }, |
702 | { "Local file:","Lokale Datei:" }, | 702 | { "Local file:","Lokale Datei:" }, |
703 | { "Post sync (upload) command:","Nach Sync (upload) Kommando:" }, | 703 | { "Post sync (upload) command:","Nach Sync (upload) Kommando:" }, |
704 | { "Fill in default values for:","Setze Beispiel Werte ein für:" }, | 704 | { "Fill in default values for:","Setze Beispiel Werte ein für:" }, |
705 | { "Hint: Use $PWD$ for placeholder of password!","Hinweis: Benutze $PWD$ als Platzhalter für ein Passwort!" }, | 705 | { "Hint: Use $PWD$ for placeholder of password!","Hinweis: Benutze $PWD$ als Platzhalter für ein Passwort!" }, |
706 | { "Synchronization Preferences","Einstellungen der Synchronisationsprofile"}, | 706 | { "Synchronization Preferences","Einstellungen der Synchronisationsprofile"}, |
707 | { "Device","Gerät:" }, | 707 | { "Device","Gerät:" }, |
708 | { "Sync with file \n...%1\nfrom:\n%2\n","Sync mit Datei \n...%1\nvom:\n%2\n" }, | 708 | { "Sync with file \n...%1\nfrom:\n%2\n","Sync mit Datei \n...%1\nvom:\n%2\n" }, |
709 | { "Synchronization summary:\n\n %d items added to local\n %d items added to remote\n %d items updated on local\n %d items updated on remote\n %d items deleted on local\n %d items deleted on remote\n","Synchronisationsübersicht:\n\n %d items lokal hinzugefügt\n %d items entfernt hinzugefügt\n %d items lokal geändert\n %d items entfernt geändert\n %d items lokal gelöscht\n %d items entfernt gelöscht\n" }, | 709 | { "Synchronization 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" }, |
710 | { "Synchronization successful","Synchronisation erfolgreich" }, | 710 | { "Synchronization successful","Synchronisation erfolgreich" }, |
711 | { "Sync cancelled or failed. Nothing synced.","Sync abgebrochen oder fehlgeschlagen. Nichts wurde gesynced." }, | 711 | { "Sync cancelled or failed. Nothing synced.","Sync abgebrochen oder fehlgeschlagen. Nichts wurde gesynced." }, |
712 | { "Sync file \n...%1\ndoes not exist!\nNothing synced!\n","Sync Datei \n...%1\nexistiert nicht!\nNichts wurde gesynced!\n" }, | 712 | { "Sync file \n...%1\ndoes not exist!\nNothing synced!\n","Sync Datei \n...%1\nexistiert nicht!\nNichts wurde gesynced!\n" }, |
713 | { "Sync filename(*.ics/*.vcs)","Sync Dateiname(*.ics/*.vcs)" }, | 713 | { "Sync filename(*.ics/*.vcs)","Sync Dateiname(*.ics/*.vcs)" }, |
714 | { "Enter password","Passwort eingeben" }, | 714 | { "Enter password","Passwort eingeben" }, |
715 | { "Do you really want\nto remote sync\nwith profile \n","Wollen Sie wirklich\nmit dem entfernten\nProfil syncen: \n" }, | 715 | { "Do you really want\nto remote sync\nwith profile \n","Wollen Sie wirklich\nmit dem entfernten\nProfil syncen: \n" }, |
716 | { "Copy remote file to local machine...","Kopiere entfernte Datei auf lokalen Rechner..." }, | 716 | { "Copy remote file to local machine...","Kopiere entfernte Datei auf lokalen Rechner..." }, |
717 | { "Sorry, the copy command failed!\nCommand was:\n%1\n \nTry command on console to get more\ndetailed info about the reason.\n","Sorry, das Kopierkommando schlug fehl!\nKommando war:\n%1\n \nVersuche Kommando von Kosole um\nDetails für das Fehlschlagen\nzu erfahren.\n" }, | 717 | { "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" }, |
718 | { "Writing back file result: ","Resultat des Dateizurückschreibens: " }, | 718 | { "Writing back file result: ","Resultat des Dateizurückschreibens: " }, |
719 | { "Syncronization sucessfully completed","Synchronisation erfolgreich abgeschlossen" }, | 719 | { "Syncronization sucessfully completed","Synchronisation erfolgreich abgeschlossen" }, |
720 | { "Edit Calendar Filters","Editiere Kalendar Filter" }, | 720 | { "Edit Calendar Filters","Editiere Kalendar Filter" }, |
721 | { "Enter filter name:","Neuer Filter Name:" }, | 721 | { "Enter filter name:","Neuer Filter Name:" }, |
722 | { "Add Filter","Filter hinzufügen" }, | 722 | { "Add Filter","Filter hinzufügen" }, |
723 | { "Question","Frage" }, | 723 | { "Question","Frage" }, |
724 | { "Filter position: ","Filter Position: " }, | 724 | { "Filter position: ","Filter Position: " }, |
725 | { "Month View","Monatsansicht" }, | 725 | { "Month View","Monatsansicht" }, |
726 | { "This profil cannot be deleted!\n","Dieses Profil kann\nnicht gelöscht werden!" }, | 726 | { "This profil cannot be deleted!\n","Dieses Profil kann\nnicht gelöscht werden!" }, |
727 | { "KO/Pi config error","KO/Pi Konfig. Fehler" }, | 727 | { "KO/Pi config error","KO/Pi Konfig. Fehler" }, |
728 | { "Local device name undefined!\nPlease define device name!","Name dieses Gerätes undefiniert!\nBitte Namen angeben!" }, | 728 | { "Local device name undefined!\nPlease define device name!","Name dieses Gerätes undefiniert!\nBitte Namen angeben!" }, |
729 | { "Multiple profiles with same name!\nPlease use unique profile names!","Mehrere Profile haben denselben Namen!\nBitte unterschiedliche Namen wählen!" }, | 729 | { "Multiple profiles with same name!\nPlease use unique profile names!","Mehrere Profile haben denselben Namen!\nBitte unterschiedliche Namen wählen!" }, |
730 | { "Access: ","Zugriff: " }, | 730 | { "Access: ","Zugriff: " }, |
731 | { "Needs Action","Aktion notwendig" }, | 731 | { "Needs Action","Aktion notwendig" }, |
732 | { "Accepted","Akzeptiert" }, | 732 | { "Accepted","Akzeptiert" }, |
733 | { "Declined","Abgelehnt" }, | 733 | { "Declined","Abgelehnt" }, |
734 | { "Tentative","Vorläufig" }, | 734 | { "Tentative","Vorläufig" }, |
735 | { "Delegated","Beauftragt" }, | 735 | { "Delegated","Beauftragt" }, |
736 | { "Completed","Vollständig" }, | 736 | { "Completed","Vollständig" }, |
737 | { "In Process","In Bearbeitung" }, | 737 | { "In Process","In Bearbeitung" }, |
738 | { "Participant","Teilnehmer" }, | 738 | { "Participant","Teilnehmer" }, |
739 | { "Optional Participant","Möglicher Teilnehmer" }, | 739 | { "Optional Participant","Möglicher Teilnehmer" }, |
740 | { "Observer","Beobachter" }, | 740 | { "Observer","Beobachter" }, |
741 | { "Chair","Vorsitzender" }, | 741 | { "Chair","Vorsitzender" }, |
742 | { "Not supported \non desktop!\n","" }, | 742 | { "Not supported \non desktop!\n","" }, |
743 | { "Nothing selected!\n\nThis prints the full width of the Agenda view as you see it!\n\nTo determine the vertical range of the printing, please select\na vertical range (with the left mouse button down) in one column. ","Es ist nichts selektiert!\nDieses druckt die volle Breite der Agenda View, so wie man sie sieht.\nUm die vertikale Auswahl zum Drucken zu bestimmen,\nbitte einen vertikalen Zeitraum (mit gedrückter linker Maustaste)\nin einer Spalte auswählen.\n(Es wird danach direkt der Termin Dialog angezeigt\n - dort bitte auf Abbrechen klicken) " }, | 743 | { "Nothing selected!\n\nThis prints the full width of the Agenda view as you see it!\n\nTo determine the vertical range of the printing, please select\na vertical range (with the left mouse button down) in one column. ","Es ist nichts selektiert!\nDieses druckt die volle Breite der Agenda View, so wie man sie sieht.\nUm die vertikale Auswahl zum Drucken zu bestimmen,\nbitte einen vertikalen Zeitraum (mit gedrückter linker Maustaste)\nin einer Spalte auswählen.\n(Es wird danach direkt der Termin Dialog angezeigt\n - dort bitte auf Abbrechen klicken) " }, |
744 | { "Date range: ","Datums Zeitspanne: " }, | 744 | { "Date range: ","Datums Zeitspanne: " }, |
745 | { "Not supported \non PDA!\n","Nicht verfügbar\nauf dem PDA. " }, | 745 | { "Not supported \non PDA!\n","Nicht verfügbar\nauf dem PDA. " }, |
746 | { "Syncing - close to abort!","Syncing-schließe um abzubrechen." }, | 746 | { "Syncing - close to abort!","Syncing-schließe um abzubrechen." }, |
747 | { "Add / remove events","Add./entferne Termine" }, | 747 | { "Add / remove events","Add./entferne Termine" }, |
748 | { "File does not exist:\n '%1'.","Datei existiert nicht:\n '%1'." }, | 748 | { "File does not exist:\n '%1'.","Datei existiert nicht:\n '%1'." }, |
749 | { "Couldn't load calendar\n '%1'.","Kann Kalender nicht laden:\n '%1'." }, | 749 | { "Couldn't load calendar\n '%1'.","Kann Kalender nicht laden:\n '%1'." }, |
750 | { "\nThe file on disk has changed!\nFile size: %1 bytes.\nLast modified: %2\nDo you want to:\n\n - Save and overwrite file?\n - Sync with file, then save?\n - Cancel without saving? \n","\nDie gepeicherte Datei wurde verändert!\nDatei Grösse: %1 Bytes.\nZuletzt geändert: %2\nMöchten Sie:\n\n - Speichern und die Datei überschreiben?\n - Mit Datei Synchronisieren, dann speichern?\n - Abbrechen ohne zu speichern? \n" }, | 750 | { "\nThe file on disk has changed!\nFile size: %1 bytes.\nLast modified: %2\nDo you want to:\n\n - Save and overwrite file?\n - Sync with file, then save?\n - Cancel without saving? \n","\nDie gepeicherte Datei wurde verändert!\nDatei Grösse: %1 Bytes.\nZuletzt geändert: %2\nMöchten Sie:\n\n - Speichern und die Datei überschreiben?\n - Mit Datei Synchronisieren, dann speichern?\n - Abbrechen ohne zu speichern? \n" }, |
751 | { "Overwrite","Überschreiben" }, | 751 | { "Overwrite","Überschreiben" }, |
752 | { "Sync+save","Syncen+speichern" }, | 752 | { "Sync+save","Syncen+speichern" }, |
753 | { "Default","Standard" }, | 753 | { "Default","Standard" }, |
754 | { " Categories added to list! "," Kategorien zur Liste hinzugefügt! " }, | 754 | { " Categories added to list! "," Kategorien zur Liste hinzugefügt! " }, |
755 | { " %d items?"," %d Einträge?" }, | 755 | { " %d items?"," %d Einträge?" }, |
756 | { "\nThis event recurs\nover multiple dates.\nAre you sure you want\nto delete this event\nand all its recurrences?","\nDieses ist ein\nwiederholender Termin!.\nSind Sie sicher, dass Sie\ndiesen Termin und alle\nWiederholungen löschen möchten?" }, | 756 | { "\nThis event recurs\nover multiple dates.\nAre you sure you want\nto delete this event\nand all its recurrences?","\nDieses ist ein\nwiederholender Termin!.\nSind Sie sicher, dass Sie\ndiesen Termin und alle\nWiederholungen löschen möchten?" }, |
757 | { " ?\n\nDelete:\n"," ?\n\nLösche:\n" }, | 757 | { " ?\n\nDelete:\n"," ?\n\nLösche:\n" }, |
758 | { "Current","Aktuelle" }, | 758 | { "Current","Aktuelle" }, |
759 | { "\nThis event recurs\nover multiple dates.\nDo you want to delete\nall it's recurrences,\nor only the current one on:\n","\nDieses ist ein\nwiederholender Termin!\nMöchten sie alle Wiederholungen\nlöschen, oder nur die aktuelle am:\n" }, | 759 | { "\nThis event recurs\nover multiple dates.\nDo you want to delete\nall it's recurrences,\nor only the current one on:\n","\nDieses ist ein\nwiederholender Termin!\nMöchten sie alle Wiederholungen\nlöschen, oder nur die aktuelle am:\n" }, |
760 | { "All","Alle" }, | 760 | { "All","Alle" }, |
761 | { "Data Loss Warning","Datenverlust Warnung" }, | 761 | { "Data Loss Warning","Datenverlust Warnung" }, |
762 | { "Proceed","Weitermachen" }, | 762 | { "Proceed","Weitermachen" }, |
763 | { "The journal entries can not be\nexported to a vCalendar file.","Die Journal Einträge können\nnicht in eine vCalendar\nDatei exportiert werden!" }, | 763 | { "The journal entries can not be\nexported to a vCalendar file.","Die Journal Einträge können\nnicht in eine vCalendar\nDatei exportiert werden!" }, |
764 | { "Filter disabled ","Filter abgeschaltet" }, | 764 | { "Filter disabled ","Filter abgeschaltet" }, |
765 | { "Filter selected: ","Gewählter Filter: " }, | 765 | { "Filter selected: ","Gewählter Filter: " }, |
766 | { "Toggle Cancel","Gecancelt ändern" }, | 766 | { "Toggle Cancel","Gecancelt ändern" }, |
767 | { "&Toggle Cancel","Gecancel&t ändern" }, | 767 | { "&Toggle Cancel","Gecancel&t ändern" }, |
768 | { "Configure Toolbar","Konfiguriere Toolbar" }, | 768 | { "Configure Toolbar","Konfiguriere Toolbar" }, |
769 | { "Stretched TB","Gedehnte TB" }, | 769 | { "Stretched TB","Gedehnte TB" }, |
770 | { "Import file \n...%1\ndoes not exist!\nNothing imported!\n","Import Datei \n...%1\nexistiert nicht!\nNichts importiert!\n" }, | 770 | { "Import file \n...%1\ndoes not exist!\nNothing imported!\n","Import Datei \n...%1\nexistiert nicht!\nNichts importiert!\n" }, |
771 | { "Import filename(*.ics/*.vcs)","Import Dateiname(*.ics/*.vcs)" }, | 771 | { "Import filename(*.ics/*.vcs)","Import Dateiname(*.ics/*.vcs)" }, |
772 | { "When importing a calendar twice\nduplicated events will be ignored!\nYou can create a backup file with\nFile - Save Calendar Backup\nto revert importing","Wenn ein Kalender doppelt importiert\nwird, werden doppelte Einträge ignoriert!\nSie können eine Backup Datei anlegen unter\nDatei - Speichere Kalender Backup\num den Import rückgängig machen zu können.\n" }, | 772 | { "When importing a calendar twice\nduplicated events will be ignored!\nYou can create a backup file with\nFile - Save Calendar Backup\nto revert importing","Wenn ein Kalender doppelt importiert\nwird, werden doppelte Einträge ignoriert!\nSie können eine Backup Datei anlegen unter\nDatei - Speichere Kalender Backup\num den Import rückgängig machen zu können.\n" }, |
773 | { "Not supported \non desktop!\n","Nur verfügbar auf PDA!" }, | 773 | { "Not supported \non desktop!\n","Nur verfügbar auf PDA!" }, |
774 | { "Imported file successfully","Datei erfolgreich importiert" }, | 774 | { "Imported file successfully","Datei erfolgreich importiert" }, |
775 | { "Error importing file","Fehler beim Importieren der Datei" }, | 775 | { "Error importing file","Fehler beim Importieren der Datei" }, |
776 | { "Export vcal filename(*.vcs)","Export vcal Dateiname(*.vcs)" }, | 776 | { "Export vcal filename(*.vcs)","Export vcal Dateiname(*.vcs)" }, |
777 | { "Save file\nalready exists!\nOld save file from:\n%1\nOverwrite?\n","Zu speichernde Datei\existiert bereits!\nExist. Datei vom:\n%1\nÜberschreiben?\n" }, | 777 | { "Save file\nalready exists!\nOld save file from:\n%1\nOverwrite?\n","Zu speichernde Datei\existiert bereits!\nExist. Datei vom:\n%1\nÜberschreiben?\n" }, |
778 | { "Overwrite!","Überschreiben!" }, | 778 | { "Overwrite!","Überschreiben!" }, |
779 | { "Import file \n...%1\nfrom:\n%2\nDuplicated entries\nwill not be imported!\n","Import Datei \n...%1\nvom:\n%2\nDuplizierte Einträge\nwerden nicht importiert!\n" }, | 779 | { "Import file \n...%1\nfrom:\n%2\nDuplicated entries\nwill not be imported!\n","Import Datei \n...%1\nvom:\n%2\nDuplizierte Einträge\nwerden nicht importiert!\n" }, |
780 | { "Load backup filename","Lade Backup Dateiname" }, | 780 | { "Load backup filename","Lade Backup Dateiname" }, |
781 | { "Backup file\ndoes not exist!\nNothing loaded!","Backup Datei\nexistiert nicht!\nNichts geladen!" }, | 781 | { "Backup file\ndoes not exist!\nNothing loaded!","Backup Datei\nexistiert nicht!\nNichts geladen!" }, |
782 | { "KO/Pi:Loaded %1","KO/Pi:Geladen %1" }, | 782 | { "KO/Pi:Loaded %1","KO/Pi:Geladen %1" }, |
783 | { "Save backup filename","Speichere Backup Dateiname" }, | 783 | { "Save backup filename","Speichere Backup Dateiname" }, |
784 | { "Backup file\nalready exists!\nOld backup file from:\n%1\nOverwrite?\n","Backup Datei\nexistiert bereits!\nAlte Backup Datei vom:\n%1\nÜberschreiben?\n" }, | 784 | { "Backup file\nalready exists!\nOld backup file from:\n%1\nOverwrite?\n","Backup Datei\nexistiert bereits!\nAlte Backup Datei vom:\n%1\nÜberschreiben?\n" }, |
785 | { "KO/Pi:Saved %1","KO/Pi:Gespeichert %1" }, | 785 | { "KO/Pi:Saved %1","KO/Pi:Gespeichert %1" }, |
786 | { "Details of attendee","Teilnehmerdetails" }, | 786 | { "Details of attendee","Teilnehmerdetails" }, |
787 | { "Work phone:\n","Telefon Arbeit:\n" }, | 787 | { "Work phone:\n","Telefon Arbeit:\n" }, |
788 | { "Work mobile phone:\n","Mobiltelefon Arbeit:\n" }, | 788 | { "Work mobile phone:\n","Mobiltelefon Arbeit:\n" }, |
789 | { "Home phone:\n","Telefon privat:\n" }, | 789 | { "Home phone:\n","Telefon privat:\n" }, |
790 | { "Mobile home phone:\n","Mobiltelefon privat:\n" }, | 790 | { "Mobile home phone:\n","Mobiltelefon privat:\n" }, |
791 | { "Email:\n","Email:\n" }, | 791 | { "Email:\n","Email:\n" }, |
792 | { "Alarm disabled for this item","Alarm deaktiviert für dieses Item" }, | 792 | { "Alarm disabled for this item","Alarm deaktiviert für dieses Item" }, |
793 | { "Audio Al.: ","Audio Al.: " }, | 793 | { "Audio Al.: ","Audio Al.: " }, |
794 | { "Proc.Al.: ","Proz.Al.: " }, | 794 | { "Proc.Al.: ","Proz.Al.: " }, |
795 | { "No sound set","Kein Sound definiert" }, | 795 | { "No sound set","Kein Sound definiert" }, |
796 | { "*.wav|Wav Files","*.wav|Wav Dateien" }, | 796 | { "*.wav|Wav Files","*.wav|Wav Dateien" }, |
797 | { "No program set","Kein Programm definiert" }, | 797 | { "No program set","Kein Programm definiert" }, |
798 | { "Running '%1'","Ausführen '%1'" }, | 798 | { "Running '%1'","Ausführen '%1'" }, |
799 | { "Playing '%1'","Abspielen '%1'" }, | 799 | { "Playing '%1'","Abspielen '%1'" }, |
800 | { "User defined (usertranslation.txt)","Benutzerdefiniert (usertranslation.txt)" }, | 800 | { "User defined (usertranslation.txt)","Benutzerdefiniert (usertranslation.txt)" }, |
801 | { "Load!","Laden!" }, | 801 | { "Load!","Laden!" }, |
802 | { "Backup file from:\n%1\nLoading backup\nfile will delete\nyour current Data!\n","Backup Datei vom:\n%1\nDas Laden der Backup Datei\nlöscht die aktuellen Daten!\n" }, | 802 | { "Backup file from:\n%1\nLoading backup\nfile will delete\nyour current Data!\n","Backup Datei vom:\n%1\nDas Laden der Backup Datei\nlöscht die aktuellen Daten!\n" }, |
803 | { "KO/Pi Features and hints","KO/Pi Eigenschaften und Tipps" }, | 803 | { "KO/Pi Features and hints","KO/Pi Eigenschaften und Tipps" }, |
804 | { "KO/Pi User translation HowTo","KO/Pi Benutzer-Übersetzung HowTo" }, | 804 | { "KO/Pi User translation HowTo","KO/Pi Benutzer-Übersetzung HowTo" }, |
805 | { "KO/Pi Synchronization HowTo","KO/Pi Synchronisation HowTo" }, | 805 | { "KO/Pi Synchronization HowTo","KO/Pi Synchronisation HowTo" }, |
806 | { "Features + hints...","Eigenschaften + Tipps..." }, | 806 | { "Features + hints...","Eigenschaften + Tipps..." }, |
807 | { "User translation...","Benutzer Übersetzung..." }, | 807 | { "User translation...","Benutzer Übersetzung..." }, |
808 | { "Sync HowTo...","Synchronisation HowTo..." }, | 808 | { "Sync HowTo...","Synchronisation HowTo..." }, |
809 | { "Print calendar...","Drucke Kalender..." }, | 809 | { "Print calendar...","Drucke Kalender..." }, |
810 | { "Anniversary","Jahrestag" }, | 810 | { "Anniversary","Jahrestag" }, |
811 | { "When importing birthdays twice\nduplicated events will be ignored,\nif the event has not been\nchanged in KO/Pi!\n","Wenn Geburtstage mehrfach importiert\nwerden, werden doppelte Einträge ignoriert\nwenn sie nicht verändert wurden.\n" }, | 811 | { "When importing birthdays twice\nduplicated events will be ignored,\nif the event has not been\nchanged in KO/Pi!\n","Wenn Geburtstage mehrfach importiert\nwerden, werden doppelte Einträge ignoriert\nwenn sie nicht verändert wurden.\n" }, |
812 | { "Import Birthdays (KA/Pi)","Importiere Geburtstage (KA/Pi)" }, | 812 | { "Import Birthdays (KA/Pi)","Importiere Geburtstage (KA/Pi)" }, |
813 | { "Next recurrence is on: ","Nächste Wiederholung ist am:" }, | 813 | { "Next recurrence is on: ","Nächste Wiederholung ist am:" }, |
814 | { "<b>Alarm on: </b>","<b>Alarm am: </b>" }, | 814 | { "<b>Alarm on: </b>","<b>Alarm am: </b>" }, |
815 | { "<b>Access: </b>","<b>Zugriff: </b>" }, | 815 | { "<b>Access: </b>","<b>Zugriff: </b>" }, |
816 | { "(%1 min before)","(%1 min vorher)" }, | 816 | { "(%1 min before)","(%1 min vorher)" }, |
817 | { "<b>Categories: </b>","<b>Kategorien: </b>" }, | 817 | { "<b>Categories: </b>","<b>Kategorien: </b>" }, |
818 | { "Save Journal/Description...","Speichere Journal/Details..." }, | 818 | { "Save Journal/Description...","Speichere Journal/Details..." }, |
819 | { "This saves the text/details of selected\nJournals and Events/Todos\nto a text file.","Das speichert den Text bzw.\ndie Details von selektierten\nJournalen und Events/Todos\nin eine Textdatei." }, | 819 | { "This saves the text/details of selected\nJournals and Events/Todos\nto a text file.","Das speichert den Text bzw.\ndie Details von selektierten\nJournalen und Events/Todos\nin eine Textdatei." }, |
820 | { "Continue","Weitermachen" }, | 820 | { "Continue","Weitermachen" }, |
821 | { " birthdays/anniversaries added!"," Geburts-/Jahrestage hinzugefügt" }, | 821 | { " birthdays/anniversaries added!"," Geburts-/Jahrestage hinzugefügt" }, |
822 | { "Attendee:","Teilnehmer:" }, | 822 | { "Attendee:","Teilnehmer:" }, |
823 | { "Click OK to search ->","Klicke zum Suchen auf OK ->" }, | 823 | { "Click OK to search ->","Klicke zum Suchen auf OK ->" }, |
824 | { "On day ","Am Tag " }, | 824 | { "On day ","Am Tag " }, |
825 | { "%1 of ","%1 des Monats" }, | 825 | { "%1 of ","%1 des Monats" }, |
826 | { "%1 of the year","%1 des Jahres" }, | 826 | { "%1 of the year","%1 des Jahres" }, |
827 | { "Anonymous","Anonymo" }, | 827 | { "Anonymous","Anonymo" }, |
828 | { "nobody@nowhere","niemand@nirgendwo" }, | 828 | { "nobody@nowhere","niemand@nirgendwo" }, |
829 | { "calendar.html","calendar.html" }, | 829 | { "calendar.html","calendar.html" }, |
830 | { " Local Time"," Locale Zeit" }, | 830 | { " Local Time"," Locale Zeit" }, |
831 | { "Unknown Name","Unbekannter Name" }, | 831 | { "Unknown Name","Unbekannter Name" }, |
832 | { "unknown@nowhere","unbekannt@nirgendwo" }, | 832 | { "unknown@nowhere","unbekannt@nirgendwo" }, |
833 | { "Beam via IR!","Beam via IR!" }, | 833 | { "Beam via IR!","Beam via IR!" }, |
834 | { "Next Month","Nächster Monat" }, | 834 | { "Next Month","Nächster Monat" }, |
835 | { "Prio","Prio" }, | 835 | { "Prio","Prio" }, |
836 | { "Reparent Todo","Mache Sub-Todo" }, | 836 | { "Reparent Todo","Mache Sub-Todo" }, |
837 | { "tomorrow","morgen" }, | 837 | { "tomorrow","morgen" }, |
838 | { "today","heute" }, | 838 | { "today","heute" }, |
839 | { "yesterday","gestern" }, | 839 | { "yesterday","gestern" }, |
840 | { "Ok","Ok" }, | 840 | { "Ok","Ok" }, |
841 | { "Ok+Agenda","Ok+Agenda" }, | 841 | { "Ok+Agenda","Ok+Agenda" }, |
842 | { "Email","Email" }, | 842 | { "Email","Email" }, |
843 | { "RSVP","RSVP" }, | 843 | { "RSVP","RSVP" }, |
844 | { "Email:","Email:" }, | 844 | { "Email:","Email:" }, |
845 | { "Appointment Time ","Termin Zeit " }, | 845 | { "Appointment Time ","Termin Zeit " }, |
846 | { "2","2" }, | 846 | { "2","2" }, |
847 | { "3","3" }, | 847 | { "3","3" }, |
848 | { "4","4" }, | 848 | { "4","4" }, |
849 | { " 0 %"," 0 %" }, | 849 | { " 0 %"," 0 %" }, |
850 | { " 20 %"," 20 %" }, | 850 | { " 20 %"," 20 %" }, |
851 | { " 40 %"," 40 %" }, | 851 | { " 40 %"," 40 %" }, |
852 | { " 60 %"," 60 %" }, | 852 | { " 60 %"," 60 %" }, |
853 | { " 80 %"," 80 %" }, | 853 | { " 80 %"," 80 %" }, |
854 | { "100 %","100 %" }, | 854 | { "100 %","100 %" }, |
855 | { "Filter","Filter" }, | 855 | { "Filter","Filter" }, |
856 | { "Configure","Konfiguriere" }, | 856 | { "Configure","Konfiguriere" }, |
857 | { "What's Next","What's Next" }, | 857 | { "What's Next","What's Next" }, |
858 | { "Complete calendar...","Kompletten Kalender..." }, | 858 | { "Complete calendar...","Kompletten Kalender..." }, |
859 | { "Filtered calendar...","Gefilterten Kalender..." }, | 859 | { "Filtered calendar...","Gefilterten Kalender..." }, |
860 | { "Export to phone","Exportiere zum Handy" }, | 860 | { "Export to phone","Exportiere zum Handy" }, |
861 | { "Beam receive enabled","Beam Empfang an" }, | 861 | { "Beam receive enabled","Beam Empfang an" }, |
862 | { "What's new?","Was ist neu?" }, | 862 | { "What's new?","Was ist neu?" }, |
863 | { "FAQ...","FAQ..." }, | 863 | { "FAQ...","FAQ..." }, |
864 | { "Licence...","Licence..." }, | 864 | { "Licence...","Licence..." }, |
865 | { "What's This?","What's This?" }, | 865 | { "What's This?","What's This?" }, |
866 | { "&Edit...","&Editiere..." }, | 866 | { "&Edit...","&Editiere..." }, |
867 | { "Oktober","Oktober" }, | 867 | { "Oktober","Oktober" }, |
868 | { "Title","Titel" }, | 868 | { "Title","Titel" }, |
869 | { "%1 %","%1 %" }, | 869 | { "%1 %","%1 %" }, |
870 | { "Enable Pi-Sync","Schalte Pi-Sync an" }, | 870 | { "Enable Pi-Sync","Schalte Pi-Sync an" }, |
871 | { "Import!","Importiere!" }, | 871 | { "Import!","Importiere!" }, |
872 | { "inserting birthdays - close to abort!","Burzeltage werden eingefügt - schließe um abzubrechen!" }, | 872 | { "inserting birthdays - close to abort!","Burzeltage werden eingefügt - schließe um abzubrechen!" }, |
873 | { "Export to phone options","Export ans Handy Optionen" }, | 873 | { "Export to phone options","Export ans Handy Optionen" }, |
874 | { "Please read Help-Sync Howto\nto know what settings to use.","Bitte lese Hilfe-Sync Howto\num zu erfahren welche Einstellungen\ndie richtigen sind." }, | 874 | { "Please read Help-Sync Howto\nto know what settings to use.","Bitte lese Hilfe-Sync Howto\num zu erfahren welche Einstellungen\ndie richtigen sind." }, |
875 | { "I/O device: ","I/O device: " }, | 875 | { "I/O device: ","I/O device: " }, |
876 | { "Connection: ","Connection: " }, | 876 | { "Connection: ","Connection: " }, |
877 | { "Model(opt.): ","Model(opt.): " }, | 877 | { "Model(opt.): ","Model(opt.): " }, |
878 | { "Write back events in future only","Schreibe nur zukünftige Termine zurück" }, | 878 | { "Write back events in future only","Schreibe nur zukünftige Termine zurück" }, |
879 | { "Max. weeks in future: ","Max. Wochen in der Zukunft: " }, | 879 | { "Max. weeks in future: ","Max. Wochen in der Zukunft: " }, |
880 | { "NOTE: This will remove all old\ntodo/calendar data on phone!","ACHTUNG: Das löscht alle alten\nTodo/Kalender Daten auf dem Handy!" }, | 880 | { "NOTE: This will remove all old\ntodo/calendar data on phone!","ACHTUNG: Das löscht alle alten\nTodo/Kalender Daten auf dem Handy!" }, |
881 | { "Export to mobile phone!","Exportiere auf das Handy!" }, | 881 | { "Export to mobile phone!","Exportiere auf das Handy!" }, |
882 | { "Export complete calendar","Exportiere kompletten Kalender" }, | 882 | { "Export complete calendar","Exportiere kompletten Kalender" }, |
883 | { "Writing to phone...","Sende Daten ans Handy..." }, | 883 | { "Writing to phone...","Sende Daten ans Handy..." }, |
884 | { " This may take 1-3 minutes!"," Das kann 1-3 Minuten dauern!" }, | 884 | { " This may take 1-3 minutes!"," Das kann 1-3 Minuten dauern!" }, |
885 | { "Retry","Nochmal versuchen" }, | 885 | { "Retry","Nochmal versuchen" }, |
886 | { "KDE/Pim phone access","KDE/Pim Handy Zugriff" }, | 886 | { "KDE/Pim phone access","KDE/Pim Handy Zugriff" }, |
887 | { "Error accessing device!\nPlease turn on connection\nand retry!","Fehler beim Zugriff auf das Gerät!\nBitte die Verbindung aktivieren\nund nochmal versuchen!" }, | 887 | { "Error accessing device!\nPlease turn on connection\nand retry!","Fehler beim Zugriff auf das Gerät!\nBitte die Verbindung aktivieren\nund nochmal versuchen!" }, |
888 | { "Error exporting to phone!","Fehler beim Export auf das Handy!" }, | 888 | { "Error exporting to phone!","Fehler beim Export auf das Handy!" }, |
889 | { "Export filtered calendar","Exportiere gefilterten Kalender" }, | 889 | { "Export filtered calendar","Exportiere gefilterten Kalender" }, |
890 | { "Preferences","Vorlieben" }, | 890 | { "Preferences","Vorlieben" }, |
891 | { "Global","Global" }, | 891 | { "Global","Global" }, |
892 | { "Phone","Phone" }, | 892 | { "Phone","Phone" }, |
893 | { "SMS","SMS" }, | 893 | { "SMS","SMS" }, |
894 | { "Fax","Fax" }, | 894 | { "Fax","Fax" }, |
895 | { "Pager","Pager" }, | 895 | { "Pager","Pager" }, |
896 | { "SIP","SIP" }, | 896 | { "SIP","SIP" }, |
897 | { "Italian","Italienisch" }, | 897 | { "Italian","Italienisch" }, |
898 | { "24:00","24:00" }, | 898 | { "24:00","24:00" }, |
899 | { "12:00am","12:00am" }, | 899 | { "12:00am","12:00am" }, |
900 | { "24.03.2004 (%d.%m.%Y|%A %d %B %Y)","24.03.2004 (%d.%m.%Y|%A %d %B %Y)" }, | 900 | { "24.03.2004 (%d.%m.%Y|%A %d %B %Y)","24.03.2004 (%d.%m.%Y|%A %d %B %Y)" }, |
901 | { "03.24.2004 (%m.%d.%Y|%A %B %d %Y)","03.24.2004 (%m.%d.%Y|%A %B %d %Y)" }, | 901 | { "03.24.2004 (%m.%d.%Y|%A %B %d %Y)","03.24.2004 (%m.%d.%Y|%A %B %d %Y)" }, |
902 | { "2004-03-24 (%Y-%m-%d|%A %Y %B %d)","2004-03-24 (%Y-%m-%d|%A %Y %B %d)" }, | 902 | { "2004-03-24 (%Y-%m-%d|%A %Y %B %d)","2004-03-24 (%Y-%m-%d|%A %Y %B %d)" }, |
903 | { "Mon 19.04.04: %a %d.%m.%y","Mon 19.04.04: %a %d.%m.%y" }, | 903 | { "Mon 19.04.04: %a %d.%m.%y","Mon 19.04.04: %a %d.%m.%y" }, |
904 | { "Mon, 19.Apr.04: %a, %d.%b.%y","Mon, 19.Apr.04: %a, %d.%b.%y" }, | 904 | { "Mon, 19.Apr.04: %a, %d.%b.%y","Mon, 19.Apr.04: %a, %d.%b.%y" }, |
905 | { "Add 30 min to selected Timezone","Addiere 30 min zur Zeitzone" }, | 905 | { "Add 30 min to selected Timezone","Addiere 30 min zur Zeitzone" }, |
906 | { "Used Mail Client","Benutzter Mail Client" }, | 906 | { "Used Mail Client","Benutzter Mail Client" }, |
907 | { "Channel:","Channel:" }, | 907 | { "Channel:","Channel:" }, |
908 | { "Message:","Message:" }, | 908 | { "Message:","Message:" }, |
909 | { "Parameters:","Parameter:" }, | 909 | { "Parameters:","Parameter:" }, |
910 | { "HINT: Delimiter=; Name=%1,Email=%2","Hinweis: Begrenzer=; Name=%1,Email=%2" }, | 910 | { "HINT: Delimiter=; Name=%1,Email=%2","Hinweis: Begrenzer=; Name=%1,Email=%2" }, |
911 | { "extra Message:","extra Message:" }, | 911 | { "extra Message:","extra Message:" }, |
912 | { "extra Parameters:","extra Parameter:" }, | 912 | { "extra Parameters:","extra Parameter:" }, |
913 | { "HINT: Emails=%1,Attachments=%2","Hinweis: Emails=%1,Attachments=%2" }, | 913 | { "HINT: Emails=%1,Attachments=%2","Hinweis: Emails=%1,Attachments=%2" }, |
914 | { "External Apps.","Externe Appl." }, | 914 | { "External Apps.","Externe Appl." }, |
915 | { "24 hours","24 Std." }, | 915 | { "24 hours","24 Std." }, |
916 | { "3 hours","3 Std." }, | 916 | { "3 hours","3 Std." }, |
917 | { "1 hour","1 Std." }, | 917 | { "1 hour","1 Std." }, |
918 | { "15 minutes","15 Min." }, | 918 | { "15 minutes","15 Min." }, |
919 | { "5 minutes","5 Min." }, | 919 | { "5 minutes","5 Min." }, |
920 | { "1 minute","1 Min." }, | 920 | { "1 minute","1 Min." }, |
921 | { "23","23" }, | 921 | { "23","23" }, |
922 | { "Mon 15","Mon 15" }, | 922 | { "Mon 15","Mon 15" }, |
923 | { "Configure KO","Konfiguriere KO" }, | 923 | { "Configure KO","Konfiguriere KO" }, |
924 | { "Event text","Termin Text" }, | 924 | { "Event text","Termin Text" }, |
925 | { "ToDo","Todo" }, | 925 | { "ToDo","Todo" }, |
926 | { "Today","Heute" }, | 926 | { "Today","Heute" }, |
927 | { "What's Next View","What's Next Ansicht" }, | 927 | { "What's Next View","What's Next Ansicht" }, |
928 | { "Allday Agenda view shows todos","Ganztag Agenda zeigt Todos" }, | 928 | { "Allday Agenda view shows todos","Ganztag Agenda zeigt Todos" }, |
929 | { "Alarm","Alarm" }, | 929 | { "Alarm","Alarm" }, |
930 | { "Used %1 Client","Benutzter %1 Client" }, | 930 | { "Used %1 Client","Benutzter %1 Client" }, |
931 | { "No email client installed","Kein Email Klient installiert" }, | 931 | { "No email client installed","Kein Email Klient installiert" }, |
932 | { "Userdefined email client","Benutzerdef. Email Klient" }, | 932 | { "Userdefined email client","Benutzerdef. Email Klient" }, |
933 | { "OM/Pi email client","OM/Pi Email Klient" }, | 933 | { "OM/Pi email client","OM/Pi Email Klient" }, |
934 | { "Include in multiple ","Beziehe in multiple " }, | 934 | { "Include in multiple ","Beziehe in multiple " }, |
935 | { "calendar ","Kalender " }, | 935 | { "calendar ","Kalender " }, |
936 | { "addressbook ","Adressbuch " }, | 936 | { "addressbook ","Adressbuch " }, |
937 | { "pwmanager","PWmanager" }, | 937 | { "pwmanager","PWmanager" }, |
938 | { " sync"," Sync ein" }, | 938 | { " sync"," Sync ein" }, |
939 | { "Write back synced data","Schreibe gesyncte Daten zurück" }, | 939 | { "Write back synced data","Schreibe gesyncte Daten zurück" }, |
940 | { "-- Write back (on remote) existing entries only","-- Schreibe nur existierende (entfernte) Einträge zurück" }, | 940 | { "-- Write back (on remote) existing entries only","-- Schreibe nur existierende (entfernte) Einträge zurück" }, |
941 | { "-- Write back (calendar) entries in future only","-- Schreibe nur zukünftige Kalender-Einträge zurück" }, | 941 | { "-- Write back (calendar) entries in future only","-- Schreibe nur zukünftige Kalender-Einträge zurück" }, |
942 | { "---- Max. weeks in future: ","---- Max. wochen in der Zukunft: " }, | 942 | { "---- Max. weeks in future: ","---- Max. wochen in der Zukunft: " }, |
943 | { "Pi-Sync ( direct Kx/Pi to Kx/Pi sync )","Pi-Sync ( direktes Kx/Pi zu Kx/Pi sync )" }, | 943 | { "Pi-Sync ( direct Kx/Pi to Kx/Pi sync )","Pi-Sync ( direktes Kx/Pi zu Kx/Pi sync )" }, |
944 | { "Mobile device (cell phone)","Mobiles Gerät (Handy)" }, | 944 | { "Mobile device (cell phone)","Mobiles Gerät (Handy)" }, |
945 | { "Help...","Hilfe..." }, | 945 | { "Help...","Hilfe..." }, |
946 | { "Local file Cal:","Lokale Datei Kal:" }, | 946 | { "Local file Cal:","Lokale Datei Kal:" }, |
947 | { "Local file ABook:","Lokale Datei ABuch:" }, | 947 | { "Local file ABook:","Lokale Datei ABuch:" }, |
948 | { "Local file PWMgr:","Lokale Datei PWMgr:" }, | 948 | { "Local file PWMgr:","Lokale Datei PWMgr:" }, |
949 | { "Addressbook file (*.vcf) is used by KA/Pi","Adressbuch Datei (*.vcf) wird von KA/Pi genutzt" }, | 949 | { "Addressbook file (*.vcf) is used by KA/Pi","Adressbuch Datei (*.vcf) wird von KA/Pi genutzt" }, |
950 | { "Calendar:","Kalender:" }, | 950 | { "Calendar:","Kalender:" }, |
951 | { "AddressBook:","AdressBuch:" }, | 951 | { "AddressBook:","AdressBuch:" }, |
952 | { "PWManager:","PWManager:" }, | 952 | { "PWManager:","PWManager:" }, |
953 | { "Addressbook file is used by KA/Pi","Adressbuch Datei wird von KA/Pi genutzt" }, | 953 | { "Addressbook file is used by KA/Pi","Adressbuch Datei wird von KA/Pi genutzt" }, |
954 | { "ssh/scp","ssh/scp" }, | 954 | { "ssh/scp","ssh/scp" }, |
955 | { "ftp","ftp" }, | 955 | { "ftp","ftp" }, |
956 | { "Password for remote access: (could be the same for each)","Passwort für entfernten Zugriff: (kann dasselbe sein für alle)" }, | 956 | { "Password for remote access: (could be the same for each)","Passwort für entfernten Zugriff: (kann dasselbe sein für alle)" }, |
957 | { "Remote IP address: (could be the same for each)","Entfernte IP Adresse: (kann dasselbe sein für alle)" }, | 957 | { "Remote IP address: (could be the same for each)","Entfernte IP Adresse: (kann dasselbe sein für alle)" }, |
958 | { "Remote port number: (should be different for each)","Entfernte Port Nummer: (Sollte für alle unterschiedlich sein)" }, | 958 | { "Remote port number: (should be different for each)","Entfernte Port Nummer: (Sollte für alle unterschiedlich sein)" }, |
959 | { "command for downloading remote file to local device","Kommando zum Download der entfernten Datei zum lokalen Gerät" }, | 959 | { "command for downloading remote file to local device","Kommando zum Download der entfernten Datei zum lokalen Gerät" }, |
960 | { "command for uploading local temp file to remote device","Kommando zum Upload der lokalen temp. Datei zum entfernten Gerät" }, | 960 | { "command for uploading local temp file to remote device","Kommando zum Upload der lokalen temp. Datei zum entfernten Gerät" }, |
961 | { "Insert device where\nphone is connected. E.g.:\n","Füge Device ein, an dem\ndas Handy angeschlossen ist. Z.B.:\n" }, | 961 | { "Insert device where\nphone is connected. E.g.:\n","Füge Device ein, an dem\ndas Handy angeschlossen ist. Z.B.:\n" }, |
962 | { "KDE-Pim sync config","KDE-Pim sync Konfig" }, | 962 | { "KDE-Pim sync config","KDE-Pim sync Konfig" }, |
963 | { "Insert kind of connection,e.g.:\n","Füge Art der Verbindung ein,z.B.:\n" }, | 963 | { "Insert kind of connection,e.g.:\n","Füge Art der Verbindung ein,z.B.:\n" }, |
964 | { "Recommended: Leave empty!\n(Such that model can\nbe auto detected)\nOr insert name of model:\n","Empfohlen: Leer lassen!\n(So dass das Model\nautomatisch erkannt\nwerden kann)\nOder füge Model Name ein:\n" }, | 964 | { "Recommended: Leave empty!\n(Such that model can\nbe auto detected)\nOr insert name of model:\n","Empfohlen: Leer lassen!\n(So dass das Model\nautomatisch erkannt\nwerden kann)\nOder füge Model Name ein:\n" }, |
965 | { "Port number (Default: %1)","Port Nummer (Default: %1)" }, | 965 | { "Port number (Default: %1)","Port Nummer (Default: %1)" }, |
966 | { "Password to enable\naccess from remote:","Passwort um entfernten\nZugriff zuzulassen:" }, | 966 | { "Password to enable\naccess from remote:","Passwort um entfernten\nZugriff zuzulassen:" }, |
967 | { "Automatically start\nat application startup","Starte automatisch\nbeim Programmstart" }, | 967 | { "Automatically start\nat application startup","Starte automatisch\nbeim Programmstart" }, |
968 | { "Automatically sync\nwith KDE-Desktop","Automatischer Sync\nmit dem KDE-Desktop" }, | 968 | { "Automatically sync\nwith KDE-Desktop","Automatischer Sync\nmit dem KDE-Desktop" }, |
969 | { "Enter port for Pi-Sync","Port Nummer für Pi-Sync" }, | 969 | { "Enter port for Pi-Sync","Port Nummer für Pi-Sync" }, |
970 | { "Disable Pi-Sync","Schalte Pi-Sync aus" }, | 970 | { "Disable Pi-Sync","Schalte Pi-Sync aus" }, |
971 | { "Do you really want\nto multiple sync\nwith all checked profiles?\nSyncing takes some\ntime - all profiles\nare synced twice!","Wollen Sie wirklich\nmit allen selektierten\nProfilen \"Multi-Syncen\"?\nDas Syncen dauert einige Zeit -\nalle Profile werden zweimal gesynct!" }, | 971 | { "Do you really want\nto multiple sync\nwith all checked profiles?\nSyncing takes some\ntime - all profiles\nare synced twice!","Wollen Sie wirklich\nmit allen selektierten\nProfilen \"Multi-Syncen\"?\nDas Syncen dauert einige Zeit -\nalle Profile werden zweimal gesynct!" }, |
972 | { "KDE-Pim Sync","KDE-Pim Sync" }, | 972 | { "KDE-Pim Sync","KDE-Pim Sync" }, |
973 | { "Multiple profiles","Multi-Sync Profile" }, | 973 | { "Multiple profiles","Multi-Sync Profile" }, |
974 | { "Device: ","Gerät: " }, | 974 | { "Device: ","Gerät: " }, |
975 | { "Multiple sync started.","Multi-Sync gestartet." }, | 975 | { "Multiple sync started.","Multi-Sync gestartet." }, |
976 | { "Nothing synced! No profiles defined for multisync!","Nichts gesynct! Keine Profile\nselektiert für Multi-Sync" }, | 976 | { "Nothing synced! No profiles defined for multisync!","Nichts gesynct! Keine Profile\nselektiert für Multi-Sync" }, |
977 | { "Turn filter on","Schalte Filter an" }, | 977 | { "Turn filter on","Schalte Filter an" }, |
978 | { "Turn filter off","Schalte Filter aus" }, | 978 | { "Turn filter off","Schalte Filter aus" }, |
979 | { "Key bindings KOrganizer/Pi","Tastatur Belegung KOrganizer/Pi" }, | 979 | { "Key bindings KOrganizer/Pi","Tastatur Belegung KOrganizer/Pi" }, |
980 | { "<p><b>White</b>: Item readonly</p>\n","<p><b>Weiss</b>: Eintrag schreibgeschützt</p>\n" }, | 980 | { "<p><b>White</b>: Item readonly</p>\n","<p><b>Weiss</b>: Eintrag schreibgeschützt</p>\n" }, |
981 | { "<p><b>Dark yellow</b>: Event/todo with attendees.</p>\n","<p><b>Dunkelgelb</b>: Termin/Todo mit Teilnehmern.</p>\n" }, | 981 | { "<p><b>Dark yellow</b>: Event/todo with attendees.</p>\n","<p><b>Dunkelgelb</b>: Termin/Todo mit Teilnehmern.</p>\n" }, |
982 | { "<p><b>Black</b>: Event/todo with attendees. You are the organizer!</p>\n","<p><b>Schwarz</b>: Termin/Todo mit Teilnehmern. Sie sind der Organisator!</p>\n" }, | 982 | { "<p><b>Black</b>: Event/todo with attendees. You are the organizer!</p>\n","<p><b>Schwarz</b>: Termin/Todo mit Teilnehmern. Sie sind der Organisator!</p>\n" }, |
983 | { "<p><b>Dark green</b>: Information(description) available.([i] in WN view)</p>\n","<p><b>Dunkelgrün</b>: Information(Beschreibung) verfügbar.([i] in WN Ansicht)</p>\n" }, | 983 | { "<p><b>Dark green</b>: Information(description) available.([i] in WN view)</p>\n","<p><b>Dunkelgrün</b>: Information(Beschreibung) verfügbar.([i] in WN Ansicht)</p>\n" }, |
984 | { "<p><b>Blue</b>: Recurrent event.([r] in Whats'Next view)</p>\n","<p><b>Blau</b>: Wiederholender Termin.([r] in Whats'Next Ansicht)</p>\n" }, | 984 | { "<p><b>Blue</b>: Recurrent event.([r] in Whats'Next view)</p>\n","<p><b>Blau</b>: Wiederholender Termin.([r] in Whats'Next Ansicht)</p>\n" }, |
985 | { "<p><b>Red</b>: Alarm set.([a] in Whats'Next view)</p>\n","<p><b>Rot</b>: Alarm gesetzt.([a] in Whats'Next Ansicht)</p>\n" }, | 985 | { "<p><b>Red</b>: Alarm set.([a] in Whats'Next view)</p>\n","<p><b>Rot</b>: Alarm gesetzt.([a] in Whats'Next Ansicht)</p>\n" }, |
986 | { "<p><b>Cross</b>: Item cancelled.([c] in Whats'Next view)</p>\n","<p><b>Kreuz</b>: Eintrag gecancelt.([c] in Whats'Next Ansicht)</p>\n" }, | 986 | { "<p><b>Cross</b>: Item cancelled.([c] in Whats'Next view)</p>\n","<p><b>Kreuz</b>: Eintrag gecancelt.([c] in Whats'Next Ansicht)</p>\n" }, |
987 | { "<p><b>(for square icons in agenda and month view)</b></p>\n","<p><b>(für quadratische Icons in Agenda und Monats Ansicht)</b></p>\n" }, | 987 | { "<p><b>(for square icons in agenda and month view)</b></p>\n","<p><b>(für quadratische Icons in Agenda und Monats Ansicht)</b></p>\n" }, |
988 | { "<p><h2>KO/Pi icon colors:</h2></p>\n","<p><h2>KO/Pi Icon Farben:</h2></p>\n" }, | 988 | { "<p><h2>KO/Pi icon colors:</h2></p>\n","<p><h2>KO/Pi Icon Farben:</h2></p>\n" }, |
989 | { "<p><b>E</b>: Edit item</p>\n","<p><b>E</b>: Editiere Eintrag</p>\n" }, | 989 | { "<p><b>E</b>: Edit item</p>\n","<p><b>E</b>: Editiere Eintrag</p>\n" }, |
990 | { "<p><b>A</b>: Show agenda view.</p>\n","<p><b>A</b>: Zeige Agenda Ansicht.</p>\n" }, | 990 | { "<p><b>A</b>: Show agenda view.</p>\n","<p><b>A</b>: Zeige Agenda Ansicht.</p>\n" }, |
991 | { "<p><b>I,C</b>: Close dialog.</p>\n","<p><b>I,C</b>: Schließe Dialog.</p>\n" }, | 991 | { "<p><b>I,C</b>: Close dialog.</p>\n","<p><b>I,C</b>: Schließe Dialog.</p>\n" }, |
992 | { "<p><h3>In event/todo viewer:</h3></p>\n","<p><h3>In Termin/Todo Detail-Anzeige:</h3></p>\n" }, | 992 | { "<p><h3>In event/todo viewer:</h3></p>\n","<p><h3>In Termin/Todo Detail-Anzeige:</h3></p>\n" }, |
993 | { "<p><b>shift+up/down</b>: Goto first/last item</p>\n","<p><b>shift+up/down</b>: Gehe zum ersten/letzten Eintrag</p>\n" }, | 993 | { "<p><b>shift+up/down</b>: Goto first/last item</p>\n","<p><b>shift+up/down</b>: Gehe zum ersten/letzten Eintrag</p>\n" }, |
994 | { "<p><b>ctrl+up/down</b>: Goto up/down by 20% of items</p>\n","<p><b>ctrl+up/down</b>: Gehe hoch/runter 20% aller Einträge</p>\n" }, | 994 | { "<p><b>ctrl+up/down</b>: Goto up/down by 20% of items</p>\n","<p><b>ctrl+up/down</b>: Gehe hoch/runter 20% aller Einträge</p>\n" }, |
995 | { "<p><b>up/down</b>: Next/prev item</p>\n","<p><b>up/down</b>: Nächster/vorheriger Eintrag</p>\n" }, | 995 | { "<p><b>up/down</b>: Next/prev item</p>\n","<p><b>up/down</b>: Nächster/vorheriger Eintrag</p>\n" }, |
996 | { "<p><b>return+shift</b>: Deselect item+one step down</p>\n","<p><b>return+shift</b>: Deselektiere Item+Cursor einen Eintrag runter</p>\n" }, | 996 | { "<p><b>return+shift</b>: Deselect item+one step down</p>\n","<p><b>return+shift</b>: Deselektiere Item+Cursor einen Eintrag runter</p>\n" }, |
997 | { "<p><b>return</b>: Select item+one step down</p>\n","<p><b>return</b>: Selektiere Item+Cursor einen Eintrag runter</p>\n" }, | 997 | { "<p><b>return</b>: Select item+one step down</p>\n","<p><b>return</b>: Selektiere Item+Cursor einen Eintrag runter</p>\n" }, |
998 | { "<p><b>I</b>: Show info of current item+one step down.</p>\n","<p><b>I</b>: Zeige Detail-Ansicht vom sel.Eintrag+Cursor einen Eintrag runter.</p>\n" }, | 998 | { "<p><b>I</b>: Show info of current item+one step down.</p>\n","<p><b>I</b>: Zeige Detail-Ansicht vom sel.Eintrag+Cursor einen Eintrag runter.</p>\n" }, |
999 | { "<p><h3>In list view:</h3></p>\n","<p><h3>In Listen Ansicht:</h3></p>\n" }, | 999 | { "<p><h3>In list view:</h3></p>\n","<p><h3>In Listen Ansicht:</h3></p>\n" }, |
1000 | { "<p><b>return+shift</b>: Mark item as not completed+one step down</p>\n","<p><b>return+shift</b>: Markiere Todo als nicht erledigt+Cursor einen Eintrag runter</p>\n" }, | 1000 | { "<p><b>return+shift</b>: Mark item as not completed+one step down</p>\n","<p><b>return+shift</b>: Markiere Todo als nicht erledigt+Cursor einen Eintrag runter</p>\n" }, |
1001 | { "<p><b>return</b>: Mark item as completed+one step down.</p>\n","<p><b>return</b>: Markiere Todo als erledigt+Cursor einen Eintrag runter.</p>\n" }, | 1001 | { "<p><b>return</b>: Mark item as completed+one step down.</p>\n","<p><b>return</b>: Markiere Todo als erledigt+Cursor einen Eintrag runter.</p>\n" }, |
1002 | { "<p><b>Q</b>: Toggle quick todo line edit.</p>\n","<p><b>Q</b>: Zeige/verstecke Quick Todo Eingabe Zeile.</p>\n" }, | 1002 | { "<p><b>Q</b>: Toggle quick todo line edit.</p>\n","<p><b>Q</b>: Zeige/verstecke Quick Todo Eingabe Zeile.</p>\n" }, |
1003 | { "<p><b>shift+P</b>: Make new <b>P</b>arent for todo selected with shift+S</p>\n","<p><b>shift+P</b>: Mache Todo zum neuen <b>P</b>arent Todo für das Todo, welches mit shift+Sselektiert wurde.</p>\n" }, | 1003 | { "<p><b>shift+P</b>: Make new <b>P</b>arent for todo selected with shift+S</p>\n","<p><b>shift+P</b>: Mache Todo zum neuen <b>P</b>arent Todo für das Todo, welches mit shift+Sselektiert wurde.</p>\n" }, |
1004 | { "<p><b>shift+S</b>: Make <b>S</b>ubtodo (reparent todo)</p>\n","<p><b>shift+S</b>: Mache Todo zum <b>S</b>ubtodo</p>\n" }, | 1004 | { "<p><b>shift+S</b>: Make <b>S</b>ubtodo (reparent todo)</p>\n","<p><b>shift+S</b>: Mache Todo zum <b>S</b>ubtodo</p>\n" }, |
1005 | { "<p><b>shift+U</b>: <b>U</b>nparent todo (make root todo)</p>\n","<p><b>shift+U</b>: <b>U</b>nparent Todo (Mache Sub-Todo zum Toplevel Todo)</p>\n" }, | 1005 | { "<p><b>shift+U</b>: <b>U</b>nparent todo (make root todo)</p>\n","<p><b>shift+U</b>: <b>U</b>nparent Todo (Mache Sub-Todo zum Toplevel Todo)</p>\n" }, |
1006 | { "<p><h3>In todo view:</h3></p>\n","<p><h3>In Todo Anzige:</h3></p>\n" }, | 1006 | { "<p><h3>In todo view:</h3></p>\n","<p><h3>In Todo Anzige:</h3></p>\n" }, |
1007 | { "<p><b>ctrl+up/down</b>: Scroll small todo view</p>\n","<p><b>ctrl+up/down</b>: Scrolle kleine Todo Ansicht</p>\n" }, | 1007 | { "<p><b>ctrl+up/down</b>: Scroll small todo view</p>\n","<p><b>ctrl+up/down</b>: Scrolle kleine Todo Ansicht</p>\n" }, |
1008 | { "<p><b>up/down</b>: Scroll agenda view</p>\n","<p><b>up/down</b>: Scrolle Agenda Ansicht</p>\n" }, | 1008 | { "<p><b>up/down</b>: Scroll agenda view</p>\n","<p><b>up/down</b>: Scrolle Agenda Ansicht</p>\n" }, |
1009 | { "<p><h3>In agenda view:</h3></p>\n","<p><h3>In Agenda Ansicht:</h3></p>\n" }, | 1009 | { "<p><h3>In agenda view:</h3></p>\n","<p><h3>In Agenda Ansicht:</h3></p>\n" }, |
1010 | { "<p><b>del,backspace</b>: Delete selected item</p>\n","<p><b>del,backspace</b>: Lösche selektiertes Item</p>\n" }, | 1010 | { "<p><b>del,backspace</b>: Delete selected item</p>\n","<p><b>del,backspace</b>: Lösche selektiertes Item</p>\n" }, |
1011 | { "<p><b>left</b>: Prev. week | <b>left+ctrl</b>: Prev. month</p>\n","<p><b>left</b>: Vorh. Woche | <b>left+ctrl</b>: Vorh. Monat</p>\n" }, | 1011 | { "<p><b>left</b>: Prev. week | <b>left+ctrl</b>: Prev. month</p>\n","<p><b>left</b>: Vorh. Woche | <b>left+ctrl</b>: Vorh. Monat</p>\n" }, |
1012 | { "<p><b>right</b>: Next week | <b>right+ctrl</b>: Next month</p>\n","<p><b>right</b>: Nächste Woche | <b>right+ctrl</b>: Nächste Woche</p>\n" }, | 1012 | { "<p><b>right</b>: Next week | <b>right+ctrl</b>: Next month</p>\n","<p><b>right</b>: Nächste Woche | <b>right+ctrl</b>: Nächste Woche</p>\n" }, |
1013 | { "<p><b>B</b>: Edit description (details) of selected item</p>\n","<p><b>B</b>: Editiere Beschreibung (Details) des selektierten Items</p>\n" }, | 1013 | { "<p><b>B</b>: Edit description (details) of selected item</p>\n","<p><b>B</b>: Editiere Beschreibung (Details) des selektierten Items</p>\n" }, |
1014 | { "<p><b>C</b>: Show current time in agenda view</p>\n","<p><b>C</b>: Zeige aktuelle Zeit in Agenda Ansicht</p>\n" }, | 1014 | { "<p><b>C</b>: Show current time in agenda view</p>\n","<p><b>C</b>: Zeige aktuelle Zeit in Agenda Ansicht</p>\n" }, |
1015 | { "<p><b>+,-</b> : Zoom in/out agenda | <b>A</b>: Toggle allday agenda height</p>\n","<p><b>+,-</b> : Zoom rein/raus Agenda | <b>A</b>: Wechsle Ganztag Agenda Höhe</p>\n" }, | 1015 | { "<p><b>+,-</b> : Zoom in/out agenda | <b>A</b>: Toggle allday agenda height</p>\n","<p><b>+,-</b> : Zoom rein/raus Agenda | <b>A</b>: Wechsle Ganztag Agenda Höhe</p>\n" }, |
1016 | { "<p><b>S+ctrl</b>: Add sub-todo | <b>X+ctrl</b>: Toggle datenavigator</p>\n","<p><b>S+ctrl</b>: Füge Sub-Todo hinzu | <b>X+ctrl</b>: Zeige/verstecke Datumsnavigator</p>\n" }, | 1016 | { "<p><b>S+ctrl</b>: Add sub-todo | <b>X+ctrl</b>: Toggle datenavigator</p>\n","<p><b>S+ctrl</b>: Füge Sub-Todo hinzu | <b>X+ctrl</b>: Zeige/verstecke Datumsnavigator</p>\n" }, |
1017 | { "<p><b>T</b>: Goto today | <b>T+ctrl</b>: New Todo</p>\n","<p><b>T</b>: Gehe zu Heute | <b>T+ctrl</b>: Neues Todo</p>\n" }, | 1017 | { "<p><b>T</b>: Goto today | <b>T+ctrl</b>: New Todo</p>\n","<p><b>T</b>: Gehe zu Heute | <b>T+ctrl</b>: Neues Todo</p>\n" }, |
1018 | { "<p><b>E</b>: Edit selected item |<b> E+ctrl</b>: New Event</p>\n","<p><b>E</b>: Editiere selektiertes Item |<b> E+ctrl</b>: Neuer Termin</p>\n" }, | 1018 | { "<p><b>E</b>: Edit selected item |<b> E+ctrl</b>: New Event</p>\n","<p><b>E</b>: Editiere selektiertes Item |<b> E+ctrl</b>: Neuer Termin</p>\n" }, |
1019 | { "<p><b>D</b>: One day view | <b>M</b>: Month view</p>\n","<p><b>D</b>: Ein-Tages Ansicht | <b>M</b>: Monatsansicht</p>\n" }, | 1019 | { "<p><b>D</b>: One day view | <b>M</b>: Month view</p>\n","<p><b>D</b>: Ein-Tages Ansicht | <b>M</b>: Monatsansicht</p>\n" }, |
1020 | { "<p><b>Z,Y</b>: Work week view | <b>U</b>: Week view</p>\n","<p><b>Z,Y</b>: Arbeitswochenansicht | <b>U</b>: Wochenansicht</p>\n" }, | 1020 | { "<p><b>Z,Y</b>: Work week view | <b>U</b>: Week view</p>\n","<p><b>Z,Y</b>: Arbeitswochenansicht | <b>U</b>: Wochenansicht</p>\n" }, |
1021 | { "<p><b>V</b>: Todo view | <b>L</b>: Event list view</p>\n","<p><b>V</b>: Todo Ansicht | <b>L</b>: Termin Listen Ansicht</p>\n" }, | 1021 | { "<p><b>V</b>: Todo view | <b>L</b>: Event list view</p>\n","<p><b>V</b>: Todo Ansicht | <b>L</b>: Termin Listen Ansicht</p>\n" }, |
1022 | { "<p><b>X</b>: Next X days view| <b>W</b>: What's next view\n ","<p><b>X</b>: Nächste-X-Tage Ansicht | <b>W</b>: What's Next Ansicht\n " }, | 1022 | { "<p><b>X</b>: Next X days view| <b>W</b>: What's next view\n ","<p><b>X</b>: Nächste-X-Tage Ansicht | <b>W</b>: What's Next Ansicht\n " }, |
1023 | { "<p><b>1-0</b> (+<b>ctrl</b>): Select filter 1-10 (11-20)</p>\n","<p><b>1-0</b> (+<b>ctrl</b>): Selektiere Filter 1-10 (11-20)</p>\n" }, | 1023 | { "<p><b>1-0</b> (+<b>ctrl</b>): Select filter 1-10 (11-20)</p>\n","<p><b>1-0</b> (+<b>ctrl</b>): Selektiere Filter 1-10 (11-20)</p>\n" }, |
1024 | { "<p><b>O</b>: Filter On/Off | <b>J</b>: Journal view</p>\n","<p><b>O</b>: Filter An/Aus | <b>J</b>: Journal Ansicht</p>\n" }, | 1024 | { "<p><b>O</b>: Filter On/Off | <b>J</b>: Journal view</p>\n","<p><b>O</b>: Filter An/Aus | <b>J</b>: Journal Ansicht</p>\n" }, |
1025 | { "<p><b>F</b>: Toggle filterview |<b>F+ctrl</b>: Edit filter </p>\n","<p><b>F</b>: Zeige/verstecke Filter Ansicht |<b>F+ctrl</b>: Editiere Filter </p>\n" }, | 1025 | { "<p><b>F</b>: Toggle filterview |<b>F+ctrl</b>: Edit filter </p>\n","<p><b>F</b>: Zeige/verstecke Filter Ansicht |<b>F+ctrl</b>: Editiere Filter </p>\n" }, |
1026 | { "<p><b>Space</b>: Toggle fullscreen | <b>P</b>: Date picker</p>\n","<p><b>Space</b>: Zeige fullscreen | <b>P</b>: Datums Picker</p>\n" }, | 1026 | { "<p><b>Space</b>: Toggle fullscreen | <b>P</b>: Date picker</p>\n","<p><b>Space</b>: Zeige fullscreen | <b>P</b>: Datums Picker</p>\n" }, |
1027 | { "<p><b>I</b>: Show info for selected event/todo</p>\n","<p><b>I</b>: Zeige Info (Details) für selektiertes Item</p>\n" }, | 1027 | { "<p><b>I</b>: Show info for selected event/todo</p>\n","<p><b>I</b>: Zeige Info (Details) für selektiertes Item</p>\n" }, |
1028 | { "<p><b>H</b>: This help dialog | <b>S</b>: Search dialog</p>\n","<p><b>H</b>: Dieser Hilfe Dialog | <b>S</b>: Such Dialog</p>\n" }, | 1028 | { "<p><b>H</b>: This help dialog | <b>S</b>: Search dialog</p>\n","<p><b>H</b>: Dieser Hilfe Dialog | <b>S</b>: Such Dialog</p>\n" }, |
1029 | { "<p><h2>KO/Pi key shortcuts:</h2></p>\n","<p><h2>KO/Pi Tastatur Kurzbefehle:</h2></p>\n" }, | 1029 | { "<p><h2>KO/Pi key shortcuts:</h2></p>\n","<p><h2>KO/Pi Tastatur Kurzbefehle:</h2></p>\n" }, |
1030 | { "After changing something, the data is\nautomatically saved to the file\n~/kdepim/apps/korganizer/mycalendar.ics\nafter (configurable) three minutes.\nFor safety reasons there is one autosaving\nafter 10 minutes (of idle time) again. The \ndata is saved automatically when closing KO/Pi\nYou can create a backup file \nwith: File - Save Calendar Backup\n","Nachdem etwas geändert wurde, werden die\nDaten automatisch in die Datei abgespeichert\n~/kdepim/apps/korganizer/mycalendar.ics\nnach (konfigurierbar) drei Minuten.\nAus Sicherheitsgründen wird noch einmal\nnach 10 Min. abgespeichert, wenn keine\nÄnderungen vorgenommen wurden. Die \nDaten werden automatisch gespeichert,\nwenn KO/Pi beendet wird.\nSie können eine Backup-Datei erstellen im\nMenu: Datei - Speichere Kalender Backup\n" }, | 1030 | { "After changing something, the data is\nautomatically saved to the file\n~/kdepim/apps/korganizer/mycalendar.ics\nafter (configurable) three minutes.\nFor safety reasons there is one autosaving\nafter 10 minutes (of idle time) again. The \ndata is saved automatically when closing KO/Pi\nYou can create a backup file \nwith: File - Save Calendar Backup\n","Nachdem etwas geändert wurde, werden die\nDaten automatisch in die Datei abgespeichert\n~/kdepim/apps/korganizer/mycalendar.ics\nnach (konfigurierbar) drei Minuten.\nAus Sicherheitsgründen wird noch einmal\nnach 10 Min. abgespeichert, wenn keine\nÄnderungen vorgenommen wurden. Die \nDaten werden automatisch gespeichert,\nwenn KO/Pi beendet wird.\nSie können eine Backup-Datei erstellen im\nMenu: Datei - Speichere Kalender Backup\n" }, |
1031 | { "Auto Saving in KOrganizer/Pi","Auto Speichern in KOrganizer/Pi" }, | 1031 | { "Auto Saving in KOrganizer/Pi","Auto Speichern in KOrganizer/Pi" }, |
1032 | { "\nhttp://sourceforge.net/projects/kdepimpi\n","\nhttp://sourceforge.net/projects/kdepimpi\n" }, | 1032 | { "\nhttp://sourceforge.net/projects/kdepimpi\n","\nhttp://sourceforge.net/projects/kdepimpi\n" }, |
1033 | { "\nor report them in the bugtracker on\n","\noder trage sie in dem Bugtracker ein auf\n" }, | 1033 | { "\nor report them in the bugtracker on\n","\noder trage sie in dem Bugtracker ein auf\n" }, |
1034 | { "\nPlease report unexpected behaviour to\nlutz@pi-sync.info\n","\nBitte melde fehlerhaftes Verhalten an\nlutz@pi-sync.info\n" }, | 1034 | { "\nPlease report unexpected behaviour to\nlutz@pi-sync.info\n","\nBitte melde fehlerhaftes Verhalten an\nlutz@pi-sync.info\n" }, |
1035 | { "2) Audio alarm daemon\nfor Zaurus is available!\nas an additional small application\n","2) Ein Audio Alarm Daemon\nfür den Zaurus ist verfügbar\nals zusätzliche Anwendung\n" }, | 1035 | { "2) Audio alarm daemon\nfor Zaurus is available!\nas an additional small application\n","2) Ein Audio Alarm Daemon\nfür den Zaurus ist verfügbar\nals zusätzliche Anwendung\n" }, |
1036 | { "1) Importing *.vcs or *.ics files from\nother applications may not work properly,\nif there are events with properties\nKO/Pi does not support.\n","1) Importieren von *.vcs oder *.ics Dateien von\nanderen Anwendungen kann möglicherweise\n nicht richtig funktionieren,\nwenn die Termine Eigenschaften haben,\ndie KO/Pi nicht unterstützt.\n" }, | 1036 | { "1) Importing *.vcs or *.ics files from\nother applications may not work properly,\nif there are events with properties\nKO/Pi does not support.\n","1) Importieren von *.vcs oder *.ics Dateien von\nanderen Anwendungen kann möglicherweise\n nicht richtig funktionieren,\nwenn die Termine Eigenschaften haben,\ndie KO/Pi nicht unterstützt.\n" }, |
1037 | { "Known Problems in KOrganizer/Pi","Bekannte Probleme in KOrganizer/Pi" }, | 1037 | { "Known Problems in KOrganizer/Pi","Bekannte Probleme in KOrganizer/Pi" }, |
1038 | { "KO/Pi FAQ","KO/Pi FAQ" }, | 1038 | { "KO/Pi FAQ","KO/Pi FAQ" }, |
1039 | { "PDA-Edition\nfor: Zaurus 5x00/7x0/860/3000/6000\n","PDA-Edition\nfür: Zaurus 5x00/7x0/860/3000/6000\n" }, | 1039 | { "PDA-Edition\nfor: Zaurus 5x00/7x0/860/3000/6000\n","PDA-Edition\nfür: Zaurus 5x00/7x0/860/3000/6000\n" }, |
1040 | { "KOrganizer/Platform-independent\n","KOrganizer/Platform-independent\n" }, | 1040 | { "KOrganizer/Platform-independent\n","KOrganizer/Platform-independent\n" }, |
1041 | { "About KOrganizer/Pi","Über KOrganizer/Pi" }, | 1041 | { "About KOrganizer/Pi","Über KOrganizer/Pi" }, |
1042 | { "From: ","Von: " }, | 1042 | { "From: ","Von: " }, |
1043 | { "Remove sync info","Entferne Sync Info" }, | 1043 | { "Remove sync info","Entferne Sync Info" }, |
1044 | { "For all profiles","Für alle Profile" }, | 1044 | { "For all profiles","Für alle Profile" }, |
1045 | { "Hide not Running","Verstecke nicht Laufende" }, | 1045 | { "Hide not Running","Verstecke nicht Laufende" }, |
1046 | { "ME","ME" }, | 1046 | { "ME","ME" }, |
1047 | { "Toolbar","Toolbar" }, | 1047 | { "Toolbar","Toolbar" }, |
1048 | { "Undo Delete...","Löschen rückgängig machen..." }, | 1048 | { "Undo Delete...","Löschen rückgängig machen..." }, |
1049 | { "Undo Delete","Löschen rückgängig machen" }, | 1049 | { "Undo Delete","Löschen rückgängig machen" }, |
1050 | { "KDE Sync HowTo...","KDE Sync HowTo..." }, | 1050 | { "KDE Sync HowTo...","KDE Sync HowTo..." }, |
1051 | { "Multi Sync HowTo...","Multi Sync HowTo..." }, | 1051 | { "Multi Sync HowTo...","Multi Sync HowTo..." }, |
1052 | { "Januar","Januar" }, | 1052 | { "Januar","Januar" }, |
1053 | { "KO/Pi Keys + Colors","KO/Pi Tasten + Farben" }, | 1053 | { "KO/Pi Keys + Colors","KO/Pi Tasten + Farben" }, |
1054 | { "No Filter","Kein Filter" }, | 1054 | { "No Filter","Kein Filter" }, |
1055 | { "Multiple Sync options","Multi Sync Optionen" }, | 1055 | { "Multiple Sync options","Multi Sync Optionen" }, |
1056 | { "Sync algo options","Sync Ablauf Optionen" }, | 1056 | { "Sync algo options","Sync Ablauf Optionen" }, |
1057 | { "Apply filter when adding data to local:","Filter für das Hinzufügen von Daten zu Lokal:" }, | 1057 | { "Apply filter when adding data to local:","Filter für das Hinzufügen von Daten zu Lokal:" }, |
1058 | { "Incoming calendar filter:","Eingehender Kalender Filter:" }, | 1058 | { "Incoming calendar filter:","Eingehender Kalender Filter:" }, |
1059 | { "Incoming addressbook filter:","Eingehender Adressbuch Filter:" }, | 1059 | { "Incoming addressbook filter:","Eingehender Adressbuch Filter:" }, |
1060 | { "Write back options","Optionen zum Zurückschreiben" }, | 1060 | { "Write back options","Optionen zum Zurückschreiben" }, |
1061 | { "Write back (on remote) existing entries only","Schreibe nur existierende (auf Entfernt) Einträge zurück" }, | 1061 | { "Write back (on remote) existing entries only","Schreibe nur existierende (auf Entfernt) Einträge zurück" }, |
1062 | { "Apply filter when adding data to remote:","Filter für das Hinzufügen von Daten zu Entfernt:" }, | 1062 | { "Apply filter when adding data to remote:","Filter für das Hinzufügen von Daten zu Entfernt:" }, |
1063 | { "Outgoing calendar filter:","Ausgehender Kalender Filter:" }, | 1063 | { "Outgoing calendar filter:","Ausgehender Kalender Filter:" }, |
1064 | { "Outgoing addressbook filter:","Ausgehender Adressbuch Filter:" }, | 1064 | { "Outgoing addressbook filter:","Ausgehender Adressbuch Filter:" }, |
1065 | { "Write back (calendar) entries for time period only","Schreibe nur Kalender Einträge für Zeitspanne zurück" }, | 1065 | { "Write back (calendar) entries for time period only","Schreibe nur Kalender Einträge für Zeitspanne zurück" }, |
1066 | { "Time period","Zeitspanne" }, | 1066 | { "Time period","Zeitspanne" }, |
1067 | { "From ","Von " }, | 1067 | { "From ","Von " }, |
1068 | { " weeks in the past to "," Wochen in der Vergangenheit bis zu " }, | 1068 | { " weeks in the past to "," Wochen in der Vergangenheit bis zu " }, |
1069 | { " weeks in the future "," Wochen in der Zukunft " }, | 1069 | { " weeks in the future "," Wochen in der Zukunft " }, |
1070 | { "Profile kind specific settings","Profil Art abhängige Einstellungen" }, | 1070 | { "Profile kind specific settings","Profil Art abhängige Einstellungen" }, |
1071 | { "Local temp file:","Lokale temp Datei:" }, | 1071 | { "Local temp file:","Lokale temp Datei:" }, |
1072 | { "Multiple profiles with same name!\nPlease use unique profile names!","Mehrere Profile mit demselben Namen!\nBitte verschiedene Namen benutzen!" }, | 1072 | { "Multiple profiles with same name!\nPlease use unique profile names!","Mehrere Profile mit demselben Namen!\nBitte verschiedene Namen benutzen!" }, |
1073 | { "Aborted! Nothing synced!","Abgebrochen! Nichts wurde gesynct!" }, | 1073 | { "Aborted! Nothing synced!","Abgebrochen! Nichts wurde gesynct!" }, |
1074 | { "Language","Sprache" }, | 1074 | { "Language","Sprache" }, |
1075 | { "Time Format","Zeit Format" }, | 1075 | { "Time Format","Zeit Format" }, |
1076 | { "Time Zone","Zeit Zone" }, | 1076 | { "Time Zone","Zeit Zone" }, |
1077 | { "%1 groups subscribed","%1 Guppen abboniert" }, | 1077 | { "%1 groups subscribed","%1 Guppen abboniert" }, |
1078 | { "Your current storage dir is:\n%1\nYour mail is stored in:\n(storagedir)/apps/kopiemail/localmail","Aktuelles Speicherverzeichnis ist:\n%1\nIhre Mail wird gespeichert in:\n(speicherverz.)/apps/kopiemail/localmail" }, | 1078 | { "Your current storage dir is:\n%1\nYour mail is stored in:\n(storagedir)/apps/kopiemail/localmail","Aktuelles Speicherverzeichnis ist:\n%1\nIhre Mail wird gespeichert in:\n(speicherverz.)/apps/kopiemail/localmail" }, |
1079 | { "<b>New data storage dir:</b>","<b>Neues Datenspeicherverzeichnis:</b>" }, | 1079 | { "<b>New data storage dir:</b>","<b>Neues Datenspeicherverzeichnis:</b>" }, |
1080 | { "New dirs are created automatically","Neue Verzeichnisse werden aut. erstellt" }, | 1080 | { "New dirs are created automatically","Neue Verzeichnisse werden aut. erstellt" }, |
1081 | { "Save settings","Speichere Einstellungen" }, | 1081 | { "Save settings","Speichere Einstellungen" }, |
1082 | { "Save standard","Speichere Standard" }, | 1082 | { "Save standard","Speichere Standard" }, |
1083 | { "<b>New settings are used\nafter a restart</b>","<b>Neue Einstellungen werden nach\neinem Neustart genutzt</b>" }, | 1083 | { "<b>New settings are used\nafter a restart</b>","<b>Neue Einstellungen werden nach\neinem Neustart genutzt</b>" }, |
1084 | { "Settings are stored in\n%1","Einstellungen werden gespeichert in:\n%1" }, | 1084 | { "Settings are stored in\n%1","Einstellungen werden gespeichert in:\n%1" }, |
1085 | { "Data storage path","Daten Speicherpfad" }, | 1085 | { "Data storage path","Daten Speicherpfad" }, |
1086 | { "Language","Sprache" }, | 1086 | { "Language","Sprache" }, |
1087 | { "Show time in agenda items","Zeige Zeit in Agenda Items" }, | 1087 | { "Show time in agenda items","Zeige Zeit in Agenda Items" }, |
1088 | { "Color for Sundays + category "Holiday"","Farbe für Sonntags + Kategorie "Feiertag"" }, | 1088 | { "Color for Sundays + category "Holiday"","Farbe für Sonntags + Kategorie "Feiertag"" }, |
1089 | { "Show events, that are done","Zeige abgelaufene Termine" }, | 1089 | { "Show events, that are done","Zeige abgelaufene Termine" }, |
1090 | { "Hide not running Todos in To-do view","Verstecke nicht laufende Todos" }, | 1090 | { "Hide not running Todos in To-do view","Verstecke nicht laufende Todos" }, |
1091 | { "+01:00 Europe/Oslo(CET)","+01:00 Europe/Oslo(CET)" }, | 1091 | { "+01:00 Europe/Oslo(CET)","+01:00 Europe/Oslo(CET)" }, |
1092 | { "KO/Pi","KO/Pi" }, | 1092 | { "KO/Pi","KO/Pi" }, |
1093 | { "There is nothing to undo!","Es gibt nichts zum\nRückgängigmachen!" }, | 1093 | { "There is nothing to undo!","Es gibt nichts zum\nRückgängigmachen!" }, |
1094 | { "Recreating edit dialog. Please wait...","Recreating edit dialog. Please wait..." }, | 1094 | { "Recreating edit dialog. Please wait...","Recreating edit dialog. Please wait..." }, |
1095 | { "Sound.Al.: ","Sound.Al.: " }, | 1095 | { "Sound.Al.: ","Sound.Al.: " }, |
1096 | { "From: %1 To: %2 %3","Von: %1 Bis: %2 %3" }, | 1096 | { "From: %1 To: %2 %3","Von: %1 Bis: %2 %3" }, |
1097 | { "Restore","Wiederherstellen" }, | 1097 | { "Restore","Wiederherstellen" }, |
1098 | { "\nAre you sure you want\nto restore this?","\nMöchten Sie das wirklicht\nwiederherstellen?" }, | 1098 | { "\nAre you sure you want\nto restore this?","\nMöchten Sie das wirklicht\nwiederherstellen?" }, |
1099 | { "% completed","% erledigt" }, | 1099 | { "% completed","% erledigt" }, |
1100 | { "%d item(s) found.","%d Item(s) gefunden." }, | 1100 | { "%d item(s) found.","%d Item(s) gefunden." }, |
1101 | { "Set complete","Setze auf erledigt" }, | 1101 | { "Set complete","Setze auf erledigt" }, |
1102 | { "(cancelled)","(gecancelt)" }, | 1102 | { "(cancelled)","(gecancelt)" }, |
1103 | { "Click on the week number to\nshow week in agenda view","Klicke auf die Wochennummer\num die Woche in der Agenda anzuzeigen" }, | 1103 | { "Click on the week number to\nshow week in agenda view","Klicke auf die Wochennummer\num die Woche in der Agenda anzuzeigen" }, |
1104 | { " Local time "," Locale Zeit " }, | 1104 | { " Local time "," Locale Zeit " }, |
1105 | { "Form2","Form2" }, | 1105 | { "Form2","Form2" }, |
1106 | { "Filter enabled","Filter angeschaltet" }, | 1106 | { "Filter enabled","Filter angeschaltet" }, |
1107 | { "Edit Filters","Ändere Filter" }, | 1107 | { "Edit Filters","Ändere Filter" }, |
1108 | { "Print What's Next View...","Drucke What's Next Ansicht..." }, | 1108 | { "Print What's Next View...","Drucke What's Next Ansicht..." }, |
1109 | { "Agenda","Agenda" }, | 1109 | { "Agenda","Agenda" }, |
1110 | { " ("," (" }, | 1110 | { " ("," (" }, |
1111 | { "<p><b>Due on:</b> %1</p>","<p><b>Fällig am:</b> %1</p>" }, | 1111 | { "<p><b>Due on:</b> %1</p>","<p><b>Fällig am:</b> %1</p>" }, |
1112 | { "Print","Print" }, | 1112 | { "Print","Print" }, |
1113 | { "&Setup Printer...","Drucker &Setup..." }, | 1113 | { "&Setup Printer...","Drucker &Setup..." }, |
1114 | { "View Type","Zeige Typ" }, | 1114 | { "View Type","Zeige Typ" }, |
1115 | { "Page &orientation:","Seiten Ausrichtung:" }, | 1115 | { "Page &orientation:","Seiten Ausrichtung:" }, |
1116 | { "Use Default of Selected Style","Default des selektierten Stils" }, | 1116 | { "Use Default of Selected Style","Default des selektierten Stils" }, |
1117 | { "Use Default Setting of Printer","Default Einstellung des Druckers" }, | 1117 | { "Use Default Setting of Printer","Default Einstellung des Druckers" }, |
1118 | { "Portrait","Portrait" }, | 1118 | { "Portrait","Portrait" }, |
1119 | { "Landscape","Landschaft" }, | 1119 | { "Landscape","Landschaft" }, |
1120 | { "Print day","Drucke Tag" }, | 1120 | { "Print day","Drucke Tag" }, |
1121 | { "CalPrintDay_Base","CalPrintDay_Base" }, | 1121 | { "CalPrintDay_Base","CalPrintDay_Base" }, |
1122 | { "Date && Time Range","Datum && Zeitspanne" }, | 1122 | { "Date && Time Range","Datum && Zeitspanne" }, |
1123 | { "&End date:","&Enddatum:" }, | 1123 | { "&End date:","&Enddatum:" }, |
1124 | { "&Start date:","&Startdatum:" }, | 1124 | { "&Start date:","&Startdatum:" }, |
1125 | { "Start &time:","Startzeit:" }, | 1125 | { "Start &time:","Startzeit:" }, |
1126 | { "End ti&me:","Endzeit:" }, | 1126 | { "End ti&me:","Endzeit:" }, |
1127 | { "E&xtend time range to include all events","Erweitere Zeitspanne um alle Termine einzuschliessen" }, | 1127 | { "E&xtend time range to include all events","Erweitere Zeitspanne um alle Termine einzuschliessen" }, |
1128 | { "Include to&dos that are due on the printed day(s)","Inclusive To&dos, die an den selektierten Tagen fällig sind" }, | 1128 | { "Include to&dos that are due on the printed day(s)","Inclusive To&dos, die an den selektierten Tagen fällig sind" }, |
1129 | { "Alt+D","Alt+D" }, | 1129 | { "Alt+D","Alt+D" }, |
1130 | { "&Use colors","Nutze Farben" }, | 1130 | { "&Use colors","Nutze Farben" }, |
1131 | { "Alt+U","Alt+U" }, | 1131 | { "Alt+U","Alt+U" }, |
1132 | { "Print week","Drucke Woche" }, | 1132 | { "Print week","Drucke Woche" }, |
1133 | { "CalPrintWeek_Base","CalPrintWeek_Base" }, | 1133 | { "CalPrintWeek_Base","CalPrintWeek_Base" }, |
1134 | { "Use &colors","Nutze Farben" }, | 1134 | { "Use &colors","Nutze Farben" }, |
1135 | { "Type of View","Typ der Ansicht" }, | 1135 | { "Type of View","Typ der Ansicht" }, |
1136 | { "Print as &Filofax page","Drucke als &Filofax Seite" }, | 1136 | { "Print as &Filofax page","Drucke als &Filofax Seite" }, |
1137 | { "Alt+F","Alt+F" }, | 1137 | { "Alt+F","Alt+F" }, |
1138 | { "Print as &timetable view:","Drucke als Zeittabelle:" }, | 1138 | { "Print as &timetable view:","Drucke als Zeittabelle:" }, |
1139 | { "Alt+T","Alt+T" }, | 1139 | { "Alt+T","Alt+T" }, |
1140 | { "Print as split week view","Drucke als gesplittete Wochenansicht" }, | 1140 | { "Print as split week view","Drucke als gesplittete Wochenansicht" }, |
1141 | { "Print month","Drucke Monat" }, | 1141 | { "Print month","Drucke Monat" }, |
1142 | { "CalPrintMonth_Base","CalPrintMonth_Base" }, | 1142 | { "CalPrintMonth_Base","CalPrintMonth_Base" }, |
1143 | { "&Start month:","&Startmonat:" }, | 1143 | { "&Start month:","&Startmonat:" }, |
1144 | { "&End month:","&Endmonat:" }, | 1144 | { "&End month:","&Endmonat:" }, |
1145 | { "Print week &numbers","Drucke Wochen Nummer(n)" }, | 1145 | { "Print week &numbers","Drucke Wochen Nummer(n)" }, |
1146 | { "Print todos","Drucke Todos" }, | 1146 | { "Print todos","Drucke Todos" }, |
1147 | { "CalPrintTodoConfig_Base","CalPrintTodoConfig_Base" }, | 1147 | { "CalPrintTodoConfig_Base","CalPrintTodoConfig_Base" }, |
1148 | { "Include &description of the item","Inclusive Itembeschreibung" }, | 1148 | { "Include &description of the item","Inclusive Itembeschreibung" }, |
1149 | { "Include d&ue date of the item","Inclusive Fälligkeitsdatum des Items" }, | 1149 | { "Include d&ue date of the item","Inclusive Fälligkeitsdatum des Items" }, |
1150 | { "Include &priority of the item","Inclusive Priorität des Items" }, | 1150 | { "Include &priority of the item","Inclusive Priorität des Items" }, |
1151 | { "Items to Print","Zu druckende Items" }, | 1151 | { "Items to Print","Zu druckende Items" }, |
1152 | { "&From:","Von:" }, | 1152 | { "&From:","Von:" }, |
1153 | { "&To:","Bis:" }, | 1153 | { "&To:","Bis:" }, |
1154 | { "Print &all todo items","Drucke alle Todo Items" }, | 1154 | { "Print &all todo items","Drucke alle Todo Items" }, |
1155 | { "Print only &uncompleted items","Drucke nur nicht erledigte Todos" }, | 1155 | { "Print only &uncompleted items","Drucke nur nicht erledigte Todos" }, |
1156 | { "Only items due in the &range:","Nur Items in dem Zeitraum:" }, | 1156 | { "Only items due in the &range:","Nur Items in dem Zeitraum:" }, |
1157 | { "Todo List","Todo Liste" }, | 1157 | { "Todo List","Todo Liste" }, |
1158 | { "&Title:","&Titel:" }, | 1158 | { "&Title:","&Titel:" }, |
1159 | { "Co&nnect subtodos with its parent","Verbinde Untertodos mit ihren Ober-Todos" }, | 1159 | { "Co&nnect subtodos with its parent","Verbinde Untertodos mit ihren Ober-Todos" }, |
1160 | { "Todo list","Todo Liste" }, | 1160 | { "Todo list","Todo Liste" }, |
1161 | { "&Print...","Drucke..." }, | 1161 | { "&Print...","Drucke..." }, |
1162 | { "<qt>Printing on printer <b>%1</b></qt>","<qt>Drucke auf Drucker <b>%1</b></qt>" }, | 1162 | { "<qt>Printing on printer <b>%1</b></qt>","<qt>Drucke auf Drucker <b>%1</b></qt>" }, |
1163 | { "[Unconfigured]","[Unkonfiguriert]" }, | 1163 | { "[Unconfigured]","[Unkonfiguriert]" }, |
1164 | { "OK","OK" }, | 1164 | { "OK","OK" }, |
1165 | { "FilterEditor","FilterEditor" }, | 1165 | { "FilterEditor","FilterEditor" }, |
1166 | { "Include","Inclusive" }, | 1166 | { "Include","Inclusive" }, |
1167 | { "Exclude","Exclusive" }, | 1167 | { "Exclude","Exclusive" }, |
1168 | { "Edit Selection...","Editiere Auswahl" }, | 1168 | { "Edit Selection...","Editiere Auswahl" }, |
1169 | { "recurring events","wiederholende Termine" }, | 1169 | { "recurring events","wiederholende Termine" }, |
1170 | { "recurr. events","wiederh.Termine" }, | 1170 | { "recurr. events","wiederh.Termine" }, |
1171 | { "completed to-dos","erledigte Todos" }, | 1171 | { "completed to-dos","erledigte Todos" }, |
1172 | { "events","Termine" }, | 1172 | { "events","Termine" }, |
1173 | { "todos","Todos" }, | 1173 | { "todos","Todos" }, |
1174 | { "journals","Journale" }, | 1174 | { "journals","Journale" }, |
1175 | { "public","öffentl." }, | 1175 | { "public","öffentl." }, |
1176 | { "private","privat" }, | 1176 | { "private","privat" }, |
1177 | { "confidential","vertraul." }, | 1177 | { "confidential","vertraul." }, |
1178 | { "\nhas sub-todos.\nAll completed sub-todos\nwill be deleted as well!","\nhat Untertodos.\nAlle erledigten Untertodos\nwerden auch gelöscht!" }, | 1178 | { "\nhas sub-todos.\nAll completed sub-todos\nwill be deleted as well!","\nhat Untertodos.\nAlle erledigten Untertodos\nwerden auch gelöscht!" }, |
1179 | { "Yesterday","Gestern" }, | 1179 | { "Yesterday","Gestern" }, |
1180 | { "Day after tomorrow","Übermorgen" }, | 1180 | { "Day after tomorrow","Übermorgen" }, |
1181 | { "Tomorrow","Morgen" }, | 1181 | { "Tomorrow","Morgen" }, |
1182 | { "Day before yesterday","Vorgestern" }, | 1182 | { "Day before yesterday","Vorgestern" }, |
1183 | { "Size %1","Größe %1" }, | 1183 | { "Size %1","Größe %1" }, |
1184 | { "New Agendasize: %1","Neue Agendagröße: %1" }, | 1184 | { "New Agendasize: %1","Neue Agendagröße: %1" }, |
1185 | { " (%1 y.)"," (%1 J.)" }, | 1185 | { " (%1 y.)"," (%1 J.)" }, |
1186 | { "Allday:","Ganztägig:" }, | 1186 | { "Allday:","Ganztägig:" }, |
1187 | { "compl.todos","erled.Todos" }, | 1187 | { "compl.todos","erled.Todos" }, |
1188 | { "Day view","Tagesansicht" }, | 1188 | { "Day view","Tagesansicht" }, |
1189 | { "Next days","Nächste Tage" }, | 1189 | { "Next days","Nächste Tage" }, |
1190 | { "Next week","Nächste Woche" }, | 1190 | { "Next week","Nächste Woche" }, |
1191 | { "Next two weeks","Nächste zwei Wochen" }, | 1191 | { "Next two weeks","Nächste zwei Wochen" }, |
1192 | { "This month","Dieser Monat" }, | 1192 | { "This month","Dieser Monat" }, |
1193 | { "Journal view","Journal" }, | 1193 | { "Journal view","Journal" }, |
1194 | { "Display all opened","Zeige alle geöffnet" }, | 1194 | { "Display all opened","Zeige alle geöffnet" }, |
1195 | { "Display all closed","Zeige alle geschlossen" }, | 1195 | { "Display all closed","Zeige alle geschlossen" }, |
1196 | { "Display all flat","Zeige alle flach" }, | 1196 | { "Display all flat","Zeige alle flach" }, |
1197 | { "<p><i>Completed on %1</i></p>","<p><i>Erledigt am %1</i></p>" }, | 1197 | { "<p><i>Completed on %1</i></p>","<p><i>Erledigt am %1</i></p>" }, |
1198 | { "Default todo done color:","Standard Todo erledigt Farbe" }, | 1198 | { "Default todo done color:","Standard Todo erledigt Farbe" }, |
1199 | { "Select week %1-%2","Wähle Woche %1-%2" }, | 1199 | { "Select week %1-%2","Wähle Woche %1-%2" }, |
1200 | { "Select Week","Wähle Woche" }, | 1200 | { "Select Week","Wähle Woche" }, |
1201 | { "Set alarm for selected...","Setze Alarm für Selekt..." }, | 1201 | { "Set alarm for selected...","Setze Alarm für Selekt..." }, |
1202 | { "Set Alarm!","Setze Alarm!" }, | 1202 | { "Set Alarm!","Setze Alarm!" }, |
1203 | { "Canged alarm for %1 items","Alarm für %1 Items geändert" }, | 1203 | { "Canged alarm for %1 items","Alarm für %1 Items geändert" }, |
1204 | { " and "," und " }, | 1204 | { " and "," und " }, |
1205 | { "<IMG src="%1"> only )","nur <IMG src="%1"> )" }, | 1205 | { "<IMG src="%1"> only )","nur <IMG src="%1"> )" }, |
1206 | { "Mail to selected","Mail an Ausgewählte" }, | 1206 | { "Mail to selected","Mail an Ausgewählte" }, |
1207 | { "Mail to all","Mail an Alle" }, | 1207 | { "Mail to all","Mail an Alle" }, |
1208 | { "Week view mode uses bigger font","Wochenansicht Modus nutzt größeren Font" }, | 1208 | { "Week view mode uses bigger font","Wochenansicht Modus nutzt größeren Font" }, |
1209 | { "Set reminder ON with offset to:","Alarm AN mit Offset auf:" }, | 1209 | { "Set reminder ON with offset to:","Alarm AN mit Offset auf:" }, |
1210 | { " on"," am" }, | 1210 | { " on"," am" }, |
1211 | { " completed on "," erledigt am " }, | 1211 | { " completed on "," erledigt am " }, |
1212 | { "Save as Event template","Speichere als Vorlage" }, | 1212 | { "Save as Event template","Speichere als Vorlage" }, |
1213 | { "Load Event template","Lade Termin Vorlage" }, | 1213 | { "Load Event template","Lade Termin Vorlage" }, |
1214 | { "Save as Journal template","Speichere als Journal Vorlage" }, | 1214 | { "Save as Journal template","Speichere als Journal Vorlage" }, |
1215 | { "Insert Journal template","Füge Journal Vorlage ein" }, | 1215 | { "Insert Journal template","Füge Journal Vorlage ein" }, |
1216 | { "Sub todos:<br>","Unter Todos:<br>" }, | 1216 | { "Sub todos:<br>","Unter Todos:<br>" }, |
diff --git a/bin/kdepim/pwmanager/germantranslation.txt b/bin/kdepim/pwmanager/germantranslation.txt index beb066e..a50dd04 100644 --- a/bin/kdepim/pwmanager/germantranslation.txt +++ b/bin/kdepim/pwmanager/germantranslation.txt | |||
@@ -1,362 +1,362 @@ | |||
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 Beginn:" }, | 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 | { "","" }, | 356 | { "","" }, |
357 | { "","" }, | 357 | { "","" }, |
358 | { "","" }, | 358 | { "","" }, |
359 | { "","" }, | 359 | { "","" }, |
360 | { "","" }, | 360 | { "","" }, |
361 | { "","" }, | 361 | { "","" }, |
362 | 362 | ||
diff --git a/korganizer/kodaymatrix.cpp b/korganizer/kodaymatrix.cpp index df606d0..c32a2a4 100644 --- a/korganizer/kodaymatrix.cpp +++ b/korganizer/kodaymatrix.cpp | |||
@@ -1,1014 +1,1018 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of KOrganizer. | 2 | This file is part of KOrganizer. |
3 | Copyright (c) 2001 Eitzenberger Thomas <thomas.eitzenberger@siemens.at> | 3 | Copyright (c) 2001 Eitzenberger Thomas <thomas.eitzenberger@siemens.at> |
4 | Parts of the source code have been copied from kdpdatebutton.cpp | 4 | Parts of the source code have been copied from kdpdatebutton.cpp |
5 | 5 | ||
6 | This program is free software; you can redistribute it and/or modify | 6 | This program is free software; you can redistribute it and/or modify |
7 | it under the terms of the GNU General Public License as published by | 7 | it under the terms of the GNU General Public License as published by |
8 | the Free Software Foundation; either version 2 of the License, or | 8 | the Free Software Foundation; either version 2 of the License, or |
9 | (at your option) any later version. | 9 | (at your option) any later version. |
10 | 10 | ||
11 | This program is distributed in the hope that it will be useful, | 11 | This program is distributed in the hope that it will be useful, |
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 | GNU General Public License for more details. | 14 | GNU General Public License for more details. |
15 | 15 | ||
16 | You should have received a copy of the GNU General Public License | 16 | You should have received a copy of the GNU General Public License |
17 | along with this program; if not, write to the Free Software | 17 | along with this program; if not, write to the Free Software |
18 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 18 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
19 | 19 | ||
20 | As a special exception, permission is given to link this program | 20 | As a special exception, permission is given to link this program |
21 | with any edition of Qt, and distribute the resulting executable, | 21 | with any edition of Qt, and distribute the resulting executable, |
22 | without including the source ode for Qt in the source distribution. | 22 | without including the source ode for Qt in the source distribution. |
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include <qevent.h> | 25 | #include <qevent.h> |
26 | #include <qpainter.h> | 26 | #include <qpainter.h> |
27 | #include <qptrlist.h> | 27 | #include <qptrlist.h> |
28 | #include <qtimer.h> | 28 | #include <qtimer.h> |
29 | #include <qwhatsthis.h> | 29 | #include <qwhatsthis.h> |
30 | 30 | ||
31 | #include <kglobal.h> | 31 | #include <kglobal.h> |
32 | #include <kdebug.h> | 32 | #include <kdebug.h> |
33 | #include <klocale.h> | 33 | #include <klocale.h> |
34 | 34 | ||
35 | #include <libkcal/vcaldrag.h> | 35 | #include <libkcal/vcaldrag.h> |
36 | #include <libkcal/icaldrag.h> | 36 | #include <libkcal/icaldrag.h> |
37 | #include <libkcal/dndfactory.h> | 37 | #include <libkcal/dndfactory.h> |
38 | #include <libkcal/calendarresources.h> | 38 | #include <libkcal/calendarresources.h> |
39 | #include <libkcal/resourcecalendar.h> | 39 | #include <libkcal/resourcecalendar.h> |
40 | #include <kresources/resourceselectdialog.h> | 40 | #include <kresources/resourceselectdialog.h> |
41 | 41 | ||
42 | #include <kcalendarsystem.h> | 42 | #include <kcalendarsystem.h> |
43 | 43 | ||
44 | #ifndef KORG_NOPLUGINS | 44 | #ifndef KORG_NOPLUGINS |
45 | #include "kocore.h" | 45 | #include "kocore.h" |
46 | #endif | 46 | #endif |
47 | #include "koprefs.h" | 47 | #include "koprefs.h" |
48 | #include "koglobals.h" | 48 | #include "koglobals.h" |
49 | 49 | ||
50 | #include "kodaymatrix.h" | 50 | #include "kodaymatrix.h" |
51 | 51 | ||
52 | // ============================================================================ | 52 | // ============================================================================ |
53 | // D Y N A M I C T I P | 53 | // D Y N A M I C T I P |
54 | // ============================================================================ | 54 | // ============================================================================ |
55 | 55 | ||
56 | DynamicTip::DynamicTip( QWidget * parent ) | 56 | DynamicTip::DynamicTip( QWidget * parent ) |
57 | : QToolTip( parent ) | 57 | : QToolTip( parent ) |
58 | { | 58 | { |
59 | matrix = (KODayMatrix*)parent; | 59 | matrix = (KODayMatrix*)parent; |
60 | } | 60 | } |
61 | 61 | ||
62 | class KODaymatrixWhatsThis :public QWhatsThis | 62 | class KODaymatrixWhatsThis :public QWhatsThis |
63 | { | 63 | { |
64 | public: | 64 | public: |
65 | KODaymatrixWhatsThis( KODayMatrix* view ) : QWhatsThis( view ),_view (view) { ;}; | 65 | KODaymatrixWhatsThis( KODayMatrix* view ) : QWhatsThis( view ),_view (view) { ;}; |
66 | ~KODaymatrixWhatsThis() { ; }; | 66 | ~KODaymatrixWhatsThis() { qDebug("DELETE KODaymatrixWhatsThis "); }; |
67 | 67 | ||
68 | protected: | 68 | protected: |
69 | virtual QString text( const QPoint& p ) | 69 | virtual QString text( const QPoint& p ) |
70 | { | 70 | { |
71 | return _view->getWhatsThisText( p ) ; | 71 | return _view->getWhatsThisText( p ) ; |
72 | } | 72 | } |
73 | private: | 73 | private: |
74 | KODayMatrix * _view; | 74 | KODayMatrix * _view; |
75 | }; | 75 | }; |
76 | 76 | ||
77 | void DynamicTip::maybeTip( const QPoint &pos ) | 77 | void DynamicTip::maybeTip( const QPoint &pos ) |
78 | { | 78 | { |
79 | //calculate which cell of the matrix the mouse is in | 79 | //calculate which cell of the matrix the mouse is in |
80 | QRect sz = matrix->frameRect(); | 80 | QRect sz = matrix->frameRect(); |
81 | int dheight = sz.height()*7 / 42; | 81 | int dheight = sz.height()*7 / 42; |
82 | int dwidth = sz.width() / 7; | 82 | int dwidth = sz.width() / 7; |
83 | int row = pos.y()/dheight; | 83 | int row = pos.y()/dheight; |
84 | int col = pos.x()/dwidth; | 84 | int col = pos.x()/dwidth; |
85 | 85 | ||
86 | QRect rct(col*dwidth, row*dheight, dwidth, dheight); | 86 | QRect rct(col*dwidth, row*dheight, dwidth, dheight); |
87 | 87 | ||
88 | // kdDebug() << "DynamicTip::maybeTip matrix cell index [" << | 88 | // kdDebug() << "DynamicTip::maybeTip matrix cell index [" << |
89 | // col << "][" << row << "] => " <<(col+row*7) << endl; | 89 | // col << "][" << row << "] => " <<(col+row*7) << endl; |
90 | 90 | ||
91 | //show holiday names only | 91 | //show holiday names only |
92 | QString str = matrix->getHolidayLabel(col+row*7); | 92 | QString str = matrix->getHolidayLabel(col+row*7); |
93 | if (str.isEmpty()) return; | 93 | if (str.isEmpty()) return; |
94 | tip(rct, str); | 94 | tip(rct, str); |
95 | } | 95 | } |
96 | 96 | ||
97 | 97 | ||
98 | // ============================================================================ | 98 | // ============================================================================ |
99 | // K O D A Y M A T R I X | 99 | // K O D A Y M A T R I X |
100 | // ============================================================================ | 100 | // ============================================================================ |
101 | 101 | ||
102 | const int KODayMatrix::NOSELECTION = -1000; | 102 | const int KODayMatrix::NOSELECTION = -1000; |
103 | const int KODayMatrix::NUMDAYS = 42; | 103 | const int KODayMatrix::NUMDAYS = 42; |
104 | 104 | ||
105 | KODayMatrix::KODayMatrix( QWidget *parent, const char *name ) | 105 | KODayMatrix::KODayMatrix( QWidget *parent, const char *name ) |
106 | : QFrame( parent, name , Qt::WRepaintNoErase ), mCalendar( 0 ) | 106 | : QFrame( parent, name , Qt::WRepaintNoErase ), mCalendar( 0 ) |
107 | 107 | ||
108 | #if 0 | 108 | |
109 | KODayMatrix::KODayMatrix(QWidget *parent, Calendar* calendar, QDate date, const char *name) : | ||
110 | QFrame(parent, name) | ||
111 | #endif | ||
112 | { | 109 | { |
110 | mLastView = -1; | ||
113 | oldW = 0; | 111 | oldW = 0; |
114 | oldH = 0; | 112 | oldH = 0; |
115 | myPix.resize( 150, 120 ); | 113 | myPix.resize( 150, 120 ); |
116 | mRedrawNeeded = true; | 114 | mRedrawNeeded = true; |
117 | mKODaymatrixWhatsThis = new KODaymatrixWhatsThis(this); | 115 | mKODaymatrixWhatsThis = new KODaymatrixWhatsThis(this); |
118 | mPendingUpdateBeforeRepaint = false; | 116 | mPendingUpdateBeforeRepaint = false; |
119 | mouseDown = false; | 117 | mouseDown = false; |
120 | // initialize dynamic arrays | 118 | // initialize dynamic arrays |
121 | bDays.resize ( NUMDAYS ); | 119 | bDays.resize ( NUMDAYS ); |
122 | pDays.resize ( NUMDAYS ); | 120 | pDays.resize ( NUMDAYS ); |
123 | hDays.resize ( NUMDAYS ); | 121 | hDays.resize ( NUMDAYS ); |
124 | eDays.resize ( NUMDAYS ); | 122 | eDays.resize ( NUMDAYS ); |
125 | days = new QDate[NUMDAYS]; | 123 | days = new QDate[NUMDAYS]; |
126 | daylbls = new QString[NUMDAYS]; | 124 | daylbls = new QString[NUMDAYS]; |
127 | //events = new int[NUMDAYS]; | 125 | //events = new int[NUMDAYS]; |
128 | mToolTip = new DynamicTip(this); | 126 | mToolTip = new DynamicTip(this); |
129 | 127 | ||
130 | // set default values used for drawing the matrix | 128 | // set default values used for drawing the matrix |
131 | mDefaultBackColor = palette().active().base(); | 129 | mDefaultBackColor = palette().active().base(); |
132 | mDefaultTextColor = palette().active().foreground(); | 130 | mDefaultTextColor = palette().active().foreground(); |
133 | mDefaultTextColorShaded = getShadedColor(mDefaultTextColor); | 131 | mDefaultTextColorShaded = getShadedColor(mDefaultTextColor); |
134 | mHolidayColorShaded = getShadedColor(KOPrefs::instance()->mHolidayColor); | 132 | mHolidayColorShaded = getShadedColor(KOPrefs::instance()->mHolidayColor); |
135 | mSelectedDaysColor = QColor("white"); | 133 | mSelectedDaysColor = QColor("white"); |
136 | mTodayMarginWidth = 2; | 134 | mTodayMarginWidth = 2; |
137 | mSelEnd = mSelStart = NOSELECTION; | 135 | mSelEnd = mSelStart = NOSELECTION; |
138 | 136 | ||
139 | setAcceptDrops(true); | 137 | setAcceptDrops(true); |
140 | //setFont( QFont("Arial", 10) ); | 138 | //setFont( QFont("Arial", 10) ); |
141 | 139 | ||
142 | mUpdateTimer = new QTimer( this ); | 140 | mUpdateTimer = new QTimer( this ); |
143 | connect (mUpdateTimer ,SIGNAL(timeout()), this, SLOT ( updateViewTimed() )); | 141 | connect (mUpdateTimer ,SIGNAL(timeout()), this, SLOT ( updateViewTimed() )); |
144 | mRepaintTimer = new QTimer( this ); | 142 | mRepaintTimer = new QTimer( this ); |
145 | connect (mRepaintTimer ,SIGNAL(timeout()), this, SLOT ( repaintViewTimed() )); | 143 | connect (mRepaintTimer ,SIGNAL(timeout()), this, SLOT ( repaintViewTimed() )); |
146 | mDayChanged = false; | 144 | mDayChanged = false; |
147 | updateView(); | 145 | updateView(); |
148 | } | 146 | } |
149 | QString KODayMatrix::getWhatsThisText( QPoint p ) | 147 | QString KODayMatrix::getWhatsThisText( QPoint p ) |
150 | { | 148 | { |
151 | 149 | ||
152 | int tmp = getDayIndexFrom(p.x(), p.y()); | 150 | int tmp = getDayIndexFrom(p.x(), p.y()); |
153 | if ( tmp < 0 || tmp > NUMDAYS-1 || !mCalendar ) | 151 | if ( tmp < 0 || tmp > NUMDAYS-1 || !mCalendar ) |
154 | return QString(); | 152 | return QString(); |
155 | QDate mDate = days[tmp]; | 153 | QDate mDate = days[tmp]; |
156 | QPtrList<Event> eventlist = mCalendar->events(mDate); | 154 | QPtrList<Event> eventlist = mCalendar->events(mDate); |
157 | Event *event; | 155 | Event *event; |
158 | QStringList mToolTip; | 156 | QStringList mToolTip; |
159 | for(event=eventlist.first();event != 0;event=eventlist.next()) { | 157 | for(event=eventlist.first();event != 0;event=eventlist.next()) { |
160 | QString mToolTipText; | 158 | QString mToolTipText; |
161 | QString text; | 159 | QString text; |
162 | int multiday = 0;// 1 = start, 2 = midddle, 3 = end day | 160 | int multiday = 0;// 1 = start, 2 = midddle, 3 = end day |
163 | if (event->isMultiDay()) { | 161 | if (event->isMultiDay()) { |
164 | QString prefix = "<->";multiday = 2; | 162 | QString prefix = "<->";multiday = 2; |
165 | QString time; | 163 | QString time; |
166 | if ( event->doesRecur() ) { | 164 | if ( event->doesRecur() ) { |
167 | if ( event->recursOn( mDate) ) { | 165 | if ( event->recursOn( mDate) ) { |
168 | prefix ="->" ;multiday = 1; | 166 | prefix ="->" ;multiday = 1; |
169 | } | 167 | } |
170 | else { | 168 | else { |
171 | int days = event->dtStart().date().daysTo ( event->dtEnd().date() ); | 169 | int days = event->dtStart().date().daysTo ( event->dtEnd().date() ); |
172 | if ( event->recursOn( mDate.addDays( -days)) ) { | 170 | if ( event->recursOn( mDate.addDays( -days)) ) { |
173 | prefix ="<-" ;multiday = 3; | 171 | prefix ="<-" ;multiday = 3; |
174 | } | 172 | } |
175 | } | 173 | } |
176 | } else { | 174 | } else { |
177 | if (mDate == event->dtStart().date()) { | 175 | if (mDate == event->dtStart().date()) { |
178 | prefix ="->" ;multiday = 1; | 176 | prefix ="->" ;multiday = 1; |
179 | } else if (mDate == event->dtEnd().date()) { | 177 | } else if (mDate == event->dtEnd().date()) { |
180 | prefix ="<-" ;multiday = 3; | 178 | prefix ="<-" ;multiday = 3; |
181 | } | 179 | } |
182 | } | 180 | } |
183 | if ( !event->doesFloat() ) { | 181 | if ( !event->doesFloat() ) { |
184 | if ( mDate == event->dtStart().date () ) | 182 | if ( mDate == event->dtStart().date () ) |
185 | time = KGlobal::locale()->formatTime(event->dtStart().time())+" "; | 183 | time = KGlobal::locale()->formatTime(event->dtStart().time())+" "; |
186 | else if ( mDate == event->dtEnd().date () ) | 184 | else if ( mDate == event->dtEnd().date () ) |
187 | time = KGlobal::locale()->formatTime(event->dtEnd().time())+" "; | 185 | time = KGlobal::locale()->formatTime(event->dtEnd().time())+" "; |
188 | 186 | ||
189 | } | 187 | } |
190 | text = time + event->summary(); | 188 | text = time + event->summary(); |
191 | mToolTipText += prefix + text; | 189 | mToolTipText += prefix + text; |
192 | } else { | 190 | } else { |
193 | if (event->doesFloat()) { | 191 | if (event->doesFloat()) { |
194 | text = event->summary(); | 192 | text = event->summary(); |
195 | mToolTipText += text; | 193 | mToolTipText += text; |
196 | } | 194 | } |
197 | else { | 195 | else { |
198 | text = KGlobal::locale()->formatTime(event->dtStart().time()); | 196 | text = KGlobal::locale()->formatTime(event->dtStart().time()); |
199 | text += " " + event->summary(); | 197 | text += " " + event->summary(); |
200 | mToolTipText += KGlobal::locale()->formatTime(event->dtStart().time()) +"-"+KGlobal::locale()->formatTime(event->dtEnd().time())+" " + event->summary(); | 198 | mToolTipText += KGlobal::locale()->formatTime(event->dtStart().time()) +"-"+KGlobal::locale()->formatTime(event->dtEnd().time())+" " + event->summary(); |
201 | } | 199 | } |
202 | } | 200 | } |
203 | if ( !event->location().isEmpty() ) | 201 | if ( !event->location().isEmpty() ) |
204 | mToolTipText += " (" + event->location() + ")"; | 202 | mToolTipText += " (" + event->location() + ")"; |
205 | #if QT_VERSION >= 0x030000 | 203 | #if QT_VERSION >= 0x030000 |
206 | mToolTipText.replace( '<' , "<" ); | 204 | mToolTipText.replace( '<' , "<" ); |
207 | mToolTipText.replace( '>' , ">" ); | 205 | mToolTipText.replace( '>' , ">" ); |
208 | #else | 206 | #else |
209 | if ( mToolTipText.find ('<') >= 0 ) { | 207 | if ( mToolTipText.find ('<') >= 0 ) { |
210 | mToolTipText.replace( QRegExp("<") , "<" ); | 208 | mToolTipText.replace( QRegExp("<") , "<" ); |
211 | } | 209 | } |
212 | if ( mToolTipText.find ('>') >= 0 ) { | 210 | if ( mToolTipText.find ('>') >= 0 ) { |
213 | mToolTipText.replace( QRegExp(">") , ">" ); | 211 | mToolTipText.replace( QRegExp(">") , ">" ); |
214 | } | 212 | } |
215 | #endif | 213 | #endif |
216 | //qDebug("TTT: %s ", mToolTipText.latin1()); | 214 | //qDebug("TTT: %s ", mToolTipText.latin1()); |
217 | mToolTip.append( mToolTipText ); | 215 | mToolTip.append( mToolTipText ); |
218 | } | 216 | } |
219 | mToolTip.sort(); | 217 | mToolTip.sort(); |
220 | return "<b>"+KGlobal::locale()->formatDate(days[tmp]) + "</b><br>" + mToolTip.join("<br>"); | 218 | return "<b>"+KGlobal::locale()->formatDate(days[tmp]) + "</b><br>" + mToolTip.join("<br>"); |
221 | } | 219 | } |
222 | void KODayMatrix::setCalendar( Calendar *cal ) | 220 | void KODayMatrix::setCalendar( Calendar *cal ) |
223 | { | 221 | { |
224 | mCalendar = cal; | 222 | mCalendar = cal; |
225 | 223 | ||
226 | setAcceptDrops( mCalendar ); | 224 | setAcceptDrops( mCalendar ); |
227 | 225 | ||
228 | updateEvents(); | 226 | updateEvents(); |
229 | } | 227 | } |
230 | 228 | ||
231 | QColor KODayMatrix::getShadedColor(QColor color) | 229 | QColor KODayMatrix::getShadedColor(QColor color) |
232 | { | 230 | { |
233 | QColor shaded; | 231 | QColor shaded; |
234 | int h=0; | 232 | int h=0; |
235 | int s=0; | 233 | int s=0; |
236 | int v=0; | 234 | int v=0; |
237 | color.hsv(&h,&s,&v); | 235 | color.hsv(&h,&s,&v); |
238 | s = s/4; | 236 | s = s/4; |
239 | v = 192+v/4; | 237 | v = 192+v/4; |
240 | shaded.setHsv(h,s,v); | 238 | shaded.setHsv(h,s,v); |
241 | 239 | ||
242 | return shaded; | 240 | return shaded; |
243 | } | 241 | } |
244 | 242 | ||
245 | KODayMatrix::~KODayMatrix() | 243 | KODayMatrix::~KODayMatrix() |
246 | { | 244 | { |
245 | #if QT_VERSION >= 0x030000 | ||
246 | |||
247 | #else | ||
248 | delete mKODaymatrixWhatsThis; | ||
249 | #endif | ||
250 | |||
247 | // delete mKODaymatrixWhatsThis; | 251 | // delete mKODaymatrixWhatsThis; |
248 | delete [] days; | 252 | delete [] days; |
249 | delete [] daylbls; | 253 | delete [] daylbls; |
250 | //delete [] events; | 254 | //delete [] events; |
251 | delete mToolTip; | 255 | delete mToolTip; |
252 | } | 256 | } |
253 | 257 | ||
254 | /* | 258 | /* |
255 | void KODayMatrix::setStartDate(QDate start) | 259 | void KODayMatrix::setStartDate(QDate start) |
256 | { | 260 | { |
257 | updateView(start); | 261 | updateView(start); |
258 | } | 262 | } |
259 | */ | 263 | */ |
260 | 264 | ||
261 | void KODayMatrix::addSelectedDaysTo(DateList& selDays) | 265 | void KODayMatrix::addSelectedDaysTo(DateList& selDays) |
262 | { | 266 | { |
263 | 267 | ||
264 | if (mSelStart == NOSELECTION) { | 268 | if (mSelStart == NOSELECTION) { |
265 | return; | 269 | return; |
266 | } | 270 | } |
267 | 271 | ||
268 | //cope with selection being out of matrix limits at top (< 0) | 272 | //cope with selection being out of matrix limits at top (< 0) |
269 | int i0 = mSelStart; | 273 | int i0 = mSelStart; |
270 | if (i0 < 0) { | 274 | if (i0 < 0) { |
271 | for (int i = i0; i < 0; i++) { | 275 | for (int i = i0; i < 0; i++) { |
272 | selDays.append(days[0].addDays(i)); | 276 | selDays.append(days[0].addDays(i)); |
273 | } | 277 | } |
274 | i0 = 0; | 278 | i0 = 0; |
275 | } | 279 | } |
276 | 280 | ||
277 | //cope with selection being out of matrix limits at bottom (> NUMDAYS-1) | 281 | //cope with selection being out of matrix limits at bottom (> NUMDAYS-1) |
278 | if (mSelEnd > NUMDAYS-1) { | 282 | if (mSelEnd > NUMDAYS-1) { |
279 | for (int i = i0; i <= NUMDAYS-1; i++) { | 283 | for (int i = i0; i <= NUMDAYS-1; i++) { |
280 | selDays.append(days[i]); | 284 | selDays.append(days[i]); |
281 | } | 285 | } |
282 | for (int i = NUMDAYS; i < mSelEnd; i++) { | 286 | for (int i = NUMDAYS; i < mSelEnd; i++) { |
283 | selDays.append(days[0].addDays(i)); | 287 | selDays.append(days[0].addDays(i)); |
284 | } | 288 | } |
285 | 289 | ||
286 | // apply normal routine to selection being entirely within matrix limits | 290 | // apply normal routine to selection being entirely within matrix limits |
287 | } else { | 291 | } else { |
288 | for (int i = i0; i <= mSelEnd; i++) { | 292 | for (int i = i0; i <= mSelEnd; i++) { |
289 | selDays.append(days[i]); | 293 | selDays.append(days[i]); |
290 | } | 294 | } |
291 | } | 295 | } |
292 | } | 296 | } |
293 | 297 | ||
294 | bool KODayMatrix::setSelectedDaysFrom(const QDate& start, const QDate& end) | 298 | bool KODayMatrix::setSelectedDaysFrom(const QDate& start, const QDate& end) |
295 | { | 299 | { |
296 | mRedrawNeeded = true; | 300 | mRedrawNeeded = true; |
297 | bool noSel = (mSelEnd == NOSELECTION && mSelStart == NOSELECTION ); | 301 | bool noSel = (mSelEnd == NOSELECTION && mSelStart == NOSELECTION ); |
298 | mSelStart = startdate.daysTo(start); | 302 | mSelStart = startdate.daysTo(start); |
299 | if ( mSelStart < 0 ) | 303 | if ( mSelStart < 0 ) |
300 | mSelStart = 0; | 304 | mSelStart = 0; |
301 | mSelEnd = startdate.daysTo(end); | 305 | mSelEnd = startdate.daysTo(end); |
302 | if ( mSelEnd > NUMDAYS-1 ) | 306 | if ( mSelEnd > NUMDAYS-1 ) |
303 | mSelEnd = NUMDAYS-1; | 307 | mSelEnd = NUMDAYS-1; |
304 | if ( mSelEnd < 0 || mSelStart > NUMDAYS-1 ) { | 308 | if ( mSelEnd < 0 || mSelStart > NUMDAYS-1 ) { |
305 | clearSelection(); | 309 | clearSelection(); |
306 | if ( noSel ) | 310 | if ( noSel ) |
307 | return false; | 311 | return false; |
308 | } | 312 | } |
309 | 313 | ||
310 | return true; | 314 | return true; |
311 | } | 315 | } |
312 | void KODayMatrix::clearSelection() | 316 | void KODayMatrix::clearSelection() |
313 | { | 317 | { |
314 | mSelEnd = mSelStart = NOSELECTION; | 318 | mSelEnd = mSelStart = NOSELECTION; |
315 | } | 319 | } |
316 | 320 | ||
317 | 321 | ||
318 | void KODayMatrix::recalculateToday() | 322 | void KODayMatrix::recalculateToday() |
319 | { | 323 | { |
320 | today = -1; | 324 | today = -1; |
321 | for (int i=0; i<NUMDAYS; i++) { | 325 | for (int i=0; i<NUMDAYS; i++) { |
322 | //events[i] = 0; | 326 | //events[i] = 0; |
323 | days[i] = startdate.addDays(i); | 327 | days[i] = startdate.addDays(i); |
324 | daylbls[i] = QString::number( KOGlobals::self()->calendarSystem()->day( days[i] )); | 328 | daylbls[i] = QString::number( KOGlobals::self()->calendarSystem()->day( days[i] )); |
325 | 329 | ||
326 | // if today is in the currently displayed month, hilight today | 330 | // if today is in the currently displayed month, hilight today |
327 | if (days[i].year() == QDate::currentDate().year() && | 331 | if (days[i].year() == QDate::currentDate().year() && |
328 | days[i].month() == QDate::currentDate().month() && | 332 | days[i].month() == QDate::currentDate().month() && |
329 | days[i].day() == QDate::currentDate().day()) { | 333 | days[i].day() == QDate::currentDate().day()) { |
330 | today = i; | 334 | today = i; |
331 | } | 335 | } |
332 | } | 336 | } |
333 | // qDebug(QString("Today is visible at %1.").arg(today)); | 337 | // qDebug(QString("Today is visible at %1.").arg(today)); |
334 | } | 338 | } |
335 | 339 | ||
336 | void KODayMatrix::updateView() | 340 | void KODayMatrix::updateView() |
337 | { | 341 | { |
338 | updateView(startdate); | 342 | updateView(startdate); |
339 | } | 343 | } |
340 | void KODayMatrix::repaintViewTimed() | 344 | void KODayMatrix::repaintViewTimed() |
341 | { | 345 | { |
342 | mRedrawNeeded = true; | 346 | mRedrawNeeded = true; |
343 | // bDays.fill( false); | 347 | // bDays.fill( false); |
344 | //pDays.fill( false); | 348 | //pDays.fill( false); |
345 | //hDays.fill( false); | 349 | //hDays.fill( false); |
346 | //eDays.fill( false); | 350 | //eDays.fill( false); |
347 | mRepaintTimer->stop(); | 351 | mRepaintTimer->stop(); |
348 | int startDay = days[0].dayOfWeek(); // 1...7 7 = sunday | 352 | int startDay = days[0].dayOfWeek(); // 1...7 7 = sunday |
349 | int i; | 353 | int i; |
350 | for(i = 0; i < NUMDAYS; i++) { | 354 | for(i = 0; i < NUMDAYS; i++) { |
351 | if ( ( (i+startDay) % 7 == 0 ) ) { | 355 | if ( ( (i+startDay) % 7 == 0 ) ) { |
352 | pDays.setBit(i); | 356 | pDays.setBit(i); |
353 | } | 357 | } |
354 | } | 358 | } |
355 | repaint(false); | 359 | repaint(false); |
356 | } | 360 | } |
357 | void KODayMatrix::computeEvent(Event *event, int i ) | 361 | void KODayMatrix::computeEvent(Event *event, int i ) |
358 | { | 362 | { |
359 | QString holiStr = mHolidays[i]; | 363 | QString holiStr = mHolidays[i]; |
360 | if ( event->isHoliday()) { | 364 | if ( event->isHoliday()) { |
361 | pDays.setBit(i); | 365 | pDays.setBit(i); |
362 | hDays.setBit(i); | 366 | hDays.setBit(i); |
363 | if ( !holiStr.isEmpty() ) | 367 | if ( !holiStr.isEmpty() ) |
364 | holiStr += "\n"; | 368 | holiStr += "\n"; |
365 | holiStr += event->summary(); | 369 | holiStr += event->summary(); |
366 | if ( !event->location().isEmpty() ) | 370 | if ( !event->location().isEmpty() ) |
367 | holiStr += " (" + event->location() + ")"; | 371 | holiStr += " (" + event->location() + ")"; |
368 | mHolidays[i] =holiStr ; | 372 | mHolidays[i] =holiStr ; |
369 | eDays.setBit(i); | 373 | eDays.setBit(i); |
370 | } | 374 | } |
371 | if ( KOPrefs::instance()->mCurrentDisplayedView != VIEW_T_VIEW && KOPrefs::instance()->mCurrentDisplayedView != VIEW_J_VIEW ) { | 375 | if ( KOPrefs::instance()->mCurrentDisplayedView != VIEW_T_VIEW && KOPrefs::instance()->mCurrentDisplayedView != VIEW_J_VIEW ) { |
372 | if ( event->isBirthday()) { | 376 | if ( event->isBirthday()) { |
373 | pDays.setBit(i); | 377 | pDays.setBit(i); |
374 | if ( !holiStr.isEmpty() ) | 378 | if ( !holiStr.isEmpty() ) |
375 | holiStr += "\n"; | 379 | holiStr += "\n"; |
376 | holiStr += i18n("Birthday") + ": "+event->summary(); | 380 | holiStr += i18n("Birthday") + ": "+event->summary(); |
377 | if ( !event->location().isEmpty() ) | 381 | if ( !event->location().isEmpty() ) |
378 | holiStr += " (" + event->location() + ")"; | 382 | holiStr += " (" + event->location() + ")"; |
379 | bDays.setBit(i); | 383 | bDays.setBit(i); |
380 | mHolidays[i] =holiStr ; | 384 | mHolidays[i] =holiStr ; |
381 | } | 385 | } |
382 | } | 386 | } |
383 | if ( KOPrefs::instance()->mCurrentDisplayedView != VIEW_J_VIEW ) | 387 | if ( KOPrefs::instance()->mCurrentDisplayedView != VIEW_J_VIEW ) |
384 | eDays.setBit(i); | 388 | eDays.setBit(i); |
385 | } | 389 | } |
386 | void KODayMatrix::updateViewTimed() | 390 | void KODayMatrix::updateViewTimed() |
387 | { | 391 | { |
388 | mUpdateTimer->stop(); | 392 | mUpdateTimer->stop(); |
389 | if ( !mCalendar ) { | 393 | if ( !mCalendar ) { |
390 | qDebug("NOT CAL "); | 394 | qDebug("NOT CAL "); |
391 | return; | 395 | return; |
392 | } | 396 | } |
393 | #if 1 | 397 | #if 1 |
394 | 398 | ||
395 | 399 | ||
396 | int i; | 400 | int i; |
397 | int timeSpan = NUMDAYS-1; | 401 | int timeSpan = NUMDAYS-1; |
398 | QPtrList<Event> events = mCalendar->events(); | 402 | QPtrList<Event> events = mCalendar->events(); |
399 | Event *event; | 403 | Event *event; |
400 | QDateTime dt; | 404 | QDateTime dt; |
401 | bool ok; | 405 | bool ok; |
402 | bDays.fill( false); | 406 | bDays.fill( false); |
403 | pDays.fill( false); | 407 | pDays.fill( false); |
404 | hDays.fill( false); | 408 | hDays.fill( false); |
405 | eDays.fill( false); | 409 | eDays.fill( false); |
406 | mHolidays.clear(); | 410 | mHolidays.clear(); |
407 | QDate mStartDate = days[0]; | 411 | QDate mStartDate = days[0]; |
408 | QDate endDate = mStartDate.addDays( timeSpan ); | 412 | QDate endDate = mStartDate.addDays( timeSpan ); |
409 | for( event = events.first(); event; event = events.next() ) { // for event | 413 | for( event = events.first(); event; event = events.next() ) { // for event |
410 | ushort recurType = event->recurrence()->doesRecur(); | 414 | ushort recurType = event->recurrence()->doesRecur(); |
411 | if ((recurType == Recurrence::rDaily && !KOPrefs::instance()->mDailyRecur) || | 415 | if ((recurType == Recurrence::rDaily && !KOPrefs::instance()->mDailyRecur) || |
412 | (recurType == Recurrence::rWeekly && !KOPrefs::instance()->mWeeklyRecur)) { | 416 | (recurType == Recurrence::rWeekly && !KOPrefs::instance()->mWeeklyRecur)) { |
413 | continue; | 417 | continue; |
414 | } | 418 | } |
415 | if ( event->doesRecur() ) { | 419 | if ( event->doesRecur() ) { |
416 | bool last; | 420 | bool last; |
417 | QDateTime incidenceStart = event->recurrence()->getPreviousDateTime( QDateTime( mStartDate ) , &last ); | 421 | QDateTime incidenceStart = event->recurrence()->getPreviousDateTime( QDateTime( mStartDate ) , &last ); |
418 | QDateTime incidenceEnd; | 422 | QDateTime incidenceEnd; |
419 | int eventlen = event->dtStart().date().daysTo ( event->dtEnd().date() ); | 423 | int eventlen = event->dtStart().date().daysTo ( event->dtEnd().date() ); |
420 | bool invalid = false; | 424 | bool invalid = false; |
421 | while( true ) { | 425 | while( true ) { |
422 | if ( incidenceStart.isValid() ) { | 426 | if ( incidenceStart.isValid() ) { |
423 | incidenceEnd = incidenceStart.addDays( eventlen ); | 427 | incidenceEnd = incidenceStart.addDays( eventlen ); |
424 | int st = incidenceStart.date().daysTo( endDate ); | 428 | int st = incidenceStart.date().daysTo( endDate ); |
425 | if ( st >= 0 ) { // start before timeend | 429 | if ( st >= 0 ) { // start before timeend |
426 | int end = mStartDate.daysTo( incidenceEnd.date() ); | 430 | int end = mStartDate.daysTo( incidenceEnd.date() ); |
427 | if ( end >= 0 ) { // end after timestart --- got one! | 431 | if ( end >= 0 ) { // end after timestart --- got one! |
428 | //normalize | 432 | //normalize |
429 | st = timeSpan - st; | 433 | st = timeSpan - st; |
430 | if ( st < 0 ) st = 0; | 434 | if ( st < 0 ) st = 0; |
431 | if ( end > timeSpan ) end = timeSpan; | 435 | if ( end > timeSpan ) end = timeSpan; |
432 | int iii; | 436 | int iii; |
433 | //qDebug("found %s %d %d ",event->summary().latin1(), st, end ); | 437 | //qDebug("found %s %d %d ",event->summary().latin1(), st, end ); |
434 | for ( iii = st;iii<= end;++iii) { | 438 | for ( iii = st;iii<= end;++iii) { |
435 | computeEvent( event, iii ); | 439 | computeEvent( event, iii ); |
436 | } | 440 | } |
437 | } | 441 | } |
438 | } | 442 | } |
439 | } else { | 443 | } else { |
440 | if ( invalid ) | 444 | if ( invalid ) |
441 | break; | 445 | break; |
442 | invalid = true; | 446 | invalid = true; |
443 | //qDebug("invalid %s", event->summary().latin1()); | 447 | //qDebug("invalid %s", event->summary().latin1()); |
444 | incidenceStart = QDateTime( mStartDate ).addSecs( -2 );; | 448 | incidenceStart = QDateTime( mStartDate ).addSecs( -2 );; |
445 | } | 449 | } |
446 | if ( last ) | 450 | if ( last ) |
447 | break; | 451 | break; |
448 | bool ok; | 452 | bool ok; |
449 | incidenceStart = event->getNextOccurence( incidenceStart.addSecs( 1 ) ,&ok ); | 453 | incidenceStart = event->getNextOccurence( incidenceStart.addSecs( 1 ) ,&ok ); |
450 | if ( ! ok ) | 454 | if ( ! ok ) |
451 | break; | 455 | break; |
452 | if ( incidenceStart.date() > endDate ) | 456 | if ( incidenceStart.date() > endDate ) |
453 | break; | 457 | break; |
454 | } | 458 | } |
455 | } else { // no recur | 459 | } else { // no recur |
456 | int st = event->dtStart().date().daysTo( endDate ); | 460 | int st = event->dtStart().date().daysTo( endDate ); |
457 | if ( st >= 0 ) { // start before timeend | 461 | if ( st >= 0 ) { // start before timeend |
458 | int end = mStartDate.daysTo( event->dtEnd().date() ); | 462 | int end = mStartDate.daysTo( event->dtEnd().date() ); |
459 | if ( end >= 0 ) { // end after timestart --- got one! | 463 | if ( end >= 0 ) { // end after timestart --- got one! |
460 | //normalize | 464 | //normalize |
461 | st = timeSpan - st; | 465 | st = timeSpan - st; |
462 | if ( st < 0 ) st = 0; | 466 | if ( st < 0 ) st = 0; |
463 | if ( end > timeSpan ) end = timeSpan; | 467 | if ( end > timeSpan ) end = timeSpan; |
464 | int iii; | 468 | int iii; |
465 | for ( iii = st;iii<= end;++iii) | 469 | for ( iii = st;iii<= end;++iii) |
466 | computeEvent( event, iii ); | 470 | computeEvent( event, iii ); |
467 | } | 471 | } |
468 | } | 472 | } |
469 | } | 473 | } |
470 | } | 474 | } |
471 | int startDay = days[0].dayOfWeek(); // 1...7 7 = sunday | 475 | int startDay = days[0].dayOfWeek(); // 1...7 7 = sunday |
472 | for(i = 0; i < NUMDAYS; i++) { | 476 | for(i = 0; i < NUMDAYS; i++) { |
473 | if ( ( (i+startDay) % 7 == 0 ) ) { | 477 | if ( ( (i+startDay) % 7 == 0 ) ) { |
474 | pDays.setBit(i); | 478 | pDays.setBit(i); |
475 | } | 479 | } |
476 | } | 480 | } |
477 | if ( KOPrefs::instance()->mCurrentDisplayedView == VIEW_T_VIEW ) { | 481 | if ( KOPrefs::instance()->mCurrentDisplayedView == VIEW_T_VIEW ) { |
478 | bDays.fill( false); | 482 | bDays.fill( false); |
479 | // insert due todos | 483 | // insert due todos |
480 | QPtrList<Todo> todos = mCalendar->todos( ); | 484 | QPtrList<Todo> todos = mCalendar->todos( ); |
481 | Todo *todo; | 485 | Todo *todo; |
482 | for(todo = todos.first(); todo; todo = todos.next()) { | 486 | for(todo = todos.first(); todo; todo = todos.next()) { |
483 | //insertTodo( todo ); | 487 | //insertTodo( todo ); |
484 | if ( todo->hasDueDate() ) { | 488 | if ( todo->hasDueDate() ) { |
485 | int day = mStartDate.daysTo( todo->dtDue().date() ); | 489 | int day = mStartDate.daysTo( todo->dtDue().date() ); |
486 | if ( day >= 0 && day < timeSpan + 1) { | 490 | if ( day >= 0 && day < timeSpan + 1) { |
487 | int i = day; | 491 | int i = day; |
488 | QString holiStr = mHolidays[i]; | 492 | QString holiStr = mHolidays[i]; |
489 | pDays.setBit(i); | 493 | pDays.setBit(i); |
490 | if ( !holiStr.isEmpty() ) | 494 | if ( !holiStr.isEmpty() ) |
491 | holiStr += "\n"; | 495 | holiStr += "\n"; |
492 | holiStr += i18n("Todo") + ": "+todo->summary(); | 496 | holiStr += i18n("Todo") + ": "+todo->summary(); |
493 | if ( !todo->location().isEmpty() ) | 497 | if ( !todo->location().isEmpty() ) |
494 | holiStr += " (" + todo->location() + ")"; | 498 | holiStr += " (" + todo->location() + ")"; |
495 | bDays.setBit(i); | 499 | bDays.setBit(i); |
496 | mHolidays[i] =holiStr ; | 500 | mHolidays[i] =holiStr ; |
497 | eDays.setBit(i); | 501 | eDays.setBit(i); |
498 | } | 502 | } |
499 | } | 503 | } |
500 | } | 504 | } |
501 | } | 505 | } |
502 | if ( KOPrefs::instance()->mCurrentDisplayedView == VIEW_J_VIEW ) { | 506 | if ( KOPrefs::instance()->mCurrentDisplayedView == VIEW_J_VIEW ) { |
503 | bDays.fill( false); | 507 | bDays.fill( false); |
504 | // insert due todos | 508 | // insert due todos |
505 | QPtrList<Journal> todos = mCalendar->journals( ); | 509 | QPtrList<Journal> todos = mCalendar->journals( ); |
506 | Journal *todo; | 510 | Journal *todo; |
507 | for(todo = todos.first(); todo; todo = todos.next()) { | 511 | for(todo = todos.first(); todo; todo = todos.next()) { |
508 | int day = mStartDate.daysTo( todo->dtStart().date() ); | 512 | int day = mStartDate.daysTo( todo->dtStart().date() ); |
509 | if ( day >= 0 && day < timeSpan + 1) { | 513 | if ( day >= 0 && day < timeSpan + 1) { |
510 | int i = day; | 514 | int i = day; |
511 | QString holiStr = mHolidays[i]; | 515 | QString holiStr = mHolidays[i]; |
512 | pDays.setBit(i); | 516 | pDays.setBit(i); |
513 | if ( !holiStr.isEmpty() ) | 517 | if ( !holiStr.isEmpty() ) |
514 | holiStr += "\n"; | 518 | holiStr += "\n"; |
515 | holiStr += i18n("Journal"); | 519 | holiStr += i18n("Journal"); |
516 | bDays.setBit(i); | 520 | bDays.setBit(i); |
517 | mHolidays[i] =holiStr ; | 521 | mHolidays[i] =holiStr ; |
518 | eDays.setBit(i); | 522 | eDays.setBit(i); |
519 | 523 | ||
520 | } | 524 | } |
521 | } | 525 | } |
522 | } | 526 | } |
523 | #else | 527 | #else |
524 | //qDebug("KODayMatrix::updateViewTimed "); | 528 | //qDebug("KODayMatrix::updateViewTimed "); |
525 | for(int i = 0; i < NUMDAYS; i++) { | 529 | for(int i = 0; i < NUMDAYS; i++) { |
526 | // if events are set for the day then remember to draw it bold | 530 | // if events are set for the day then remember to draw it bold |
527 | QPtrList<Event> eventlist = mCalendar->events(days[i]); | 531 | QPtrList<Event> eventlist = mCalendar->events(days[i]); |
528 | Event *event; | 532 | Event *event; |
529 | int numEvents = eventlist.count(); | 533 | int numEvents = eventlist.count(); |
530 | QString holiStr = ""; | 534 | QString holiStr = ""; |
531 | bDays.clearBit(i); | 535 | bDays.clearBit(i); |
532 | hDays.clearBit(i); | 536 | hDays.clearBit(i); |
533 | eDays.clearBit(i); | 537 | eDays.clearBit(i); |
534 | for(event=eventlist.first();event != 0;event=eventlist.next()) { | 538 | for(event=eventlist.first();event != 0;event=eventlist.next()) { |
535 | ushort recurType = event->recurrence()->doesRecur(); | 539 | ushort recurType = event->recurrence()->doesRecur(); |
536 | if ((recurType == Recurrence::rDaily && !KOPrefs::instance()->mDailyRecur) || | 540 | if ((recurType == Recurrence::rDaily && !KOPrefs::instance()->mDailyRecur) || |
537 | (recurType == Recurrence::rWeekly && !KOPrefs::instance()->mWeeklyRecur)) { | 541 | (recurType == Recurrence::rWeekly && !KOPrefs::instance()->mWeeklyRecur)) { |
538 | numEvents--; | 542 | numEvents--; |
539 | } | 543 | } |
540 | if ( event->isHoliday()) { | 544 | if ( event->isHoliday()) { |
541 | hDays.setBit(i); | 545 | hDays.setBit(i); |
542 | if ( !holiStr.isEmpty() ) | 546 | if ( !holiStr.isEmpty() ) |
543 | holiStr += "\n"; | 547 | holiStr += "\n"; |
544 | holiStr += event->summary(); | 548 | holiStr += event->summary(); |
545 | if ( !event->location().isEmpty() ) | 549 | if ( !event->location().isEmpty() ) |
546 | holiStr += " (" + event->location() + ")"; | 550 | holiStr += " (" + event->location() + ")"; |
547 | } | 551 | } |
548 | if ( event->isBirthday()) { | 552 | if ( event->isBirthday()) { |
549 | if ( !holiStr.isEmpty() ) | 553 | if ( !holiStr.isEmpty() ) |
550 | holiStr += "\n"; | 554 | holiStr += "\n"; |
551 | holiStr += i18n("Birthday") + ": "+event->summary(); | 555 | holiStr += i18n("Birthday") + ": "+event->summary(); |
552 | if ( !event->location().isEmpty() ) | 556 | if ( !event->location().isEmpty() ) |
553 | holiStr += " (" + event->location() + ")"; | 557 | holiStr += " (" + event->location() + ")"; |
554 | bDays.setBit(i); | 558 | bDays.setBit(i); |
555 | } | 559 | } |
556 | } | 560 | } |
557 | if ( numEvents ) | 561 | if ( numEvents ) |
558 | eDays.setBit(i); | 562 | eDays.setBit(i); |
559 | //if it is a holy day then draw it red. Sundays are consider holidays, too | 563 | //if it is a holy day then draw it red. Sundays are consider holidays, too |
560 | if ( (KOGlobals::self()->calendarSystem()->dayOfWeek(days[i]) == KOGlobals::self()->calendarSystem()->weekDayOfPray()) || | 564 | if ( (KOGlobals::self()->calendarSystem()->dayOfWeek(days[i]) == KOGlobals::self()->calendarSystem()->weekDayOfPray()) || |
561 | !holiStr.isEmpty()) { | 565 | !holiStr.isEmpty()) { |
562 | mHolidays[i] = holiStr; | 566 | mHolidays[i] = holiStr; |
563 | } else { | 567 | } else { |
564 | mHolidays[i] = QString::null; | 568 | mHolidays[i] = QString::null; |
565 | } | 569 | } |
566 | } | 570 | } |
567 | #endif | 571 | #endif |
568 | mRedrawNeeded = true; | 572 | mRedrawNeeded = true; |
569 | if ( ! mPendingUpdateBeforeRepaint ) | 573 | if ( ! mPendingUpdateBeforeRepaint ) |
570 | repaint(false); | 574 | repaint(false); |
571 | } | 575 | } |
572 | void KODayMatrix::updateView(QDate actdate) | 576 | void KODayMatrix::updateView(QDate actdate) |
573 | { | 577 | { |
574 | if ( mLastView != KOPrefs::instance()->mCurrentDisplayedView ) | 578 | if ( mLastView != KOPrefs::instance()->mCurrentDisplayedView ) |
575 | mRedrawNeeded = true; | 579 | mRedrawNeeded = true; |
576 | mLastView = KOPrefs::instance()->mCurrentDisplayedView; | 580 | mLastView = KOPrefs::instance()->mCurrentDisplayedView; |
577 | if ( ! actdate.isValid() ) { | 581 | if ( ! actdate.isValid() ) { |
578 | //qDebug("date not valid "); | 582 | //qDebug("date not valid "); |
579 | return; | 583 | return; |
580 | } | 584 | } |
581 | mDayChanged = false; | 585 | mDayChanged = false; |
582 | //flag to indicate if the starting day of the matrix has changed by this call | 586 | //flag to indicate if the starting day of the matrix has changed by this call |
583 | //mDayChanged = false; | 587 | //mDayChanged = false; |
584 | // if a new startdate is to be set then apply Cornelius's calculation | 588 | // if a new startdate is to be set then apply Cornelius's calculation |
585 | // of the first day to be shown | 589 | // of the first day to be shown |
586 | if (actdate != startdate) { | 590 | if (actdate != startdate) { |
587 | // reset index of selection according to shift of starting date from startdate to actdate | 591 | // reset index of selection according to shift of starting date from startdate to actdate |
588 | if (mSelStart != NOSELECTION) { | 592 | if (mSelStart != NOSELECTION) { |
589 | int tmp = actdate.daysTo(startdate); | 593 | int tmp = actdate.daysTo(startdate); |
590 | //kdDebug() << "Shift of Selection1: " << mSelStart << " - " << mSelEnd << " -> " << tmp << "(" << offset << ")" << endl; | 594 | //kdDebug() << "Shift of Selection1: " << mSelStart << " - " << mSelEnd << " -> " << tmp << "(" << offset << ")" << endl; |
591 | // shift selection if new one would be visible at least partly ! | 595 | // shift selection if new one would be visible at least partly ! |
592 | 596 | ||
593 | if (mSelStart+tmp < NUMDAYS && mSelEnd+tmp >= 0) { | 597 | if (mSelStart+tmp < NUMDAYS && mSelEnd+tmp >= 0) { |
594 | // nested if is required for next X display pushed from a different month - correction required | 598 | // nested if is required for next X display pushed from a different month - correction required |
595 | // otherwise, for month forward and backward, it must be avoided | 599 | // otherwise, for month forward and backward, it must be avoided |
596 | if( mSelStart > NUMDAYS || mSelStart < 0 ) | 600 | if( mSelStart > NUMDAYS || mSelStart < 0 ) |
597 | mSelStart = mSelStart + tmp; | 601 | mSelStart = mSelStart + tmp; |
598 | if( mSelEnd > NUMDAYS || mSelEnd < 0 ) | 602 | if( mSelEnd > NUMDAYS || mSelEnd < 0 ) |
599 | mSelEnd = mSelEnd + tmp; | 603 | mSelEnd = mSelEnd + tmp; |
600 | } | 604 | } |
601 | } | 605 | } |
602 | startdate = actdate; | 606 | startdate = actdate; |
603 | mDayChanged = true; | 607 | mDayChanged = true; |
604 | recalculateToday(); | 608 | recalculateToday(); |
605 | mRedrawNeeded = true; | 609 | mRedrawNeeded = true; |
606 | } | 610 | } |
607 | //qDebug("restart Timer %d vis: %d", mDayChanged, isVisible() ); | 611 | //qDebug("restart Timer %d vis: %d", mDayChanged, isVisible() ); |
608 | if ( !isVisible() ) { | 612 | if ( !isVisible() ) { |
609 | mPendingUpdateBeforeRepaint = true; | 613 | mPendingUpdateBeforeRepaint = true; |
610 | } else { | 614 | } else { |
611 | #ifdef DESKTOP_VERSION | 615 | #ifdef DESKTOP_VERSION |
612 | //mRepaintTimer->start( 100 ); | 616 | //mRepaintTimer->start( 100 ); |
613 | //updateViewTimed(); | 617 | //updateViewTimed(); |
614 | mUpdateTimer->start( 50 ); | 618 | mUpdateTimer->start( 50 ); |
615 | #else | 619 | #else |
616 | mRepaintTimer->start( 350 ); | 620 | mRepaintTimer->start( 350 ); |
617 | mUpdateTimer->start( 800 ); | 621 | mUpdateTimer->start( 800 ); |
618 | #endif | 622 | #endif |
619 | } | 623 | } |
620 | } | 624 | } |
621 | void KODayMatrix::updateEvents() | 625 | void KODayMatrix::updateEvents() |
622 | { | 626 | { |
623 | if ( !mCalendar ) return; | 627 | if ( !mCalendar ) return; |
624 | 628 | ||
625 | for( int i = 0; i < NUMDAYS; i++ ) { | 629 | for( int i = 0; i < NUMDAYS; i++ ) { |
626 | // if events are set for the day then remember to draw it bold | 630 | // if events are set for the day then remember to draw it bold |
627 | QPtrList<Event> eventlist = mCalendar->events( days[ i ] ); | 631 | QPtrList<Event> eventlist = mCalendar->events( days[ i ] ); |
628 | int numEvents = eventlist.count(); | 632 | int numEvents = eventlist.count(); |
629 | Event *event; | 633 | Event *event; |
630 | for( event = eventlist.first(); event != 0;event=eventlist.next()) { | 634 | for( event = eventlist.first(); event != 0;event=eventlist.next()) { |
631 | ushort recurType = event->doesRecur(); | 635 | ushort recurType = event->doesRecur(); |
632 | 636 | ||
633 | if ( ( recurType == Recurrence::rDaily && | 637 | if ( ( recurType == Recurrence::rDaily && |
634 | !KOPrefs::instance()->mDailyRecur ) || | 638 | !KOPrefs::instance()->mDailyRecur ) || |
635 | ( recurType == Recurrence::rWeekly && | 639 | ( recurType == Recurrence::rWeekly && |
636 | !KOPrefs::instance()->mWeeklyRecur ) ) { | 640 | !KOPrefs::instance()->mWeeklyRecur ) ) { |
637 | numEvents--; | 641 | numEvents--; |
638 | } | 642 | } |
639 | } | 643 | } |
640 | if ( numEvents ) | 644 | if ( numEvents ) |
641 | eDays.setBit(i); | 645 | eDays.setBit(i); |
642 | else | 646 | else |
643 | eDays.clearBit(i); | 647 | eDays.clearBit(i); |
644 | } | 648 | } |
645 | } | 649 | } |
646 | 650 | ||
647 | const QDate& KODayMatrix::getDate(int offset) | 651 | const QDate& KODayMatrix::getDate(int offset) |
648 | { | 652 | { |
649 | if (offset < 0 || offset > NUMDAYS-1) { | 653 | if (offset < 0 || offset > NUMDAYS-1) { |
650 | qDebug("Wrong offset2 %d", offset); | 654 | qDebug("Wrong offset2 %d", offset); |
651 | return days[0]; | 655 | return days[0]; |
652 | } | 656 | } |
653 | return days[offset]; | 657 | return days[offset]; |
654 | } | 658 | } |
655 | 659 | ||
656 | QString KODayMatrix::getHolidayLabel(int offset) | 660 | QString KODayMatrix::getHolidayLabel(int offset) |
657 | { | 661 | { |
658 | if (offset < 0 || offset > NUMDAYS-1) { | 662 | if (offset < 0 || offset > NUMDAYS-1) { |
659 | qDebug("Wrong offset1 %d", offset); | 663 | qDebug("Wrong offset1 %d", offset); |
660 | return QString(); | 664 | return QString(); |
661 | } | 665 | } |
662 | return mHolidays[offset]; | 666 | return mHolidays[offset]; |
663 | } | 667 | } |
664 | 668 | ||
665 | int KODayMatrix::getDayIndexFrom(int x, int y) | 669 | int KODayMatrix::getDayIndexFrom(int x, int y) |
666 | { | 670 | { |
667 | int colModulo = (width()-2) % 7; | 671 | int colModulo = (width()-2) % 7; |
668 | int rowModulo = (height()-2) % 6; | 672 | int rowModulo = (height()-2) % 6; |
669 | #if 0 | 673 | #if 0 |
670 | return 7*(y/daysize.height()) + (KOGlobals::self()->reverseLayout() ? | 674 | return 7*(y/daysize.height()) + (KOGlobals::self()->reverseLayout() ? |
671 | 6 - x/daysize.width() : x/daysize.width()); | 675 | 6 - x/daysize.width() : x/daysize.width()); |
672 | #endif | 676 | #endif |
673 | int xVal = (x-colModulo/2-2)/daysize.width(); | 677 | int xVal = (x-colModulo/2-2)/daysize.width(); |
674 | int yVal = (y-rowModulo/2-2)/daysize.height(); | 678 | int yVal = (y-rowModulo/2-2)/daysize.height(); |
675 | 679 | ||
676 | 680 | ||
677 | return 7*(yVal) + xVal; | 681 | return 7*(yVal) + xVal; |
678 | 682 | ||
679 | } | 683 | } |
680 | 684 | ||
681 | // ---------------------------------------------------------------------------- | 685 | // ---------------------------------------------------------------------------- |
682 | // M O U S E E V E N T H A N D L I N G | 686 | // M O U S E E V E N T H A N D L I N G |
683 | // ---------------------------------------------------------------------------- | 687 | // ---------------------------------------------------------------------------- |
684 | 688 | ||
685 | void KODayMatrix::mousePressEvent (QMouseEvent* e) | 689 | void KODayMatrix::mousePressEvent (QMouseEvent* e) |
686 | { | 690 | { |
687 | 691 | ||
688 | if ( e->button() == LeftButton ) | 692 | if ( e->button() == LeftButton ) |
689 | mouseDown = true; | 693 | mouseDown = true; |
690 | mSelStart = getDayIndexFrom(e->x(), e->y()); | 694 | mSelStart = getDayIndexFrom(e->x(), e->y()); |
691 | if (mSelStart > NUMDAYS-1) mSelStart=NUMDAYS-1; | 695 | if (mSelStart > NUMDAYS-1) mSelStart=NUMDAYS-1; |
692 | mSelInit = mSelStart; | 696 | mSelInit = mSelStart; |
693 | mSelEnd = mSelStart; | 697 | mSelEnd = mSelStart; |
694 | mRedrawNeeded = true; | 698 | mRedrawNeeded = true; |
695 | repaint(false); | 699 | repaint(false); |
696 | } | 700 | } |
697 | 701 | ||
698 | void KODayMatrix::mouseReleaseEvent (QMouseEvent* e) | 702 | void KODayMatrix::mouseReleaseEvent (QMouseEvent* e) |
699 | { | 703 | { |
700 | mRedrawNeeded = true; | 704 | mRedrawNeeded = true; |
701 | if ( e->button() == LeftButton ) | 705 | if ( e->button() == LeftButton ) |
702 | if ( ! mouseDown ) { | 706 | if ( ! mouseDown ) { |
703 | return; | 707 | return; |
704 | } | 708 | } |
705 | else | 709 | else |
706 | mouseDown = false; | 710 | mouseDown = false; |
707 | int tmp = getDayIndexFrom(e->x(), e->y()); | 711 | int tmp = getDayIndexFrom(e->x(), e->y()); |
708 | if (tmp > NUMDAYS-1) tmp=NUMDAYS-1; | 712 | if (tmp > NUMDAYS-1) tmp=NUMDAYS-1; |
709 | 713 | ||
710 | if (mSelInit > tmp) { | 714 | if (mSelInit > tmp) { |
711 | mSelEnd = mSelInit; | 715 | mSelEnd = mSelInit; |
712 | if (tmp != mSelStart) { | 716 | if (tmp != mSelStart) { |
713 | mSelStart = tmp; | 717 | mSelStart = tmp; |
714 | repaint(false); | 718 | repaint(false); |
715 | } | 719 | } |
716 | } else { | 720 | } else { |
717 | mSelStart = mSelInit; | 721 | mSelStart = mSelInit; |
718 | 722 | ||
719 | //repaint only if selection has changed | 723 | //repaint only if selection has changed |
720 | if (tmp != mSelEnd) { | 724 | if (tmp != mSelEnd) { |
721 | mSelEnd = tmp; | 725 | mSelEnd = tmp; |
722 | repaint(false); | 726 | repaint(false); |
723 | } | 727 | } |
724 | } | 728 | } |
725 | 729 | ||
726 | DateList daylist; | 730 | DateList daylist; |
727 | if ( mSelStart < 0 ) | 731 | if ( mSelStart < 0 ) |
728 | mSelStart = 0; | 732 | mSelStart = 0; |
729 | for (int i = mSelStart; i <= mSelEnd; i++) { | 733 | for (int i = mSelStart; i <= mSelEnd; i++) { |
730 | daylist.append(days[i]); | 734 | daylist.append(days[i]); |
731 | } | 735 | } |
732 | emit selected((const DateList)daylist); | 736 | emit selected((const DateList)daylist); |
733 | 737 | ||
734 | } | 738 | } |
735 | 739 | ||
736 | void KODayMatrix::mouseMoveEvent (QMouseEvent* e) | 740 | void KODayMatrix::mouseMoveEvent (QMouseEvent* e) |
737 | { | 741 | { |
738 | if ( ! mouseDown ) { | 742 | if ( ! mouseDown ) { |
739 | return; | 743 | return; |
740 | } | 744 | } |
741 | mRedrawNeeded = true; | 745 | mRedrawNeeded = true; |
742 | int tmp = getDayIndexFrom(e->x(), e->y()); | 746 | int tmp = getDayIndexFrom(e->x(), e->y()); |
743 | if (tmp > NUMDAYS-1) tmp=NUMDAYS-1; | 747 | if (tmp > NUMDAYS-1) tmp=NUMDAYS-1; |
744 | 748 | ||
745 | if (mSelInit > tmp) { | 749 | if (mSelInit > tmp) { |
746 | mSelEnd = mSelInit; | 750 | mSelEnd = mSelInit; |
747 | if (tmp != mSelStart) { | 751 | if (tmp != mSelStart) { |
748 | mSelStart = tmp; | 752 | mSelStart = tmp; |
749 | repaint(false); | 753 | repaint(false); |
750 | } | 754 | } |
751 | } else { | 755 | } else { |
752 | mSelStart = mSelInit; | 756 | mSelStart = mSelInit; |
753 | 757 | ||
754 | //repaint only if selection has changed | 758 | //repaint only if selection has changed |
755 | if (tmp != mSelEnd) { | 759 | if (tmp != mSelEnd) { |
756 | mSelEnd = tmp; | 760 | mSelEnd = tmp; |
757 | repaint(false); | 761 | repaint(false); |
758 | } | 762 | } |
759 | } | 763 | } |
760 | } | 764 | } |
761 | 765 | ||
762 | // ---------------------------------------------------------------------------- | 766 | // ---------------------------------------------------------------------------- |
763 | // D R A G ' N D R O P H A N D L I N G | 767 | // D R A G ' N D R O P H A N D L I N G |
764 | // ---------------------------------------------------------------------------- | 768 | // ---------------------------------------------------------------------------- |
765 | 769 | ||
766 | void KODayMatrix::dragEnterEvent(QDragEnterEvent *e) | 770 | void KODayMatrix::dragEnterEvent(QDragEnterEvent *e) |
767 | { | 771 | { |
768 | #ifndef KORG_NODND | 772 | #ifndef KORG_NODND |
769 | if ( !ICalDrag::canDecode( e ) && !VCalDrag::canDecode( e ) ) { | 773 | if ( !ICalDrag::canDecode( e ) && !VCalDrag::canDecode( e ) ) { |
770 | e->ignore(); | 774 | e->ignore(); |
771 | return; | 775 | return; |
772 | } | 776 | } |
773 | 777 | ||
774 | // some visual feedback | 778 | // some visual feedback |
775 | // oldPalette = palette(); | 779 | // oldPalette = palette(); |
776 | // setPalette(my_HilitePalette); | 780 | // setPalette(my_HilitePalette); |
777 | // update(); | 781 | // update(); |
778 | #endif | 782 | #endif |
779 | } | 783 | } |
780 | 784 | ||
781 | void KODayMatrix::dragMoveEvent(QDragMoveEvent *e) | 785 | void KODayMatrix::dragMoveEvent(QDragMoveEvent *e) |
782 | { | 786 | { |
783 | #ifndef KORG_NODND | 787 | #ifndef KORG_NODND |
784 | if ( !ICalDrag::canDecode( e ) && !VCalDrag::canDecode( e ) ) { | 788 | if ( !ICalDrag::canDecode( e ) && !VCalDrag::canDecode( e ) ) { |
785 | e->ignore(); | 789 | e->ignore(); |
786 | return; | 790 | return; |
787 | } | 791 | } |
788 | 792 | ||
789 | e->accept(); | 793 | e->accept(); |
790 | #endif | 794 | #endif |
791 | } | 795 | } |
792 | 796 | ||
793 | void KODayMatrix::dragLeaveEvent(QDragLeaveEvent */*dl*/) | 797 | void KODayMatrix::dragLeaveEvent(QDragLeaveEvent */*dl*/) |
794 | { | 798 | { |
795 | #ifndef KORG_NODND | 799 | #ifndef KORG_NODND |
796 | // setPalette(oldPalette); | 800 | // setPalette(oldPalette); |
797 | // update(); | 801 | // update(); |
798 | #endif | 802 | #endif |
799 | } | 803 | } |
800 | 804 | ||
801 | void KODayMatrix::dropEvent(QDropEvent *e) | 805 | void KODayMatrix::dropEvent(QDropEvent *e) |
802 | { | 806 | { |
803 | #ifndef KORG_NODND | 807 | #ifndef KORG_NODND |
804 | // kdDebug() << "KODayMatrix::dropEvent(e) begin" << endl; | 808 | // kdDebug() << "KODayMatrix::dropEvent(e) begin" << endl; |
805 | 809 | ||
806 | if (!mCalendar || !ICalDrag::canDecode( e ) && !VCalDrag::canDecode( e ) ) { | 810 | if (!mCalendar || !ICalDrag::canDecode( e ) && !VCalDrag::canDecode( e ) ) { |
807 | e->ignore(); | 811 | e->ignore(); |
808 | return; | 812 | return; |
809 | } | 813 | } |
810 | 814 | ||
811 | DndFactory factory( mCalendar ); | 815 | DndFactory factory( mCalendar ); |
812 | Event *event = factory.createDrop(e); | 816 | Event *event = factory.createDrop(e); |
813 | 817 | ||
814 | if (event) { | 818 | if (event) { |
815 | e->acceptAction(); | 819 | e->acceptAction(); |
816 | 820 | ||
817 | Event *existingEvent = mCalendar->event(event->uid()); | 821 | Event *existingEvent = mCalendar->event(event->uid()); |
818 | 822 | ||
819 | if(existingEvent) { | 823 | if(existingEvent) { |
820 | // uniquify event | 824 | // uniquify event |
821 | event->recreate(); | 825 | event->recreate(); |
822 | /* | 826 | /* |
823 | KMessageBox::sorry(this, | 827 | KMessageBox::sorry(this, |
824 | i18n("Event already exists in this calendar."), | 828 | i18n("Event already exists in this calendar."), |
825 | i18n("Drop Event")); | 829 | i18n("Drop Event")); |
826 | delete event; | 830 | delete event; |
827 | return; | 831 | return; |
828 | */ | 832 | */ |
829 | } | 833 | } |
830 | // kdDebug() << "Drop new Event" << endl; | 834 | // kdDebug() << "Drop new Event" << endl; |
831 | // Adjust date | 835 | // Adjust date |
832 | QDateTime start = event->dtStart(); | 836 | QDateTime start = event->dtStart(); |
833 | QDateTime end = event->dtEnd(); | 837 | QDateTime end = event->dtEnd(); |
834 | int duration = start.daysTo(end); | 838 | int duration = start.daysTo(end); |
835 | int idx = getDayIndexFrom(e->pos().x(), e->pos().y()); | 839 | int idx = getDayIndexFrom(e->pos().x(), e->pos().y()); |
836 | 840 | ||
837 | start.setDate(days[idx]); | 841 | start.setDate(days[idx]); |
838 | end.setDate(days[idx].addDays(duration)); | 842 | end.setDate(days[idx].addDays(duration)); |
839 | 843 | ||
840 | event->setDtStart(start); | 844 | event->setDtStart(start); |
841 | event->setDtEnd(end); | 845 | event->setDtEnd(end); |
842 | mCalendar->addEvent(event); | 846 | mCalendar->addEvent(event); |
843 | 847 | ||
844 | emit eventDropped(event); | 848 | emit eventDropped(event); |
845 | } else { | 849 | } else { |
846 | // kdDebug() << "KODayMatrix::dropEvent(): Event from drop not decodable" << endl; | 850 | // kdDebug() << "KODayMatrix::dropEvent(): Event from drop not decodable" << endl; |
847 | e->ignore(); | 851 | e->ignore(); |
848 | } | 852 | } |
849 | #endif | 853 | #endif |
850 | } | 854 | } |
851 | 855 | ||
852 | // ---------------------------------------------------------------------------- | 856 | // ---------------------------------------------------------------------------- |
853 | // P A I N T E V E N T H A N D L I N G | 857 | // P A I N T E V E N T H A N D L I N G |
854 | // ---------------------------------------------------------------------------- | 858 | // ---------------------------------------------------------------------------- |
855 | 859 | ||
856 | void KODayMatrix::paintEvent(QPaintEvent * pevent) | 860 | void KODayMatrix::paintEvent(QPaintEvent * pevent) |
857 | { | 861 | { |
858 | 862 | ||
859 | if ( width() <= 0 || height() <= 0 ) | 863 | if ( width() <= 0 || height() <= 0 ) |
860 | return; | 864 | return; |
861 | if ( mPendingUpdateBeforeRepaint ) { | 865 | if ( mPendingUpdateBeforeRepaint ) { |
862 | updateViewTimed(); | 866 | updateViewTimed(); |
863 | mPendingUpdateBeforeRepaint = false; | 867 | mPendingUpdateBeforeRepaint = false; |
864 | } | 868 | } |
865 | #if 0 | 869 | #if 0 |
866 | if ( myPix.width() != width() || myPix.height()!=height() ) { | 870 | if ( myPix.width() != width() || myPix.height()!=height() ) { |
867 | myPix.resize(size() ); | 871 | myPix.resize(size() ); |
868 | mRedrawNeeded = true; | 872 | mRedrawNeeded = true; |
869 | } | 873 | } |
870 | #endif | 874 | #endif |
871 | if ( oldW != width() || oldH !=height() ) | 875 | if ( oldW != width() || oldH !=height() ) |
872 | mRedrawNeeded = true; | 876 | mRedrawNeeded = true; |
873 | 877 | ||
874 | oldH = height() ; | 878 | oldH = height() ; |
875 | oldW = width(); | 879 | oldW = width(); |
876 | if ( myPix.width() < width() || myPix.height() < height() ) { | 880 | if ( myPix.width() < width() || myPix.height() < height() ) { |
877 | myPix.resize(size() ); | 881 | myPix.resize(size() ); |
878 | mRedrawNeeded = true; | 882 | mRedrawNeeded = true; |
879 | 883 | ||
880 | } | 884 | } |
881 | 885 | ||
882 | if ( mRedrawNeeded ) { | 886 | if ( mRedrawNeeded ) { |
883 | //qDebug("REDRAW "); | 887 | //qDebug("REDRAW "); |
884 | QPainter p(&myPix); | 888 | QPainter p(&myPix); |
885 | p.setFont(font()); | 889 | p.setFont(font()); |
886 | 890 | ||
887 | 891 | ||
888 | int dheight = daysize.height(); | 892 | int dheight = daysize.height(); |
889 | int dwidth = daysize.width(); | 893 | int dwidth = daysize.width(); |
890 | int row,col; | 894 | int row,col; |
891 | int selw, selh; | 895 | int selw, selh; |
892 | int xyOff = frameWidth(); | 896 | int xyOff = frameWidth(); |
893 | int colModulo = (width()-2) % 7; | 897 | int colModulo = (width()-2) % 7; |
894 | int rowModulo = (height()-2) % 6; | 898 | int rowModulo = (height()-2) % 6; |
895 | //qDebug("col %d row %d ",colModulo,rowModulo ); | 899 | //qDebug("col %d row %d ",colModulo,rowModulo ); |
896 | 900 | ||
897 | bool isRTL = KOGlobals::self()->reverseLayout(); | 901 | bool isRTL = KOGlobals::self()->reverseLayout(); |
898 | 902 | ||
899 | // draw background and topleft frame | 903 | // draw background and topleft frame |
900 | p.fillRect(0,0,width(),height(), mDefaultBackColor); | 904 | p.fillRect(0,0,width(),height(), mDefaultBackColor); |
901 | p.setPen(mDefaultTextColor); | 905 | p.setPen(mDefaultTextColor); |
902 | p.drawRect(0, 0, width(), height()); | 906 | p.drawRect(0, 0, width(), height()); |
903 | int mSelStartT = mSelStart; | 907 | int mSelStartT = mSelStart; |
904 | int mSelEndT = mSelEnd; | 908 | int mSelEndT = mSelEnd; |
905 | if ( mSelEndT >= NUMDAYS ) | 909 | if ( mSelEndT >= NUMDAYS ) |
906 | mSelEndT = NUMDAYS-1; | 910 | mSelEndT = NUMDAYS-1; |
907 | // draw selected days with highlighted background color | 911 | // draw selected days with highlighted background color |
908 | if (mSelStart != NOSELECTION) { | 912 | if (mSelStart != NOSELECTION) { |
909 | bool skip = false; | 913 | bool skip = false; |
910 | if ( ! mouseDown ) { | 914 | if ( ! mouseDown ) { |
911 | int mo = days[20].month(); | 915 | int mo = days[20].month(); |
912 | //qDebug("-- %d %d ", mSelStartT, mSelEndT); | 916 | //qDebug("-- %d %d ", mSelStartT, mSelEndT); |
913 | //qDebug("%d %d %d - d %d", mo, days[mSelStartT].month() , days[mSelEndT].month(), days[mSelEndT].day() ); | 917 | //qDebug("%d %d %d - d %d", mo, days[mSelStartT].month() , days[mSelEndT].month(), days[mSelEndT].day() ); |
914 | int startMo = days[mSelStartT].month(); | 918 | int startMo = days[mSelStartT].month(); |
915 | int endMo = days[mSelEndT].month(); | 919 | int endMo = days[mSelEndT].month(); |
916 | if ( startMo == 12 && mo == 1 && endMo <= 2 ) | 920 | if ( startMo == 12 && mo == 1 && endMo <= 2 ) |
917 | startMo = 1; | 921 | startMo = 1; |
918 | if ( endMo == 1 && mo == 12 ) | 922 | if ( endMo == 1 && mo == 12 ) |
919 | endMo = 12; | 923 | endMo = 12; |
920 | if ( mo == 12 && startMo == 1 ) | 924 | if ( mo == 12 && startMo == 1 ) |
921 | startMo = 13; | 925 | startMo = 13; |
922 | if ( (startMo > mo || endMo < mo) ) { | 926 | if ( (startMo > mo || endMo < mo) ) { |
923 | skip = true; | 927 | skip = true; |
924 | } else { | 928 | } else { |
925 | if ( days[mSelStartT].month() != mo ) { | 929 | if ( days[mSelStartT].month() != mo ) { |
926 | int add = days[mSelStartT].daysInMonth ()-days[mSelStartT].day(); | 930 | int add = days[mSelStartT].daysInMonth ()-days[mSelStartT].day(); |
927 | mSelStartT += add +1; | 931 | mSelStartT += add +1; |
928 | } | 932 | } |
929 | if ( days[mSelEndT].month() != mo ) { | 933 | if ( days[mSelEndT].month() != mo ) { |
930 | int sub = days[mSelEndT].day(); | 934 | int sub = days[mSelEndT].day(); |
931 | mSelEndT -= sub ; | 935 | mSelEndT -= sub ; |
932 | } | 936 | } |
933 | } | 937 | } |
934 | } | 938 | } |
935 | //qDebug("SKIP %d ", skip); | 939 | //qDebug("SKIP %d ", skip); |
936 | if ( ! skip ) { | 940 | if ( ! skip ) { |
937 | row = mSelStartT/7; | 941 | row = mSelStartT/7; |
938 | col = mSelStartT -row*7; | 942 | col = mSelStartT -row*7; |
939 | QColor selcol = KOPrefs::instance()->mHighlightColor; | 943 | QColor selcol = KOPrefs::instance()->mHighlightColor; |
940 | int addCol = 0; | 944 | int addCol = 0; |
941 | int addRow = 0; | 945 | int addRow = 0; |
942 | int addRow2 = 0; | 946 | int addRow2 = 0; |
943 | int addCol2 = 0; | 947 | int addCol2 = 0; |
944 | if (row == mSelEndT/7) { | 948 | if (row == mSelEndT/7) { |
945 | if ( rowModulo ) { | 949 | if ( rowModulo ) { |
946 | if ( row >= 6 - rowModulo ) | 950 | if ( row >= 6 - rowModulo ) |
947 | addRow = row - 5 + rowModulo; | 951 | addRow = row - 5 + rowModulo; |
948 | } | 952 | } |
949 | if ( colModulo ) { | 953 | if ( colModulo ) { |
950 | int colt1 = mSelEndT%7; | 954 | int colt1 = mSelEndT%7; |
951 | //qDebug("colt1 %d ", colt1 ); | 955 | //qDebug("colt1 %d ", colt1 ); |
952 | if ( colt1 >= 7 - colModulo ) | 956 | if ( colt1 >= 7 - colModulo ) |
953 | addCol = colt1 - 7 + colModulo+1; | 957 | addCol = colt1 - 7 + colModulo+1; |
954 | int colt = mSelStartT%7; | 958 | int colt = mSelStartT%7; |
955 | if ( colt >= 7 - colModulo ) | 959 | if ( colt >= 7 - colModulo ) |
956 | addCol2 = colt - 7 + colModulo; | 960 | addCol2 = colt - 7 + colModulo; |
957 | addCol -= addCol2; | 961 | addCol -= addCol2; |
958 | //qDebug("COL %d %d %d %d ",col , colt1 ,addCol ,addCol2 ); | 962 | //qDebug("COL %d %d %d %d ",col , colt1 ,addCol ,addCol2 ); |
959 | } | 963 | } |
960 | // Single row selection | 964 | // Single row selection |
961 | //if ( row == 0) | 965 | //if ( row == 0) |
962 | // addRow = 1; | 966 | // addRow = 1; |
963 | p.fillRect(isRTL ? (7 - (mSelEndT-mSelStartT+1) - col)*dwidth : col*dwidth+1+addCol2, | 967 | p.fillRect(isRTL ? (7 - (mSelEndT-mSelStartT+1) - col)*dwidth : col*dwidth+1+addCol2, |
964 | row*dheight+addRow, (mSelEndT-mSelStartT+1)*dwidth+addCol, dheight+1, selcol); | 968 | row*dheight+addRow, (mSelEndT-mSelStartT+1)*dwidth+addCol, dheight+1, selcol); |
965 | } else { | 969 | } else { |
966 | // draw first row to the right | 970 | // draw first row to the right |
967 | if ( colModulo ) { | 971 | if ( colModulo ) { |
968 | if ( col >= 7 - colModulo ) | 972 | if ( col >= 7 - colModulo ) |
969 | addCol2 = col - 7 + colModulo; | 973 | addCol2 = col - 7 + colModulo; |
970 | } | 974 | } |
971 | if ( rowModulo ) { | 975 | if ( rowModulo ) { |
972 | if ( row >= 6 - rowModulo ) | 976 | if ( row >= 6 - rowModulo ) |
973 | addRow = row - 5 + rowModulo; | 977 | addRow = row - 5 + rowModulo; |
974 | } | 978 | } |
975 | //if ( row == 0) | 979 | //if ( row == 0) |
976 | // addRow = 1; | 980 | // addRow = 1; |
977 | int drawWid = width()-(col*dwidth+1+addCol2)-1; | 981 | int drawWid = width()-(col*dwidth+1+addCol2)-1; |
978 | p.fillRect(isRTL ? 0 : col*dwidth+1+addCol2, row*dheight+addRow, drawWid, | 982 | p.fillRect(isRTL ? 0 : col*dwidth+1+addCol2, row*dheight+addRow, drawWid, |
979 | dheight+1, selcol); | 983 | dheight+1, selcol); |
980 | // draw full block till last line | 984 | // draw full block till last line |
981 | selh = mSelEndT/7-row; | 985 | selh = mSelEndT/7-row; |
982 | addRow = 0; | 986 | addRow = 0; |
983 | if ( rowModulo ) { | 987 | if ( rowModulo ) { |
984 | if ( mSelEndT/7 >= 6 - rowModulo ) | 988 | if ( mSelEndT/7 >= 6 - rowModulo ) |
985 | addRow = mSelEndT/7 - 5 + rowModulo; | 989 | addRow = mSelEndT/7 - 5 + rowModulo; |
986 | } | 990 | } |
987 | //qDebug("%d %d %d ",selh, row, addRow ); | 991 | //qDebug("%d %d %d ",selh, row, addRow ); |
988 | int addrow2 = addRow-selh+1; | 992 | int addrow2 = addRow-selh+1; |
989 | if ( addrow2 < 0 ) | 993 | if ( addrow2 < 0 ) |
990 | addrow2 = 0; | 994 | addrow2 = 0; |
991 | if (selh > 1) { | 995 | if (selh > 1) { |
992 | p.fillRect(1, (row+1)*dheight+addrow2, 7*dwidth+colModulo, (selh-1)*dheight+addRow,selcol); | 996 | p.fillRect(1, (row+1)*dheight+addrow2, 7*dwidth+colModulo, (selh-1)*dheight+addRow,selcol); |
993 | } | 997 | } |
994 | // draw last block from left to mSelEndT | 998 | // draw last block from left to mSelEndT |
995 | selw = mSelEndT-7*(mSelEndT/7)+1; | 999 | selw = mSelEndT-7*(mSelEndT/7)+1; |
996 | //qDebug("esl %d ",selw ); | 1000 | //qDebug("esl %d ",selw ); |
997 | int add = 0; | 1001 | int add = 0; |
998 | if ( colModulo ) { | 1002 | if ( colModulo ) { |
999 | add = 7 - colModulo; | 1003 | add = 7 - colModulo; |
1000 | if ( selw > add ) | 1004 | if ( selw > add ) |
1001 | add = selw - add; | 1005 | add = selw - add; |
1002 | else | 1006 | else |
1003 | add = 0; | 1007 | add = 0; |
1004 | } | 1008 | } |
1005 | //qDebug("add %d ", add); | 1009 | //qDebug("add %d ", add); |
1006 | p.fillRect(isRTL ? (7-selw)*dwidth : 1, (row+selh)*dheight+addRow, | 1010 | p.fillRect(isRTL ? (7-selw)*dwidth : 1, (row+selh)*dheight+addRow, |
1007 | selw*dwidth+add, dheight+1, selcol); | 1011 | selw*dwidth+add, dheight+1, selcol); |
1008 | } | 1012 | } |
1009 | } | 1013 | } |
1010 | } | 1014 | } |
1011 | 1015 | ||
1012 | // iterate over all days in the matrix and draw the day label in appropriate colors | 1016 | // iterate over all days in the matrix and draw the day label in appropriate colors |
1013 | QColor actcol = mDefaultTextColorShaded; | 1017 | QColor actcol = mDefaultTextColorShaded; |
1014 | p.setPen(actcol); | 1018 | p.setPen(actcol); |
diff --git a/korganizer/koprefsdialog.cpp b/korganizer/koprefsdialog.cpp index d9d7924..e4bee63 100644 --- a/korganizer/koprefsdialog.cpp +++ b/korganizer/koprefsdialog.cpp | |||
@@ -263,1484 +263,1480 @@ void KOPrefsDialog::setupSyncAlgTab() | |||
263 | ++iii; | 263 | ++iii; |
264 | 264 | ||
265 | KPrefsDialogWidRadios *syncPrefsGroup = | 265 | KPrefsDialogWidRadios *syncPrefsGroup = |
266 | addWidRadios(i18n("Sync preferences:"),&(KOPrefs::instance()->mSyncAlgoPrefs), | 266 | addWidRadios(i18n("Sync preferences:"),&(KOPrefs::instance()->mSyncAlgoPrefs), |
267 | topFrame); | 267 | topFrame); |
268 | syncPrefsGroup->addRadio(i18n("Take local entry on conflict")); | 268 | syncPrefsGroup->addRadio(i18n("Take local entry on conflict")); |
269 | syncPrefsGroup->addRadio(i18n("Take remote entry on conflict")); | 269 | syncPrefsGroup->addRadio(i18n("Take remote entry on conflict")); |
270 | syncPrefsGroup->addRadio(i18n("Take newest entry on conflict")); | 270 | syncPrefsGroup->addRadio(i18n("Take newest entry on conflict")); |
271 | syncPrefsGroup->addRadio(i18n("Ask for every entry on conflict")); | 271 | syncPrefsGroup->addRadio(i18n("Ask for every entry on conflict")); |
272 | syncPrefsGroup->addRadio(i18n("Force take local entry always")); | 272 | syncPrefsGroup->addRadio(i18n("Force take local entry always")); |
273 | syncPrefsGroup->addRadio(i18n("Force take remote entry always")); | 273 | syncPrefsGroup->addRadio(i18n("Force take remote entry always")); |
274 | topLayout->addMultiCellWidget( syncPrefsGroup->groupBox(),iii,iii,0,1); | 274 | topLayout->addMultiCellWidget( syncPrefsGroup->groupBox(),iii,iii,0,1); |
275 | ++iii; | 275 | ++iii; |
276 | sb = | 276 | sb = |
277 | addWidBool(i18n("Show summary after syncing"), | 277 | addWidBool(i18n("Show summary after syncing"), |
278 | &(KOPrefs::instance()->mShowSyncSummary),topFrame); | 278 | &(KOPrefs::instance()->mShowSyncSummary),topFrame); |
279 | topLayout->addMultiCellWidget(sb->checkBox(), iii,iii,0,1); | 279 | topLayout->addMultiCellWidget(sb->checkBox(), iii,iii,0,1); |
280 | 280 | ||
281 | ++iii; | 281 | ++iii; |
282 | #endif | 282 | #endif |
283 | 283 | ||
284 | 284 | ||
285 | 285 | ||
286 | } | 286 | } |
287 | 287 | ||
288 | 288 | ||
289 | void KOPrefsDialog::setupSyncTab() | 289 | void KOPrefsDialog::setupSyncTab() |
290 | { | 290 | { |
291 | #if 0 | 291 | #if 0 |
292 | QLabel * lab; | 292 | QLabel * lab; |
293 | QFrame *topFrame = addPage(i18n("Sync Network"),0,0); | 293 | QFrame *topFrame = addPage(i18n("Sync Network"),0,0); |
294 | QGridLayout *topLayout = new QGridLayout(topFrame,6,2); | 294 | QGridLayout *topLayout = new QGridLayout(topFrame,6,2); |
295 | topLayout->setSpacing(mSpacingHint); | 295 | topLayout->setSpacing(mSpacingHint); |
296 | topLayout->setMargin(mMarginHint); | 296 | topLayout->setMargin(mMarginHint); |
297 | lab = new QLabel(i18n("Remote syncing (via ssh/scp)\nnetwork settings "), topFrame); | 297 | lab = new QLabel(i18n("Remote syncing (via ssh/scp)\nnetwork settings "), topFrame); |
298 | int iii = 0; | 298 | int iii = 0; |
299 | topLayout->addMultiCellWidget(lab , iii,iii,0,1); | 299 | topLayout->addMultiCellWidget(lab , iii,iii,0,1); |
300 | ++iii; | 300 | ++iii; |
301 | 301 | ||
302 | mRemoteIPEdit = new QLineEdit(topFrame); | 302 | mRemoteIPEdit = new QLineEdit(topFrame); |
303 | lab = new QLabel(mRemoteIPEdit, i18n("Remote IP:"), topFrame); | 303 | lab = new QLabel(mRemoteIPEdit, i18n("Remote IP:"), topFrame); |
304 | topLayout->addWidget(lab ,iii,0); | 304 | topLayout->addWidget(lab ,iii,0); |
305 | topLayout->addWidget(mRemoteIPEdit,iii,1); | 305 | topLayout->addWidget(mRemoteIPEdit,iii,1); |
306 | ++iii; | 306 | ++iii; |
307 | mRemoteUser = new QLineEdit(topFrame); | 307 | mRemoteUser = new QLineEdit(topFrame); |
308 | lab = new QLabel(mRemoteUser, i18n("Remote user:"), topFrame); | 308 | lab = new QLabel(mRemoteUser, i18n("Remote user:"), topFrame); |
309 | topLayout->addWidget(lab ,iii,0); | 309 | topLayout->addWidget(lab ,iii,0); |
310 | topLayout->addWidget(mRemoteUser, iii,1); | 310 | topLayout->addWidget(mRemoteUser, iii,1); |
311 | ++iii; | 311 | ++iii; |
312 | 312 | ||
313 | mRemoteFile = new QLineEdit(topFrame); | 313 | mRemoteFile = new QLineEdit(topFrame); |
314 | lab = new QLabel(mRemoteFile, i18n("Remote file:"), topFrame); | 314 | lab = new QLabel(mRemoteFile, i18n("Remote file:"), topFrame); |
315 | topLayout->addWidget(lab ,iii,0); | 315 | topLayout->addWidget(lab ,iii,0); |
316 | topLayout->addWidget(mRemoteFile,iii,1); | 316 | topLayout->addWidget(mRemoteFile,iii,1); |
317 | ++iii; | 317 | ++iii; |
318 | 318 | ||
319 | mLocalTempFile = new QLineEdit(topFrame); | 319 | mLocalTempFile = new QLineEdit(topFrame); |
320 | lab = new QLabel(mLocalTempFile, i18n("Local temp file:"), topFrame); | 320 | lab = new QLabel(mLocalTempFile, i18n("Local temp file:"), topFrame); |
321 | topLayout->addWidget(lab ,iii,0); | 321 | topLayout->addWidget(lab ,iii,0); |
322 | topLayout->addWidget(mLocalTempFile,iii,1); | 322 | topLayout->addWidget(mLocalTempFile,iii,1); |
323 | ++iii; | 323 | ++iii; |
324 | 324 | ||
325 | KPrefsDialogWidBool *wb = | 325 | KPrefsDialogWidBool *wb = |
326 | addWidBool(i18n("Write back synced file"), | 326 | addWidBool(i18n("Write back synced file"), |
327 | &(KOPrefs::instance()->mWriteBackFile),topFrame); | 327 | &(KOPrefs::instance()->mWriteBackFile),topFrame); |
328 | topLayout->addMultiCellWidget(wb->checkBox(), iii,iii,0,1); | 328 | topLayout->addMultiCellWidget(wb->checkBox(), iii,iii,0,1); |
329 | ++iii; | 329 | ++iii; |
330 | wb = | 330 | wb = |
331 | addWidBool(i18n("Write back existing entries only"), | 331 | addWidBool(i18n("Write back existing entries only"), |
332 | &(KOPrefs::instance()->mWriteBackExistingOnly),topFrame); | 332 | &(KOPrefs::instance()->mWriteBackExistingOnly),topFrame); |
333 | topLayout->addMultiCellWidget(wb->checkBox(), iii,iii,0,1); | 333 | topLayout->addMultiCellWidget(wb->checkBox(), iii,iii,0,1); |
334 | ++iii; | 334 | ++iii; |
335 | 335 | ||
336 | #endif | 336 | #endif |
337 | } | 337 | } |
338 | 338 | ||
339 | void KOPrefsDialog::setupMainTab() | 339 | void KOPrefsDialog::setupMainTab() |
340 | { | 340 | { |
341 | QFrame *topFrame = addPage(i18n("General"),0,0); | 341 | QFrame *topFrame = addPage(i18n("General"),0,0); |
342 | // DesktopIcon("identity",KIcon::SizeMedium)); | 342 | // DesktopIcon("identity",KIcon::SizeMedium)); |
343 | 343 | ||
344 | QGridLayout *topLayout = new QGridLayout(topFrame,5,2); | 344 | QGridLayout *topLayout = new QGridLayout(topFrame,5,2); |
345 | topLayout->setSpacing(mSpacingHint); | 345 | topLayout->setSpacing(mSpacingHint); |
346 | topLayout->setMargin(mMarginHint); | 346 | topLayout->setMargin(mMarginHint); |
347 | 347 | ||
348 | // KPrefsDialogWidBool *emailControlCenter = | 348 | // KPrefsDialogWidBool *emailControlCenter = |
349 | // addWidBool(i18n("&Use email settings from Control Center"), | 349 | // addWidBool(i18n("&Use email settings from Control Center"), |
350 | // &(KOPrefs::instance()->mEmailControlCenter),topFrame); | 350 | // &(KOPrefs::instance()->mEmailControlCenter),topFrame); |
351 | // topLayout->addMultiCellWidget(emailControlCenter->checkBox(),0,0,0,1); | 351 | // topLayout->addMultiCellWidget(emailControlCenter->checkBox(),0,0,0,1); |
352 | // connect(emailControlCenter->checkBox(),SIGNAL(toggled(bool)), | 352 | // connect(emailControlCenter->checkBox(),SIGNAL(toggled(bool)), |
353 | // SLOT(toggleEmailSettings(bool))); | 353 | // SLOT(toggleEmailSettings(bool))); |
354 | 354 | ||
355 | mNameEdit = new QLineEdit(topFrame); | 355 | mNameEdit = new QLineEdit(topFrame); |
356 | mNameLabel = new QLabel(mNameEdit, i18n("Full &name:"), topFrame); | 356 | mNameLabel = new QLabel(mNameEdit, i18n("Full &name:"), topFrame); |
357 | topLayout->addWidget(mNameLabel,0,0); | 357 | topLayout->addWidget(mNameLabel,0,0); |
358 | topLayout->addWidget(mNameEdit,0,1); | 358 | topLayout->addWidget(mNameEdit,0,1); |
359 | 359 | ||
360 | mEmailEdit = new QLineEdit(topFrame); | 360 | mEmailEdit = new QLineEdit(topFrame); |
361 | mEmailLabel = new QLabel(mEmailEdit, i18n("E&mail address:"),topFrame); | 361 | mEmailLabel = new QLabel(mEmailEdit, i18n("E&mail address:"),topFrame); |
362 | topLayout->addWidget(mEmailLabel,1,0); | 362 | topLayout->addWidget(mEmailLabel,1,0); |
363 | topLayout->addWidget(mEmailEdit,1,1); | 363 | topLayout->addWidget(mEmailEdit,1,1); |
364 | KPrefsDialogWidBool *wb; | 364 | KPrefsDialogWidBool *wb; |
365 | 365 | ||
366 | 366 | ||
367 | 367 | ||
368 | KPrefsDialogWidBool *widbool = addWidBool(i18n("Full menu bar(nr)"), | 368 | KPrefsDialogWidBool *widbool = addWidBool(i18n("Full menu bar(nr)"), |
369 | &(KOPrefs::instance()->mShowFullMenu),topFrame); | 369 | &(KOPrefs::instance()->mShowFullMenu),topFrame); |
370 | topLayout->addMultiCellWidget( widbool->checkBox(), 2,2,0,1); | 370 | topLayout->addMultiCellWidget( widbool->checkBox(), 2,2,0,1); |
371 | 371 | ||
372 | 372 | ||
373 | widbool = addWidBool(i18n("Mini icons in toolbar(nr)"), | 373 | widbool = addWidBool(i18n("Mini icons in toolbar(nr)"), |
374 | &(KOPrefs::instance()->mToolBarMiniIcons),topFrame); | 374 | &(KOPrefs::instance()->mToolBarMiniIcons),topFrame); |
375 | topLayout->addMultiCellWidget( widbool->checkBox(), 3,3,0,1); | 375 | topLayout->addMultiCellWidget( widbool->checkBox(), 3,3,0,1); |
376 | 376 | ||
377 | 377 | ||
378 | KPrefsDialogWidBool *verticalScreen = | 378 | KPrefsDialogWidBool *verticalScreen = |
379 | addWidBool(i18n("Show vertical screen (Needs restart)"), | 379 | addWidBool(i18n("Show vertical screen (Needs restart)"), |
380 | &(KOPrefs::instance()->mVerticalScreen),topFrame); | 380 | &(KOPrefs::instance()->mVerticalScreen),topFrame); |
381 | //topLayout->addWidget(verticalScreen->checkBox(),ii++,0); | 381 | //topLayout->addWidget(verticalScreen->checkBox(),ii++,0); |
382 | topLayout->addMultiCellWidget(verticalScreen->checkBox(),4,4,0,1); | 382 | topLayout->addMultiCellWidget(verticalScreen->checkBox(),4,4,0,1); |
383 | 383 | ||
384 | 384 | ||
385 | int iii = 5; | 385 | int iii = 5; |
386 | widbool = addWidBool(i18n("Block popup until mouse button release"), | 386 | widbool = addWidBool(i18n("Block popup until mouse button release"), |
387 | &(KOPrefs::instance()->mBlockPopupMenu),topFrame); | 387 | &(KOPrefs::instance()->mBlockPopupMenu),topFrame); |
388 | topLayout->addMultiCellWidget( widbool->checkBox(), iii,iii,0,1); | 388 | topLayout->addMultiCellWidget( widbool->checkBox(), iii,iii,0,1); |
389 | ++iii; | 389 | ++iii; |
390 | QHBox *dummy = new QHBox(topFrame); | 390 | QHBox *dummy = new QHBox(topFrame); |
391 | new QLabel(i18n("Days in Next-X-Days:"),dummy); | 391 | new QLabel(i18n("Days in Next-X-Days:"),dummy); |
392 | mNextXDaysSpin = new QSpinBox(2,14,1,dummy); | 392 | mNextXDaysSpin = new QSpinBox(2,14,1,dummy); |
393 | 393 | ||
394 | topLayout->addMultiCellWidget(dummy,iii,iii,0,1); | 394 | topLayout->addMultiCellWidget(dummy,iii,iii,0,1); |
395 | 395 | ||
396 | ++iii; | 396 | ++iii; |
397 | 397 | ||
398 | 398 | ||
399 | // KPrefsDialogWidBool *bcc = | 399 | // KPrefsDialogWidBool *bcc = |
400 | // addWidBool(i18n("Send copy to owner when mailing events"), | 400 | // addWidBool(i18n("Send copy to owner when mailing events"), |
401 | // &(KOPrefs::instance()->mBcc),topFrame); | 401 | // &(KOPrefs::instance()->mBcc),topFrame); |
402 | // topLayout->addMultiCellWidget(bcc->checkBox(),4,4,0,1); | 402 | // topLayout->addMultiCellWidget(bcc->checkBox(),4,4,0,1); |
403 | 403 | ||
404 | 404 | ||
405 | // QGroupBox *autoSaveGroup = new QGroupBox(1,Horizontal,i18n("Auto-Save"), topFrame); | 405 | // QGroupBox *autoSaveGroup = new QGroupBox(1,Horizontal,i18n("Auto-Save"), topFrame); |
406 | //topLayout->addMultiCellWidget(autoSaveGroup,6,6,0,1); | 406 | //topLayout->addMultiCellWidget(autoSaveGroup,6,6,0,1); |
407 | 407 | ||
408 | // addWidBool(i18n("Enable automatic saving of calendar"), | 408 | // addWidBool(i18n("Enable automatic saving of calendar"), |
409 | // &(KOPrefs::instance()->mAutoSave),autoSaveGroup); | 409 | // &(KOPrefs::instance()->mAutoSave),autoSaveGroup); |
410 | 410 | ||
411 | QHBox *intervalBox = new QHBox(topFrame); | 411 | QHBox *intervalBox = new QHBox(topFrame); |
412 | // intervalBox->setSpacing(mSpacingHint); | 412 | // intervalBox->setSpacing(mSpacingHint); |
413 | topLayout->addMultiCellWidget(intervalBox,iii,iii,0,1); | 413 | topLayout->addMultiCellWidget(intervalBox,iii,iii,0,1); |
414 | ++iii; | 414 | ++iii; |
415 | QLabel *autoSaveIntervalLabel = new QLabel(i18n("Auto save delay in minutes:"),intervalBox); | 415 | QLabel *autoSaveIntervalLabel = new QLabel(i18n("Auto save delay in minutes:"),intervalBox); |
416 | mAutoSaveIntervalSpin = new QSpinBox(0,500,1,intervalBox); | 416 | mAutoSaveIntervalSpin = new QSpinBox(0,500,1,intervalBox); |
417 | autoSaveIntervalLabel->setBuddy(mAutoSaveIntervalSpin); | 417 | autoSaveIntervalLabel->setBuddy(mAutoSaveIntervalSpin); |
418 | /* | 418 | /* |
419 | QHBox * agendasize = new QHBox ( topFrame ); | 419 | QHBox * agendasize = new QHBox ( topFrame ); |
420 | 420 | ||
421 | new QLabel (i18n("AllDayAgenda Height:"), agendasize ); | 421 | new QLabel (i18n("AllDayAgenda Height:"), agendasize ); |
422 | 422 | ||
423 | 423 | ||
424 | mHourSizeSlider = new QSlider(24,47,1,24,Horizontal,agendasize); | 424 | mHourSizeSlider = new QSlider(24,47,1,24,Horizontal,agendasize); |
425 | topLayout->addMultiCellWidget(agendasize,7,7,0,1); | 425 | topLayout->addMultiCellWidget(agendasize,7,7,0,1); |
426 | */ | 426 | */ |
427 | 427 | ||
428 | 428 | ||
429 | KPrefsDialogWidBool *ask = | 429 | KPrefsDialogWidBool *ask = |
430 | addWidBool(i18n("Ask for quit when closing KO/Pi"), | 430 | addWidBool(i18n("Ask for quit when closing KO/Pi"), |
431 | &(KOPrefs::instance()->mAskForQuit),topFrame); | 431 | &(KOPrefs::instance()->mAskForQuit),topFrame); |
432 | topLayout->addMultiCellWidget(ask->checkBox(),iii,iii,0,1); | 432 | topLayout->addMultiCellWidget(ask->checkBox(),iii,iii,0,1); |
433 | ++iii; | 433 | ++iii; |
434 | 434 | ||
435 | 435 | ||
436 | /* | 436 | /* |
437 | KPrefsDialogWidBool *confirmCheck = | 437 | KPrefsDialogWidBool *confirmCheck = |
438 | addWidBool(i18n("Confirm &deletes"),&(KOPrefs::instance()->mConfirm), | 438 | addWidBool(i18n("Confirm &deletes"),&(KOPrefs::instance()->mConfirm), |
439 | topFrame); | 439 | topFrame); |
440 | topLayout->addMultiCellWidget(confirmCheck->checkBox(),7,7,0,1); | 440 | topLayout->addMultiCellWidget(confirmCheck->checkBox(),7,7,0,1); |
441 | 441 | ||
442 | 442 | ||
443 | mEnableGroupScheduling = | 443 | mEnableGroupScheduling = |
444 | addWidBool(i18n("Enable group scheduling"), | 444 | addWidBool(i18n("Enable group scheduling"), |
445 | &(KOPrefs::instance()->mEnableGroupScheduling),topFrame); | 445 | &(KOPrefs::instance()->mEnableGroupScheduling),topFrame); |
446 | topLayout->addWidget(mEnableGroupScheduling->checkBox(),8,0); | 446 | topLayout->addWidget(mEnableGroupScheduling->checkBox(),8,0); |
447 | connect(mEnableGroupScheduling->checkBox(),SIGNAL(clicked()), | 447 | connect(mEnableGroupScheduling->checkBox(),SIGNAL(clicked()), |
448 | SLOT(warningGroupScheduling())); | 448 | SLOT(warningGroupScheduling())); |
449 | 449 | ||
450 | mEnableProjectView = | 450 | mEnableProjectView = |
451 | addWidBool(i18n("Enable project view"), | 451 | addWidBool(i18n("Enable project view"), |
452 | &(KOPrefs::instance()->mEnableProjectView),topFrame); | 452 | &(KOPrefs::instance()->mEnableProjectView),topFrame); |
453 | topLayout->addWidget(mEnableProjectView->checkBox(),9,0); | 453 | topLayout->addWidget(mEnableProjectView->checkBox(),9,0); |
454 | connect(mEnableProjectView->checkBox(),SIGNAL(clicked()), | 454 | connect(mEnableProjectView->checkBox(),SIGNAL(clicked()), |
455 | SLOT(warningProjectView())); | 455 | SLOT(warningProjectView())); |
456 | 456 | ||
457 | // Can't be disabled anymore | 457 | // Can't be disabled anymore |
458 | mEnableGroupScheduling->checkBox()->hide(); | 458 | mEnableGroupScheduling->checkBox()->hide(); |
459 | 459 | ||
460 | // Disable setting, because this feature now becomes stable | 460 | // Disable setting, because this feature now becomes stable |
461 | mEnableProjectView->checkBox()->hide(); | 461 | mEnableProjectView->checkBox()->hide(); |
462 | 462 | ||
463 | KPrefsDialogWidRadios *defaultFormatGroup = | 463 | KPrefsDialogWidRadios *defaultFormatGroup = |
464 | addWidRadios(i18n("Default Calendar Format"), | 464 | addWidRadios(i18n("Default Calendar Format"), |
465 | &(KOPrefs::instance()->mDefaultFormat),topFrame); | 465 | &(KOPrefs::instance()->mDefaultFormat),topFrame); |
466 | defaultFormatGroup->addRadio(i18n("vCalendar")); | 466 | defaultFormatGroup->addRadio(i18n("vCalendar")); |
467 | defaultFormatGroup->addRadio(i18n("iCalendar")); | 467 | defaultFormatGroup->addRadio(i18n("iCalendar")); |
468 | 468 | ||
469 | topLayout->addMultiCellWidget(defaultFormatGroup->groupBox(),10,10,0,1); | 469 | topLayout->addMultiCellWidget(defaultFormatGroup->groupBox(),10,10,0,1); |
470 | 470 | ||
471 | // Default format unconditionally is iCalendar | 471 | // Default format unconditionally is iCalendar |
472 | defaultFormatGroup->groupBox()->hide(); | 472 | defaultFormatGroup->groupBox()->hide(); |
473 | 473 | ||
474 | KPrefsDialogWidRadios *mailClientGroup = | 474 | KPrefsDialogWidRadios *mailClientGroup = |
475 | addWidRadios(i18n("Mail Client"),&(KOPrefs::instance()->mMailClient), | 475 | addWidRadios(i18n("Mail Client"),&(KOPrefs::instance()->mMailClient), |
476 | topFrame); | 476 | topFrame); |
477 | mailClientGroup->addRadio(i18n("KMail")); | 477 | mailClientGroup->addRadio(i18n("KMail")); |
478 | mailClientGroup->addRadio(i18n("Sendmail")); | 478 | mailClientGroup->addRadio(i18n("Sendmail")); |
479 | topLayout->addMultiCellWidget(mailClientGroup->groupBox(),11,11,0,1); | 479 | topLayout->addMultiCellWidget(mailClientGroup->groupBox(),11,11,0,1); |
480 | 480 | ||
481 | KPrefsDialogWidBool *htmlsave = | 481 | KPrefsDialogWidBool *htmlsave = |
482 | addWidBool(i18n("Export to HTML with every save"),&(KOPrefs::instance()->mHtmlWithSave), | 482 | addWidBool(i18n("Export to HTML with every save"),&(KOPrefs::instance()->mHtmlWithSave), |
483 | topFrame); | 483 | topFrame); |
484 | topLayout->addMultiCellWidget(htmlsave->checkBox(),12,12,0,1); | 484 | topLayout->addMultiCellWidget(htmlsave->checkBox(),12,12,0,1); |
485 | 485 | ||
486 | KPrefsDialogWidRadios *destinationGroup = | 486 | KPrefsDialogWidRadios *destinationGroup = |
487 | addWidRadios(i18n("New Events/Todos should"),&(KOPrefs::instance()->mDestination), | 487 | addWidRadios(i18n("New Events/Todos should"),&(KOPrefs::instance()->mDestination), |
488 | topFrame); | 488 | topFrame); |
489 | destinationGroup->addRadio(i18n("be added to the standard resource")); | 489 | destinationGroup->addRadio(i18n("be added to the standard resource")); |
490 | destinationGroup->addRadio(i18n("be asked which resource to use")); | 490 | destinationGroup->addRadio(i18n("be asked which resource to use")); |
491 | topLayout->addMultiCellWidget(destinationGroup->groupBox(),13,13,0,1); | 491 | topLayout->addMultiCellWidget(destinationGroup->groupBox(),13,13,0,1); |
492 | 492 | ||
493 | topLayout->setRowStretch(14,1); | 493 | topLayout->setRowStretch(14,1); |
494 | */ | 494 | */ |
495 | } | 495 | } |
496 | 496 | ||
497 | 497 | ||
498 | void KOPrefsDialog::setupTimeTab() | 498 | void KOPrefsDialog::setupTimeTab() |
499 | { | 499 | { |
500 | QFrame *topFrame = addPage(i18n("Time"),0,0); | 500 | QFrame *topFrame = addPage(i18n("Time"),0,0); |
501 | // DesktopIcon("clock",KIcon::SizeMedium)); | 501 | // DesktopIcon("clock",KIcon::SizeMedium)); |
502 | 502 | ||
503 | QGridLayout *topLayout = new QGridLayout(topFrame,4,2); | 503 | QGridLayout *topLayout = new QGridLayout(topFrame,4,2); |
504 | topLayout->setSpacing(mSpacingHint); | 504 | topLayout->setSpacing(mSpacingHint); |
505 | topLayout->setMargin(mMarginHint); | 505 | topLayout->setMargin(mMarginHint); |
506 | 506 | ||
507 | QHBox *dummy = new QHBox(topFrame); | 507 | QHBox *dummy = new QHBox(topFrame); |
508 | KPrefsDialogWidTime *dayBegins = | 508 | KPrefsDialogWidTime *dayBegins = |
509 | addWidTime(i18n("Day begins at:"),&(KOPrefs::instance()->mDayBegins), | 509 | addWidTime(i18n("Day begins at:"),&(KOPrefs::instance()->mDayBegins), |
510 | dummy); | 510 | dummy); |
511 | //topLayout->addWidget(dayBegins->label(),2,0); | 511 | //topLayout->addWidget(dayBegins->label(),2,0); |
512 | 512 | ||
513 | //topLayout->addWidget(dayBegins->spinBox(),2,1); | 513 | //topLayout->addWidget(dayBegins->spinBox(),2,1); |
514 | topLayout->addMultiCellWidget(dummy,0,0,0,1); | 514 | topLayout->addMultiCellWidget(dummy,0,0,0,1); |
515 | 515 | ||
516 | topLayout->addWidget(new QLabel(i18n("Default appointment time:"), | 516 | topLayout->addWidget(new QLabel(i18n("Default appointment time:"), |
517 | topFrame),1,0); | 517 | topFrame),1,0); |
518 | mStartTimeSpin = new QSpinBox(0,23,1,topFrame); | 518 | mStartTimeSpin = new QSpinBox(0,23,1,topFrame); |
519 | mStartTimeSpin->setSuffix(":00"); | 519 | mStartTimeSpin->setSuffix(":00"); |
520 | topLayout->addWidget(mStartTimeSpin,1,1); | 520 | topLayout->addWidget(mStartTimeSpin,1,1); |
521 | 521 | ||
522 | topLayout->addWidget(new QLabel(i18n("Def. duration of new app.:"), | 522 | topLayout->addWidget(new QLabel(i18n("Def. duration of new app.:"), |
523 | topFrame),2,0); | 523 | topFrame),2,0); |
524 | mDefaultDurationSpin = new QSpinBox(0,23,1,topFrame); | 524 | mDefaultDurationSpin = new QSpinBox(0,23,1,topFrame); |
525 | mDefaultDurationSpin->setSuffix(":00"); | 525 | mDefaultDurationSpin->setSuffix(":00"); |
526 | topLayout->addWidget(mDefaultDurationSpin,2,1); | 526 | topLayout->addWidget(mDefaultDurationSpin,2,1); |
527 | 527 | ||
528 | QStringList alarmList; | 528 | QStringList alarmList; |
529 | alarmList << i18n("1 minute") << i18n("5 minutes") << i18n("10 minutes") | 529 | alarmList << i18n("1 minute") << i18n("5 minutes") << i18n("10 minutes") |
530 | << i18n("15 minutes") << i18n("30 minutes")<< i18n("1 hour")<< i18n("3 hours") << i18n("24 hours") ; | 530 | << i18n("15 minutes") << i18n("30 minutes")<< i18n("1 hour")<< i18n("3 hours") << i18n("24 hours") ; |
531 | topLayout->addWidget(new QLabel(i18n("Default alarm time:"),topFrame), | 531 | topLayout->addWidget(new QLabel(i18n("Default alarm time:"),topFrame), |
532 | 3,0); | 532 | 3,0); |
533 | mAlarmTimeCombo = new QComboBox(topFrame); | 533 | mAlarmTimeCombo = new QComboBox(topFrame); |
534 | mAlarmTimeCombo->insertStringList(alarmList); | 534 | mAlarmTimeCombo->insertStringList(alarmList); |
535 | topLayout->addWidget(mAlarmTimeCombo,3,1); | 535 | topLayout->addWidget(mAlarmTimeCombo,3,1); |
536 | 536 | ||
537 | 537 | ||
538 | QGroupBox *workingHoursGroup = new QGroupBox(1,Horizontal, | 538 | QGroupBox *workingHoursGroup = new QGroupBox(1,Horizontal, |
539 | i18n("Working Hours"), | 539 | i18n("Working Hours"), |
540 | topFrame); | 540 | topFrame); |
541 | topLayout->addMultiCellWidget(workingHoursGroup,4,4,0,1); | 541 | topLayout->addMultiCellWidget(workingHoursGroup,4,4,0,1); |
542 | workingHoursGroup->layout()->setSpacing( 0 ); | 542 | workingHoursGroup->layout()->setSpacing( 0 ); |
543 | workingHoursGroup->layout()->setMargin( 4 ); | 543 | workingHoursGroup->layout()->setMargin( 4 ); |
544 | QHBox *workStartBox = new QHBox(workingHoursGroup); | 544 | QHBox *workStartBox = new QHBox(workingHoursGroup); |
545 | // workStartBox->setMargin( 0 ); | 545 | // workStartBox->setMargin( 0 ); |
546 | addWidTime(i18n("Daily starting hour:"), | 546 | addWidTime(i18n("Daily starting hour:"), |
547 | &(KOPrefs::instance()->mWorkingHoursStart),workStartBox); | 547 | &(KOPrefs::instance()->mWorkingHoursStart),workStartBox); |
548 | 548 | ||
549 | QHBox *workEndBox = new QHBox(workingHoursGroup); | 549 | QHBox *workEndBox = new QHBox(workingHoursGroup); |
550 | //workEndBox->setMargin( 0 ); | 550 | //workEndBox->setMargin( 0 ); |
551 | addWidTime(i18n("Daily ending hour:"), | 551 | addWidTime(i18n("Daily ending hour:"), |
552 | &(KOPrefs::instance()->mWorkingHoursEnd),workEndBox); | 552 | &(KOPrefs::instance()->mWorkingHoursEnd),workEndBox); |
553 | QVBox *excludeBox = new QVBox(workingHoursGroup); | 553 | QVBox *excludeBox = new QVBox(workingHoursGroup); |
554 | //excludeBox->setMargin( 0 ); | 554 | //excludeBox->setMargin( 0 ); |
555 | addWidBool(i18n("Exclude holidays"), | 555 | addWidBool(i18n("Exclude holidays"), |
556 | &(KOPrefs::instance()->mExcludeHolidays),excludeBox); | 556 | &(KOPrefs::instance()->mExcludeHolidays),excludeBox); |
557 | 557 | ||
558 | addWidBool(i18n("Exclude Saturdays"), | 558 | addWidBool(i18n("Exclude Saturdays"), |
559 | &(KOPrefs::instance()->mExcludeSaturdays),excludeBox); | 559 | &(KOPrefs::instance()->mExcludeSaturdays),excludeBox); |
560 | 560 | ||
561 | // KPrefsDialogWidBool *marcusBainsShowSeconds = addWidBool(i18n("Show seconds on Marcus Bains line"), | 561 | // KPrefsDialogWidBool *marcusBainsShowSeconds = addWidBool(i18n("Show seconds on Marcus Bains line"), |
562 | // &(KOPrefs::instance()->mMarcusBainsShowSeconds), | 562 | // &(KOPrefs::instance()->mMarcusBainsShowSeconds), |
563 | // topFrame); | 563 | // topFrame); |
564 | // topLayout->addWidget(marcusBainsShowSeconds->checkBox(),5,0); | 564 | // topLayout->addWidget(marcusBainsShowSeconds->checkBox(),5,0); |
565 | 565 | ||
566 | // topLayout->setRowStretch(6,1); | 566 | // topLayout->setRowStretch(6,1); |
567 | } | 567 | } |
568 | 568 | ||
569 | 569 | ||
570 | void KOPrefsDialog::setupViewsTab() | 570 | void KOPrefsDialog::setupViewsTab() |
571 | { | 571 | { |
572 | 572 | ||
573 | QFrame *topFrame = addPage(i18n("Views"),0,0); | 573 | QFrame *topFrame = addPage(i18n("Views"),0,0); |
574 | // DesktopIcon("viewmag",KIcon::SizeMedium)); | 574 | // DesktopIcon("viewmag",KIcon::SizeMedium)); |
575 | 575 | ||
576 | QGridLayout *topLayout = new QGridLayout(topFrame,6,1); | 576 | QGridLayout *topLayout = new QGridLayout(topFrame,6,1); |
577 | topLayout->setSpacing(mSpacingHint); | 577 | topLayout->setSpacing(mSpacingHint); |
578 | topLayout->setMargin(mMarginHint); | 578 | topLayout->setMargin(mMarginHint); |
579 | 579 | ||
580 | // QBoxLayout *dayBeginsLayout = new QHBoxLayout; | 580 | // QBoxLayout *dayBeginsLayout = new QHBoxLayout; |
581 | // topLayout->addLayout(dayBeginsLayout,0,0); | 581 | // topLayout->addLayout(dayBeginsLayout,0,0); |
582 | 582 | ||
583 | // KPrefsDialogWidTime *dayBegins = | 583 | // KPrefsDialogWidTime *dayBegins = |
584 | // addWidTime(i18n("Day begins at:"),&(KOPrefs::instance()->mDayBegins), | 584 | // addWidTime(i18n("Day begins at:"),&(KOPrefs::instance()->mDayBegins), |
585 | // topFrame); | 585 | // topFrame); |
586 | // dayBeginsLayout->addWidget(dayBegins->label()); | 586 | // dayBeginsLayout->addWidget(dayBegins->label()); |
587 | // dayBeginsLayout->addStretch(1); | 587 | // dayBeginsLayout->addStretch(1); |
588 | // dayBeginsLayout->addWidget(dayBegins->spinBox()); | 588 | // dayBeginsLayout->addWidget(dayBegins->spinBox()); |
589 | 589 | ||
590 | // QBoxLayout *nextDaysLayout = new QHBoxLayout; | 590 | // QBoxLayout *nextDaysLayout = new QHBoxLayout; |
591 | // topLayout->addLayout(nextDaysLayout,1,0); | 591 | // topLayout->addLayout(nextDaysLayout,1,0); |
592 | // nextDaysLayout->addWidget(new QLabel(i18n("Days to show in Next-X-Days view:"),topFrame)); | 592 | // nextDaysLayout->addWidget(new QLabel(i18n("Days to show in Next-X-Days view:"),topFrame)); |
593 | // mNextXDaysSpin = new QSpinBox(2,14,1,topFrame); | 593 | // mNextXDaysSpin = new QSpinBox(2,14,1,topFrame); |
594 | // nextDaysLayout->addStretch(1); | 594 | // nextDaysLayout->addStretch(1); |
595 | // nextDaysLayout->addWidget(mNextXDaysSpin); | 595 | // nextDaysLayout->addWidget(mNextXDaysSpin); |
596 | 596 | ||
597 | 597 | ||
598 | int ii = 0; | 598 | int ii = 0; |
599 | KPrefsDialogWidBool *dummy = | 599 | KPrefsDialogWidBool *dummy = |
600 | addWidBool(i18n("Edit item on doubleclick (if not, show)"), | 600 | addWidBool(i18n("Edit item on doubleclick (if not, show)"), |
601 | &(KOPrefs::instance()->mEditOnDoubleClick),topFrame); | 601 | &(KOPrefs::instance()->mEditOnDoubleClick),topFrame); |
602 | topLayout->addWidget(dummy->checkBox(),ii++,0); | 602 | topLayout->addWidget(dummy->checkBox(),ii++,0); |
603 | 603 | ||
604 | 604 | ||
605 | 605 | ||
606 | 606 | ||
607 | 607 | ||
608 | 608 | ||
609 | // topLayout->addWidget(hourSizeGroup,ii++,0); | 609 | // topLayout->addWidget(hourSizeGroup,ii++,0); |
610 | // topLayout->addMultiCellWidget(hourSizeGroup,ii,ii,0,0); | 610 | // topLayout->addMultiCellWidget(hourSizeGroup,ii,ii,0,0); |
611 | //topLayout->setRowStretch(11,1); | 611 | //topLayout->setRowStretch(11,1); |
612 | 612 | ||
613 | 613 | ||
614 | 614 | ||
615 | 615 | ||
616 | #if 0 | 616 | #if 0 |
617 | 617 | ||
618 | topFrame = addPage(i18n("ViewChange"),0,0); | 618 | topFrame = addPage(i18n("ViewChange"),0,0); |
619 | // DesktopIcon("viewmag",KIcon::SizeMedium)); | 619 | // DesktopIcon("viewmag",KIcon::SizeMedium)); |
620 | 620 | ||
621 | topLayout = new QGridLayout(topFrame,6,1); | 621 | topLayout = new QGridLayout(topFrame,6,1); |
622 | topLayout->setSpacing(mSpacingHint); | 622 | topLayout->setSpacing(mSpacingHint); |
623 | topLayout->setMargin(mMarginHint); | 623 | topLayout->setMargin(mMarginHint); |
624 | ii = 0; | 624 | ii = 0; |
625 | 625 | ||
626 | #endif | 626 | #endif |
627 | 627 | ||
628 | dummy = | 628 | dummy = |
629 | addWidBool(i18n("Hold fullscreen on view change"), | 629 | addWidBool(i18n("Hold fullscreen on view change"), |
630 | &(KOPrefs::instance()->mViewChangeHoldFullscreen),topFrame); | 630 | &(KOPrefs::instance()->mViewChangeHoldFullscreen),topFrame); |
631 | topLayout->addWidget(dummy->checkBox(),ii++,0); | 631 | topLayout->addWidget(dummy->checkBox(),ii++,0); |
632 | 632 | ||
633 | dummy = | 633 | dummy = |
634 | addWidBool(i18n("Hold non-fullscreen on view change"), | 634 | addWidBool(i18n("Hold non-fullscreen on view change"), |
635 | &(KOPrefs::instance()->mViewChangeHoldNonFullscreen),topFrame); | 635 | &(KOPrefs::instance()->mViewChangeHoldNonFullscreen),topFrame); |
636 | topLayout->addWidget(dummy->checkBox(),ii++,0); | 636 | topLayout->addWidget(dummy->checkBox(),ii++,0); |
637 | 637 | ||
638 | 638 | ||
639 | 639 | ||
640 | KPrefsDialogWidBool *fullViewMonth = | 640 | KPrefsDialogWidBool *fullViewMonth = |
641 | addWidBool(i18n("Next days view uses full window"), | 641 | addWidBool(i18n("Next days view uses full window"), |
642 | &(KOPrefs::instance()->mFullViewMonth),topFrame); | 642 | &(KOPrefs::instance()->mFullViewMonth),topFrame); |
643 | topLayout->addWidget(fullViewMonth->checkBox(),ii++,0); | 643 | topLayout->addWidget(fullViewMonth->checkBox(),ii++,0); |
644 | 644 | ||
645 | 645 | ||
646 | KPrefsDialogWidBool *fullViewTodo = | 646 | KPrefsDialogWidBool *fullViewTodo = |
647 | addWidBool(i18n("Event list view uses full window"), | 647 | addWidBool(i18n("Event list view uses full window"), |
648 | &(KOPrefs::instance()->mFullViewTodo),topFrame); | 648 | &(KOPrefs::instance()->mFullViewTodo),topFrame); |
649 | topLayout->addWidget(fullViewTodo->checkBox(),ii++,0); | 649 | topLayout->addWidget(fullViewTodo->checkBox(),ii++,0); |
650 | dummy = | 650 | dummy = |
651 | addWidBool(i18n("Listview uses monthly timespan"), | 651 | addWidBool(i18n("Listview uses monthly timespan"), |
652 | &(KOPrefs::instance()->mListViewMonthTimespan),topFrame); | 652 | &(KOPrefs::instance()->mListViewMonthTimespan),topFrame); |
653 | topLayout->addWidget(dummy->checkBox(),ii++,0); | 653 | topLayout->addWidget(dummy->checkBox(),ii++,0); |
654 | dummy = | 654 | dummy = |
655 | addWidBool(i18n("Highlight selection in Time Edit"), | 655 | addWidBool(i18n("Highlight selection in Time Edit"), |
656 | &(KOPrefs::instance()->mHightlightDateTimeEdit),topFrame); | 656 | &(KOPrefs::instance()->mHightlightDateTimeEdit),topFrame); |
657 | topLayout->addWidget( dummy->checkBox(), ii++,0); | 657 | topLayout->addWidget( dummy->checkBox(), ii++,0); |
658 | 658 | ||
659 | KPrefsDialogWidBool *dailyRecur = | 659 | KPrefsDialogWidBool *dailyRecur = |
660 | addWidBool(i18n("Show events that recur daily in date nav."), | 660 | addWidBool(i18n("Show events that recur daily in date nav."), |
661 | &(KOPrefs::instance()->mDailyRecur),topFrame); | 661 | &(KOPrefs::instance()->mDailyRecur),topFrame); |
662 | topLayout->addWidget(dailyRecur->checkBox(),ii++,0); | 662 | topLayout->addWidget(dailyRecur->checkBox(),ii++,0); |
663 | 663 | ||
664 | KPrefsDialogWidBool *weeklyRecur = | 664 | KPrefsDialogWidBool *weeklyRecur = |
665 | addWidBool(i18n("Show ev. that recur weekly in date nav."), | 665 | addWidBool(i18n("Show ev. that recur weekly in date nav."), |
666 | &(KOPrefs::instance()->mWeeklyRecur),topFrame); | 666 | &(KOPrefs::instance()->mWeeklyRecur),topFrame); |
667 | topLayout->addWidget(weeklyRecur->checkBox(),ii++,0); | 667 | topLayout->addWidget(weeklyRecur->checkBox(),ii++,0); |
668 | 668 | ||
669 | #ifdef DESKTOP_VERSION | 669 | #ifdef DESKTOP_VERSION |
670 | KPrefsDialogWidBool *enableToolTips = | 670 | KPrefsDialogWidBool *enableToolTips = |
671 | addWidBool(i18n("Enable tooltips displaying summary of ev."), | 671 | addWidBool(i18n("Enable tooltips displaying summary of ev."), |
672 | &(KOPrefs::instance()->mEnableToolTips),topFrame); | 672 | &(KOPrefs::instance()->mEnableToolTips),topFrame); |
673 | topLayout->addWidget(enableToolTips->checkBox(),ii++,0); | 673 | topLayout->addWidget(enableToolTips->checkBox(),ii++,0); |
674 | #endif | 674 | #endif |
675 | // ********************************************************* | 675 | // ********************************************************* |
676 | 676 | ||
677 | topFrame = addPage(i18n("Agenda View"),0,0); | 677 | topFrame = addPage(i18n("Agenda View"),0,0); |
678 | // DesktopIcon("viewmag",KIcon::SizeMedium)); | 678 | // DesktopIcon("viewmag",KIcon::SizeMedium)); |
679 | 679 | ||
680 | topLayout = new QGridLayout(topFrame,5,1); | 680 | topLayout = new QGridLayout(topFrame,5,1); |
681 | topLayout->setSpacing(mSpacingHint); | 681 | topLayout->setSpacing(mSpacingHint); |
682 | topLayout->setMargin(mMarginHint); | 682 | topLayout->setMargin(mMarginHint); |
683 | ii = 0; | 683 | ii = 0; |
684 | 684 | ||
685 | 685 | ||
686 | dummy = | 686 | dummy = |
687 | addWidBool(i18n("Show time in agenda items"), | 687 | addWidBool(i18n("Show time in agenda items"), |
688 | &(KOPrefs::instance()->mShowTimeInAgenda),topFrame); | 688 | &(KOPrefs::instance()->mShowTimeInAgenda),topFrame); |
689 | topLayout->addWidget(dummy->checkBox(),ii++,0); | 689 | topLayout->addWidget(dummy->checkBox(),ii++,0); |
690 | 690 | ||
691 | dummy = | 691 | dummy = |
692 | addWidBool(i18n("Highlight current day in agenda"), | 692 | addWidBool(i18n("Highlight current day in agenda"), |
693 | &(KOPrefs::instance()->mHighlightCurrentDay),topFrame); | 693 | &(KOPrefs::instance()->mHighlightCurrentDay),topFrame); |
694 | topLayout->addWidget(dummy->checkBox(),ii++,0); | 694 | topLayout->addWidget(dummy->checkBox(),ii++,0); |
695 | 695 | ||
696 | dummy = | 696 | dummy = |
697 | addWidBool(i18n("Use light color for highlight current day"), | 697 | addWidBool(i18n("Use light color for highlight current day"), |
698 | &(KOPrefs::instance()->mUseHighlightLightColor),topFrame); | 698 | &(KOPrefs::instance()->mUseHighlightLightColor),topFrame); |
699 | topLayout->addWidget(dummy->checkBox(),ii++,0); | 699 | topLayout->addWidget(dummy->checkBox(),ii++,0); |
700 | 700 | ||
701 | 701 | ||
702 | KPrefsDialogWidBool *marcusBainsEnabled = | 702 | KPrefsDialogWidBool *marcusBainsEnabled = |
703 | addWidBool(i18n("Show current time"), | 703 | addWidBool(i18n("Show current time"), |
704 | &(KOPrefs::instance()->mMarcusBainsEnabled),topFrame); | 704 | &(KOPrefs::instance()->mMarcusBainsEnabled),topFrame); |
705 | topLayout->addWidget(marcusBainsEnabled->checkBox(),ii++,0); | 705 | topLayout->addWidget(marcusBainsEnabled->checkBox(),ii++,0); |
706 | 706 | ||
707 | 707 | ||
708 | dummy = | 708 | dummy = |
709 | addWidBool(i18n("Set agenda to DayBeginsAt on change"), | 709 | addWidBool(i18n("Set agenda to DayBeginsAt on change"), |
710 | &(KOPrefs::instance()->mSetTimeToDayStartAt),topFrame); | 710 | &(KOPrefs::instance()->mSetTimeToDayStartAt),topFrame); |
711 | topLayout->addWidget(dummy->checkBox(),ii++,0); | 711 | topLayout->addWidget(dummy->checkBox(),ii++,0); |
712 | 712 | ||
713 | dummy = | 713 | dummy = |
714 | addWidBool(i18n("Set agenda to current time on change"), | 714 | addWidBool(i18n("Set agenda to current time on change"), |
715 | &(KOPrefs::instance()->mCenterOnCurrentTime),topFrame); | 715 | &(KOPrefs::instance()->mCenterOnCurrentTime),topFrame); |
716 | topLayout->addWidget(dummy->checkBox(),ii++,0); | 716 | topLayout->addWidget(dummy->checkBox(),ii++,0); |
717 | 717 | ||
718 | 718 | ||
719 | 719 | ||
720 | 720 | ||
721 | 721 | ||
722 | 722 | ||
723 | 723 | ||
724 | topFrame = addPage(i18n("Month View"),0,0); | 724 | topFrame = addPage(i18n("Month View"),0,0); |
725 | // DesktopIcon("viewmag",KIcon::SizeMedium)); | 725 | // DesktopIcon("viewmag",KIcon::SizeMedium)); |
726 | 726 | ||
727 | topLayout = new QGridLayout(topFrame,5,1); | 727 | topLayout = new QGridLayout(topFrame,5,1); |
728 | topLayout->setSpacing(mSpacingHint); | 728 | topLayout->setSpacing(mSpacingHint); |
729 | topLayout->setMargin(mMarginHint); | 729 | topLayout->setMargin(mMarginHint); |
730 | ii = 0; | 730 | ii = 0; |
731 | QLabel *lab; | 731 | QLabel *lab; |
732 | QHBox *habo = new QHBox( topFrame ); | 732 | QHBox *habo = new QHBox( topFrame ); |
733 | if ( QApplication::desktop()->width() <= 480 ) { | 733 | if ( QApplication::desktop()->width() <= 480 ) { |
734 | lab = new QLabel ( i18n("Show events that recur "), topFrame ); | 734 | lab = new QLabel ( i18n("Show events that recur "), topFrame ); |
735 | topLayout->addMultiCellWidget(lab,ii, ii,0,1); | 735 | topLayout->addMultiCellWidget(lab,ii, ii,0,1); |
736 | ii++; | 736 | ii++; |
737 | } else { | 737 | } else { |
738 | new QLabel ( i18n("Show events that recur "), habo ); | 738 | new QLabel ( i18n("Show events that recur "), habo ); |
739 | } | 739 | } |
740 | dailyRecur = | 740 | dailyRecur = |
741 | addWidBool(i18n("daily"), | 741 | addWidBool(i18n("daily"), |
742 | &(KOPrefs::instance()->mMonthDailyRecur),habo); | 742 | &(KOPrefs::instance()->mMonthDailyRecur),habo); |
743 | // topLayout->addWidget(dailyRecur->checkBox(),ii++,0); | 743 | // topLayout->addWidget(dailyRecur->checkBox(),ii++,0); |
744 | 744 | ||
745 | weeklyRecur = | 745 | weeklyRecur = |
746 | addWidBool(i18n("weekly"), | 746 | addWidBool(i18n("weekly"), |
747 | &(KOPrefs::instance()->mMonthWeeklyRecur),habo); | 747 | &(KOPrefs::instance()->mMonthWeeklyRecur),habo); |
748 | topLayout->addMultiCellWidget(habo,ii, ii,0,1); | 748 | topLayout->addMultiCellWidget(habo,ii, ii,0,1); |
749 | ii++; | 749 | ii++; |
750 | 750 | ||
751 | 751 | ||
752 | habo = new QHBox( topFrame ); | 752 | habo = new QHBox( topFrame ); |
753 | if ( QApplication::desktop()->width() <= 480 ) { | 753 | if ( QApplication::desktop()->width() <= 480 ) { |
754 | lab = new QLabel (i18n("Show in every cell ") , topFrame ); | 754 | lab = new QLabel (i18n("Show in every cell ") , topFrame ); |
755 | topLayout->addMultiCellWidget(lab,ii, ii,0,1); | 755 | topLayout->addMultiCellWidget(lab,ii, ii,0,1); |
756 | ii++; | 756 | ii++; |
757 | 757 | ||
758 | } else { | 758 | } else { |
759 | new QLabel ( i18n("Show in every cell "), habo ); | 759 | new QLabel ( i18n("Show in every cell "), habo ); |
760 | } | 760 | } |
761 | weeklyRecur = | 761 | weeklyRecur = |
762 | addWidBool(i18n("short month"), | 762 | addWidBool(i18n("short month"), |
763 | &(KOPrefs::instance()->mMonthShowShort),habo); | 763 | &(KOPrefs::instance()->mMonthShowShort),habo); |
764 | weeklyRecur = | 764 | weeklyRecur = |
765 | addWidBool(i18n("icons"), | 765 | addWidBool(i18n("icons"), |
766 | &(KOPrefs::instance()->mMonthShowIcons),habo); | 766 | &(KOPrefs::instance()->mMonthShowIcons),habo); |
767 | weeklyRecur = | 767 | weeklyRecur = |
768 | addWidBool(i18n("times"), | 768 | addWidBool(i18n("times"), |
769 | &(KOPrefs::instance()->mMonthShowTimes),habo); | 769 | &(KOPrefs::instance()->mMonthShowTimes),habo); |
770 | topLayout->addMultiCellWidget(habo,ii, ii,0,1); | 770 | topLayout->addMultiCellWidget(habo,ii, ii,0,1); |
771 | ii++; | 771 | ii++; |
772 | #ifdef DESKTOP_VERSION | 772 | #ifdef DESKTOP_VERSION |
773 | KPrefsDialogWidBool *enableMonthScroll = | 773 | KPrefsDialogWidBool *enableMonthScroll = |
774 | addWidBool(i18n("Enable scrollbars in month view cells"), | 774 | addWidBool(i18n("Enable scrollbars in month view cells"), |
775 | &(KOPrefs::instance()->mEnableMonthScroll),topFrame); | 775 | &(KOPrefs::instance()->mEnableMonthScroll),topFrame); |
776 | topLayout->addWidget(enableMonthScroll->checkBox(),ii++,0); | 776 | topLayout->addWidget(enableMonthScroll->checkBox(),ii++,0); |
777 | #endif | 777 | #endif |
778 | dummy = | 778 | dummy = |
779 | addWidBool(i18n("Week view mode uses bigger font"), | 779 | addWidBool(i18n("Week view mode uses bigger font"), |
780 | &(KOPrefs::instance()->mMonthViewUsesBigFont),topFrame); | 780 | &(KOPrefs::instance()->mMonthViewUsesBigFont),topFrame); |
781 | topLayout->addWidget(dummy->checkBox(),ii++,0); | 781 | topLayout->addWidget(dummy->checkBox(),ii++,0); |
782 | dummy = | 782 | dummy = |
783 | addWidBool(i18n("Show Sat/Sun together"), | 783 | addWidBool(i18n("Show Sat/Sun together"), |
784 | &(KOPrefs::instance()->mMonthViewSatSunTog),topFrame); | 784 | &(KOPrefs::instance()->mMonthViewSatSunTog),topFrame); |
785 | topLayout->addWidget(dummy->checkBox(),ii++,0); | 785 | topLayout->addWidget(dummy->checkBox(),ii++,0); |
786 | 786 | ||
787 | KPrefsDialogWidBool *coloredCategoriesInMonthView = | 787 | KPrefsDialogWidBool *coloredCategoriesInMonthView = |
788 | addWidBool(i18n("Month view uses category colors"), | 788 | addWidBool(i18n("Month view uses category colors"), |
789 | &(KOPrefs::instance()->mMonthViewUsesCategoryColor),topFrame); | 789 | &(KOPrefs::instance()->mMonthViewUsesCategoryColor),topFrame); |
790 | topLayout->addWidget(coloredCategoriesInMonthView->checkBox(),ii++,0); | 790 | topLayout->addWidget(coloredCategoriesInMonthView->checkBox(),ii++,0); |
791 | 791 | ||
792 | dummy = | 792 | dummy = |
793 | addWidBool(i18n("Categorie colors are applied to text"), | 793 | addWidBool(i18n("Categorie colors are applied to text"), |
794 | &(KOPrefs::instance()->mMonthViewUsesForegroundColor),topFrame); | 794 | &(KOPrefs::instance()->mMonthViewUsesForegroundColor),topFrame); |
795 | topLayout->addWidget(dummy->checkBox(),ii++,0); | 795 | topLayout->addWidget(dummy->checkBox(),ii++,0); |
796 | coloredCategoriesInMonthView = | 796 | coloredCategoriesInMonthView = |
797 | addWidBool(i18n("Month view uses day colors"), | 797 | addWidBool(i18n("Month view uses day colors"), |
798 | &(KOPrefs::instance()->mMonthViewUsesDayColors),topFrame); | 798 | &(KOPrefs::instance()->mMonthViewUsesDayColors),topFrame); |
799 | topLayout->addWidget(coloredCategoriesInMonthView->checkBox(),ii++,0); | 799 | topLayout->addWidget(coloredCategoriesInMonthView->checkBox(),ii++,0); |
800 | 800 | ||
801 | KPrefsDialogWidColor *holidayColor = | 801 | KPrefsDialogWidColor *holidayColor = |
802 | addWidColor(i18n("Day color odd months"), | 802 | addWidColor(i18n("Day color odd months"), |
803 | &(KOPrefs::instance()->mMonthViewOddColor),topFrame); | 803 | &(KOPrefs::instance()->mMonthViewOddColor),topFrame); |
804 | topLayout->addWidget(holidayColor->label(),ii,0); | 804 | topLayout->addWidget(holidayColor->label(),ii,0); |
805 | topLayout->addWidget(holidayColor->button(),ii++,1); | 805 | topLayout->addWidget(holidayColor->button(),ii++,1); |
806 | 806 | ||
807 | holidayColor = | 807 | holidayColor = |
808 | addWidColor(i18n("Day color even months"), | 808 | addWidColor(i18n("Day color even months"), |
809 | &(KOPrefs::instance()->mMonthViewEvenColor),topFrame); | 809 | &(KOPrefs::instance()->mMonthViewEvenColor),topFrame); |
810 | topLayout->addWidget(holidayColor->label(),ii,0); | 810 | topLayout->addWidget(holidayColor->label(),ii,0); |
811 | topLayout->addWidget(holidayColor->button(),ii++,1); | 811 | topLayout->addWidget(holidayColor->button(),ii++,1); |
812 | 812 | ||
813 | 813 | ||
814 | holidayColor = | 814 | holidayColor = |
815 | addWidColor(i18n("Color for Sundays + category \"Holiday\""), | 815 | addWidColor(i18n("Color for Sundays + category \"Holiday\""), |
816 | &(KOPrefs::instance()->mMonthViewHolidayColor),topFrame); | 816 | &(KOPrefs::instance()->mMonthViewHolidayColor),topFrame); |
817 | topLayout->addWidget(holidayColor->label(),ii,0); | 817 | topLayout->addWidget(holidayColor->label(),ii,0); |
818 | topLayout->addWidget(holidayColor->button(),ii++,1); | 818 | topLayout->addWidget(holidayColor->button(),ii++,1); |
819 | // *********************** What'sNext View | 819 | // *********************** What'sNext View |
820 | topFrame = addPage(i18n("What's Next View"),0,0); | 820 | topFrame = addPage(i18n("What's Next View"),0,0); |
821 | // DesktopIcon("viewmag",KIcon::SizeMedium)); | 821 | // DesktopIcon("viewmag",KIcon::SizeMedium)); |
822 | 822 | ||
823 | topLayout = new QGridLayout(topFrame,4,1); | 823 | topLayout = new QGridLayout(topFrame,4,1); |
824 | topLayout->setSpacing(mSpacingHint); | 824 | topLayout->setSpacing(mSpacingHint); |
825 | topLayout->setMargin(mMarginHint); | 825 | topLayout->setMargin(mMarginHint); |
826 | ii = 0; | 826 | ii = 0; |
827 | 827 | ||
828 | 828 | ||
829 | QHBox* hdummy = new QHBox(topFrame); | 829 | QHBox* hdummy = new QHBox(topFrame); |
830 | new QLabel(i18n("Days in What's Next:"),hdummy); | 830 | new QLabel(i18n("Days in What's Next:"),hdummy); |
831 | mWhatsNextSpin = new QSpinBox(1,14,1,hdummy); | 831 | mWhatsNextSpin = new QSpinBox(1,14,1,hdummy); |
832 | 832 | ||
833 | topLayout->addWidget(hdummy,ii++,0); | 833 | topLayout->addWidget(hdummy,ii++,0); |
834 | 834 | ||
835 | QHBox *prioBox = new QHBox(topFrame); | 835 | QHBox *prioBox = new QHBox(topFrame); |
836 | // intervalBox->setSpacing(mSpacingHint); | 836 | // intervalBox->setSpacing(mSpacingHint); |
837 | topLayout->addWidget(prioBox,ii++,0); | 837 | topLayout->addWidget(prioBox,ii++,0); |
838 | 838 | ||
839 | QLabel *prioLabel = new QLabel(i18n("Number of max.displayed todo prios:"), prioBox); | 839 | QLabel *prioLabel = new QLabel(i18n("Number of max.displayed todo prios:"), prioBox); |
840 | mPrioSpin = new QSpinBox(0,5,1,prioBox); | 840 | mPrioSpin = new QSpinBox(0,5,1,prioBox); |
841 | if ( QApplication::desktop()->width() < 300 ) | 841 | if ( QApplication::desktop()->width() < 300 ) |
842 | mPrioSpin->setFixedWidth( 40 ); | 842 | mPrioSpin->setFixedWidth( 40 ); |
843 | 843 | ||
844 | KPrefsDialogWidBool *passwdk = | 844 | KPrefsDialogWidBool *passwdk = |
845 | 845 | ||
846 | addWidBool(i18n("Show events, that are done"), | 846 | addWidBool(i18n("Show events, that are done"), |
847 | &(KOPrefs::instance()->mWNViewShowsPast),topFrame); | 847 | &(KOPrefs::instance()->mWNViewShowsPast),topFrame); |
848 | topLayout->addWidget(passwdk->checkBox(), ii++,0); | 848 | topLayout->addWidget(passwdk->checkBox(), ii++,0); |
849 | passwdk = | 849 | passwdk = |
850 | addWidBool(i18n("Show parent To-Do's"), | 850 | addWidBool(i18n("Show parent To-Do's"), |
851 | &(KOPrefs::instance()->mWNViewShowsParents),topFrame); | 851 | &(KOPrefs::instance()->mWNViewShowsParents),topFrame); |
852 | topLayout->addWidget(passwdk->checkBox(), ii++,0); | 852 | topLayout->addWidget(passwdk->checkBox(), ii++,0); |
853 | 853 | ||
854 | passwdk = | 854 | passwdk = |
855 | addWidBool(i18n("Show location"), | 855 | addWidBool(i18n("Show location"), |
856 | &(KOPrefs::instance()->mWNViewShowLocation),topFrame); | 856 | &(KOPrefs::instance()->mWNViewShowLocation),topFrame); |
857 | topLayout->addWidget(passwdk->checkBox(), ii++,0); | 857 | topLayout->addWidget(passwdk->checkBox(), ii++,0); |
858 | 858 | ||
859 | 859 | ||
860 | passwdk = | 860 | passwdk = |
861 | addWidBool(i18n("Use short date in WN+Event view"), | 861 | addWidBool(i18n("Use short date in WN+Event view"), |
862 | &(KOPrefs::instance()->mShortDateInViewer),topFrame); | 862 | &(KOPrefs::instance()->mShortDateInViewer),topFrame); |
863 | topLayout->addWidget(passwdk->checkBox(), ii++,0); | 863 | topLayout->addWidget(passwdk->checkBox(), ii++,0); |
864 | 864 | ||
865 | 865 | ||
866 | 866 | ||
867 | 867 | ||
868 | // *********************** Todo View | 868 | // *********************** Todo View |
869 | 869 | ||
870 | topFrame = addPage(i18n("Todo View"),0,0); | 870 | topFrame = addPage(i18n("Todo View"),0,0); |
871 | // DesktopIcon("viewmag",KIcon::SizeMedium)); | 871 | // DesktopIcon("viewmag",KIcon::SizeMedium)); |
872 | 872 | ||
873 | topLayout = new QGridLayout(topFrame,4,1); | 873 | topLayout = new QGridLayout(topFrame,4,1); |
874 | topLayout->setSpacing(mSpacingHint); | 874 | topLayout->setSpacing(mSpacingHint); |
875 | topLayout->setMargin(mMarginHint); | 875 | topLayout->setMargin(mMarginHint); |
876 | ii = 0; | 876 | ii = 0; |
877 | dummy = | 877 | dummy = |
878 | addWidBool(i18n("Hide not running Todos in To-do view"), | 878 | addWidBool(i18n("Hide not running Todos in To-do view"), |
879 | &(KOPrefs::instance()->mHideNonStartedTodos),topFrame); | 879 | &(KOPrefs::instance()->mHideNonStartedTodos),topFrame); |
880 | topLayout->addWidget(dummy->checkBox(),ii++,0); | 880 | topLayout->addWidget(dummy->checkBox(),ii++,0); |
881 | 881 | ||
882 | 882 | ||
883 | KPrefsDialogWidBool *showCompletedTodo = | 883 | KPrefsDialogWidBool *showCompletedTodo = |
884 | addWidBool(i18n("To-do view shows completed Todos"), | 884 | addWidBool(i18n("To-do view shows completed Todos"), |
885 | &(KOPrefs::instance()->mShowCompletedTodo),topFrame); | 885 | &(KOPrefs::instance()->mShowCompletedTodo),topFrame); |
886 | topLayout->addWidget(showCompletedTodo->checkBox(),ii++,0); | 886 | topLayout->addWidget(showCompletedTodo->checkBox(),ii++,0); |
887 | dummy = | 887 | dummy = |
888 | addWidBool(i18n("To-do view shows complete as 'xx %'"), | 888 | addWidBool(i18n("To-do view shows complete as 'xx %'"), |
889 | &(KOPrefs::instance()->mTodoViewShowsPercentage),topFrame); | 889 | &(KOPrefs::instance()->mTodoViewShowsPercentage),topFrame); |
890 | topLayout->addWidget(dummy->checkBox(),ii++,0); | 890 | topLayout->addWidget(dummy->checkBox(),ii++,0); |
891 | 891 | ||
892 | dummy = | 892 | dummy = |
893 | addWidBool(i18n("Small To-do view uses smaller font"), | 893 | addWidBool(i18n("Small To-do view uses smaller font"), |
894 | &(KOPrefs::instance()->mTodoViewUsesSmallFont),topFrame); | 894 | &(KOPrefs::instance()->mTodoViewUsesSmallFont),topFrame); |
895 | topLayout->addWidget(dummy->checkBox(),ii++,0); | 895 | topLayout->addWidget(dummy->checkBox(),ii++,0); |
896 | 896 | ||
897 | 897 | ||
898 | 898 | ||
899 | dummy = | 899 | dummy = |
900 | addWidBool(i18n("Todo view uses category colors"), | 900 | addWidBool(i18n("Todo view uses category colors"), |
901 | &(KOPrefs::instance()->mTodoViewUsesCatColors),topFrame); | 901 | &(KOPrefs::instance()->mTodoViewUsesCatColors),topFrame); |
902 | topLayout->addWidget(dummy->checkBox(),ii++,0); | 902 | topLayout->addWidget(dummy->checkBox(),ii++,0); |
903 | 903 | ||
904 | 904 | ||
905 | QWidget* wid = new QWidget( topFrame ); | 905 | QWidget* wid = new QWidget( topFrame ); |
906 | // Todo run today color | 906 | // Todo run today color |
907 | KPrefsDialogWidColor *todoRunColor = | 907 | KPrefsDialogWidColor *todoRunColor = |
908 | addWidColor(i18n("Color for running todos:"), | 908 | addWidColor(i18n("Color for running todos:"), |
909 | &(KOPrefs::instance()->mTodoRunColor),wid); | 909 | &(KOPrefs::instance()->mTodoRunColor),wid); |
910 | QHBoxLayout *widLayout = new QHBoxLayout(wid); | 910 | QHBoxLayout *widLayout = new QHBoxLayout(wid); |
911 | widLayout->addWidget( todoRunColor->label() ); | 911 | widLayout->addWidget( todoRunColor->label() ); |
912 | widLayout->addWidget( todoRunColor->button() ); | 912 | widLayout->addWidget( todoRunColor->button() ); |
913 | topLayout->addWidget(wid,ii++,0); | 913 | topLayout->addWidget(wid,ii++,0); |
914 | 914 | ||
915 | wid = new QWidget( topFrame ); | 915 | wid = new QWidget( topFrame ); |
916 | // Todo due today color | 916 | // Todo due today color |
917 | KPrefsDialogWidColor *todoDueTodayColor = | 917 | KPrefsDialogWidColor *todoDueTodayColor = |
918 | addWidColor(i18n("Todo due today color:"), | 918 | addWidColor(i18n("Todo due today color:"), |
919 | &(KOPrefs::instance()->mTodoDueTodayColor),wid); | 919 | &(KOPrefs::instance()->mTodoDueTodayColor),wid); |
920 | widLayout = new QHBoxLayout(wid); | 920 | widLayout = new QHBoxLayout(wid); |
921 | widLayout->addWidget( todoDueTodayColor->label() ); | 921 | widLayout->addWidget( todoDueTodayColor->label() ); |
922 | widLayout->addWidget( todoDueTodayColor->button() ); | 922 | widLayout->addWidget( todoDueTodayColor->button() ); |
923 | topLayout->addWidget(wid,ii++,0); | 923 | topLayout->addWidget(wid,ii++,0); |
924 | //topLayout->addWidget(todoDueTodayColor->button(),ii++,1); | 924 | //topLayout->addWidget(todoDueTodayColor->button(),ii++,1); |
925 | 925 | ||
926 | // Todo overdue color | 926 | // Todo overdue color |
927 | wid = new QWidget( topFrame ); | 927 | wid = new QWidget( topFrame ); |
928 | widLayout = new QHBoxLayout(wid); | 928 | widLayout = new QHBoxLayout(wid); |
929 | KPrefsDialogWidColor *todoOverdueColor = | 929 | KPrefsDialogWidColor *todoOverdueColor = |
930 | addWidColor(i18n("Todo overdue color:"), | 930 | addWidColor(i18n("Todo overdue color:"), |
931 | &(KOPrefs::instance()->mTodoOverdueColor),wid); | 931 | &(KOPrefs::instance()->mTodoOverdueColor),wid); |
932 | widLayout->addWidget(todoOverdueColor->label()); | 932 | widLayout->addWidget(todoOverdueColor->label()); |
933 | widLayout->addWidget(todoOverdueColor->button()); | 933 | widLayout->addWidget(todoOverdueColor->button()); |
934 | topLayout->addWidget(wid,ii++,0); | 934 | topLayout->addWidget(wid,ii++,0); |
935 | 935 | ||
936 | dummy = | 936 | dummy = |
937 | addWidBool(i18n("Colors are applied to text"), | 937 | addWidBool(i18n("Colors are applied to text"), |
938 | &(KOPrefs::instance()->mTodoViewUsesForegroundColor),topFrame); | 938 | &(KOPrefs::instance()->mTodoViewUsesForegroundColor),topFrame); |
939 | topLayout->addWidget(dummy->checkBox(),ii++,0); | 939 | topLayout->addWidget(dummy->checkBox(),ii++,0); |
940 | 940 | ||
941 | dummy = | 941 | dummy = |
942 | addWidBool(i18n("Allday Agenda view shows todos"), | 942 | addWidBool(i18n("Allday Agenda view shows todos"), |
943 | &(KOPrefs::instance()->mShowTodoInAgenda),topFrame); | 943 | &(KOPrefs::instance()->mShowTodoInAgenda),topFrame); |
944 | topLayout->addWidget(dummy->checkBox(),ii++,0); | 944 | topLayout->addWidget(dummy->checkBox(),ii++,0); |
945 | 945 | ||
946 | 946 | ||
947 | topFrame = addPage(i18n("View Options"),0,0); | 947 | topFrame = addPage(i18n("View Options"),0,0); |
948 | 948 | ||
949 | topLayout = new QGridLayout(topFrame,4,1); | 949 | topLayout = new QGridLayout(topFrame,4,1); |
950 | topLayout->setSpacing(mSpacingHint); | 950 | topLayout->setSpacing(mSpacingHint); |
951 | topLayout->setMargin(mMarginHint); | 951 | topLayout->setMargin(mMarginHint); |
952 | ii = 0; | 952 | ii = 0; |
953 | 953 | ||
954 | dummy = | 954 | dummy = |
955 | addWidBool(i18n("Show Sync Events"), | 955 | addWidBool(i18n("Show Sync Events"), |
956 | &(KOPrefs::instance()->mShowSyncEvents),topFrame); | 956 | &(KOPrefs::instance()->mShowSyncEvents),topFrame); |
957 | topLayout->addWidget(dummy->checkBox(), ii++,0); | 957 | topLayout->addWidget(dummy->checkBox(), ii++,0); |
958 | 958 | ||
959 | lab = new QLabel( i18n("Show in todo/event viewer:"), topFrame); | 959 | lab = new QLabel( i18n("Show in todo/event viewer:"), topFrame); |
960 | topLayout->addWidget(lab ,ii++,0); | 960 | topLayout->addWidget(lab ,ii++,0); |
961 | 961 | ||
962 | dummy = addWidBool(i18n("Details"), | 962 | dummy = addWidBool(i18n("Details"), |
963 | &(KOPrefs::instance()->mEVshowDetails),topFrame); | 963 | &(KOPrefs::instance()->mEVshowDetails),topFrame); |
964 | topLayout->addWidget(dummy->checkBox(),ii++,0); | 964 | topLayout->addWidget(dummy->checkBox(),ii++,0); |
965 | dummy = addWidBool(i18n("Created time"), | 965 | dummy = addWidBool(i18n("Created time"), |
966 | &(KOPrefs::instance()->mEVshowCreated),topFrame); | 966 | &(KOPrefs::instance()->mEVshowCreated),topFrame); |
967 | topLayout->addWidget(dummy->checkBox(),ii++,0); | 967 | topLayout->addWidget(dummy->checkBox(),ii++,0); |
968 | dummy = addWidBool(i18n("Last modified time"), | 968 | dummy = addWidBool(i18n("Last modified time"), |
969 | &(KOPrefs::instance()->mEVshowChanged),topFrame); | 969 | &(KOPrefs::instance()->mEVshowChanged),topFrame); |
970 | topLayout->addWidget(dummy->checkBox(),ii++,0); | 970 | topLayout->addWidget(dummy->checkBox(),ii++,0); |
971 | 971 | ||
972 | 972 | ||
973 | lab = new QLabel( i18n("Show in What'sThis quick overview:"), topFrame); | 973 | lab = new QLabel( i18n("Show in What'sThis quick overview:"), topFrame); |
974 | topLayout->addWidget(lab ,ii++,0); | 974 | topLayout->addWidget(lab ,ii++,0); |
975 | 975 | ||
976 | dummy = addWidBool(i18n("Details"), | 976 | dummy = addWidBool(i18n("Details"), |
977 | &(KOPrefs::instance()->mWTshowDetails),topFrame); | 977 | &(KOPrefs::instance()->mWTshowDetails),topFrame); |
978 | topLayout->addWidget(dummy->checkBox(),ii++,0); | 978 | topLayout->addWidget(dummy->checkBox(),ii++,0); |
979 | dummy = addWidBool(i18n("Created time"), | 979 | dummy = addWidBool(i18n("Created time"), |
980 | &(KOPrefs::instance()->mWTshowCreated),topFrame); | 980 | &(KOPrefs::instance()->mWTshowCreated),topFrame); |
981 | topLayout->addWidget(dummy->checkBox(),ii++,0); | 981 | topLayout->addWidget(dummy->checkBox(),ii++,0); |
982 | dummy = addWidBool(i18n("Last modified time"), | 982 | dummy = addWidBool(i18n("Last modified time"), |
983 | &(KOPrefs::instance()->mWTshowChanged),topFrame); | 983 | &(KOPrefs::instance()->mWTshowChanged),topFrame); |
984 | topLayout->addWidget(dummy->checkBox(),ii++,0); | 984 | topLayout->addWidget(dummy->checkBox(),ii++,0); |
985 | 985 | ||
986 | 986 | ||
987 | topFrame = addPage(i18n("Alarm"),0,0); | 987 | topFrame = addPage(i18n("Alarm"),0,0); |
988 | // DesktopIcon("viewmag",KIcon::SizeMedium)); | 988 | // DesktopIcon("viewmag",KIcon::SizeMedium)); |
989 | 989 | ||
990 | topLayout = new QGridLayout(topFrame,2,1); | 990 | topLayout = new QGridLayout(topFrame,2,1); |
991 | topLayout->setSpacing(mSpacingHint); | 991 | topLayout->setSpacing(mSpacingHint); |
992 | topLayout->setMargin(mMarginHint); | 992 | topLayout->setMargin(mMarginHint); |
993 | int iii = 0; | 993 | int iii = 0; |
994 | 994 | ||
995 | dummy = | 995 | dummy = |
996 | addWidBool(i18n("Use internal alarm notification"), | 996 | addWidBool(i18n("Use internal alarm notification"), |
997 | &(KOPrefs::instance()->mUseInternalAlarmNotification),topFrame); | 997 | &(KOPrefs::instance()->mUseInternalAlarmNotification),topFrame); |
998 | topLayout->addWidget(dummy->checkBox(),iii++,0); | 998 | topLayout->addWidget(dummy->checkBox(),iii++,0); |
999 | lab = new QLabel( i18n("Note: KO/Pi must be running to notify you about an alarm. Recommended for use on Zaurus: Disable this option and install KO/Pi alarm applet.\n"), topFrame); | 999 | lab = new QLabel( i18n("Note: KO/Pi must be running to notify you about an alarm. Recommended for use on Zaurus: Disable this option and install KO/Pi alarm applet.\n"), topFrame); |
1000 | 1000 | ||
1001 | topLayout->addWidget(lab ,iii++,0); | 1001 | topLayout->addWidget(lab ,iii++,0); |
1002 | #ifndef DESKTOP_VERSION | 1002 | #ifndef DESKTOP_VERSION |
1003 | lab->setAlignment( AlignLeft|WordBreak|AlignTop); | 1003 | lab->setAlignment( AlignLeft|WordBreak|AlignTop); |
1004 | #else | 1004 | #else |
1005 | lab->setAlignment( AlignLeft|BreakAnywhere|WordBreak|AlignTop); | 1005 | lab->setAlignment( AlignLeft|BreakAnywhere|WordBreak|AlignTop); |
1006 | lab->setSizePolicy( QSizePolicy( QSizePolicy::Ignored , QSizePolicy::Ignored,true) ); | 1006 | lab->setSizePolicy( QSizePolicy( QSizePolicy::Ignored , QSizePolicy::Ignored,true) ); |
1007 | #endif | 1007 | #endif |
1008 | 1008 | ||
1009 | QHBox* dummyBox = new QHBox(topFrame); | 1009 | QHBox* dummyBox = new QHBox(topFrame); |
1010 | new QLabel(i18n("Play beeps count:"),dummyBox); | 1010 | new QLabel(i18n("Play beeps count:"),dummyBox); |
1011 | mAlarmPlayBeeps = new QSpinBox(0,500,1,dummyBox); | 1011 | mAlarmPlayBeeps = new QSpinBox(0,500,1,dummyBox); |
1012 | topLayout->addWidget(dummyBox,iii++,0); | 1012 | topLayout->addWidget(dummyBox,iii++,0); |
1013 | 1013 | ||
1014 | dummyBox = new QHBox(topFrame); | 1014 | dummyBox = new QHBox(topFrame); |
1015 | new QLabel(i18n("Beeps interval in sec:"),dummyBox); | 1015 | new QLabel(i18n("Beeps interval in sec:"),dummyBox); |
1016 | mAlarmBeepInterval = new QSpinBox(1,600,1,dummyBox); | 1016 | mAlarmBeepInterval = new QSpinBox(1,600,1,dummyBox); |
1017 | topLayout->addWidget(dummyBox,iii++,0); | 1017 | topLayout->addWidget(dummyBox,iii++,0); |
1018 | 1018 | ||
1019 | dummyBox = new QHBox(topFrame); | 1019 | dummyBox = new QHBox(topFrame); |
1020 | new QLabel(i18n("Default suspend time in min:"),dummyBox); | 1020 | new QLabel(i18n("Default suspend time in min:"),dummyBox); |
1021 | mAlarmSuspendTime = new QSpinBox(1,600,1,dummyBox); | 1021 | mAlarmSuspendTime = new QSpinBox(1,600,1,dummyBox); |
1022 | topLayout->addWidget(dummyBox,iii++,0); | 1022 | topLayout->addWidget(dummyBox,iii++,0); |
1023 | 1023 | ||
1024 | dummyBox = new QHBox(topFrame); | 1024 | dummyBox = new QHBox(topFrame); |
1025 | new QLabel(i18n("Auto suspend count:"),dummyBox); | 1025 | new QLabel(i18n("Auto suspend count:"),dummyBox); |
1026 | mAlarmSuspendCount = new QSpinBox(0,60,1,dummyBox); | 1026 | mAlarmSuspendCount = new QSpinBox(0,60,1,dummyBox); |
1027 | topLayout->addWidget(dummyBox,iii++,0); | 1027 | topLayout->addWidget(dummyBox,iii++,0); |
1028 | 1028 | ||
1029 | 1029 | ||
1030 | 1030 | ||
1031 | |||
1032 | |||
1033 | |||
1034 | |||
1035 | QHBox* hbo = new QHBox ( topFrame ); | 1031 | QHBox* hbo = new QHBox ( topFrame ); |
1036 | mDefaultAlarmFile = new QLineEdit(hbo); | 1032 | mDefaultAlarmFile = new QLineEdit(hbo); |
1037 | QPushButton * loadTemplate = new QPushButton(hbo); | 1033 | QPushButton * loadTemplate = new QPushButton(hbo); |
1038 | QPixmap icon; | 1034 | QPixmap icon; |
1039 | if ( QApplication::desktop()->width() < 321 ) | 1035 | if ( QApplication::desktop()->width() < 321 ) |
1040 | icon = SmallIcon("fileimport16"); | 1036 | icon = SmallIcon("fileimport16"); |
1041 | else | 1037 | else |
1042 | icon = SmallIcon("fileimport"); | 1038 | icon = SmallIcon("fileimport"); |
1043 | loadTemplate->setIconSet (icon ) ; | 1039 | loadTemplate->setIconSet (icon ) ; |
1044 | connect( loadTemplate, SIGNAL( clicked() ), this , SLOT( selectSoundFile() ) ); | 1040 | connect( loadTemplate, SIGNAL( clicked() ), this , SLOT( selectSoundFile() ) ); |
1045 | int size = loadTemplate->sizeHint().height(); | 1041 | int size = loadTemplate->sizeHint().height(); |
1046 | loadTemplate->setFixedSize( size, size ); | 1042 | loadTemplate->setFixedSize( size, size ); |
1047 | //lab = new QLabel( i18n("This setting is useless for 5500 user!"), topFrame); | 1043 | //lab = new QLabel( i18n("This setting is useless for 5500 user!"), topFrame); |
1048 | // topLayout->addWidget(lab ,iii++,0); | 1044 | // topLayout->addWidget(lab ,iii++,0); |
1049 | lab = new QLabel( i18n("Alarm *.wav file for newly created alarm:"), topFrame); | 1045 | lab = new QLabel( i18n("Alarm *.wav file for newly created alarm:"), topFrame); |
1050 | topLayout->addWidget(lab ,iii++,0); | 1046 | topLayout->addWidget(lab ,iii++,0); |
1051 | topLayout->addWidget(hbo,iii++,0); | 1047 | topLayout->addWidget(hbo,iii++,0); |
1052 | // lab = new QLabel( i18n("Note: This does not mean, that for every alarm this file is replayed. This file here is associated with a newly created alarm."), topFrame); | 1048 | // lab = new QLabel( i18n("Note: This does not mean, that for every alarm this file is replayed. This file here is associated with a newly created alarm."), topFrame); |
1053 | 1049 | ||
1054 | // topLayout->addWidget(lab ,iii++,0); | 1050 | // topLayout->addWidget(lab ,iii++,0); |
1055 | // #ifndef DESKTOP_VERSION | 1051 | // #ifndef DESKTOP_VERSION |
1056 | // lab->setAlignment( AlignLeft|WordBreak|AlignTop); | 1052 | // lab->setAlignment( AlignLeft|WordBreak|AlignTop); |
1057 | // #else | 1053 | // #else |
1058 | // lab->setAlignment( AlignLeft|BreakAnywhere|WordBreak|AlignTop); | 1054 | // lab->setAlignment( AlignLeft|BreakAnywhere|WordBreak|AlignTop); |
1059 | // lab->setSizePolicy( QSizePolicy( QSizePolicy::Ignored , QSizePolicy::Ignored,true) ); | 1055 | // lab->setSizePolicy( QSizePolicy( QSizePolicy::Ignored , QSizePolicy::Ignored,true) ); |
1060 | // #endif | 1056 | // #endif |
1061 | 1057 | ||
1062 | 1058 | ||
1063 | } | 1059 | } |
1064 | 1060 | ||
1065 | void KOPrefsDialog::selectSoundFile() | 1061 | void KOPrefsDialog::selectSoundFile() |
1066 | { | 1062 | { |
1067 | QString fileName = mDefaultAlarmFile->text(); | 1063 | QString fileName = mDefaultAlarmFile->text(); |
1068 | fileName = KFileDialog::getSaveFileName( mDefaultAlarmFile->text() , "Choose default alarm file", this ); | 1064 | fileName = KFileDialog::getSaveFileName( mDefaultAlarmFile->text() , "Choose default alarm file", this ); |
1069 | if ( fileName.length() > 0 ) | 1065 | if ( fileName.length() > 0 ) |
1070 | mDefaultAlarmFile->setText( fileName ); | 1066 | mDefaultAlarmFile->setText( fileName ); |
1071 | } | 1067 | } |
1072 | void KOPrefsDialog::setupFontsTab() | 1068 | void KOPrefsDialog::setupFontsTab() |
1073 | { | 1069 | { |
1074 | 1070 | ||
1075 | QFrame *topFrame = addPage(i18n("Fonts"),0,0); | 1071 | QFrame *topFrame = addPage(i18n("Fonts"),0,0); |
1076 | // DesktopIcon("fonts",KIcon::SizeMedium)); | 1072 | // DesktopIcon("fonts",KIcon::SizeMedium)); |
1077 | 1073 | ||
1078 | QGridLayout *topLayout = new QGridLayout(topFrame,7,3); | 1074 | QGridLayout *topLayout = new QGridLayout(topFrame,7,3); |
1079 | topLayout->setSpacing(1); | 1075 | topLayout->setSpacing(1); |
1080 | topLayout->setMargin(3); | 1076 | topLayout->setMargin(3); |
1081 | KPrefsDialogWidFont * tVFont; | 1077 | KPrefsDialogWidFont * tVFont; |
1082 | int i = 0; | 1078 | int i = 0; |
1083 | KPrefsDialogWidFont *timeLabelsFont = | 1079 | KPrefsDialogWidFont *timeLabelsFont = |
1084 | addWidFont(i18n("23"),i18n("DateNavigator:(nr)"), | 1080 | addWidFont(i18n("23"),i18n("DateNavigator:(nr)"), |
1085 | &(KOPrefs::instance()->mDateNavigatorFont),topFrame); | 1081 | &(KOPrefs::instance()->mDateNavigatorFont),topFrame); |
1086 | topLayout->addWidget(timeLabelsFont->label(),i,0); | 1082 | topLayout->addWidget(timeLabelsFont->label(),i,0); |
1087 | topLayout->addWidget(timeLabelsFont->preview(),i,1); | 1083 | topLayout->addWidget(timeLabelsFont->preview(),i,1); |
1088 | topLayout->addWidget(timeLabelsFont->button(),i,2); | 1084 | topLayout->addWidget(timeLabelsFont->button(),i,2); |
1089 | ++i; | 1085 | ++i; |
1090 | 1086 | ||
1091 | 1087 | ||
1092 | timeLabelsFont = | 1088 | timeLabelsFont = |
1093 | addWidFont(i18n("Mon 15"),i18n("Date Labels:"), | 1089 | addWidFont(i18n("Mon 15"),i18n("Date Labels:"), |
1094 | &(KOPrefs::instance()->mTimeLabelsFont),topFrame); | 1090 | &(KOPrefs::instance()->mTimeLabelsFont),topFrame); |
1095 | topLayout->addWidget(timeLabelsFont->label(),i,0); | 1091 | topLayout->addWidget(timeLabelsFont->label(),i,0); |
1096 | topLayout->addWidget(timeLabelsFont->preview(),i,1); | 1092 | topLayout->addWidget(timeLabelsFont->preview(),i,1); |
1097 | topLayout->addWidget(timeLabelsFont->button(),i,2); | 1093 | topLayout->addWidget(timeLabelsFont->button(),i,2); |
1098 | ++i; | 1094 | ++i; |
1099 | 1095 | ||
1100 | KPrefsDialogWidFont *timeBarFont = | 1096 | KPrefsDialogWidFont *timeBarFont = |
1101 | addWidFont(KGlobal::locale()->formatTime(QTime(12,34)),i18n("Time bar:"), | 1097 | addWidFont(KGlobal::locale()->formatTime(QTime(12,34)),i18n("Time bar:"), |
1102 | &(KOPrefs::instance()->mTimeBarFont),topFrame); | 1098 | &(KOPrefs::instance()->mTimeBarFont),topFrame); |
1103 | topLayout->addWidget(timeBarFont->label(),i,0); | 1099 | topLayout->addWidget(timeBarFont->label(),i,0); |
1104 | topLayout->addWidget(timeBarFont->preview(),i,1); | 1100 | topLayout->addWidget(timeBarFont->preview(),i,1); |
1105 | topLayout->addWidget(timeBarFont->button(),i,2); | 1101 | topLayout->addWidget(timeBarFont->button(),i,2); |
1106 | ++i; | 1102 | ++i; |
1107 | 1103 | ||
1108 | 1104 | ||
1109 | KPrefsDialogWidFont *marcusBainsFont = | 1105 | KPrefsDialogWidFont *marcusBainsFont = |
1110 | addWidFont(KGlobal::locale()->formatTime(QTime(12,34,23)),i18n("M. Bains line:"), | 1106 | addWidFont(KGlobal::locale()->formatTime(QTime(12,34,23)),i18n("M. Bains line:"), |
1111 | &(KOPrefs::instance()->mMarcusBainsFont),topFrame); | 1107 | &(KOPrefs::instance()->mMarcusBainsFont),topFrame); |
1112 | topLayout->addWidget(marcusBainsFont->label(),i,0); | 1108 | topLayout->addWidget(marcusBainsFont->label(),i,0); |
1113 | topLayout->addWidget(marcusBainsFont->preview(),i,1); | 1109 | topLayout->addWidget(marcusBainsFont->preview(),i,1); |
1114 | topLayout->addWidget(marcusBainsFont->button(),i,2); | 1110 | topLayout->addWidget(marcusBainsFont->button(),i,2); |
1115 | ++i; | 1111 | ++i; |
1116 | 1112 | ||
1117 | tVFont = | 1113 | tVFont = |
1118 | addWidFont(i18n("Summary"),i18n("Event Viewer:"), | 1114 | addWidFont(i18n("Summary"),i18n("Event Viewer:"), |
1119 | &(KOPrefs::instance()->mEventViewFont),topFrame); | 1115 | &(KOPrefs::instance()->mEventViewFont),topFrame); |
1120 | topLayout->addWidget(tVFont->label(),i,0); | 1116 | topLayout->addWidget(tVFont->label(),i,0); |
1121 | topLayout->addWidget(tVFont->preview(),i,1); | 1117 | topLayout->addWidget(tVFont->preview(),i,1); |
1122 | topLayout->addWidget(tVFont->button(),i,2); | 1118 | topLayout->addWidget(tVFont->button(),i,2); |
1123 | ++i; | 1119 | ++i; |
1124 | 1120 | ||
1125 | 1121 | ||
1126 | 1122 | ||
1127 | tVFont = | 1123 | tVFont = |
1128 | addWidFont(i18n("Details"),i18n("EditorBox:"), | 1124 | addWidFont(i18n("Details"),i18n("EditorBox:"), |
1129 | &(KOPrefs::instance()->mEditBoxFont),topFrame); | 1125 | &(KOPrefs::instance()->mEditBoxFont),topFrame); |
1130 | topLayout->addWidget(tVFont->label(),i,0); | 1126 | topLayout->addWidget(tVFont->label(),i,0); |
1131 | topLayout->addWidget(tVFont->preview(),i,1); | 1127 | topLayout->addWidget(tVFont->preview(),i,1); |
1132 | topLayout->addWidget(tVFont->button(),i,2); | 1128 | topLayout->addWidget(tVFont->button(),i,2); |
1133 | ++i; | 1129 | ++i; |
1134 | 1130 | ||
1135 | 1131 | ||
1136 | 1132 | ||
1137 | topLayout->setColStretch(1,1); | 1133 | topLayout->setColStretch(1,1); |
1138 | topLayout->setRowStretch(4,1); | 1134 | topLayout->setRowStretch(4,1); |
1139 | 1135 | ||
1140 | 1136 | ||
1141 | i = 0; | 1137 | i = 0; |
1142 | topFrame = addPage(i18n("View Fonts"),0, | 1138 | topFrame = addPage(i18n("View Fonts"),0, |
1143 | DesktopIcon("fonts",KIcon::SizeMedium)); | 1139 | DesktopIcon("fonts",KIcon::SizeMedium)); |
1144 | 1140 | ||
1145 | topLayout = new QGridLayout(topFrame,7,3); | 1141 | topLayout = new QGridLayout(topFrame,7,3); |
1146 | topLayout->setSpacing(1); | 1142 | topLayout->setSpacing(1); |
1147 | topLayout->setMargin(3); | 1143 | topLayout->setMargin(3); |
1148 | 1144 | ||
1149 | tVFont = | 1145 | tVFont = |
1150 | addWidFont(i18n("Configure KO"),i18n("What's Next View:"), | 1146 | addWidFont(i18n("Configure KO"),i18n("What's Next View:"), |
1151 | &(KOPrefs::instance()->mWhatsNextFont),topFrame); | 1147 | &(KOPrefs::instance()->mWhatsNextFont),topFrame); |
1152 | topLayout->addWidget(tVFont->label(),i,0); | 1148 | topLayout->addWidget(tVFont->label(),i,0); |
1153 | topLayout->addWidget(tVFont->preview(),i,1); | 1149 | topLayout->addWidget(tVFont->preview(),i,1); |
1154 | topLayout->addWidget(tVFont->button(),i,2); | 1150 | topLayout->addWidget(tVFont->button(),i,2); |
1155 | ++i; | 1151 | ++i; |
1156 | KPrefsDialogWidFont *agendaViewFont = | 1152 | KPrefsDialogWidFont *agendaViewFont = |
1157 | addWidFont(i18n("Event text"),i18n("Agenda view:"), | 1153 | addWidFont(i18n("Event text"),i18n("Agenda view:"), |
1158 | &(KOPrefs::instance()->mAgendaViewFont),topFrame); | 1154 | &(KOPrefs::instance()->mAgendaViewFont),topFrame); |
1159 | topLayout->addWidget(agendaViewFont->label(),i,0); | 1155 | topLayout->addWidget(agendaViewFont->label(),i,0); |
1160 | topLayout->addWidget(agendaViewFont->preview(),i,1); | 1156 | topLayout->addWidget(agendaViewFont->preview(),i,1); |
1161 | topLayout->addWidget(agendaViewFont->button(),i,2); | 1157 | topLayout->addWidget(agendaViewFont->button(),i,2); |
1162 | ++i; | 1158 | ++i; |
1163 | 1159 | ||
1164 | 1160 | ||
1165 | KPrefsDialogWidFont *monthViewFont = | 1161 | KPrefsDialogWidFont *monthViewFont = |
1166 | addWidFont(KGlobal::locale()->formatTime(QTime(12,34)) + " " + i18n("Event"), | 1162 | addWidFont(KGlobal::locale()->formatTime(QTime(12,34)) + " " + i18n("Event"), |
1167 | i18n("Month view:"),&(KOPrefs::instance()->mMonthViewFont),topFrame); | 1163 | i18n("Month view:"),&(KOPrefs::instance()->mMonthViewFont),topFrame); |
1168 | topLayout->addWidget(monthViewFont->label(),i,0); | 1164 | topLayout->addWidget(monthViewFont->label(),i,0); |
1169 | topLayout->addWidget(monthViewFont->preview(),i,1); | 1165 | topLayout->addWidget(monthViewFont->preview(),i,1); |
1170 | topLayout->addWidget(monthViewFont->button(),i,2); | 1166 | topLayout->addWidget(monthViewFont->button(),i,2); |
1171 | ++i; | 1167 | ++i; |
1172 | 1168 | ||
1173 | 1169 | ||
1174 | KPrefsDialogWidFont *lVFont = | 1170 | KPrefsDialogWidFont *lVFont = |
1175 | addWidFont(i18n("Event"),i18n("List View:"), | 1171 | addWidFont(i18n("Event"),i18n("List View:"), |
1176 | &(KOPrefs::instance()->mListViewFont),topFrame); | 1172 | &(KOPrefs::instance()->mListViewFont),topFrame); |
1177 | topLayout->addWidget(lVFont->label(),i,0); | 1173 | topLayout->addWidget(lVFont->label(),i,0); |
1178 | topLayout->addWidget(lVFont->preview(),i,1); | 1174 | topLayout->addWidget(lVFont->preview(),i,1); |
1179 | topLayout->addWidget(lVFont->button(),i,2); | 1175 | topLayout->addWidget(lVFont->button(),i,2); |
1180 | ++i; | 1176 | ++i; |
1181 | 1177 | ||
1182 | 1178 | ||
1183 | tVFont = | 1179 | tVFont = |
1184 | addWidFont(i18n("ToDo"),i18n("ToDoView:"), | 1180 | addWidFont(i18n("ToDo"),i18n("ToDoView:"), |
1185 | &(KOPrefs::instance()->mTodoViewFont),topFrame); | 1181 | &(KOPrefs::instance()->mTodoViewFont),topFrame); |
1186 | topLayout->addWidget(tVFont->label(),i,0); | 1182 | topLayout->addWidget(tVFont->label(),i,0); |
1187 | topLayout->addWidget(tVFont->preview(),i,1); | 1183 | topLayout->addWidget(tVFont->preview(),i,1); |
1188 | topLayout->addWidget(tVFont->button(),i,2); | 1184 | topLayout->addWidget(tVFont->button(),i,2); |
1189 | ++i; | 1185 | ++i; |
1190 | 1186 | ||
1191 | 1187 | ||
1192 | tVFont = | 1188 | tVFont = |
1193 | addWidFont(i18n("Today"),i18n("JournalView:"), | 1189 | addWidFont(i18n("Today"),i18n("JournalView:"), |
1194 | &(KOPrefs::instance()->mJornalViewFont),topFrame); | 1190 | &(KOPrefs::instance()->mJornalViewFont),topFrame); |
1195 | topLayout->addWidget(tVFont->label(),i,0); | 1191 | topLayout->addWidget(tVFont->label(),i,0); |
1196 | topLayout->addWidget(tVFont->preview(),i,1); | 1192 | topLayout->addWidget(tVFont->preview(),i,1); |
1197 | topLayout->addWidget(tVFont->button(),i,2); | 1193 | topLayout->addWidget(tVFont->button(),i,2); |
1198 | ++i; | 1194 | ++i; |
1199 | 1195 | ||
1200 | 1196 | ||
1201 | 1197 | ||
1202 | 1198 | ||
1203 | topLayout->setColStretch(1,1); | 1199 | topLayout->setColStretch(1,1); |
1204 | topLayout->setRowStretch(4,1); | 1200 | topLayout->setRowStretch(4,1); |
1205 | 1201 | ||
1206 | 1202 | ||
1207 | 1203 | ||
1208 | 1204 | ||
1209 | } | 1205 | } |
1210 | 1206 | ||
1211 | void KOPrefsDialog::setupColorsTab() | 1207 | void KOPrefsDialog::setupColorsTab() |
1212 | { | 1208 | { |
1213 | QFrame *topFrame = addPage(i18n("Colors"),0,0); | 1209 | QFrame *topFrame = addPage(i18n("Colors"),0,0); |
1214 | // DesktopIcon("colorize",KIcon::SizeMedium)); | 1210 | // DesktopIcon("colorize",KIcon::SizeMedium)); |
1215 | 1211 | ||
1216 | QGridLayout *topLayout = new QGridLayout(topFrame,5,2); | 1212 | QGridLayout *topLayout = new QGridLayout(topFrame,5,2); |
1217 | // topLayout->setSpacing(mSpacingHint); | 1213 | // topLayout->setSpacing(mSpacingHint); |
1218 | // topLayout->setMargin(mMarginHint); | 1214 | // topLayout->setMargin(mMarginHint); |
1219 | 1215 | ||
1220 | topLayout->setSpacing(2); | 1216 | topLayout->setSpacing(2); |
1221 | topLayout->setMargin(3); | 1217 | topLayout->setMargin(3); |
1222 | 1218 | ||
1223 | int ii = 1; | 1219 | int ii = 1; |
1224 | QGroupBox *categoryGroup ; | 1220 | QGroupBox *categoryGroup ; |
1225 | 1221 | ||
1226 | categoryGroup = new QGroupBox(1,Vertical,i18n("Categories"), | 1222 | categoryGroup = new QGroupBox(1,Vertical,i18n("Categories"), |
1227 | topFrame); | 1223 | topFrame); |
1228 | topLayout->addMultiCellWidget(categoryGroup,0,0,0,1); | 1224 | topLayout->addMultiCellWidget(categoryGroup,0,0,0,1); |
1229 | 1225 | ||
1230 | mCategoryCombo = new QComboBox(categoryGroup); | 1226 | mCategoryCombo = new QComboBox(categoryGroup); |
1231 | mCategoryCombo->insertStringList(KOPrefs::instance()->mCustomCategories); | 1227 | mCategoryCombo->insertStringList(KOPrefs::instance()->mCustomCategories); |
1232 | connect(mCategoryCombo,SIGNAL(activated(int)),SLOT(updateCategoryColor())); | 1228 | connect(mCategoryCombo,SIGNAL(activated(int)),SLOT(updateCategoryColor())); |
1233 | 1229 | ||
1234 | mCategoryButton = new KColorButton(categoryGroup); | 1230 | mCategoryButton = new KColorButton(categoryGroup); |
1235 | connect(mCategoryButton,SIGNAL(changed(const QColor &)),SLOT(setCategoryColor())); | 1231 | connect(mCategoryButton,SIGNAL(changed(const QColor &)),SLOT(setCategoryColor())); |
1236 | updateCategoryColor(); | 1232 | updateCategoryColor(); |
1237 | 1233 | ||
1238 | 1234 | ||
1239 | // Holiday Color | 1235 | // Holiday Color |
1240 | 1236 | ||
1241 | KPrefsDialogWidColor *holidayColor = | 1237 | KPrefsDialogWidColor *holidayColor = |
1242 | addWidColor(i18n("Holiday color:"), | 1238 | addWidColor(i18n("Holiday color:"), |
1243 | &(KOPrefs::instance()->mHolidayColor),topFrame); | 1239 | &(KOPrefs::instance()->mHolidayColor),topFrame); |
1244 | topLayout->addWidget(holidayColor->label(),ii,0); | 1240 | topLayout->addWidget(holidayColor->label(),ii,0); |
1245 | topLayout->addWidget(holidayColor->button(),ii++,1); | 1241 | topLayout->addWidget(holidayColor->button(),ii++,1); |
1246 | 1242 | ||
1247 | // Highlight Color | 1243 | // Highlight Color |
1248 | KPrefsDialogWidColor *highlightColor = | 1244 | KPrefsDialogWidColor *highlightColor = |
1249 | addWidColor(i18n("Highlight color:"), | 1245 | addWidColor(i18n("Highlight color:"), |
1250 | &(KOPrefs::instance()->mHighlightColor),topFrame); | 1246 | &(KOPrefs::instance()->mHighlightColor),topFrame); |
1251 | topLayout->addWidget(highlightColor->label(),ii,0); | 1247 | topLayout->addWidget(highlightColor->label(),ii,0); |
1252 | topLayout->addWidget(highlightColor->button(),ii++,1); | 1248 | topLayout->addWidget(highlightColor->button(),ii++,1); |
1253 | 1249 | ||
1254 | // Event color | 1250 | // Event color |
1255 | KPrefsDialogWidColor *eventColor = | 1251 | KPrefsDialogWidColor *eventColor = |
1256 | addWidColor(i18n("Default event color:"), | 1252 | addWidColor(i18n("Default event color:"), |
1257 | &(KOPrefs::instance()->mEventColor),topFrame); | 1253 | &(KOPrefs::instance()->mEventColor),topFrame); |
1258 | topLayout->addWidget(eventColor->label(),ii,0); | 1254 | topLayout->addWidget(eventColor->label(),ii,0); |
1259 | topLayout->addWidget(eventColor->button(),ii++,1); | 1255 | topLayout->addWidget(eventColor->button(),ii++,1); |
1260 | eventColor = | 1256 | eventColor = |
1261 | addWidColor(i18n("Default todo done color:"), | 1257 | addWidColor(i18n("Default todo done color:"), |
1262 | &(KOPrefs::instance()->mTodoDoneColor),topFrame); | 1258 | &(KOPrefs::instance()->mTodoDoneColor),topFrame); |
1263 | topLayout->addWidget(eventColor->label(),ii,0); | 1259 | topLayout->addWidget(eventColor->label(),ii,0); |
1264 | topLayout->addWidget(eventColor->button(),ii++,1); | 1260 | topLayout->addWidget(eventColor->button(),ii++,1); |
1265 | 1261 | ||
1266 | 1262 | ||
1267 | // agenda view background color | 1263 | // agenda view background color |
1268 | KPrefsDialogWidColor *agendaBgColor = | 1264 | KPrefsDialogWidColor *agendaBgColor = |
1269 | addWidColor(i18n("Agenda view background color:"), | 1265 | addWidColor(i18n("Agenda view background color:"), |
1270 | &(KOPrefs::instance()->mAgendaBgColor),topFrame); | 1266 | &(KOPrefs::instance()->mAgendaBgColor),topFrame); |
1271 | topLayout->addWidget(agendaBgColor->label(),ii,0); | 1267 | topLayout->addWidget(agendaBgColor->label(),ii,0); |
1272 | topLayout->addWidget(agendaBgColor->button(),ii++,1); | 1268 | topLayout->addWidget(agendaBgColor->button(),ii++,1); |
1273 | 1269 | ||
1274 | // working hours color | 1270 | // working hours color |
1275 | KPrefsDialogWidColor *workingHoursColor = | 1271 | KPrefsDialogWidColor *workingHoursColor = |
1276 | addWidColor(i18n("Working hours color:"), | 1272 | addWidColor(i18n("Working hours color:"), |
1277 | &(KOPrefs::instance()->mWorkingHoursColor),topFrame); | 1273 | &(KOPrefs::instance()->mWorkingHoursColor),topFrame); |
1278 | topLayout->addWidget(workingHoursColor->label(),ii,0); | 1274 | topLayout->addWidget(workingHoursColor->label(),ii,0); |
1279 | topLayout->addWidget(workingHoursColor->button(),ii++,1); | 1275 | topLayout->addWidget(workingHoursColor->button(),ii++,1); |
1280 | 1276 | ||
1281 | KPrefsDialogWidBool *sb = | 1277 | KPrefsDialogWidBool *sb = |
1282 | addWidBool(i18n("Use colors for application:"), | 1278 | addWidBool(i18n("Use colors for application:"), |
1283 | &(KOPrefs::instance()->mUseAppColors),topFrame); | 1279 | &(KOPrefs::instance()->mUseAppColors),topFrame); |
1284 | topLayout->addMultiCellWidget(sb->checkBox(), ii, ii, 0,1 ); | 1280 | topLayout->addMultiCellWidget(sb->checkBox(), ii, ii, 0,1 ); |
1285 | 1281 | ||
1286 | ii++; | 1282 | ii++; |
1287 | KPrefsDialogWidColor * workingHoursColor1 = | 1283 | KPrefsDialogWidColor * workingHoursColor1 = |
1288 | addWidColor(i18n("Buttons, menus, etc.:"), | 1284 | addWidColor(i18n("Buttons, menus, etc.:"), |
1289 | &(KOPrefs::instance()->mAppColor1),topFrame); | 1285 | &(KOPrefs::instance()->mAppColor1),topFrame); |
1290 | topLayout->addWidget(workingHoursColor1->label(),ii,0); | 1286 | topLayout->addWidget(workingHoursColor1->label(),ii,0); |
1291 | topLayout->addWidget(workingHoursColor1->button(),ii++,1); | 1287 | topLayout->addWidget(workingHoursColor1->button(),ii++,1); |
1292 | 1288 | ||
1293 | KPrefsDialogWidColor * workingHoursColor2 = | 1289 | KPrefsDialogWidColor * workingHoursColor2 = |
1294 | addWidColor(i18n("Frames, labels, etc.:"), | 1290 | addWidColor(i18n("Frames, labels, etc.:"), |
1295 | &(KOPrefs::instance()->mAppColor2),topFrame); | 1291 | &(KOPrefs::instance()->mAppColor2),topFrame); |
1296 | topLayout->addWidget(workingHoursColor2->label(),ii,0); | 1292 | topLayout->addWidget(workingHoursColor2->label(),ii,0); |
1297 | topLayout->addWidget(workingHoursColor2->button(),ii++,1); | 1293 | topLayout->addWidget(workingHoursColor2->button(),ii++,1); |
1298 | 1294 | ||
1299 | 1295 | ||
1300 | 1296 | ||
1301 | } | 1297 | } |
1302 | 1298 | ||
1303 | void KOPrefsDialog::setCategoryColor() | 1299 | void KOPrefsDialog::setCategoryColor() |
1304 | { | 1300 | { |
1305 | mCategoryDict.replace(mCategoryCombo->currentText(), new QColor(mCategoryButton->color())); | 1301 | mCategoryDict.replace(mCategoryCombo->currentText(), new QColor(mCategoryButton->color())); |
1306 | } | 1302 | } |
1307 | 1303 | ||
1308 | void KOPrefsDialog::updateCategoryColor() | 1304 | void KOPrefsDialog::updateCategoryColor() |
1309 | { | 1305 | { |
1310 | QString cat = mCategoryCombo->currentText(); | 1306 | QString cat = mCategoryCombo->currentText(); |
1311 | QColor *color = mCategoryDict.find(cat); | 1307 | QColor *color = mCategoryDict.find(cat); |
1312 | if (!color) { | 1308 | if (!color) { |
1313 | color = KOPrefs::instance()->categoryColor(cat); | 1309 | color = KOPrefs::instance()->categoryColor(cat); |
1314 | } | 1310 | } |
1315 | if (color) { | 1311 | if (color) { |
1316 | mCategoryButton->setColor(*color); | 1312 | mCategoryButton->setColor(*color); |
1317 | } | 1313 | } |
1318 | } | 1314 | } |
1319 | 1315 | ||
1320 | void KOPrefsDialog::setupPrinterTab() | 1316 | void KOPrefsDialog::setupPrinterTab() |
1321 | { | 1317 | { |
1322 | mPrinterTab = addPage(i18n("Printing"),0, | 1318 | mPrinterTab = addPage(i18n("Printing"),0, |
1323 | DesktopIcon("fileprint",KIcon::SizeMedium)); | 1319 | DesktopIcon("fileprint",KIcon::SizeMedium)); |
1324 | 1320 | ||
1325 | QGridLayout *topLayout = new QGridLayout(mPrinterTab,5,2); | 1321 | QGridLayout *topLayout = new QGridLayout(mPrinterTab,5,2); |
1326 | topLayout->setSpacing(mSpacingHint); | 1322 | topLayout->setSpacing(mSpacingHint); |
1327 | topLayout->setMargin(mMarginHint); | 1323 | topLayout->setMargin(mMarginHint); |
1328 | 1324 | ||
1329 | topLayout->setRowStretch(4,1); | 1325 | topLayout->setRowStretch(4,1); |
1330 | } | 1326 | } |
1331 | 1327 | ||
1332 | void KOPrefsDialog::setupGroupSchedulingTab() | 1328 | void KOPrefsDialog::setupGroupSchedulingTab() |
1333 | { | 1329 | { |
1334 | #if 0 | 1330 | #if 0 |
1335 | QFrame *topFrame = addPage(i18n("Group Scheduling"),0, | 1331 | QFrame *topFrame = addPage(i18n("Group Scheduling"),0, |
1336 | DesktopIcon("personal",KIcon::SizeMedium)); | 1332 | DesktopIcon("personal",KIcon::SizeMedium)); |
1337 | 1333 | ||
1338 | QGridLayout *topLayout = new QGridLayout(topFrame,6,2); | 1334 | QGridLayout *topLayout = new QGridLayout(topFrame,6,2); |
1339 | topLayout->setSpacing(mSpacingHint); | 1335 | topLayout->setSpacing(mSpacingHint); |
1340 | topLayout->setMargin(mMarginHint); | 1336 | topLayout->setMargin(mMarginHint); |
1341 | 1337 | ||
1342 | #if 0 | 1338 | #if 0 |
1343 | KPrefsDialogWidRadios *schedulerGroup = | 1339 | KPrefsDialogWidRadios *schedulerGroup = |
1344 | addWidRadios(i18n("Scheduler Mail Client"),&(KOPrefs::instance()->mIMIPScheduler), | 1340 | addWidRadios(i18n("Scheduler Mail Client"),&(KOPrefs::instance()->mIMIPScheduler), |
1345 | topFrame); | 1341 | topFrame); |
1346 | schedulerGroup->addRadio("Dummy"); // Only for debugging | 1342 | schedulerGroup->addRadio("Dummy"); // Only for debugging |
1347 | schedulerGroup->addRadio(i18n("Mail client")); | 1343 | schedulerGroup->addRadio(i18n("Mail client")); |
1348 | 1344 | ||
1349 | topLayout->addMultiCellWidget(schedulerGroup->groupBox(),0,0,0,1); | 1345 | topLayout->addMultiCellWidget(schedulerGroup->groupBox(),0,0,0,1); |
1350 | #endif | 1346 | #endif |
1351 | 1347 | ||
1352 | KPrefsDialogWidRadios *sendGroup = | 1348 | KPrefsDialogWidRadios *sendGroup = |
1353 | addWidRadios(i18n("Scheduler Mails Should Be"),&(KOPrefs::instance()->mIMIPSend), | 1349 | addWidRadios(i18n("Scheduler Mails Should Be"),&(KOPrefs::instance()->mIMIPSend), |
1354 | topFrame); | 1350 | topFrame); |
1355 | sendGroup->addRadio(i18n("Send to outbox")); | 1351 | sendGroup->addRadio(i18n("Send to outbox")); |
1356 | sendGroup->addRadio(i18n("Send directly")); | 1352 | sendGroup->addRadio(i18n("Send directly")); |
1357 | 1353 | ||
1358 | topLayout->addMultiCellWidget(sendGroup->groupBox(),1,1,0,1); | 1354 | topLayout->addMultiCellWidget(sendGroup->groupBox(),1,1,0,1); |
1359 | 1355 | ||
1360 | topLayout->addMultiCellWidget(new QLabel(i18n("Additional email addresses:"),topFrame),2,2,0,1); | 1356 | topLayout->addMultiCellWidget(new QLabel(i18n("Additional email addresses:"),topFrame),2,2,0,1); |
1361 | mAMails = new QListView(topFrame); | 1357 | mAMails = new QListView(topFrame); |
1362 | mAMails->addColumn(i18n("Email"),300); | 1358 | mAMails->addColumn(i18n("Email"),300); |
1363 | topLayout->addMultiCellWidget(mAMails,3,3,0,1); | 1359 | topLayout->addMultiCellWidget(mAMails,3,3,0,1); |
1364 | 1360 | ||
1365 | topLayout->addWidget(new QLabel(i18n("Additional email address:"),topFrame),4,0); | 1361 | topLayout->addWidget(new QLabel(i18n("Additional email address:"),topFrame),4,0); |
1366 | aEmailsEdit = new QLineEdit(topFrame); | 1362 | aEmailsEdit = new QLineEdit(topFrame); |
1367 | aEmailsEdit->setEnabled(false); | 1363 | aEmailsEdit->setEnabled(false); |
1368 | topLayout->addWidget(aEmailsEdit,4,1); | 1364 | topLayout->addWidget(aEmailsEdit,4,1); |
1369 | 1365 | ||
1370 | QPushButton *add = new QPushButton(i18n("New"),topFrame,"new"); | 1366 | QPushButton *add = new QPushButton(i18n("New"),topFrame,"new"); |
1371 | topLayout->addWidget(add,5,0); | 1367 | topLayout->addWidget(add,5,0); |
1372 | QPushButton *del = new QPushButton(i18n("Remove"),topFrame,"remove"); | 1368 | QPushButton *del = new QPushButton(i18n("Remove"),topFrame,"remove"); |
1373 | topLayout->addWidget(del,5,1); | 1369 | topLayout->addWidget(del,5,1); |
1374 | 1370 | ||
1375 | //topLayout->setRowStretch(2,1); | 1371 | //topLayout->setRowStretch(2,1); |
1376 | connect(add, SIGNAL( clicked() ), this, SLOT(addItem()) ); | 1372 | connect(add, SIGNAL( clicked() ), this, SLOT(addItem()) ); |
1377 | connect(del, SIGNAL( clicked() ), this, SLOT(removeItem()) ); | 1373 | connect(del, SIGNAL( clicked() ), this, SLOT(removeItem()) ); |
1378 | connect(aEmailsEdit,SIGNAL( textChanged(const QString&) ), this,SLOT(updateItem())); | 1374 | connect(aEmailsEdit,SIGNAL( textChanged(const QString&) ), this,SLOT(updateItem())); |
1379 | connect(mAMails,SIGNAL(selectionChanged(QListViewItem *)),SLOT(updateInput())); | 1375 | connect(mAMails,SIGNAL(selectionChanged(QListViewItem *)),SLOT(updateInput())); |
1380 | #endif | 1376 | #endif |
1381 | } | 1377 | } |
1382 | 1378 | ||
1383 | void KOPrefsDialog::setupGroupAutomationTab() | 1379 | void KOPrefsDialog::setupGroupAutomationTab() |
1384 | { | 1380 | { |
1385 | return; | 1381 | return; |
1386 | QFrame *topFrame = addPage(i18n("Group Automation"),0, | 1382 | QFrame *topFrame = addPage(i18n("Group Automation"),0, |
1387 | DesktopIcon("personal",KIcon::SizeMedium)); | 1383 | DesktopIcon("personal",KIcon::SizeMedium)); |
1388 | 1384 | ||
1389 | QGridLayout *topLayout = new QGridLayout(topFrame,5,1); | 1385 | QGridLayout *topLayout = new QGridLayout(topFrame,5,1); |
1390 | topLayout->setSpacing(mSpacingHint); | 1386 | topLayout->setSpacing(mSpacingHint); |
1391 | topLayout->setMargin(mMarginHint); | 1387 | topLayout->setMargin(mMarginHint); |
1392 | 1388 | ||
1393 | KPrefsDialogWidRadios *autoRefreshGroup = | 1389 | KPrefsDialogWidRadios *autoRefreshGroup = |
1394 | addWidRadios(i18n("Auto Send Refresh"), | 1390 | addWidRadios(i18n("Auto Send Refresh"), |
1395 | &(KOPrefs::instance()->mIMIPAutoRefresh),topFrame); | 1391 | &(KOPrefs::instance()->mIMIPAutoRefresh),topFrame); |
1396 | autoRefreshGroup->addRadio(i18n("Never")); | 1392 | autoRefreshGroup->addRadio(i18n("Never")); |
1397 | autoRefreshGroup->addRadio(i18n("If attendee is in addressbook")); | 1393 | autoRefreshGroup->addRadio(i18n("If attendee is in addressbook")); |
1398 | //autoRefreshGroup->addRadio(i18n("selected emails")); | 1394 | //autoRefreshGroup->addRadio(i18n("selected emails")); |
1399 | topLayout->addMultiCellWidget(autoRefreshGroup->groupBox(),0,0,0,0); | 1395 | topLayout->addMultiCellWidget(autoRefreshGroup->groupBox(),0,0,0,0); |
1400 | 1396 | ||
1401 | KPrefsDialogWidRadios *autoInsertGroup = | 1397 | KPrefsDialogWidRadios *autoInsertGroup = |
1402 | addWidRadios(i18n("Auto Insert IMIP Replies"), | 1398 | addWidRadios(i18n("Auto Insert IMIP Replies"), |
1403 | &(KOPrefs::instance()->mIMIPAutoInsertReply),topFrame); | 1399 | &(KOPrefs::instance()->mIMIPAutoInsertReply),topFrame); |
1404 | autoInsertGroup->addRadio(i18n("Never")); | 1400 | autoInsertGroup->addRadio(i18n("Never")); |
1405 | autoInsertGroup->addRadio(i18n("If attendee is in addressbook")); | 1401 | autoInsertGroup->addRadio(i18n("If attendee is in addressbook")); |
1406 | //autoInsertGroup->addRadio(i18n("selected emails")); | 1402 | //autoInsertGroup->addRadio(i18n("selected emails")); |
1407 | topLayout->addMultiCellWidget(autoInsertGroup->groupBox(),1,1,0,0); | 1403 | topLayout->addMultiCellWidget(autoInsertGroup->groupBox(),1,1,0,0); |
1408 | 1404 | ||
1409 | KPrefsDialogWidRadios *autoRequestGroup = | 1405 | KPrefsDialogWidRadios *autoRequestGroup = |
1410 | addWidRadios(i18n("Auto Insert IMIP Requests"), | 1406 | addWidRadios(i18n("Auto Insert IMIP Requests"), |
1411 | &(KOPrefs::instance()->mIMIPAutoInsertRequest),topFrame); | 1407 | &(KOPrefs::instance()->mIMIPAutoInsertRequest),topFrame); |
1412 | autoRequestGroup->addRadio(i18n("Never")); | 1408 | autoRequestGroup->addRadio(i18n("Never")); |
1413 | autoRequestGroup->addRadio(i18n("If organizer is in addressbook")); | 1409 | autoRequestGroup->addRadio(i18n("If organizer is in addressbook")); |
1414 | //autoInsertGroup->addRadio(i18n("selected emails")); | 1410 | //autoInsertGroup->addRadio(i18n("selected emails")); |
1415 | topLayout->addMultiCellWidget(autoRequestGroup->groupBox(),2,2,0,0); | 1411 | topLayout->addMultiCellWidget(autoRequestGroup->groupBox(),2,2,0,0); |
1416 | 1412 | ||
1417 | KPrefsDialogWidRadios *autoFreeBusyGroup = | 1413 | KPrefsDialogWidRadios *autoFreeBusyGroup = |
1418 | addWidRadios(i18n("Auto Send FreeBusy Information"), | 1414 | addWidRadios(i18n("Auto Send FreeBusy Information"), |
1419 | &(KOPrefs::instance()->mIMIPAutoFreeBusy),topFrame); | 1415 | &(KOPrefs::instance()->mIMIPAutoFreeBusy),topFrame); |
1420 | autoFreeBusyGroup->addRadio(i18n("Never")); | 1416 | autoFreeBusyGroup->addRadio(i18n("Never")); |
1421 | autoFreeBusyGroup->addRadio(i18n("If requested from an email in addressbook")); | 1417 | autoFreeBusyGroup->addRadio(i18n("If requested from an email in addressbook")); |
1422 | //autoFreeBusyGroup->addRadio(i18n("selected emails")); | 1418 | //autoFreeBusyGroup->addRadio(i18n("selected emails")); |
1423 | topLayout->addMultiCellWidget(autoFreeBusyGroup->groupBox(),3,3,0,0); | 1419 | topLayout->addMultiCellWidget(autoFreeBusyGroup->groupBox(),3,3,0,0); |
1424 | 1420 | ||
1425 | KPrefsDialogWidRadios *autoFreeBusyReplyGroup = | 1421 | KPrefsDialogWidRadios *autoFreeBusyReplyGroup = |
1426 | addWidRadios(i18n("Auto Save FreeBusy Replies"), | 1422 | addWidRadios(i18n("Auto Save FreeBusy Replies"), |
1427 | &(KOPrefs::instance()->mIMIPAutoFreeBusyReply),topFrame); | 1423 | &(KOPrefs::instance()->mIMIPAutoFreeBusyReply),topFrame); |
1428 | autoFreeBusyReplyGroup->addRadio(i18n("Never")); | 1424 | autoFreeBusyReplyGroup->addRadio(i18n("Never")); |
1429 | autoFreeBusyReplyGroup->addRadio(i18n("If attendee is in addressbook")); | 1425 | autoFreeBusyReplyGroup->addRadio(i18n("If attendee is in addressbook")); |
1430 | //autoFreeBusyGroup->addRadio(i18n("selected emails")); | 1426 | //autoFreeBusyGroup->addRadio(i18n("selected emails")); |
1431 | topLayout->addMultiCellWidget(autoFreeBusyReplyGroup->groupBox(),4,4,0,0); | 1427 | topLayout->addMultiCellWidget(autoFreeBusyReplyGroup->groupBox(),4,4,0,0); |
1432 | } | 1428 | } |
1433 | 1429 | ||
1434 | void KOPrefsDialog::showPrinterTab() | 1430 | void KOPrefsDialog::showPrinterTab() |
1435 | { | 1431 | { |
1436 | showPage(pageIndex(mPrinterTab)); | 1432 | showPage(pageIndex(mPrinterTab)); |
1437 | } | 1433 | } |
1438 | 1434 | ||
1439 | 1435 | ||
1440 | void KOPrefsDialog::setCombo(QComboBox *combo, const QString & text, | 1436 | void KOPrefsDialog::setCombo(QComboBox *combo, const QString & text, |
1441 | const QStringList *tags) | 1437 | const QStringList *tags) |
1442 | { | 1438 | { |
1443 | if (tags) { | 1439 | if (tags) { |
1444 | int i = tags->findIndex(text); | 1440 | int i = tags->findIndex(text); |
1445 | if (i > 0) combo->setCurrentItem(i); | 1441 | if (i > 0) combo->setCurrentItem(i); |
1446 | } else { | 1442 | } else { |
1447 | for(int i=0;i<combo->count();++i) { | 1443 | for(int i=0;i<combo->count();++i) { |
1448 | if (combo->text(i) == text) { | 1444 | if (combo->text(i) == text) { |
1449 | combo->setCurrentItem(i); | 1445 | combo->setCurrentItem(i); |
1450 | break; | 1446 | break; |
1451 | } | 1447 | } |
1452 | } | 1448 | } |
1453 | } | 1449 | } |
1454 | } | 1450 | } |
1455 | 1451 | ||
1456 | void KOPrefsDialog::usrReadConfig() | 1452 | void KOPrefsDialog::usrReadConfig() |
1457 | { | 1453 | { |
1458 | kdelibcfg->readConfig(); | 1454 | kdelibcfg->readConfig(); |
1459 | mNameEdit->setText(KOPrefs::instance()->fullName()); | 1455 | mNameEdit->setText(KOPrefs::instance()->fullName()); |
1460 | mEmailEdit->setText(KOPrefs::instance()->email()); | 1456 | mEmailEdit->setText(KOPrefs::instance()->email()); |
1461 | 1457 | ||
1462 | mAutoSaveIntervalSpin->setValue(KOPrefs::instance()->mAutoSaveInterval); | 1458 | mAutoSaveIntervalSpin->setValue(KOPrefs::instance()->mAutoSaveInterval); |
1463 | // QDate current ( 2001, 1,1); | 1459 | // QDate current ( 2001, 1,1); |
1464 | //mStartDateSavingEdit->setDate(current.addDays(KOPrefs::instance()->mDaylightsavingStart-1)); | 1460 | //mStartDateSavingEdit->setDate(current.addDays(KOPrefs::instance()->mDaylightsavingStart-1)); |
1465 | //mEndDateSavingEdit->setDate(current.addDays(KOPrefs::instance()->mDaylightsavingEnd-1)); | 1461 | //mEndDateSavingEdit->setDate(current.addDays(KOPrefs::instance()->mDaylightsavingEnd-1)); |
1466 | //setCombo(mTimeZoneCombo,i18n(KOPrefs::instance()->mTimeZoneId)); | 1462 | //setCombo(mTimeZoneCombo,i18n(KOPrefs::instance()->mTimeZoneId)); |
1467 | //mTimezoneOffsetSpin->setValue( KOPrefs::instance()->mTimeZoneOffset); | 1463 | //mTimezoneOffsetSpin->setValue( KOPrefs::instance()->mTimeZoneOffset); |
1468 | mStartTimeSpin->setValue(KOPrefs::instance()->mStartTime); | 1464 | mStartTimeSpin->setValue(KOPrefs::instance()->mStartTime); |
1469 | mDefaultDurationSpin->setValue(KOPrefs::instance()->mDefaultDuration); | 1465 | mDefaultDurationSpin->setValue(KOPrefs::instance()->mDefaultDuration); |
1470 | mAlarmTimeCombo->setCurrentItem(KOPrefs::instance()->mAlarmTime); | 1466 | mAlarmTimeCombo->setCurrentItem(KOPrefs::instance()->mAlarmTime); |
1471 | // if (KOPrefs::instance()->mAllDaySize > 47 ) | 1467 | // if (KOPrefs::instance()->mAllDaySize > 47 ) |
1472 | // KOPrefs::instance()->mAllDaySize = KOPrefs::instance()->mAllDaySize/2; | 1468 | // KOPrefs::instance()->mAllDaySize = KOPrefs::instance()->mAllDaySize/2; |
1473 | //mHourSizeSlider->setValue(KOPrefs::instance()->mAllDaySize); | 1469 | //mHourSizeSlider->setValue(KOPrefs::instance()->mAllDaySize); |
1474 | 1470 | ||
1475 | mNextXDaysSpin->setValue(KOPrefs::instance()->mNextXDays); | 1471 | mNextXDaysSpin->setValue(KOPrefs::instance()->mNextXDays); |
1476 | mWhatsNextSpin->setValue(KOPrefs::instance()->mWhatsNextDays); | 1472 | mWhatsNextSpin->setValue(KOPrefs::instance()->mWhatsNextDays); |
1477 | mPrioSpin->setValue(KOPrefs::instance()->mWhatsNextPrios); | 1473 | mPrioSpin->setValue(KOPrefs::instance()->mWhatsNextPrios); |
1478 | // mAMails->clear(); | 1474 | // mAMails->clear(); |
1479 | // for ( QStringList::Iterator it = KOPrefs::instance()->mAdditionalMails.begin(); | 1475 | // for ( QStringList::Iterator it = KOPrefs::instance()->mAdditionalMails.begin(); |
1480 | // it != KOPrefs::instance()->mAdditionalMails.end(); ++it ) { | 1476 | // it != KOPrefs::instance()->mAdditionalMails.end(); ++it ) { |
1481 | // QListViewItem *item = new QListViewItem(mAMails); | 1477 | // QListViewItem *item = new QListViewItem(mAMails); |
1482 | // item->setText(0,*it); | 1478 | // item->setText(0,*it); |
1483 | // mAMails->insertItem(item); | 1479 | // mAMails->insertItem(item); |
1484 | // } | 1480 | // } |
1485 | 1481 | ||
1486 | // mRemoteIPEdit->setText(KOPrefs::instance()->mRemoteIP); | 1482 | // mRemoteIPEdit->setText(KOPrefs::instance()->mRemoteIP); |
1487 | //mRemoteUser->setText(KOPrefs::instance()->mRemoteUser); | 1483 | //mRemoteUser->setText(KOPrefs::instance()->mRemoteUser); |
1488 | //mRemotePassWd->setText(KOPrefs::instance()->mRemotePassWd); | 1484 | //mRemotePassWd->setText(KOPrefs::instance()->mRemotePassWd); |
1489 | //mRemoteFile->setText(KOPrefs::instance()->mRemoteFile); | 1485 | //mRemoteFile->setText(KOPrefs::instance()->mRemoteFile); |
1490 | 1486 | ||
1491 | //that soundmLocalTempFile->setText(KOPrefs::instance()->mLocalTempFile); | 1487 | //that soundmLocalTempFile->setText(KOPrefs::instance()->mLocalTempFile); |
1492 | mDefaultAlarmFile->setText(KOPrefs::instance()->mDefaultAlarmFile); | 1488 | mDefaultAlarmFile->setText(KOPrefs::instance()->mDefaultAlarmFile); |
1493 | //QString dummy = KOPrefs::instance()->mUserDateFormatLong; | 1489 | //QString dummy = KOPrefs::instance()->mUserDateFormatLong; |
1494 | //mUserDateFormatLong->setText(dummy.replace( QRegExp("K"), QString(",") )); | 1490 | //mUserDateFormatLong->setText(dummy.replace( QRegExp("K"), QString(",") )); |
1495 | //dummy = KOPrefs::instance()->mUserDateFormatShort; | 1491 | //dummy = KOPrefs::instance()->mUserDateFormatShort; |
1496 | //mUserDateFormatShort->setText(dummy.replace( QRegExp("K"), QString(",") )); | 1492 | //mUserDateFormatShort->setText(dummy.replace( QRegExp("K"), QString(",") )); |
1497 | updateCategories(); | 1493 | updateCategories(); |
1498 | mAlarmPlayBeeps->setValue(KOPrefs::instance()->mAlarmPlayBeeps ); | 1494 | mAlarmPlayBeeps->setValue(KOPrefs::instance()->mAlarmPlayBeeps ); |
1499 | mAlarmSuspendTime->setValue(KOPrefs::instance()->mAlarmSuspendTime ); | 1495 | mAlarmSuspendTime->setValue(KOPrefs::instance()->mAlarmSuspendTime ); |
1500 | mAlarmSuspendCount->setValue(KOPrefs::instance()->mAlarmSuspendCount ); | 1496 | mAlarmSuspendCount->setValue(KOPrefs::instance()->mAlarmSuspendCount ); |
1501 | mAlarmBeepInterval->setValue(KOPrefs::instance()->mAlarmBeepInterval ); | 1497 | mAlarmBeepInterval->setValue(KOPrefs::instance()->mAlarmBeepInterval ); |
1502 | } | 1498 | } |
1503 | 1499 | ||
1504 | 1500 | ||
1505 | void KOPrefsDialog::usrWriteConfig() | 1501 | void KOPrefsDialog::usrWriteConfig() |
1506 | { | 1502 | { |
1507 | 1503 | ||
1508 | kdelibcfg->writeConfig(); | 1504 | kdelibcfg->writeConfig(); |
1509 | // KOPrefs::instance()->mRemoteIP = mRemoteIPEdit->text(); | 1505 | // KOPrefs::instance()->mRemoteIP = mRemoteIPEdit->text(); |
1510 | //KOPrefs::instance()->mRemoteUser = mRemoteUser->text(); | 1506 | //KOPrefs::instance()->mRemoteUser = mRemoteUser->text(); |
1511 | //KOPrefs::instance()->mRemotePassWd = mRemotePassWd->text(); | 1507 | //KOPrefs::instance()->mRemotePassWd = mRemotePassWd->text(); |
1512 | //KOPrefs::instance()->mRemoteFile= mRemoteFile->text(); | 1508 | //KOPrefs::instance()->mRemoteFile= mRemoteFile->text(); |
1513 | //KOPrefs::instance()->mLocalTempFile =mLocalTempFile->text(); | 1509 | //KOPrefs::instance()->mLocalTempFile =mLocalTempFile->text(); |
1514 | KOPrefs::instance()->mDefaultAlarmFile =mDefaultAlarmFile->text(); | 1510 | KOPrefs::instance()->mDefaultAlarmFile =mDefaultAlarmFile->text(); |
1515 | 1511 | ||
1516 | //KOPrefs::instance()->mUserDateFormatShort = mUserDateFormatShort->text().replace( QRegExp(","), QString("K") ); | 1512 | //KOPrefs::instance()->mUserDateFormatShort = mUserDateFormatShort->text().replace( QRegExp(","), QString("K") ); |
1517 | //KOPrefs::instance()->mUserDateFormatLong = mUserDateFormatLong->text().replace( QRegExp(","), QString("K") ); | 1513 | //KOPrefs::instance()->mUserDateFormatLong = mUserDateFormatLong->text().replace( QRegExp(","), QString("K") ); |
1518 | KOPrefs::instance()->setFullName(mNameEdit->text()); | 1514 | KOPrefs::instance()->setFullName(mNameEdit->text()); |
1519 | KOPrefs::instance()->setEmail(mEmailEdit->text()); | 1515 | KOPrefs::instance()->setEmail(mEmailEdit->text()); |
1520 | 1516 | ||
1521 | KOPrefs::instance()->mAutoSaveInterval = mAutoSaveIntervalSpin->value(); | 1517 | KOPrefs::instance()->mAutoSaveInterval = mAutoSaveIntervalSpin->value(); |
1522 | 1518 | ||
1523 | // KOPrefs::instance()->mTimeZoneId = mTimeZoneCombo->currentText(); | 1519 | // KOPrefs::instance()->mTimeZoneId = mTimeZoneCombo->currentText(); |
1524 | //QDate date; | 1520 | //QDate date; |
1525 | //date = mStartDateSavingEdit->date(); | 1521 | //date = mStartDateSavingEdit->date(); |
1526 | //int sub = 0; | 1522 | //int sub = 0; |
1527 | //if ( QDate::leapYear( date.year() ) && date.dayOfYear() > 59 ) | 1523 | //if ( QDate::leapYear( date.year() ) && date.dayOfYear() > 59 ) |
1528 | // sub = 1; | 1524 | // sub = 1; |
1529 | // KOPrefs::instance()->mDaylightsavingStart = date.dayOfYear()-sub; | 1525 | // KOPrefs::instance()->mDaylightsavingStart = date.dayOfYear()-sub; |
1530 | // date = mEndDateSavingEdit->date(); | 1526 | // date = mEndDateSavingEdit->date(); |
1531 | // if ( QDate::leapYear( date.year() ) && date.dayOfYear() > 59 ) | 1527 | // if ( QDate::leapYear( date.year() ) && date.dayOfYear() > 59 ) |
1532 | // sub = 1; | 1528 | // sub = 1; |
1533 | // else | 1529 | // else |
1534 | // sub = 0; | 1530 | // sub = 0; |
1535 | // KOPrefs::instance()->mDaylightsavingEnd = date.dayOfYear()-sub; | 1531 | // KOPrefs::instance()->mDaylightsavingEnd = date.dayOfYear()-sub; |
1536 | // // KOPrefs::instance()->mTimeZoneOffset = mTimezoneOffsetSpin->value(); | 1532 | // // KOPrefs::instance()->mTimeZoneOffset = mTimezoneOffsetSpin->value(); |
1537 | 1533 | ||
1538 | KOPrefs::instance()->mStartTime = mStartTimeSpin->value(); | 1534 | KOPrefs::instance()->mStartTime = mStartTimeSpin->value(); |
1539 | KOPrefs::instance()->mDefaultDuration = mDefaultDurationSpin->value(); | 1535 | KOPrefs::instance()->mDefaultDuration = mDefaultDurationSpin->value(); |
1540 | KOPrefs::instance()->mAlarmTime = mAlarmTimeCombo->currentItem(); | 1536 | KOPrefs::instance()->mAlarmTime = mAlarmTimeCombo->currentItem(); |
1541 | 1537 | ||
1542 | //KOPrefs::instance()->mAllDaySize = mHourSizeSlider->value(); | 1538 | //KOPrefs::instance()->mAllDaySize = mHourSizeSlider->value(); |
1543 | 1539 | ||
1544 | QDictIterator<QColor> it(mCategoryDict); | 1540 | QDictIterator<QColor> it(mCategoryDict); |
1545 | while (it.current()) { | 1541 | while (it.current()) { |
1546 | KOPrefs::instance()->setCategoryColor(it.currentKey(),*it.current()); | 1542 | KOPrefs::instance()->setCategoryColor(it.currentKey(),*it.current()); |
1547 | ++it; | 1543 | ++it; |
1548 | } | 1544 | } |
1549 | 1545 | ||
1550 | KOPrefs::instance()->mNextXDays = mNextXDaysSpin->value(); | 1546 | KOPrefs::instance()->mNextXDays = mNextXDaysSpin->value(); |
1551 | KOPrefs::instance()->mWhatsNextDays = mWhatsNextSpin->value(); | 1547 | KOPrefs::instance()->mWhatsNextDays = mWhatsNextSpin->value(); |
1552 | KOPrefs::instance()->mWhatsNextPrios = mPrioSpin->value(); | 1548 | KOPrefs::instance()->mWhatsNextPrios = mPrioSpin->value(); |
1553 | 1549 | ||
1554 | KOPrefs::instance()->mAdditionalMails.clear(); | 1550 | KOPrefs::instance()->mAdditionalMails.clear(); |
1555 | // QListViewItem *item; | 1551 | // QListViewItem *item; |
1556 | // item = mAMails->firstChild(); | 1552 | // item = mAMails->firstChild(); |
1557 | // while (item) | 1553 | // while (item) |
1558 | // { | 1554 | // { |
1559 | // KOPrefs::instance()->mAdditionalMails.append( item->text(0) ); | 1555 | // KOPrefs::instance()->mAdditionalMails.append( item->text(0) ); |
1560 | // item = item->nextSibling(); | 1556 | // item = item->nextSibling(); |
1561 | // } | 1557 | // } |
1562 | KOPrefs::instance()->mAlarmPlayBeeps = mAlarmPlayBeeps->value(); | 1558 | KOPrefs::instance()->mAlarmPlayBeeps = mAlarmPlayBeeps->value(); |
1563 | KOPrefs::instance()->mAlarmSuspendTime = mAlarmSuspendTime->value() ; | 1559 | KOPrefs::instance()->mAlarmSuspendTime = mAlarmSuspendTime->value() ; |
1564 | KOPrefs::instance()->mAlarmSuspendCount= mAlarmSuspendCount->value() ; | 1560 | KOPrefs::instance()->mAlarmSuspendCount= mAlarmSuspendCount->value() ; |
1565 | KOPrefs::instance()->mAlarmBeepInterval= mAlarmBeepInterval->value() ; | 1561 | KOPrefs::instance()->mAlarmBeepInterval= mAlarmBeepInterval->value() ; |
1566 | 1562 | ||
1567 | } | 1563 | } |
1568 | 1564 | ||
1569 | void KOPrefsDialog::updateCategories() | 1565 | void KOPrefsDialog::updateCategories() |
1570 | { | 1566 | { |
1571 | mCategoryCombo->clear(); | 1567 | mCategoryCombo->clear(); |
1572 | mCategoryDict.clear(); | 1568 | mCategoryDict.clear(); |
1573 | mCategoryCombo->insertStringList(KOPrefs::instance()->mCustomCategories); | 1569 | mCategoryCombo->insertStringList(KOPrefs::instance()->mCustomCategories); |
1574 | updateCategoryColor(); | 1570 | updateCategoryColor(); |
1575 | } | 1571 | } |
1576 | 1572 | ||
1577 | void KOPrefsDialog::warningGroupScheduling() | 1573 | void KOPrefsDialog::warningGroupScheduling() |
1578 | { | 1574 | { |
1579 | warningExperimental(mEnableGroupScheduling->checkBox()->isChecked()); | 1575 | warningExperimental(mEnableGroupScheduling->checkBox()->isChecked()); |
1580 | } | 1576 | } |
1581 | 1577 | ||
1582 | void KOPrefsDialog::warningProjectView() | 1578 | void KOPrefsDialog::warningProjectView() |
1583 | { | 1579 | { |
1584 | warningExperimental(mEnableProjectView->checkBox()->isChecked()); | 1580 | warningExperimental(mEnableProjectView->checkBox()->isChecked()); |
1585 | } | 1581 | } |
1586 | 1582 | ||
1587 | void KOPrefsDialog::warningExperimental(bool on) | 1583 | void KOPrefsDialog::warningExperimental(bool on) |
1588 | { | 1584 | { |
1589 | if (on) { | 1585 | if (on) { |
1590 | KMessageBox::information(this,i18n("This is an experimental feature. " | 1586 | KMessageBox::information(this,i18n("This is an experimental feature. " |
1591 | "It may not work, it may do nothing useful and it may cause data loss. " | 1587 | "It may not work, it may do nothing useful and it may cause data loss. " |
1592 | "Use with care.\n" | 1588 | "Use with care.\n" |
1593 | "You have to restart KOrganizer for this setting to take effect.")); | 1589 | "You have to restart KOrganizer for this setting to take effect.")); |
1594 | } else { | 1590 | } else { |
1595 | KMessageBox::information(this, | 1591 | KMessageBox::information(this, |
1596 | i18n("You have to restart KOrganizer for this setting to take effect.")); | 1592 | i18n("You have to restart KOrganizer for this setting to take effect.")); |
1597 | } | 1593 | } |
1598 | } | 1594 | } |
1599 | 1595 | ||
1600 | void KOPrefsDialog::toggleEmailSettings(bool on) | 1596 | void KOPrefsDialog::toggleEmailSettings(bool on) |
1601 | { | 1597 | { |
1602 | if (on) { | 1598 | if (on) { |
1603 | mEmailEdit->setEnabled(false); | 1599 | mEmailEdit->setEnabled(false); |
1604 | mNameEdit->setEnabled(false); | 1600 | mNameEdit->setEnabled(false); |
1605 | mEmailLabel->setEnabled(false); | 1601 | mEmailLabel->setEnabled(false); |
1606 | mNameLabel->setEnabled(false); | 1602 | mNameLabel->setEnabled(false); |
1607 | 1603 | ||
1608 | KEMailSettings settings; | 1604 | KEMailSettings settings; |
1609 | mNameEdit->setText(settings.getSetting(KEMailSettings::RealName)); | 1605 | mNameEdit->setText(settings.getSetting(KEMailSettings::RealName)); |
1610 | mEmailEdit->setText(settings.getSetting(KEMailSettings::EmailAddress)); | 1606 | mEmailEdit->setText(settings.getSetting(KEMailSettings::EmailAddress)); |
1611 | } else { | 1607 | } else { |
1612 | mEmailEdit->setEnabled(true); | 1608 | mEmailEdit->setEnabled(true); |
1613 | mNameEdit->setEnabled(true); | 1609 | mNameEdit->setEnabled(true); |
1614 | mEmailLabel->setEnabled(true); | 1610 | mEmailLabel->setEnabled(true); |
1615 | mNameLabel->setEnabled(true); | 1611 | mNameLabel->setEnabled(true); |
1616 | } | 1612 | } |
1617 | } | 1613 | } |
1618 | 1614 | ||
1619 | void KOPrefsDialog::addItem() | 1615 | void KOPrefsDialog::addItem() |
1620 | { | 1616 | { |
1621 | // aEmailsEdit->setEnabled(true); | 1617 | // aEmailsEdit->setEnabled(true); |
1622 | // QListViewItem *item = new QListViewItem(mAMails); | 1618 | // QListViewItem *item = new QListViewItem(mAMails); |
1623 | // mAMails->insertItem(item); | 1619 | // mAMails->insertItem(item); |
1624 | // mAMails->setSelected(item,true); | 1620 | // mAMails->setSelected(item,true); |
1625 | // aEmailsEdit->setText(i18n("(EmptyEmail)")); | 1621 | // aEmailsEdit->setText(i18n("(EmptyEmail)")); |
1626 | } | 1622 | } |
1627 | 1623 | ||
1628 | void KOPrefsDialog::removeItem() | 1624 | void KOPrefsDialog::removeItem() |
1629 | { | 1625 | { |
1630 | // QListViewItem *item; | 1626 | // QListViewItem *item; |
1631 | // item = mAMails->selectedItem(); | 1627 | // item = mAMails->selectedItem(); |
1632 | // if (!item) return; | 1628 | // if (!item) return; |
1633 | // mAMails->takeItem(item); | 1629 | // mAMails->takeItem(item); |
1634 | // item = mAMails->selectedItem(); | 1630 | // item = mAMails->selectedItem(); |
1635 | // if (!item) { | 1631 | // if (!item) { |
1636 | // aEmailsEdit->setText(""); | 1632 | // aEmailsEdit->setText(""); |
1637 | // aEmailsEdit->setEnabled(false); | 1633 | // aEmailsEdit->setEnabled(false); |
1638 | // } | 1634 | // } |
1639 | // if (mAMails->childCount() == 0) { | 1635 | // if (mAMails->childCount() == 0) { |
1640 | // aEmailsEdit->setEnabled(false); | 1636 | // aEmailsEdit->setEnabled(false); |
1641 | // } | 1637 | // } |
1642 | } | 1638 | } |
1643 | 1639 | ||
1644 | void KOPrefsDialog::updateItem() | 1640 | void KOPrefsDialog::updateItem() |
1645 | { | 1641 | { |
1646 | // QListViewItem *item; | 1642 | // QListViewItem *item; |
1647 | // item = mAMails->selectedItem(); | 1643 | // item = mAMails->selectedItem(); |
1648 | // if (!item) return; | 1644 | // if (!item) return; |
1649 | // item->setText(0,aEmailsEdit->text()); | 1645 | // item->setText(0,aEmailsEdit->text()); |
1650 | } | 1646 | } |
1651 | 1647 | ||
1652 | void KOPrefsDialog::updateInput() | 1648 | void KOPrefsDialog::updateInput() |
1653 | { | 1649 | { |
1654 | // QListViewItem *item; | 1650 | // QListViewItem *item; |
1655 | // item = mAMails->selectedItem(); | 1651 | // item = mAMails->selectedItem(); |
1656 | // if (!item) return; | 1652 | // if (!item) return; |
1657 | // aEmailsEdit->setEnabled(true); | 1653 | // aEmailsEdit->setEnabled(true); |
1658 | // aEmailsEdit->setText(item->text(0)); | 1654 | // aEmailsEdit->setText(item->text(0)); |
1659 | } | 1655 | } |
1660 | void KOPrefsDialog::updateTimezoneOffset( int index ) | 1656 | void KOPrefsDialog::updateTimezoneOffset( int index ) |
1661 | { | 1657 | { |
1662 | /* | 1658 | /* |
1663 | qDebug("updateTimezoneOffset %d ", index); | 1659 | qDebug("updateTimezoneOffset %d ", index); |
1664 | if ( index < 24 ) { | 1660 | if ( index < 24 ) { |
1665 | mTimezoneOffsetSpin->setEnabled ( false ); | 1661 | mTimezoneOffsetSpin->setEnabled ( false ); |
1666 | mTimezoneOffsetSpin->setValue( ( index-11 ) * 60 ); | 1662 | mTimezoneOffsetSpin->setValue( ( index-11 ) * 60 ); |
1667 | 1663 | ||
1668 | 1664 | ||
1669 | } else { | 1665 | } else { |
1670 | if ( index == 24 ) { | 1666 | if ( index == 24 ) { |
1671 | mTimezoneOffsetSpin->setEnabled ( true ); | 1667 | mTimezoneOffsetSpin->setEnabled ( true ); |
1672 | mTimezoneOffsetSpin->setValue( KOPrefs::instance()->mTimeZoneOffset); | 1668 | mTimezoneOffsetSpin->setValue( KOPrefs::instance()->mTimeZoneOffset); |
1673 | 1669 | ||
1674 | } else { | 1670 | } else { |
1675 | mTimezoneOffsetSpin->setEnabled ( false ); | 1671 | mTimezoneOffsetSpin->setEnabled ( false ); |
1676 | mTimezoneOffsetSpin->setValue( 0 ); | 1672 | mTimezoneOffsetSpin->setValue( 0 ); |
1677 | } | 1673 | } |
1678 | } | 1674 | } |
1679 | */ | 1675 | */ |
1680 | } | 1676 | } |
1681 | 1677 | ||
1682 | void KOPrefsDialog::setupTimeZoneTab() | 1678 | void KOPrefsDialog::setupTimeZoneTab() |
1683 | { | 1679 | { |
1684 | #if 0 | 1680 | #if 0 |
1685 | QFrame *topFrame = addPage(i18n("Time Zone"),0,0); | 1681 | QFrame *topFrame = addPage(i18n("Time Zone"),0,0); |
1686 | // DesktopIcon("clock",KIcon::SizeMedium)); | 1682 | // DesktopIcon("clock",KIcon::SizeMedium)); |
1687 | 1683 | ||
1688 | QGridLayout *topLayout = new QGridLayout(topFrame,5,2); | 1684 | QGridLayout *topLayout = new QGridLayout(topFrame,5,2); |
1689 | topLayout->setSpacing(mSpacingHint); | 1685 | topLayout->setSpacing(mSpacingHint); |
1690 | topLayout->setMargin(mMarginHint); | 1686 | topLayout->setMargin(mMarginHint); |
1691 | 1687 | ||
1692 | QHBox *timeZoneBox = new QHBox( topFrame ); | 1688 | QHBox *timeZoneBox = new QHBox( topFrame ); |
1693 | topLayout->addMultiCellWidget( timeZoneBox, 0, 0, 0, 1 ); | 1689 | topLayout->addMultiCellWidget( timeZoneBox, 0, 0, 0, 1 ); |
1694 | 1690 | ||
1695 | new QLabel( i18n("Timezone:"), timeZoneBox ); | 1691 | new QLabel( i18n("Timezone:"), timeZoneBox ); |
1696 | mTimeZoneCombo = new QComboBox( timeZoneBox ); | 1692 | mTimeZoneCombo = new QComboBox( timeZoneBox ); |
1697 | if ( QApplication::desktop()->width() < 300 ) { | 1693 | if ( QApplication::desktop()->width() < 300 ) { |
1698 | mTimeZoneCombo->setMaximumWidth(150); | 1694 | mTimeZoneCombo->setMaximumWidth(150); |
1699 | } | 1695 | } |
1700 | 1696 | ||
1701 | QStringList list; | 1697 | QStringList list; |
1702 | list = KGlobal::locale()->timeZoneList(); | 1698 | list = KGlobal::locale()->timeZoneList(); |
1703 | mTimeZoneCombo->insertStringList(list); | 1699 | mTimeZoneCombo->insertStringList(list); |
1704 | 1700 | ||
1705 | // find the currently set time zone and select it | 1701 | // find the currently set time zone and select it |
1706 | QString sCurrentlySet = KOPrefs::instance()->mTimeZoneId; | 1702 | QString sCurrentlySet = KOPrefs::instance()->mTimeZoneId; |
1707 | int nCurrentlySet = 11; | 1703 | int nCurrentlySet = 11; |
1708 | for (int i = 0; i < mTimeZoneCombo->count(); i++) | 1704 | for (int i = 0; i < mTimeZoneCombo->count(); i++) |
1709 | { | 1705 | { |
1710 | if (mTimeZoneCombo->text(i) == sCurrentlySet) | 1706 | if (mTimeZoneCombo->text(i) == sCurrentlySet) |
1711 | { | 1707 | { |
1712 | nCurrentlySet = i; | 1708 | nCurrentlySet = i; |
1713 | break; | 1709 | break; |
1714 | } | 1710 | } |
1715 | } | 1711 | } |
1716 | mTimeZoneCombo->setCurrentItem(nCurrentlySet); | 1712 | mTimeZoneCombo->setCurrentItem(nCurrentlySet); |
1717 | int iii = 1; | 1713 | int iii = 1; |
1718 | KPrefsDialogWidBool *sb = | 1714 | KPrefsDialogWidBool *sb = |
1719 | addWidBool(i18n("Timezone has daylight saving"), | 1715 | addWidBool(i18n("Timezone has daylight saving"), |
1720 | &(KOPrefs::instance()->mUseDaylightsaving),topFrame); | 1716 | &(KOPrefs::instance()->mUseDaylightsaving),topFrame); |
1721 | topLayout->addMultiCellWidget(sb->checkBox(), iii,iii,0,1); | 1717 | topLayout->addMultiCellWidget(sb->checkBox(), iii,iii,0,1); |
1722 | ++iii; | 1718 | ++iii; |
1723 | QLabel* lab = new QLabel( i18n("Actual start and end is the\nsunday before this date."), topFrame ); | 1719 | QLabel* lab = new QLabel( i18n("Actual start and end is the\nsunday before this date."), topFrame ); |
1724 | topLayout->addMultiCellWidget(lab, iii,iii,0,1); | 1720 | topLayout->addMultiCellWidget(lab, iii,iii,0,1); |
1725 | ++iii; | 1721 | ++iii; |
1726 | lab = new QLabel( i18n("The year in the date is ignored."), topFrame ); | 1722 | lab = new QLabel( i18n("The year in the date is ignored."), topFrame ); |
1727 | topLayout->addMultiCellWidget(lab, iii,iii,0,1); | 1723 | topLayout->addMultiCellWidget(lab, iii,iii,0,1); |
1728 | ++iii; | 1724 | ++iii; |
1729 | lab = new QLabel( i18n("Daylight start:"), topFrame ); | 1725 | lab = new QLabel( i18n("Daylight start:"), topFrame ); |
1730 | topLayout->addWidget(lab, iii,0); | 1726 | topLayout->addWidget(lab, iii,0); |
1731 | mStartDateSavingEdit = new KDateEdit(topFrame); | 1727 | mStartDateSavingEdit = new KDateEdit(topFrame); |
1732 | topLayout->addWidget(mStartDateSavingEdit, iii,1); | 1728 | topLayout->addWidget(mStartDateSavingEdit, iii,1); |
1733 | ++iii; | 1729 | ++iii; |
1734 | 1730 | ||
1735 | lab = new QLabel( i18n("Daylight end:"), topFrame ); | 1731 | lab = new QLabel( i18n("Daylight end:"), topFrame ); |
1736 | topLayout->addWidget(lab, iii,0); | 1732 | topLayout->addWidget(lab, iii,0); |
1737 | mEndDateSavingEdit = new KDateEdit(topFrame); | 1733 | mEndDateSavingEdit = new KDateEdit(topFrame); |
1738 | topLayout->addWidget(mEndDateSavingEdit, iii,1); | 1734 | topLayout->addWidget(mEndDateSavingEdit, iii,1); |
1739 | ++iii; | 1735 | ++iii; |
1740 | QDate current ( 2001, 1,1); | 1736 | QDate current ( 2001, 1,1); |
1741 | mStartDateSavingEdit->setDate(current.addDays(KOPrefs::instance()->mDaylightsavingStart-1)); | 1737 | mStartDateSavingEdit->setDate(current.addDays(KOPrefs::instance()->mDaylightsavingStart-1)); |
1742 | mEndDateSavingEdit->setDate(current.addDays(KOPrefs::instance()->mDaylightsavingEnd-1)); | 1738 | mEndDateSavingEdit->setDate(current.addDays(KOPrefs::instance()->mDaylightsavingEnd-1)); |
1743 | #endif | 1739 | #endif |
1744 | 1740 | ||
1745 | } | 1741 | } |
1746 | 1742 | ||
diff --git a/libkcal/icalformatimpl.cpp b/libkcal/icalformatimpl.cpp index fe7413f..2405682 100644 --- a/libkcal/icalformatimpl.cpp +++ b/libkcal/icalformatimpl.cpp | |||
@@ -1,1490 +1,1493 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of libkcal. | 2 | This file is part of libkcal. |
3 | Copyright (c) 2001 Cornelius Schumacher <schumacher@kde.org> | 3 | Copyright (c) 2001 Cornelius Schumacher <schumacher@kde.org> |
4 | 4 | ||
5 | This library is free software; you can redistribute it and/or | 5 | This library is free software; you can redistribute it and/or |
6 | modify it under the terms of the GNU Library General Public | 6 | modify it under the terms of the GNU Library General Public |
7 | License as published by the Free Software Foundation; either | 7 | License as published by the Free Software Foundation; either |
8 | version 2 of the License, or (at your option) any later version. | 8 | version 2 of the License, or (at your option) any later version. |
9 | 9 | ||
10 | This library is distributed in the hope that it will be useful, | 10 | This library is distributed in the hope that it will be useful, |
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 | Library General Public License for more details. | 13 | Library General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU Library General Public License | 15 | You should have received a copy of the GNU Library General Public License |
16 | along with this library; see the file COPYING.LIB. If not, write to | 16 | along with this library; see the file COPYING.LIB. If not, write to |
17 | the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | 17 | the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
18 | Boston, MA 02111-1307, USA. | 18 | Boston, MA 02111-1307, USA. |
19 | */ | 19 | */ |
20 | 20 | ||
21 | #include <qdatetime.h> | 21 | #include <qdatetime.h> |
22 | #include <qstring.h> | 22 | #include <qstring.h> |
23 | #include <qptrlist.h> | 23 | #include <qptrlist.h> |
24 | #include <qfile.h> | 24 | #include <qfile.h> |
25 | 25 | ||
26 | #include <kdebug.h> | 26 | #include <kdebug.h> |
27 | #include <klocale.h> | 27 | #include <klocale.h> |
28 | #include <kglobal.h> | 28 | #include <kglobal.h> |
29 | 29 | ||
30 | extern "C" { | 30 | extern "C" { |
31 | #include <ical.h> | 31 | #include <ical.h> |
32 | #include <icalss.h> | 32 | #include <icalss.h> |
33 | #include <icalparser.h> | 33 | #include <icalparser.h> |
34 | #include <icalrestriction.h> | 34 | #include <icalrestriction.h> |
35 | } | 35 | } |
36 | 36 | ||
37 | #include "calendar.h" | 37 | #include "calendar.h" |
38 | #include "journal.h" | 38 | #include "journal.h" |
39 | #include "icalformat.h" | 39 | #include "icalformat.h" |
40 | #include "icalformatimpl.h" | 40 | #include "icalformatimpl.h" |
41 | #include "compat.h" | 41 | #include "compat.h" |
42 | 42 | ||
43 | #define _ICAL_VERSION "2.0" | 43 | #define _ICAL_VERSION "2.0" |
44 | 44 | ||
45 | using namespace KCal; | 45 | using namespace KCal; |
46 | 46 | ||
47 | const int gSecondsPerMinute = 60; | 47 | const int gSecondsPerMinute = 60; |
48 | const int gSecondsPerHour = gSecondsPerMinute * 60; | 48 | const int gSecondsPerHour = gSecondsPerMinute * 60; |
49 | const int gSecondsPerDay = gSecondsPerHour * 24; | 49 | const int gSecondsPerDay = gSecondsPerHour * 24; |
50 | const int gSecondsPerWeek = gSecondsPerDay * 7; | 50 | const int gSecondsPerWeek = gSecondsPerDay * 7; |
51 | 51 | ||
52 | ICalFormatImpl::ICalFormatImpl( ICalFormat *parent ) : | 52 | ICalFormatImpl::ICalFormatImpl( ICalFormat *parent ) : |
53 | mParent( parent ), mCalendarVersion( 0 ) | 53 | mParent( parent ), mCalendarVersion( 0 ) |
54 | { | 54 | { |
55 | mCompat = new Compat; | 55 | mCompat = new Compat; |
56 | } | 56 | } |
57 | 57 | ||
58 | ICalFormatImpl::~ICalFormatImpl() | 58 | ICalFormatImpl::~ICalFormatImpl() |
59 | { | 59 | { |
60 | delete mCompat; | 60 | delete mCompat; |
61 | } | 61 | } |
62 | 62 | ||
63 | class ToStringVisitor : public Incidence::Visitor | 63 | class ToStringVisitor : public Incidence::Visitor |
64 | { | 64 | { |
65 | public: | 65 | public: |
66 | ToStringVisitor( ICalFormatImpl *impl ) : mImpl( impl ), mComponent( 0 ) {} | 66 | ToStringVisitor( ICalFormatImpl *impl ) : mImpl( impl ), mComponent( 0 ) {} |
67 | 67 | ||
68 | bool visit( Event *e ) { mComponent = mImpl->writeEvent( e ); return true; } | 68 | bool visit( Event *e ) { mComponent = mImpl->writeEvent( e ); return true; } |
69 | bool visit( Todo *e ) { mComponent = mImpl->writeTodo( e ); return true; } | 69 | bool visit( Todo *e ) { mComponent = mImpl->writeTodo( e ); return true; } |
70 | bool visit( Journal *e ) { mComponent = mImpl->writeJournal( e ); return true; } | 70 | bool visit( Journal *e ) { mComponent = mImpl->writeJournal( e ); return true; } |
71 | 71 | ||
72 | icalcomponent *component() { return mComponent; } | 72 | icalcomponent *component() { return mComponent; } |
73 | 73 | ||
74 | private: | 74 | private: |
75 | ICalFormatImpl *mImpl; | 75 | ICalFormatImpl *mImpl; |
76 | icalcomponent *mComponent; | 76 | icalcomponent *mComponent; |
77 | }; | 77 | }; |
78 | 78 | ||
79 | icalcomponent *ICalFormatImpl::writeIncidence(Incidence *incidence) | 79 | icalcomponent *ICalFormatImpl::writeIncidence(Incidence *incidence) |
80 | { | 80 | { |
81 | ToStringVisitor v( this ); | 81 | ToStringVisitor v( this ); |
82 | incidence->accept(v); | 82 | incidence->accept(v); |
83 | return v.component(); | 83 | return v.component(); |
84 | } | 84 | } |
85 | 85 | ||
86 | icalcomponent *ICalFormatImpl::writeTodo(Todo *todo) | 86 | icalcomponent *ICalFormatImpl::writeTodo(Todo *todo) |
87 | { | 87 | { |
88 | QString tmpStr; | 88 | QString tmpStr; |
89 | QStringList tmpStrList; | 89 | QStringList tmpStrList; |
90 | 90 | ||
91 | icalcomponent *vtodo = icalcomponent_new(ICAL_VTODO_COMPONENT); | 91 | icalcomponent *vtodo = icalcomponent_new(ICAL_VTODO_COMPONENT); |
92 | 92 | ||
93 | writeIncidence(vtodo,todo); | 93 | writeIncidence(vtodo,todo); |
94 | 94 | ||
95 | // due date | 95 | // due date |
96 | if (todo->hasDueDate()) { | 96 | if (todo->hasDueDate()) { |
97 | icaltimetype due; | 97 | icaltimetype due; |
98 | if (todo->doesFloat()) { | 98 | if (todo->doesFloat()) { |
99 | due = writeICalDate(todo->dtDue().date()); | 99 | due = writeICalDate(todo->dtDue().date()); |
100 | } else { | 100 | } else { |
101 | due = writeICalDateTime(todo->dtDue()); | 101 | due = writeICalDateTime(todo->dtDue()); |
102 | } | 102 | } |
103 | icalcomponent_add_property(vtodo,icalproperty_new_due(due)); | 103 | icalcomponent_add_property(vtodo,icalproperty_new_due(due)); |
104 | } | 104 | } |
105 | 105 | ||
106 | // start time | 106 | // start time |
107 | if (todo->hasStartDate()) { | 107 | if (todo->hasStartDate()) { |
108 | icaltimetype start; | 108 | icaltimetype start; |
109 | if (todo->doesFloat()) { | 109 | if (todo->doesFloat()) { |
110 | // kdDebug(5800) << "§§ Incidence " << todo->summary() << " floats." << endl; | 110 | // kdDebug(5800) << "§§ Incidence " << todo->summary() << " floats." << endl; |
111 | start = writeICalDate(todo->dtStart().date()); | 111 | start = writeICalDate(todo->dtStart().date()); |
112 | } else { | 112 | } else { |
113 | // kdDebug(5800) << "§§ incidence " << todo->summary() << " has time." << endl; | 113 | // kdDebug(5800) << "§§ incidence " << todo->summary() << " has time." << endl; |
114 | start = writeICalDateTime(todo->dtStart()); | 114 | start = writeICalDateTime(todo->dtStart()); |
115 | } | 115 | } |
116 | icalcomponent_add_property(vtodo,icalproperty_new_dtstart(start)); | 116 | icalcomponent_add_property(vtodo,icalproperty_new_dtstart(start)); |
117 | } | 117 | } |
118 | 118 | ||
119 | // completion date | 119 | // completion date |
120 | if (todo->isCompleted()) { | 120 | if (todo->isCompleted()) { |
121 | if (!todo->hasCompletedDate()) { | 121 | if (!todo->hasCompletedDate()) { |
122 | // If todo was created by KOrganizer <2.2 it has no correct completion | 122 | // If todo was created by KOrganizer <2.2 it has no correct completion |
123 | // date. Set it to now. | 123 | // date. Set it to now. |
124 | todo->setCompleted(QDateTime::currentDateTime()); | 124 | todo->setCompleted(QDateTime::currentDateTime()); |
125 | } | 125 | } |
126 | icaltimetype completed = writeICalDateTime(todo->completed()); | 126 | icaltimetype completed = writeICalDateTime(todo->completed()); |
127 | icalcomponent_add_property(vtodo,icalproperty_new_completed(completed)); | 127 | icalcomponent_add_property(vtodo,icalproperty_new_completed(completed)); |
128 | } | 128 | } |
129 | 129 | ||
130 | icalcomponent_add_property(vtodo, | 130 | icalcomponent_add_property(vtodo, |
131 | icalproperty_new_percentcomplete(todo->percentComplete())); | 131 | icalproperty_new_percentcomplete(todo->percentComplete())); |
132 | 132 | ||
133 | return vtodo; | 133 | return vtodo; |
134 | } | 134 | } |
135 | 135 | ||
136 | icalcomponent *ICalFormatImpl::writeEvent(Event *event) | 136 | icalcomponent *ICalFormatImpl::writeEvent(Event *event) |
137 | { | 137 | { |
138 | kdDebug(5800) << "Write Event '" << event->summary() << "' (" << event->uid() | 138 | kdDebug(5800) << "Write Event '" << event->summary() << "' (" << event->uid() |
139 | << ")" << endl; | 139 | << ")" << endl; |
140 | 140 | ||
141 | QString tmpStr; | 141 | QString tmpStr; |
142 | QStringList tmpStrList; | 142 | QStringList tmpStrList; |
143 | 143 | ||
144 | icalcomponent *vevent = icalcomponent_new(ICAL_VEVENT_COMPONENT); | 144 | icalcomponent *vevent = icalcomponent_new(ICAL_VEVENT_COMPONENT); |
145 | 145 | ||
146 | writeIncidence(vevent,event); | 146 | writeIncidence(vevent,event); |
147 | 147 | ||
148 | // start time | 148 | // start time |
149 | icaltimetype start; | 149 | icaltimetype start; |
150 | if (event->doesFloat()) { | 150 | if (event->doesFloat()) { |
151 | // kdDebug(5800) << "§§ Incidence " << event->summary() << " floats." << endl; | 151 | // kdDebug(5800) << "§§ Incidence " << event->summary() << " floats." << endl; |
152 | start = writeICalDate(event->dtStart().date()); | 152 | start = writeICalDate(event->dtStart().date()); |
153 | } else { | 153 | } else { |
154 | // kdDebug(5800) << "§§ incidence " << event->summary() << " has time." << endl; | 154 | // kdDebug(5800) << "§§ incidence " << event->summary() << " has time." << endl; |
155 | start = writeICalDateTime(event->dtStart()); | 155 | start = writeICalDateTime(event->dtStart()); |
156 | } | 156 | } |
157 | icalcomponent_add_property(vevent,icalproperty_new_dtstart(start)); | 157 | icalcomponent_add_property(vevent,icalproperty_new_dtstart(start)); |
158 | 158 | ||
159 | if (event->hasEndDate()) { | 159 | if (event->hasEndDate()) { |
160 | // end time | 160 | // end time |
161 | icaltimetype end; | 161 | icaltimetype end; |
162 | if (event->doesFloat()) { | 162 | if (event->doesFloat()) { |
163 | // kdDebug(5800) << "§§ Event " << event->summary() << " floats." << endl; | 163 | // kdDebug(5800) << "§§ Event " << event->summary() << " floats." << endl; |
164 | // +1 day because end date is non-inclusive. | 164 | // +1 day because end date is non-inclusive. |
165 | end = writeICalDate( event->dtEnd().date().addDays( 1 ) ); | 165 | end = writeICalDate( event->dtEnd().date().addDays( 1 ) ); |
166 | } else { | 166 | } else { |
167 | // kdDebug(5800) << "§§ Event " << event->summary() << " has time." << endl; | 167 | // kdDebug(5800) << "§§ Event " << event->summary() << " has time." << endl; |
168 | end = writeICalDateTime(event->dtEnd()); | 168 | end = writeICalDateTime(event->dtEnd()); |
169 | } | 169 | } |
170 | icalcomponent_add_property(vevent,icalproperty_new_dtend(end)); | 170 | icalcomponent_add_property(vevent,icalproperty_new_dtend(end)); |
171 | } | 171 | } |
172 | 172 | ||
173 | // TODO: attachments, resources | 173 | // TODO: attachments, resources |
174 | #if 0 | 174 | #if 0 |
175 | // attachments | 175 | // attachments |
176 | tmpStrList = anEvent->attachments(); | 176 | tmpStrList = anEvent->attachments(); |
177 | for ( QStringList::Iterator it = tmpStrList.begin(); | 177 | for ( QStringList::Iterator it = tmpStrList.begin(); |
178 | it != tmpStrList.end(); | 178 | it != tmpStrList.end(); |
179 | ++it ) | 179 | ++it ) |
180 | addPropValue(vevent, VCAttachProp, (*it).utf8()); | 180 | addPropValue(vevent, VCAttachProp, (*it).utf8()); |
181 | 181 | ||
182 | // resources | 182 | // resources |
183 | tmpStrList = anEvent->resources(); | 183 | tmpStrList = anEvent->resources(); |
184 | tmpStr = tmpStrList.join(";"); | 184 | tmpStr = tmpStrList.join(";"); |
185 | if (!tmpStr.isEmpty()) | 185 | if (!tmpStr.isEmpty()) |
186 | addPropValue(vevent, VCResourcesProp, tmpStr.utf8()); | 186 | addPropValue(vevent, VCResourcesProp, tmpStr.utf8()); |
187 | 187 | ||
188 | #endif | 188 | #endif |
189 | 189 | ||
190 | // Transparency | 190 | // Transparency |
191 | switch( event->transparency() ) { | 191 | switch( event->transparency() ) { |
192 | case Event::Transparent: | 192 | case Event::Transparent: |
193 | icalcomponent_add_property(vevent, icalproperty_new_transp(ICAL_TRANSP_TRANSPARENT)); | 193 | icalcomponent_add_property(vevent, icalproperty_new_transp(ICAL_TRANSP_TRANSPARENT)); |
194 | break; | 194 | break; |
195 | case Event::Opaque: | 195 | case Event::Opaque: |
196 | icalcomponent_add_property(vevent, icalproperty_new_transp(ICAL_TRANSP_OPAQUE)); | 196 | icalcomponent_add_property(vevent, icalproperty_new_transp(ICAL_TRANSP_OPAQUE)); |
197 | break; | 197 | break; |
198 | } | 198 | } |
199 | 199 | ||
200 | return vevent; | 200 | return vevent; |
201 | } | 201 | } |
202 | 202 | ||
203 | icalcomponent *ICalFormatImpl::writeFreeBusy(FreeBusy *freebusy, | 203 | icalcomponent *ICalFormatImpl::writeFreeBusy(FreeBusy *freebusy, |
204 | Scheduler::Method method) | 204 | Scheduler::Method method) |
205 | { | 205 | { |
206 | 206 | ||
207 | 207 | ||
208 | icalcomponent *vfreebusy = icalcomponent_new(ICAL_VFREEBUSY_COMPONENT); | 208 | icalcomponent *vfreebusy = icalcomponent_new(ICAL_VFREEBUSY_COMPONENT); |
209 | 209 | ||
210 | writeIncidenceBase(vfreebusy,freebusy); | 210 | writeIncidenceBase(vfreebusy,freebusy); |
211 | 211 | ||
212 | icalcomponent_add_property(vfreebusy, icalproperty_new_dtstart( | 212 | icalcomponent_add_property(vfreebusy, icalproperty_new_dtstart( |
213 | writeICalDateTime(freebusy->dtStart()))); | 213 | writeICalDateTime(freebusy->dtStart()))); |
214 | 214 | ||
215 | icalcomponent_add_property(vfreebusy, icalproperty_new_dtend( | 215 | icalcomponent_add_property(vfreebusy, icalproperty_new_dtend( |
216 | writeICalDateTime(freebusy->dtEnd()))); | 216 | writeICalDateTime(freebusy->dtEnd()))); |
217 | 217 | ||
218 | if (method == Scheduler::Request) { | 218 | if (method == Scheduler::Request) { |
219 | icalcomponent_add_property(vfreebusy,icalproperty_new_uid( | 219 | icalcomponent_add_property(vfreebusy,icalproperty_new_uid( |
220 | freebusy->uid().utf8())); | 220 | freebusy->uid().utf8())); |
221 | } | 221 | } |
222 | 222 | ||
223 | //Loops through all the periods in the freebusy object | 223 | //Loops through all the periods in the freebusy object |
224 | QValueList<Period> list = freebusy->busyPeriods(); | 224 | QValueList<Period> list = freebusy->busyPeriods(); |
225 | QValueList<Period>::Iterator it; | 225 | QValueList<Period>::Iterator it; |
226 | icalperiodtype period; | 226 | icalperiodtype period; |
227 | for (it = list.begin(); it!= list.end(); ++it) { | 227 | for (it = list.begin(); it!= list.end(); ++it) { |
228 | period.start = writeICalDateTime((*it).start()); | 228 | period.start = writeICalDateTime((*it).start()); |
229 | period.end = writeICalDateTime((*it).end()); | 229 | period.end = writeICalDateTime((*it).end()); |
230 | icalcomponent_add_property(vfreebusy, icalproperty_new_freebusy(period) ); | 230 | icalcomponent_add_property(vfreebusy, icalproperty_new_freebusy(period) ); |
231 | } | 231 | } |
232 | 232 | ||
233 | return vfreebusy; | 233 | return vfreebusy; |
234 | } | 234 | } |
235 | 235 | ||
236 | icalcomponent *ICalFormatImpl::writeJournal(Journal *journal) | 236 | icalcomponent *ICalFormatImpl::writeJournal(Journal *journal) |
237 | { | 237 | { |
238 | icalcomponent *vjournal = icalcomponent_new(ICAL_VJOURNAL_COMPONENT); | 238 | icalcomponent *vjournal = icalcomponent_new(ICAL_VJOURNAL_COMPONENT); |
239 | 239 | ||
240 | writeIncidence(vjournal,journal); | 240 | writeIncidence(vjournal,journal); |
241 | 241 | ||
242 | // start time | 242 | // start time |
243 | if (journal->dtStart().isValid()) { | 243 | if (journal->dtStart().isValid()) { |
244 | icaltimetype start; | 244 | icaltimetype start; |
245 | if (journal->doesFloat()) { | 245 | if (journal->doesFloat()) { |
246 | // kdDebug(5800) << "§§ Incidence " << event->summary() << " floats." << endl; | 246 | // kdDebug(5800) << "§§ Incidence " << event->summary() << " floats." << endl; |
247 | start = writeICalDate(journal->dtStart().date()); | 247 | start = writeICalDate(journal->dtStart().date()); |
248 | } else { | 248 | } else { |
249 | // kdDebug(5800) << "§§ incidence " << event->summary() << " has time." << endl; | 249 | // kdDebug(5800) << "§§ incidence " << event->summary() << " has time." << endl; |
250 | start = writeICalDateTime(journal->dtStart()); | 250 | start = writeICalDateTime(journal->dtStart()); |
251 | } | 251 | } |
252 | icalcomponent_add_property(vjournal,icalproperty_new_dtstart(start)); | 252 | icalcomponent_add_property(vjournal,icalproperty_new_dtstart(start)); |
253 | } | 253 | } |
254 | 254 | ||
255 | return vjournal; | 255 | return vjournal; |
256 | } | 256 | } |
257 | 257 | ||
258 | void ICalFormatImpl::writeIncidence(icalcomponent *parent,Incidence *incidence) | 258 | void ICalFormatImpl::writeIncidence(icalcomponent *parent,Incidence *incidence) |
259 | { | 259 | { |
260 | // pilot sync stuff | 260 | // pilot sync stuff |
261 | // TODO: move this application-specific code to kpilot | 261 | // TODO: move this application-specific code to kpilot |
262 | if (incidence->pilotId()) { | 262 | if (incidence->pilotId()) { |
263 | incidence->setNonKDECustomProperty("X-PILOTID", QString::number(incidence->pilotId())); | 263 | incidence->setNonKDECustomProperty("X-PILOTID", QString::number(incidence->pilotId())); |
264 | incidence->setNonKDECustomProperty("X-PILOTSTAT", QString::number(incidence->syncStatus())); | 264 | incidence->setNonKDECustomProperty("X-PILOTSTAT", QString::number(incidence->syncStatus())); |
265 | } | 265 | } |
266 | if ( !incidence->IDStr().isEmpty()) { | 266 | if ( !incidence->IDStr().isEmpty()) { |
267 | incidence->setNonKDECustomProperty("X-KOPIEXTID",incidence->IDStr() ); | 267 | incidence->setNonKDECustomProperty("X-KOPIEXTID",incidence->IDStr() ); |
268 | } | 268 | } |
269 | 269 | ||
270 | 270 | ||
271 | writeIncidenceBase(parent,incidence); | 271 | writeIncidenceBase(parent,incidence); |
272 | if (incidence->cancelled()) { | 272 | if (incidence->cancelled()) { |
273 | icalcomponent_add_property(parent,icalproperty_new_status(ICAL_STATUS_CANCELLED)); | 273 | icalcomponent_add_property(parent,icalproperty_new_status(ICAL_STATUS_CANCELLED)); |
274 | } | 274 | } |
275 | 275 | ||
276 | // creation date | 276 | // creation date |
277 | icalcomponent_add_property(parent,icalproperty_new_created( | 277 | icalcomponent_add_property(parent,icalproperty_new_created( |
278 | writeICalDateTime(incidence->created()))); | 278 | writeICalDateTime(incidence->created()))); |
279 | 279 | ||
280 | // unique id | 280 | // unique id |
281 | icalcomponent_add_property(parent,icalproperty_new_uid( | 281 | icalcomponent_add_property(parent,icalproperty_new_uid( |
282 | incidence->uid().utf8())); | 282 | incidence->uid().utf8())); |
283 | 283 | ||
284 | // revision | 284 | // revision |
285 | icalcomponent_add_property(parent,icalproperty_new_sequence( | 285 | icalcomponent_add_property(parent,icalproperty_new_sequence( |
286 | incidence->revision())); | 286 | incidence->revision())); |
287 | 287 | ||
288 | // last modification date | 288 | // last modification date |
289 | icalcomponent_add_property(parent,icalproperty_new_lastmodified( | 289 | icalcomponent_add_property(parent,icalproperty_new_lastmodified( |
290 | writeICalDateTime(incidence->lastModified()))); | 290 | writeICalDateTime(incidence->lastModified()))); |
291 | 291 | ||
292 | // description | 292 | // description |
293 | if (!incidence->description().isEmpty()) { | 293 | if (!incidence->description().isEmpty()) { |
294 | icalcomponent_add_property(parent,icalproperty_new_description( | 294 | icalcomponent_add_property(parent,icalproperty_new_description( |
295 | incidence->description().utf8())); | 295 | incidence->description().utf8())); |
296 | } | 296 | } |
297 | 297 | ||
298 | // summary | 298 | // summary |
299 | if (!incidence->summary().isEmpty()) { | 299 | if (!incidence->summary().isEmpty()) { |
300 | icalcomponent_add_property(parent,icalproperty_new_summary( | 300 | icalcomponent_add_property(parent,icalproperty_new_summary( |
301 | incidence->summary().utf8())); | 301 | incidence->summary().utf8())); |
302 | } | 302 | } |
303 | 303 | ||
304 | // location | 304 | // location |
305 | if (!incidence->location().isEmpty()) { | 305 | if (!incidence->location().isEmpty()) { |
306 | icalcomponent_add_property(parent,icalproperty_new_location( | 306 | icalcomponent_add_property(parent,icalproperty_new_location( |
307 | incidence->location().utf8())); | 307 | incidence->location().utf8())); |
308 | } | 308 | } |
309 | 309 | ||
310 | // TODO: | 310 | // TODO: |
311 | // status | 311 | // status |
312 | // addPropValue(parent, VCStatusProp, incidence->getStatusStr().utf8()); | 312 | // addPropValue(parent, VCStatusProp, incidence->getStatusStr().utf8()); |
313 | 313 | ||
314 | // secrecy | 314 | // secrecy |
315 | enum icalproperty_class classInt; | 315 | enum icalproperty_class classInt; |
316 | switch (incidence->secrecy()) { | 316 | switch (incidence->secrecy()) { |
317 | case Incidence::SecrecyPublic: | 317 | case Incidence::SecrecyPublic: |
318 | classInt = ICAL_CLASS_PUBLIC; | 318 | classInt = ICAL_CLASS_PUBLIC; |
319 | break; | 319 | break; |
320 | case Incidence::SecrecyConfidential: | 320 | case Incidence::SecrecyConfidential: |
321 | classInt = ICAL_CLASS_CONFIDENTIAL; | 321 | classInt = ICAL_CLASS_CONFIDENTIAL; |
322 | break; | 322 | break; |
323 | case Incidence::SecrecyPrivate: | 323 | case Incidence::SecrecyPrivate: |
324 | classInt =ICAL_CLASS_PRIVATE ; | 324 | classInt =ICAL_CLASS_PRIVATE ; |
325 | default: | 325 | default: |
326 | classInt =ICAL_CLASS_PRIVATE ; | 326 | classInt =ICAL_CLASS_PRIVATE ; |
327 | break; | 327 | break; |
328 | } | 328 | } |
329 | icalcomponent_add_property(parent,icalproperty_new_class(classInt)); | 329 | icalcomponent_add_property(parent,icalproperty_new_class(classInt)); |
330 | 330 | ||
331 | // priority | 331 | // priority |
332 | icalcomponent_add_property(parent,icalproperty_new_priority( | 332 | icalcomponent_add_property(parent,icalproperty_new_priority( |
333 | incidence->priority())); | 333 | incidence->priority())); |
334 | 334 | ||
335 | // categories | 335 | // categories |
336 | QStringList categories = incidence->categories(); | 336 | QStringList categories = incidence->categories(); |
337 | QStringList::Iterator it; | 337 | QStringList::Iterator it; |
338 | for(it = categories.begin(); it != categories.end(); ++it ) { | 338 | for(it = categories.begin(); it != categories.end(); ++it ) { |
339 | icalcomponent_add_property(parent,icalproperty_new_categories((*it).utf8())); | 339 | icalcomponent_add_property(parent,icalproperty_new_categories((*it).utf8())); |
340 | } | 340 | } |
341 | // TODO: Ensure correct concatenation of categories properties. | 341 | // TODO: Ensure correct concatenation of categories properties. |
342 | 342 | ||
343 | /* | 343 | /* |
344 | // categories | 344 | // categories |
345 | tmpStrList = incidence->getCategories(); | 345 | tmpStrList = incidence->getCategories(); |
346 | tmpStr = ""; | 346 | tmpStr = ""; |
347 | QString catStr; | 347 | QString catStr; |
348 | for ( QStringList::Iterator it = tmpStrList.begin(); | 348 | for ( QStringList::Iterator it = tmpStrList.begin(); |
349 | it != tmpStrList.end(); | 349 | it != tmpStrList.end(); |
350 | ++it ) { | 350 | ++it ) { |
351 | catStr = *it; | 351 | catStr = *it; |
352 | if (catStr[0] == ' ') | 352 | if (catStr[0] == ' ') |
353 | tmpStr += catStr.mid(1); | 353 | tmpStr += catStr.mid(1); |
354 | else | 354 | else |
355 | tmpStr += catStr; | 355 | tmpStr += catStr; |
356 | // this must be a ';' character as the vCalendar specification requires! | 356 | // this must be a ';' character as the vCalendar specification requires! |
357 | // vcc.y has been hacked to translate the ';' to a ',' when the vcal is | 357 | // vcc.y has been hacked to translate the ';' to a ',' when the vcal is |
358 | // read in. | 358 | // read in. |
359 | tmpStr += ";"; | 359 | tmpStr += ";"; |
360 | } | 360 | } |
361 | if (!tmpStr.isEmpty()) { | 361 | if (!tmpStr.isEmpty()) { |
362 | tmpStr.truncate(tmpStr.length()-1); | 362 | tmpStr.truncate(tmpStr.length()-1); |
363 | icalcomponent_add_property(parent,icalproperty_new_categories( | 363 | icalcomponent_add_property(parent,icalproperty_new_categories( |
364 | writeText(incidence->getCategories().join(";")))); | 364 | writeText(incidence->getCategories().join(";")))); |
365 | } | 365 | } |
366 | */ | 366 | */ |
367 | 367 | ||
368 | // related event | 368 | // related event |
369 | if (!incidence->relatedToUid().isEmpty()) { | 369 | if (!incidence->relatedToUid().isEmpty()) { |
370 | icalcomponent_add_property(parent,icalproperty_new_relatedto( | 370 | icalcomponent_add_property(parent,icalproperty_new_relatedto( |
371 | incidence->relatedToUid().utf8())); | 371 | incidence->relatedToUid().utf8())); |
372 | } | 372 | } |
373 | 373 | ||
374 | // recurrence rule stuff | 374 | // recurrence rule stuff |
375 | Recurrence *recur = incidence->recurrence(); | 375 | Recurrence *recur = incidence->recurrence(); |
376 | if (recur->doesRecur()) { | 376 | if (recur->doesRecur()) { |
377 | 377 | ||
378 | icalcomponent_add_property(parent,writeRecurrenceRule(recur)); | 378 | icalcomponent_add_property(parent,writeRecurrenceRule(recur)); |
379 | } | 379 | } |
380 | 380 | ||
381 | // recurrence excpetion dates | 381 | // recurrence excpetion dates |
382 | DateList dateList = incidence->exDates(); | 382 | DateList dateList = incidence->exDates(); |
383 | DateList::ConstIterator exIt; | 383 | DateList::ConstIterator exIt; |
384 | for(exIt = dateList.begin(); exIt != dateList.end(); ++exIt) { | 384 | for(exIt = dateList.begin(); exIt != dateList.end(); ++exIt) { |
385 | icalcomponent_add_property(parent,icalproperty_new_exdate( | 385 | icalcomponent_add_property(parent,icalproperty_new_exdate( |
386 | writeICalDate(*exIt))); | 386 | writeICalDate(*exIt))); |
387 | } | 387 | } |
388 | 388 | ||
389 | // attachments | 389 | // attachments |
390 | QPtrList<Attachment> attachments = incidence->attachments(); | 390 | QPtrList<Attachment> attachments = incidence->attachments(); |
391 | for (Attachment *at = attachments.first(); at; at = attachments.next()) | 391 | for (Attachment *at = attachments.first(); at; at = attachments.next()) |
392 | icalcomponent_add_property(parent,writeAttachment(at)); | 392 | icalcomponent_add_property(parent,writeAttachment(at)); |
393 | 393 | ||
394 | // alarms | 394 | // alarms |
395 | QPtrList<Alarm> alarms = incidence->alarms(); | 395 | QPtrList<Alarm> alarms = incidence->alarms(); |
396 | Alarm* alarm; | 396 | Alarm* alarm; |
397 | for (alarm = alarms.first(); alarm; alarm = alarms.next()) { | 397 | for (alarm = alarms.first(); alarm; alarm = alarms.next()) { |
398 | if (alarm->enabled()) { | 398 | if (alarm->enabled()) { |
399 | kdDebug(5800) << "Write alarm for " << incidence->summary() << endl; | 399 | kdDebug(5800) << "Write alarm for " << incidence->summary() << endl; |
400 | icalcomponent_add_component(parent,writeAlarm(alarm)); | 400 | icalcomponent_add_component(parent,writeAlarm(alarm)); |
401 | } | 401 | } |
402 | } | 402 | } |
403 | if( incidence->hasRecurrenceID() ) { | 403 | if( incidence->hasRecurrenceID() ) { |
404 | icalcomponent_add_property(parent, | 404 | icalcomponent_add_property(parent, |
405 | icalproperty_new_recurrenceid( writeICalDateTime( incidence->recurrenceID()))); | 405 | icalproperty_new_recurrenceid( writeICalDateTime( incidence->recurrenceID()))); |
406 | } | 406 | } |
407 | // duration | 407 | // duration |
408 | 408 | ||
409 | // turned off as it always is set to PTS0 (and must not occur together with DTEND | 409 | // turned off as it always is set to PTS0 (and must not occur together with DTEND |
410 | 410 | ||
411 | if (incidence->hasDuration()) { | 411 | if (incidence->hasDuration()) { |
412 | icaldurationtype duration; | 412 | icaldurationtype duration; |
413 | duration = writeICalDuration(incidence->duration()); | 413 | duration = writeICalDuration(incidence->duration()); |
414 | icalcomponent_add_property(parent,icalproperty_new_duration(duration)); | 414 | icalcomponent_add_property(parent,icalproperty_new_duration(duration)); |
415 | } | 415 | } |
416 | } | 416 | } |
417 | 417 | ||
418 | void ICalFormatImpl::writeIncidenceBase(icalcomponent *parent,IncidenceBase *incidenceBase) | 418 | void ICalFormatImpl::writeIncidenceBase(icalcomponent *parent,IncidenceBase *incidenceBase) |
419 | { | 419 | { |
420 | icalcomponent_add_property(parent,icalproperty_new_dtstamp( | 420 | icalcomponent_add_property(parent,icalproperty_new_dtstamp( |
421 | writeICalDateTime(QDateTime::currentDateTime()))); | 421 | writeICalDateTime(QDateTime::currentDateTime()))); |
422 | 422 | ||
423 | // organizer stuff | 423 | // organizer stuff |
424 | icalcomponent_add_property(parent,icalproperty_new_organizer( | 424 | icalcomponent_add_property(parent,icalproperty_new_organizer( |
425 | ("MAILTO:" + incidenceBase->organizer()).utf8())); | 425 | ("MAILTO:" + incidenceBase->organizer()).utf8())); |
426 | 426 | ||
427 | // attendees | 427 | // attendees |
428 | if (incidenceBase->attendeeCount() != 0) { | 428 | if (incidenceBase->attendeeCount() != 0) { |
429 | QPtrList<Attendee> al = incidenceBase->attendees(); | 429 | QPtrList<Attendee> al = incidenceBase->attendees(); |
430 | QPtrListIterator<Attendee> ai(al); | 430 | QPtrListIterator<Attendee> ai(al); |
431 | for (; ai.current(); ++ai) { | 431 | for (; ai.current(); ++ai) { |
432 | icalcomponent_add_property(parent,writeAttendee(ai.current())); | 432 | icalcomponent_add_property(parent,writeAttendee(ai.current())); |
433 | } | 433 | } |
434 | } | 434 | } |
435 | 435 | ||
436 | // custom properties | 436 | // custom properties |
437 | writeCustomProperties(parent, incidenceBase); | 437 | writeCustomProperties(parent, incidenceBase); |
438 | } | 438 | } |
439 | 439 | ||
440 | void ICalFormatImpl::writeCustomProperties(icalcomponent *parent,CustomProperties *properties) | 440 | void ICalFormatImpl::writeCustomProperties(icalcomponent *parent,CustomProperties *properties) |
441 | { | 441 | { |
442 | QMap<QCString, QString> custom = properties->customProperties(); | 442 | QMap<QCString, QString> custom = properties->customProperties(); |
443 | for (QMap<QCString, QString>::Iterator c = custom.begin(); c != custom.end(); ++c) { | 443 | for (QMap<QCString, QString>::Iterator c = custom.begin(); c != custom.end(); ++c) { |
444 | icalproperty *p = icalproperty_new_x(c.data().utf8()); | 444 | icalproperty *p = icalproperty_new_x(c.data().utf8()); |
445 | icalproperty_set_x_name(p,c.key()); | 445 | icalproperty_set_x_name(p,c.key()); |
446 | icalcomponent_add_property(parent,p); | 446 | icalcomponent_add_property(parent,p); |
447 | } | 447 | } |
448 | } | 448 | } |
449 | 449 | ||
450 | icalproperty *ICalFormatImpl::writeAttendee(Attendee *attendee) | 450 | icalproperty *ICalFormatImpl::writeAttendee(Attendee *attendee) |
451 | { | 451 | { |
452 | icalproperty *p = icalproperty_new_attendee("mailto:" + attendee->email().utf8()); | 452 | icalproperty *p = icalproperty_new_attendee("mailto:" + attendee->email().utf8()); |
453 | 453 | ||
454 | if (!attendee->name().isEmpty()) { | 454 | if (!attendee->name().isEmpty()) { |
455 | icalproperty_add_parameter(p,icalparameter_new_cn(attendee->name().utf8())); | 455 | icalproperty_add_parameter(p,icalparameter_new_cn(attendee->name().utf8())); |
456 | } | 456 | } |
457 | 457 | ||
458 | 458 | ||
459 | icalproperty_add_parameter(p,icalparameter_new_rsvp( | 459 | icalproperty_add_parameter(p,icalparameter_new_rsvp( |
460 | attendee->RSVP() ? ICAL_RSVP_TRUE : ICAL_RSVP_FALSE )); | 460 | attendee->RSVP() ? ICAL_RSVP_TRUE : ICAL_RSVP_FALSE )); |
461 | 461 | ||
462 | icalparameter_partstat status = ICAL_PARTSTAT_NEEDSACTION; | 462 | icalparameter_partstat status = ICAL_PARTSTAT_NEEDSACTION; |
463 | switch (attendee->status()) { | 463 | switch (attendee->status()) { |
464 | default: | 464 | default: |
465 | case Attendee::NeedsAction: | 465 | case Attendee::NeedsAction: |
466 | status = ICAL_PARTSTAT_NEEDSACTION; | 466 | status = ICAL_PARTSTAT_NEEDSACTION; |
467 | break; | 467 | break; |
468 | case Attendee::Accepted: | 468 | case Attendee::Accepted: |
469 | status = ICAL_PARTSTAT_ACCEPTED; | 469 | status = ICAL_PARTSTAT_ACCEPTED; |
470 | break; | 470 | break; |
471 | case Attendee::Declined: | 471 | case Attendee::Declined: |
472 | status = ICAL_PARTSTAT_DECLINED; | 472 | status = ICAL_PARTSTAT_DECLINED; |
473 | break; | 473 | break; |
474 | case Attendee::Tentative: | 474 | case Attendee::Tentative: |
475 | status = ICAL_PARTSTAT_TENTATIVE; | 475 | status = ICAL_PARTSTAT_TENTATIVE; |
476 | break; | 476 | break; |
477 | case Attendee::Delegated: | 477 | case Attendee::Delegated: |
478 | status = ICAL_PARTSTAT_DELEGATED; | 478 | status = ICAL_PARTSTAT_DELEGATED; |
479 | break; | 479 | break; |
480 | case Attendee::Completed: | 480 | case Attendee::Completed: |
481 | status = ICAL_PARTSTAT_COMPLETED; | 481 | status = ICAL_PARTSTAT_COMPLETED; |
482 | break; | 482 | break; |
483 | case Attendee::InProcess: | 483 | case Attendee::InProcess: |
484 | status = ICAL_PARTSTAT_INPROCESS; | 484 | status = ICAL_PARTSTAT_INPROCESS; |
485 | break; | 485 | break; |
486 | } | 486 | } |
487 | icalproperty_add_parameter(p,icalparameter_new_partstat(status)); | 487 | icalproperty_add_parameter(p,icalparameter_new_partstat(status)); |
488 | 488 | ||
489 | icalparameter_role role = ICAL_ROLE_REQPARTICIPANT; | 489 | icalparameter_role role = ICAL_ROLE_REQPARTICIPANT; |
490 | switch (attendee->role()) { | 490 | switch (attendee->role()) { |
491 | case Attendee::Chair: | 491 | case Attendee::Chair: |
492 | role = ICAL_ROLE_CHAIR; | 492 | role = ICAL_ROLE_CHAIR; |
493 | break; | 493 | break; |
494 | default: | 494 | default: |
495 | case Attendee::ReqParticipant: | 495 | case Attendee::ReqParticipant: |
496 | role = ICAL_ROLE_REQPARTICIPANT; | 496 | role = ICAL_ROLE_REQPARTICIPANT; |
497 | break; | 497 | break; |
498 | case Attendee::OptParticipant: | 498 | case Attendee::OptParticipant: |
499 | role = ICAL_ROLE_OPTPARTICIPANT; | 499 | role = ICAL_ROLE_OPTPARTICIPANT; |
500 | break; | 500 | break; |
501 | case Attendee::NonParticipant: | 501 | case Attendee::NonParticipant: |
502 | role = ICAL_ROLE_NONPARTICIPANT; | 502 | role = ICAL_ROLE_NONPARTICIPANT; |
503 | break; | 503 | break; |
504 | } | 504 | } |
505 | icalproperty_add_parameter(p,icalparameter_new_role(role)); | 505 | icalproperty_add_parameter(p,icalparameter_new_role(role)); |
506 | 506 | ||
507 | if (!attendee->uid().isEmpty()) { | 507 | if (!attendee->uid().isEmpty()) { |
508 | icalparameter* icalparameter_uid = icalparameter_new_x(attendee->uid().utf8()); | 508 | icalparameter* icalparameter_uid = icalparameter_new_x(attendee->uid().utf8()); |
509 | icalparameter_set_xname(icalparameter_uid,"X-UID"); | 509 | icalparameter_set_xname(icalparameter_uid,"X-UID"); |
510 | icalproperty_add_parameter(p,icalparameter_uid); | 510 | icalproperty_add_parameter(p,icalparameter_uid); |
511 | } | 511 | } |
512 | 512 | ||
513 | return p; | 513 | return p; |
514 | } | 514 | } |
515 | 515 | ||
516 | icalproperty *ICalFormatImpl::writeAttachment(Attachment *att) | 516 | icalproperty *ICalFormatImpl::writeAttachment(Attachment *att) |
517 | { | 517 | { |
518 | #if 0 | 518 | #if 0 |
519 | icalattachtype* attach = icalattachtype_new(); | 519 | icalattachtype* attach = icalattachtype_new(); |
520 | if (att->isURI()) | 520 | if (att->isURI()) |
521 | icalattachtype_set_url(attach, att->uri().utf8().data()); | 521 | icalattachtype_set_url(attach, att->uri().utf8().data()); |
522 | else | 522 | else |
523 | icalattachtype_set_base64(attach, att->data(), 0); | 523 | icalattachtype_set_base64(attach, att->data(), 0); |
524 | #endif | 524 | #endif |
525 | icalattach *attach; | 525 | icalattach *attach; |
526 | if (att->isURI()) | 526 | if (att->isURI()) |
527 | attach = icalattach_new_from_url( att->uri().utf8().data()); | 527 | attach = icalattach_new_from_url( att->uri().utf8().data()); |
528 | else | 528 | else |
529 | attach = icalattach_new_from_data ( (unsigned char *)att->data(), 0, 0); | 529 | attach = icalattach_new_from_data ( (unsigned char *)att->data(), 0, 0); |
530 | icalproperty *p = icalproperty_new_attach(attach); | 530 | icalproperty *p = icalproperty_new_attach(attach); |
531 | if (!att->mimeType().isEmpty()) | 531 | if (!att->mimeType().isEmpty()) |
532 | icalproperty_add_parameter(p,icalparameter_new_fmttype(att->mimeType().utf8().data())); | 532 | icalproperty_add_parameter(p,icalparameter_new_fmttype(att->mimeType().utf8().data())); |
533 | 533 | ||
534 | if (att->isBinary()) { | 534 | if (att->isBinary()) { |
535 | icalproperty_add_parameter(p,icalparameter_new_value(ICAL_VALUE_BINARY)); | 535 | icalproperty_add_parameter(p,icalparameter_new_value(ICAL_VALUE_BINARY)); |
536 | icalproperty_add_parameter(p,icalparameter_new_encoding(ICAL_ENCODING_BASE64)); | 536 | icalproperty_add_parameter(p,icalparameter_new_encoding(ICAL_ENCODING_BASE64)); |
537 | } | 537 | } |
538 | return p; | 538 | return p; |
539 | } | 539 | } |
540 | 540 | ||
541 | icalproperty *ICalFormatImpl::writeRecurrenceRule(Recurrence *recur) | 541 | icalproperty *ICalFormatImpl::writeRecurrenceRule(Recurrence *recur) |
542 | { | 542 | { |
543 | // kdDebug(5800) << "ICalFormatImpl::writeRecurrenceRule()" << endl; | 543 | // kdDebug(5800) << "ICalFormatImpl::writeRecurrenceRule()" << endl; |
544 | 544 | ||
545 | icalrecurrencetype r; | 545 | icalrecurrencetype r; |
546 | 546 | ||
547 | icalrecurrencetype_clear(&r); | 547 | icalrecurrencetype_clear(&r); |
548 | 548 | ||
549 | int index = 0; | 549 | int index = 0; |
550 | int index2 = 0; | 550 | int index2 = 0; |
551 | 551 | ||
552 | QPtrList<Recurrence::rMonthPos> tmpPositions; | 552 | QPtrList<Recurrence::rMonthPos> tmpPositions; |
553 | QPtrList<int> tmpDays; | 553 | QPtrList<int> tmpDays; |
554 | int *tmpDay; | 554 | int *tmpDay; |
555 | Recurrence::rMonthPos *tmpPos; | 555 | Recurrence::rMonthPos *tmpPos; |
556 | bool datetime = false; | 556 | bool datetime = false; |
557 | int day; | 557 | int day; |
558 | int i; | 558 | int i; |
559 | 559 | ||
560 | switch(recur->doesRecur()) { | 560 | switch(recur->doesRecur()) { |
561 | case Recurrence::rMinutely: | 561 | case Recurrence::rMinutely: |
562 | r.freq = ICAL_MINUTELY_RECURRENCE; | 562 | r.freq = ICAL_MINUTELY_RECURRENCE; |
563 | datetime = true; | 563 | datetime = true; |
564 | break; | 564 | break; |
565 | case Recurrence::rHourly: | 565 | case Recurrence::rHourly: |
566 | r.freq = ICAL_HOURLY_RECURRENCE; | 566 | r.freq = ICAL_HOURLY_RECURRENCE; |
567 | datetime = true; | 567 | datetime = true; |
568 | break; | 568 | break; |
569 | case Recurrence::rDaily: | 569 | case Recurrence::rDaily: |
570 | r.freq = ICAL_DAILY_RECURRENCE; | 570 | r.freq = ICAL_DAILY_RECURRENCE; |
571 | break; | 571 | break; |
572 | case Recurrence::rWeekly: | 572 | case Recurrence::rWeekly: |
573 | r.freq = ICAL_WEEKLY_RECURRENCE; | 573 | r.freq = ICAL_WEEKLY_RECURRENCE; |
574 | r.week_start = static_cast<icalrecurrencetype_weekday>(recur->weekStart()%7 + 1); | 574 | r.week_start = static_cast<icalrecurrencetype_weekday>(recur->weekStart()%7 + 1); |
575 | for (i = 0; i < 7; i++) { | 575 | for (i = 0; i < 7; i++) { |
576 | if (recur->days().testBit(i)) { | 576 | if (recur->days().testBit(i)) { |
577 | day = (i + 1)%7 + 1; // convert from Monday=0 to Sunday=1 | 577 | day = (i + 1)%7 + 1; // convert from Monday=0 to Sunday=1 |
578 | r.by_day[index++] = icalrecurrencetype_day_day_of_week(day); | 578 | r.by_day[index++] = icalrecurrencetype_day_day_of_week(day); |
579 | } | 579 | } |
580 | } | 580 | } |
581 | // r.by_day[index] = ICAL_RECURRENCE_ARRAY_MAX; | 581 | // r.by_day[index] = ICAL_RECURRENCE_ARRAY_MAX; |
582 | break; | 582 | break; |
583 | case Recurrence::rMonthlyPos: | 583 | case Recurrence::rMonthlyPos: |
584 | r.freq = ICAL_MONTHLY_RECURRENCE; | 584 | r.freq = ICAL_MONTHLY_RECURRENCE; |
585 | 585 | ||
586 | tmpPositions = recur->monthPositions(); | 586 | tmpPositions = recur->monthPositions(); |
587 | for (tmpPos = tmpPositions.first(); | 587 | for (tmpPos = tmpPositions.first(); |
588 | tmpPos; | 588 | tmpPos; |
589 | tmpPos = tmpPositions.next()) { | 589 | tmpPos = tmpPositions.next()) { |
590 | for (i = 0; i < 7; i++) { | 590 | for (i = 0; i < 7; i++) { |
591 | if (tmpPos->rDays.testBit(i)) { | 591 | if (tmpPos->rDays.testBit(i)) { |
592 | day = (i + 1)%7 + 1; // convert from Monday=0 to Sunday=1 | 592 | day = (i + 1)%7 + 1; // convert from Monday=0 to Sunday=1 |
593 | day += tmpPos->rPos*8; | 593 | day += tmpPos->rPos*8; |
594 | if (tmpPos->negative) day = -day; | 594 | if (tmpPos->negative) day = -day; |
595 | r.by_day[index++] = day; | 595 | r.by_day[index++] = day; |
596 | } | 596 | } |
597 | } | 597 | } |
598 | } | 598 | } |
599 | // r.by_day[index] = ICAL_RECURRENCE_ARRAY_MAX; | 599 | // r.by_day[index] = ICAL_RECURRENCE_ARRAY_MAX; |
600 | break; | 600 | break; |
601 | case Recurrence::rMonthlyDay: | 601 | case Recurrence::rMonthlyDay: |
602 | r.freq = ICAL_MONTHLY_RECURRENCE; | 602 | r.freq = ICAL_MONTHLY_RECURRENCE; |
603 | 603 | ||
604 | tmpDays = recur->monthDays(); | 604 | tmpDays = recur->monthDays(); |
605 | for (tmpDay = tmpDays.first(); | 605 | for (tmpDay = tmpDays.first(); |
606 | tmpDay; | 606 | tmpDay; |
607 | tmpDay = tmpDays.next()) { | 607 | tmpDay = tmpDays.next()) { |
608 | r.by_month_day[index++] = icalrecurrencetype_day_position(*tmpDay*8);//*tmpDay); | 608 | r.by_month_day[index++] = icalrecurrencetype_day_position(*tmpDay*8);//*tmpDay); |
609 | } | 609 | } |
610 | // r.by_day[index] = ICAL_RECURRENCE_ARRAY_MAX; | 610 | // r.by_day[index] = ICAL_RECURRENCE_ARRAY_MAX; |
611 | break; | 611 | break; |
612 | case Recurrence::rYearlyMonth: | 612 | case Recurrence::rYearlyMonth: |
613 | case Recurrence::rYearlyPos: | 613 | case Recurrence::rYearlyPos: |
614 | r.freq = ICAL_YEARLY_RECURRENCE; | 614 | r.freq = ICAL_YEARLY_RECURRENCE; |
615 | 615 | ||
616 | tmpDays = recur->yearNums(); | 616 | tmpDays = recur->yearNums(); |
617 | for (tmpDay = tmpDays.first(); | 617 | for (tmpDay = tmpDays.first(); |
618 | tmpDay; | 618 | tmpDay; |
619 | tmpDay = tmpDays.next()) { | 619 | tmpDay = tmpDays.next()) { |
620 | r.by_month[index++] = *tmpDay; | 620 | r.by_month[index++] = *tmpDay; |
621 | } | 621 | } |
622 | // r.by_set_pos[index] = ICAL_RECURRENCE_ARRAY_MAX; | 622 | // r.by_set_pos[index] = ICAL_RECURRENCE_ARRAY_MAX; |
623 | if (recur->doesRecur() == Recurrence::rYearlyPos) { | 623 | if (recur->doesRecur() == Recurrence::rYearlyPos) { |
624 | tmpPositions = recur->monthPositions(); | 624 | tmpPositions = recur->monthPositions(); |
625 | for (tmpPos = tmpPositions.first(); | 625 | for (tmpPos = tmpPositions.first(); |
626 | tmpPos; | 626 | tmpPos; |
627 | tmpPos = tmpPositions.next()) { | 627 | tmpPos = tmpPositions.next()) { |
628 | for (i = 0; i < 7; i++) { | 628 | for (i = 0; i < 7; i++) { |
629 | if (tmpPos->rDays.testBit(i)) { | 629 | if (tmpPos->rDays.testBit(i)) { |
630 | day = (i + 1)%7 + 1; // convert from Monday=0 to Sunday=1 | 630 | day = (i + 1)%7 + 1; // convert from Monday=0 to Sunday=1 |
631 | day += tmpPos->rPos*8; | 631 | day += tmpPos->rPos*8; |
632 | if (tmpPos->negative) day = -day; | 632 | if (tmpPos->negative) day = -day; |
633 | r.by_day[index2++] = day; | 633 | r.by_day[index2++] = day; |
634 | } | 634 | } |
635 | } | 635 | } |
636 | } | 636 | } |
637 | // r.by_day[index2] = ICAL_RECURRENCE_ARRAY_MAX; | 637 | // r.by_day[index2] = ICAL_RECURRENCE_ARRAY_MAX; |
638 | } | 638 | } |
639 | break; | 639 | break; |
640 | case Recurrence::rYearlyDay: | 640 | case Recurrence::rYearlyDay: |
641 | r.freq = ICAL_YEARLY_RECURRENCE; | 641 | r.freq = ICAL_YEARLY_RECURRENCE; |
642 | 642 | ||
643 | tmpDays = recur->yearNums(); | 643 | tmpDays = recur->yearNums(); |
644 | for (tmpDay = tmpDays.first(); | 644 | for (tmpDay = tmpDays.first(); |
645 | tmpDay; | 645 | tmpDay; |
646 | tmpDay = tmpDays.next()) { | 646 | tmpDay = tmpDays.next()) { |
647 | r.by_year_day[index++] = *tmpDay; | 647 | r.by_year_day[index++] = *tmpDay; |
648 | } | 648 | } |
649 | // r.by_year_day[index] = ICAL_RECURRENCE_ARRAY_MAX; | 649 | // r.by_year_day[index] = ICAL_RECURRENCE_ARRAY_MAX; |
650 | break; | 650 | break; |
651 | default: | 651 | default: |
652 | r.freq = ICAL_NO_RECURRENCE; | 652 | r.freq = ICAL_NO_RECURRENCE; |
653 | kdDebug(5800) << "ICalFormatImpl::writeRecurrence(): no recurrence" << endl; | 653 | kdDebug(5800) << "ICalFormatImpl::writeRecurrence(): no recurrence" << endl; |
654 | break; | 654 | break; |
655 | } | 655 | } |
656 | 656 | ||
657 | r.interval = recur->frequency(); | 657 | r.interval = recur->frequency(); |
658 | 658 | ||
659 | if (recur->duration() > 0) { | 659 | if (recur->duration() > 0) { |
660 | r.count = recur->duration(); | 660 | r.count = recur->duration(); |
661 | } else if (recur->duration() == -1) { | 661 | } else if (recur->duration() == -1) { |
662 | r.count = 0; | 662 | r.count = 0; |
663 | } else { | 663 | } else { |
664 | if (datetime) | 664 | if (datetime) |
665 | r.until = writeICalDateTime(recur->endDateTime()); | 665 | r.until = writeICalDateTime(recur->endDateTime()); |
666 | else | 666 | else |
667 | r.until = writeICalDate(recur->endDate()); | 667 | r.until = writeICalDate(recur->endDate()); |
668 | } | 668 | } |
669 | 669 | ||
670 | // Debug output | 670 | // Debug output |
671 | #if 0 | 671 | #if 0 |
672 | const char *str = icalrecurrencetype_as_string(&r); | 672 | const char *str = icalrecurrencetype_as_string(&r); |
673 | if (str) { | 673 | if (str) { |
674 | kdDebug(5800) << " String: " << str << endl; | 674 | kdDebug(5800) << " String: " << str << endl; |
675 | } else { | 675 | } else { |
676 | kdDebug(5800) << " No String" << endl; | 676 | kdDebug(5800) << " No String" << endl; |
677 | } | 677 | } |
678 | #endif | 678 | #endif |
679 | 679 | ||
680 | return icalproperty_new_rrule(r); | 680 | return icalproperty_new_rrule(r); |
681 | } | 681 | } |
682 | 682 | ||
683 | icalcomponent *ICalFormatImpl::writeAlarm(Alarm *alarm) | 683 | icalcomponent *ICalFormatImpl::writeAlarm(Alarm *alarm) |
684 | { | 684 | { |
685 | icalcomponent *a = icalcomponent_new(ICAL_VALARM_COMPONENT); | 685 | icalcomponent *a = icalcomponent_new(ICAL_VALARM_COMPONENT); |
686 | 686 | ||
687 | icalproperty_action action; | 687 | icalproperty_action action; |
688 | icalattach *attach = 0; | 688 | icalattach *attach = 0; |
689 | 689 | ||
690 | switch (alarm->type()) { | 690 | switch (alarm->type()) { |
691 | case Alarm::Procedure: | 691 | case Alarm::Procedure: |
692 | action = ICAL_ACTION_PROCEDURE; | 692 | action = ICAL_ACTION_PROCEDURE; |
693 | attach = icalattach_new_from_url( QFile::encodeName(alarm->programFile()).data() ); | 693 | attach = icalattach_new_from_url( QFile::encodeName(alarm->programFile()).data() ); |
694 | icalcomponent_add_property(a,icalproperty_new_attach(attach)); | 694 | icalcomponent_add_property(a,icalproperty_new_attach(attach)); |
695 | if (!alarm->programArguments().isEmpty()) { | 695 | if (!alarm->programArguments().isEmpty()) { |
696 | icalcomponent_add_property(a,icalproperty_new_description(alarm->programArguments().utf8())); | 696 | icalcomponent_add_property(a,icalproperty_new_description(alarm->programArguments().utf8())); |
697 | } | 697 | } |
698 | icalattach_unref( attach ); | ||
698 | break; | 699 | break; |
699 | case Alarm::Audio: | 700 | case Alarm::Audio: |
700 | action = ICAL_ACTION_AUDIO; | 701 | action = ICAL_ACTION_AUDIO; |
701 | if (!alarm->audioFile().isEmpty()) { | 702 | if (!alarm->audioFile().isEmpty()) { |
702 | attach = icalattach_new_from_url(QFile::encodeName( alarm->audioFile() ).data()); | 703 | attach = icalattach_new_from_url(QFile::encodeName( alarm->audioFile() ).data()); |
703 | icalcomponent_add_property(a,icalproperty_new_attach(attach)); | 704 | icalcomponent_add_property(a,icalproperty_new_attach(attach)); |
705 | icalattach_unref( attach ); | ||
704 | } | 706 | } |
705 | break; | 707 | break; |
706 | case Alarm::Email: { | 708 | case Alarm::Email: { |
707 | action = ICAL_ACTION_EMAIL; | 709 | action = ICAL_ACTION_EMAIL; |
708 | QValueList<Person> addresses = alarm->mailAddresses(); | 710 | QValueList<Person> addresses = alarm->mailAddresses(); |
709 | for (QValueList<Person>::Iterator ad = addresses.begin(); ad != addresses.end(); ++ad) { | 711 | for (QValueList<Person>::Iterator ad = addresses.begin(); ad != addresses.end(); ++ad) { |
710 | icalproperty *p = icalproperty_new_attendee("MAILTO:" + (*ad).email().utf8()); | 712 | icalproperty *p = icalproperty_new_attendee("MAILTO:" + (*ad).email().utf8()); |
711 | if (!(*ad).name().isEmpty()) { | 713 | if (!(*ad).name().isEmpty()) { |
712 | icalproperty_add_parameter(p,icalparameter_new_cn((*ad).name().utf8())); | 714 | icalproperty_add_parameter(p,icalparameter_new_cn((*ad).name().utf8())); |
713 | } | 715 | } |
714 | icalcomponent_add_property(a,p); | 716 | icalcomponent_add_property(a,p); |
715 | } | 717 | } |
716 | icalcomponent_add_property(a,icalproperty_new_summary(alarm->mailSubject().utf8())); | 718 | icalcomponent_add_property(a,icalproperty_new_summary(alarm->mailSubject().utf8())); |
717 | icalcomponent_add_property(a,icalproperty_new_description(alarm->text().utf8())); | 719 | icalcomponent_add_property(a,icalproperty_new_description(alarm->text().utf8())); |
718 | QStringList attachments = alarm->mailAttachments(); | 720 | QStringList attachments = alarm->mailAttachments(); |
719 | if (attachments.count() > 0) { | 721 | if (attachments.count() > 0) { |
720 | for (QStringList::Iterator at = attachments.begin(); at != attachments.end(); ++at) { | 722 | for (QStringList::Iterator at = attachments.begin(); at != attachments.end(); ++at) { |
721 | attach = icalattach_new_from_url(QFile::encodeName( *at ).data()); | 723 | attach = icalattach_new_from_url(QFile::encodeName( *at ).data()); |
722 | icalcomponent_add_property(a,icalproperty_new_attach(attach)); | 724 | icalcomponent_add_property(a,icalproperty_new_attach(attach)); |
725 | icalattach_unref( attach ); | ||
723 | } | 726 | } |
724 | } | 727 | } |
725 | break; | 728 | break; |
726 | } | 729 | } |
727 | case Alarm::Display: | 730 | case Alarm::Display: |
728 | action = ICAL_ACTION_DISPLAY; | 731 | action = ICAL_ACTION_DISPLAY; |
729 | icalcomponent_add_property(a,icalproperty_new_description(alarm->text().utf8())); | 732 | icalcomponent_add_property(a,icalproperty_new_description(alarm->text().utf8())); |
730 | break; | 733 | break; |
731 | case Alarm::Invalid: | 734 | case Alarm::Invalid: |
732 | default: | 735 | default: |
733 | kdDebug(5800) << "Unknown type of alarm" << endl; | 736 | kdDebug(5800) << "Unknown type of alarm" << endl; |
734 | action = ICAL_ACTION_NONE; | 737 | action = ICAL_ACTION_NONE; |
735 | break; | 738 | break; |
736 | } | 739 | } |
737 | icalcomponent_add_property(a,icalproperty_new_action(action)); | 740 | icalcomponent_add_property(a,icalproperty_new_action(action)); |
738 | 741 | ||
739 | // Trigger time | 742 | // Trigger time |
740 | icaltriggertype trigger; | 743 | icaltriggertype trigger; |
741 | if ( alarm->hasTime() ) { | 744 | if ( alarm->hasTime() ) { |
742 | trigger.time = writeICalDateTime(alarm->time()); | 745 | trigger.time = writeICalDateTime(alarm->time()); |
743 | trigger.duration = icaldurationtype_null_duration(); | 746 | trigger.duration = icaldurationtype_null_duration(); |
744 | } else { | 747 | } else { |
745 | trigger.time = icaltime_null_time(); | 748 | trigger.time = icaltime_null_time(); |
746 | Duration offset; | 749 | Duration offset; |
747 | if ( alarm->hasStartOffset() ) | 750 | if ( alarm->hasStartOffset() ) |
748 | offset = alarm->startOffset(); | 751 | offset = alarm->startOffset(); |
749 | else | 752 | else |
750 | offset = alarm->endOffset(); | 753 | offset = alarm->endOffset(); |
751 | trigger.duration = icaldurationtype_from_int( offset.asSeconds() ); | 754 | trigger.duration = icaldurationtype_from_int( offset.asSeconds() ); |
752 | } | 755 | } |
753 | icalproperty *p = icalproperty_new_trigger(trigger); | 756 | icalproperty *p = icalproperty_new_trigger(trigger); |
754 | if ( alarm->hasEndOffset() ) | 757 | if ( alarm->hasEndOffset() ) |
755 | icalproperty_add_parameter(p,icalparameter_new_related(ICAL_RELATED_END)); | 758 | icalproperty_add_parameter(p,icalparameter_new_related(ICAL_RELATED_END)); |
756 | icalcomponent_add_property(a,p); | 759 | icalcomponent_add_property(a,p); |
757 | 760 | ||
758 | // Repeat count and duration | 761 | // Repeat count and duration |
759 | if (alarm->repeatCount()) { | 762 | if (alarm->repeatCount()) { |
760 | icalcomponent_add_property(a,icalproperty_new_repeat(alarm->repeatCount())); | 763 | icalcomponent_add_property(a,icalproperty_new_repeat(alarm->repeatCount())); |
761 | icalcomponent_add_property(a,icalproperty_new_duration( | 764 | icalcomponent_add_property(a,icalproperty_new_duration( |
762 | icaldurationtype_from_int(alarm->snoozeTime()*60))); | 765 | icaldurationtype_from_int(alarm->snoozeTime()*60))); |
763 | } | 766 | } |
764 | 767 | ||
765 | // Custom properties | 768 | // Custom properties |
766 | QMap<QCString, QString> custom = alarm->customProperties(); | 769 | QMap<QCString, QString> custom = alarm->customProperties(); |
767 | for (QMap<QCString, QString>::Iterator c = custom.begin(); c != custom.end(); ++c) { | 770 | for (QMap<QCString, QString>::Iterator c = custom.begin(); c != custom.end(); ++c) { |
768 | icalproperty *p = icalproperty_new_x(c.data().utf8()); | 771 | icalproperty *p = icalproperty_new_x(c.data().utf8()); |
769 | icalproperty_set_x_name(p,c.key()); | 772 | icalproperty_set_x_name(p,c.key()); |
770 | icalcomponent_add_property(a,p); | 773 | icalcomponent_add_property(a,p); |
771 | } | 774 | } |
772 | 775 | ||
773 | return a; | 776 | return a; |
774 | } | 777 | } |
775 | 778 | ||
776 | Todo *ICalFormatImpl::readTodo(icalcomponent *vtodo) | 779 | Todo *ICalFormatImpl::readTodo(icalcomponent *vtodo) |
777 | { | 780 | { |
778 | Todo *todo = new Todo; | 781 | Todo *todo = new Todo; |
779 | 782 | ||
780 | readIncidence(vtodo,todo); | 783 | readIncidence(vtodo,todo); |
781 | 784 | ||
782 | icalproperty *p = icalcomponent_get_first_property(vtodo,ICAL_ANY_PROPERTY); | 785 | icalproperty *p = icalcomponent_get_first_property(vtodo,ICAL_ANY_PROPERTY); |
783 | 786 | ||
784 | // int intvalue; | 787 | // int intvalue; |
785 | icaltimetype icaltime; | 788 | icaltimetype icaltime; |
786 | 789 | ||
787 | QStringList categories; | 790 | QStringList categories; |
788 | 791 | ||
789 | while (p) { | 792 | while (p) { |
790 | icalproperty_kind kind = icalproperty_isa(p); | 793 | icalproperty_kind kind = icalproperty_isa(p); |
791 | switch (kind) { | 794 | switch (kind) { |
792 | 795 | ||
793 | case ICAL_DUE_PROPERTY: // due date | 796 | case ICAL_DUE_PROPERTY: // due date |
794 | icaltime = icalproperty_get_due(p); | 797 | icaltime = icalproperty_get_due(p); |
795 | if (icaltime.is_date) { | 798 | if (icaltime.is_date) { |
796 | todo->setDtDue(QDateTime(readICalDate(icaltime),QTime(0,0,0))); | 799 | todo->setDtDue(QDateTime(readICalDate(icaltime),QTime(0,0,0))); |
797 | todo->setFloats(true); | 800 | todo->setFloats(true); |
798 | 801 | ||
799 | } else { | 802 | } else { |
800 | todo->setDtDue(readICalDateTime(icaltime)); | 803 | todo->setDtDue(readICalDateTime(icaltime)); |
801 | todo->setFloats(false); | 804 | todo->setFloats(false); |
802 | } | 805 | } |
803 | todo->setHasDueDate(true); | 806 | todo->setHasDueDate(true); |
804 | break; | 807 | break; |
805 | 808 | ||
806 | case ICAL_COMPLETED_PROPERTY: // completion date | 809 | case ICAL_COMPLETED_PROPERTY: // completion date |
807 | icaltime = icalproperty_get_completed(p); | 810 | icaltime = icalproperty_get_completed(p); |
808 | todo->setCompleted(readICalDateTime(icaltime)); | 811 | todo->setCompleted(readICalDateTime(icaltime)); |
809 | break; | 812 | break; |
810 | 813 | ||
811 | case ICAL_PERCENTCOMPLETE_PROPERTY: // Percent completed | 814 | case ICAL_PERCENTCOMPLETE_PROPERTY: // Percent completed |
812 | todo->setPercentComplete(icalproperty_get_percentcomplete(p)); | 815 | todo->setPercentComplete(icalproperty_get_percentcomplete(p)); |
813 | break; | 816 | break; |
814 | 817 | ||
815 | case ICAL_RELATEDTO_PROPERTY: // related todo (parent) | 818 | case ICAL_RELATEDTO_PROPERTY: // related todo (parent) |
816 | todo->setRelatedToUid(QString::fromUtf8(icalproperty_get_relatedto(p))); | 819 | todo->setRelatedToUid(QString::fromUtf8(icalproperty_get_relatedto(p))); |
817 | mTodosRelate.append(todo); | 820 | mTodosRelate.append(todo); |
818 | break; | 821 | break; |
819 | 822 | ||
820 | case ICAL_DTSTART_PROPERTY: | 823 | case ICAL_DTSTART_PROPERTY: |
821 | // Flag that todo has start date. Value is read in by readIncidence(). | 824 | // Flag that todo has start date. Value is read in by readIncidence(). |
822 | todo->setHasStartDate(true); | 825 | todo->setHasStartDate(true); |
823 | break; | 826 | break; |
824 | 827 | ||
825 | default: | 828 | default: |
826 | // kdDebug(5800) << "ICALFormat::readTodo(): Unknown property: " << kind | 829 | // kdDebug(5800) << "ICALFormat::readTodo(): Unknown property: " << kind |
827 | // << endl; | 830 | // << endl; |
828 | break; | 831 | break; |
829 | } | 832 | } |
830 | 833 | ||
831 | p = icalcomponent_get_next_property(vtodo,ICAL_ANY_PROPERTY); | 834 | p = icalcomponent_get_next_property(vtodo,ICAL_ANY_PROPERTY); |
832 | } | 835 | } |
833 | 836 | ||
834 | return todo; | 837 | return todo; |
835 | } | 838 | } |
836 | 839 | ||
837 | Event *ICalFormatImpl::readEvent(icalcomponent *vevent) | 840 | Event *ICalFormatImpl::readEvent(icalcomponent *vevent) |
838 | { | 841 | { |
839 | Event *event = new Event; | 842 | Event *event = new Event; |
840 | event->setFloats(false); | 843 | event->setFloats(false); |
841 | 844 | ||
842 | readIncidence(vevent,event); | 845 | readIncidence(vevent,event); |
843 | 846 | ||
844 | icalproperty *p = icalcomponent_get_first_property(vevent,ICAL_ANY_PROPERTY); | 847 | icalproperty *p = icalcomponent_get_first_property(vevent,ICAL_ANY_PROPERTY); |
845 | 848 | ||
846 | // int intvalue; | 849 | // int intvalue; |
847 | icaltimetype icaltime; | 850 | icaltimetype icaltime; |
848 | 851 | ||
849 | QStringList categories; | 852 | QStringList categories; |
850 | QString transparency; | 853 | QString transparency; |
851 | 854 | ||
852 | while (p) { | 855 | while (p) { |
853 | icalproperty_kind kind = icalproperty_isa(p); | 856 | icalproperty_kind kind = icalproperty_isa(p); |
854 | switch (kind) { | 857 | switch (kind) { |
855 | 858 | ||
856 | case ICAL_DTEND_PROPERTY: // start date and time | 859 | case ICAL_DTEND_PROPERTY: // start date and time |
857 | icaltime = icalproperty_get_dtend(p); | 860 | icaltime = icalproperty_get_dtend(p); |
858 | if (icaltime.is_date) { | 861 | if (icaltime.is_date) { |
859 | event->setFloats( true ); | 862 | event->setFloats( true ); |
860 | // End date is non-inclusive | 863 | // End date is non-inclusive |
861 | QDate endDate = readICalDate( icaltime ).addDays( -1 ); | 864 | QDate endDate = readICalDate( icaltime ).addDays( -1 ); |
862 | mCompat->fixFloatingEnd( endDate ); | 865 | mCompat->fixFloatingEnd( endDate ); |
863 | if ( endDate < event->dtStart().date() ) { | 866 | if ( endDate < event->dtStart().date() ) { |
864 | endDate = event->dtStart().date(); | 867 | endDate = event->dtStart().date(); |
865 | } | 868 | } |
866 | event->setDtEnd( QDateTime( endDate, QTime( 0, 0, 0 ) ) ); | 869 | event->setDtEnd( QDateTime( endDate, QTime( 0, 0, 0 ) ) ); |
867 | } else { | 870 | } else { |
868 | event->setDtEnd(readICalDateTime(icaltime)); | 871 | event->setDtEnd(readICalDateTime(icaltime)); |
869 | } | 872 | } |
870 | break; | 873 | break; |
871 | 874 | ||
872 | // TODO: | 875 | // TODO: |
873 | // at this point, there should be at least a start or end time. | 876 | // at this point, there should be at least a start or end time. |
874 | // fix up for events that take up no time but have a time associated | 877 | // fix up for events that take up no time but have a time associated |
875 | #if 0 | 878 | #if 0 |
876 | if (!(vo = isAPropertyOf(vevent, VCDTstartProp))) | 879 | if (!(vo = isAPropertyOf(vevent, VCDTstartProp))) |
877 | anEvent->setDtStart(anEvent->dtEnd()); | 880 | anEvent->setDtStart(anEvent->dtEnd()); |
878 | if (!(vo = isAPropertyOf(vevent, VCDTendProp))) | 881 | if (!(vo = isAPropertyOf(vevent, VCDTendProp))) |
879 | anEvent->setDtEnd(anEvent->dtStart()); | 882 | anEvent->setDtEnd(anEvent->dtStart()); |
880 | #endif | 883 | #endif |
881 | 884 | ||
882 | // TODO: exdates | 885 | // TODO: exdates |
883 | #if 0 | 886 | #if 0 |
884 | // recurrence exceptions | 887 | // recurrence exceptions |
885 | if ((vo = isAPropertyOf(vevent, VCExDateProp)) != 0) { | 888 | if ((vo = isAPropertyOf(vevent, VCExDateProp)) != 0) { |
886 | anEvent->setExDates(s = fakeCString(vObjectUStringZValue(vo))); | 889 | anEvent->setExDates(s = fakeCString(vObjectUStringZValue(vo))); |
887 | deleteStr(s); | 890 | deleteStr(s); |
888 | } | 891 | } |
889 | #endif | 892 | #endif |
890 | 893 | ||
891 | #if 0 | 894 | #if 0 |
892 | // secrecy | 895 | // secrecy |
893 | if ((vo = isAPropertyOf(vevent, VCClassProp)) != 0) { | 896 | if ((vo = isAPropertyOf(vevent, VCClassProp)) != 0) { |
894 | anEvent->setSecrecy(s = fakeCString(vObjectUStringZValue(vo))); | 897 | anEvent->setSecrecy(s = fakeCString(vObjectUStringZValue(vo))); |
895 | deleteStr(s); | 898 | deleteStr(s); |
896 | } | 899 | } |
897 | else | 900 | else |
898 | anEvent->setSecrecy("PUBLIC"); | 901 | anEvent->setSecrecy("PUBLIC"); |
899 | 902 | ||
900 | // attachments | 903 | // attachments |
901 | tmpStrList.clear(); | 904 | tmpStrList.clear(); |
902 | initPropIterator(&voi, vevent); | 905 | initPropIterator(&voi, vevent); |
903 | while (moreIteration(&voi)) { | 906 | while (moreIteration(&voi)) { |
904 | vo = nextVObject(&voi); | 907 | vo = nextVObject(&voi); |
905 | if (strcmp(vObjectName(vo), VCAttachProp) == 0) { | 908 | if (strcmp(vObjectName(vo), VCAttachProp) == 0) { |
906 | tmpStrList.append(s = fakeCString(vObjectUStringZValue(vo))); | 909 | tmpStrList.append(s = fakeCString(vObjectUStringZValue(vo))); |
907 | deleteStr(s); | 910 | deleteStr(s); |
908 | } | 911 | } |
909 | } | 912 | } |
910 | anEvent->setAttachments(tmpStrList); | 913 | anEvent->setAttachments(tmpStrList); |
911 | 914 | ||
912 | // resources | 915 | // resources |
913 | if ((vo = isAPropertyOf(vevent, VCResourcesProp)) != 0) { | 916 | if ((vo = isAPropertyOf(vevent, VCResourcesProp)) != 0) { |
914 | QString resources = (s = fakeCString(vObjectUStringZValue(vo))); | 917 | QString resources = (s = fakeCString(vObjectUStringZValue(vo))); |
915 | deleteStr(s); | 918 | deleteStr(s); |
916 | tmpStrList.clear(); | 919 | tmpStrList.clear(); |
917 | index1 = 0; | 920 | index1 = 0; |
918 | index2 = 0; | 921 | index2 = 0; |
919 | QString resource; | 922 | QString resource; |
920 | while ((index2 = resources.find(';', index1)) != -1) { | 923 | while ((index2 = resources.find(';', index1)) != -1) { |
921 | resource = resources.mid(index1, (index2 - index1)); | 924 | resource = resources.mid(index1, (index2 - index1)); |
922 | tmpStrList.append(resource); | 925 | tmpStrList.append(resource); |
923 | index1 = index2; | 926 | index1 = index2; |
924 | } | 927 | } |
925 | anEvent->setResources(tmpStrList); | 928 | anEvent->setResources(tmpStrList); |
926 | } | 929 | } |
927 | #endif | 930 | #endif |
928 | 931 | ||
929 | case ICAL_RELATEDTO_PROPERTY: // releated event (parent) | 932 | case ICAL_RELATEDTO_PROPERTY: // releated event (parent) |
930 | event->setRelatedToUid(QString::fromUtf8(icalproperty_get_relatedto(p))); | 933 | event->setRelatedToUid(QString::fromUtf8(icalproperty_get_relatedto(p))); |
931 | mEventsRelate.append(event); | 934 | mEventsRelate.append(event); |
932 | break; | 935 | break; |
933 | 936 | ||
934 | case ICAL_TRANSP_PROPERTY: // Transparency | 937 | case ICAL_TRANSP_PROPERTY: // Transparency |
935 | if(icalproperty_get_transp(p) == ICAL_TRANSP_TRANSPARENT ) | 938 | if(icalproperty_get_transp(p) == ICAL_TRANSP_TRANSPARENT ) |
936 | event->setTransparency( Event::Transparent ); | 939 | event->setTransparency( Event::Transparent ); |
937 | else | 940 | else |
938 | event->setTransparency( Event::Opaque ); | 941 | event->setTransparency( Event::Opaque ); |
939 | break; | 942 | break; |
940 | 943 | ||
941 | default: | 944 | default: |
942 | // kdDebug(5800) << "ICALFormat::readEvent(): Unknown property: " << kind | 945 | // kdDebug(5800) << "ICALFormat::readEvent(): Unknown property: " << kind |
943 | // << endl; | 946 | // << endl; |
944 | break; | 947 | break; |
945 | } | 948 | } |
946 | 949 | ||
947 | p = icalcomponent_get_next_property(vevent,ICAL_ANY_PROPERTY); | 950 | p = icalcomponent_get_next_property(vevent,ICAL_ANY_PROPERTY); |
948 | } | 951 | } |
949 | 952 | ||
950 | QString msade = event->nonKDECustomProperty("X-MICROSOFT-CDO-ALLDAYEVENT"); | 953 | QString msade = event->nonKDECustomProperty("X-MICROSOFT-CDO-ALLDAYEVENT"); |
951 | if (!msade.isNull()) { | 954 | if (!msade.isNull()) { |
952 | bool floats = (msade == QString::fromLatin1("TRUE")); | 955 | bool floats = (msade == QString::fromLatin1("TRUE")); |
953 | kdDebug(5800) << "ICALFormat::readEvent(): all day event: " << floats << endl; | 956 | kdDebug(5800) << "ICALFormat::readEvent(): all day event: " << floats << endl; |
954 | event->setFloats(floats); | 957 | event->setFloats(floats); |
955 | if (floats) { | 958 | if (floats) { |
956 | QDateTime endDate = event->dtEnd(); | 959 | QDateTime endDate = event->dtEnd(); |
957 | event->setDtEnd(endDate.addDays(-1)); | 960 | event->setDtEnd(endDate.addDays(-1)); |
958 | } | 961 | } |
959 | } | 962 | } |
960 | 963 | ||
961 | // some stupid vCal exporters ignore the standard and use Description | 964 | // some stupid vCal exporters ignore the standard and use Description |
962 | // instead of Summary for the default field. Correct for this. | 965 | // instead of Summary for the default field. Correct for this. |
963 | if (event->summary().isEmpty() && | 966 | if (event->summary().isEmpty() && |
964 | !(event->description().isEmpty())) { | 967 | !(event->description().isEmpty())) { |
965 | QString tmpStr = event->description().simplifyWhiteSpace(); | 968 | QString tmpStr = event->description().simplifyWhiteSpace(); |
966 | event->setDescription(""); | 969 | event->setDescription(""); |
967 | event->setSummary(tmpStr); | 970 | event->setSummary(tmpStr); |
968 | } | 971 | } |
969 | 972 | ||
970 | return event; | 973 | return event; |
971 | } | 974 | } |
972 | 975 | ||
973 | FreeBusy *ICalFormatImpl::readFreeBusy(icalcomponent *vfreebusy) | 976 | FreeBusy *ICalFormatImpl::readFreeBusy(icalcomponent *vfreebusy) |
974 | { | 977 | { |
975 | FreeBusy *freebusy = new FreeBusy; | 978 | FreeBusy *freebusy = new FreeBusy; |
976 | 979 | ||
977 | readIncidenceBase(vfreebusy,freebusy); | 980 | readIncidenceBase(vfreebusy,freebusy); |
978 | 981 | ||
979 | icalproperty *p = icalcomponent_get_first_property(vfreebusy,ICAL_ANY_PROPERTY); | 982 | icalproperty *p = icalcomponent_get_first_property(vfreebusy,ICAL_ANY_PROPERTY); |
980 | 983 | ||
981 | icaltimetype icaltime; | 984 | icaltimetype icaltime; |
982 | icalperiodtype icalperiod; | 985 | icalperiodtype icalperiod; |
983 | QDateTime period_start, period_end; | 986 | QDateTime period_start, period_end; |
984 | 987 | ||
985 | while (p) { | 988 | while (p) { |
986 | icalproperty_kind kind = icalproperty_isa(p); | 989 | icalproperty_kind kind = icalproperty_isa(p); |
987 | switch (kind) { | 990 | switch (kind) { |
988 | 991 | ||
989 | case ICAL_DTSTART_PROPERTY: // start date and time | 992 | case ICAL_DTSTART_PROPERTY: // start date and time |
990 | icaltime = icalproperty_get_dtstart(p); | 993 | icaltime = icalproperty_get_dtstart(p); |
991 | freebusy->setDtStart(readICalDateTime(icaltime)); | 994 | freebusy->setDtStart(readICalDateTime(icaltime)); |
992 | break; | 995 | break; |
993 | 996 | ||
994 | case ICAL_DTEND_PROPERTY: // start End Date and Time | 997 | case ICAL_DTEND_PROPERTY: // start End Date and Time |
995 | icaltime = icalproperty_get_dtend(p); | 998 | icaltime = icalproperty_get_dtend(p); |
996 | freebusy->setDtEnd(readICalDateTime(icaltime)); | 999 | freebusy->setDtEnd(readICalDateTime(icaltime)); |
997 | break; | 1000 | break; |
998 | 1001 | ||
999 | case ICAL_FREEBUSY_PROPERTY: //Any FreeBusy Times | 1002 | case ICAL_FREEBUSY_PROPERTY: //Any FreeBusy Times |
1000 | icalperiod = icalproperty_get_freebusy(p); | 1003 | icalperiod = icalproperty_get_freebusy(p); |
1001 | period_start = readICalDateTime(icalperiod.start); | 1004 | period_start = readICalDateTime(icalperiod.start); |
1002 | period_end = readICalDateTime(icalperiod.end); | 1005 | period_end = readICalDateTime(icalperiod.end); |
1003 | freebusy->addPeriod(period_start, period_end); | 1006 | freebusy->addPeriod(period_start, period_end); |
1004 | break; | 1007 | break; |
1005 | 1008 | ||
1006 | default: | 1009 | default: |
1007 | kdDebug(5800) << "ICALFormat::readIncidence(): Unknown property: " << kind | 1010 | kdDebug(5800) << "ICALFormat::readIncidence(): Unknown property: " << kind |
1008 | << endl; | 1011 | << endl; |
1009 | break; | 1012 | break; |
1010 | } | 1013 | } |
1011 | p = icalcomponent_get_next_property(vfreebusy,ICAL_ANY_PROPERTY); | 1014 | p = icalcomponent_get_next_property(vfreebusy,ICAL_ANY_PROPERTY); |
1012 | } | 1015 | } |
1013 | 1016 | ||
1014 | return freebusy; | 1017 | return freebusy; |
1015 | } | 1018 | } |
1016 | 1019 | ||
1017 | Journal *ICalFormatImpl::readJournal(icalcomponent *vjournal) | 1020 | Journal *ICalFormatImpl::readJournal(icalcomponent *vjournal) |
1018 | { | 1021 | { |
1019 | Journal *journal = new Journal; | 1022 | Journal *journal = new Journal; |
1020 | 1023 | ||
1021 | readIncidence(vjournal,journal); | 1024 | readIncidence(vjournal,journal); |
1022 | 1025 | ||
1023 | return journal; | 1026 | return journal; |
1024 | } | 1027 | } |
1025 | 1028 | ||
1026 | Attendee *ICalFormatImpl::readAttendee(icalproperty *attendee) | 1029 | Attendee *ICalFormatImpl::readAttendee(icalproperty *attendee) |
1027 | { | 1030 | { |
1028 | icalparameter *p = 0; | 1031 | icalparameter *p = 0; |
1029 | 1032 | ||
1030 | QString email = QString::fromUtf8(icalproperty_get_attendee(attendee)); | 1033 | QString email = QString::fromUtf8(icalproperty_get_attendee(attendee)); |
1031 | 1034 | ||
1032 | QString name; | 1035 | QString name; |
1033 | QString uid = QString::null; | 1036 | QString uid = QString::null; |
1034 | p = icalproperty_get_first_parameter(attendee,ICAL_CN_PARAMETER); | 1037 | p = icalproperty_get_first_parameter(attendee,ICAL_CN_PARAMETER); |
1035 | if (p) { | 1038 | if (p) { |
1036 | name = QString::fromUtf8(icalparameter_get_cn(p)); | 1039 | name = QString::fromUtf8(icalparameter_get_cn(p)); |
1037 | } else { | 1040 | } else { |
1038 | } | 1041 | } |
1039 | 1042 | ||
1040 | bool rsvp=false; | 1043 | bool rsvp=false; |
1041 | p = icalproperty_get_first_parameter(attendee,ICAL_RSVP_PARAMETER); | 1044 | p = icalproperty_get_first_parameter(attendee,ICAL_RSVP_PARAMETER); |
1042 | if (p) { | 1045 | if (p) { |
1043 | icalparameter_rsvp rsvpParameter = icalparameter_get_rsvp(p); | 1046 | icalparameter_rsvp rsvpParameter = icalparameter_get_rsvp(p); |
1044 | if (rsvpParameter == ICAL_RSVP_TRUE) rsvp = true; | 1047 | if (rsvpParameter == ICAL_RSVP_TRUE) rsvp = true; |
1045 | } | 1048 | } |
1046 | 1049 | ||
1047 | Attendee::PartStat status = Attendee::NeedsAction; | 1050 | Attendee::PartStat status = Attendee::NeedsAction; |
1048 | p = icalproperty_get_first_parameter(attendee,ICAL_PARTSTAT_PARAMETER); | 1051 | p = icalproperty_get_first_parameter(attendee,ICAL_PARTSTAT_PARAMETER); |
1049 | if (p) { | 1052 | if (p) { |
1050 | icalparameter_partstat partStatParameter = icalparameter_get_partstat(p); | 1053 | icalparameter_partstat partStatParameter = icalparameter_get_partstat(p); |
1051 | switch(partStatParameter) { | 1054 | switch(partStatParameter) { |
1052 | default: | 1055 | default: |
1053 | case ICAL_PARTSTAT_NEEDSACTION: | 1056 | case ICAL_PARTSTAT_NEEDSACTION: |
1054 | status = Attendee::NeedsAction; | 1057 | status = Attendee::NeedsAction; |
1055 | break; | 1058 | break; |
1056 | case ICAL_PARTSTAT_ACCEPTED: | 1059 | case ICAL_PARTSTAT_ACCEPTED: |
1057 | status = Attendee::Accepted; | 1060 | status = Attendee::Accepted; |
1058 | break; | 1061 | break; |
1059 | case ICAL_PARTSTAT_DECLINED: | 1062 | case ICAL_PARTSTAT_DECLINED: |
1060 | status = Attendee::Declined; | 1063 | status = Attendee::Declined; |
1061 | break; | 1064 | break; |
1062 | case ICAL_PARTSTAT_TENTATIVE: | 1065 | case ICAL_PARTSTAT_TENTATIVE: |
1063 | status = Attendee::Tentative; | 1066 | status = Attendee::Tentative; |
1064 | break; | 1067 | break; |
1065 | case ICAL_PARTSTAT_DELEGATED: | 1068 | case ICAL_PARTSTAT_DELEGATED: |
1066 | status = Attendee::Delegated; | 1069 | status = Attendee::Delegated; |
1067 | break; | 1070 | break; |
1068 | case ICAL_PARTSTAT_COMPLETED: | 1071 | case ICAL_PARTSTAT_COMPLETED: |
1069 | status = Attendee::Completed; | 1072 | status = Attendee::Completed; |
1070 | break; | 1073 | break; |
1071 | case ICAL_PARTSTAT_INPROCESS: | 1074 | case ICAL_PARTSTAT_INPROCESS: |
1072 | status = Attendee::InProcess; | 1075 | status = Attendee::InProcess; |
1073 | break; | 1076 | break; |
1074 | } | 1077 | } |
1075 | } | 1078 | } |
1076 | 1079 | ||
1077 | Attendee::Role role = Attendee::ReqParticipant; | 1080 | Attendee::Role role = Attendee::ReqParticipant; |
1078 | p = icalproperty_get_first_parameter(attendee,ICAL_ROLE_PARAMETER); | 1081 | p = icalproperty_get_first_parameter(attendee,ICAL_ROLE_PARAMETER); |
1079 | if (p) { | 1082 | if (p) { |
1080 | icalparameter_role roleParameter = icalparameter_get_role(p); | 1083 | icalparameter_role roleParameter = icalparameter_get_role(p); |
1081 | switch(roleParameter) { | 1084 | switch(roleParameter) { |
1082 | case ICAL_ROLE_CHAIR: | 1085 | case ICAL_ROLE_CHAIR: |
1083 | role = Attendee::Chair; | 1086 | role = Attendee::Chair; |
1084 | break; | 1087 | break; |
1085 | default: | 1088 | default: |
1086 | case ICAL_ROLE_REQPARTICIPANT: | 1089 | case ICAL_ROLE_REQPARTICIPANT: |
1087 | role = Attendee::ReqParticipant; | 1090 | role = Attendee::ReqParticipant; |
1088 | break; | 1091 | break; |
1089 | case ICAL_ROLE_OPTPARTICIPANT: | 1092 | case ICAL_ROLE_OPTPARTICIPANT: |
1090 | role = Attendee::OptParticipant; | 1093 | role = Attendee::OptParticipant; |
1091 | break; | 1094 | break; |
1092 | case ICAL_ROLE_NONPARTICIPANT: | 1095 | case ICAL_ROLE_NONPARTICIPANT: |
1093 | role = Attendee::NonParticipant; | 1096 | role = Attendee::NonParticipant; |
1094 | break; | 1097 | break; |
1095 | } | 1098 | } |
1096 | } | 1099 | } |
1097 | 1100 | ||
1098 | p = icalproperty_get_first_parameter(attendee,ICAL_X_PARAMETER); | 1101 | p = icalproperty_get_first_parameter(attendee,ICAL_X_PARAMETER); |
1099 | uid = icalparameter_get_xvalue(p); | 1102 | uid = icalparameter_get_xvalue(p); |
1100 | // This should be added, but there seems to be a libical bug here. | 1103 | // This should be added, but there seems to be a libical bug here. |
1101 | /*while (p) { | 1104 | /*while (p) { |
1102 | // if (icalparameter_get_xname(p) == "X-UID") { | 1105 | // if (icalparameter_get_xname(p) == "X-UID") { |
1103 | uid = icalparameter_get_xvalue(p); | 1106 | uid = icalparameter_get_xvalue(p); |
1104 | p = icalproperty_get_next_parameter(attendee,ICAL_X_PARAMETER); | 1107 | p = icalproperty_get_next_parameter(attendee,ICAL_X_PARAMETER); |
1105 | } */ | 1108 | } */ |
1106 | 1109 | ||
1107 | return new Attendee( name, email, rsvp, status, role, uid ); | 1110 | return new Attendee( name, email, rsvp, status, role, uid ); |
1108 | } | 1111 | } |
1109 | 1112 | ||
1110 | Attachment *ICalFormatImpl::readAttachment(icalproperty *attach) | 1113 | Attachment *ICalFormatImpl::readAttachment(icalproperty *attach) |
1111 | { | 1114 | { |
1112 | icalattach *a = icalproperty_get_attach(attach); | 1115 | icalattach *a = icalproperty_get_attach(attach); |
1113 | icalparameter_value v = ICAL_VALUE_NONE; | 1116 | icalparameter_value v = ICAL_VALUE_NONE; |
1114 | icalparameter_encoding e = ICAL_ENCODING_NONE; | 1117 | icalparameter_encoding e = ICAL_ENCODING_NONE; |
1115 | 1118 | ||
1116 | Attachment *attachment = 0; | 1119 | Attachment *attachment = 0; |
1117 | /* | 1120 | /* |
1118 | icalparameter *vp = icalproperty_get_first_parameter(attach, ICAL_VALUE_PARAMETER); | 1121 | icalparameter *vp = icalproperty_get_first_parameter(attach, ICAL_VALUE_PARAMETER); |
1119 | if (vp) | 1122 | if (vp) |
1120 | v = icalparameter_get_value(vp); | 1123 | v = icalparameter_get_value(vp); |
1121 | 1124 | ||
1122 | icalparameter *ep = icalproperty_get_first_parameter(attach, ICAL_ENCODING_PARAMETER); | 1125 | icalparameter *ep = icalproperty_get_first_parameter(attach, ICAL_ENCODING_PARAMETER); |
1123 | if (ep) | 1126 | if (ep) |
1124 | e = icalparameter_get_encoding(ep); | 1127 | e = icalparameter_get_encoding(ep); |
1125 | */ | 1128 | */ |
1126 | int isurl = icalattach_get_is_url (a); | 1129 | int isurl = icalattach_get_is_url (a); |
1127 | if (isurl == 0) | 1130 | if (isurl == 0) |
1128 | attachment = new Attachment((const char*)icalattach_get_data(a)); | 1131 | attachment = new Attachment((const char*)icalattach_get_data(a)); |
1129 | else { | 1132 | else { |
1130 | attachment = new Attachment(QString(icalattach_get_url(a))); | 1133 | attachment = new Attachment(QString(icalattach_get_url(a))); |
1131 | } | 1134 | } |
1132 | 1135 | ||
1133 | icalparameter *p = icalproperty_get_first_parameter(attach, ICAL_FMTTYPE_PARAMETER); | 1136 | icalparameter *p = icalproperty_get_first_parameter(attach, ICAL_FMTTYPE_PARAMETER); |
1134 | if (p) | 1137 | if (p) |
1135 | attachment->setMimeType(QString(icalparameter_get_fmttype(p))); | 1138 | attachment->setMimeType(QString(icalparameter_get_fmttype(p))); |
1136 | 1139 | ||
1137 | return attachment; | 1140 | return attachment; |
1138 | } | 1141 | } |
1139 | #include <qtextcodec.h> | 1142 | #include <qtextcodec.h> |
1140 | void ICalFormatImpl::readIncidence(icalcomponent *parent,Incidence *incidence) | 1143 | void ICalFormatImpl::readIncidence(icalcomponent *parent,Incidence *incidence) |
1141 | { | 1144 | { |
1142 | readIncidenceBase(parent,incidence); | 1145 | readIncidenceBase(parent,incidence); |
1143 | 1146 | ||
1144 | icalproperty *p = icalcomponent_get_first_property(parent,ICAL_ANY_PROPERTY); | 1147 | icalproperty *p = icalcomponent_get_first_property(parent,ICAL_ANY_PROPERTY); |
1145 | bool readrec = false; | 1148 | bool readrec = false; |
1146 | const char *text; | 1149 | const char *text; |
1147 | int intvalue; | 1150 | int intvalue; |
1148 | icaltimetype icaltime; | 1151 | icaltimetype icaltime; |
1149 | icaldurationtype icalduration; | 1152 | icaldurationtype icalduration; |
1150 | struct icalrecurrencetype rectype; | 1153 | struct icalrecurrencetype rectype; |
1151 | QStringList categories; | 1154 | QStringList categories; |
1152 | 1155 | ||
1153 | while (p) { | 1156 | while (p) { |
1154 | icalproperty_kind kind = icalproperty_isa(p); | 1157 | icalproperty_kind kind = icalproperty_isa(p); |
1155 | switch (kind) { | 1158 | switch (kind) { |
1156 | 1159 | ||
1157 | case ICAL_CREATED_PROPERTY: | 1160 | case ICAL_CREATED_PROPERTY: |
1158 | icaltime = icalproperty_get_created(p); | 1161 | icaltime = icalproperty_get_created(p); |
1159 | incidence->setCreated(readICalDateTime(icaltime)); | 1162 | incidence->setCreated(readICalDateTime(icaltime)); |
1160 | break; | 1163 | break; |
1161 | 1164 | ||
1162 | case ICAL_SEQUENCE_PROPERTY: // sequence | 1165 | case ICAL_SEQUENCE_PROPERTY: // sequence |
1163 | intvalue = icalproperty_get_sequence(p); | 1166 | intvalue = icalproperty_get_sequence(p); |
1164 | incidence->setRevision(intvalue); | 1167 | incidence->setRevision(intvalue); |
1165 | break; | 1168 | break; |
1166 | 1169 | ||
1167 | case ICAL_LASTMODIFIED_PROPERTY: // last modification date | 1170 | case ICAL_LASTMODIFIED_PROPERTY: // last modification date |
1168 | icaltime = icalproperty_get_lastmodified(p); | 1171 | icaltime = icalproperty_get_lastmodified(p); |
1169 | incidence->setLastModified(readICalDateTime(icaltime)); | 1172 | incidence->setLastModified(readICalDateTime(icaltime)); |
1170 | break; | 1173 | break; |
1171 | 1174 | ||
1172 | case ICAL_DTSTART_PROPERTY: // start date and time | 1175 | case ICAL_DTSTART_PROPERTY: // start date and time |
1173 | icaltime = icalproperty_get_dtstart(p); | 1176 | icaltime = icalproperty_get_dtstart(p); |
1174 | if (icaltime.is_date) { | 1177 | if (icaltime.is_date) { |
1175 | incidence->setDtStart(QDateTime(readICalDate(icaltime),QTime(0,0,0))); | 1178 | incidence->setDtStart(QDateTime(readICalDate(icaltime),QTime(0,0,0))); |
1176 | incidence->setFloats(true); | 1179 | incidence->setFloats(true); |
1177 | } else { | 1180 | } else { |
1178 | incidence->setDtStart(readICalDateTime(icaltime)); | 1181 | incidence->setDtStart(readICalDateTime(icaltime)); |
1179 | } | 1182 | } |
1180 | break; | 1183 | break; |
1181 | 1184 | ||
1182 | case ICAL_DURATION_PROPERTY: // start date and time | 1185 | case ICAL_DURATION_PROPERTY: // start date and time |
1183 | icalduration = icalproperty_get_duration(p); | 1186 | icalduration = icalproperty_get_duration(p); |
1184 | incidence->setDuration(readICalDuration(icalduration)); | 1187 | incidence->setDuration(readICalDuration(icalduration)); |
1185 | break; | 1188 | break; |
1186 | 1189 | ||
1187 | case ICAL_DESCRIPTION_PROPERTY: // description | 1190 | case ICAL_DESCRIPTION_PROPERTY: // description |
1188 | text = icalproperty_get_description(p); | 1191 | text = icalproperty_get_description(p); |
1189 | incidence->setDescription(QString::fromUtf8(text)); | 1192 | incidence->setDescription(QString::fromUtf8(text)); |
1190 | break; | 1193 | break; |
1191 | 1194 | ||
1192 | case ICAL_SUMMARY_PROPERTY: // summary | 1195 | case ICAL_SUMMARY_PROPERTY: // summary |
1193 | { | 1196 | { |
1194 | text = icalproperty_get_summary(p); | 1197 | text = icalproperty_get_summary(p); |
1195 | incidence->setSummary(QString::fromUtf8(text)); | 1198 | incidence->setSummary(QString::fromUtf8(text)); |
1196 | } | 1199 | } |
1197 | break; | 1200 | break; |
1198 | case ICAL_STATUS_PROPERTY: // summary | 1201 | case ICAL_STATUS_PROPERTY: // summary |
1199 | { | 1202 | { |
1200 | if ( ICAL_STATUS_CANCELLED == icalproperty_get_status(p) ) | 1203 | if ( ICAL_STATUS_CANCELLED == icalproperty_get_status(p) ) |
1201 | incidence->setCancelled( true ); | 1204 | incidence->setCancelled( true ); |
1202 | } | 1205 | } |
1203 | break; | 1206 | break; |
1204 | 1207 | ||
1205 | case ICAL_LOCATION_PROPERTY: // location | 1208 | case ICAL_LOCATION_PROPERTY: // location |
1206 | text = icalproperty_get_location(p); | 1209 | text = icalproperty_get_location(p); |
1207 | incidence->setLocation(QString::fromUtf8(text)); | 1210 | incidence->setLocation(QString::fromUtf8(text)); |
1208 | break; | 1211 | break; |
1209 | 1212 | ||
1210 | case ICAL_RECURRENCEID_PROPERTY: | 1213 | case ICAL_RECURRENCEID_PROPERTY: |
1211 | icaltime = icalproperty_get_recurrenceid(p); | 1214 | icaltime = icalproperty_get_recurrenceid(p); |
1212 | incidence->setRecurrenceID( readICalDateTime(icaltime) ); | 1215 | incidence->setRecurrenceID( readICalDateTime(icaltime) ); |
1213 | //qDebug(" RecurrenceID %s",incidence->recurrenceID().toString().latin1() ); | 1216 | //qDebug(" RecurrenceID %s",incidence->recurrenceID().toString().latin1() ); |
1214 | break; | 1217 | break; |
1215 | #if 0 | 1218 | #if 0 |
1216 | // status | 1219 | // status |
1217 | if ((vo = isAPropertyOf(vincidence, VCStatusProp)) != 0) { | 1220 | if ((vo = isAPropertyOf(vincidence, VCStatusProp)) != 0) { |
1218 | incidence->setStatus(s = fakeCString(vObjectUStringZValue(vo))); | 1221 | incidence->setStatus(s = fakeCString(vObjectUStringZValue(vo))); |
1219 | deleteStr(s); | 1222 | deleteStr(s); |
1220 | } | 1223 | } |
1221 | else | 1224 | else |
1222 | incidence->setStatus("NEEDS ACTION"); | 1225 | incidence->setStatus("NEEDS ACTION"); |
1223 | #endif | 1226 | #endif |
1224 | 1227 | ||
1225 | case ICAL_PRIORITY_PROPERTY: // priority | 1228 | case ICAL_PRIORITY_PROPERTY: // priority |
1226 | intvalue = icalproperty_get_priority(p); | 1229 | intvalue = icalproperty_get_priority(p); |
1227 | incidence->setPriority(intvalue); | 1230 | incidence->setPriority(intvalue); |
1228 | break; | 1231 | break; |
1229 | 1232 | ||
1230 | case ICAL_CATEGORIES_PROPERTY: // categories | 1233 | case ICAL_CATEGORIES_PROPERTY: // categories |
1231 | text = icalproperty_get_categories(p); | 1234 | text = icalproperty_get_categories(p); |
1232 | categories.append(QString::fromUtf8(text)); | 1235 | categories.append(QString::fromUtf8(text)); |
1233 | break; | 1236 | break; |
1234 | //******************************************* | 1237 | //******************************************* |
1235 | case ICAL_RRULE_PROPERTY: | 1238 | case ICAL_RRULE_PROPERTY: |
1236 | // we do need (maybe )start datetime of incidence for recurrence | 1239 | // we do need (maybe )start datetime of incidence for recurrence |
1237 | // such that we can read recurrence only after we read incidence completely | 1240 | // such that we can read recurrence only after we read incidence completely |
1238 | readrec = true; | 1241 | readrec = true; |
1239 | rectype = icalproperty_get_rrule(p); | 1242 | rectype = icalproperty_get_rrule(p); |
1240 | break; | 1243 | break; |
1241 | 1244 | ||
1242 | case ICAL_EXDATE_PROPERTY: | 1245 | case ICAL_EXDATE_PROPERTY: |
1243 | icaltime = icalproperty_get_exdate(p); | 1246 | icaltime = icalproperty_get_exdate(p); |
1244 | incidence->addExDate(readICalDate(icaltime)); | 1247 | incidence->addExDate(readICalDate(icaltime)); |
1245 | break; | 1248 | break; |
1246 | 1249 | ||
1247 | case ICAL_CLASS_PROPERTY: { | 1250 | case ICAL_CLASS_PROPERTY: { |
1248 | int inttext = icalproperty_get_class(p); | 1251 | int inttext = icalproperty_get_class(p); |
1249 | if (inttext == ICAL_CLASS_PUBLIC ) { | 1252 | if (inttext == ICAL_CLASS_PUBLIC ) { |
1250 | incidence->setSecrecy(Incidence::SecrecyPublic); | 1253 | incidence->setSecrecy(Incidence::SecrecyPublic); |
1251 | } else if (inttext == ICAL_CLASS_CONFIDENTIAL ) { | 1254 | } else if (inttext == ICAL_CLASS_CONFIDENTIAL ) { |
1252 | incidence->setSecrecy(Incidence::SecrecyConfidential); | 1255 | incidence->setSecrecy(Incidence::SecrecyConfidential); |
1253 | } else { | 1256 | } else { |
1254 | incidence->setSecrecy(Incidence::SecrecyPrivate); | 1257 | incidence->setSecrecy(Incidence::SecrecyPrivate); |
1255 | } | 1258 | } |
1256 | } | 1259 | } |
1257 | break; | 1260 | break; |
1258 | 1261 | ||
1259 | case ICAL_ATTACH_PROPERTY: // attachments | 1262 | case ICAL_ATTACH_PROPERTY: // attachments |
1260 | incidence->addAttachment(readAttachment(p)); | 1263 | incidence->addAttachment(readAttachment(p)); |
1261 | break; | 1264 | break; |
1262 | 1265 | ||
1263 | default: | 1266 | default: |
1264 | // kdDebug(5800) << "ICALFormat::readIncidence(): Unknown property: " << kind | 1267 | // kdDebug(5800) << "ICALFormat::readIncidence(): Unknown property: " << kind |
1265 | // << endl; | 1268 | // << endl; |
1266 | break; | 1269 | break; |
1267 | } | 1270 | } |
1268 | 1271 | ||
1269 | p = icalcomponent_get_next_property(parent,ICAL_ANY_PROPERTY); | 1272 | p = icalcomponent_get_next_property(parent,ICAL_ANY_PROPERTY); |
1270 | } | 1273 | } |
1271 | if ( readrec ) { | 1274 | if ( readrec ) { |
1272 | readRecurrenceRule(rectype,incidence); | 1275 | readRecurrenceRule(rectype,incidence); |
1273 | } | 1276 | } |
1274 | // kpilot stuff | 1277 | // kpilot stuff |
1275 | // TODO: move this application-specific code to kpilot | 1278 | // TODO: move this application-specific code to kpilot |
1276 | QString kp = incidence->nonKDECustomProperty("X-PILOTID"); | 1279 | QString kp = incidence->nonKDECustomProperty("X-PILOTID"); |
1277 | if (!kp.isNull()) { | 1280 | if (!kp.isNull()) { |
1278 | incidence->setPilotId(kp.toInt()); | 1281 | incidence->setPilotId(kp.toInt()); |
1279 | } | 1282 | } |
1280 | kp = incidence->nonKDECustomProperty("X-PILOTSTAT"); | 1283 | kp = incidence->nonKDECustomProperty("X-PILOTSTAT"); |
1281 | if (!kp.isNull()) { | 1284 | if (!kp.isNull()) { |
1282 | incidence->setSyncStatus(kp.toInt()); | 1285 | incidence->setSyncStatus(kp.toInt()); |
1283 | } | 1286 | } |
1284 | 1287 | ||
1285 | 1288 | ||
1286 | kp = incidence->nonKDECustomProperty("X-KOPIEXTID"); | 1289 | kp = incidence->nonKDECustomProperty("X-KOPIEXTID"); |
1287 | if (!kp.isNull()) { | 1290 | if (!kp.isNull()) { |
1288 | incidence->setIDStr(kp); | 1291 | incidence->setIDStr(kp); |
1289 | } | 1292 | } |
1290 | 1293 | ||
1291 | // Cancel backwards compatibility mode for subsequent changes by the application | 1294 | // Cancel backwards compatibility mode for subsequent changes by the application |
1292 | incidence->recurrence()->setCompatVersion(); | 1295 | incidence->recurrence()->setCompatVersion(); |
1293 | 1296 | ||
1294 | // add categories | 1297 | // add categories |
1295 | incidence->setCategories(categories); | 1298 | incidence->setCategories(categories); |
1296 | 1299 | ||
1297 | // iterate through all alarms | 1300 | // iterate through all alarms |
1298 | for (icalcomponent *alarm = icalcomponent_get_first_component(parent,ICAL_VALARM_COMPONENT); | 1301 | for (icalcomponent *alarm = icalcomponent_get_first_component(parent,ICAL_VALARM_COMPONENT); |
1299 | alarm; | 1302 | alarm; |
1300 | alarm = icalcomponent_get_next_component(parent,ICAL_VALARM_COMPONENT)) { | 1303 | alarm = icalcomponent_get_next_component(parent,ICAL_VALARM_COMPONENT)) { |
1301 | readAlarm(alarm,incidence); | 1304 | readAlarm(alarm,incidence); |
1302 | } | 1305 | } |
1303 | } | 1306 | } |
1304 | 1307 | ||
1305 | void ICalFormatImpl::readIncidenceBase(icalcomponent *parent,IncidenceBase *incidenceBase) | 1308 | void ICalFormatImpl::readIncidenceBase(icalcomponent *parent,IncidenceBase *incidenceBase) |
1306 | { | 1309 | { |
1307 | icalproperty *p = icalcomponent_get_first_property(parent,ICAL_ANY_PROPERTY); | 1310 | icalproperty *p = icalcomponent_get_first_property(parent,ICAL_ANY_PROPERTY); |
1308 | 1311 | ||
1309 | while (p) { | 1312 | while (p) { |
1310 | icalproperty_kind kind = icalproperty_isa(p); | 1313 | icalproperty_kind kind = icalproperty_isa(p); |
1311 | switch (kind) { | 1314 | switch (kind) { |
1312 | 1315 | ||
1313 | case ICAL_UID_PROPERTY: // unique id | 1316 | case ICAL_UID_PROPERTY: // unique id |
1314 | incidenceBase->setUid(QString::fromUtf8(icalproperty_get_uid(p))); | 1317 | incidenceBase->setUid(QString::fromUtf8(icalproperty_get_uid(p))); |
1315 | break; | 1318 | break; |
1316 | 1319 | ||
1317 | case ICAL_ORGANIZER_PROPERTY: // organizer | 1320 | case ICAL_ORGANIZER_PROPERTY: // organizer |
1318 | incidenceBase->setOrganizer(QString::fromUtf8(icalproperty_get_organizer(p))); | 1321 | incidenceBase->setOrganizer(QString::fromUtf8(icalproperty_get_organizer(p))); |
1319 | break; | 1322 | break; |
1320 | 1323 | ||
1321 | case ICAL_ATTENDEE_PROPERTY: // attendee | 1324 | case ICAL_ATTENDEE_PROPERTY: // attendee |
1322 | incidenceBase->addAttendee(readAttendee(p)); | 1325 | incidenceBase->addAttendee(readAttendee(p)); |
1323 | break; | 1326 | break; |
1324 | 1327 | ||
1325 | default: | 1328 | default: |
1326 | break; | 1329 | break; |
1327 | } | 1330 | } |
1328 | 1331 | ||
1329 | p = icalcomponent_get_next_property(parent,ICAL_ANY_PROPERTY); | 1332 | p = icalcomponent_get_next_property(parent,ICAL_ANY_PROPERTY); |
1330 | } | 1333 | } |
1331 | 1334 | ||
1332 | // custom properties | 1335 | // custom properties |
1333 | readCustomProperties(parent, incidenceBase); | 1336 | readCustomProperties(parent, incidenceBase); |
1334 | } | 1337 | } |
1335 | 1338 | ||
1336 | void ICalFormatImpl::readCustomProperties(icalcomponent *parent,CustomProperties *properties) | 1339 | void ICalFormatImpl::readCustomProperties(icalcomponent *parent,CustomProperties *properties) |
1337 | { | 1340 | { |
1338 | QMap<QCString, QString> customProperties; | 1341 | QMap<QCString, QString> customProperties; |
1339 | 1342 | ||
1340 | icalproperty *p = icalcomponent_get_first_property(parent,ICAL_X_PROPERTY); | 1343 | icalproperty *p = icalcomponent_get_first_property(parent,ICAL_X_PROPERTY); |
1341 | 1344 | ||
1342 | while (p) { | 1345 | while (p) { |
1343 | QString value = QString::fromUtf8(icalproperty_get_x(p)); | 1346 | QString value = QString::fromUtf8(icalproperty_get_x(p)); |
1344 | customProperties[icalproperty_get_x_name(p)] = value; | 1347 | customProperties[icalproperty_get_x_name(p)] = value; |
1345 | //qDebug("ICalFormatImpl::readCustomProperties %s %s",value.latin1(), icalproperty_get_x_name(p) ); | 1348 | //qDebug("ICalFormatImpl::readCustomProperties %s %s",value.latin1(), icalproperty_get_x_name(p) ); |
1346 | 1349 | ||
1347 | p = icalcomponent_get_next_property(parent,ICAL_X_PROPERTY); | 1350 | p = icalcomponent_get_next_property(parent,ICAL_X_PROPERTY); |
1348 | } | 1351 | } |
1349 | 1352 | ||
1350 | properties->setCustomProperties(customProperties); | 1353 | properties->setCustomProperties(customProperties); |
1351 | } | 1354 | } |
1352 | 1355 | ||
1353 | void ICalFormatImpl::readRecurrenceRule(struct icalrecurrencetype rrule,Incidence *incidence) | 1356 | void ICalFormatImpl::readRecurrenceRule(struct icalrecurrencetype rrule,Incidence *incidence) |
1354 | { | 1357 | { |
1355 | // kdDebug(5800) << "Read recurrence for " << incidence->summary() << endl; | 1358 | // kdDebug(5800) << "Read recurrence for " << incidence->summary() << endl; |
1356 | 1359 | ||
1357 | Recurrence *recur = incidence->recurrence(); | 1360 | Recurrence *recur = incidence->recurrence(); |
1358 | recur->setCompatVersion(mCalendarVersion); | 1361 | recur->setCompatVersion(mCalendarVersion); |
1359 | recur->unsetRecurs(); | 1362 | recur->unsetRecurs(); |
1360 | 1363 | ||
1361 | struct icalrecurrencetype r = rrule; | 1364 | struct icalrecurrencetype r = rrule; |
1362 | 1365 | ||
1363 | dumpIcalRecurrence(r); | 1366 | dumpIcalRecurrence(r); |
1364 | readRecurrence( r, recur, incidence); | 1367 | readRecurrence( r, recur, incidence); |
1365 | } | 1368 | } |
1366 | 1369 | ||
1367 | void ICalFormatImpl::readRecurrence( const struct icalrecurrencetype &r, Recurrence* recur, Incidence *incidence) | 1370 | void ICalFormatImpl::readRecurrence( const struct icalrecurrencetype &r, Recurrence* recur, Incidence *incidence) |
1368 | { | 1371 | { |
1369 | int wkst; | 1372 | int wkst; |
1370 | int index = 0; | 1373 | int index = 0; |
1371 | short day = 0; | 1374 | short day = 0; |
1372 | QBitArray qba(7); | 1375 | QBitArray qba(7); |
1373 | int frequ = r.freq; | 1376 | int frequ = r.freq; |
1374 | int interv = r.interval; | 1377 | int interv = r.interval; |
1375 | // preprocessing for odd recurrence definitions | 1378 | // preprocessing for odd recurrence definitions |
1376 | 1379 | ||
1377 | if ( r.freq == ICAL_MONTHLY_RECURRENCE ) { | 1380 | if ( r.freq == ICAL_MONTHLY_RECURRENCE ) { |
1378 | if ( r.by_month[0] != ICAL_RECURRENCE_ARRAY_MAX) { | 1381 | if ( r.by_month[0] != ICAL_RECURRENCE_ARRAY_MAX) { |
1379 | interv = 12; | 1382 | interv = 12; |
1380 | } | 1383 | } |
1381 | } | 1384 | } |
1382 | if ( r.freq == ICAL_YEARLY_RECURRENCE ) { | 1385 | if ( r.freq == ICAL_YEARLY_RECURRENCE ) { |
1383 | if ( r.by_month[0] != ICAL_RECURRENCE_ARRAY_MAX && r.by_day[0] != ICAL_RECURRENCE_ARRAY_MAX ) { | 1386 | if ( r.by_month[0] != ICAL_RECURRENCE_ARRAY_MAX && r.by_day[0] != ICAL_RECURRENCE_ARRAY_MAX ) { |
1384 | frequ = ICAL_MONTHLY_RECURRENCE; | 1387 | frequ = ICAL_MONTHLY_RECURRENCE; |
1385 | interv = 12* r.interval; | 1388 | interv = 12* r.interval; |
1386 | } | 1389 | } |
1387 | } | 1390 | } |
1388 | 1391 | ||
1389 | switch (frequ) { | 1392 | switch (frequ) { |
1390 | case ICAL_MINUTELY_RECURRENCE: | 1393 | case ICAL_MINUTELY_RECURRENCE: |
1391 | if (!icaltime_is_null_time(r.until)) { | 1394 | if (!icaltime_is_null_time(r.until)) { |
1392 | recur->setMinutely(interv,readICalDateTime(r.until)); | 1395 | recur->setMinutely(interv,readICalDateTime(r.until)); |
1393 | } else { | 1396 | } else { |
1394 | if (r.count == 0) | 1397 | if (r.count == 0) |
1395 | recur->setMinutely(interv,-1); | 1398 | recur->setMinutely(interv,-1); |
1396 | else | 1399 | else |
1397 | recur->setMinutely(interv,r.count); | 1400 | recur->setMinutely(interv,r.count); |
1398 | } | 1401 | } |
1399 | break; | 1402 | break; |
1400 | case ICAL_HOURLY_RECURRENCE: | 1403 | case ICAL_HOURLY_RECURRENCE: |
1401 | if (!icaltime_is_null_time(r.until)) { | 1404 | if (!icaltime_is_null_time(r.until)) { |
1402 | recur->setHourly(interv,readICalDateTime(r.until)); | 1405 | recur->setHourly(interv,readICalDateTime(r.until)); |
1403 | } else { | 1406 | } else { |
1404 | if (r.count == 0) | 1407 | if (r.count == 0) |
1405 | recur->setHourly(interv,-1); | 1408 | recur->setHourly(interv,-1); |
1406 | else | 1409 | else |
1407 | recur->setHourly(interv,r.count); | 1410 | recur->setHourly(interv,r.count); |
1408 | } | 1411 | } |
1409 | break; | 1412 | break; |
1410 | case ICAL_DAILY_RECURRENCE: | 1413 | case ICAL_DAILY_RECURRENCE: |
1411 | if (!icaltime_is_null_time(r.until)) { | 1414 | if (!icaltime_is_null_time(r.until)) { |
1412 | recur->setDaily(interv,readICalDate(r.until)); | 1415 | recur->setDaily(interv,readICalDate(r.until)); |
1413 | } else { | 1416 | } else { |
1414 | if (r.count == 0) | 1417 | if (r.count == 0) |
1415 | recur->setDaily(interv,-1); | 1418 | recur->setDaily(interv,-1); |
1416 | else | 1419 | else |
1417 | recur->setDaily(interv,r.count); | 1420 | recur->setDaily(interv,r.count); |
1418 | } | 1421 | } |
1419 | break; | 1422 | break; |
1420 | case ICAL_WEEKLY_RECURRENCE: | 1423 | case ICAL_WEEKLY_RECURRENCE: |
1421 | // kdDebug(5800) << "WEEKLY_RECURRENCE" << endl; | 1424 | // kdDebug(5800) << "WEEKLY_RECURRENCE" << endl; |
1422 | wkst = (r.week_start + 5)%7 + 1; | 1425 | wkst = (r.week_start + 5)%7 + 1; |
1423 | if (!icaltime_is_null_time(r.until)) { | 1426 | if (!icaltime_is_null_time(r.until)) { |
1424 | recur->setWeekly(interv,qba,readICalDate(r.until),wkst); | 1427 | recur->setWeekly(interv,qba,readICalDate(r.until),wkst); |
1425 | } else { | 1428 | } else { |
1426 | if (r.count == 0) | 1429 | if (r.count == 0) |
1427 | recur->setWeekly(interv,qba,-1,wkst); | 1430 | recur->setWeekly(interv,qba,-1,wkst); |
1428 | else | 1431 | else |
1429 | recur->setWeekly(interv,qba,r.count,wkst); | 1432 | recur->setWeekly(interv,qba,r.count,wkst); |
1430 | } | 1433 | } |
1431 | if ( r.by_day[0] == ICAL_RECURRENCE_ARRAY_MAX) { | 1434 | if ( r.by_day[0] == ICAL_RECURRENCE_ARRAY_MAX) { |
1432 | int wday = incidence->dtStart().date().dayOfWeek ()-1; | 1435 | int wday = incidence->dtStart().date().dayOfWeek ()-1; |
1433 | //qDebug("weekly error found "); | 1436 | //qDebug("weekly error found "); |
1434 | qba.setBit(wday); | 1437 | qba.setBit(wday); |
1435 | } else { | 1438 | } else { |
1436 | while((day = r.by_day[index++]) != ICAL_RECURRENCE_ARRAY_MAX) { | 1439 | while((day = r.by_day[index++]) != ICAL_RECURRENCE_ARRAY_MAX) { |
1437 | // kdDebug(5800) << " " << day << endl; | 1440 | // kdDebug(5800) << " " << day << endl; |
1438 | qba.setBit((day+5)%7); // convert from Sunday=1 to Monday=0 | 1441 | qba.setBit((day+5)%7); // convert from Sunday=1 to Monday=0 |
1439 | } | 1442 | } |
1440 | } | 1443 | } |
1441 | break; | 1444 | break; |
1442 | case ICAL_MONTHLY_RECURRENCE: | 1445 | case ICAL_MONTHLY_RECURRENCE: |
1443 | 1446 | ||
1444 | if (r.by_day[0] != ICAL_RECURRENCE_ARRAY_MAX) { | 1447 | if (r.by_day[0] != ICAL_RECURRENCE_ARRAY_MAX) { |
1445 | if (!icaltime_is_null_time(r.until)) { | 1448 | if (!icaltime_is_null_time(r.until)) { |
1446 | recur->setMonthly(Recurrence::rMonthlyPos,interv, | 1449 | recur->setMonthly(Recurrence::rMonthlyPos,interv, |
1447 | readICalDate(r.until)); | 1450 | readICalDate(r.until)); |
1448 | } else { | 1451 | } else { |
1449 | if (r.count == 0) | 1452 | if (r.count == 0) |
1450 | recur->setMonthly(Recurrence::rMonthlyPos,interv,-1); | 1453 | recur->setMonthly(Recurrence::rMonthlyPos,interv,-1); |
1451 | else | 1454 | else |
1452 | recur->setMonthly(Recurrence::rMonthlyPos,interv,r.count); | 1455 | recur->setMonthly(Recurrence::rMonthlyPos,interv,r.count); |
1453 | } | 1456 | } |
1454 | bool useSetPos = false; | 1457 | bool useSetPos = false; |
1455 | short pos = 0; | 1458 | short pos = 0; |
1456 | while((day = r.by_day[index++]) != ICAL_RECURRENCE_ARRAY_MAX) { | 1459 | while((day = r.by_day[index++]) != ICAL_RECURRENCE_ARRAY_MAX) { |
1457 | // kdDebug(5800) << "----a " << index << ": " << day << endl; | 1460 | // kdDebug(5800) << "----a " << index << ": " << day << endl; |
1458 | pos = icalrecurrencetype_day_position(day); | 1461 | pos = icalrecurrencetype_day_position(day); |
1459 | if (pos) { | 1462 | if (pos) { |
1460 | day = icalrecurrencetype_day_day_of_week(day); | 1463 | day = icalrecurrencetype_day_day_of_week(day); |
1461 | QBitArray ba(7); // don't wipe qba | 1464 | QBitArray ba(7); // don't wipe qba |
1462 | ba.setBit((day+5)%7); // convert from Sunday=1 to Monday=0 | 1465 | ba.setBit((day+5)%7); // convert from Sunday=1 to Monday=0 |
1463 | recur->addMonthlyPos(pos,ba); | 1466 | recur->addMonthlyPos(pos,ba); |
1464 | } else { | 1467 | } else { |
1465 | qba.setBit((day+5)%7); // convert from Sunday=1 to Monday=0 | 1468 | qba.setBit((day+5)%7); // convert from Sunday=1 to Monday=0 |
1466 | useSetPos = true; | 1469 | useSetPos = true; |
1467 | } | 1470 | } |
1468 | } | 1471 | } |
1469 | if (useSetPos) { | 1472 | if (useSetPos) { |
1470 | if (r.by_set_pos[0] != ICAL_RECURRENCE_ARRAY_MAX) { | 1473 | if (r.by_set_pos[0] != ICAL_RECURRENCE_ARRAY_MAX) { |
1471 | recur->addMonthlyPos(r.by_set_pos[0],qba); | 1474 | recur->addMonthlyPos(r.by_set_pos[0],qba); |
1472 | } | 1475 | } |
1473 | } | 1476 | } |
1474 | } else if (r.by_month_day[0] != ICAL_RECURRENCE_ARRAY_MAX) { | 1477 | } else if (r.by_month_day[0] != ICAL_RECURRENCE_ARRAY_MAX) { |
1475 | if (!icaltime_is_null_time(r.until)) { | 1478 | if (!icaltime_is_null_time(r.until)) { |
1476 | recur->setMonthly(Recurrence::rMonthlyDay,interv, | 1479 | recur->setMonthly(Recurrence::rMonthlyDay,interv, |
1477 | readICalDate(r.until)); | 1480 | readICalDate(r.until)); |
1478 | } else { | 1481 | } else { |
1479 | if (r.count == 0) | 1482 | if (r.count == 0) |
1480 | recur->setMonthly(Recurrence::rMonthlyDay,interv,-1); | 1483 | recur->setMonthly(Recurrence::rMonthlyDay,interv,-1); |
1481 | else | 1484 | else |
1482 | recur->setMonthly(Recurrence::rMonthlyDay,interv,r.count); | 1485 | recur->setMonthly(Recurrence::rMonthlyDay,interv,r.count); |
1483 | } | 1486 | } |
1484 | while((day = r.by_month_day[index++]) != ICAL_RECURRENCE_ARRAY_MAX) { | 1487 | while((day = r.by_month_day[index++]) != ICAL_RECURRENCE_ARRAY_MAX) { |
1485 | // kdDebug(5800) << "----b " << day << endl; | 1488 | // kdDebug(5800) << "----b " << day << endl; |
1486 | recur->addMonthlyDay(day); | 1489 | recur->addMonthlyDay(day); |
1487 | } | 1490 | } |
1488 | } | 1491 | } |
1489 | break; | 1492 | break; |
1490 | case ICAL_YEARLY_RECURRENCE: | 1493 | case ICAL_YEARLY_RECURRENCE: |
diff --git a/libkdepim/kcmconfigs/kdepimconfigwidget.cpp b/libkdepim/kcmconfigs/kdepimconfigwidget.cpp index 753d90a..fbfbc45 100644 --- a/libkdepim/kcmconfigs/kdepimconfigwidget.cpp +++ b/libkdepim/kcmconfigs/kdepimconfigwidget.cpp | |||
@@ -1,885 +1,924 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of KdePim/Pi. | 2 | This file is part of KdePim/Pi. |
3 | Copyright (c) 2004 Ulf Schenk | 3 | Copyright (c) 2004 Ulf Schenk |
4 | 4 | ||
5 | This program is free software; you can redistribute it and/or modify | 5 | This program is free software; you can redistribute it and/or modify |
6 | it under the terms of the GNU General Public License as published by | 6 | it under the terms of the GNU General Public License as published by |
7 | the Free Software Foundation; either version 2 of the License, or | 7 | the Free Software Foundation; either version 2 of the License, or |
8 | (at your option) any later version. | 8 | (at your option) any later version. |
9 | 9 | ||
10 | This program is distributed in the hope that it will be useful, | 10 | This program is distributed in the hope that it will be useful, |
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
13 | GNU General Public License for more details. | 13 | GNU General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU General Public License | 15 | You should have received a copy of the GNU General Public License |
16 | along with this program; if not, write to the Free Software | 16 | along with this program; if not, write to the Free Software |
17 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 17 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
18 | 18 | ||
19 | As a special exception, permission is given to link this program | 19 | As a special exception, permission is given to link this program |
20 | with any edition of Qt, and distribute the resulting executable, | 20 | with any edition of Qt, and distribute the resulting executable, |
21 | without including the source code for Qt in the source distribution. | 21 | without including the source code for Qt in the source distribution. |
22 | */ | 22 | */ |
23 | 23 | ||
24 | /* | 24 | /* |
25 | Enhanced Version of the file for platform independent KDE tools. | 25 | Enhanced Version of the file for platform independent KDE tools. |
26 | Copyright (c) 2004 Ulf Schenk | 26 | Copyright (c) 2004 Ulf Schenk |
27 | 27 | ||
28 | $Id$ | 28 | $Id$ |
29 | */ | 29 | */ |
30 | 30 | ||
31 | #include <qlayout.h> | 31 | #include <qlayout.h> |
32 | #include <qtabwidget.h> | 32 | #include <qtabwidget.h> |
33 | #include <qcombobox.h> | 33 | #include <qcombobox.h> |
34 | #include <qgroupbox.h> | 34 | #include <qgroupbox.h> |
35 | #include <qlabel.h> | 35 | #include <qlabel.h> |
36 | #include <qlineedit.h> | 36 | #include <qlineedit.h> |
37 | #include <qbuttongroup.h> | 37 | #include <qbuttongroup.h> |
38 | #include <qcheckbox.h> | ||
38 | #include <qfile.h> | 39 | #include <qfile.h> |
39 | #include <qvbox.h> | 40 | #include <qvbox.h> |
40 | #include <qdir.h> | 41 | #include <qdir.h> |
41 | #include <qregexp.h> | 42 | #include <qregexp.h> |
43 | #include <qspinbox.h> | ||
42 | 44 | ||
43 | #include <kdialog.h> | 45 | #include <kdialog.h> |
44 | #include <kprefsdialog.h> | 46 | #include <kprefsdialog.h> |
45 | #include <klocale.h> | 47 | #include <klocale.h> |
48 | #include <kglobalsettings.h> | ||
46 | #include <kdateedit.h> | 49 | #include <kdateedit.h> |
47 | #include <kglobal.h> | 50 | #include <kglobal.h> |
48 | #include <stdlib.h> | 51 | #include <stdlib.h> |
49 | 52 | ||
50 | /*US | 53 | /*US |
51 | #include <qcheckbox.h> | 54 | #include <qcheckbox.h> |
52 | #include <qframe.h> | 55 | #include <qframe.h> |
53 | #include <qpushbutton.h> | 56 | #include <qpushbutton.h> |
54 | #include <qcombobox.h> | 57 | #include <qcombobox.h> |
55 | #include <qlineedit.h> | 58 | #include <qlineedit.h> |
56 | #include <qlabel.h> | 59 | #include <qlabel.h> |
57 | #include <qfile.h> | 60 | #include <qfile.h> |
58 | 61 | ||
59 | #include <kconfig.h> | 62 | #include <kconfig.h> |
60 | #include <kdebug.h> | 63 | #include <kdebug.h> |
61 | #include <kdialog.h> | 64 | #include <kdialog.h> |
62 | #include <klistview.h> | 65 | #include <klistview.h> |
63 | #include <klocale.h> | 66 | #include <klocale.h> |
64 | #include <kglobal.h> | 67 | #include <kglobal.h> |
65 | #include <kmessagebox.h> | 68 | #include <kmessagebox.h> |
66 | #include <kstandarddirs.h> | 69 | #include <kstandarddirs.h> |
67 | 70 | ||
68 | #ifndef KAB_EMBEDDED | 71 | #ifndef KAB_EMBEDDED |
69 | #include <ktrader.h> | 72 | #include <ktrader.h> |
70 | #else // KAB_EMBEDDED | 73 | #else // KAB_EMBEDDED |
71 | #include <mergewidget.h> | 74 | #include <mergewidget.h> |
72 | #include <distributionlistwidget.h> | 75 | #include <distributionlistwidget.h> |
73 | #endif // KAB_EMBEDDED | 76 | #endif // KAB_EMBEDDED |
74 | 77 | ||
75 | #include "addresseewidget.h" | 78 | #include "addresseewidget.h" |
76 | #include "extensionconfigdialog.h" | 79 | #include "extensionconfigdialog.h" |
77 | #include "extensionwidget.h" | 80 | #include "extensionwidget.h" |
78 | */ | 81 | */ |
79 | 82 | ||
80 | #include "qapplication.h" | 83 | #include "qapplication.h" |
81 | 84 | ||
82 | #include "kpimglobalprefs.h" | 85 | #include "kpimglobalprefs.h" |
83 | 86 | ||
84 | #include "kdepimconfigwidget.h" | 87 | #include "kdepimconfigwidget.h" |
85 | #include <kprefs.h> | 88 | #include <kprefs.h> |
86 | #include <kmessagebox.h> | 89 | #include <kmessagebox.h> |
87 | 90 | ||
88 | 91 | ||
89 | KDEPIMConfigWidget::KDEPIMConfigWidget(KPimGlobalPrefs *prefs, QWidget *parent, const char *name ) | 92 | KDEPIMConfigWidget::KDEPIMConfigWidget(KPimGlobalPrefs *prefs, QWidget *parent, const char *name ) |
90 | : KPrefsWidget(prefs, parent, name ) | 93 | : KPrefsWidget(prefs, parent, name ) |
91 | { | 94 | { |
92 | mExternalAppsMap.insert(ExternalAppHandler::EMAIL, i18n("Email")); | 95 | mExternalAppsMap.insert(ExternalAppHandler::EMAIL, i18n("Email")); |
93 | mExternalAppsMap.insert(ExternalAppHandler::PHONE, i18n("Phone")); | 96 | mExternalAppsMap.insert(ExternalAppHandler::PHONE, i18n("Phone")); |
94 | mExternalAppsMap.insert(ExternalAppHandler::SMS, i18n("SMS")); | 97 | mExternalAppsMap.insert(ExternalAppHandler::SMS, i18n("SMS")); |
95 | mExternalAppsMap.insert(ExternalAppHandler::FAX, i18n("Fax")); | 98 | mExternalAppsMap.insert(ExternalAppHandler::FAX, i18n("Fax")); |
96 | mExternalAppsMap.insert(ExternalAppHandler::PAGER, i18n("Pager")); | 99 | mExternalAppsMap.insert(ExternalAppHandler::PAGER, i18n("Pager")); |
97 | mExternalAppsMap.insert(ExternalAppHandler::SIP, i18n("SIP")); | 100 | mExternalAppsMap.insert(ExternalAppHandler::SIP, i18n("SIP")); |
98 | 101 | ||
99 | 102 | ||
100 | QVBoxLayout *topLayout = new QVBoxLayout( this, 0, | 103 | QVBoxLayout *topLayout = new QVBoxLayout( this, 0, |
101 | KDialog::spacingHint() ); | 104 | KDialog::spacingHint() ); |
102 | 105 | ||
103 | tabWidget = new QTabWidget( this ); | 106 | tabWidget = new QTabWidget( this ); |
104 | topLayout->addWidget( tabWidget ); | 107 | topLayout->addWidget( tabWidget ); |
105 | 108 | ||
106 | 109 | ||
107 | setupLocaleTab(); | 110 | setupLocaleTab(); |
108 | setupLocaleDateTab(); | 111 | setupLocaleDateTab(); |
109 | setupTimeZoneTab(); | 112 | setupTimeZoneTab(); |
110 | setupExternalAppTab(); | 113 | setupExternalAppTab(); |
111 | setupStoreTab(); | 114 | setupStoreTab(); |
112 | 115 | setupBackupTab(); | |
113 | } | 116 | } |
114 | void KDEPIMConfigWidget::showTimeZoneTab() | 117 | void KDEPIMConfigWidget::showTimeZoneTab() |
115 | { | 118 | { |
116 | tabWidget->setCurrentPage ( 3 ) ; | 119 | tabWidget->setCurrentPage ( 3 ) ; |
117 | } | 120 | } |
121 | void KDEPIMConfigWidget::setupBackupTab() | ||
122 | { | ||
123 | QVBox *colorPage = new QVBox( this ); | ||
124 | tabWidget->addTab( colorPage, i18n( "Backup" ) ); | ||
125 | QWidget* topFrame = new QWidget( colorPage ); | ||
126 | QVBoxLayout *topLayout = new QVBoxLayout(topFrame); | ||
127 | KPrefsWidBool *sb = addWidBool(i18n("Backup enabled"), | ||
128 | &(KPimGlobalPrefs::instance()->mBackupEnabled),topFrame); | ||
129 | topLayout->addWidget((QWidget*)sb->checkBox()); | ||
130 | QWidget* bupFrame = new QWidget( topFrame ); | ||
131 | topLayout->addWidget((bupFrame)); | ||
132 | QObject::connect ( sb->checkBox(), SIGNAL (toggled ( bool ) ), bupFrame, SLOT ( setEnabled( bool ) ) ); | ||
133 | QVBoxLayout *bupLayout = new QVBoxLayout(bupFrame); | ||
134 | sb = addWidBool(i18n("Use standard backup dir"), | ||
135 | &(KPimGlobalPrefs::instance()->mBackupEnabled),bupFrame); | ||
136 | bupLayout->addWidget((QWidget*)sb->checkBox()); | ||
137 | mBackupUrl = new KURLRequester( bupFrame ); | ||
138 | mBackupUrl->setURL( KGlobalSettings::backupDataDir() ); | ||
139 | QObject::connect ( sb->checkBox(), SIGNAL (toggled ( bool ) ), mBackupUrl ,SLOT ( setDisabled( bool ) ) ); | ||
140 | bupLayout->addWidget( mBackupUrl ); | ||
141 | |||
142 | |||
143 | QHBox *dummy = new QHBox(bupFrame); | ||
144 | new QLabel(i18n("Number of Backups:"),dummy); | ||
145 | mBackupNumbersSpin = new QSpinBox(1,21,1,dummy); | ||
146 | new QLabel(i18n(" "),dummy); | ||
147 | bupLayout->addWidget( dummy ); | ||
148 | |||
149 | dummy = new QHBox(bupFrame); | ||
150 | new QLabel(i18n("Make backup every "),dummy); | ||
151 | mBackupDayCountSpin = new QSpinBox(1,28,1,dummy); | ||
152 | new QLabel(i18n(" days"),dummy); | ||
153 | new QLabel(i18n(" "),dummy); | ||
154 | bupLayout->addWidget( dummy ); | ||
155 | |||
156 | } | ||
118 | void KDEPIMConfigWidget::setupStoreTab() | 157 | void KDEPIMConfigWidget::setupStoreTab() |
119 | { | 158 | { |
120 | QVBox *colorPage = new QVBox( this ); | 159 | QVBox *colorPage = new QVBox( this ); |
121 | tabWidget->addTab( colorPage, i18n( "Colors" ) ); | 160 | tabWidget->addTab( colorPage, i18n( "Colors" ) ); |
122 | QWidget* cw = new QWidget( colorPage ); | 161 | QWidget* cw = new QWidget( colorPage ); |
123 | KPrefsWidColor *holidayColor = | 162 | KPrefsWidColor *holidayColor = |
124 | addWidColor(i18n("Alternating background of list views"), | 163 | addWidColor(i18n("Alternating background of list views"), |
125 | &(KPimGlobalPrefs::instance()->mAlternateColor),cw); | 164 | &(KPimGlobalPrefs::instance()->mAlternateColor),cw); |
126 | QHBoxLayout *topLayout = new QHBoxLayout(cw); | 165 | QHBoxLayout *topLayout = new QHBoxLayout(cw); |
127 | topLayout->addWidget(holidayColor->label()); | 166 | topLayout->addWidget(holidayColor->label()); |
128 | topLayout->addWidget( (QWidget* )holidayColor->button()); | 167 | topLayout->addWidget( (QWidget* )holidayColor->button()); |
129 | 168 | ||
130 | 169 | ||
131 | QVBox *storePage = new QVBox( this ); | 170 | QVBox *storePage = new QVBox( this ); |
132 | new QLabel( i18n("Your current storage dir is:\n%1\nYour mail is stored in:\n(storagedir)/apps/kopiemail/localmail").arg(KGlobal::dirs()->localkdedir()), storePage ); | 171 | new QLabel( i18n("Your current storage dir is:\n%1\nYour mail is stored in:\n(storagedir)/apps/kopiemail/localmail").arg(KGlobal::dirs()->localkdedir()), storePage ); |
133 | new QLabel( i18n("<b>New data storage dir:</b>"), storePage ); | 172 | new QLabel( i18n("<b>New data storage dir:</b>"), storePage ); |
134 | mStoreUrl = new KURLRequester( storePage ); | 173 | mStoreUrl = new KURLRequester( storePage ); |
135 | mStoreUrl->setURL( KGlobal::dirs()->localkdedir() ); | 174 | mStoreUrl->setURL( KGlobal::dirs()->localkdedir() ); |
136 | #ifdef DESKTOP_VERSION | 175 | #ifdef DESKTOP_VERSION |
137 | QString confFile = qApp->applicationDirPath ()+ "/.microkdehome" ; | 176 | QString confFile = qApp->applicationDirPath ()+ "/.microkdehome" ; |
138 | QFileInfo fi ( confFile ); | 177 | QFileInfo fi ( confFile ); |
139 | if ( fi.exists() ) { | 178 | if ( fi.exists() ) { |
140 | KConfig cfg ( confFile ); | 179 | KConfig cfg ( confFile ); |
141 | cfg.setGroup("Global"); | 180 | cfg.setGroup("Global"); |
142 | QString localKdeDir = cfg.readEntry( "MICROKDEHOME", "x_x_x" ); | 181 | QString localKdeDir = cfg.readEntry( "MICROKDEHOME", "x_x_x" ); |
143 | if ( localKdeDir != "x_x_x" ) { | 182 | if ( localKdeDir != "x_x_x" ) { |
144 | mStoreUrl->setURL( localKdeDir ); | 183 | mStoreUrl->setURL( localKdeDir ); |
145 | qDebug("Reading config from %s ", confFile.latin1()); | 184 | qDebug("Reading config from %s ", confFile.latin1()); |
146 | } | 185 | } |
147 | } | 186 | } |
148 | 187 | ||
149 | #endif | 188 | #endif |
150 | new QLabel( i18n("New dirs are created automatically"), storePage ); | 189 | new QLabel( i18n("New dirs are created automatically"), storePage ); |
151 | QHBox *bb = new QHBox( storePage ); | 190 | QHBox *bb = new QHBox( storePage ); |
152 | QPushButton * pb; | 191 | QPushButton * pb; |
153 | if ( QApplication::desktop()->width() < 640 ) | 192 | if ( QApplication::desktop()->width() < 640 ) |
154 | pb = new QPushButton ( i18n("Save"), bb ); | 193 | pb = new QPushButton ( i18n("Save"), bb ); |
155 | else | 194 | else |
156 | pb = new QPushButton ( i18n("Save settings"), bb ); | 195 | pb = new QPushButton ( i18n("Save settings"), bb ); |
157 | connect(pb, SIGNAL( clicked() ), this, SLOT ( saveStoreSettings() ) ); | 196 | connect(pb, SIGNAL( clicked() ), this, SLOT ( saveStoreSettings() ) ); |
158 | pb = new QPushButton ( i18n("Save standard"), bb ); | 197 | pb = new QPushButton ( i18n("Save standard"), bb ); |
159 | connect(pb, SIGNAL( clicked() ), this, SLOT ( setStandardStore() ) ); | 198 | connect(pb, SIGNAL( clicked() ), this, SLOT ( setStandardStore() ) ); |
160 | #ifdef DESKTOP_VERSION | 199 | #ifdef DESKTOP_VERSION |
161 | pb = new QPushButton ( i18n("Save using LOCAL storage"), bb ); | 200 | pb = new QPushButton ( i18n("Save using LOCAL storage"), bb ); |
162 | connect(pb, SIGNAL( clicked() ), this, SLOT ( setLocalStore() ) ); | 201 | connect(pb, SIGNAL( clicked() ), this, SLOT ( setLocalStore() ) ); |
163 | #endif | 202 | #endif |
164 | new QLabel( i18n("<b>New settings are used\nafter a restart</b>"), storePage ); | 203 | new QLabel( i18n("<b>New settings are used\nafter a restart</b>"), storePage ); |
165 | new QLabel( i18n("Settings are stored in\n%1").arg(QDir::homeDirPath() + "/.microkdehome" ), storePage ); | 204 | new QLabel( i18n("Settings are stored in\n%1").arg(QDir::homeDirPath() + "/.microkdehome" ), storePage ); |
166 | tabWidget->addTab( storePage, i18n( "Data storage path" ) ); | 205 | tabWidget->addTab( storePage, i18n( "Data storage path" ) ); |
167 | } | 206 | } |
168 | void KDEPIMConfigWidget::setLocalStore() | 207 | void KDEPIMConfigWidget::setLocalStore() |
169 | { | 208 | { |
170 | mStoreUrl->setURL( "LOCAL:kdepimpi" ); | 209 | mStoreUrl->setURL( "LOCAL:kdepimpi" ); |
171 | saveStoreSettings(); | 210 | saveStoreSettings(); |
172 | QString message = i18n("'LOCAL' mode makes is possible to run\nKA/Pi and KO/Pi from a USB memory stick.\nIn LOCAL mode the data is stored\nin a path relative to the executable.\nNote, that in LOCAL mode only addressbook\nresource files in\n <path of the executable>/<dirname after LOCAL:>/apps/kabc/*.vcf\n are supported.\nIf you use the standard addressbook settings\nyou do not have to reconfigure any path,\njust restart the application and import\nyour addressbook and calendar data."); | 211 | QString message = i18n("'LOCAL' mode makes is possible to run\nKA/Pi and KO/Pi from a USB memory stick.\nIn LOCAL mode the data is stored\nin a path relative to the executable.\nNote, that in LOCAL mode only addressbook\nresource files in\n <path of the executable>/<dirname after LOCAL:>/apps/kabc/*.vcf\n are supported.\nIf you use the standard addressbook settings\nyou do not have to reconfigure any path,\njust restart the application and import\nyour addressbook and calendar data."); |
173 | KMessageBox::information( this, message); | 212 | KMessageBox::information( this, message); |
174 | } | 213 | } |
175 | void KDEPIMConfigWidget::setStandardStore() | 214 | void KDEPIMConfigWidget::setStandardStore() |
176 | { | 215 | { |
177 | mStoreUrl->setURL( QDir::homeDirPath() + "/kdepim" ); | 216 | mStoreUrl->setURL( QDir::homeDirPath() + "/kdepim" ); |
178 | saveStoreSettings(); | 217 | saveStoreSettings(); |
179 | } | 218 | } |
180 | void KDEPIMConfigWidget::saveStoreSettings() | 219 | void KDEPIMConfigWidget::saveStoreSettings() |
181 | { | 220 | { |
182 | if ( !mStoreUrl->url().isEmpty() ) { | 221 | if ( !mStoreUrl->url().isEmpty() ) { |
183 | QString path = QDir::homeDirPath(); | 222 | QString path = QDir::homeDirPath(); |
184 | QString url = mStoreUrl->url(); | 223 | QString url = mStoreUrl->url(); |
185 | #ifdef DESKTOP_VERSION | 224 | #ifdef DESKTOP_VERSION |
186 | if ( url.startsWith( "LOCAL:" ) ) { | 225 | if ( url.startsWith( "LOCAL:" ) ) { |
187 | path = qApp->applicationDirPath () ; | 226 | path = qApp->applicationDirPath () ; |
188 | } | 227 | } |
189 | #endif | 228 | #endif |
190 | KConfig cfg ( path + "/.microkdehome" ); | 229 | KConfig cfg ( path + "/.microkdehome" ); |
191 | cfg.setGroup("Global"); | 230 | cfg.setGroup("Global"); |
192 | cfg.writeEntry( "MICROKDEHOME", url ); | 231 | cfg.writeEntry( "MICROKDEHOME", url ); |
193 | qDebug("cfg.writeEntry( MICROKDEHOME, %s ", url.latin1()); | 232 | qDebug("cfg.writeEntry( MICROKDEHOME, %s ", url.latin1()); |
194 | cfg.sync(); | 233 | cfg.sync(); |
195 | } else { | 234 | } else { |
196 | mStoreUrl->setURL( QDir::homeDirPath() + "/kdepim" ); | 235 | mStoreUrl->setURL( QDir::homeDirPath() + "/kdepim" ); |
197 | saveStoreSettings(); | 236 | saveStoreSettings(); |
198 | } | 237 | } |
199 | } | 238 | } |
200 | void KDEPIMConfigWidget::setupExternalAppTab() | 239 | void KDEPIMConfigWidget::setupExternalAppTab() |
201 | { | 240 | { |
202 | QWidget *externalAppsPage = new QWidget( this ); | 241 | QWidget *externalAppsPage = new QWidget( this ); |
203 | QVBoxLayout* layout = new QVBoxLayout( externalAppsPage, KDialog::marginHintSmall(), | 242 | QVBoxLayout* layout = new QVBoxLayout( externalAppsPage, KDialog::marginHintSmall(), |
204 | KDialog::spacingHintSmall() ); | 243 | KDialog::spacingHintSmall() ); |
205 | 244 | ||
206 | mExternalApps = new QComboBox( externalAppsPage ); | 245 | mExternalApps = new QComboBox( externalAppsPage ); |
207 | 246 | ||
208 | QMap<ExternalAppHandler::Types, QString>::Iterator it; | 247 | QMap<ExternalAppHandler::Types, QString>::Iterator it; |
209 | for( it = mExternalAppsMap.begin(); it != mExternalAppsMap.end(); ++it ) | 248 | for( it = mExternalAppsMap.begin(); it != mExternalAppsMap.end(); ++it ) |
210 | mExternalApps->insertItem( it.data(), it.key() ); | 249 | mExternalApps->insertItem( it.data(), it.key() ); |
211 | 250 | ||
212 | layout->addWidget( mExternalApps ); | 251 | layout->addWidget( mExternalApps ); |
213 | 252 | ||
214 | connect( mExternalApps, SIGNAL( activated( int ) ), | 253 | connect( mExternalApps, SIGNAL( activated( int ) ), |
215 | this, SLOT (externalapp_changed( int ) ) ); | 254 | this, SLOT (externalapp_changed( int ) ) ); |
216 | 255 | ||
217 | 256 | ||
218 | mExternalAppGroupBox = new QGroupBox( 0, Qt::Vertical, i18n( "Used Mail Client" ), externalAppsPage ); | 257 | mExternalAppGroupBox = new QGroupBox( 0, Qt::Vertical, i18n( "Used Mail Client" ), externalAppsPage ); |
219 | QGridLayout *boxLayout = new QGridLayout( mExternalAppGroupBox->layout(), 4, 2, -1, "gridlayout" ); | 258 | QGridLayout *boxLayout = new QGridLayout( mExternalAppGroupBox->layout(), 4, 2, -1, "gridlayout" ); |
220 | mExternalAppGroupBox->layout()->setMargin(4); | 259 | mExternalAppGroupBox->layout()->setMargin(4); |
221 | 260 | ||
222 | mClient = new QComboBox( mExternalAppGroupBox ); | 261 | mClient = new QComboBox( mExternalAppGroupBox ); |
223 | boxLayout->addMultiCellWidget( mClient, 0, 0, 0, 1 ); | 262 | boxLayout->addMultiCellWidget( mClient, 0, 0, 0, 1 ); |
224 | 263 | ||
225 | connect( mClient, SIGNAL( activated( int ) ), | 264 | connect( mClient, SIGNAL( activated( int ) ), |
226 | this, SLOT (client_changed( int ) ) ); | 265 | this, SLOT (client_changed( int ) ) ); |
227 | 266 | ||
228 | QLabel* lab = new QLabel( i18n("Channel:"), mExternalAppGroupBox); | 267 | QLabel* lab = new QLabel( i18n("Channel:"), mExternalAppGroupBox); |
229 | boxLayout->addWidget( lab, 1, 0 ); | 268 | boxLayout->addWidget( lab, 1, 0 ); |
230 | mChannel = new QLineEdit(mExternalAppGroupBox); | 269 | mChannel = new QLineEdit(mExternalAppGroupBox); |
231 | mChannel->setReadOnly(true); | 270 | mChannel->setReadOnly(true); |
232 | boxLayout->addMultiCellWidget( mChannel, 2 , 2, 0, 1 ); | 271 | boxLayout->addMultiCellWidget( mChannel, 2 , 2, 0, 1 ); |
233 | 272 | ||
234 | lab = new QLabel( i18n("Message:"), mExternalAppGroupBox); | 273 | lab = new QLabel( i18n("Message:"), mExternalAppGroupBox); |
235 | boxLayout->addWidget( lab, 3, 0 ); | 274 | boxLayout->addWidget( lab, 3, 0 ); |
236 | mMessage = new QLineEdit(mExternalAppGroupBox); | 275 | mMessage = new QLineEdit(mExternalAppGroupBox); |
237 | mMessage->setReadOnly(true); | 276 | mMessage->setReadOnly(true); |
238 | boxLayout->addWidget( mMessage , 4, 0); | 277 | boxLayout->addWidget( mMessage , 4, 0); |
239 | 278 | ||
240 | lab = new QLabel( i18n("Parameters:"), mExternalAppGroupBox); | 279 | lab = new QLabel( i18n("Parameters:"), mExternalAppGroupBox); |
241 | boxLayout->addWidget( lab, 3, 1 ); | 280 | boxLayout->addWidget( lab, 3, 1 ); |
242 | mParameters = new QLineEdit(mExternalAppGroupBox); | 281 | mParameters = new QLineEdit(mExternalAppGroupBox); |
243 | mParameters->setReadOnly(true); | 282 | mParameters->setReadOnly(true); |
244 | boxLayout->addWidget( mParameters, 4, 1 ); | 283 | boxLayout->addWidget( mParameters, 4, 1 ); |
245 | 284 | ||
246 | lab = new QLabel( i18n("HINT: Delimiter=; Name=%1,Email=%2"), mExternalAppGroupBox); | 285 | lab = new QLabel( i18n("HINT: Delimiter=; Name=%1,Email=%2"), mExternalAppGroupBox); |
247 | boxLayout->addMultiCellWidget( lab, 5, 5, 0, 1 ); | 286 | boxLayout->addMultiCellWidget( lab, 5, 5, 0, 1 ); |
248 | 287 | ||
249 | 288 | ||
250 | lab = new QLabel( i18n("extra Message:"), mExternalAppGroupBox); | 289 | lab = new QLabel( i18n("extra Message:"), mExternalAppGroupBox); |
251 | boxLayout->addWidget( lab, 6, 0 ); | 290 | boxLayout->addWidget( lab, 6, 0 ); |
252 | mMessage2 = new QLineEdit(mExternalAppGroupBox); | 291 | mMessage2 = new QLineEdit(mExternalAppGroupBox); |
253 | mMessage2->setReadOnly(true); | 292 | mMessage2->setReadOnly(true); |
254 | boxLayout->addWidget( mMessage2 , 7, 0); | 293 | boxLayout->addWidget( mMessage2 , 7, 0); |
255 | 294 | ||
256 | lab = new QLabel( i18n("extra Parameters:"), mExternalAppGroupBox); | 295 | lab = new QLabel( i18n("extra Parameters:"), mExternalAppGroupBox); |
257 | boxLayout->addWidget( lab, 6, 1 ); | 296 | boxLayout->addWidget( lab, 6, 1 ); |
258 | mParameters2 = new QLineEdit(mExternalAppGroupBox); | 297 | mParameters2 = new QLineEdit(mExternalAppGroupBox); |
259 | mParameters2->setReadOnly(true); | 298 | mParameters2->setReadOnly(true); |
260 | boxLayout->addWidget( mParameters2, 7, 1 ); | 299 | boxLayout->addWidget( mParameters2, 7, 1 ); |
261 | 300 | ||
262 | lab = new QLabel( i18n("HINT: Emails=%1,Attachments=%2"), mExternalAppGroupBox); | 301 | lab = new QLabel( i18n("HINT: Emails=%1,Attachments=%2"), mExternalAppGroupBox); |
263 | boxLayout->addMultiCellWidget( lab, 8, 8, 0, 1 ); | 302 | boxLayout->addMultiCellWidget( lab, 8, 8, 0, 1 ); |
264 | 303 | ||
265 | 304 | ||
266 | connect( mChannel, SIGNAL( textChanged ( const QString & )), this, SLOT( textChanged ( const QString & )) ); | 305 | connect( mChannel, SIGNAL( textChanged ( const QString & )), this, SLOT( textChanged ( const QString & )) ); |
267 | connect( mMessage, SIGNAL( textChanged ( const QString & )), this, SLOT( textChanged ( const QString & )) ); | 306 | connect( mMessage, SIGNAL( textChanged ( const QString & )), this, SLOT( textChanged ( const QString & )) ); |
268 | connect( mParameters, SIGNAL( textChanged ( const QString & )), this, SLOT( textChanged ( const QString & )) ); | 307 | connect( mParameters, SIGNAL( textChanged ( const QString & )), this, SLOT( textChanged ( const QString & )) ); |
269 | connect( mMessage2, SIGNAL( textChanged ( const QString & )), this, SLOT( textChanged ( const QString & )) ); | 308 | connect( mMessage2, SIGNAL( textChanged ( const QString & )), this, SLOT( textChanged ( const QString & )) ); |
270 | connect( mParameters2, SIGNAL( textChanged ( const QString & )), this, SLOT( textChanged ( const QString & )) ); | 309 | connect( mParameters2, SIGNAL( textChanged ( const QString & )), this, SLOT( textChanged ( const QString & )) ); |
271 | 310 | ||
272 | 311 | ||
273 | layout->addWidget( mExternalAppGroupBox ); | 312 | layout->addWidget( mExternalAppGroupBox ); |
274 | tabWidget->addTab( externalAppsPage, i18n( "External Apps." ) ); | 313 | tabWidget->addTab( externalAppsPage, i18n( "External Apps." ) ); |
275 | 314 | ||
276 | } | 315 | } |
277 | 316 | ||
278 | 317 | ||
279 | void KDEPIMConfigWidget::setupLocaleDateTab() | 318 | void KDEPIMConfigWidget::setupLocaleDateTab() |
280 | { | 319 | { |
281 | QWidget *topFrame = new QWidget( this ); | 320 | QWidget *topFrame = new QWidget( this ); |
282 | QGridLayout *topLayout = new QGridLayout( topFrame, 3, 2); | 321 | QGridLayout *topLayout = new QGridLayout( topFrame, 3, 2); |
283 | 322 | ||
284 | topLayout->setSpacing(KDialog::spacingHintSmall()); | 323 | topLayout->setSpacing(KDialog::spacingHintSmall()); |
285 | topLayout->setMargin(KDialog::marginHintSmall()); | 324 | topLayout->setMargin(KDialog::marginHintSmall()); |
286 | int iii = 0; | 325 | int iii = 0; |
287 | 326 | ||
288 | 327 | ||
289 | KPrefsWidRadios *syncPrefsGroup = | 328 | KPrefsWidRadios *syncPrefsGroup = |
290 | addWidRadios(i18n("Date Format:"),&(KPimGlobalPrefs::instance()->mPreferredDate),topFrame); | 329 | addWidRadios(i18n("Date Format:"),&(KPimGlobalPrefs::instance()->mPreferredDate),topFrame); |
291 | QString format; | 330 | QString format; |
292 | if ( QApplication::desktop()->width() < 480 ) | 331 | if ( QApplication::desktop()->width() < 480 ) |
293 | format = "(%d.%m.%Y)"; | 332 | format = "(%d.%m.%Y)"; |
294 | else | 333 | else |
295 | format = "(%d.%m.%Y|%A %d %B %Y)"; | 334 | format = "(%d.%m.%Y|%A %d %B %Y)"; |
296 | syncPrefsGroup->addRadio(i18n("24.03.2004 "+format)); | 335 | syncPrefsGroup->addRadio(i18n("24.03.2004 "+format)); |
297 | if ( QApplication::desktop()->width() < 480 ) | 336 | if ( QApplication::desktop()->width() < 480 ) |
298 | format = "(%m.%d.%Y)"; | 337 | format = "(%m.%d.%Y)"; |
299 | else | 338 | else |
300 | format = "(%m.%d.%Y|%A %B %d %Y)"; | 339 | format = "(%m.%d.%Y|%A %B %d %Y)"; |
301 | syncPrefsGroup->addRadio(i18n("03.24.2004 "+format)); | 340 | syncPrefsGroup->addRadio(i18n("03.24.2004 "+format)); |
302 | if ( QApplication::desktop()->width() < 480 ) | 341 | if ( QApplication::desktop()->width() < 480 ) |
303 | format = "(%Y-%m-%d)"; | 342 | format = "(%Y-%m-%d)"; |
304 | else | 343 | else |
305 | format = "(%Y-%m-%d|%A %Y %B %d)"; | 344 | format = "(%Y-%m-%d|%A %Y %B %d)"; |
306 | syncPrefsGroup->addRadio(i18n("2004-03-24 "+format)); | 345 | syncPrefsGroup->addRadio(i18n("2004-03-24 "+format)); |
307 | syncPrefsGroup->addRadio(i18n("User defined")); | 346 | syncPrefsGroup->addRadio(i18n("User defined")); |
308 | if ( QApplication::desktop()->width() < 480 ) { | 347 | if ( QApplication::desktop()->width() < 480 ) { |
309 | syncPrefsGroup->groupBox()->layout()->setMargin( 5 ); | 348 | syncPrefsGroup->groupBox()->layout()->setMargin( 5 ); |
310 | syncPrefsGroup->groupBox()->layout()->setSpacing( 0 ); | 349 | syncPrefsGroup->groupBox()->layout()->setSpacing( 0 ); |
311 | } | 350 | } |
312 | topLayout->addMultiCellWidget( (QWidget*)syncPrefsGroup->groupBox(),iii,iii,0,1); | 351 | topLayout->addMultiCellWidget( (QWidget*)syncPrefsGroup->groupBox(),iii,iii,0,1); |
313 | ++iii; | 352 | ++iii; |
314 | ++iii; | 353 | ++iii; |
315 | QLabel * lab; | 354 | QLabel * lab; |
316 | mUserDateFormatLong = new QLineEdit(topFrame); | 355 | mUserDateFormatLong = new QLineEdit(topFrame); |
317 | lab = new QLabel(mUserDateFormatLong, i18n("User long date:"), topFrame); | 356 | lab = new QLabel(mUserDateFormatLong, i18n("User long date:"), topFrame); |
318 | topLayout->addWidget(lab ,iii,0); | 357 | topLayout->addWidget(lab ,iii,0); |
319 | topLayout->addWidget(mUserDateFormatLong,iii,1); | 358 | topLayout->addWidget(mUserDateFormatLong,iii,1); |
320 | ++iii; | 359 | ++iii; |
321 | mUserDateFormatShort = new QLineEdit(topFrame); | 360 | mUserDateFormatShort = new QLineEdit(topFrame); |
322 | lab = new QLabel(mUserDateFormatShort, i18n("User short date:"), topFrame); | 361 | lab = new QLabel(mUserDateFormatShort, i18n("User short date:"), topFrame); |
323 | topLayout->addWidget(lab ,iii,0); | 362 | topLayout->addWidget(lab ,iii,0); |
324 | topLayout->addWidget(mUserDateFormatShort,iii,1); | 363 | topLayout->addWidget(mUserDateFormatShort,iii,1); |
325 | ++iii; | 364 | ++iii; |
326 | lab = new QLabel( i18n("Monday 19 April 2004: %A %d %B %Y"), topFrame); | 365 | lab = new QLabel( i18n("Monday 19 April 2004: %A %d %B %Y"), topFrame); |
327 | topLayout->addMultiCellWidget(lab ,iii,iii,0,1); | 366 | topLayout->addMultiCellWidget(lab ,iii,iii,0,1); |
328 | ++iii; | 367 | ++iii; |
329 | lab = new QLabel( i18n("Mon 19.04.04: %a %d.%m.%y"), topFrame); | 368 | lab = new QLabel( i18n("Mon 19.04.04: %a %d.%m.%y"), topFrame); |
330 | topLayout->addMultiCellWidget(lab ,iii,iii,0,1); | 369 | topLayout->addMultiCellWidget(lab ,iii,iii,0,1); |
331 | ++iii; | 370 | ++iii; |
332 | lab = new QLabel( i18n("Mon, 19.Apr.04: %a, %d.%b.%y"), topFrame); | 371 | lab = new QLabel( i18n("Mon, 19.Apr.04: %a, %d.%b.%y"), topFrame); |
333 | topLayout->addMultiCellWidget(lab ,iii,iii,0,1); | 372 | topLayout->addMultiCellWidget(lab ,iii,iii,0,1); |
334 | ++iii; | 373 | ++iii; |
335 | 374 | ||
336 | connect( mUserDateFormatLong, SIGNAL( textChanged ( const QString & )), this, SLOT( textChanged ( const QString & )) ); | 375 | connect( mUserDateFormatLong, SIGNAL( textChanged ( const QString & )), this, SLOT( textChanged ( const QString & )) ); |
337 | connect( mUserDateFormatShort, SIGNAL( textChanged ( const QString & )), this, SLOT( textChanged ( const QString & )) ); | 376 | connect( mUserDateFormatShort, SIGNAL( textChanged ( const QString & )), this, SLOT( textChanged ( const QString & )) ); |
338 | 377 | ||
339 | 378 | ||
340 | tabWidget->addTab( topFrame, i18n( "Date Format" ) ); | 379 | tabWidget->addTab( topFrame, i18n( "Date Format" ) ); |
341 | } | 380 | } |
342 | 381 | ||
343 | void KDEPIMConfigWidget::setupLocaleTab() | 382 | void KDEPIMConfigWidget::setupLocaleTab() |
344 | { | 383 | { |
345 | 384 | ||
346 | QWidget *topFrame = new QWidget( this ); | 385 | QWidget *topFrame = new QWidget( this ); |
347 | QGridLayout *topLayout = new QGridLayout(topFrame,4,2); | 386 | QGridLayout *topLayout = new QGridLayout(topFrame,4,2); |
348 | 387 | ||
349 | topLayout->setSpacing(KDialog::spacingHint()); | 388 | topLayout->setSpacing(KDialog::spacingHint()); |
350 | topLayout->setMargin(KDialog::marginHint()); | 389 | topLayout->setMargin(KDialog::marginHint()); |
351 | int iii = 0; | 390 | int iii = 0; |
352 | KPrefsWidRadios *syncPrefsGroup = | 391 | KPrefsWidRadios *syncPrefsGroup = |
353 | addWidRadios(i18n("Language:(needs restart)"),&(KPimGlobalPrefs::instance()->mPreferredLanguage),topFrame); | 392 | addWidRadios(i18n("Language:(needs restart)"),&(KPimGlobalPrefs::instance()->mPreferredLanguage),topFrame); |
354 | syncPrefsGroup->addRadio(i18n("English")); | 393 | syncPrefsGroup->addRadio(i18n("English")); |
355 | syncPrefsGroup->addRadio(i18n("German")); | 394 | syncPrefsGroup->addRadio(i18n("German")); |
356 | syncPrefsGroup->addRadio(i18n("French")); | 395 | syncPrefsGroup->addRadio(i18n("French")); |
357 | syncPrefsGroup->addRadio(i18n("Italian")); | 396 | syncPrefsGroup->addRadio(i18n("Italian")); |
358 | syncPrefsGroup->addRadio(i18n("User defined (usertranslation.txt)")); | 397 | syncPrefsGroup->addRadio(i18n("User defined (usertranslation.txt)")); |
359 | if ( QApplication::desktop()->width() < 300 ) { | 398 | if ( QApplication::desktop()->width() < 300 ) { |
360 | syncPrefsGroup->groupBox()->layout()->setMargin( 5 ); | 399 | syncPrefsGroup->groupBox()->layout()->setMargin( 5 ); |
361 | syncPrefsGroup->groupBox()->layout()->setSpacing( 0 ); | 400 | syncPrefsGroup->groupBox()->layout()->setSpacing( 0 ); |
362 | } | 401 | } |
363 | topLayout->addMultiCellWidget( (QWidget*)syncPrefsGroup->groupBox(),iii,iii,0,1); | 402 | topLayout->addMultiCellWidget( (QWidget*)syncPrefsGroup->groupBox(),iii,iii,0,1); |
364 | ++iii; | 403 | ++iii; |
365 | 404 | ||
366 | 405 | ||
367 | tabWidget->addTab( topFrame, i18n( "Language" ) ); | 406 | tabWidget->addTab( topFrame, i18n( "Language" ) ); |
368 | topFrame = new QWidget( this ); | 407 | topFrame = new QWidget( this ); |
369 | topLayout = new QGridLayout(topFrame,4,2); | 408 | topLayout = new QGridLayout(topFrame,4,2); |
370 | 409 | ||
371 | topLayout->setSpacing(KDialog::spacingHint()); | 410 | topLayout->setSpacing(KDialog::spacingHint()); |
372 | topLayout->setMargin(KDialog::marginHint()); | 411 | topLayout->setMargin(KDialog::marginHint()); |
373 | iii = 0; | 412 | iii = 0; |
374 | syncPrefsGroup = | 413 | syncPrefsGroup = |
375 | addWidRadios(i18n("Time Format(nr):"),&(KPimGlobalPrefs::instance()->mPreferredTime),topFrame); | 414 | addWidRadios(i18n("Time Format(nr):"),&(KPimGlobalPrefs::instance()->mPreferredTime),topFrame); |
376 | if ( QApplication::desktop()->width() > 300 ) | 415 | if ( QApplication::desktop()->width() > 300 ) |
377 | syncPrefsGroup->groupBox()->setOrientation (Qt::Vertical); | 416 | syncPrefsGroup->groupBox()->setOrientation (Qt::Vertical); |
378 | syncPrefsGroup->addRadio(i18n("24:00")); | 417 | syncPrefsGroup->addRadio(i18n("24:00")); |
379 | syncPrefsGroup->addRadio(i18n("12:00am")); | 418 | syncPrefsGroup->addRadio(i18n("12:00am")); |
380 | syncPrefsGroup->groupBox()->setOrientation (Qt::Vertical); | 419 | syncPrefsGroup->groupBox()->setOrientation (Qt::Vertical); |
381 | topLayout->addMultiCellWidget( syncPrefsGroup->groupBox(),iii,iii,0,1); | 420 | topLayout->addMultiCellWidget( syncPrefsGroup->groupBox(),iii,iii,0,1); |
382 | ++iii; | 421 | ++iii; |
383 | 422 | ||
384 | KPrefsWidBool *sb = addWidBool(i18n("Week starts on Sunday"), | 423 | KPrefsWidBool *sb = addWidBool(i18n("Week starts on Sunday"), |
385 | &(KPimGlobalPrefs::instance()->mWeekStartsOnSunday),topFrame); | 424 | &(KPimGlobalPrefs::instance()->mWeekStartsOnSunday),topFrame); |
386 | topLayout->addMultiCellWidget((QWidget*)sb->checkBox(), iii,iii,0,1); | 425 | topLayout->addMultiCellWidget((QWidget*)sb->checkBox(), iii,iii,0,1); |
387 | ++iii; | 426 | ++iii; |
388 | 427 | ||
389 | 428 | ||
390 | tabWidget->addTab( topFrame, i18n( "Time Format" ) ); | 429 | tabWidget->addTab( topFrame, i18n( "Time Format" ) ); |
391 | 430 | ||
392 | } | 431 | } |
393 | 432 | ||
394 | 433 | ||
395 | void KDEPIMConfigWidget::setupTimeZoneTab() | 434 | void KDEPIMConfigWidget::setupTimeZoneTab() |
396 | { | 435 | { |
397 | QWidget *topFrame; | 436 | QWidget *topFrame; |
398 | QGridLayout *topLayout ; | 437 | QGridLayout *topLayout ; |
399 | 438 | ||
400 | 439 | ||
401 | 440 | ||
402 | 441 | ||
403 | 442 | ||
404 | 443 | ||
405 | topFrame = new QWidget( this ); | 444 | topFrame = new QWidget( this ); |
406 | topLayout = new QGridLayout( topFrame, 5, 2); | 445 | topLayout = new QGridLayout( topFrame, 5, 2); |
407 | topLayout->setSpacing(KDialog::spacingHintSmall()); | 446 | topLayout->setSpacing(KDialog::spacingHintSmall()); |
408 | topLayout->setMargin(KDialog::marginHintSmall()); | 447 | topLayout->setMargin(KDialog::marginHintSmall()); |
409 | 448 | ||
410 | QHBox *timeZoneBox = new QHBox( topFrame ); | 449 | QHBox *timeZoneBox = new QHBox( topFrame ); |
411 | topLayout->addMultiCellWidget( timeZoneBox, 0, 0, 0, 1 ); | 450 | topLayout->addMultiCellWidget( timeZoneBox, 0, 0, 0, 1 ); |
412 | 451 | ||
413 | new QLabel( i18n("Timezone:"), timeZoneBox ); | 452 | new QLabel( i18n("Timezone:"), timeZoneBox ); |
414 | mTimeZoneCombo = new QComboBox( timeZoneBox ); | 453 | mTimeZoneCombo = new QComboBox( timeZoneBox ); |
415 | if ( QApplication::desktop()->width() < 300 ) { | 454 | if ( QApplication::desktop()->width() < 300 ) { |
416 | mTimeZoneCombo->setMaximumWidth(150); | 455 | mTimeZoneCombo->setMaximumWidth(150); |
417 | } | 456 | } |
418 | 457 | ||
419 | QStringList list; | 458 | QStringList list; |
420 | list = KGlobal::locale()->timeZoneList(); | 459 | list = KGlobal::locale()->timeZoneList(); |
421 | mTimeZoneCombo->insertStringList(list); | 460 | mTimeZoneCombo->insertStringList(list); |
422 | 461 | ||
423 | // find the currently set time zone and select it | 462 | // find the currently set time zone and select it |
424 | QString sCurrentlySet = KPimGlobalPrefs::instance()->mTimeZoneId; | 463 | QString sCurrentlySet = KPimGlobalPrefs::instance()->mTimeZoneId; |
425 | int nCurrentlySet = 11; | 464 | int nCurrentlySet = 11; |
426 | for (int i = 0; i < mTimeZoneCombo->count(); i++) | 465 | for (int i = 0; i < mTimeZoneCombo->count(); i++) |
427 | { | 466 | { |
428 | if (mTimeZoneCombo->text(i) == sCurrentlySet) | 467 | if (mTimeZoneCombo->text(i) == sCurrentlySet) |
429 | { | 468 | { |
430 | nCurrentlySet = i; | 469 | nCurrentlySet = i; |
431 | break; | 470 | break; |
432 | } | 471 | } |
433 | } | 472 | } |
434 | mTimeZoneCombo->setCurrentItem(nCurrentlySet); | 473 | mTimeZoneCombo->setCurrentItem(nCurrentlySet); |
435 | int iii = 1; | 474 | int iii = 1; |
436 | KPrefsWidBool *sb = | 475 | KPrefsWidBool *sb = |
437 | addWidBool(i18n("Add 30 min to selected Timezone"), | 476 | addWidBool(i18n("Add 30 min to selected Timezone"), |
438 | &(KPimGlobalPrefs::instance()->mTimeZoneAdd30min),topFrame); | 477 | &(KPimGlobalPrefs::instance()->mTimeZoneAdd30min),topFrame); |
439 | topLayout->addMultiCellWidget((QWidget*)sb->checkBox(), iii,iii,0,1); | 478 | topLayout->addMultiCellWidget((QWidget*)sb->checkBox(), iii,iii,0,1); |
440 | ++iii; | 479 | ++iii; |
441 | sb = | 480 | sb = |
442 | addWidBool(i18n("Timezone has daylight saving"), | 481 | addWidBool(i18n("Timezone has daylight saving"), |
443 | &(KPimGlobalPrefs::instance()->mUseDaylightsaving),topFrame); | 482 | &(KPimGlobalPrefs::instance()->mUseDaylightsaving),topFrame); |
444 | topLayout->addMultiCellWidget((QWidget*)sb->checkBox(), iii,iii,0,1); | 483 | topLayout->addMultiCellWidget((QWidget*)sb->checkBox(), iii,iii,0,1); |
445 | ++iii; | 484 | ++iii; |
446 | QLabel* lab; | 485 | QLabel* lab; |
447 | 486 | ||
448 | lab = new QLabel( i18n("Actual start and end is the\nsunday before this date."), topFrame ); | 487 | lab = new QLabel( i18n("Actual start and end is the\nsunday before this date."), topFrame ); |
449 | topLayout->addMultiCellWidget(lab, iii,iii,0,1); | 488 | topLayout->addMultiCellWidget(lab, iii,iii,0,1); |
450 | ++iii; | 489 | ++iii; |
451 | 490 | ||
452 | lab = new QLabel( i18n("The year in the date is ignored."), topFrame ); | 491 | lab = new QLabel( i18n("The year in the date is ignored."), topFrame ); |
453 | topLayout->addMultiCellWidget(lab, iii,iii,0,1); | 492 | topLayout->addMultiCellWidget(lab, iii,iii,0,1); |
454 | ++iii; | 493 | ++iii; |
455 | lab = new QLabel( i18n("Daylight start:"), topFrame ); | 494 | lab = new QLabel( i18n("Daylight start:"), topFrame ); |
456 | topLayout->addWidget(lab, iii,0); | 495 | topLayout->addWidget(lab, iii,0); |
457 | mStartDateSavingEdit = new KDateEdit(topFrame); | 496 | mStartDateSavingEdit = new KDateEdit(topFrame); |
458 | topLayout->addWidget(mStartDateSavingEdit, iii,1); | 497 | topLayout->addWidget(mStartDateSavingEdit, iii,1); |
459 | ++iii; | 498 | ++iii; |
460 | 499 | ||
461 | lab = new QLabel( i18n("Daylight end:"), topFrame ); | 500 | lab = new QLabel( i18n("Daylight end:"), topFrame ); |
462 | topLayout->addWidget(lab, iii,0); | 501 | topLayout->addWidget(lab, iii,0); |
463 | mEndDateSavingEdit = new KDateEdit(topFrame); | 502 | mEndDateSavingEdit = new KDateEdit(topFrame); |
464 | topLayout->addWidget(mEndDateSavingEdit, iii,1); | 503 | topLayout->addWidget(mEndDateSavingEdit, iii,1); |
465 | ++iii; | 504 | ++iii; |
466 | QDate current ( 2001, 1,1); | 505 | QDate current ( 2001, 1,1); |
467 | mStartDateSavingEdit->setDate(current.addDays(KPimGlobalPrefs::instance()->mDaylightsavingStart-1)); | 506 | mStartDateSavingEdit->setDate(current.addDays(KPimGlobalPrefs::instance()->mDaylightsavingStart-1)); |
468 | mEndDateSavingEdit->setDate(current.addDays(KPimGlobalPrefs::instance()->mDaylightsavingEnd-1)); | 507 | mEndDateSavingEdit->setDate(current.addDays(KPimGlobalPrefs::instance()->mDaylightsavingEnd-1)); |
469 | 508 | ||
470 | connect( mStartDateSavingEdit, SIGNAL( dateChanged(QDate)), this, SLOT( modified()) ); | 509 | connect( mStartDateSavingEdit, SIGNAL( dateChanged(QDate)), this, SLOT( modified()) ); |
471 | connect( mEndDateSavingEdit, SIGNAL( dateChanged(QDate)), this, SLOT( modified()) ); | 510 | connect( mEndDateSavingEdit, SIGNAL( dateChanged(QDate)), this, SLOT( modified()) ); |
472 | connect( mTimeZoneCombo, SIGNAL( activated( int ) ), this, SLOT (modified() ) ); | 511 | connect( mTimeZoneCombo, SIGNAL( activated( int ) ), this, SLOT (modified() ) ); |
473 | tabWidget->addTab( topFrame, i18n( "Time Zone" ) ); | 512 | tabWidget->addTab( topFrame, i18n( "Time Zone" ) ); |
474 | 513 | ||
475 | 514 | ||
476 | topFrame = new QWidget( this ); | 515 | topFrame = new QWidget( this ); |
477 | topLayout = new QGridLayout( topFrame, 3, 2); | 516 | topLayout = new QGridLayout( topFrame, 3, 2); |
478 | topLayout->setSpacing(KDialog::spacingHintSmall()); | 517 | topLayout->setSpacing(KDialog::spacingHintSmall()); |
479 | topLayout->setMargin(KDialog::marginHintSmall()); | 518 | topLayout->setMargin(KDialog::marginHintSmall()); |
480 | tabWidget->addTab( topFrame, i18n( "Fonts" ) ); | 519 | tabWidget->addTab( topFrame, i18n( "Fonts" ) ); |
481 | 520 | ||
482 | QLabel* labb = new QLabel( i18n("Global application font for all apps:"), topFrame ); | 521 | QLabel* labb = new QLabel( i18n("Global application font for all apps:"), topFrame ); |
483 | topLayout->addMultiCellWidget(labb,0,0,0,2); | 522 | topLayout->addMultiCellWidget(labb,0,0,0,2); |
484 | int i = 1; | 523 | int i = 1; |
485 | KPrefsWidFont *timeLabelsFont = | 524 | KPrefsWidFont *timeLabelsFont = |
486 | addWidFont(i18n("Kx/Pi"),i18n("Application Font"), | 525 | addWidFont(i18n("Kx/Pi"),i18n("Application Font"), |
487 | &(KPimGlobalPrefs::instance()->mApplicationFont),topFrame); | 526 | &(KPimGlobalPrefs::instance()->mApplicationFont),topFrame); |
488 | topLayout->addWidget(timeLabelsFont->label(),i,0); | 527 | topLayout->addWidget(timeLabelsFont->label(),i,0); |
489 | topLayout->addWidget(timeLabelsFont->preview(),i,1); | 528 | topLayout->addWidget(timeLabelsFont->preview(),i,1); |
490 | topLayout->addWidget(timeLabelsFont->button(),i,2); | 529 | topLayout->addWidget(timeLabelsFont->button(),i,2); |
491 | } | 530 | } |
492 | 531 | ||
493 | void KDEPIMConfigWidget::externalapp_changed( int newApp ) | 532 | void KDEPIMConfigWidget::externalapp_changed( int newApp ) |
494 | { | 533 | { |
495 | // first store the current data | 534 | // first store the current data |
496 | saveEditFieldSettings(); | 535 | saveEditFieldSettings(); |
497 | 536 | ||
498 | // set mCurrentApp | 537 | // set mCurrentApp |
499 | mCurrentApp = (ExternalAppHandler::Types)newApp; | 538 | mCurrentApp = (ExternalAppHandler::Types)newApp; |
500 | 539 | ||
501 | // set mCurrentClient | 540 | // set mCurrentClient |
502 | switch(mCurrentApp) | 541 | switch(mCurrentApp) |
503 | { | 542 | { |
504 | case(ExternalAppHandler::EMAIL): | 543 | case(ExternalAppHandler::EMAIL): |
505 | mCurrentClient = mEmailClient; | 544 | mCurrentClient = mEmailClient; |
506 | break; | 545 | break; |
507 | case(ExternalAppHandler::PHONE): | 546 | case(ExternalAppHandler::PHONE): |
508 | mCurrentClient = mPhoneClient; | 547 | mCurrentClient = mPhoneClient; |
509 | break; | 548 | break; |
510 | case(ExternalAppHandler::SMS): | 549 | case(ExternalAppHandler::SMS): |
511 | mCurrentClient = mSMSClient; | 550 | mCurrentClient = mSMSClient; |
512 | break; | 551 | break; |
513 | case(ExternalAppHandler::FAX): | 552 | case(ExternalAppHandler::FAX): |
514 | mCurrentClient = mFaxClient; | 553 | mCurrentClient = mFaxClient; |
515 | break; | 554 | break; |
516 | case(ExternalAppHandler::PAGER): | 555 | case(ExternalAppHandler::PAGER): |
517 | mCurrentClient = mPagerClient; | 556 | mCurrentClient = mPagerClient; |
518 | break; | 557 | break; |
519 | case(ExternalAppHandler::SIP): | 558 | case(ExternalAppHandler::SIP): |
520 | mCurrentClient = mSipClient; | 559 | mCurrentClient = mSipClient; |
521 | break; | 560 | break; |
522 | default: | 561 | default: |
523 | return; | 562 | return; |
524 | } | 563 | } |
525 | 564 | ||
526 | // and at last update the widgets | 565 | // and at last update the widgets |
527 | updateClientWidgets(); | 566 | updateClientWidgets(); |
528 | } | 567 | } |
529 | 568 | ||
530 | 569 | ||
531 | 570 | ||
532 | void KDEPIMConfigWidget::client_changed( int newClient ) | 571 | void KDEPIMConfigWidget::client_changed( int newClient ) |
533 | { | 572 | { |
534 | if (newClient == mCurrentClient) | 573 | if (newClient == mCurrentClient) |
535 | return; | 574 | return; |
536 | 575 | ||
537 | // first store the current data | 576 | // first store the current data |
538 | saveEditFieldSettings(); | 577 | saveEditFieldSettings(); |
539 | 578 | ||
540 | 579 | ||
541 | //then reset the clientvariable | 580 | //then reset the clientvariable |
542 | mCurrentClient = newClient; | 581 | mCurrentClient = newClient; |
543 | 582 | ||
544 | // and at last update the widgets | 583 | // and at last update the widgets |
545 | updateClientWidgets(); | 584 | updateClientWidgets(); |
546 | 585 | ||
547 | KPrefsWidget::modified(); | 586 | KPrefsWidget::modified(); |
548 | } | 587 | } |
549 | 588 | ||
550 | void KDEPIMConfigWidget::saveEditFieldSettings() | 589 | void KDEPIMConfigWidget::saveEditFieldSettings() |
551 | { | 590 | { |
552 | 591 | ||
553 | switch(mCurrentApp) | 592 | switch(mCurrentApp) |
554 | { | 593 | { |
555 | case(ExternalAppHandler::EMAIL): | 594 | case(ExternalAppHandler::EMAIL): |
556 | mEmailClient = mClient->currentItem(); | 595 | mEmailClient = mClient->currentItem(); |
557 | break; | 596 | break; |
558 | case(ExternalAppHandler::PHONE): | 597 | case(ExternalAppHandler::PHONE): |
559 | mPhoneClient= mClient->currentItem(); | 598 | mPhoneClient= mClient->currentItem(); |
560 | break; | 599 | break; |
561 | case(ExternalAppHandler::SMS): | 600 | case(ExternalAppHandler::SMS): |
562 | mSMSClient = mClient->currentItem(); | 601 | mSMSClient = mClient->currentItem(); |
563 | break; | 602 | break; |
564 | case(ExternalAppHandler::FAX): | 603 | case(ExternalAppHandler::FAX): |
565 | mFaxClient = mClient->currentItem(); | 604 | mFaxClient = mClient->currentItem(); |
566 | break; | 605 | break; |
567 | case(ExternalAppHandler::PAGER): | 606 | case(ExternalAppHandler::PAGER): |
568 | mPagerClient = mClient->currentItem(); | 607 | mPagerClient = mClient->currentItem(); |
569 | break; | 608 | break; |
570 | case(ExternalAppHandler::SIP): | 609 | case(ExternalAppHandler::SIP): |
571 | mSipClient = mClient->currentItem(); | 610 | mSipClient = mClient->currentItem(); |
572 | break; | 611 | break; |
573 | default: | 612 | default: |
574 | return; | 613 | return; |
575 | } | 614 | } |
576 | 615 | ||
577 | //store the current data back to the apropriate membervariables if we had set it to "other" | 616 | //store the current data back to the apropriate membervariables if we had set it to "other" |
578 | if ((mCurrentApp == ExternalAppHandler::EMAIL) && (mCurrentClient == KPimGlobalPrefs::OTHER_EMC)) | 617 | if ((mCurrentApp == ExternalAppHandler::EMAIL) && (mCurrentClient == KPimGlobalPrefs::OTHER_EMC)) |
579 | { | 618 | { |
580 | mEmailOtherChannel = mChannel->text(); | 619 | mEmailOtherChannel = mChannel->text(); |
581 | mEmailOtherMessage = mMessage->text(); | 620 | mEmailOtherMessage = mMessage->text(); |
582 | mEmailOtherMessageParameters = mParameters->text(); | 621 | mEmailOtherMessageParameters = mParameters->text(); |
583 | mEmailOtherMessage2 = mMessage2->text(); | 622 | mEmailOtherMessage2 = mMessage2->text(); |
584 | mEmailOtherMessageParameters2 = mParameters2->text(); | 623 | mEmailOtherMessageParameters2 = mParameters2->text(); |
585 | } | 624 | } |
586 | else if ((mCurrentApp == ExternalAppHandler::PHONE) && (mCurrentClient == KPimGlobalPrefs::OTHER_PHC)) | 625 | else if ((mCurrentApp == ExternalAppHandler::PHONE) && (mCurrentClient == KPimGlobalPrefs::OTHER_PHC)) |
587 | { | 626 | { |
588 | mPhoneOtherChannel = mChannel->text(); | 627 | mPhoneOtherChannel = mChannel->text(); |
589 | mPhoneOtherMessage = mMessage->text(); | 628 | mPhoneOtherMessage = mMessage->text(); |
590 | mPhoneOtherMessageParameters = mParameters->text(); | 629 | mPhoneOtherMessageParameters = mParameters->text(); |
591 | } | 630 | } |
592 | else if ((mCurrentApp == ExternalAppHandler::SMS) && (mCurrentClient == KPimGlobalPrefs::OTHER_SMC)) | 631 | else if ((mCurrentApp == ExternalAppHandler::SMS) && (mCurrentClient == KPimGlobalPrefs::OTHER_SMC)) |
593 | { | 632 | { |
594 | mSMSOtherChannel = mChannel->text(); | 633 | mSMSOtherChannel = mChannel->text(); |
595 | mSMSOtherMessage = mMessage->text(); | 634 | mSMSOtherMessage = mMessage->text(); |
596 | mSMSOtherMessageParameters = mParameters->text(); | 635 | mSMSOtherMessageParameters = mParameters->text(); |
597 | } | 636 | } |
598 | else if ((mCurrentApp == ExternalAppHandler::FAX) && (mCurrentClient == KPimGlobalPrefs::OTHER_FAC)) | 637 | else if ((mCurrentApp == ExternalAppHandler::FAX) && (mCurrentClient == KPimGlobalPrefs::OTHER_FAC)) |
599 | { | 638 | { |
600 | mFaxOtherChannel = mChannel->text(); | 639 | mFaxOtherChannel = mChannel->text(); |
601 | mFaxOtherMessage = mMessage->text(); | 640 | mFaxOtherMessage = mMessage->text(); |
602 | mFaxOtherMessageParameters = mParameters->text(); | 641 | mFaxOtherMessageParameters = mParameters->text(); |
603 | } | 642 | } |
604 | else if ((mCurrentApp == ExternalAppHandler::PAGER) && (mCurrentClient == KPimGlobalPrefs::OTHER_PAC)) | 643 | else if ((mCurrentApp == ExternalAppHandler::PAGER) && (mCurrentClient == KPimGlobalPrefs::OTHER_PAC)) |
605 | { | 644 | { |
606 | mPagerOtherChannel = mChannel->text(); | 645 | mPagerOtherChannel = mChannel->text(); |
607 | mPagerOtherMessage = mMessage->text(); | 646 | mPagerOtherMessage = mMessage->text(); |
608 | mPagerOtherMessageParameters = mParameters->text(); | 647 | mPagerOtherMessageParameters = mParameters->text(); |
609 | } | 648 | } |
610 | else if ((mCurrentApp == ExternalAppHandler::SIP) && (mCurrentClient == KPimGlobalPrefs::OTHER_SIC)) | 649 | else if ((mCurrentApp == ExternalAppHandler::SIP) && (mCurrentClient == KPimGlobalPrefs::OTHER_SIC)) |
611 | { | 650 | { |
612 | mSipOtherChannel = mChannel->text(); | 651 | mSipOtherChannel = mChannel->text(); |
613 | mSipOtherMessage = mMessage->text(); | 652 | mSipOtherMessage = mMessage->text(); |
614 | mSipOtherMessageParameters = mParameters->text(); | 653 | mSipOtherMessageParameters = mParameters->text(); |
615 | } | 654 | } |
616 | 655 | ||
617 | 656 | ||
618 | } | 657 | } |
619 | 658 | ||
620 | void KDEPIMConfigWidget::updateClientWidgets() | 659 | void KDEPIMConfigWidget::updateClientWidgets() |
621 | { | 660 | { |
622 | bool blocked = signalsBlocked(); | 661 | bool blocked = signalsBlocked(); |
623 | blockSignals( true ); | 662 | blockSignals( true ); |
624 | 663 | ||
625 | // at this point we assume, that mCurrentApp and mCurrentClient are set to the values that we want to display | 664 | // at this point we assume, that mCurrentApp and mCurrentClient are set to the values that we want to display |
626 | QMap<ExternalAppHandler::Types, QString>::Iterator it = mExternalAppsMap.find ( mCurrentApp ); | 665 | QMap<ExternalAppHandler::Types, QString>::Iterator it = mExternalAppsMap.find ( mCurrentApp ); |
627 | if (it == mExternalAppsMap.end()) | 666 | if (it == mExternalAppsMap.end()) |
628 | return; | 667 | return; |
629 | 668 | ||
630 | // update group box | 669 | // update group box |
631 | mExternalAppGroupBox->setTitle(i18n( "Used %1 Client" ).arg(it.data())); | 670 | mExternalAppGroupBox->setTitle(i18n( "Used %1 Client" ).arg(it.data())); |
632 | 671 | ||
633 | //update the entries in the client combobox | 672 | //update the entries in the client combobox |
634 | mClient->clear(); | 673 | mClient->clear(); |
635 | 674 | ||
636 | QList<DefaultAppItem> items = ExternalAppHandler::instance()->getAvailableDefaultItems(mCurrentApp); | 675 | QList<DefaultAppItem> items = ExternalAppHandler::instance()->getAvailableDefaultItems(mCurrentApp); |
637 | DefaultAppItem* dai; | 676 | DefaultAppItem* dai; |
638 | for ( dai=items.first(); dai != 0; dai=items.next() ) | 677 | for ( dai=items.first(); dai != 0; dai=items.next() ) |
639 | { | 678 | { |
640 | mClient->insertItem( i18n(dai->_label), dai->_id ); | 679 | mClient->insertItem( i18n(dai->_label), dai->_id ); |
641 | 680 | ||
642 | if (dai->_id == mCurrentClient) | 681 | if (dai->_id == mCurrentClient) |
643 | { | 682 | { |
644 | //restore the edit fields with the data of the local membervariables if we had set it to "other". | 683 | //restore the edit fields with the data of the local membervariables if we had set it to "other". |
645 | //Otherwise take the default data from externalapphandler. | 684 | //Otherwise take the default data from externalapphandler. |
646 | mChannel->setText(dai->_channel); | 685 | mChannel->setText(dai->_channel); |
647 | mMessage->setText(dai->_message); | 686 | mMessage->setText(dai->_message); |
648 | mParameters->setText(dai->_parameters); | 687 | mParameters->setText(dai->_parameters); |
649 | mMessage2->setText(dai->_message2); | 688 | mMessage2->setText(dai->_message2); |
650 | mParameters2->setText(dai->_parameters2); | 689 | mParameters2->setText(dai->_parameters2); |
651 | 690 | ||
652 | 691 | ||
653 | if ((mCurrentApp == ExternalAppHandler::EMAIL) && (mCurrentClient == KPimGlobalPrefs::OTHER_EMC)) | 692 | if ((mCurrentApp == ExternalAppHandler::EMAIL) && (mCurrentClient == KPimGlobalPrefs::OTHER_EMC)) |
654 | { | 693 | { |
655 | mChannel->setText(mEmailOtherChannel); | 694 | mChannel->setText(mEmailOtherChannel); |
656 | mMessage->setText(mEmailOtherMessage); | 695 | mMessage->setText(mEmailOtherMessage); |
657 | mParameters->setText(mEmailOtherMessageParameters); | 696 | mParameters->setText(mEmailOtherMessageParameters); |
658 | mMessage2->setText(mEmailOtherMessage2); | 697 | mMessage2->setText(mEmailOtherMessage2); |
659 | mParameters2->setText(mEmailOtherMessageParameters2); | 698 | mParameters2->setText(mEmailOtherMessageParameters2); |
660 | } | 699 | } |
661 | else if ((mCurrentApp == ExternalAppHandler::PHONE) && (mCurrentClient == KPimGlobalPrefs::OTHER_PHC)) | 700 | else if ((mCurrentApp == ExternalAppHandler::PHONE) && (mCurrentClient == KPimGlobalPrefs::OTHER_PHC)) |
662 | { | 701 | { |
663 | mChannel->setText(mPhoneOtherChannel); | 702 | mChannel->setText(mPhoneOtherChannel); |
664 | mMessage->setText(mPhoneOtherMessage); | 703 | mMessage->setText(mPhoneOtherMessage); |
665 | mParameters->setText(mPhoneOtherMessageParameters); | 704 | mParameters->setText(mPhoneOtherMessageParameters); |
666 | } | 705 | } |
667 | else if ((mCurrentApp == ExternalAppHandler::SMS) && (mCurrentClient == KPimGlobalPrefs::OTHER_SMC)) | 706 | else if ((mCurrentApp == ExternalAppHandler::SMS) && (mCurrentClient == KPimGlobalPrefs::OTHER_SMC)) |
668 | { | 707 | { |
669 | mChannel->setText(mSMSOtherChannel); | 708 | mChannel->setText(mSMSOtherChannel); |
670 | mMessage->setText(mSMSOtherMessage); | 709 | mMessage->setText(mSMSOtherMessage); |
671 | mParameters->setText(mSMSOtherMessageParameters); | 710 | mParameters->setText(mSMSOtherMessageParameters); |
672 | } | 711 | } |
673 | else if ((mCurrentApp == ExternalAppHandler::FAX) && (mCurrentClient == KPimGlobalPrefs::OTHER_FAC)) | 712 | else if ((mCurrentApp == ExternalAppHandler::FAX) && (mCurrentClient == KPimGlobalPrefs::OTHER_FAC)) |
674 | { | 713 | { |
675 | mChannel->setText(mFaxOtherChannel); | 714 | mChannel->setText(mFaxOtherChannel); |
676 | mMessage->setText(mFaxOtherMessage); | 715 | mMessage->setText(mFaxOtherMessage); |
677 | mParameters->setText(mFaxOtherMessageParameters); | 716 | mParameters->setText(mFaxOtherMessageParameters); |
678 | } | 717 | } |
679 | else if ((mCurrentApp == ExternalAppHandler::PAGER) && (mCurrentClient == KPimGlobalPrefs::OTHER_PAC)) | 718 | else if ((mCurrentApp == ExternalAppHandler::PAGER) && (mCurrentClient == KPimGlobalPrefs::OTHER_PAC)) |
680 | { | 719 | { |
681 | mChannel->setText(mPagerOtherChannel); | 720 | mChannel->setText(mPagerOtherChannel); |
682 | mMessage->setText(mPagerOtherMessage); | 721 | mMessage->setText(mPagerOtherMessage); |
683 | mParameters->setText(mPagerOtherMessageParameters); | 722 | mParameters->setText(mPagerOtherMessageParameters); |
684 | } | 723 | } |
685 | else if ((mCurrentApp == ExternalAppHandler::SIP) && (mCurrentClient == KPimGlobalPrefs::OTHER_SIC)) | 724 | else if ((mCurrentApp == ExternalAppHandler::SIP) && (mCurrentClient == KPimGlobalPrefs::OTHER_SIC)) |
686 | { | 725 | { |
687 | mChannel->setText(mSipOtherChannel); | 726 | mChannel->setText(mSipOtherChannel); |
688 | mMessage->setText(mSipOtherMessage); | 727 | mMessage->setText(mSipOtherMessage); |
689 | mParameters->setText(mSipOtherMessageParameters); | 728 | mParameters->setText(mSipOtherMessageParameters); |
690 | } | 729 | } |
691 | } | 730 | } |
692 | 731 | ||
693 | } | 732 | } |
694 | 733 | ||
695 | bool readonly; | 734 | bool readonly; |
696 | bool enabled; | 735 | bool enabled; |
697 | if ( ((mCurrentApp == ExternalAppHandler::EMAIL) && (mCurrentClient == KPimGlobalPrefs::OTHER_EMC)) | 736 | if ( ((mCurrentApp == ExternalAppHandler::EMAIL) && (mCurrentClient == KPimGlobalPrefs::OTHER_EMC)) |
698 | ||((mCurrentApp == ExternalAppHandler::PHONE) && (mCurrentClient == KPimGlobalPrefs::OTHER_PHC)) | 737 | ||((mCurrentApp == ExternalAppHandler::PHONE) && (mCurrentClient == KPimGlobalPrefs::OTHER_PHC)) |
699 | ||((mCurrentApp == ExternalAppHandler::SMS) && (mCurrentClient == KPimGlobalPrefs::OTHER_SMC)) | 738 | ||((mCurrentApp == ExternalAppHandler::SMS) && (mCurrentClient == KPimGlobalPrefs::OTHER_SMC)) |
700 | ||((mCurrentApp == ExternalAppHandler::FAX) && (mCurrentClient == KPimGlobalPrefs::OTHER_FAC)) | 739 | ||((mCurrentApp == ExternalAppHandler::FAX) && (mCurrentClient == KPimGlobalPrefs::OTHER_FAC)) |
701 | ||((mCurrentApp == ExternalAppHandler::PAGER) && (mCurrentClient == KPimGlobalPrefs::OTHER_PAC)) | 740 | ||((mCurrentApp == ExternalAppHandler::PAGER) && (mCurrentClient == KPimGlobalPrefs::OTHER_PAC)) |
702 | ||((mCurrentApp == ExternalAppHandler::SIP) && (mCurrentClient == KPimGlobalPrefs::OTHER_SIC))) | 741 | ||((mCurrentApp == ExternalAppHandler::SIP) && (mCurrentClient == KPimGlobalPrefs::OTHER_SIC))) |
703 | { | 742 | { |
704 | readonly = false; | 743 | readonly = false; |
705 | } | 744 | } |
706 | else | 745 | else |
707 | { | 746 | { |
708 | readonly = true; | 747 | readonly = true; |
709 | } | 748 | } |
710 | 749 | ||
711 | if ( ((mCurrentApp == ExternalAppHandler::EMAIL) && (mCurrentClient == KPimGlobalPrefs::NONE_EMC)) | 750 | if ( ((mCurrentApp == ExternalAppHandler::EMAIL) && (mCurrentClient == KPimGlobalPrefs::NONE_EMC)) |
712 | ||((mCurrentApp == ExternalAppHandler::PHONE) && (mCurrentClient == KPimGlobalPrefs::NONE_PHC)) | 751 | ||((mCurrentApp == ExternalAppHandler::PHONE) && (mCurrentClient == KPimGlobalPrefs::NONE_PHC)) |
713 | ||((mCurrentApp == ExternalAppHandler::SMS) && (mCurrentClient == KPimGlobalPrefs::NONE_SMC)) | 752 | ||((mCurrentApp == ExternalAppHandler::SMS) && (mCurrentClient == KPimGlobalPrefs::NONE_SMC)) |
714 | ||((mCurrentApp == ExternalAppHandler::FAX) && (mCurrentClient == KPimGlobalPrefs::NONE_FAC)) | 753 | ||((mCurrentApp == ExternalAppHandler::FAX) && (mCurrentClient == KPimGlobalPrefs::NONE_FAC)) |
715 | ||((mCurrentApp == ExternalAppHandler::PAGER) && (mCurrentClient == KPimGlobalPrefs::NONE_PAC)) | 754 | ||((mCurrentApp == ExternalAppHandler::PAGER) && (mCurrentClient == KPimGlobalPrefs::NONE_PAC)) |
716 | ||((mCurrentApp == ExternalAppHandler::SIP) && (mCurrentClient == KPimGlobalPrefs::NONE_SIC))) | 755 | ||((mCurrentApp == ExternalAppHandler::SIP) && (mCurrentClient == KPimGlobalPrefs::NONE_SIC))) |
717 | { | 756 | { |
718 | enabled = false; | 757 | enabled = false; |
719 | } | 758 | } |
720 | else | 759 | else |
721 | { | 760 | { |
722 | enabled = true; | 761 | enabled = true; |
723 | } | 762 | } |
724 | 763 | ||
725 | 764 | ||
726 | mChannel->setReadOnly(readonly); | 765 | mChannel->setReadOnly(readonly); |
727 | mMessage->setReadOnly(readonly); | 766 | mMessage->setReadOnly(readonly); |
728 | mParameters->setReadOnly(readonly); | 767 | mParameters->setReadOnly(readonly); |
729 | mMessage2->setReadOnly(readonly); | 768 | mMessage2->setReadOnly(readonly); |
730 | mParameters2->setReadOnly(readonly); | 769 | mParameters2->setReadOnly(readonly); |
731 | 770 | ||
732 | mChannel->setEnabled(enabled); | 771 | mChannel->setEnabled(enabled); |
733 | mMessage->setEnabled(enabled); | 772 | mMessage->setEnabled(enabled); |
734 | mParameters->setEnabled(enabled); | 773 | mParameters->setEnabled(enabled); |
735 | mMessage2->setEnabled(enabled); | 774 | mMessage2->setEnabled(enabled); |
736 | mParameters2->setEnabled(enabled); | 775 | mParameters2->setEnabled(enabled); |
737 | 776 | ||
738 | 777 | ||
739 | 778 | ||
740 | mClient->setCurrentItem(mCurrentClient); | 779 | mClient->setCurrentItem(mCurrentClient); |
741 | 780 | ||
742 | 781 | ||
743 | // enable/disable the extra message/parameter field | 782 | // enable/disable the extra message/parameter field |
744 | if (mCurrentApp == ExternalAppHandler::EMAIL) | 783 | if (mCurrentApp == ExternalAppHandler::EMAIL) |
745 | { | 784 | { |
746 | } | 785 | } |
747 | else | 786 | else |
748 | { | 787 | { |
749 | mMessage2->setText( "" ); | 788 | mMessage2->setText( "" ); |
750 | mParameters2->setText( "" ); | 789 | mParameters2->setText( "" ); |
751 | } | 790 | } |
752 | 791 | ||
753 | if (enabled == true) { | 792 | if (enabled == true) { |
754 | mMessage2->setEnabled(mCurrentApp == ExternalAppHandler::EMAIL); | 793 | mMessage2->setEnabled(mCurrentApp == ExternalAppHandler::EMAIL); |
755 | mParameters2->setEnabled(mCurrentApp == ExternalAppHandler::EMAIL); | 794 | mParameters2->setEnabled(mCurrentApp == ExternalAppHandler::EMAIL); |
756 | } | 795 | } |
757 | 796 | ||
758 | 797 | ||
759 | blockSignals( blocked ); | 798 | blockSignals( blocked ); |
760 | 799 | ||
761 | } | 800 | } |
762 | 801 | ||
763 | void KDEPIMConfigWidget::usrReadConfig() | 802 | void KDEPIMConfigWidget::usrReadConfig() |
764 | { | 803 | { |
765 | KPimGlobalPrefs* prefs = KPimGlobalPrefs::instance(); | 804 | KPimGlobalPrefs* prefs = KPimGlobalPrefs::instance(); |
766 | 805 | ||
767 | bool blocked = signalsBlocked(); | 806 | bool blocked = signalsBlocked(); |
768 | blockSignals( true ); | 807 | blockSignals( true ); |
769 | 808 | ||
770 | QString dummy = prefs->mUserDateFormatLong; | 809 | QString dummy = prefs->mUserDateFormatLong; |
771 | mUserDateFormatLong->setText(dummy.replace( QRegExp("K"), QString(",") )); | 810 | mUserDateFormatLong->setText(dummy.replace( QRegExp("K"), QString(",") )); |
772 | dummy = prefs->mUserDateFormatShort; | 811 | dummy = prefs->mUserDateFormatShort; |
773 | mUserDateFormatShort->setText(dummy.replace( QRegExp("K"), QString(",") )); | 812 | mUserDateFormatShort->setText(dummy.replace( QRegExp("K"), QString(",") )); |
774 | 813 | ||
775 | QDate current ( 2001, 1,1); | 814 | QDate current ( 2001, 1,1); |
776 | mStartDateSavingEdit->setDate(current.addDays(prefs->mDaylightsavingStart-1)); | 815 | mStartDateSavingEdit->setDate(current.addDays(prefs->mDaylightsavingStart-1)); |
777 | mEndDateSavingEdit->setDate(current.addDays(prefs->mDaylightsavingEnd-1)); | 816 | mEndDateSavingEdit->setDate(current.addDays(prefs->mDaylightsavingEnd-1)); |
778 | setCombo(mTimeZoneCombo,i18n(prefs->mTimeZoneId)); | 817 | setCombo(mTimeZoneCombo,i18n(prefs->mTimeZoneId)); |
779 | 818 | ||
780 | 819 | ||
781 | 820 | ||
782 | 821 | ||
783 | mEmailClient = prefs->mEmailClient; | 822 | mEmailClient = prefs->mEmailClient; |
784 | mEmailOtherChannel = prefs->mEmailOtherChannel; | 823 | mEmailOtherChannel = prefs->mEmailOtherChannel; |
785 | mEmailOtherMessage = prefs->mEmailOtherMessage; | 824 | mEmailOtherMessage = prefs->mEmailOtherMessage; |
786 | mEmailOtherMessageParameters = prefs->mEmailOtherMessageParameters; | 825 | mEmailOtherMessageParameters = prefs->mEmailOtherMessageParameters; |
787 | mEmailOtherMessage2 = prefs->mEmailOtherMessage2; | 826 | mEmailOtherMessage2 = prefs->mEmailOtherMessage2; |
788 | mEmailOtherMessageParameters2 = prefs->mEmailOtherMessageParameters2; | 827 | mEmailOtherMessageParameters2 = prefs->mEmailOtherMessageParameters2; |
789 | 828 | ||
790 | mPhoneClient = prefs->mPhoneClient; | 829 | mPhoneClient = prefs->mPhoneClient; |
791 | mPhoneOtherChannel = prefs->mPhoneOtherChannel; | 830 | mPhoneOtherChannel = prefs->mPhoneOtherChannel; |
792 | mPhoneOtherMessage = prefs->mPhoneOtherMessage; | 831 | mPhoneOtherMessage = prefs->mPhoneOtherMessage; |
793 | mPhoneOtherMessageParameters = prefs->mPhoneOtherMessageParameters; | 832 | mPhoneOtherMessageParameters = prefs->mPhoneOtherMessageParameters; |
794 | 833 | ||
795 | mFaxClient = prefs->mFaxClient; | 834 | mFaxClient = prefs->mFaxClient; |
796 | mFaxOtherChannel = prefs->mFaxOtherChannel; | 835 | mFaxOtherChannel = prefs->mFaxOtherChannel; |
797 | mFaxOtherMessage = prefs->mFaxOtherMessage; | 836 | mFaxOtherMessage = prefs->mFaxOtherMessage; |
798 | mFaxOtherMessageParameters = prefs->mFaxOtherMessageParameters; | 837 | mFaxOtherMessageParameters = prefs->mFaxOtherMessageParameters; |
799 | 838 | ||
800 | mSMSClient = prefs->mSMSClient; | 839 | mSMSClient = prefs->mSMSClient; |
801 | mSMSOtherChannel = prefs->mSMSOtherChannel; | 840 | mSMSOtherChannel = prefs->mSMSOtherChannel; |
802 | mSMSOtherMessage = prefs->mSMSOtherMessage; | 841 | mSMSOtherMessage = prefs->mSMSOtherMessage; |
803 | mSMSOtherMessageParameters = prefs->mSMSOtherMessageParameters; | 842 | mSMSOtherMessageParameters = prefs->mSMSOtherMessageParameters; |
804 | 843 | ||
805 | mPagerClient = prefs->mPagerClient; | 844 | mPagerClient = prefs->mPagerClient; |
806 | mPagerOtherChannel = prefs->mPagerOtherChannel; | 845 | mPagerOtherChannel = prefs->mPagerOtherChannel; |
807 | mPagerOtherMessage = prefs->mPagerOtherMessage; | 846 | mPagerOtherMessage = prefs->mPagerOtherMessage; |
808 | mPagerOtherMessageParameters = prefs->mPagerOtherMessageParameters; | 847 | mPagerOtherMessageParameters = prefs->mPagerOtherMessageParameters; |
809 | 848 | ||
810 | mSipClient = prefs->mSipClient; | 849 | mSipClient = prefs->mSipClient; |
811 | mSipOtherChannel = prefs->mSipOtherChannel; | 850 | mSipOtherChannel = prefs->mSipOtherChannel; |
812 | mSipOtherMessage = prefs->mSipOtherMessage; | 851 | mSipOtherMessage = prefs->mSipOtherMessage; |
813 | mSipOtherMessageParameters = prefs->mSipOtherMessageParameters; | 852 | mSipOtherMessageParameters = prefs->mSipOtherMessageParameters; |
814 | 853 | ||
815 | mCurrentApp = ExternalAppHandler::EMAIL; | 854 | mCurrentApp = ExternalAppHandler::EMAIL; |
816 | mCurrentClient = mEmailClient; | 855 | mCurrentClient = mEmailClient; |
817 | 856 | ||
818 | updateClientWidgets(); | 857 | updateClientWidgets(); |
819 | 858 | ||
820 | blockSignals( blocked ); | 859 | blockSignals( blocked ); |
821 | 860 | ||
822 | } | 861 | } |
823 | 862 | ||
824 | void KDEPIMConfigWidget::usrWriteConfig() | 863 | void KDEPIMConfigWidget::usrWriteConfig() |
825 | { | 864 | { |
826 | KPimGlobalPrefs* prefs = KPimGlobalPrefs::instance(); | 865 | KPimGlobalPrefs* prefs = KPimGlobalPrefs::instance(); |
827 | 866 | ||
828 | saveEditFieldSettings(); | 867 | saveEditFieldSettings(); |
829 | 868 | ||
830 | 869 | ||
831 | prefs->mUserDateFormatShort = mUserDateFormatShort->text().replace( QRegExp(","), QString("K") ); | 870 | prefs->mUserDateFormatShort = mUserDateFormatShort->text().replace( QRegExp(","), QString("K") ); |
832 | prefs->mUserDateFormatLong = mUserDateFormatLong->text().replace( QRegExp(","), QString("K") ); | 871 | prefs->mUserDateFormatLong = mUserDateFormatLong->text().replace( QRegExp(","), QString("K") ); |
833 | 872 | ||
834 | prefs->mTimeZoneId = mTimeZoneCombo->currentText(); | 873 | prefs->mTimeZoneId = mTimeZoneCombo->currentText(); |
835 | QDate date; | 874 | QDate date; |
836 | date = mStartDateSavingEdit->date(); | 875 | date = mStartDateSavingEdit->date(); |
837 | int sub = 0; | 876 | int sub = 0; |
838 | if ( QDate::leapYear( date.year() ) && date.dayOfYear() > 59 ) | 877 | if ( QDate::leapYear( date.year() ) && date.dayOfYear() > 59 ) |
839 | sub = 1; | 878 | sub = 1; |
840 | prefs->mDaylightsavingStart = date.dayOfYear()-sub; | 879 | prefs->mDaylightsavingStart = date.dayOfYear()-sub; |
841 | date = mEndDateSavingEdit->date(); | 880 | date = mEndDateSavingEdit->date(); |
842 | if ( QDate::leapYear( date.year() ) && date.dayOfYear() > 59 ) | 881 | if ( QDate::leapYear( date.year() ) && date.dayOfYear() > 59 ) |
843 | sub = 1; | 882 | sub = 1; |
844 | else | 883 | else |
845 | sub = 0; | 884 | sub = 0; |
846 | prefs->mDaylightsavingEnd = date.dayOfYear()-sub; | 885 | prefs->mDaylightsavingEnd = date.dayOfYear()-sub; |
847 | 886 | ||
848 | 887 | ||
849 | prefs->mEmailClient = mEmailClient; | 888 | prefs->mEmailClient = mEmailClient; |
850 | prefs->mEmailOtherChannel = mEmailOtherChannel; | 889 | prefs->mEmailOtherChannel = mEmailOtherChannel; |
851 | prefs->mEmailOtherMessage = mEmailOtherMessage; | 890 | prefs->mEmailOtherMessage = mEmailOtherMessage; |
852 | prefs->mEmailOtherMessageParameters = mEmailOtherMessageParameters; | 891 | prefs->mEmailOtherMessageParameters = mEmailOtherMessageParameters; |
853 | prefs->mEmailOtherMessage2 = mEmailOtherMessage2; | 892 | prefs->mEmailOtherMessage2 = mEmailOtherMessage2; |
854 | prefs->mEmailOtherMessageParameters2 = mEmailOtherMessageParameters2; | 893 | prefs->mEmailOtherMessageParameters2 = mEmailOtherMessageParameters2; |
855 | 894 | ||
856 | prefs->mPhoneClient = mPhoneClient; | 895 | prefs->mPhoneClient = mPhoneClient; |
857 | prefs->mPhoneOtherChannel = mPhoneOtherChannel; | 896 | prefs->mPhoneOtherChannel = mPhoneOtherChannel; |
858 | prefs->mPhoneOtherMessage = mPhoneOtherMessage; | 897 | prefs->mPhoneOtherMessage = mPhoneOtherMessage; |
859 | prefs->mPhoneOtherMessageParameters = mPhoneOtherMessageParameters; | 898 | prefs->mPhoneOtherMessageParameters = mPhoneOtherMessageParameters; |
860 | 899 | ||
861 | prefs->mFaxClient = mFaxClient; | 900 | prefs->mFaxClient = mFaxClient; |
862 | prefs->mFaxOtherChannel = mFaxOtherChannel; | 901 | prefs->mFaxOtherChannel = mFaxOtherChannel; |
863 | prefs->mFaxOtherMessage = mFaxOtherMessage; | 902 | prefs->mFaxOtherMessage = mFaxOtherMessage; |
864 | prefs->mFaxOtherMessageParameters = mFaxOtherMessageParameters; | 903 | prefs->mFaxOtherMessageParameters = mFaxOtherMessageParameters; |
865 | 904 | ||
866 | prefs->mSMSClient = mSMSClient; | 905 | prefs->mSMSClient = mSMSClient; |
867 | prefs->mSMSOtherChannel = mSMSOtherChannel; | 906 | prefs->mSMSOtherChannel = mSMSOtherChannel; |
868 | prefs->mSMSOtherMessage = mSMSOtherMessage; | 907 | prefs->mSMSOtherMessage = mSMSOtherMessage; |
869 | prefs->mSMSOtherMessageParameters = mSMSOtherMessageParameters; | 908 | prefs->mSMSOtherMessageParameters = mSMSOtherMessageParameters; |
870 | 909 | ||
871 | prefs->mPagerClient = mPagerClient; | 910 | prefs->mPagerClient = mPagerClient; |
872 | prefs->mPagerOtherChannel = mPagerOtherChannel; | 911 | prefs->mPagerOtherChannel = mPagerOtherChannel; |
873 | prefs->mPagerOtherMessage = mPagerOtherMessage; | 912 | prefs->mPagerOtherMessage = mPagerOtherMessage; |
874 | prefs->mPagerOtherMessageParameters = mPagerOtherMessageParameters; | 913 | prefs->mPagerOtherMessageParameters = mPagerOtherMessageParameters; |
875 | 914 | ||
876 | 915 | ||
877 | prefs->mSipClient = mSipClient; | 916 | prefs->mSipClient = mSipClient; |
878 | prefs->mSipOtherChannel = mSipOtherChannel; | 917 | prefs->mSipOtherChannel = mSipOtherChannel; |
879 | prefs->mSipOtherMessage = mSipOtherMessage; | 918 | prefs->mSipOtherMessage = mSipOtherMessage; |
880 | prefs->mSipOtherMessageParameters = mSipOtherMessageParameters; | 919 | prefs->mSipOtherMessageParameters = mSipOtherMessageParameters; |
881 | 920 | ||
882 | //release the cache that other views can access the changed values instantanious | 921 | //release the cache that other views can access the changed values instantanious |
883 | ExternalAppHandler::instance()->loadConfig(); | 922 | ExternalAppHandler::instance()->loadConfig(); |
884 | KPimGlobalPrefs::instance()->setGlobalConfig(); | 923 | KPimGlobalPrefs::instance()->setGlobalConfig(); |
885 | } | 924 | } |
diff --git a/libkdepim/kcmconfigs/kdepimconfigwidget.h b/libkdepim/kcmconfigs/kdepimconfigwidget.h index 984e4e0..c0b92a9 100644 --- a/libkdepim/kcmconfigs/kdepimconfigwidget.h +++ b/libkdepim/kcmconfigs/kdepimconfigwidget.h | |||
@@ -1,161 +1,163 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of KDEPim/Pi. | 2 | This file is part of KDEPim/Pi. |
3 | Copyright (c) 2004 Ulf Schenk | 3 | Copyright (c) 2004 Ulf Schenk |
4 | 4 | ||
5 | This program is free software; you can redistribute it and/or modify | 5 | This program is free software; you can redistribute it and/or modify |
6 | it under the terms of the GNU General Public License as published by | 6 | it under the terms of the GNU General Public License as published by |
7 | the Free Software Foundation; either version 2 of the License, or | 7 | the Free Software Foundation; either version 2 of the License, or |
8 | (at your option) any later version. | 8 | (at your option) any later version. |
9 | 9 | ||
10 | This program is distributed in the hope that it will be useful, | 10 | This program is distributed in the hope that it will be useful, |
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
13 | GNU General Public License for more details. | 13 | GNU General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU General Public License | 15 | You should have received a copy of the GNU General Public License |
16 | along with this program; if not, write to the Free Software | 16 | along with this program; if not, write to the Free Software |
17 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 17 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
18 | 18 | ||
19 | As a special exception, permission is given to link this program | 19 | As a special exception, permission is given to link this program |
20 | with any edition of Qt, and distribute the resulting executable, | 20 | with any edition of Qt, and distribute the resulting executable, |
21 | without including the source code for Qt in the source distribution. | 21 | without including the source code for Qt in the source distribution. |
22 | */ | 22 | */ |
23 | 23 | ||
24 | /* | 24 | /* |
25 | Enhanced Version of the file for platform independent KDE tools. | 25 | Enhanced Version of the file for platform independent KDE tools. |
26 | Copyright (c) 2004 Ulf Schenk | 26 | Copyright (c) 2004 Ulf Schenk |
27 | 27 | ||
28 | $Id$ | 28 | $Id$ |
29 | */ | 29 | */ |
30 | 30 | ||
31 | #ifndef KDEPIMCONFIGWIDGET_H | 31 | #ifndef KDEPIMCONFIGWIDGET_H |
32 | #define KDEPIMCONFIGWIDGET_H | 32 | #define KDEPIMCONFIGWIDGET_H |
33 | 33 | ||
34 | #include <kprefswidget.h> | 34 | #include <kprefswidget.h> |
35 | #include <kio/kfile/kurlrequester.h> | 35 | #include <kio/kfile/kurlrequester.h> |
36 | #include <qmap.h> | 36 | #include <qmap.h> |
37 | 37 | ||
38 | #include "externalapphandler.h" | 38 | #include "externalapphandler.h" |
39 | 39 | ||
40 | 40 | ||
41 | class QComboBox; | 41 | class QComboBox; |
42 | class QLineEdit; | 42 | class QLineEdit; |
43 | class KPimGlobalPrefs; | 43 | class KPimGlobalPrefs; |
44 | class QGroupBox; | 44 | class QGroupBox; |
45 | class QTabWidget; | 45 | class QTabWidget; |
46 | class KDateEdit; | 46 | class KDateEdit; |
47 | 47 | ||
48 | class KDEPIMConfigWidget : public KPrefsWidget | 48 | class KDEPIMConfigWidget : public KPrefsWidget |
49 | { | 49 | { |
50 | Q_OBJECT | 50 | Q_OBJECT |
51 | 51 | ||
52 | public: | 52 | public: |
53 | KDEPIMConfigWidget(KPimGlobalPrefs *prefs, QWidget *parent, const char *name = 0 ); | 53 | KDEPIMConfigWidget(KPimGlobalPrefs *prefs, QWidget *parent, const char *name = 0 ); |
54 | 54 | ||
55 | public slots: | 55 | public slots: |
56 | void textChanged( const QString& text ); | 56 | void textChanged( const QString& text ); |
57 | void showTimeZoneTab(); | 57 | void showTimeZoneTab(); |
58 | 58 | ||
59 | protected: | 59 | protected: |
60 | /** Implement this to read custom configuration widgets. */ | 60 | /** Implement this to read custom configuration widgets. */ |
61 | virtual void usrReadConfig(); | 61 | virtual void usrReadConfig(); |
62 | /** Implement this to write custom configuration widgets. */ | 62 | /** Implement this to write custom configuration widgets. */ |
63 | virtual void usrWriteConfig(); | 63 | virtual void usrWriteConfig(); |
64 | 64 | ||
65 | 65 | ||
66 | private slots: | 66 | private slots: |
67 | // void configureExtension(); | 67 | // void configureExtension(); |
68 | // void selectionChanged( QListViewItem* ); | 68 | // void selectionChanged( QListViewItem* ); |
69 | // void itemClicked( QListViewItem* ); | 69 | // void itemClicked( QListViewItem* ); |
70 | void client_changed( int newClient ); | 70 | void client_changed( int newClient ); |
71 | void externalapp_changed( int newApp ); | 71 | void externalapp_changed( int newApp ); |
72 | void saveStoreSettings(); | 72 | void saveStoreSettings(); |
73 | void setStandardStore(); | 73 | void setStandardStore(); |
74 | void setLocalStore(); | 74 | void setLocalStore(); |
75 | 75 | ||
76 | private: | 76 | private: |
77 | void setupExternalAppTab(); | 77 | void setupExternalAppTab(); |
78 | void setupLocaleDateTab(); | 78 | void setupLocaleDateTab(); |
79 | void setupLocaleTab(); | 79 | void setupLocaleTab(); |
80 | void setupTimeZoneTab(); | 80 | void setupTimeZoneTab(); |
81 | void setupStoreTab(); | 81 | void setupStoreTab(); |
82 | void setupBackupTab(); | ||
82 | KURLRequester* mStoreUrl; | 83 | KURLRequester* mStoreUrl; |
83 | 84 | ||
84 | void setCombo(QComboBox *combo,const QString & text, const QStringList *tags = 0); | 85 | void setCombo(QComboBox *combo,const QString & text, const QStringList *tags = 0); |
85 | 86 | ||
86 | 87 | ||
87 | void saveEditFieldSettings(); | 88 | void saveEditFieldSettings(); |
88 | void updateClientWidgets(); | 89 | void updateClientWidgets(); |
89 | 90 | ||
90 | QTabWidget *tabWidget; | 91 | QTabWidget *tabWidget; |
91 | 92 | ||
92 | 93 | ||
93 | QLineEdit* mUserDateFormatShort; | 94 | QLineEdit* mUserDateFormatShort; |
94 | QLineEdit* mUserDateFormatLong; | 95 | QLineEdit* mUserDateFormatLong; |
95 | QComboBox* mTimeZoneCombo; | 96 | QComboBox* mTimeZoneCombo; |
96 | KDateEdit* mStartDateSavingEdit; | 97 | KDateEdit* mStartDateSavingEdit; |
97 | KDateEdit* mEndDateSavingEdit; | 98 | KDateEdit* mEndDateSavingEdit; |
98 | 99 | ||
99 | // void restoreExtensionSettings(); | 100 | // void restoreExtensionSettings(); |
100 | // void saveExtensionSettings(); | 101 | // void saveExtensionSettings(); |
101 | 102 | ||
102 | // KListView *mExtensionView; | 103 | // KListView *mExtensionView; |
103 | 104 | ||
104 | // QCheckBox *mNameParsing; | 105 | // QCheckBox *mNameParsing; |
105 | // QCheckBox *mViewsSingleClickBox; | 106 | // QCheckBox *mViewsSingleClickBox; |
106 | // QPushButton *mConfigureButton; | 107 | // QPushButton *mConfigureButton; |
107 | QComboBox* mExternalApps; | 108 | QComboBox* mExternalApps; |
108 | QGroupBox* mExternalAppGroupBox; | 109 | QGroupBox* mExternalAppGroupBox; |
109 | 110 | ||
110 | 111 | ||
111 | QComboBox* mClient; | 112 | QComboBox* mClient; |
112 | QLineEdit* mChannel; | 113 | QLineEdit* mChannel; |
113 | QLineEdit* mMessage; | 114 | QLineEdit* mMessage; |
114 | QLineEdit* mParameters; | 115 | QLineEdit* mParameters; |
115 | QLineEdit* mMessage2; | 116 | QLineEdit* mMessage2; |
116 | QLineEdit* mParameters2; | 117 | QLineEdit* mParameters2; |
117 | 118 | ||
118 | ExternalAppHandler::Types mCurrentApp; | 119 | ExternalAppHandler::Types mCurrentApp; |
119 | int mCurrentClient; | 120 | int mCurrentClient; |
120 | 121 | ||
121 | 122 | ||
122 | int mEmailClient; | 123 | int mEmailClient; |
123 | QString mEmailOtherChannel; | 124 | QString mEmailOtherChannel; |
124 | QString mEmailOtherMessage; | 125 | QString mEmailOtherMessage; |
125 | QString mEmailOtherMessageParameters; | 126 | QString mEmailOtherMessageParameters; |
126 | QString mEmailOtherMessage2; | 127 | QString mEmailOtherMessage2; |
127 | QString mEmailOtherMessageParameters2; | 128 | QString mEmailOtherMessageParameters2; |
128 | 129 | ||
129 | int mPhoneClient; | 130 | int mPhoneClient; |
130 | QString mPhoneOtherChannel; | 131 | QString mPhoneOtherChannel; |
131 | QString mPhoneOtherMessage; | 132 | QString mPhoneOtherMessage; |
132 | QString mPhoneOtherMessageParameters; | 133 | QString mPhoneOtherMessageParameters; |
133 | 134 | ||
134 | int mFaxClient; | 135 | int mFaxClient; |
135 | QString mFaxOtherChannel; | 136 | QString mFaxOtherChannel; |
136 | QString mFaxOtherMessage; | 137 | QString mFaxOtherMessage; |
137 | QString mFaxOtherMessageParameters; | 138 | QString mFaxOtherMessageParameters; |
138 | 139 | ||
139 | int mSMSClient; | 140 | int mSMSClient; |
140 | QString mSMSOtherChannel; | 141 | QString mSMSOtherChannel; |
141 | QString mSMSOtherMessage; | 142 | QString mSMSOtherMessage; |
142 | QString mSMSOtherMessageParameters; | 143 | QString mSMSOtherMessageParameters; |
143 | 144 | ||
144 | int mPagerClient; | 145 | int mPagerClient; |
145 | QString mPagerOtherChannel; | 146 | QString mPagerOtherChannel; |
146 | QString mPagerOtherMessage; | 147 | QString mPagerOtherMessage; |
147 | QString mPagerOtherMessageParameters; | 148 | QString mPagerOtherMessageParameters; |
148 | 149 | ||
149 | int mSipClient; | 150 | int mSipClient; |
150 | QString mSipOtherChannel; | 151 | QString mSipOtherChannel; |
151 | QString mSipOtherMessage; | 152 | QString mSipOtherMessage; |
152 | QString mSipOtherMessageParameters; | 153 | QString mSipOtherMessageParameters; |
153 | 154 | ||
154 | 155 | ||
155 | 156 | KURLRequester* mBackupUrl; | |
157 | QSpinBox* mBackupDayCountSpin, *mBackupNumbersSpin ; | ||
156 | QMap<ExternalAppHandler::Types, QString> mExternalAppsMap; | 158 | QMap<ExternalAppHandler::Types, QString> mExternalAppsMap; |
157 | 159 | ||
158 | // AddresseeWidget *mAddresseeWidget; | 160 | // AddresseeWidget *mAddresseeWidget; |
159 | }; | 161 | }; |
160 | 162 | ||
161 | #endif | 163 | #endif |
diff --git a/libkdepim/kpimglobalprefs.cpp b/libkdepim/kpimglobalprefs.cpp index 873f0eb..90321b2 100644 --- a/libkdepim/kpimglobalprefs.cpp +++ b/libkdepim/kpimglobalprefs.cpp | |||
@@ -1,216 +1,223 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of libkdepim. | 2 | This file is part of libkdepim. |
3 | Copyright (c) 2002 Cornelius Schumacher <schumacher@kde.org> | 3 | Copyright (c) 2002 Cornelius Schumacher <schumacher@kde.org> |
4 | 4 | ||
5 | This program is free software; you can redistribute it and/or modify | 5 | This program is free software; you can redistribute it and/or modify |
6 | it under the terms of the GNU General Public License as published by | 6 | it under the terms of the GNU General Public License as published by |
7 | the Free Software Foundation; either version 2 of the License, or | 7 | the Free Software Foundation; either version 2 of the License, or |
8 | (at your option) any later version. | 8 | (at your option) any later version. |
9 | 9 | ||
10 | This program is distributed in the hope that it will be useful, | 10 | This program is distributed in the hope that it will be useful, |
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
13 | GNU General Public License for more details. | 13 | GNU General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU General Public License | 15 | You should have received a copy of the GNU General Public License |
16 | along with this program; if not, write to the Free Software | 16 | along with this program; if not, write to the Free Software |
17 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 17 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
18 | 18 | ||
19 | As a special exception, permission is given to link this program | 19 | As a special exception, permission is given to link this program |
20 | with any edition of Qt, and distribute the resulting executable, | 20 | with any edition of Qt, and distribute the resulting executable, |
21 | without including the source code for Qt in the source distribution. | 21 | without including the source code for Qt in the source distribution. |
22 | */ | 22 | */ |
23 | 23 | ||
24 | /* | 24 | /* |
25 | Enhanced Version of the file for platform independent KDE tools. | 25 | Enhanced Version of the file for platform independent KDE tools. |
26 | Copyright (c) 2004 Ulf Schenk | 26 | Copyright (c) 2004 Ulf Schenk |
27 | 27 | ||
28 | $Id$ | 28 | $Id$ |
29 | */ | 29 | */ |
30 | 30 | ||
31 | #include <kglobal.h> | 31 | #include <kglobal.h> |
32 | #include <kconfig.h> | 32 | #include <kconfig.h> |
33 | #include <klocale.h> | 33 | #include <klocale.h> |
34 | #include <kdebug.h> | 34 | #include <kdebug.h> |
35 | #include <kglobalsettings.h> | 35 | #include <kglobalsettings.h> |
36 | #include <kstaticdeleter.h> | 36 | #include <kstaticdeleter.h> |
37 | 37 | ||
38 | #include <qregexp.h> | 38 | #include <qregexp.h> |
39 | #include <qfile.h> | 39 | #include <qfile.h> |
40 | #include <stdlib.h> | 40 | #include <stdlib.h> |
41 | #include <qtextstream.h> | 41 | #include <qtextstream.h> |
42 | #include <qapplication.h> | 42 | #include <qapplication.h> |
43 | #include "kpimglobalprefs.h" | 43 | #include "kpimglobalprefs.h" |
44 | 44 | ||
45 | KPimGlobalPrefs *KPimGlobalPrefs::sInstance = 0; | 45 | KPimGlobalPrefs *KPimGlobalPrefs::sInstance = 0; |
46 | static KStaticDeleter<KPimGlobalPrefs> staticDeleterGP; | 46 | static KStaticDeleter<KPimGlobalPrefs> staticDeleterGP; |
47 | 47 | ||
48 | 48 | ||
49 | KPimGlobalPrefs::KPimGlobalPrefs( const QString &name ) | 49 | KPimGlobalPrefs::KPimGlobalPrefs( const QString &name ) |
50 | : KPrefs("microkdeglobalrc") | 50 | : KPrefs("microkdeglobalrc") |
51 | { | 51 | { |
52 | mLocaleDict = 0; | 52 | mLocaleDict = 0; |
53 | KPrefs::setCurrentGroup("Fonts"); | 53 | KPrefs::setCurrentGroup("Fonts"); |
54 | addItemFont("ApplicationFont",&mApplicationFont,KGlobalSettings::generalFont() ); | 54 | addItemFont("ApplicationFont",&mApplicationFont,KGlobalSettings::generalFont() ); |
55 | KPrefs::setCurrentGroup("Locale"); | 55 | KPrefs::setCurrentGroup("Locale"); |
56 | addItemInt("PreferredLanguage",&mPreferredLanguage,0); | 56 | addItemInt("PreferredLanguage",&mPreferredLanguage,0); |
57 | addItemInt("PreferredTime",&mPreferredTime,0); | 57 | addItemInt("PreferredTime",&mPreferredTime,0); |
58 | addItemInt("PreferredDate",&mPreferredDate,0); | 58 | addItemInt("PreferredDate",&mPreferredDate,0); |
59 | addItemBool("WeekStartsOnSunday",&mWeekStartsOnSunday,false); | 59 | addItemBool("WeekStartsOnSunday",&mWeekStartsOnSunday,false); |
60 | addItemString("UserDateFormatLong", &mUserDateFormatLong, "%AK %d. %b %y"); | 60 | addItemString("UserDateFormatLong", &mUserDateFormatLong, "%AK %d. %b %y"); |
61 | addItemString("UserDateFormatShort", &mUserDateFormatShort, "%aK %d.%m.%y"); | 61 | addItemString("UserDateFormatShort", &mUserDateFormatShort, "%aK %d.%m.%y"); |
62 | 62 | ||
63 | KPrefs::setCurrentGroup("Colors"); | 63 | KPrefs::setCurrentGroup("Colors"); |
64 | addItemColor("AlternateBGcolor",&mAlternateColor,KGlobalSettings::alternateBackgroundColor()); | 64 | addItemColor("AlternateBGcolor",&mAlternateColor,KGlobalSettings::alternateBackgroundColor()); |
65 | 65 | ||
66 | 66 | ||
67 | KPrefs::setCurrentGroup("Time & Date"); | 67 | KPrefs::setCurrentGroup("Time & Date"); |
68 | 68 | ||
69 | addItemString("TimeZoneName",&mTimeZoneId, ("+01:00 Europe/Oslo(CET)") ); | 69 | addItemString("TimeZoneName",&mTimeZoneId, ("+01:00 Europe/Oslo(CET)") ); |
70 | addItemBool("UseDaylightsaving",&mUseDaylightsaving,true); | 70 | addItemBool("UseDaylightsaving",&mUseDaylightsaving,true); |
71 | addItemBool("TimeZoneAdd30min",&mTimeZoneAdd30min,false); | 71 | addItemBool("TimeZoneAdd30min",&mTimeZoneAdd30min,false); |
72 | addItemInt("DaylightsavingStart",&mDaylightsavingStart,90); | 72 | addItemInt("DaylightsavingStart",&mDaylightsavingStart,90); |
73 | addItemInt("DaylightsavingEnd",&mDaylightsavingEnd,304); | 73 | addItemInt("DaylightsavingEnd",&mDaylightsavingEnd,304); |
74 | 74 | ||
75 | KPrefs::setCurrentGroup( "ExternalApplications" ); | 75 | KPrefs::setCurrentGroup( "ExternalApplications" ); |
76 | 76 | ||
77 | addItemInt( "EmailChannelType", &mEmailClient, OMPI_EMC ); | 77 | addItemInt( "EmailChannelType", &mEmailClient, OMPI_EMC ); |
78 | addItemString( "EmailChannel", &mEmailOtherChannel, "" ); | 78 | addItemString( "EmailChannel", &mEmailOtherChannel, "" ); |
79 | addItemString( "EmailChannelMessage", &mEmailOtherMessage, "" ); | 79 | addItemString( "EmailChannelMessage", &mEmailOtherMessage, "" ); |
80 | addItemString( "EmailChannelParameters", &mEmailOtherMessageParameters, "" ); | 80 | addItemString( "EmailChannelParameters", &mEmailOtherMessageParameters, "" ); |
81 | addItemString( "EmailChannelMessage2", &mEmailOtherMessage2, "" ); | 81 | addItemString( "EmailChannelMessage2", &mEmailOtherMessage2, "" ); |
82 | addItemString( "EmailChannelParameters2", &mEmailOtherMessageParameters2, "" ); | 82 | addItemString( "EmailChannelParameters2", &mEmailOtherMessageParameters2, "" ); |
83 | 83 | ||
84 | addItemInt( "PhoneChannelType", &mPhoneClient, KPPI_PHC ); | 84 | addItemInt( "PhoneChannelType", &mPhoneClient, KPPI_PHC ); |
85 | addItemString( "PhoneChannel", &mPhoneOtherChannel, "" ); | 85 | addItemString( "PhoneChannel", &mPhoneOtherChannel, "" ); |
86 | addItemString( "PhoneChannelMessage", &mPhoneOtherMessage, "" ); | 86 | addItemString( "PhoneChannelMessage", &mPhoneOtherMessage, "" ); |
87 | addItemString( "PhoneChannelParameters", &mPhoneOtherMessageParameters, "" ); | 87 | addItemString( "PhoneChannelParameters", &mPhoneOtherMessageParameters, "" ); |
88 | 88 | ||
89 | addItemInt( "FaxChannelType", &mFaxClient, NONE_FAC ); | 89 | addItemInt( "FaxChannelType", &mFaxClient, NONE_FAC ); |
90 | addItemString( "FaxChannel", &mFaxOtherChannel, "" ); | 90 | addItemString( "FaxChannel", &mFaxOtherChannel, "" ); |
91 | addItemString( "FaxChannelMessage", &mFaxOtherMessage, "" ); | 91 | addItemString( "FaxChannelMessage", &mFaxOtherMessage, "" ); |
92 | addItemString( "FaxChannelParameters", &mFaxOtherMessageParameters, "" ); | 92 | addItemString( "FaxChannelParameters", &mFaxOtherMessageParameters, "" ); |
93 | 93 | ||
94 | addItemInt( "SMSChannelType", &mSMSClient, NONE_SMC ); | 94 | addItemInt( "SMSChannelType", &mSMSClient, NONE_SMC ); |
95 | addItemString( "SMSChannel", &mSMSOtherChannel, "" ); | 95 | addItemString( "SMSChannel", &mSMSOtherChannel, "" ); |
96 | addItemString( "SMSChannelMessage", &mSMSOtherMessage, "" ); | 96 | addItemString( "SMSChannelMessage", &mSMSOtherMessage, "" ); |
97 | addItemString( "SMSChannelParameters", &mSMSOtherMessageParameters, "" ); | 97 | addItemString( "SMSChannelParameters", &mSMSOtherMessageParameters, "" ); |
98 | 98 | ||
99 | addItemInt( "PagerChannelType", &mPagerClient, NONE_PAC ); | 99 | addItemInt( "PagerChannelType", &mPagerClient, NONE_PAC ); |
100 | addItemString( "PagerChannel", &mPagerOtherChannel, "" ); | 100 | addItemString( "PagerChannel", &mPagerOtherChannel, "" ); |
101 | addItemString( "PagerChannelMessage", &mPagerOtherMessage, "" ); | 101 | addItemString( "PagerChannelMessage", &mPagerOtherMessage, "" ); |
102 | addItemString( "PagerChannelParameters", &mPagerOtherMessageParameters, "" ); | 102 | addItemString( "PagerChannelParameters", &mPagerOtherMessageParameters, "" ); |
103 | 103 | ||
104 | addItemInt( "SIPChannelType", &mSipClient, KPPI_SIC ); | 104 | addItemInt( "SIPChannelType", &mSipClient, KPPI_SIC ); |
105 | addItemString( "SIPChannel", &mSipOtherChannel, "" ); | 105 | addItemString( "SIPChannel", &mSipOtherChannel, "" ); |
106 | addItemString( "SIPChannelMessage", &mSipOtherMessage, "" ); | 106 | addItemString( "SIPChannelMessage", &mSipOtherMessage, "" ); |
107 | addItemString( "SIPChannelParameters", &mSipOtherMessageParameters, "" ); | 107 | addItemString( "SIPChannelParameters", &mSipOtherMessageParameters, "" ); |
108 | 108 | ||
109 | KPrefs::setCurrentGroup( "PhoneAccess" ); | 109 | KPrefs::setCurrentGroup( "PhoneAccess" ); |
110 | addItemString("Ex2PhoneDevice",&mEx2PhoneDevice,"/dev/ircomm"); | 110 | addItemString("Ex2PhoneDevice",&mEx2PhoneDevice,"/dev/ircomm"); |
111 | addItemString("Ex2PhoneConnection",&mEx2PhoneConnection,"irda"); | 111 | addItemString("Ex2PhoneConnection",&mEx2PhoneConnection,"irda"); |
112 | addItemString("Ex2PhoneModel",&mEx2PhoneModel,"6310i"); | 112 | addItemString("Ex2PhoneModel",&mEx2PhoneModel,"6310i"); |
113 | 113 | ||
114 | KPrefs::setCurrentGroup( "BackupSettings" ); | ||
115 | addItemString("BackupDatadir",&mBackupDatadir,KGlobalSettings::backupDataDir()); | ||
116 | addItemInt( "BackupNumbers", &mBackupNumbers, 3 ); | ||
117 | addItemInt( "BackupDayCount", &mBackupDayCount, 2 ); | ||
118 | addItemBool( "BackupUseDefaultDir",&mBackupUseDefaultDir, true ); | ||
119 | addItemBool( "BackupEnabled",&mBackupEnabled, false ); | ||
120 | |||
114 | } | 121 | } |
115 | 122 | ||
116 | void KPimGlobalPrefs::setGlobalConfig() | 123 | void KPimGlobalPrefs::setGlobalConfig() |
117 | { | 124 | { |
118 | if ( mLocaleDict == 0 ) { | 125 | if ( mLocaleDict == 0 ) { |
119 | QString fileName ; | 126 | QString fileName ; |
120 | QString name = KGlobal::getAppName() +"/"; | 127 | QString name = KGlobal::getAppName() +"/"; |
121 | #ifndef DESKTOP_VERSION | 128 | #ifndef DESKTOP_VERSION |
122 | fileName= QString(getenv("QPEDIR"))+"/pics/kdepim/"+name; | 129 | fileName= QString(getenv("QPEDIR"))+"/pics/kdepim/"+name; |
123 | #else | 130 | #else |
124 | fileName = qApp->applicationDirPath () + "/kdepim/"+ name; | 131 | fileName = qApp->applicationDirPath () + "/kdepim/"+ name; |
125 | #endif | 132 | #endif |
126 | mLocaleDict = 0; | 133 | mLocaleDict = 0; |
127 | if ( mPreferredLanguage > 0 && mPreferredLanguage < 5 ) { | 134 | if ( mPreferredLanguage > 0 && mPreferredLanguage < 5 ) { |
128 | 135 | ||
129 | if ( mPreferredLanguage == 1 ) | 136 | if ( mPreferredLanguage == 1 ) |
130 | fileName = fileName+"germantranslation.txt"; | 137 | fileName = fileName+"germantranslation.txt"; |
131 | else if ( mPreferredLanguage == 4 ) | 138 | else if ( mPreferredLanguage == 4 ) |
132 | fileName = fileName+"usertranslation.txt"; | 139 | fileName = fileName+"usertranslation.txt"; |
133 | else if ( mPreferredLanguage == 2 ) | 140 | else if ( mPreferredLanguage == 2 ) |
134 | fileName = fileName+"frenchtranslation.txt"; | 141 | fileName = fileName+"frenchtranslation.txt"; |
135 | else if ( mPreferredLanguage == 3 ) | 142 | else if ( mPreferredLanguage == 3 ) |
136 | fileName = fileName+"italiantranslation.txt"; | 143 | fileName = fileName+"italiantranslation.txt"; |
137 | QFile file( fileName ); | 144 | QFile file( fileName ); |
138 | if (file.open( IO_ReadOnly ) ) { | 145 | if (file.open( IO_ReadOnly ) ) { |
139 | QTextStream ts( &file ); | 146 | QTextStream ts( &file ); |
140 | ts.setEncoding( QTextStream::Latin1 ); | 147 | ts.setEncoding( QTextStream::Latin1 ); |
141 | //ts.setCodec( QTextCodec::latin1 ); | 148 | //ts.setCodec( QTextCodec::latin1 ); |
142 | QString text = ts.read(); | 149 | QString text = ts.read(); |
143 | file.close(); | 150 | file.close(); |
144 | text.replace( QRegExp("\\\\n"), "\n" ); | 151 | text.replace( QRegExp("\\\\n"), "\n" ); |
145 | QString line; | 152 | QString line; |
146 | QString we; | 153 | QString we; |
147 | QString wt; | 154 | QString wt; |
148 | int br = 0; | 155 | int br = 0; |
149 | int nbr; | 156 | int nbr; |
150 | nbr = text.find ( "},", br ); | 157 | nbr = text.find ( "},", br ); |
151 | line = text.mid( br, nbr - br ); | 158 | line = text.mid( br, nbr - br ); |
152 | br = nbr+1; | 159 | br = nbr+1; |
153 | int se, ee, st, et; | 160 | int se, ee, st, et; |
154 | mLocaleDict = new QDict<QString>; | 161 | mLocaleDict = new QDict<QString>; |
155 | mLocaleDict->setAutoDelete( true ); | 162 | mLocaleDict->setAutoDelete( true ); |
156 | QString end = "{ \"\",\"\" }"; | 163 | QString end = "{ \"\",\"\" }"; |
157 | while ( (line != end) && (br > 1) ) { | 164 | while ( (line != end) && (br > 1) ) { |
158 | //qDebug("%d *%s* ", br, line.latin1()); | 165 | //qDebug("%d *%s* ", br, line.latin1()); |
159 | se = line.find("\"")+1; | 166 | se = line.find("\"")+1; |
160 | et = line.findRev("\"",-1); | 167 | et = line.findRev("\"",-1); |
161 | ee = line.find("\",\""); | 168 | ee = line.find("\",\""); |
162 | st = ee+3; | 169 | st = ee+3; |
163 | we = line.mid( se, ee-se ); | 170 | we = line.mid( se, ee-se ); |
164 | if ( mPreferredLanguage == 4 ) | 171 | if ( mPreferredLanguage == 4 ) |
165 | wt = QString::fromUtf8(line.mid( st, et-st ).latin1()); | 172 | wt = QString::fromUtf8(line.mid( st, et-st ).latin1()); |
166 | else | 173 | else |
167 | wt = line.mid( st, et-st ); | 174 | wt = line.mid( st, et-st ); |
168 | //qDebug("*%s* *%s* ", we.latin1(), wt.latin1()); | 175 | //qDebug("*%s* *%s* ", we.latin1(), wt.latin1()); |
169 | mLocaleDict->insert( we, new QString (wt) ); | 176 | mLocaleDict->insert( we, new QString (wt) ); |
170 | nbr = text.find ( "}", br ); | 177 | nbr = text.find ( "}", br ); |
171 | line = text.mid( br, nbr - br ); | 178 | line = text.mid( br, nbr - br ); |
172 | br = nbr+1; | 179 | br = nbr+1; |
173 | } | 180 | } |
174 | //qDebug("end *%s* ", end.latin1()); | 181 | //qDebug("end *%s* ", end.latin1()); |
175 | 182 | ||
176 | setLocaleDict( mLocaleDict ); | 183 | setLocaleDict( mLocaleDict ); |
177 | } else { | 184 | } else { |
178 | qDebug("KO: Cannot find translation file %s",fileName.latin1() ); | 185 | qDebug("KO: Cannot find translation file %s",fileName.latin1() ); |
179 | } | 186 | } |
180 | } | 187 | } |
181 | } | 188 | } |
182 | 189 | ||
183 | KGlobal::locale()->setHore24Format( !mPreferredTime ); | 190 | KGlobal::locale()->setHore24Format( !mPreferredTime ); |
184 | KGlobal::locale()->setWeekStartMonday( !mWeekStartsOnSunday ); | 191 | KGlobal::locale()->setWeekStartMonday( !mWeekStartsOnSunday ); |
185 | KGlobal::locale()->setIntDateFormat( (KLocale::IntDateFormat)mPreferredDate ); | 192 | KGlobal::locale()->setIntDateFormat( (KLocale::IntDateFormat)mPreferredDate ); |
186 | KGlobal::locale()->setLanguage( mPreferredLanguage ); | 193 | KGlobal::locale()->setLanguage( mPreferredLanguage ); |
187 | QString dummy = mUserDateFormatLong; | 194 | QString dummy = mUserDateFormatLong; |
188 | KGlobal::locale()->setDateFormat(dummy.replace( QRegExp("K"), QString(",") )); | 195 | KGlobal::locale()->setDateFormat(dummy.replace( QRegExp("K"), QString(",") )); |
189 | dummy = mUserDateFormatShort; | 196 | dummy = mUserDateFormatShort; |
190 | KGlobal::locale()->setDateFormatShort(dummy.replace( QRegExp("K"), QString(",") )); | 197 | KGlobal::locale()->setDateFormatShort(dummy.replace( QRegExp("K"), QString(",") )); |
191 | KGlobal::locale()->setDaylightSaving( mUseDaylightsaving, | 198 | KGlobal::locale()->setDaylightSaving( mUseDaylightsaving, |
192 | mDaylightsavingStart, | 199 | mDaylightsavingStart, |
193 | mDaylightsavingEnd ); | 200 | mDaylightsavingEnd ); |
194 | KGlobal::locale()->setTimezone( mTimeZoneId, mTimeZoneAdd30min ); | 201 | KGlobal::locale()->setTimezone( mTimeZoneId, mTimeZoneAdd30min ); |
195 | KGlobalSettings::setAlternateBackgroundColor(mAlternateColor); | 202 | KGlobalSettings::setAlternateBackgroundColor(mAlternateColor); |
196 | 203 | ||
197 | } | 204 | } |
198 | KPimGlobalPrefs::~KPimGlobalPrefs() | 205 | KPimGlobalPrefs::~KPimGlobalPrefs() |
199 | { | 206 | { |
200 | if (sInstance == this) | 207 | if (sInstance == this) |
201 | sInstance = staticDeleterGP.setObject(0); | 208 | sInstance = staticDeleterGP.setObject(0); |
202 | else | 209 | else |
203 | qDebug("Whats this? Error in KPimGlobalPrefs::~KPimGlobalPrefs() ?"); | 210 | qDebug("Whats this? Error in KPimGlobalPrefs::~KPimGlobalPrefs() ?"); |
204 | if ( mLocaleDict ) | 211 | if ( mLocaleDict ) |
205 | delete mLocaleDict; | 212 | delete mLocaleDict; |
206 | } | 213 | } |
207 | 214 | ||
208 | KPimGlobalPrefs *KPimGlobalPrefs::instance() | 215 | KPimGlobalPrefs *KPimGlobalPrefs::instance() |
209 | { | 216 | { |
210 | if ( !sInstance ) { | 217 | if ( !sInstance ) { |
211 | sInstance = staticDeleterGP.setObject( new KPimGlobalPrefs() ); | 218 | sInstance = staticDeleterGP.setObject( new KPimGlobalPrefs() ); |
212 | sInstance->readConfig(); | 219 | sInstance->readConfig(); |
213 | } | 220 | } |
214 | 221 | ||
215 | return sInstance; | 222 | return sInstance; |
216 | } | 223 | } |
diff --git a/libkdepim/kpimglobalprefs.h b/libkdepim/kpimglobalprefs.h index 36cc25a..94ac8ae 100644 --- a/libkdepim/kpimglobalprefs.h +++ b/libkdepim/kpimglobalprefs.h | |||
@@ -1,145 +1,151 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of libkdepim. | 2 | This file is part of libkdepim. |
3 | Copyright (c) 2004 Ulf Schenk | 3 | Copyright (c) 2004 Ulf Schenk |
4 | 4 | ||
5 | This program is free software; you can redistribute it and/or modify | 5 | This program is free software; you can redistribute it and/or modify |
6 | it under the terms of the GNU General Public License as published by | 6 | it under the terms of the GNU General Public License as published by |
7 | the Free Software Foundation; either version 2 of the License, or | 7 | the Free Software Foundation; either version 2 of the License, or |
8 | (at your option) any later version. | 8 | (at your option) any later version. |
9 | 9 | ||
10 | This program is distributed in the hope that it will be useful, | 10 | This program is distributed in the hope that it will be useful, |
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
13 | GNU General Public License for more details. | 13 | GNU General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU General Public License | 15 | You should have received a copy of the GNU General Public License |
16 | along with this program; if not, write to the Free Software | 16 | along with this program; if not, write to the Free Software |
17 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 17 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
18 | 18 | ||
19 | As a special exception, permission is given to link this program | 19 | As a special exception, permission is given to link this program |
20 | with any edition of Qt, and distribute the resulting executable, | 20 | with any edition of Qt, and distribute the resulting executable, |
21 | without including the source code for Qt in the source distribution. | 21 | without including the source code for Qt in the source distribution. |
22 | */ | 22 | */ |
23 | 23 | ||
24 | /* | 24 | /* |
25 | Enhanced Version of the file for platform independent KDE tools. | 25 | Enhanced Version of the file for platform independent KDE tools. |
26 | Copyright (c) 2004 Ulf Schenk | 26 | Copyright (c) 2004 Ulf Schenk |
27 | 27 | ||
28 | $Id$ | 28 | $Id$ |
29 | */ | 29 | */ |
30 | 30 | ||
31 | #ifndef KPIMGLOBALPREFS_H | 31 | #ifndef KPIMGLOBALPREFS_H |
32 | #define KPIMGLOBALPREFS_H | 32 | #define KPIMGLOBALPREFS_H |
33 | 33 | ||
34 | #include "kprefs.h" | 34 | #include "kprefs.h" |
35 | #include <qdict.h> | 35 | #include <qdict.h> |
36 | 36 | ||
37 | class KPimGlobalPrefs : public KPrefs | 37 | class KPimGlobalPrefs : public KPrefs |
38 | { | 38 | { |
39 | public: | 39 | public: |
40 | 40 | ||
41 | void setGlobalConfig(); | 41 | void setGlobalConfig(); |
42 | static KPimGlobalPrefs *instance(); | 42 | static KPimGlobalPrefs *instance(); |
43 | 43 | ||
44 | 44 | ||
45 | virtual ~KPimGlobalPrefs(); | 45 | virtual ~KPimGlobalPrefs(); |
46 | 46 | ||
47 | 47 | ||
48 | enum EMailClients { | 48 | enum EMailClients { |
49 | NONE_EMC = 0, | 49 | NONE_EMC = 0, |
50 | OTHER_EMC = 1, | 50 | OTHER_EMC = 1, |
51 | OMPI_EMC = 2, | 51 | OMPI_EMC = 2, |
52 | QTOPIA_EMC = 3, | 52 | QTOPIA_EMC = 3, |
53 | OPIE_EMC = 4, | 53 | OPIE_EMC = 4, |
54 | OPIE_MAILIT_EMC = 5 | 54 | OPIE_MAILIT_EMC = 5 |
55 | }; | 55 | }; |
56 | 56 | ||
57 | enum PhoneClients { | 57 | enum PhoneClients { |
58 | NONE_PHC = 0, | 58 | NONE_PHC = 0, |
59 | OTHER_PHC = 1, | 59 | OTHER_PHC = 1, |
60 | KPPI_PHC = 2 | 60 | KPPI_PHC = 2 |
61 | }; | 61 | }; |
62 | 62 | ||
63 | enum FaxClients { | 63 | enum FaxClients { |
64 | NONE_FAC = 0, | 64 | NONE_FAC = 0, |
65 | OTHER_FAC = 1 | 65 | OTHER_FAC = 1 |
66 | }; | 66 | }; |
67 | 67 | ||
68 | enum SMSClients { | 68 | enum SMSClients { |
69 | NONE_SMC = 0, | 69 | NONE_SMC = 0, |
70 | OTHER_SMC = 1 | 70 | OTHER_SMC = 1 |
71 | }; | 71 | }; |
72 | 72 | ||
73 | enum PagerClients { | 73 | enum PagerClients { |
74 | NONE_PAC = 0, | 74 | NONE_PAC = 0, |
75 | OTHER_PAC = 1 | 75 | OTHER_PAC = 1 |
76 | }; | 76 | }; |
77 | 77 | ||
78 | enum SIPClients { | 78 | enum SIPClients { |
79 | NONE_SIC = 0, | 79 | NONE_SIC = 0, |
80 | OTHER_SIC = 1, | 80 | OTHER_SIC = 1, |
81 | KPPI_SIC = 2 | 81 | KPPI_SIC = 2 |
82 | }; | 82 | }; |
83 | 83 | ||
84 | private: | 84 | private: |
85 | KPimGlobalPrefs( const QString &name = QString::null ); | 85 | KPimGlobalPrefs( const QString &name = QString::null ); |
86 | 86 | ||
87 | static KPimGlobalPrefs *sInstance; | 87 | static KPimGlobalPrefs *sInstance; |
88 | QDict<QString> *mLocaleDict; | 88 | QDict<QString> *mLocaleDict; |
89 | 89 | ||
90 | 90 | ||
91 | public: | 91 | public: |
92 | //US I copied the following "locale" settings from KOPrefs | 92 | //US I copied the following "locale" settings from KOPrefs |
93 | int mPreferredDate; | 93 | int mPreferredDate; |
94 | QString mUserDateFormatLong; | 94 | QString mUserDateFormatLong; |
95 | QString mUserDateFormatShort; | 95 | QString mUserDateFormatShort; |
96 | int mPreferredLanguage; | 96 | int mPreferredLanguage; |
97 | int mPreferredTime; | 97 | int mPreferredTime; |
98 | bool mWeekStartsOnSunday; | 98 | bool mWeekStartsOnSunday; |
99 | QString mTimeZoneId; | 99 | QString mTimeZoneId; |
100 | bool mUseDaylightsaving; | 100 | bool mUseDaylightsaving; |
101 | int mDaylightsavingStart; | 101 | int mDaylightsavingStart; |
102 | int mDaylightsavingEnd; | 102 | int mDaylightsavingEnd; |
103 | bool mTimeZoneAdd30min; | 103 | bool mTimeZoneAdd30min; |
104 | QFont mApplicationFont; | 104 | QFont mApplicationFont; |
105 | QColor mAlternateColor; | 105 | QColor mAlternateColor; |
106 | 106 | ||
107 | int mEmailClient; | 107 | int mEmailClient; |
108 | QString mEmailOtherChannel; | 108 | QString mEmailOtherChannel; |
109 | QString mEmailOtherMessage; | 109 | QString mEmailOtherMessage; |
110 | QString mEmailOtherMessageParameters; | 110 | QString mEmailOtherMessageParameters; |
111 | QString mEmailOtherMessage2; | 111 | QString mEmailOtherMessage2; |
112 | QString mEmailOtherMessageParameters2; | 112 | QString mEmailOtherMessageParameters2; |
113 | 113 | ||
114 | int mPhoneClient; | 114 | int mPhoneClient; |
115 | QString mPhoneOtherChannel; | 115 | QString mPhoneOtherChannel; |
116 | QString mPhoneOtherMessage; | 116 | QString mPhoneOtherMessage; |
117 | QString mPhoneOtherMessageParameters; | 117 | QString mPhoneOtherMessageParameters; |
118 | 118 | ||
119 | int mFaxClient; | 119 | int mFaxClient; |
120 | QString mFaxOtherChannel; | 120 | QString mFaxOtherChannel; |
121 | QString mFaxOtherMessage; | 121 | QString mFaxOtherMessage; |
122 | QString mFaxOtherMessageParameters; | 122 | QString mFaxOtherMessageParameters; |
123 | 123 | ||
124 | int mSMSClient; | 124 | int mSMSClient; |
125 | QString mSMSOtherChannel; | 125 | QString mSMSOtherChannel; |
126 | QString mSMSOtherMessage; | 126 | QString mSMSOtherMessage; |
127 | QString mSMSOtherMessageParameters; | 127 | QString mSMSOtherMessageParameters; |
128 | 128 | ||
129 | int mPagerClient; | 129 | int mPagerClient; |
130 | QString mPagerOtherChannel; | 130 | QString mPagerOtherChannel; |
131 | QString mPagerOtherMessage; | 131 | QString mPagerOtherMessage; |
132 | QString mPagerOtherMessageParameters; | 132 | QString mPagerOtherMessageParameters; |
133 | 133 | ||
134 | int mSipClient; | 134 | int mSipClient; |
135 | QString mSipOtherChannel; | 135 | QString mSipOtherChannel; |
136 | QString mSipOtherMessage; | 136 | QString mSipOtherMessage; |
137 | QString mSipOtherMessageParameters; | 137 | QString mSipOtherMessageParameters; |
138 | 138 | ||
139 | QString mEx2PhoneDevice; | 139 | QString mEx2PhoneDevice; |
140 | QString mEx2PhoneConnection; | 140 | QString mEx2PhoneConnection; |
141 | QString mEx2PhoneModel; | 141 | QString mEx2PhoneModel; |
142 | 142 | ||
143 | |||
144 | bool mBackupEnabled; | ||
145 | QString mBackupDatadir; | ||
146 | bool mBackupUseDefaultDir; | ||
147 | int mBackupNumbers; | ||
148 | int mBackupDayCount; | ||
143 | }; | 149 | }; |
144 | 150 | ||
145 | #endif | 151 | #endif |
diff --git a/libkdepim/kprefsdialog.cpp b/libkdepim/kprefsdialog.cpp index dd9a602..b6ae775 100644 --- a/libkdepim/kprefsdialog.cpp +++ b/libkdepim/kprefsdialog.cpp | |||
@@ -1,410 +1,410 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of KOrganizer. | 2 | This file is part of KOrganizer. |
3 | Copyright (c) 2001 Cornelius Schumacher <schumacher@kde.org> | 3 | Copyright (c) 2001 Cornelius Schumacher <schumacher@kde.org> |
4 | 4 | ||
5 | This program is free software; you can redistribute it and/or modify | 5 | This program is free software; you can redistribute it and/or modify |
6 | it under the terms of the GNU General Public License as published by | 6 | it under the terms of the GNU General Public License as published by |
7 | the Free Software Foundation; either version 2 of the License, or | 7 | the Free Software Foundation; either version 2 of the License, or |
8 | (at your option) any later version. | 8 | (at your option) any later version. |
9 | 9 | ||
10 | This program is distributed in the hope that it will be useful, | 10 | This program is distributed in the hope that it will be useful, |
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
13 | GNU General Public License for more details. | 13 | GNU General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU General Public License | 15 | You should have received a copy of the GNU General Public License |
16 | along with this program; if not, write to the Free Software | 16 | along with this program; if not, write to the Free Software |
17 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 17 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
18 | 18 | ||
19 | As a special exception, permission is given to link this program | 19 | As a special exception, permission is given to link this program |
20 | with any edition of Qt, and distribute the resulting executable, | 20 | with any edition of Qt, and distribute the resulting executable, |
21 | without including the source code for Qt in the source distribution. | 21 | without including the source code for Qt in the source distribution. |
22 | */ | 22 | */ |
23 | 23 | ||
24 | // $Id$ | 24 | // $Id$ |
25 | 25 | ||
26 | #include <qlayout.h> | 26 | #include <qlayout.h> |
27 | #include <qlabel.h> | 27 | #include <qlabel.h> |
28 | #include <qgroupbox.h> | 28 | #include <qgroupbox.h> |
29 | #include <qbuttongroup.h> | 29 | #include <qbuttongroup.h> |
30 | #include <qlineedit.h> | 30 | #include <qlineedit.h> |
31 | #include <qfont.h> | 31 | #include <qfont.h> |
32 | #include <qslider.h> | 32 | #include <qslider.h> |
33 | #include <qfile.h> | 33 | #include <qfile.h> |
34 | #include <qtextstream.h> | 34 | #include <qtextstream.h> |
35 | #include <qvbox.h> | 35 | #include <qvbox.h> |
36 | #include <qhbox.h> | 36 | #include <qhbox.h> |
37 | #include <qspinbox.h> | 37 | #include <qspinbox.h> |
38 | #include <qdatetime.h> | 38 | #include <qdatetime.h> |
39 | #include <qframe.h> | 39 | #include <qframe.h> |
40 | #include <qcombobox.h> | 40 | #include <qcombobox.h> |
41 | #include <qcheckbox.h> | 41 | #include <qcheckbox.h> |
42 | #include <qradiobutton.h> | 42 | #include <qradiobutton.h> |
43 | #include <qpushbutton.h> | 43 | #include <qpushbutton.h> |
44 | #include <qapplication.h> | 44 | #include <qapplication.h> |
45 | 45 | ||
46 | #include <kcolorbutton.h> | 46 | #include <kcolorbutton.h> |
47 | #include <kdebug.h> | 47 | #include <kdebug.h> |
48 | #include <klocale.h> | 48 | #include <klocale.h> |
49 | #include <kglobal.h> | 49 | #include <kglobal.h> |
50 | #include <kfontdialog.h> | 50 | #include <kfontdialog.h> |
51 | #include <kmessagebox.h> | 51 | #include <kmessagebox.h> |
52 | #include <kcolordialog.h> | 52 | #include <kcolordialog.h> |
53 | #include <kiconloader.h> | 53 | #include <kiconloader.h> |
54 | 54 | ||
55 | #include "kprefs.h" | 55 | #include "kprefs.h" |
56 | 56 | ||
57 | #include "kprefsdialog.h" | 57 | #include "kprefsdialog.h" |
58 | //#include "kprefsdialog.moc" | 58 | //#include "kprefsdialog.moc" |
59 | 59 | ||
60 | KPrefsDialogWidBool::KPrefsDialogWidBool(const QString &text,bool *reference, | 60 | KPrefsDialogWidBool::KPrefsDialogWidBool(const QString &text,bool *reference, |
61 | QWidget *parent) | 61 | QWidget *parent) |
62 | { | 62 | { |
63 | mReference = reference; | 63 | mReference = reference; |
64 | 64 | ||
65 | mCheck = new QCheckBox(text,parent); | 65 | mCheck = new QCheckBox(text,parent); |
66 | } | 66 | } |
67 | 67 | ||
68 | void KPrefsDialogWidBool::readConfig() | 68 | void KPrefsDialogWidBool::readConfig() |
69 | { | 69 | { |
70 | mCheck->setChecked(*mReference); | 70 | mCheck->setChecked(*mReference); |
71 | } | 71 | } |
72 | 72 | ||
73 | void KPrefsDialogWidBool::writeConfig() | 73 | void KPrefsDialogWidBool::writeConfig() |
74 | { | 74 | { |
75 | *mReference = mCheck->isChecked(); | 75 | *mReference = mCheck->isChecked(); |
76 | } | 76 | } |
77 | 77 | ||
78 | QCheckBox *KPrefsDialogWidBool::checkBox() | 78 | QCheckBox *KPrefsDialogWidBool::checkBox() |
79 | { | 79 | { |
80 | return mCheck; | 80 | return mCheck; |
81 | } | 81 | } |
82 | 82 | ||
83 | 83 | ||
84 | KPrefsDialogWidColor::KPrefsDialogWidColor(const QString &text,QColor *reference, | 84 | KPrefsDialogWidColor::KPrefsDialogWidColor(const QString &text,QColor *reference, |
85 | QWidget *parent) | 85 | QWidget *parent) |
86 | { | 86 | { |
87 | mReference = reference; | 87 | mReference = reference; |
88 | 88 | ||
89 | mButton = new KColorButton(parent); | 89 | mButton = new KColorButton(parent); |
90 | mLabel = new QLabel(mButton, text, parent); | 90 | mLabel = new QLabel(mButton, text, parent); |
91 | mButton->setColor( *mReference ); | 91 | mButton->setColor( *mReference ); |
92 | mButton->setColor( Qt::red ); | 92 | mButton->setColor( Qt::red ); |
93 | 93 | ||
94 | } | 94 | } |
95 | 95 | ||
96 | KPrefsDialogWidColor::~KPrefsDialogWidColor() | 96 | KPrefsDialogWidColor::~KPrefsDialogWidColor() |
97 | { | 97 | { |
98 | // kdDebug(5300) << "KPrefsDialogWidColor::~KPrefsDialogWidColor()" << endl; | 98 | // kdDebug(5300) << "KPrefsDialogWidColor::~KPrefsDialogWidColor()" << endl; |
99 | } | 99 | } |
100 | 100 | ||
101 | void KPrefsDialogWidColor::readConfig() | 101 | void KPrefsDialogWidColor::readConfig() |
102 | { | 102 | { |
103 | mButton->setColor(*mReference); | 103 | mButton->setColor(*mReference); |
104 | } | 104 | } |
105 | 105 | ||
106 | void KPrefsDialogWidColor::writeConfig() | 106 | void KPrefsDialogWidColor::writeConfig() |
107 | { | 107 | { |
108 | *mReference = mButton->color(); | 108 | *mReference = mButton->color(); |
109 | } | 109 | } |
110 | 110 | ||
111 | QLabel *KPrefsDialogWidColor::label() | 111 | QLabel *KPrefsDialogWidColor::label() |
112 | { | 112 | { |
113 | return mLabel; | 113 | return mLabel; |
114 | } | 114 | } |
115 | 115 | ||
116 | KColorButton *KPrefsDialogWidColor::button() | 116 | KColorButton *KPrefsDialogWidColor::button() |
117 | { | 117 | { |
118 | return mButton; | 118 | return mButton; |
119 | } | 119 | } |
120 | 120 | ||
121 | KPrefsDialogWidFont::KPrefsDialogWidFont(const QString &sampleText,const QString &labelText, | 121 | KPrefsDialogWidFont::KPrefsDialogWidFont(const QString &sampleText,const QString &labelText, |
122 | QFont *reference,QWidget *parent) | 122 | QFont *reference,QWidget *parent) |
123 | { | 123 | { |
124 | mReference = reference; | 124 | mReference = reference; |
125 | 125 | ||
126 | mLabel = new QLabel(labelText, parent); | 126 | mLabel = new QLabel(labelText, parent); |
127 | 127 | ||
128 | mPreview = new QLabel(sampleText,parent); | 128 | mPreview = new QLabel(sampleText,parent); |
129 | mPreview->setFrameStyle(QFrame::Panel|QFrame::Sunken); | 129 | mPreview->setFrameStyle(QFrame::Panel|QFrame::Sunken); |
130 | 130 | ||
131 | mButton = new QPushButton(i18n("Choose..."), parent); | 131 | mButton = new QPushButton(i18n("Choose..."), parent); |
132 | connect(mButton,SIGNAL(clicked()),SLOT(selectFont())); | 132 | connect(mButton,SIGNAL(clicked()),SLOT(selectFont())); |
133 | mPreview->setMaximumHeight( QApplication::desktop()->height() / 12 ); | 133 | mPreview->setMaximumHeight( QApplication::desktop()->height() / 12 ); |
134 | mPreview->setMaximumWidth( (QApplication::desktop()->width() / 2)-10 ); | 134 | mPreview->setMaximumWidth( (QApplication::desktop()->width() / 2)-10 ); |
135 | } | 135 | } |
136 | 136 | ||
137 | KPrefsDialogWidFont::~KPrefsDialogWidFont() | 137 | KPrefsDialogWidFont::~KPrefsDialogWidFont() |
138 | { | 138 | { |
139 | } | 139 | } |
140 | 140 | ||
141 | void KPrefsDialogWidFont::readConfig() | 141 | void KPrefsDialogWidFont::readConfig() |
142 | { | 142 | { |
143 | mPreview->setFont(*mReference); | 143 | mPreview->setFont(*mReference); |
144 | } | 144 | } |
145 | 145 | ||
146 | void KPrefsDialogWidFont::writeConfig() | 146 | void KPrefsDialogWidFont::writeConfig() |
147 | { | 147 | { |
148 | *mReference = mPreview->font(); | 148 | *mReference = mPreview->font(); |
149 | } | 149 | } |
150 | 150 | ||
151 | QLabel *KPrefsDialogWidFont::label() | 151 | QLabel *KPrefsDialogWidFont::label() |
152 | { | 152 | { |
153 | return mLabel; | 153 | return mLabel; |
154 | } | 154 | } |
155 | 155 | ||
156 | QLabel *KPrefsDialogWidFont::preview() | 156 | QLabel *KPrefsDialogWidFont::preview() |
157 | { | 157 | { |
158 | return mPreview; | 158 | return mPreview; |
159 | } | 159 | } |
160 | 160 | ||
161 | QPushButton *KPrefsDialogWidFont::button() | 161 | QPushButton *KPrefsDialogWidFont::button() |
162 | { | 162 | { |
163 | return mButton; | 163 | return mButton; |
164 | } | 164 | } |
165 | 165 | ||
166 | void KPrefsDialogWidFont::selectFont() | 166 | void KPrefsDialogWidFont::selectFont() |
167 | { | 167 | { |
168 | QFont myFont(mPreview->font()); | 168 | QFont myFont(mPreview->font()); |
169 | bool ok; | 169 | bool ok; |
170 | myFont = KFontDialog::getFont(myFont, ok); | 170 | myFont = KFontDialog::getFont(myFont, ok); |
171 | if ( ok ) { | 171 | if ( ok ) { |
172 | mPreview->setFont(myFont); | 172 | mPreview->setFont(myFont); |
173 | } | 173 | } |
174 | } | 174 | } |
175 | 175 | ||
176 | 176 | ||
177 | KPrefsDialogWidTime::KPrefsDialogWidTime(const QString &text,int *reference, | 177 | KPrefsDialogWidTime::KPrefsDialogWidTime(const QString &text,int *reference, |
178 | QWidget *parent) | 178 | QWidget *parent) |
179 | { | 179 | { |
180 | mReference = reference; | 180 | mReference = reference; |
181 | 181 | ||
182 | mLabel = new QLabel(text,parent); | 182 | mLabel = new QLabel(text,parent); |
183 | mSpin = new QSpinBox(0,23,1,parent); | 183 | mSpin = new QSpinBox(0,23,1,parent); |
184 | mSpin->setSuffix(":00"); | 184 | mSpin->setSuffix(":00"); |
185 | } | 185 | } |
186 | 186 | ||
187 | void KPrefsDialogWidTime::readConfig() | 187 | void KPrefsDialogWidTime::readConfig() |
188 | { | 188 | { |
189 | mSpin->setValue(*mReference); | 189 | mSpin->setValue(*mReference); |
190 | } | 190 | } |
191 | 191 | ||
192 | void KPrefsDialogWidTime::writeConfig() | 192 | void KPrefsDialogWidTime::writeConfig() |
193 | { | 193 | { |
194 | *mReference = mSpin->value(); | 194 | *mReference = mSpin->value(); |
195 | } | 195 | } |
196 | 196 | ||
197 | QLabel *KPrefsDialogWidTime::label() | 197 | QLabel *KPrefsDialogWidTime::label() |
198 | { | 198 | { |
199 | return mLabel; | 199 | return mLabel; |
200 | } | 200 | } |
201 | 201 | ||
202 | QSpinBox *KPrefsDialogWidTime::spinBox() | 202 | QSpinBox *KPrefsDialogWidTime::spinBox() |
203 | { | 203 | { |
204 | return mSpin; | 204 | return mSpin; |
205 | } | 205 | } |
206 | 206 | ||
207 | 207 | ||
208 | KPrefsDialogWidRadios::KPrefsDialogWidRadios(const QString &text,int *reference, | 208 | KPrefsDialogWidRadios::KPrefsDialogWidRadios(const QString &text,int *reference, |
209 | QWidget *parent) | 209 | QWidget *parent) |
210 | { | 210 | { |
211 | mReference = reference; | 211 | mReference = reference; |
212 | 212 | ||
213 | mBox = new QButtonGroup(1,Qt::Horizontal,text,parent); | 213 | mBox = new QButtonGroup(1,Qt::Horizontal,text,parent); |
214 | } | 214 | } |
215 | 215 | ||
216 | KPrefsDialogWidRadios::~KPrefsDialogWidRadios() | 216 | KPrefsDialogWidRadios::~KPrefsDialogWidRadios() |
217 | { | 217 | { |
218 | } | 218 | } |
219 | 219 | ||
220 | void KPrefsDialogWidRadios::addRadio(const QString &text) | 220 | void KPrefsDialogWidRadios::addRadio(const QString &text) |
221 | { | 221 | { |
222 | new QRadioButton(text,mBox); | 222 | new QRadioButton(text,mBox); |
223 | } | 223 | } |
224 | 224 | ||
225 | QButtonGroup *KPrefsDialogWidRadios::groupBox() | 225 | QButtonGroup *KPrefsDialogWidRadios::groupBox() |
226 | { | 226 | { |
227 | return mBox; | 227 | return mBox; |
228 | } | 228 | } |
229 | 229 | ||
230 | void KPrefsDialogWidRadios::readConfig() | 230 | void KPrefsDialogWidRadios::readConfig() |
231 | { | 231 | { |
232 | mBox->setButton(*mReference); | 232 | mBox->setButton(*mReference); |
233 | } | 233 | } |
234 | 234 | ||
235 | void KPrefsDialogWidRadios::writeConfig() | 235 | void KPrefsDialogWidRadios::writeConfig() |
236 | { | 236 | { |
237 | *mReference = mBox->id(mBox->selected()); | 237 | *mReference = mBox->id(mBox->selected()); |
238 | } | 238 | } |
239 | 239 | ||
240 | 240 | ||
241 | KPrefsDialogWidString::KPrefsDialogWidString(const QString &text,QString *reference, | 241 | KPrefsDialogWidString::KPrefsDialogWidString(const QString &text,QString *reference, |
242 | QWidget *parent, QLineEdit::EchoMode echomode) | 242 | QWidget *parent, QLineEdit::EchoMode echomode) |
243 | { | 243 | { |
244 | mReference = reference; | 244 | mReference = reference; |
245 | 245 | ||
246 | mLabel = new QLabel(text,parent); | 246 | mLabel = new QLabel(text,parent); |
247 | mEdit = new QLineEdit(parent); | 247 | mEdit = new QLineEdit(parent); |
248 | mEdit->setEchoMode( echomode ); | 248 | mEdit->setEchoMode( echomode ); |
249 | } | 249 | } |
250 | 250 | ||
251 | KPrefsDialogWidString::~KPrefsDialogWidString() | 251 | KPrefsDialogWidString::~KPrefsDialogWidString() |
252 | { | 252 | { |
253 | } | 253 | } |
254 | 254 | ||
255 | void KPrefsDialogWidString::readConfig() | 255 | void KPrefsDialogWidString::readConfig() |
256 | { | 256 | { |
257 | mEdit->setText(*mReference); | 257 | mEdit->setText(*mReference); |
258 | } | 258 | } |
259 | 259 | ||
260 | void KPrefsDialogWidString::writeConfig() | 260 | void KPrefsDialogWidString::writeConfig() |
261 | { | 261 | { |
262 | *mReference = mEdit->text(); | 262 | *mReference = mEdit->text(); |
263 | } | 263 | } |
264 | 264 | ||
265 | QLabel *KPrefsDialogWidString::label() | 265 | QLabel *KPrefsDialogWidString::label() |
266 | { | 266 | { |
267 | return mLabel; | 267 | return mLabel; |
268 | } | 268 | } |
269 | 269 | ||
270 | QLineEdit *KPrefsDialogWidString::lineEdit() | 270 | QLineEdit *KPrefsDialogWidString::lineEdit() |
271 | { | 271 | { |
272 | return mEdit; | 272 | return mEdit; |
273 | } | 273 | } |
274 | 274 | ||
275 | 275 | ||
276 | KPrefsDialog::KPrefsDialog(KPrefs *prefs,QWidget *parent,char *name,bool modal) : | 276 | KPrefsDialog::KPrefsDialog(KPrefs *prefs,QWidget *parent,char *name,bool modal) : |
277 | KDialogBase(IconList,i18n("Preferences"),Ok|Cancel|Default,Ok,parent, | 277 | KDialogBase(IconList,i18n("Preferences"),Ok|Cancel|Default,Ok,parent, |
278 | name,modal,true) | 278 | name,modal,true) |
279 | { | 279 | { |
280 | mPrefs = prefs; | 280 | mPrefs = prefs; |
281 | 281 | ||
282 | // This seems to cause a crash on exit. Investigate later. | 282 | // This seems to cause a crash on exit. Investigate later. |
283 | // mPrefsWids.setAutoDelete(true); | 283 | mPrefsWids.setAutoDelete(true); |
284 | 284 | ||
285 | connect(this,SIGNAL(defaultClicked()),SLOT(slotDefault())); | 285 | connect(this,SIGNAL(defaultClicked()),SLOT(slotDefault())); |
286 | //connect(this,SIGNAL(cancelClicked()),SLOT(slotDefault())); | 286 | //connect(this,SIGNAL(cancelClicked()),SLOT(slotDefault())); |
287 | //connect(this,SIGNAL(cancelClicked()),SLOT(reject())); | 287 | //connect(this,SIGNAL(cancelClicked()),SLOT(reject())); |
288 | } | 288 | } |
289 | 289 | ||
290 | KPrefsDialog::~KPrefsDialog() | 290 | KPrefsDialog::~KPrefsDialog() |
291 | { | 291 | { |
292 | } | 292 | } |
293 | 293 | ||
294 | void KPrefsDialog::addWid(KPrefsDialogWid *wid) | 294 | void KPrefsDialog::addWid(KPrefsDialogWid *wid) |
295 | { | 295 | { |
296 | mPrefsWids.append(wid); | 296 | mPrefsWids.append(wid); |
297 | } | 297 | } |
298 | 298 | ||
299 | KPrefsDialogWidBool *KPrefsDialog::addWidBool(const QString &text,bool *reference,QWidget *parent) | 299 | KPrefsDialogWidBool *KPrefsDialog::addWidBool(const QString &text,bool *reference,QWidget *parent) |
300 | { | 300 | { |
301 | KPrefsDialogWidBool *w = new KPrefsDialogWidBool(text,reference,parent); | 301 | KPrefsDialogWidBool *w = new KPrefsDialogWidBool(text,reference,parent); |
302 | addWid(w); | 302 | addWid(w); |
303 | return w; | 303 | return w; |
304 | } | 304 | } |
305 | 305 | ||
306 | KPrefsDialogWidTime *KPrefsDialog::addWidTime(const QString &text,int *reference,QWidget *parent) | 306 | KPrefsDialogWidTime *KPrefsDialog::addWidTime(const QString &text,int *reference,QWidget *parent) |
307 | { | 307 | { |
308 | KPrefsDialogWidTime *w = new KPrefsDialogWidTime(text,reference,parent); | 308 | KPrefsDialogWidTime *w = new KPrefsDialogWidTime(text,reference,parent); |
309 | addWid(w); | 309 | addWid(w); |
310 | return w; | 310 | return w; |
311 | } | 311 | } |
312 | 312 | ||
313 | KPrefsDialogWidColor *KPrefsDialog::addWidColor(const QString &text,QColor *reference,QWidget *parent) | 313 | KPrefsDialogWidColor *KPrefsDialog::addWidColor(const QString &text,QColor *reference,QWidget *parent) |
314 | { | 314 | { |
315 | KPrefsDialogWidColor *w = new KPrefsDialogWidColor(text,reference,parent); | 315 | KPrefsDialogWidColor *w = new KPrefsDialogWidColor(text,reference,parent); |
316 | addWid(w); | 316 | addWid(w); |
317 | return w; | 317 | return w; |
318 | } | 318 | } |
319 | 319 | ||
320 | KPrefsDialogWidRadios *KPrefsDialog::addWidRadios(const QString &text,int *reference,QWidget *parent) | 320 | KPrefsDialogWidRadios *KPrefsDialog::addWidRadios(const QString &text,int *reference,QWidget *parent) |
321 | { | 321 | { |
322 | KPrefsDialogWidRadios *w = new KPrefsDialogWidRadios(text,reference,parent); | 322 | KPrefsDialogWidRadios *w = new KPrefsDialogWidRadios(text,reference,parent); |
323 | addWid(w); | 323 | addWid(w); |
324 | return w; | 324 | return w; |
325 | } | 325 | } |
326 | 326 | ||
327 | KPrefsDialogWidString *KPrefsDialog::addWidString(const QString &text,QString *reference,QWidget *parent) | 327 | KPrefsDialogWidString *KPrefsDialog::addWidString(const QString &text,QString *reference,QWidget *parent) |
328 | { | 328 | { |
329 | KPrefsDialogWidString *w = new KPrefsDialogWidString(text,reference,parent); | 329 | KPrefsDialogWidString *w = new KPrefsDialogWidString(text,reference,parent); |
330 | addWid(w); | 330 | addWid(w); |
331 | return w; | 331 | return w; |
332 | } | 332 | } |
333 | 333 | ||
334 | KPrefsDialogWidString *KPrefsDialog::addWidPassword(const QString &text,QString *reference,QWidget *parent) | 334 | KPrefsDialogWidString *KPrefsDialog::addWidPassword(const QString &text,QString *reference,QWidget *parent) |
335 | { | 335 | { |
336 | KPrefsDialogWidString *w = new KPrefsDialogWidString(text,reference,parent,QLineEdit::Password); | 336 | KPrefsDialogWidString *w = new KPrefsDialogWidString(text,reference,parent,QLineEdit::Password); |
337 | addWid(w); | 337 | addWid(w); |
338 | return w; | 338 | return w; |
339 | } | 339 | } |
340 | 340 | ||
341 | KPrefsDialogWidFont *KPrefsDialog::addWidFont(const QString &sampleText,const QString &buttonText, | 341 | KPrefsDialogWidFont *KPrefsDialog::addWidFont(const QString &sampleText,const QString &buttonText, |
342 | QFont *reference,QWidget *parent) | 342 | QFont *reference,QWidget *parent) |
343 | { | 343 | { |
344 | KPrefsDialogWidFont *w = new KPrefsDialogWidFont(sampleText,buttonText,reference,parent); | 344 | KPrefsDialogWidFont *w = new KPrefsDialogWidFont(sampleText,buttonText,reference,parent); |
345 | addWid(w); | 345 | addWid(w); |
346 | return w; | 346 | return w; |
347 | } | 347 | } |
348 | 348 | ||
349 | void KPrefsDialog::setDefaults() | 349 | void KPrefsDialog::setDefaults() |
350 | { | 350 | { |
351 | mPrefs->setDefaults(); | 351 | mPrefs->setDefaults(); |
352 | 352 | ||
353 | readConfig(); | 353 | readConfig(); |
354 | } | 354 | } |
355 | 355 | ||
356 | void KPrefsDialog::readConfig() | 356 | void KPrefsDialog::readConfig() |
357 | { | 357 | { |
358 | // kdDebug(5300) << "KPrefsDialog::readConfig()" << endl; | 358 | // kdDebug(5300) << "KPrefsDialog::readConfig()" << endl; |
359 | 359 | ||
360 | KPrefsDialogWid *wid; | 360 | KPrefsDialogWid *wid; |
361 | for(wid = mPrefsWids.first();wid;wid=mPrefsWids.next()) { | 361 | for(wid = mPrefsWids.first();wid;wid=mPrefsWids.next()) { |
362 | wid->readConfig(); | 362 | wid->readConfig(); |
363 | } | 363 | } |
364 | 364 | ||
365 | usrReadConfig(); | 365 | usrReadConfig(); |
366 | } | 366 | } |
367 | 367 | ||
368 | void KPrefsDialog::writeConfig() | 368 | void KPrefsDialog::writeConfig() |
369 | { | 369 | { |
370 | // kdDebug(5300) << "KPrefsDialog::writeConfig()" << endl; | 370 | // kdDebug(5300) << "KPrefsDialog::writeConfig()" << endl; |
371 | 371 | ||
372 | KPrefsDialogWid *wid; | 372 | KPrefsDialogWid *wid; |
373 | for(wid = mPrefsWids.first();wid;wid=mPrefsWids.next()) { | 373 | for(wid = mPrefsWids.first();wid;wid=mPrefsWids.next()) { |
374 | wid->writeConfig(); | 374 | wid->writeConfig(); |
375 | } | 375 | } |
376 | 376 | ||
377 | usrWriteConfig(); | 377 | usrWriteConfig(); |
378 | 378 | ||
379 | // kdDebug(5300) << "KPrefsDialog::writeConfig() now writing..." << endl; | 379 | // kdDebug(5300) << "KPrefsDialog::writeConfig() now writing..." << endl; |
380 | 380 | ||
381 | mPrefs->writeConfig(); | 381 | mPrefs->writeConfig(); |
382 | 382 | ||
383 | // kdDebug(5300) << "KPrefsDialog::writeConfig() done" << endl; | 383 | // kdDebug(5300) << "KPrefsDialog::writeConfig() done" << endl; |
384 | } | 384 | } |
385 | 385 | ||
386 | 386 | ||
387 | void KPrefsDialog::slotApply() | 387 | void KPrefsDialog::slotApply() |
388 | { | 388 | { |
389 | writeConfig(); | 389 | writeConfig(); |
390 | emit configChanged(); | 390 | emit configChanged(); |
391 | } | 391 | } |
392 | 392 | ||
393 | void KPrefsDialog::slotOk() | 393 | void KPrefsDialog::slotOk() |
394 | { | 394 | { |
395 | slotApply(); | 395 | slotApply(); |
396 | QDialog::accept(); | 396 | QDialog::accept(); |
397 | } | 397 | } |
398 | void KPrefsDialog::accept() | 398 | void KPrefsDialog::accept() |
399 | { | 399 | { |
400 | slotOk(); | 400 | slotOk(); |
401 | } | 401 | } |
402 | 402 | ||
403 | void KPrefsDialog::slotDefault() | 403 | void KPrefsDialog::slotDefault() |
404 | { | 404 | { |
405 | if (KMessageBox::warningContinueCancel(this, | 405 | if (KMessageBox::warningContinueCancel(this, |
406 | i18n("You are about to set all\npreferences to default values.\nAll " | 406 | i18n("You are about to set all\npreferences to default values.\nAll " |
407 | "custom modifications will be lost."),i18n("Setting Default Preferences"), | 407 | "custom modifications will be lost."),i18n("Setting Default Preferences"), |
408 | i18n("Continue")) | 408 | i18n("Continue")) |
409 | == KMessageBox::Continue) setDefaults(); | 409 | == KMessageBox::Continue) setDefaults(); |
410 | } | 410 | } |
diff --git a/libkdepim/kprefsdialog.h b/libkdepim/kprefsdialog.h index ad13b78..efcb86a 100644 --- a/libkdepim/kprefsdialog.h +++ b/libkdepim/kprefsdialog.h | |||
@@ -1,446 +1,445 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of KOrganizer. | 2 | This file is part of KOrganizer. |
3 | Copyright (c) 2001 Cornelius Schumacher <schumacher@kde.org> | 3 | Copyright (c) 2001 Cornelius Schumacher <schumacher@kde.org> |
4 | 4 | ||
5 | This program is free software; you can redistribute it and/or modify | 5 | This program is free software; you can redistribute it and/or modify |
6 | it under the terms of the GNU General Public License as published by | 6 | it under the terms of the GNU General Public License as published by |
7 | the Free Software Foundation; either version 2 of the License, or | 7 | the Free Software Foundation; either version 2 of the License, or |
8 | (at your option) any later version. | 8 | (at your option) any later version. |
9 | 9 | ||
10 | This program is distributed in the hope that it will be useful, | 10 | This program is distributed in the hope that it will be useful, |
11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
13 | GNU General Public License for more details. | 13 | GNU General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU General Public License | 15 | You should have received a copy of the GNU General Public License |
16 | along with this program; if not, write to the Free Software | 16 | along with this program; if not, write to the Free Software |
17 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 17 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
18 | 18 | ||
19 | As a special exception, permission is given to link this program | 19 | As a special exception, permission is given to link this program |
20 | with any edition of Qt, and distribute the resulting executable, | 20 | with any edition of Qt, and distribute the resulting executable, |
21 | without including the source code for Qt in the source distribution. | 21 | without including the source code for Qt in the source distribution. |
22 | */ | 22 | */ |
23 | #ifndef _KPREFSDIALOG_H | 23 | #ifndef _KPREFSDIALOG_H |
24 | #define _KPREFSDIALOG_H | 24 | #define _KPREFSDIALOG_H |
25 | // $Id$ | 25 | // $Id$ |
26 | 26 | ||
27 | #include <qptrlist.h> | 27 | #include <qptrlist.h> |
28 | #include <qlineedit.h> | 28 | #include <qlineedit.h> |
29 | 29 | ||
30 | #include <kdialogbase.h> | 30 | #include <kdialogbase.h> |
31 | 31 | ||
32 | class KPrefs; | 32 | class KPrefs; |
33 | class KPrefsDialog; | 33 | class KPrefsDialog; |
34 | 34 | ||
35 | class KColorButton; | 35 | class KColorButton; |
36 | class QCheckBox; | 36 | class QCheckBox; |
37 | class QLabel; | 37 | class QLabel; |
38 | class QSpinBox; | 38 | class QSpinBox; |
39 | class QButtonGroup; | 39 | class QButtonGroup; |
40 | 40 | ||
41 | /** | 41 | /** |
42 | @short Base class for widgets used by @ref KPrefsDialog. | 42 | @short Base class for widgets used by @ref KPrefsDialog. |
43 | @author Cornelius Schumacher | 43 | @author Cornelius Schumacher |
44 | @see KPrefsDialog | 44 | @see KPrefsDialog |
45 | 45 | ||
46 | This class provides the interface for the preferences widgets used by | 46 | This class provides the interface for the preferences widgets used by |
47 | KPrefsDialog. | 47 | KPrefsDialog. |
48 | */ | 48 | */ |
49 | class KPrefsDialogWid | 49 | class KPrefsDialogWid : public QObject |
50 | { | 50 | { |
51 | public: | 51 | public: |
52 | /** | 52 | /** |
53 | This function is called to read value of the setting from the | 53 | This function is called to read value of the setting from the |
54 | stored configuration and display it in the widget. | 54 | stored configuration and display it in the widget. |
55 | */ | 55 | */ |
56 | virtual void readConfig() = 0; | 56 | virtual void readConfig() = 0; |
57 | /** | 57 | /** |
58 | This function is called to write the current setting of the widget to the | 58 | This function is called to write the current setting of the widget to the |
59 | stored configuration. | 59 | stored configuration. |
60 | */ | 60 | */ |
61 | virtual void writeConfig() = 0; | 61 | virtual void writeConfig() = 0; |
62 | }; | 62 | }; |
63 | 63 | ||
64 | /** | 64 | /** |
65 | @short Widget for bool settings in @ref KPrefsDialog. | 65 | @short Widget for bool settings in @ref KPrefsDialog. |
66 | 66 | ||
67 | This class provides a widget for configuring bool values. It is meant to be | 67 | This class provides a widget for configuring bool values. It is meant to be |
68 | used by KPrefsDialog. The user is responsible for the layout management. | 68 | used by KPrefsDialog. The user is responsible for the layout management. |
69 | */ | 69 | */ |
70 | class KPrefsDialogWidBool : public KPrefsDialogWid | 70 | class KPrefsDialogWidBool : public KPrefsDialogWid |
71 | { | 71 | { |
72 | public: | 72 | public: |
73 | /** | 73 | /** |
74 | Create a bool widget consisting of a QCheckbox. | 74 | Create a bool widget consisting of a QCheckbox. |
75 | 75 | ||
76 | @param text Text of QCheckBox. | 76 | @param text Text of QCheckBox. |
77 | @param reference Pointer to variable read and written by this widget. | 77 | @param reference Pointer to variable read and written by this widget. |
78 | @param parent Parent widget. | 78 | @param parent Parent widget. |
79 | */ | 79 | */ |
80 | KPrefsDialogWidBool(const QString &text,bool *reference,QWidget *parent); | 80 | KPrefsDialogWidBool(const QString &text,bool *reference,QWidget *parent); |
81 | 81 | ||
82 | /** | 82 | /** |
83 | Return the QCheckbox used by this widget. | 83 | Return the QCheckbox used by this widget. |
84 | */ | 84 | */ |
85 | QCheckBox *checkBox(); | 85 | QCheckBox *checkBox(); |
86 | 86 | ||
87 | void readConfig(); | 87 | void readConfig(); |
88 | void writeConfig(); | 88 | void writeConfig(); |
89 | 89 | ||
90 | private: | 90 | private: |
91 | bool *mReference; | 91 | bool *mReference; |
92 | 92 | ||
93 | QCheckBox *mCheck; | 93 | QCheckBox *mCheck; |
94 | }; | 94 | }; |
95 | 95 | ||
96 | /** | 96 | /** |
97 | @short Widget for time settings in @ref KPrefsDialog. | 97 | @short Widget for time settings in @ref KPrefsDialog. |
98 | 98 | ||
99 | This class provides a widget for configuring time values. It is meant to be | 99 | This class provides a widget for configuring time values. It is meant to be |
100 | used by KPrefsDialog. The user is responsible for the layout management. | 100 | used by KPrefsDialog. The user is responsible for the layout management. |
101 | */ | 101 | */ |
102 | class KPrefsDialogWidTime : public KPrefsDialogWid | 102 | class KPrefsDialogWidTime : public KPrefsDialogWid |
103 | { | 103 | { |
104 | public: | 104 | public: |
105 | /** | 105 | /** |
106 | Create a time widget consisting of a label and a spinbox. | 106 | Create a time widget consisting of a label and a spinbox. |
107 | 107 | ||
108 | @param text Text of Label. | 108 | @param text Text of Label. |
109 | @param reference Pointer to variable read and written by this widget. | 109 | @param reference Pointer to variable read and written by this widget. |
110 | @param parent Parent widget. | 110 | @param parent Parent widget. |
111 | */ | 111 | */ |
112 | KPrefsDialogWidTime(const QString &text,int *reference,QWidget *parent); | 112 | KPrefsDialogWidTime(const QString &text,int *reference,QWidget *parent); |
113 | 113 | ||
114 | /** | 114 | /** |
115 | Return QLabel used by this widget. | 115 | Return QLabel used by this widget. |
116 | */ | 116 | */ |
117 | QLabel *label(); | 117 | QLabel *label(); |
118 | /** | 118 | /** |
119 | Return QSpinBox used by this widget. | 119 | Return QSpinBox used by this widget. |
120 | */ | 120 | */ |
121 | QSpinBox *spinBox(); | 121 | QSpinBox *spinBox(); |
122 | 122 | ||
123 | void readConfig(); | 123 | void readConfig(); |
124 | void writeConfig(); | 124 | void writeConfig(); |
125 | 125 | ||
126 | private: | 126 | private: |
127 | int *mReference; | 127 | int *mReference; |
128 | 128 | ||
129 | QLabel *mLabel; | 129 | QLabel *mLabel; |
130 | QSpinBox *mSpin; | 130 | QSpinBox *mSpin; |
131 | }; | 131 | }; |
132 | 132 | ||
133 | /** | 133 | /** |
134 | @short Widget for color settings in @ref KPrefsDialog. | 134 | @short Widget for color settings in @ref KPrefsDialog. |
135 | 135 | ||
136 | This class provides a widget for configuring color values. It is meant to be | 136 | This class provides a widget for configuring color values. It is meant to be |
137 | used by KPrefsDialog. The user is responsible for the layout management. | 137 | used by KPrefsDialog. The user is responsible for the layout management. |
138 | */ | 138 | */ |
139 | class KPrefsDialogWidColor : public QObject, public KPrefsDialogWid | 139 | class KPrefsDialogWidColor : public KPrefsDialogWid |
140 | { | 140 | { |
141 | Q_OBJECT | ||
142 | public: | 141 | public: |
143 | /** | 142 | /** |
144 | Create a color widget consisting of a test field and a button for opening | 143 | Create a color widget consisting of a test field and a button for opening |
145 | a color dialog. | 144 | a color dialog. |
146 | 145 | ||
147 | @param text Text of button. | 146 | @param text Text of button. |
148 | @param reference Pointer to variable read and written by this widget. | 147 | @param reference Pointer to variable read and written by this widget. |
149 | @param parent Parent widget. | 148 | @param parent Parent widget. |
150 | */ | 149 | */ |
151 | KPrefsDialogWidColor(const QString &text,QColor *reference,QWidget *parent); | 150 | KPrefsDialogWidColor(const QString &text,QColor *reference,QWidget *parent); |
152 | /** | 151 | /** |
153 | Destruct color setting widget. | 152 | Destruct color setting widget. |
154 | */ | 153 | */ |
155 | ~KPrefsDialogWidColor(); | 154 | ~KPrefsDialogWidColor(); |
156 | 155 | ||
157 | /** | 156 | /** |
158 | Return QLabel for the button | 157 | Return QLabel for the button |
159 | */ | 158 | */ |
160 | QLabel *label(); | 159 | QLabel *label(); |
161 | /** | 160 | /** |
162 | Return button opening the color dialog. | 161 | Return button opening the color dialog. |
163 | */ | 162 | */ |
164 | KColorButton *button(); | 163 | KColorButton *button(); |
165 | 164 | ||
166 | void readConfig(); | 165 | void readConfig(); |
167 | void writeConfig(); | 166 | void writeConfig(); |
168 | 167 | ||
169 | private: | 168 | private: |
170 | QColor *mReference; | 169 | QColor *mReference; |
171 | 170 | ||
172 | QLabel *mLabel; | 171 | QLabel *mLabel; |
173 | KColorButton *mButton; | 172 | KColorButton *mButton; |
174 | }; | 173 | }; |
175 | 174 | ||
176 | /** | 175 | /** |
177 | @short Widget for font settings in @ref KPrefsDialog. | 176 | @short Widget for font settings in @ref KPrefsDialog. |
178 | 177 | ||
179 | This class provides a widget for configuring font values. It is meant to be | 178 | This class provides a widget for configuring font values. It is meant to be |
180 | used by KPrefsDialog. The user is responsible for the layout management. | 179 | used by KPrefsDialog. The user is responsible for the layout management. |
181 | */ | 180 | */ |
182 | class KPrefsDialogWidFont : public QObject, public KPrefsDialogWid | 181 | class KPrefsDialogWidFont : public KPrefsDialogWid |
183 | { | 182 | { |
184 | Q_OBJECT | 183 | Q_OBJECT |
185 | public: | 184 | public: |
186 | /** | 185 | /** |
187 | Create a font widget consisting of a test field and a button for opening | 186 | Create a font widget consisting of a test field and a button for opening |
188 | a font dialog. | 187 | a font dialog. |
189 | 188 | ||
190 | @param label Text of label. | 189 | @param label Text of label. |
191 | @param reference Pointer to variable read and written by this widget. | 190 | @param reference Pointer to variable read and written by this widget. |
192 | @param parent Parent widget. | 191 | @param parent Parent widget. |
193 | */ | 192 | */ |
194 | KPrefsDialogWidFont(const QString &sampleText,const QString &labelText, | 193 | KPrefsDialogWidFont(const QString &sampleText,const QString &labelText, |
195 | QFont *reference,QWidget *parent); | 194 | QFont *reference,QWidget *parent); |
196 | /** | 195 | /** |
197 | Destruct font setting widget. | 196 | Destruct font setting widget. |
198 | */ | 197 | */ |
199 | ~KPrefsDialogWidFont(); | 198 | ~KPrefsDialogWidFont(); |
200 | 199 | ||
201 | /** | 200 | /** |
202 | Return label. | 201 | Return label. |
203 | */ | 202 | */ |
204 | QLabel *label(); | 203 | QLabel *label(); |
205 | /** | 204 | /** |
206 | Return QFrame used as preview field. | 205 | Return QFrame used as preview field. |
207 | */ | 206 | */ |
208 | QLabel *preview(); | 207 | QLabel *preview(); |
209 | /** | 208 | /** |
210 | Return button opening the font dialog. | 209 | Return button opening the font dialog. |
211 | */ | 210 | */ |
212 | QPushButton *button(); | 211 | QPushButton *button(); |
213 | 212 | ||
214 | void readConfig(); | 213 | void readConfig(); |
215 | void writeConfig(); | 214 | void writeConfig(); |
216 | 215 | ||
217 | protected slots: | 216 | protected slots: |
218 | void selectFont(); | 217 | void selectFont(); |
219 | 218 | ||
220 | private: | 219 | private: |
221 | QFont *mReference; | 220 | QFont *mReference; |
222 | 221 | ||
223 | QLabel *mLabel; | 222 | QLabel *mLabel; |
224 | QLabel *mPreview; | 223 | QLabel *mPreview; |
225 | QPushButton *mButton; | 224 | QPushButton *mButton; |
226 | }; | 225 | }; |
227 | 226 | ||
228 | /** | 227 | /** |
229 | @short Widget for settings represented by a group of radio buttons in | 228 | @short Widget for settings represented by a group of radio buttons in |
230 | @ref KPrefsDialog. | 229 | @ref KPrefsDialog. |
231 | 230 | ||
232 | This class provides a widget for configuring selections. It is meant to be | 231 | This class provides a widget for configuring selections. It is meant to be |
233 | used by KPrefsDialog. The user is responsible for the layout management. The | 232 | used by KPrefsDialog. The user is responsible for the layout management. The |
234 | setting is interpreted as an int value, corresponding to the position of the | 233 | setting is interpreted as an int value, corresponding to the position of the |
235 | radio button. The position of the button is defined by the sequence of @ref | 234 | radio button. The position of the button is defined by the sequence of @ref |
236 | addRadio() calls, starting with 0. | 235 | addRadio() calls, starting with 0. |
237 | */ | 236 | */ |
238 | class KPrefsDialogWidRadios : public KPrefsDialogWid | 237 | class KPrefsDialogWidRadios : public KPrefsDialogWid |
239 | { | 238 | { |
240 | public: | 239 | public: |
241 | /** | 240 | /** |
242 | Create a widget for selection of an option. It consists of a box with | 241 | Create a widget for selection of an option. It consists of a box with |
243 | several radio buttons. | 242 | several radio buttons. |
244 | 243 | ||
245 | @param text Text of main box. | 244 | @param text Text of main box. |
246 | @param reference Pointer to variable read and written by this widget. | 245 | @param reference Pointer to variable read and written by this widget. |
247 | @param parent Parent widget. | 246 | @param parent Parent widget. |
248 | */ | 247 | */ |
249 | KPrefsDialogWidRadios(const QString &text,int *reference,QWidget *parent); | 248 | KPrefsDialogWidRadios(const QString &text,int *reference,QWidget *parent); |
250 | virtual ~KPrefsDialogWidRadios(); | 249 | virtual ~KPrefsDialogWidRadios(); |
251 | 250 | ||
252 | /** | 251 | /** |
253 | Add a radio button. | 252 | Add a radio button. |
254 | 253 | ||
255 | @param text Text of the button. | 254 | @param text Text of the button. |
256 | */ | 255 | */ |
257 | void addRadio(const QString &text); | 256 | void addRadio(const QString &text); |
258 | 257 | ||
259 | /** | 258 | /** |
260 | Return the box widget used by this widget. | 259 | Return the box widget used by this widget. |
261 | */ | 260 | */ |
262 | QButtonGroup *groupBox(); | 261 | QButtonGroup *groupBox(); |
263 | 262 | ||
264 | void readConfig(); | 263 | void readConfig(); |
265 | void writeConfig(); | 264 | void writeConfig(); |
266 | 265 | ||
267 | private: | 266 | private: |
268 | int *mReference; | 267 | int *mReference; |
269 | 268 | ||
270 | QButtonGroup *mBox; | 269 | QButtonGroup *mBox; |
271 | }; | 270 | }; |
272 | 271 | ||
273 | 272 | ||
274 | /** | 273 | /** |
275 | @short Widget for string settings in @ref KPrefsDialog. | 274 | @short Widget for string settings in @ref KPrefsDialog. |
276 | 275 | ||
277 | This class provides a widget for configuring string values. It is meant to be | 276 | This class provides a widget for configuring string values. It is meant to be |
278 | used by KPrefsDialog. The user is responsible for the layout management. | 277 | used by KPrefsDialog. The user is responsible for the layout management. |
279 | */ | 278 | */ |
280 | class KPrefsDialogWidString : public KPrefsDialogWid | 279 | class KPrefsDialogWidString : public KPrefsDialogWid |
281 | { | 280 | { |
282 | public: | 281 | public: |
283 | /** | 282 | /** |
284 | Create a string widget consisting of a test label and a line edit. | 283 | Create a string widget consisting of a test label and a line edit. |
285 | 284 | ||
286 | @param text Text of label. | 285 | @param text Text of label. |
287 | @param reference Pointer to variable read and written by this widget. | 286 | @param reference Pointer to variable read and written by this widget. |
288 | @param parent Parent widget. | 287 | @param parent Parent widget. |
289 | */ | 288 | */ |
290 | KPrefsDialogWidString(const QString &text,QString *reference,QWidget *parent,QLineEdit::EchoMode echomode=QLineEdit::Normal); | 289 | KPrefsDialogWidString(const QString &text,QString *reference,QWidget *parent,QLineEdit::EchoMode echomode=QLineEdit::Normal); |
291 | /** | 290 | /** |
292 | Destructor. | 291 | Destructor. |
293 | */ | 292 | */ |
294 | virtual ~KPrefsDialogWidString(); | 293 | virtual ~KPrefsDialogWidString(); |
295 | 294 | ||
296 | /** | 295 | /** |
297 | Return label used by this widget. | 296 | Return label used by this widget. |
298 | */ | 297 | */ |
299 | QLabel *label(); | 298 | QLabel *label(); |
300 | /** | 299 | /** |
301 | Return QLineEdit used by this widget. | 300 | Return QLineEdit used by this widget. |
302 | */ | 301 | */ |
303 | QLineEdit *lineEdit(); | 302 | QLineEdit *lineEdit(); |
304 | 303 | ||
305 | void readConfig(); | 304 | void readConfig(); |
306 | void writeConfig(); | 305 | void writeConfig(); |
307 | 306 | ||
308 | private: | 307 | private: |
309 | QString *mReference; | 308 | QString *mReference; |
310 | 309 | ||
311 | QLabel *mLabel; | 310 | QLabel *mLabel; |
312 | QLineEdit *mEdit; | 311 | QLineEdit *mEdit; |
313 | }; | 312 | }; |
314 | 313 | ||
315 | 314 | ||
316 | /** | 315 | /** |
317 | @short Base class for a preferences dialog. | 316 | @short Base class for a preferences dialog. |
318 | 317 | ||
319 | This class provides the framework for a preferences dialog. You have to | 318 | This class provides the framework for a preferences dialog. You have to |
320 | subclass it and add the code to create the actual configuration widgets and | 319 | subclass it and add the code to create the actual configuration widgets and |
321 | do the layout management. | 320 | do the layout management. |
322 | 321 | ||
323 | KPrefsDialog provides functions to add subclasses of @ref KPrefsDialogWid. For | 322 | KPrefsDialog provides functions to add subclasses of @ref KPrefsDialogWid. For |
324 | these widgets the reading, writing and setting to default values is handled | 323 | these widgets the reading, writing and setting to default values is handled |
325 | automatically. Custom widgets have to be handled in the functions @ref | 324 | automatically. Custom widgets have to be handled in the functions @ref |
326 | usrReadConfig() and @ref usrWriteConfig(). | 325 | usrReadConfig() and @ref usrWriteConfig(). |
327 | */ | 326 | */ |
328 | class KPrefsDialog : public KDialogBase | 327 | class KPrefsDialog : public KDialogBase |
329 | { | 328 | { |
330 | Q_OBJECT | 329 | Q_OBJECT |
331 | public: | 330 | public: |
332 | /** | 331 | /** |
333 | Create a KPrefsDialog for a KPrefs object. | 332 | Create a KPrefsDialog for a KPrefs object. |
334 | 333 | ||
335 | @param prefs KPrefs object used to access te configuration. | 334 | @param prefs KPrefs object used to access te configuration. |
336 | @param parent Parent widget. | 335 | @param parent Parent widget. |
337 | @param name Widget name. | 336 | @param name Widget name. |
338 | @param modal true, if dialog has to be modal, false for non-modal. | 337 | @param modal true, if dialog has to be modal, false for non-modal. |
339 | */ | 338 | */ |
340 | KPrefsDialog(KPrefs *prefs,QWidget *parent=0,char *name=0,bool modal=false); | 339 | KPrefsDialog(KPrefs *prefs,QWidget *parent=0,char *name=0,bool modal=false); |
341 | /** | 340 | /** |
342 | Destructor. | 341 | Destructor. |
343 | */ | 342 | */ |
344 | virtual ~KPrefsDialog(); | 343 | virtual ~KPrefsDialog(); |
345 | 344 | ||
346 | /** | 345 | /** |
347 | Register a custom KPrefsDialogWid object. | 346 | Register a custom KPrefsDialogWid object. |
348 | */ | 347 | */ |
349 | void addWid(KPrefsDialogWid *); | 348 | void addWid(KPrefsDialogWid *); |
350 | /** | 349 | /** |
351 | Register a @ref KPrefsDialogWidBool object. | 350 | Register a @ref KPrefsDialogWidBool object. |
352 | 351 | ||
353 | @param text Text of bool widget. | 352 | @param text Text of bool widget. |
354 | @param reference Reference to variable storing the setting. | 353 | @param reference Reference to variable storing the setting. |
355 | @param parent Parent widget. | 354 | @param parent Parent widget. |
356 | */ | 355 | */ |
357 | KPrefsDialogWidBool *addWidBool(const QString &text,bool *reference,QWidget *parent); | 356 | KPrefsDialogWidBool *addWidBool(const QString &text,bool *reference,QWidget *parent); |
358 | /** | 357 | /** |
359 | Register a @ref KPrefsDialogWidTime object. | 358 | Register a @ref KPrefsDialogWidTime object. |
360 | 359 | ||
361 | @param text Text of time widget. | 360 | @param text Text of time widget. |
362 | @param reference Reference to variable storing the setting. | 361 | @param reference Reference to variable storing the setting. |
363 | @param parent Parent widget. | 362 | @param parent Parent widget. |
364 | */ | 363 | */ |
365 | KPrefsDialogWidTime *addWidTime(const QString &text,int *reference,QWidget *parent); | 364 | KPrefsDialogWidTime *addWidTime(const QString &text,int *reference,QWidget *parent); |
366 | /** | 365 | /** |
367 | Register a @ref KPrefsDialogWidColor object. | 366 | Register a @ref KPrefsDialogWidColor object. |
368 | 367 | ||
369 | @param text Text of color widget. | 368 | @param text Text of color widget. |
370 | @param reference Reference to variable storing the setting. | 369 | @param reference Reference to variable storing the setting. |
371 | @param parent Parent widget. | 370 | @param parent Parent widget. |
372 | */ | 371 | */ |
373 | KPrefsDialogWidColor *addWidColor(const QString &text,QColor *reference,QWidget *parent); | 372 | KPrefsDialogWidColor *addWidColor(const QString &text,QColor *reference,QWidget *parent); |
374 | /** | 373 | /** |
375 | Register a @ref KPrefsDialogWidRadios object. | 374 | Register a @ref KPrefsDialogWidRadios object. |
376 | 375 | ||
377 | @param text Text of radio button box widget. | 376 | @param text Text of radio button box widget. |
378 | @param reference Reference to variable storing the setting. | 377 | @param reference Reference to variable storing the setting. |
379 | @param parent Parent widget. | 378 | @param parent Parent widget. |
380 | */ | 379 | */ |
381 | KPrefsDialogWidRadios *addWidRadios(const QString &text,int *reference,QWidget *parent); | 380 | KPrefsDialogWidRadios *addWidRadios(const QString &text,int *reference,QWidget *parent); |
382 | /** | 381 | /** |
383 | Register a @ref KPrefsDialogWidString object. | 382 | Register a @ref KPrefsDialogWidString object. |
384 | 383 | ||
385 | @param text Text of string widget. | 384 | @param text Text of string widget. |
386 | @param reference Reference to variable storing the setting. | 385 | @param reference Reference to variable storing the setting. |
387 | @param parent Parent widget. | 386 | @param parent Parent widget. |
388 | */ | 387 | */ |
389 | KPrefsDialogWidString *addWidString(const QString &text,QString *reference,QWidget *parent); | 388 | KPrefsDialogWidString *addWidString(const QString &text,QString *reference,QWidget *parent); |
390 | /** | 389 | /** |
391 | Register a password @ref KPrefsDialogWidString object, with echomode set to QLineEdit::Password. | 390 | Register a password @ref KPrefsDialogWidString object, with echomode set to QLineEdit::Password. |
392 | 391 | ||
393 | @param text Text of string widget. | 392 | @param text Text of string widget. |
394 | @param reference Reference to variable storing the setting. | 393 | @param reference Reference to variable storing the setting. |
395 | @param parent Parent widget. | 394 | @param parent Parent widget. |
396 | */ | 395 | */ |
397 | KPrefsDialogWidString *addWidPassword (const QString &text,QString *reference,QWidget *parent); | 396 | KPrefsDialogWidString *addWidPassword (const QString &text,QString *reference,QWidget *parent); |
398 | /** | 397 | /** |
399 | Register a @ref KPrefsDialogWidFont object. | 398 | Register a @ref KPrefsDialogWidFont object. |
400 | 399 | ||
401 | @param sampleText Sample text of font widget. | 400 | @param sampleText Sample text of font widget. |
402 | @param buttonText Button text of font widget. | 401 | @param buttonText Button text of font widget. |
403 | @param reference Reference to variable storing the setting. | 402 | @param reference Reference to variable storing the setting. |
404 | @param parent Parent widget. | 403 | @param parent Parent widget. |
405 | */ | 404 | */ |
406 | KPrefsDialogWidFont *addWidFont(const QString &sampleText,const QString &buttonText, | 405 | KPrefsDialogWidFont *addWidFont(const QString &sampleText,const QString &buttonText, |
407 | QFont *reference,QWidget *parent); | 406 | QFont *reference,QWidget *parent); |
408 | 407 | ||
409 | public slots: | 408 | public slots: |
410 | /** Set all widgets to default values. */ | 409 | /** Set all widgets to default values. */ |
411 | void setDefaults(); | 410 | void setDefaults(); |
412 | 411 | ||
413 | /** Read preferences from config file. */ | 412 | /** Read preferences from config file. */ |
414 | void readConfig(); | 413 | void readConfig(); |
415 | 414 | ||
416 | /** Write preferences to config file. */ | 415 | /** Write preferences to config file. */ |
417 | void writeConfig(); | 416 | void writeConfig(); |
418 | 417 | ||
419 | signals: | 418 | signals: |
420 | /** Emitted when the a changed configuration has been stored. */ | 419 | /** Emitted when the a changed configuration has been stored. */ |
421 | void configChanged(); | 420 | void configChanged(); |
422 | 421 | ||
423 | protected slots: | 422 | protected slots: |
424 | /** Apply changes to preferences */ | 423 | /** Apply changes to preferences */ |
425 | void slotApply(); | 424 | void slotApply(); |
426 | 425 | ||
427 | void accept(); | 426 | void accept(); |
428 | /** Accept changes to preferences and close dialog */ | 427 | /** Accept changes to preferences and close dialog */ |
429 | void slotOk(); | 428 | void slotOk(); |
430 | 429 | ||
431 | /** Set preferences to default values */ | 430 | /** Set preferences to default values */ |
432 | void slotDefault(); | 431 | void slotDefault(); |
433 | 432 | ||
434 | protected: | 433 | protected: |
435 | /** Implement this to read custom configuration widgets. */ | 434 | /** Implement this to read custom configuration widgets. */ |
436 | virtual void usrReadConfig() {} | 435 | virtual void usrReadConfig() {} |
437 | /** Implement this to write custom configuration widgets. */ | 436 | /** Implement this to write custom configuration widgets. */ |
438 | virtual void usrWriteConfig() {} | 437 | virtual void usrWriteConfig() {} |
439 | 438 | ||
440 | private: | 439 | private: |
441 | KPrefs *mPrefs; | 440 | KPrefs *mPrefs; |
442 | 441 | ||
443 | QPtrList<KPrefsDialogWid> mPrefsWids; | 442 | QPtrList<KPrefsDialogWid> mPrefsWids; |
444 | }; | 443 | }; |
445 | 444 | ||
446 | #endif | 445 | #endif |
diff --git a/microkde/kglobalsettings.cpp b/microkde/kglobalsettings.cpp index 5976aae..3f8a630 100644 --- a/microkde/kglobalsettings.cpp +++ b/microkde/kglobalsettings.cpp | |||
@@ -1,95 +1,104 @@ | |||
1 | #include "kglobalsettings.h" | 1 | #include "kglobalsettings.h" |
2 | #include "kconfig.h" | 2 | #include "kconfig.h" |
3 | #include "kglobal.h" | 3 | #include "kglobal.h" |
4 | #include "kconfigbase.h" | 4 | #include "kconfigbase.h" |
5 | 5 | ||
6 | #include <qapplication.h> | 6 | #include <qapplication.h> |
7 | 7 | ||
8 | #ifdef DESKTOP_VERSION | 8 | #ifdef DESKTOP_VERSION |
9 | QColor KGlobalSettings::mAlternate = QColor( 235, 235, 235 ); | 9 | QColor KGlobalSettings::mAlternate = QColor( 235, 235, 235 ); |
10 | #else | 10 | #else |
11 | QColor KGlobalSettings::mAlternate = QColor( 210, 210, 210 ); | 11 | QColor KGlobalSettings::mAlternate = QColor( 210, 210, 210 ); |
12 | #endif | 12 | #endif |
13 | 13 | ||
14 | 14 | ||
15 | QFont KGlobalSettings::generalFont() | 15 | QFont KGlobalSettings::generalFont() |
16 | { | 16 | { |
17 | int size = 12; | 17 | int size = 12; |
18 | if (QApplication::desktop()->width() < 480 ) { | 18 | if (QApplication::desktop()->width() < 480 ) { |
19 | size = 10; | 19 | size = 10; |
20 | } | 20 | } |
21 | #ifndef DESKTOP_VERSION | 21 | #ifndef DESKTOP_VERSION |
22 | else | 22 | else |
23 | if (QApplication::desktop()->width() >= 480 && QApplication::desktop()->width() <= 640 ) | 23 | if (QApplication::desktop()->width() >= 480 && QApplication::desktop()->width() <= 640 ) |
24 | size = 18; | 24 | size = 18; |
25 | #endif | 25 | #endif |
26 | QFont f = QApplication::font(); | 26 | QFont f = QApplication::font(); |
27 | //qDebug("pointsize %d %s", f.pointSize(),f.family().latin1()); | 27 | //qDebug("pointsize %d %s", f.pointSize(),f.family().latin1()); |
28 | f.setPointSize( size ); | 28 | f.setPointSize( size ); |
29 | return f; | 29 | return f; |
30 | } | 30 | } |
31 | QFont KGlobalSettings::generalMaxFont() | 31 | QFont KGlobalSettings::generalMaxFont() |
32 | { | 32 | { |
33 | int size = 12; | 33 | int size = 12; |
34 | if (QApplication::desktop()->width() < 480 ) { | 34 | if (QApplication::desktop()->width() < 480 ) { |
35 | size = 10; | 35 | size = 10; |
36 | } | 36 | } |
37 | #ifndef DESKTOP_VERSION | 37 | #ifndef DESKTOP_VERSION |
38 | else | 38 | else |
39 | if (QApplication::desktop()->width() >= 480 && QApplication::desktop()->width() <= 640 ) | 39 | if (QApplication::desktop()->width() >= 480 && QApplication::desktop()->width() <= 640 ) |
40 | size = 18; | 40 | size = 18; |
41 | #endif | 41 | #endif |
42 | QFont f = QApplication::font(); | 42 | QFont f = QApplication::font(); |
43 | if ( f.pointSize() > size ) | 43 | if ( f.pointSize() > size ) |
44 | f.setPointSize( size ); | 44 | f.setPointSize( size ); |
45 | return f; | 45 | return f; |
46 | } | 46 | } |
47 | 47 | ||
48 | QString KGlobalSettings::timeTrackerDir() | 48 | QString KGlobalSettings::timeTrackerDir() |
49 | { | 49 | { |
50 | static QString dir; | 50 | static QString dir; |
51 | if ( dir.isEmpty() ) { | 51 | if ( dir.isEmpty() ) { |
52 | dir = locateLocal( "data", "timetrackerdir/d.ttl" ); | 52 | dir = locateLocal( "data", "timetrackerdir/d.ttl" ); |
53 | dir = dir.left ( dir.length() - 5); | 53 | dir = dir.left ( dir.length() - 5); |
54 | } | 54 | } |
55 | return dir; | 55 | return dir; |
56 | } | 56 | } |
57 | QString KGlobalSettings::backupDataDir() | ||
58 | { | ||
59 | static QString dir; | ||
60 | if ( dir.isEmpty() ) { | ||
61 | dir = locateLocal( "data", "backupdir/d.ttl" ); | ||
62 | dir = dir.left ( dir.length() - 5); | ||
63 | } | ||
64 | return dir; | ||
65 | } | ||
57 | 66 | ||
58 | QFont KGlobalSettings::toolBarFont() | 67 | QFont KGlobalSettings::toolBarFont() |
59 | { | 68 | { |
60 | return QApplication::font(); | 69 | return QApplication::font(); |
61 | } | 70 | } |
62 | 71 | ||
63 | QColor KGlobalSettings::toolBarHighlightColor() | 72 | QColor KGlobalSettings::toolBarHighlightColor() |
64 | { | 73 | { |
65 | return QColor( "black" ); | 74 | return QColor( "black" ); |
66 | } | 75 | } |
67 | 76 | ||
68 | QColor KGlobalSettings::alternateBackgroundColor() | 77 | QColor KGlobalSettings::alternateBackgroundColor() |
69 | { | 78 | { |
70 | return mAlternate; | 79 | return mAlternate; |
71 | 80 | ||
72 | } | 81 | } |
73 | void KGlobalSettings::setAlternateBackgroundColor(QColor c) | 82 | void KGlobalSettings::setAlternateBackgroundColor(QColor c) |
74 | { | 83 | { |
75 | mAlternate = c; | 84 | mAlternate = c; |
76 | 85 | ||
77 | } | 86 | } |
78 | 87 | ||
79 | QRect KGlobalSettings::desktopGeometry( QWidget * ) | 88 | QRect KGlobalSettings::desktopGeometry( QWidget * ) |
80 | { | 89 | { |
81 | return QApplication::desktop()->rect(); | 90 | return QApplication::desktop()->rect(); |
82 | } | 91 | } |
83 | 92 | ||
84 | /** | 93 | /** |
85 | * Returns whether KDE runs in single (default) or double click | 94 | * Returns whether KDE runs in single (default) or double click |
86 | * mode. | 95 | * mode. |
87 | * see http://developer.kde.org/documentation/standards/kde/style/mouse/index.html | 96 | * see http://developer.kde.org/documentation/standards/kde/style/mouse/index.html |
88 | * @return true if single click mode, or false if double click mode. | 97 | * @return true if single click mode, or false if double click mode. |
89 | **/ | 98 | **/ |
90 | bool KGlobalSettings::singleClick() | 99 | bool KGlobalSettings::singleClick() |
91 | { | 100 | { |
92 | KConfig *c = KGlobal::config(); | 101 | KConfig *c = KGlobal::config(); |
93 | KConfigGroupSaver cgs( c, "KDE" ); | 102 | KConfigGroupSaver cgs( c, "KDE" ); |
94 | return c->readBoolEntry("SingleClick", KDE_DEFAULT_SINGLECLICK); | 103 | return c->readBoolEntry("SingleClick", KDE_DEFAULT_SINGLECLICK); |
95 | } | 104 | } |
diff --git a/microkde/kglobalsettings.h b/microkde/kglobalsettings.h index 05ef279..4e4d87c 100644 --- a/microkde/kglobalsettings.h +++ b/microkde/kglobalsettings.h | |||
@@ -1,35 +1,36 @@ | |||
1 | #ifndef MICROKDE_KGLOBALSETTINGS_H | 1 | #ifndef MICROKDE_KGLOBALSETTINGS_H |
2 | #define MICROKDE_KGLOBALSETTINGS_H | 2 | #define MICROKDE_KGLOBALSETTINGS_H |
3 | 3 | ||
4 | #include <qfont.h> | 4 | #include <qfont.h> |
5 | #include <qrect.h> | 5 | #include <qrect.h> |
6 | 6 | ||
7 | 7 | ||
8 | #define KDE_DEFAULT_SINGLECLICK true | 8 | #define KDE_DEFAULT_SINGLECLICK true |
9 | 9 | ||
10 | 10 | ||
11 | class KGlobalSettings | 11 | class KGlobalSettings |
12 | { | 12 | { |
13 | public: | 13 | public: |
14 | static QFont generalFont(); | 14 | static QFont generalFont(); |
15 | static QFont generalMaxFont(); | 15 | static QFont generalMaxFont(); |
16 | static QFont toolBarFont(); | 16 | static QFont toolBarFont(); |
17 | 17 | ||
18 | static QColor mAlternate; | 18 | static QColor mAlternate; |
19 | static QColor toolBarHighlightColor(); | 19 | static QColor toolBarHighlightColor(); |
20 | static QColor alternateBackgroundColor(); | 20 | static QColor alternateBackgroundColor(); |
21 | static void setAlternateBackgroundColor(QColor); | 21 | static void setAlternateBackgroundColor(QColor); |
22 | static QRect desktopGeometry( QWidget * ); | 22 | static QRect desktopGeometry( QWidget * ); |
23 | static QString timeTrackerDir(); | 23 | static QString timeTrackerDir(); |
24 | static QString backupDataDir(); | ||
24 | 25 | ||
25 | /** | 26 | /** |
26 | * Returns whether KDE runs in single (default) or double click | 27 | * Returns whether KDE runs in single (default) or double click |
27 | * mode. | 28 | * mode. |
28 | * see http://developer.kde.org/documentation/standards/kde/style/mouse/index.html | 29 | * see http://developer.kde.org/documentation/standards/kde/style/mouse/index.html |
29 | * @return true if single click mode, or false if double click mode. | 30 | * @return true if single click mode, or false if double click mode. |
30 | **/ | 31 | **/ |
31 | static bool singleClick(); | 32 | static bool singleClick(); |
32 | 33 | ||
33 | }; | 34 | }; |
34 | 35 | ||
35 | #endif | 36 | #endif |