summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2004-10-23 06:49:54 (UTC)
committer zautrix <zautrix>2004-10-23 06:49:54 (UTC)
commit65989e4ab454f228fb6cd2fa532145ed54366701 (patch) (unidiff)
treea93a8cd6ef806dd5b6c38e8792a6e007b9e5e413
parent0f0dc54f0edc8c4ec5b320118c82fa5150591fed (diff)
downloadkdepimpi-65989e4ab454f228fb6cd2fa532145ed54366701.zip
kdepimpi-65989e4ab454f228fb6cd2fa532145ed54366701.tar.gz
kdepimpi-65989e4ab454f228fb6cd2fa532145ed54366701.tar.bz2
statusmessage added topwm.fixed initialization problem.changed sring in translation
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--bin/kdepim/kaddressbook/germantranslation.txt2
-rw-r--r--bin/kdepim/kaddressbook/usertranslation.txt2
-rw-r--r--bin/kdepim/korganizer/usertranslation.txt2
-rw-r--r--kabc/plugins/qtopia/qtopiaconverter.cpp2
-rw-r--r--kabc/plugins/qtopia/qtopiaconverter.h2
-rw-r--r--kabc/plugins/qtopia/resourceqtopia.cpp2
-rw-r--r--kabc/plugins/qtopia/resourceqtopiaconfig.cpp3
-rw-r--r--korganizer/wordsgerman.h2
-rw-r--r--pwmanager/pwmanager/pwm.cpp9
9 files changed, 13 insertions, 13 deletions
diff --git a/bin/kdepim/kaddressbook/germantranslation.txt b/bin/kdepim/kaddressbook/germantranslation.txt
index a5ba794..16c4178 100644
--- a/bin/kdepim/kaddressbook/germantranslation.txt
+++ b/bin/kdepim/kaddressbook/germantranslation.txt
@@ -47,193 +47,193 @@
47{ "Private","Private" }, 47{ "Private","Private" },
48{ "Confidential","Confidential" }, 48{ "Confidential","Confidential" },
49{ "&General","&General" }, 49{ "&General","&General" },
50{ "&Edit Addresses...","&Edit Addresses..." }, 50{ "&Edit Addresses...","&Edit Addresses..." },
51{ "Edit Email Addresses...","Edit Email Addresses..." }, 51{ "Edit Email Addresses...","Edit Email Addresses..." },
52{ "Email:","Email:" }, 52{ "Email:","Email:" },
53{ "URL:","URL:" }, 53{ "URL:","URL:" },
54{ "&IM address:","&IM address:" }, 54{ "&IM address:","&IM address:" },
55{ "&Address","&Address" }, 55{ "&Address","&Address" },
56{ "Department:","Department:" }, 56{ "Department:","Department:" },
57{ "Office:","Office:" }, 57{ "Office:","Office:" },
58{ "Profession:","Profession:" }, 58{ "Profession:","Profession:" },
59{ "Manager's name:","Manager's name:" }, 59{ "Manager's name:","Manager's name:" },
60{ "Assistant's name:","Assistant's name:" }, 60{ "Assistant's name:","Assistant's name:" },
61{ "Nick name:","Nick name:" }, 61{ "Nick name:","Nick name:" },
62{ "Spouse's name:","Spouse's name:" }, 62{ "Spouse's name:","Spouse's name:" },
63{ "Children's names:","Children's names:" }, 63{ "Children's names:","Children's names:" },
64{ "Birthday:","Birthday:" }, 64{ "Birthday:","Birthday:" },
65{ " Local Time"," Local Time" }, 65{ " Local Time"," Local Time" },
66{ "Mon","Mon" }, 66{ "Mon","Mon" },
67{ "Tue","Tue" }, 67{ "Tue","Tue" },
68{ "Wed","Wed" }, 68{ "Wed","Wed" },
69{ "Thu","Thu" }, 69{ "Thu","Thu" },
70{ "Fri","Fri" }, 70{ "Fri","Fri" },
71{ "Sat","Sat" }, 71{ "Sat","Sat" },
72{ "Sun","Sun" }, 72{ "Sun","Sun" },
73{ "January","January" }, 73{ "January","January" },
74{ "February","February" }, 74{ "February","February" },
75{ "March","March" }, 75{ "March","March" },
76{ "April","April" }, 76{ "April","April" },
77{ "May","May" }, 77{ "May","May" },
78{ "June","June" }, 78{ "June","June" },
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","December" }, 84{ "December","December" },
85{ "tomorrow","tomorrow" }, 85{ "tomorrow","tomorrow" },
86{ "today","today" }, 86{ "today","today" },
87{ "yesterday","yesterday" }, 87{ "yesterday","yesterday" },
88{ "Monday","Monday" }, 88{ "Monday","Monday" },
89{ "Tuesday","Tuesday" }, 89{ "Tuesday","Tuesday" },
90{ "Wednesday","Wednesday" }, 90{ "Wednesday","Wednesday" },
91{ "Thursday","Thursday" }, 91{ "Thursday","Thursday" },
92{ "Friday","Friday" }, 92{ "Friday","Friday" },
93{ "Saturday","Saturday" }, 93{ "Saturday","Saturday" },
94{ "Sunday","Sunday" }, 94{ "Sunday","Sunday" },
95{ "Anniversary:","Anniversary:" }, 95{ "Anniversary:","Anniversary:" },
96{ "Gender:","Gender:" }, 96{ "Gender:","Gender:" },
97{ "ALIEN (gender undefined)","ALIEN (gender undefined)" }, 97{ "ALIEN (gender undefined)","ALIEN (gender undefined)" },
98{ "female","female" }, 98{ "female","female" },
99{ "male","male" }, 99{ "male","male" },
100{ "&Details","&Details" }, 100{ "&Details","&Details" },
101{ "Note:","Note:" }, 101{ "Note:","Note:" },
102{ "&Notes","&Notes" }, 102{ "&Notes","&Notes" },
103{ "Use geo data","Use geo data" }, 103{ "Use geo data","Use geo data" },
104{ "Latitude:","Latitude:" }, 104{ "Latitude:","Latitude:" },
105{ "Longitude:","Longitude:" }, 105{ "Longitude:","Longitude:" },
106{ "Edit Geo Data...","Edit Geo Data..." }, 106{ "Edit Geo Data...","Edit Geo Data..." },
107{ "Keys:","Keys:" }, 107{ "Keys:","Keys:" },
108{ "Add","Add" }, 108{ "Add","Add" },
109{ "Remove","Remove" }, 109{ "Remove","Remove" },
110{ "Export","Export" }, 110{ "Export","Export" },
111{ "&Misc","&Misc" }, 111{ "&Misc","&Misc" },
112{ "Photo","Photo" }, 112{ "Photo","Photo" },
113{ "Store as URL","Store as URL" }, 113{ "Store as URL","Store as URL" },
114{ "Logo","Logo" }, 114{ "Logo","Logo" },
115{ "&Images","&Images" }, 115{ "&Images","&Images" },
116{ "Home","Home" }, 116{ "Home","Home" },
117{ "Work","Work" }, 117{ "Work","Work" },
118{ "Mobile","Mobile" }, 118{ "Mobile","Mobile" },
119{ "Fax","Fax" }, 119{ "Fax","Fax" },
120{ "Contact Editor","Contact Editor" }, 120{ "Contact Editor","Contact Editor" },
121{ "&Mail...","&Mail..." }, 121{ "&Mail...","&Mail..." },
122{ "&Print...","&Print..." }, 122{ "&Print...","&Print..." },
123{ "&Save","&Save" }, 123{ "&Save","&Save" },
124{ "&New Contact...","&New Contact..." }, 124{ "&New Contact...","&New Contact..." },
125{ "Mail &vCard...","Mail &vCard..." }, 125{ "Mail &vCard...","Mail &vCard..." },
126{ "Selected to phone","Selected to phone" }, 126{ "Selected to phone","Selected to phone" },
127{ "Beam selected v&Card(s)","Beam selected v&Card(s)" }, 127{ "Beam selected v&Card(s)","Beam selected v&Card(s)" },
128{ "&Beam personal vCard","&Beam personal vCard" }, 128{ "&Beam personal vCard","&Beam personal vCard" },
129{ "&Edit Contact...","&Edit Contact..." }, 129{ "&Edit Contact...","&Edit Contact..." },
130{ "&Exit","&Exit" }, 130{ "&Exit","&Exit" },
131{ "&Copy","&Copy" }, 131{ "&Copy","&Copy" },
132{ "Cu&t","Cu&t" }, 132{ "Cu&t","Cu&t" },
133{ "&Paste","&Paste" }, 133{ "&Paste","&Paste" },
134{ "Select &All","Select &All" }, 134{ "Select &All","Select &All" },
135{ "&Undo","&Undo" }, 135{ "&Undo","&Undo" },
136{ "Re&do","Re&do" }, 136{ "Re&do","Re&do" },
137{ "&Delete Contact","&Delete Contact" }, 137{ "&Delete Contact","&Delete Contact" },
138{ "Configure &Resources...","Configure &Resources..." }, 138{ "Configure &Resources...","Configure &Resources..." },
139{ "&Configure %1...","&Configure %1..." }, 139{ "&Configure %1...","&Configure %1..." },
140{ "Configure S&hortcuts...","Configure S&hortcuts..." }, 140{ "Configure S&hortcuts...","Configure S&hortcuts..." },
141{ "Show Jump Bar","Show Jump Bar" }, 141{ "Show Jump Bar","Show Jump Bar" },
142{ "Show Details","Show Details" }, 142{ "Show Details","Show Details" },
143{ "Beam receice enabled","Beam receice enabled" }, 143{ "Beam receive enabled","Beam receice enabled" },
144{ "Set Who Am I","Set Who Am I" }, 144{ "Set Who Am I","Set Who Am I" },
145{ "Set Categories","Set Categories" }, 145{ "Set Categories","Set Categories" },
146{ "Remove "voice"...","Remove "voice"..." }, 146{ "Remove "voice"...","Remove "voice"..." },
147{ "Import from Outlook...","Import from Outlook..." }, 147{ "Import from Outlook...","Import from Outlook..." },
148{ "Licence","Licence" }, 148{ "Licence","Licence" },
149{ "Faq","Faq" }, 149{ "Faq","Faq" },
150{ "What's New?","What's New?" }, 150{ "What's New?","What's New?" },
151{ "Sync HowTo","Sync HowTo" }, 151{ "Sync HowTo","Sync HowTo" },
152{ "&About KAddressBook","&About KAddressBook" }, 152{ "&About KAddressBook","&About KAddressBook" },
153{ "Select Incremental Search Field","Select Incremental Search Field" }, 153{ "Select Incremental Search Field","Select Incremental Search Field" },
154{ "Synchronize","Synchronize" }, 154{ "Synchronize","Synchronize" },
155{ "Configure...","Configure..." }, 155{ "Configure...","Configure..." },
156{ "Enable Pi-Sync","Enable Pi-Sync" }, 156{ "Enable Pi-Sync","Enable Pi-Sync" },
157{ "Multiple sync","Multiple sync" }, 157{ "Multiple sync","Multiple sync" },
158{ "Import CSV List...","Import CSV List..." }, 158{ "Import CSV List...","Import CSV List..." },
159{ "Export CSV List...","Export CSV List..." }, 159{ "Export CSV List...","Export CSV List..." },
160{ "Import KDE 2 Addressbook...","Import KDE 2 Addressbook..." }, 160{ "Import KDE 2 Addressbook...","Import KDE 2 Addressbook..." },
161{ "Import vCard...","Import vCard..." }, 161{ "Import vCard...","Import vCard..." },
162{ "Export vCard 3.0...","Export vCard 3.0..." }, 162{ "Export vCard 3.0...","Export vCard 3.0..." },
163{ "Import Qtopia...","Import Qtopia..." }, 163{ "Import Qtopia...","Import Qtopia..." },
164{ "Export Qtopia...","Export Qtopia..." }, 164{ "Export Qtopia...","Export Qtopia..." },
165{ "Edit Contact","Edit Contact" }, 165{ "Edit Contact","Edit Contact" },
166{ "Ok","Ok" }, 166{ "Ok","Ok" },
167{ "Apply","Apply" }, 167{ "Apply","Apply" },
168{ "Cancel","Cancel" }, 168{ "Cancel","Cancel" },
169{ "KAddressbook/Pi","KAddressbook/Pi" }, 169{ "KAddressbook/Pi","KAddressbook/Pi" },
170{ "No Filter","No Filter" }, 170{ "No Filter","No Filter" },
171{ "Given Name","Given Name" }, 171{ "Given Name","Given Name" },
172{ "Family Name","Family Name" }, 172{ "Family Name","Family Name" },
173{ "Email Address","Email Address" }, 173{ "Email Address","Email Address" },
174{ "All Fields","All Fields" }, 174{ "All Fields","All Fields" },
175{ "Question","Question" }, 175{ "Question","Question" },
176{ "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?" }, 176{ "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{ "No","No" }, 177{ "No","No" },
178{ "Yes","Yes" }, 178{ "Yes","Yes" },
179{ "Synchronization Preferences","Synchronization Preferences" }, 179{ "Synchronization Preferences","Synchronization Preferences" },
180{ "Local device name:","Local device name:" }, 180{ "Local device name:","Local device name:" },
181{ "New profile","New profile" }, 181{ "New profile","New profile" },
182{ "Clone profile","Clone profile" }, 182{ "Clone profile","Clone profile" },
183{ "Delete profile","Delete profile" }, 183{ "Delete profile","Delete profile" },
184{ "Profile:","Profile:" }, 184{ "Profile:","Profile:" },
185{ "Include in multiple ","Include in multiple " }, 185{ "Include in multiple ","Include in multiple " },
186{ "calendar ","calendar " }, 186{ "calendar ","calendar " },
187{ "addressbook ","addressbook " }, 187{ "addressbook ","addressbook " },
188{ "pwmanager","pwmanager" }, 188{ "pwmanager","pwmanager" },
189{ " sync"," sync" }, 189{ " sync"," sync" },
190{ "Ask for preferences before sync","Ask for preferences before sync" }, 190{ "Ask for preferences before sync","Ask for preferences before sync" },
191{ "Sync preferences","Sync preferences" }, 191{ "Sync preferences","Sync preferences" },
192{ "Take local entry on conflict","Take local entry on conflict" }, 192{ "Take local entry on conflict","Take local entry on conflict" },
193{ "Take remote entry on conflict","Take remote entry on conflict" }, 193{ "Take remote entry on conflict","Take remote entry on conflict" },
194{ "Take newest entry on conflict","Take newest entry on conflict" }, 194{ "Take newest entry on conflict","Take newest entry on conflict" },
195{ "Ask for every entry on conflict","Ask for every entry on conflict" }, 195{ "Ask for every entry on conflict","Ask for every entry on conflict" },
196{ "Force: Take local entry always","Force: Take local entry always" }, 196{ "Force: Take local entry always","Force: Take local entry always" },
197{ "Force: Take remote entry always","Force: Take remote entry always" }, 197{ "Force: Take remote entry always","Force: Take remote entry always" },
198{ "Show summary after sync","Show summary after sync" }, 198{ "Show summary after sync","Show summary after sync" },
199{ "Write back synced data","Write back synced data" }, 199{ "Write back synced data","Write back synced data" },
200{ "-- Write back (on remote) existing entries only","-- Write back (on remote) existing entries only" }, 200{ "-- Write back (on remote) existing entries only","-- Write back (on remote) existing entries only" },
201{ "-- Write back (calendar) entries in future only","-- Write back (calendar) entries in future only" }, 201{ "-- Write back (calendar) entries in future only","-- Write back (calendar) entries in future only" },
202{ "---- Max. weeks in future: ","---- Max. weeks in future: " }, 202{ "---- Max. weeks in future: ","---- Max. weeks in future: " },
203{ "Profile kind","Profile kind" }, 203{ "Profile kind","Profile kind" },
204{ "Local file","Local file" }, 204{ "Local file","Local file" },
205{ "Pi-Sync ( direct Kx/Pi to Kx/Pi sync )","Pi-Sync ( direct Kx/Pi to Kx/Pi sync )" }, 205{ "Pi-Sync ( direct Kx/Pi to Kx/Pi sync )","Pi-Sync ( direct Kx/Pi to Kx/Pi sync )" },
206{ "Remote file (w down/upload command)","Remote file (w down/upload command)" }, 206{ "Remote file (w down/upload command)","Remote file (w down/upload command)" },
207{ "Mobile device (cell phone)","Mobile device (cell phone)" }, 207{ "Mobile device (cell phone)","Mobile device (cell phone)" },
208{ "I/O device: ","I/O device: " }, 208{ "I/O device: ","I/O device: " },
209{ "Help...","Help..." }, 209{ "Help...","Help..." },
210{ "Connection: ","Connection: " }, 210{ "Connection: ","Connection: " },
211{ "Model(opt.): ","Model(opt.): " }, 211{ "Model(opt.): ","Model(opt.): " },
212{ "Local file Cal:","Local file Cal:" }, 212{ "Local file Cal:","Local file Cal:" },
213{ "Local file ABook:","Local file ABook:" }, 213{ "Local file ABook:","Local file ABook:" },
214{ "Local file PWMgr:","Local file PWMgr:" }, 214{ "Local file PWMgr:","Local file PWMgr:" },
215{ "Choose...","Choose..." }, 215{ "Choose...","Choose..." },
216{ "Addressbook file (*.vcf) is used by KA/Pi","Addressbook file (*.vcf) is used by KA/Pi" }, 216{ "Addressbook file (*.vcf) is used by KA/Pi","Addressbook file (*.vcf) is used by KA/Pi" },
217{ "Calendar:","Calendar:" }, 217{ "Calendar:","Calendar:" },
218{ "AddressBook:","AddressBook:" }, 218{ "AddressBook:","AddressBook:" },
219{ "PWManager:","PWManager:" }, 219{ "PWManager:","PWManager:" },
220{ "Pre sync (download) command:","Pre sync (download) command:" }, 220{ "Pre sync (download) command:","Pre sync (download) command:" },
221{ "Local temp file:","Local temp file:" }, 221{ "Local temp file:","Local temp file:" },
222{ "Post sync (upload) command:","Post sync (upload) command:" }, 222{ "Post sync (upload) command:","Post sync (upload) command:" },
223{ "Addressbook file is used by KA/Pi","Addressbook file is used by KA/Pi" }, 223{ "Addressbook file is used by KA/Pi","Addressbook file is used by KA/Pi" },
224{ "Fill in default values for:","Fill in default values for:" }, 224{ "Fill in default values for:","Fill in default values for:" },
225{ "ssh/scp","ssh/scp" }, 225{ "ssh/scp","ssh/scp" },
226{ "ftp","ftp" }, 226{ "ftp","ftp" },
227{ "Hint: Use $PWD$ for placeholder of password!","Hint: Use $PWD$ for placeholder of password!" }, 227{ "Hint: Use $PWD$ for placeholder of password!","Hint: Use $PWD$ for placeholder of password!" },
228{ "Password for remote access: (could be the same for each)","Password for remote access: (could be the same for each)" }, 228{ "Password for remote access: (could be the same for each)","Password for remote access: (could be the same for each)" },
229{ "Remote IP address: (could be the same for each)","Remote IP address: (could be the same for each)" }, 229{ "Remote IP address: (could be the same for each)","Remote IP address: (could be the same for each)" },
230{ "Remote port number: (should be different for each)","Remote port number: (should be different for each)" }, 230{ "Remote port number: (should be different for each)","Remote port number: (should be different for each)" },
231{ "command for downloading remote file to local device","command for downloading remote file to local device" }, 231{ "command for downloading remote file to local device","command for downloading remote file to local device" },
232{ "command for uploading local temp file to remote device","command for uploading local temp file to remote device" }, 232{ "command for uploading local temp file to remote device","command for uploading local temp file to remote device" },
233{ "Insert device where\nphone is connected. E.g.:\n","Insert device where\nphone is connected. E.g.:\n" }, 233{ "Insert device where\nphone is connected. E.g.:\n","Insert device where\nphone is connected. E.g.:\n" },
234{ "KDE-Pim sync config","KDE-Pim sync config" }, 234{ "KDE-Pim sync config","KDE-Pim sync config" },
235{ "Insert kind of connection,e.g.:\n","Insert kind of connection,e.g.:\n" }, 235{ "Insert kind of connection,e.g.:\n","Insert kind of connection,e.g.:\n" },
236{ "Recommended: Leave empty!\n(Such that model can\nbe auto detected)\nOr insert name of model:\n","Recommended: Leave empty!\n(Such that model can\nbe auto detected)\nOr insert name of model:\n" }, 236{ "Recommended: Leave empty!\n(Such that model can\nbe auto detected)\nOr insert name of model:\n","Recommended: Leave empty!\n(Such that model can\nbe auto detected)\nOr insert name of model:\n" },
237{ "KO/Pi config error","KO/Pi config error" }, 237{ "KO/Pi config error","KO/Pi config error" },
238{ "Local device name undefined!\nPlease define device name!","Local device name undefined!\nPlease define device name!" }, 238{ "Local device name undefined!\nPlease define device name!","Local device name undefined!\nPlease define device name!" },
239{ "Edit Address Book Filters","Edit Address Book Filters" }, 239{ "Edit Address Book Filters","Edit Address Book Filters" },
diff --git a/bin/kdepim/kaddressbook/usertranslation.txt b/bin/kdepim/kaddressbook/usertranslation.txt
index a5ba794..16c4178 100644
--- a/bin/kdepim/kaddressbook/usertranslation.txt
+++ b/bin/kdepim/kaddressbook/usertranslation.txt
@@ -47,193 +47,193 @@
47{ "Private","Private" }, 47{ "Private","Private" },
48{ "Confidential","Confidential" }, 48{ "Confidential","Confidential" },
49{ "&General","&General" }, 49{ "&General","&General" },
50{ "&Edit Addresses...","&Edit Addresses..." }, 50{ "&Edit Addresses...","&Edit Addresses..." },
51{ "Edit Email Addresses...","Edit Email Addresses..." }, 51{ "Edit Email Addresses...","Edit Email Addresses..." },
52{ "Email:","Email:" }, 52{ "Email:","Email:" },
53{ "URL:","URL:" }, 53{ "URL:","URL:" },
54{ "&IM address:","&IM address:" }, 54{ "&IM address:","&IM address:" },
55{ "&Address","&Address" }, 55{ "&Address","&Address" },
56{ "Department:","Department:" }, 56{ "Department:","Department:" },
57{ "Office:","Office:" }, 57{ "Office:","Office:" },
58{ "Profession:","Profession:" }, 58{ "Profession:","Profession:" },
59{ "Manager's name:","Manager's name:" }, 59{ "Manager's name:","Manager's name:" },
60{ "Assistant's name:","Assistant's name:" }, 60{ "Assistant's name:","Assistant's name:" },
61{ "Nick name:","Nick name:" }, 61{ "Nick name:","Nick name:" },
62{ "Spouse's name:","Spouse's name:" }, 62{ "Spouse's name:","Spouse's name:" },
63{ "Children's names:","Children's names:" }, 63{ "Children's names:","Children's names:" },
64{ "Birthday:","Birthday:" }, 64{ "Birthday:","Birthday:" },
65{ " Local Time"," Local Time" }, 65{ " Local Time"," Local Time" },
66{ "Mon","Mon" }, 66{ "Mon","Mon" },
67{ "Tue","Tue" }, 67{ "Tue","Tue" },
68{ "Wed","Wed" }, 68{ "Wed","Wed" },
69{ "Thu","Thu" }, 69{ "Thu","Thu" },
70{ "Fri","Fri" }, 70{ "Fri","Fri" },
71{ "Sat","Sat" }, 71{ "Sat","Sat" },
72{ "Sun","Sun" }, 72{ "Sun","Sun" },
73{ "January","January" }, 73{ "January","January" },
74{ "February","February" }, 74{ "February","February" },
75{ "March","March" }, 75{ "March","March" },
76{ "April","April" }, 76{ "April","April" },
77{ "May","May" }, 77{ "May","May" },
78{ "June","June" }, 78{ "June","June" },
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","December" }, 84{ "December","December" },
85{ "tomorrow","tomorrow" }, 85{ "tomorrow","tomorrow" },
86{ "today","today" }, 86{ "today","today" },
87{ "yesterday","yesterday" }, 87{ "yesterday","yesterday" },
88{ "Monday","Monday" }, 88{ "Monday","Monday" },
89{ "Tuesday","Tuesday" }, 89{ "Tuesday","Tuesday" },
90{ "Wednesday","Wednesday" }, 90{ "Wednesday","Wednesday" },
91{ "Thursday","Thursday" }, 91{ "Thursday","Thursday" },
92{ "Friday","Friday" }, 92{ "Friday","Friday" },
93{ "Saturday","Saturday" }, 93{ "Saturday","Saturday" },
94{ "Sunday","Sunday" }, 94{ "Sunday","Sunday" },
95{ "Anniversary:","Anniversary:" }, 95{ "Anniversary:","Anniversary:" },
96{ "Gender:","Gender:" }, 96{ "Gender:","Gender:" },
97{ "ALIEN (gender undefined)","ALIEN (gender undefined)" }, 97{ "ALIEN (gender undefined)","ALIEN (gender undefined)" },
98{ "female","female" }, 98{ "female","female" },
99{ "male","male" }, 99{ "male","male" },
100{ "&Details","&Details" }, 100{ "&Details","&Details" },
101{ "Note:","Note:" }, 101{ "Note:","Note:" },
102{ "&Notes","&Notes" }, 102{ "&Notes","&Notes" },
103{ "Use geo data","Use geo data" }, 103{ "Use geo data","Use geo data" },
104{ "Latitude:","Latitude:" }, 104{ "Latitude:","Latitude:" },
105{ "Longitude:","Longitude:" }, 105{ "Longitude:","Longitude:" },
106{ "Edit Geo Data...","Edit Geo Data..." }, 106{ "Edit Geo Data...","Edit Geo Data..." },
107{ "Keys:","Keys:" }, 107{ "Keys:","Keys:" },
108{ "Add","Add" }, 108{ "Add","Add" },
109{ "Remove","Remove" }, 109{ "Remove","Remove" },
110{ "Export","Export" }, 110{ "Export","Export" },
111{ "&Misc","&Misc" }, 111{ "&Misc","&Misc" },
112{ "Photo","Photo" }, 112{ "Photo","Photo" },
113{ "Store as URL","Store as URL" }, 113{ "Store as URL","Store as URL" },
114{ "Logo","Logo" }, 114{ "Logo","Logo" },
115{ "&Images","&Images" }, 115{ "&Images","&Images" },
116{ "Home","Home" }, 116{ "Home","Home" },
117{ "Work","Work" }, 117{ "Work","Work" },
118{ "Mobile","Mobile" }, 118{ "Mobile","Mobile" },
119{ "Fax","Fax" }, 119{ "Fax","Fax" },
120{ "Contact Editor","Contact Editor" }, 120{ "Contact Editor","Contact Editor" },
121{ "&Mail...","&Mail..." }, 121{ "&Mail...","&Mail..." },
122{ "&Print...","&Print..." }, 122{ "&Print...","&Print..." },
123{ "&Save","&Save" }, 123{ "&Save","&Save" },
124{ "&New Contact...","&New Contact..." }, 124{ "&New Contact...","&New Contact..." },
125{ "Mail &vCard...","Mail &vCard..." }, 125{ "Mail &vCard...","Mail &vCard..." },
126{ "Selected to phone","Selected to phone" }, 126{ "Selected to phone","Selected to phone" },
127{ "Beam selected v&Card(s)","Beam selected v&Card(s)" }, 127{ "Beam selected v&Card(s)","Beam selected v&Card(s)" },
128{ "&Beam personal vCard","&Beam personal vCard" }, 128{ "&Beam personal vCard","&Beam personal vCard" },
129{ "&Edit Contact...","&Edit Contact..." }, 129{ "&Edit Contact...","&Edit Contact..." },
130{ "&Exit","&Exit" }, 130{ "&Exit","&Exit" },
131{ "&Copy","&Copy" }, 131{ "&Copy","&Copy" },
132{ "Cu&t","Cu&t" }, 132{ "Cu&t","Cu&t" },
133{ "&Paste","&Paste" }, 133{ "&Paste","&Paste" },
134{ "Select &All","Select &All" }, 134{ "Select &All","Select &All" },
135{ "&Undo","&Undo" }, 135{ "&Undo","&Undo" },
136{ "Re&do","Re&do" }, 136{ "Re&do","Re&do" },
137{ "&Delete Contact","&Delete Contact" }, 137{ "&Delete Contact","&Delete Contact" },
138{ "Configure &Resources...","Configure &Resources..." }, 138{ "Configure &Resources...","Configure &Resources..." },
139{ "&Configure %1...","&Configure %1..." }, 139{ "&Configure %1...","&Configure %1..." },
140{ "Configure S&hortcuts...","Configure S&hortcuts..." }, 140{ "Configure S&hortcuts...","Configure S&hortcuts..." },
141{ "Show Jump Bar","Show Jump Bar" }, 141{ "Show Jump Bar","Show Jump Bar" },
142{ "Show Details","Show Details" }, 142{ "Show Details","Show Details" },
143{ "Beam receice enabled","Beam receice enabled" }, 143{ "Beam receive enabled","Beam receice enabled" },
144{ "Set Who Am I","Set Who Am I" }, 144{ "Set Who Am I","Set Who Am I" },
145{ "Set Categories","Set Categories" }, 145{ "Set Categories","Set Categories" },
146{ "Remove "voice"...","Remove "voice"..." }, 146{ "Remove "voice"...","Remove "voice"..." },
147{ "Import from Outlook...","Import from Outlook..." }, 147{ "Import from Outlook...","Import from Outlook..." },
148{ "Licence","Licence" }, 148{ "Licence","Licence" },
149{ "Faq","Faq" }, 149{ "Faq","Faq" },
150{ "What's New?","What's New?" }, 150{ "What's New?","What's New?" },
151{ "Sync HowTo","Sync HowTo" }, 151{ "Sync HowTo","Sync HowTo" },
152{ "&About KAddressBook","&About KAddressBook" }, 152{ "&About KAddressBook","&About KAddressBook" },
153{ "Select Incremental Search Field","Select Incremental Search Field" }, 153{ "Select Incremental Search Field","Select Incremental Search Field" },
154{ "Synchronize","Synchronize" }, 154{ "Synchronize","Synchronize" },
155{ "Configure...","Configure..." }, 155{ "Configure...","Configure..." },
156{ "Enable Pi-Sync","Enable Pi-Sync" }, 156{ "Enable Pi-Sync","Enable Pi-Sync" },
157{ "Multiple sync","Multiple sync" }, 157{ "Multiple sync","Multiple sync" },
158{ "Import CSV List...","Import CSV List..." }, 158{ "Import CSV List...","Import CSV List..." },
159{ "Export CSV List...","Export CSV List..." }, 159{ "Export CSV List...","Export CSV List..." },
160{ "Import KDE 2 Addressbook...","Import KDE 2 Addressbook..." }, 160{ "Import KDE 2 Addressbook...","Import KDE 2 Addressbook..." },
161{ "Import vCard...","Import vCard..." }, 161{ "Import vCard...","Import vCard..." },
162{ "Export vCard 3.0...","Export vCard 3.0..." }, 162{ "Export vCard 3.0...","Export vCard 3.0..." },
163{ "Import Qtopia...","Import Qtopia..." }, 163{ "Import Qtopia...","Import Qtopia..." },
164{ "Export Qtopia...","Export Qtopia..." }, 164{ "Export Qtopia...","Export Qtopia..." },
165{ "Edit Contact","Edit Contact" }, 165{ "Edit Contact","Edit Contact" },
166{ "Ok","Ok" }, 166{ "Ok","Ok" },
167{ "Apply","Apply" }, 167{ "Apply","Apply" },
168{ "Cancel","Cancel" }, 168{ "Cancel","Cancel" },
169{ "KAddressbook/Pi","KAddressbook/Pi" }, 169{ "KAddressbook/Pi","KAddressbook/Pi" },
170{ "No Filter","No Filter" }, 170{ "No Filter","No Filter" },
171{ "Given Name","Given Name" }, 171{ "Given Name","Given Name" },
172{ "Family Name","Family Name" }, 172{ "Family Name","Family Name" },
173{ "Email Address","Email Address" }, 173{ "Email Address","Email Address" },
174{ "All Fields","All Fields" }, 174{ "All Fields","All Fields" },
175{ "Question","Question" }, 175{ "Question","Question" },
176{ "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?" }, 176{ "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{ "No","No" }, 177{ "No","No" },
178{ "Yes","Yes" }, 178{ "Yes","Yes" },
179{ "Synchronization Preferences","Synchronization Preferences" }, 179{ "Synchronization Preferences","Synchronization Preferences" },
180{ "Local device name:","Local device name:" }, 180{ "Local device name:","Local device name:" },
181{ "New profile","New profile" }, 181{ "New profile","New profile" },
182{ "Clone profile","Clone profile" }, 182{ "Clone profile","Clone profile" },
183{ "Delete profile","Delete profile" }, 183{ "Delete profile","Delete profile" },
184{ "Profile:","Profile:" }, 184{ "Profile:","Profile:" },
185{ "Include in multiple ","Include in multiple " }, 185{ "Include in multiple ","Include in multiple " },
186{ "calendar ","calendar " }, 186{ "calendar ","calendar " },
187{ "addressbook ","addressbook " }, 187{ "addressbook ","addressbook " },
188{ "pwmanager","pwmanager" }, 188{ "pwmanager","pwmanager" },
189{ " sync"," sync" }, 189{ " sync"," sync" },
190{ "Ask for preferences before sync","Ask for preferences before sync" }, 190{ "Ask for preferences before sync","Ask for preferences before sync" },
191{ "Sync preferences","Sync preferences" }, 191{ "Sync preferences","Sync preferences" },
192{ "Take local entry on conflict","Take local entry on conflict" }, 192{ "Take local entry on conflict","Take local entry on conflict" },
193{ "Take remote entry on conflict","Take remote entry on conflict" }, 193{ "Take remote entry on conflict","Take remote entry on conflict" },
194{ "Take newest entry on conflict","Take newest entry on conflict" }, 194{ "Take newest entry on conflict","Take newest entry on conflict" },
195{ "Ask for every entry on conflict","Ask for every entry on conflict" }, 195{ "Ask for every entry on conflict","Ask for every entry on conflict" },
196{ "Force: Take local entry always","Force: Take local entry always" }, 196{ "Force: Take local entry always","Force: Take local entry always" },
197{ "Force: Take remote entry always","Force: Take remote entry always" }, 197{ "Force: Take remote entry always","Force: Take remote entry always" },
198{ "Show summary after sync","Show summary after sync" }, 198{ "Show summary after sync","Show summary after sync" },
199{ "Write back synced data","Write back synced data" }, 199{ "Write back synced data","Write back synced data" },
200{ "-- Write back (on remote) existing entries only","-- Write back (on remote) existing entries only" }, 200{ "-- Write back (on remote) existing entries only","-- Write back (on remote) existing entries only" },
201{ "-- Write back (calendar) entries in future only","-- Write back (calendar) entries in future only" }, 201{ "-- Write back (calendar) entries in future only","-- Write back (calendar) entries in future only" },
202{ "---- Max. weeks in future: ","---- Max. weeks in future: " }, 202{ "---- Max. weeks in future: ","---- Max. weeks in future: " },
203{ "Profile kind","Profile kind" }, 203{ "Profile kind","Profile kind" },
204{ "Local file","Local file" }, 204{ "Local file","Local file" },
205{ "Pi-Sync ( direct Kx/Pi to Kx/Pi sync )","Pi-Sync ( direct Kx/Pi to Kx/Pi sync )" }, 205{ "Pi-Sync ( direct Kx/Pi to Kx/Pi sync )","Pi-Sync ( direct Kx/Pi to Kx/Pi sync )" },
206{ "Remote file (w down/upload command)","Remote file (w down/upload command)" }, 206{ "Remote file (w down/upload command)","Remote file (w down/upload command)" },
207{ "Mobile device (cell phone)","Mobile device (cell phone)" }, 207{ "Mobile device (cell phone)","Mobile device (cell phone)" },
208{ "I/O device: ","I/O device: " }, 208{ "I/O device: ","I/O device: " },
209{ "Help...","Help..." }, 209{ "Help...","Help..." },
210{ "Connection: ","Connection: " }, 210{ "Connection: ","Connection: " },
211{ "Model(opt.): ","Model(opt.): " }, 211{ "Model(opt.): ","Model(opt.): " },
212{ "Local file Cal:","Local file Cal:" }, 212{ "Local file Cal:","Local file Cal:" },
213{ "Local file ABook:","Local file ABook:" }, 213{ "Local file ABook:","Local file ABook:" },
214{ "Local file PWMgr:","Local file PWMgr:" }, 214{ "Local file PWMgr:","Local file PWMgr:" },
215{ "Choose...","Choose..." }, 215{ "Choose...","Choose..." },
216{ "Addressbook file (*.vcf) is used by KA/Pi","Addressbook file (*.vcf) is used by KA/Pi" }, 216{ "Addressbook file (*.vcf) is used by KA/Pi","Addressbook file (*.vcf) is used by KA/Pi" },
217{ "Calendar:","Calendar:" }, 217{ "Calendar:","Calendar:" },
218{ "AddressBook:","AddressBook:" }, 218{ "AddressBook:","AddressBook:" },
219{ "PWManager:","PWManager:" }, 219{ "PWManager:","PWManager:" },
220{ "Pre sync (download) command:","Pre sync (download) command:" }, 220{ "Pre sync (download) command:","Pre sync (download) command:" },
221{ "Local temp file:","Local temp file:" }, 221{ "Local temp file:","Local temp file:" },
222{ "Post sync (upload) command:","Post sync (upload) command:" }, 222{ "Post sync (upload) command:","Post sync (upload) command:" },
223{ "Addressbook file is used by KA/Pi","Addressbook file is used by KA/Pi" }, 223{ "Addressbook file is used by KA/Pi","Addressbook file is used by KA/Pi" },
224{ "Fill in default values for:","Fill in default values for:" }, 224{ "Fill in default values for:","Fill in default values for:" },
225{ "ssh/scp","ssh/scp" }, 225{ "ssh/scp","ssh/scp" },
226{ "ftp","ftp" }, 226{ "ftp","ftp" },
227{ "Hint: Use $PWD$ for placeholder of password!","Hint: Use $PWD$ for placeholder of password!" }, 227{ "Hint: Use $PWD$ for placeholder of password!","Hint: Use $PWD$ for placeholder of password!" },
228{ "Password for remote access: (could be the same for each)","Password for remote access: (could be the same for each)" }, 228{ "Password for remote access: (could be the same for each)","Password for remote access: (could be the same for each)" },
229{ "Remote IP address: (could be the same for each)","Remote IP address: (could be the same for each)" }, 229{ "Remote IP address: (could be the same for each)","Remote IP address: (could be the same for each)" },
230{ "Remote port number: (should be different for each)","Remote port number: (should be different for each)" }, 230{ "Remote port number: (should be different for each)","Remote port number: (should be different for each)" },
231{ "command for downloading remote file to local device","command for downloading remote file to local device" }, 231{ "command for downloading remote file to local device","command for downloading remote file to local device" },
232{ "command for uploading local temp file to remote device","command for uploading local temp file to remote device" }, 232{ "command for uploading local temp file to remote device","command for uploading local temp file to remote device" },
233{ "Insert device where\nphone is connected. E.g.:\n","Insert device where\nphone is connected. E.g.:\n" }, 233{ "Insert device where\nphone is connected. E.g.:\n","Insert device where\nphone is connected. E.g.:\n" },
234{ "KDE-Pim sync config","KDE-Pim sync config" }, 234{ "KDE-Pim sync config","KDE-Pim sync config" },
235{ "Insert kind of connection,e.g.:\n","Insert kind of connection,e.g.:\n" }, 235{ "Insert kind of connection,e.g.:\n","Insert kind of connection,e.g.:\n" },
236{ "Recommended: Leave empty!\n(Such that model can\nbe auto detected)\nOr insert name of model:\n","Recommended: Leave empty!\n(Such that model can\nbe auto detected)\nOr insert name of model:\n" }, 236{ "Recommended: Leave empty!\n(Such that model can\nbe auto detected)\nOr insert name of model:\n","Recommended: Leave empty!\n(Such that model can\nbe auto detected)\nOr insert name of model:\n" },
237{ "KO/Pi config error","KO/Pi config error" }, 237{ "KO/Pi config error","KO/Pi config error" },
238{ "Local device name undefined!\nPlease define device name!","Local device name undefined!\nPlease define device name!" }, 238{ "Local device name undefined!\nPlease define device name!","Local device name undefined!\nPlease define device name!" },
239{ "Edit Address Book Filters","Edit Address Book Filters" }, 239{ "Edit Address Book Filters","Edit Address Book Filters" },
diff --git a/bin/kdepim/korganizer/usertranslation.txt b/bin/kdepim/korganizer/usertranslation.txt
index 0236b92..f4c4698 100644
--- a/bin/kdepim/korganizer/usertranslation.txt
+++ b/bin/kdepim/korganizer/usertranslation.txt
@@ -775,193 +775,193 @@
775{ "Filter selected: ","Gewählter Filter: " }, 775{ "Filter selected: ","Gewählter Filter: " },
776{ "Toggle Cancel","Gecancelt ändern" }, 776{ "Toggle Cancel","Gecancelt ändern" },
777{ "&Toggle Cancel","Gecancel&t ändern" }, 777{ "&Toggle Cancel","Gecancel&t ändern" },
778{ "Configure Toolbar","Konfiguriere Toolbar" }, 778{ "Configure Toolbar","Konfiguriere Toolbar" },
779{ "Stretched TB","Gedehnte TB" }, 779{ "Stretched TB","Gedehnte TB" },
780{ "Import file \n...%1\ndoes not exist!\nNothing imported!\n","Import Datei \n...%1\nexistiert nicht!\nNichts importiert!\n" }, 780{ "Import file \n...%1\ndoes not exist!\nNothing imported!\n","Import Datei \n...%1\nexistiert nicht!\nNichts importiert!\n" },
781{ "Import filename(*.ics/*.vcs)","Import Dateiname(*.ics/*.vcs)" }, 781{ "Import filename(*.ics/*.vcs)","Import Dateiname(*.ics/*.vcs)" },
782{ "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" }, 782{ "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" },
783{ "Not supported \non desktop!\n","Nur verfügbar auf PDA!" }, 783{ "Not supported \non desktop!\n","Nur verfügbar auf PDA!" },
784{ "Imported file successfully","Datei erfolgreich importiert" }, 784{ "Imported file successfully","Datei erfolgreich importiert" },
785{ "Error importing file","Fehler beim Importieren der Datei" }, 785{ "Error importing file","Fehler beim Importieren der Datei" },
786{ "Export vcal filename(*.vcs)","Export vcal Dateiname(*.vcs)" }, 786{ "Export vcal filename(*.vcs)","Export vcal Dateiname(*.vcs)" },
787{ "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" }, 787{ "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" },
788{ "Overwrite!","Überschreiben!" }, 788{ "Overwrite!","Überschreiben!" },
789{ "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" }, 789{ "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" },
790{ "Load backup filename","Lade Backup Dateiname" }, 790{ "Load backup filename","Lade Backup Dateiname" },
791{ "Backup file\ndoes not exist!\nNothing loaded!","Backup Datei\nexistiert nicht!\nNichts geladen!" }, 791{ "Backup file\ndoes not exist!\nNothing loaded!","Backup Datei\nexistiert nicht!\nNichts geladen!" },
792{ "KO/Pi:Loaded %1","KO/Pi:Geladen %1" }, 792{ "KO/Pi:Loaded %1","KO/Pi:Geladen %1" },
793{ "Save backup filename","Speichere Backup Dateiname" }, 793{ "Save backup filename","Speichere Backup Dateiname" },
794{ "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" }, 794{ "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" },
795{ "KO/Pi:Saved %1","KO/Pi:Gespeichert %1" }, 795{ "KO/Pi:Saved %1","KO/Pi:Gespeichert %1" },
796{ "Details of attendee","Teilnehmerdetails" }, 796{ "Details of attendee","Teilnehmerdetails" },
797{ "Work phone:\n","Telefon Arbeit:\n" }, 797{ "Work phone:\n","Telefon Arbeit:\n" },
798{ "Work mobile phone:\n","Mobiltelefon Arbeit:\n" }, 798{ "Work mobile phone:\n","Mobiltelefon Arbeit:\n" },
799{ "Home phone:\n","Telefon privat:\n" }, 799{ "Home phone:\n","Telefon privat:\n" },
800{ "Mobile home phone:\n","Mobiltelefon privat:\n" }, 800{ "Mobile home phone:\n","Mobiltelefon privat:\n" },
801{ "Email:\n","Email:\n" }, 801{ "Email:\n","Email:\n" },
802{ "Alarm disabled","Alarm deaktiviert" }, 802{ "Alarm disabled","Alarm deaktiviert" },
803{ "Audio.Al.: ","Audio Al.: " }, 803{ "Audio.Al.: ","Audio Al.: " },
804{ "Proc.Al.: ","Proc.Al.: " }, 804{ "Proc.Al.: ","Proc.Al.: " },
805{ "No sound set","Kein Sound definiert" }, 805{ "No sound set","Kein Sound definiert" },
806{ "*.wav|Wav Files","*.wav|Wav Dateien" }, 806{ "*.wav|Wav Files","*.wav|Wav Dateien" },
807{ "No program set","Kein Programm definiert" }, 807{ "No program set","Kein Programm definiert" },
808{ "Running '%1'","Ausführen '%1'" }, 808{ "Running '%1'","Ausführen '%1'" },
809{ "Playing '%1'","Abspielen '%1'" }, 809{ "Playing '%1'","Abspielen '%1'" },
810{ "Show Sync Events in WN/Agenda view","Zeige Sync Events in WN/Agenda Ansicht" }, 810{ "Show Sync Events in WN/Agenda view","Zeige Sync Events in WN/Agenda Ansicht" },
811{ "User defined (usertranslation.txt)","File usertranslation.txt loaded" }, 811{ "User defined (usertranslation.txt)","File usertranslation.txt loaded" },
812{ "Load!","Laden!" }, 812{ "Load!","Laden!" },
813{ "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" }, 813{ "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" },
814{ "KO/Pi Features and hints","KO/Pi Eigenschaften und Tipps" }, 814{ "KO/Pi Features and hints","KO/Pi Eigenschaften und Tipps" },
815{ "KO/Pi User translation HowTo","KO/Pi Benutzer-Übersetzung HowTo" }, 815{ "KO/Pi User translation HowTo","KO/Pi Benutzer-Übersetzung HowTo" },
816{ "KO/Pi Synchronization HowTo","KO/Pi Synchronisation HowTo" }, 816{ "KO/Pi Synchronization HowTo","KO/Pi Synchronisation HowTo" },
817{ "Features + hints...","Eigenschaften + Tipps..." }, 817{ "Features + hints...","Eigenschaften + Tipps..." },
818{ "User translation...","Benutzer Übersetzung..." }, 818{ "User translation...","Benutzer Übersetzung..." },
819{ "Sync HowTo...","Synchronisation HowTo..." }, 819{ "Sync HowTo...","Synchronisation HowTo..." },
820{ "Print calendar...","Drucke Kalender..." }, 820{ "Print calendar...","Drucke Kalender..." },
821{ "Anniversary","Jahrestag" }, 821{ "Anniversary","Jahrestag" },
822{ "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" }, 822{ "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" },
823{ "Import Birthdays (KA/Pi)","Importiere Geburtstage (KA/Pi)" }, 823{ "Import Birthdays (KA/Pi)","Importiere Geburtstage (KA/Pi)" },
824{ "Next recurrence is on: ","Nächste Wiederholung ist am:" }, 824{ "Next recurrence is on: ","Nächste Wiederholung ist am:" },
825{ "<b>Alarm on: </b>","<b>Alarm am: </b>" }, 825{ "<b>Alarm on: </b>","<b>Alarm am: </b>" },
826{ "<b>Access: </b>","<b>Zugriff: </b>" }, 826{ "<b>Access: </b>","<b>Zugriff: </b>" },
827{ "(%1 min before)","(%1 min vorher)" }, 827{ "(%1 min before)","(%1 min vorher)" },
828{ "<b>Categories: </b>","<b>Kategorien: </b>" }, 828{ "<b>Categories: </b>","<b>Kategorien: </b>" },
829{ "Save Journal/Description...","Speichere Journal/Details..." }, 829{ "Save Journal/Description...","Speichere Journal/Details..." },
830{ "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." }, 830{ "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." },
831{ "Continue","Weitermachen" }, 831{ "Continue","Weitermachen" },
832{ " birthdays/anniversaries added!"," Geburts-/Jahrestage hinzugefügt" }, 832{ " birthdays/anniversaries added!"," Geburts-/Jahrestage hinzugefügt" },
833{ "Attendee:","Teilnehmer:" }, 833{ "Attendee:","Teilnehmer:" },
834{ "Click OK to search ->","Klicke zum Suchen auf OK ->" }, 834{ "Click OK to search ->","Klicke zum Suchen auf OK ->" },
835{ "On day ","Am Tag " }, 835{ "On day ","Am Tag " },
836{ "%1 of ","%1 des Monats" }, 836{ "%1 of ","%1 des Monats" },
837{ "%1 of the year","%1 des Jahres" }, 837{ "%1 of the year","%1 des Jahres" },
838{ "Anonymous","Anonym" }, 838{ "Anonymous","Anonym" },
839{ "nobody@nowhere","niemand@nirgendwo" }, 839{ "nobody@nowhere","niemand@nirgendwo" },
840{ "calendar.html","calendar.html" }, 840{ "calendar.html","calendar.html" },
841{ "Unknown Name","Unbekannter Name" }, 841{ "Unknown Name","Unbekannter Name" },
842{ "unknown@nowhere","unbekannt@nirgendwo" }, 842{ "unknown@nowhere","unbekannt@nirgendwo" },
843{ "Beam via IR!","Beam via IR!" }, 843{ "Beam via IR!","Beam via IR!" },
844{ "Next Month","Nächster Monat" }, 844{ "Next Month","Nächster Monat" },
845{ "Prio","Prio" }, 845{ "Prio","Prio" },
846{ "Reparent Todo","Mache Sub-Todo" }, 846{ "Reparent Todo","Mache Sub-Todo" },
847{ "tomorrow","morgen" }, 847{ "tomorrow","morgen" },
848{ "today","heute" }, 848{ "today","heute" },
849{ "yesterday","gestern" }, 849{ "yesterday","gestern" },
850{ "Ok","Ok" }, 850{ "Ok","Ok" },
851{ "Ok+Agenda","Ok+Agenda" }, 851{ "Ok+Agenda","Ok+Agenda" },
852{ "Email","Email" }, 852{ "Email","Email" },
853{ "RSVP","RSVP" }, 853{ "RSVP","RSVP" },
854{ "Email:","Email:" }, 854{ "Email:","Email:" },
855{ "Appointment Time ","Termin Zeit " }, 855{ "Appointment Time ","Termin Zeit " },
856{ "2","2" }, 856{ "2","2" },
857{ "3","3" }, 857{ "3","3" },
858{ "4","4" }, 858{ "4","4" },
859{ " 0 %"," 0 %" }, 859{ " 0 %"," 0 %" },
860{ " 20 %"," 20 %" }, 860{ " 20 %"," 20 %" },
861{ " 40 %"," 40 %" }, 861{ " 40 %"," 40 %" },
862{ " 60 %"," 60 %" }, 862{ " 60 %"," 60 %" },
863{ " 80 %"," 80 %" }, 863{ " 80 %"," 80 %" },
864{ "100 %","100 %" }, 864{ "100 %","100 %" },
865{ "Filter","Filter" }, 865{ "Filter","Filter" },
866{ "Configure","Konfiguriere" }, 866{ "Configure","Konfiguriere" },
867{ "What's Next","What's Next" }, 867{ "What's Next","What's Next" },
868{ "Complete calendar...","Kompletten Kalender..." }, 868{ "Complete calendar...","Kompletten Kalender..." },
869{ "Filtered calendar...","Gefilterten Kalender..." }, 869{ "Filtered calendar...","Gefilterten Kalender..." },
870{ "Export to phone","Exportiere zum Handy" }, 870{ "Export to phone","Exportiere zum Handy" },
871{ "Beam receice enabled","Beam Empfang an" }, 871{ "Beam receive enabled","Beam Empfang an" },
872{ "What's new?","Was ist neu?" }, 872{ "What's new?","Was ist neu?" },
873{ "FAQ...","FAQ..." }, 873{ "FAQ...","FAQ..." },
874{ "Licence...","Licence..." }, 874{ "Licence...","Licence..." },
875{ "What's This?","What's This?" }, 875{ "What's This?","What's This?" },
876{ "&Edit...","&Editiere..." }, 876{ "&Edit...","&Editiere..." },
877{ "Oktober","Oktober" }, 877{ "Oktober","Oktober" },
878{ "Title","Titel" }, 878{ "Title","Titel" },
879{ "%1 %","%1 %" }, 879{ "%1 %","%1 %" },
880{ "Enable Pi-Sync","Schalte Pi-Sync an" }, 880{ "Enable Pi-Sync","Schalte Pi-Sync an" },
881{ "Import!","Importiere!" }, 881{ "Import!","Importiere!" },
882{ "inserting birthdays - close to abort!","Burzeltage werden eingefügt - schließe um abzubrechen!" }, 882{ "inserting birthdays - close to abort!","Burzeltage werden eingefügt - schließe um abzubrechen!" },
883{ "Export to phone options","Export ans Handy Optionen" }, 883{ "Export to phone options","Export ans Handy Optionen" },
884{ "Please read Help-Sync Howto\nto know what settings to use.","Bitte lese Hilfe-Sync Howto\num zu erfahren welche Einstellungen\ndie richtigen sind." }, 884{ "Please read Help-Sync Howto\nto know what settings to use.","Bitte lese Hilfe-Sync Howto\num zu erfahren welche Einstellungen\ndie richtigen sind." },
885{ "I/O device: ","I/O device: " }, 885{ "I/O device: ","I/O device: " },
886{ "Connection: ","Connection: " }, 886{ "Connection: ","Connection: " },
887{ "Model(opt.): ","Model(opt.): " }, 887{ "Model(opt.): ","Model(opt.): " },
888{ "Write back events in future only","Schreibe nur zukünftige Termine zurück" }, 888{ "Write back events in future only","Schreibe nur zukünftige Termine zurück" },
889{ "Max. weeks in future: ","Max. Wochen in der Zukunft: " }, 889{ "Max. weeks in future: ","Max. Wochen in der Zukunft: " },
890{ "NOTE: This will remove all old\ntodo/calendar data on phone!","ACHTUNG: Das löscht alle alten\nToDo/Kalender Daten auf dem Handy!" }, 890{ "NOTE: This will remove all old\ntodo/calendar data on phone!","ACHTUNG: Das löscht alle alten\nToDo/Kalender Daten auf dem Handy!" },
891{ "Export to mobile phone!","Exportiere auf das Handy!" }, 891{ "Export to mobile phone!","Exportiere auf das Handy!" },
892{ "Export complete calendar","Exportiere kompletten Kalender" }, 892{ "Export complete calendar","Exportiere kompletten Kalender" },
893{ "Writing to phone...","Sende Daten ans Handy..." }, 893{ "Writing to phone...","Sende Daten ans Handy..." },
894{ " This may take 1-3 minutes!"," Das kann 1-3 Minuten dauern!" }, 894{ " This may take 1-3 minutes!"," Das kann 1-3 Minuten dauern!" },
895{ "Retry","Nochmal versuchen" }, 895{ "Retry","Nochmal versuchen" },
896{ "KDE/Pim phone access","KDE/Pim Handy Zugriff" }, 896{ "KDE/Pim phone access","KDE/Pim Handy Zugriff" },
897{ "Error accessing device!\nPlease turn on connection\nand retry!","Fehler beim Zugriff auf das Gerät!\nBitte die Verbindung aktivieren\nund nochmal versuchen!" }, 897{ "Error accessing device!\nPlease turn on connection\nand retry!","Fehler beim Zugriff auf das Gerät!\nBitte die Verbindung aktivieren\nund nochmal versuchen!" },
898{ "Error exporting to phone!","Fehler beim Export auf das Handy!" }, 898{ "Error exporting to phone!","Fehler beim Export auf das Handy!" },
899{ "Export filtered calendar","Exportiere gefilterten Kalender" }, 899{ "Export filtered calendar","Exportiere gefilterten Kalender" },
900{ "Preferences","Vorlieben" }, 900{ "Preferences","Vorlieben" },
901{ "Global","Global" }, 901{ "Global","Global" },
902{ "Phone","Phone" }, 902{ "Phone","Phone" },
903{ "SMS","SMS" }, 903{ "SMS","SMS" },
904{ "Fax","Fax" }, 904{ "Fax","Fax" },
905{ "Pager","Pager" }, 905{ "Pager","Pager" },
906{ "SIP","SIP" }, 906{ "SIP","SIP" },
907{ "Italian","Italienisch" }, 907{ "Italian","Italienisch" },
908{ "24:00","24:00" }, 908{ "24:00","24:00" },
909{ "12:00am","12:00am" }, 909{ "12:00am","12:00am" },
910{ "24.03.2004 (%d.%m.%Y|%A %d %B %Y)","24.03.2004 (%d.%m.%Y|%A %d %B %Y)" }, 910{ "24.03.2004 (%d.%m.%Y|%A %d %B %Y)","24.03.2004 (%d.%m.%Y|%A %d %B %Y)" },
911{ "03.24.2004 (%m.%d.%Y|%A %B %d %Y)","03.24.2004 (%m.%d.%Y|%A %B %d %Y)" }, 911{ "03.24.2004 (%m.%d.%Y|%A %B %d %Y)","03.24.2004 (%m.%d.%Y|%A %B %d %Y)" },
912{ "2004-03-24 (%Y-%m-%d|%A %Y %B %d)","2004-03-24 (%Y-%m-%d|%A %Y %B %d)" }, 912{ "2004-03-24 (%Y-%m-%d|%A %Y %B %d)","2004-03-24 (%Y-%m-%d|%A %Y %B %d)" },
913{ "Mon 19.04.04: %a %d.%m.%y","Mon 19.04.04: %a %d.%m.%y" }, 913{ "Mon 19.04.04: %a %d.%m.%y","Mon 19.04.04: %a %d.%m.%y" },
914{ "Mon, 19.Apr.04: %a, %d.%b.%y","Mon, 19.Apr.04: %a, %d.%b.%y" }, 914{ "Mon, 19.Apr.04: %a, %d.%b.%y","Mon, 19.Apr.04: %a, %d.%b.%y" },
915{ "Add 30 min (+00:30) to selected Timezone","Addiere 30 min zur selektierten Zeitzone" }, 915{ "Add 30 min (+00:30) to selected Timezone","Addiere 30 min zur selektierten Zeitzone" },
916{ "Used Mail Client","Benutzter Mail Client" }, 916{ "Used Mail Client","Benutzter Mail Client" },
917{ "Channel:","Channel:" }, 917{ "Channel:","Channel:" },
918{ "Message:","Message:" }, 918{ "Message:","Message:" },
919{ "Parameters:","Parameter:" }, 919{ "Parameters:","Parameter:" },
920{ "HINT: Delimiter=; Name=%1,Email=%2","Hinweis: Begrenzer=; Name=%1,Email=%2" }, 920{ "HINT: Delimiter=; Name=%1,Email=%2","Hinweis: Begrenzer=; Name=%1,Email=%2" },
921{ "extra Message:","extra Message:" }, 921{ "extra Message:","extra Message:" },
922{ "extra Parameters:","extra Parameter:" }, 922{ "extra Parameters:","extra Parameter:" },
923{ "HINT: Emails=%1,Attachments=%2","Hinweis: Emails=%1,Attachments=%2" }, 923{ "HINT: Emails=%1,Attachments=%2","Hinweis: Emails=%1,Attachments=%2" },
924{ "External Apps.","Externe Appl." }, 924{ "External Apps.","Externe Appl." },
925{ "24 hours","24 Std." }, 925{ "24 hours","24 Std." },
926{ "3 hours","3 Std." }, 926{ "3 hours","3 Std." },
927{ "1 hour","1 Std." }, 927{ "1 hour","1 Std." },
928{ "15 minutes","15 Min." }, 928{ "15 minutes","15 Min." },
929{ "5 minutes","5 Min." }, 929{ "5 minutes","5 Min." },
930{ "1 minute","1 Min." }, 930{ "1 minute","1 Min." },
931{ "23","23" }, 931{ "23","23" },
932{ "Mon 15","Mon 15" }, 932{ "Mon 15","Mon 15" },
933{ "Configure KO","Konfiguriere KO" }, 933{ "Configure KO","Konfiguriere KO" },
934{ "Event text","Termin Text" }, 934{ "Event text","Termin Text" },
935{ "ToDo","ToDo" }, 935{ "ToDo","ToDo" },
936{ "Today","Heute" }, 936{ "Today","Heute" },
937{ "What's Next View","What's Next Ansicht" }, 937{ "What's Next View","What's Next Ansicht" },
938{ "Show Sync Events in \nWhat's Next/Agenda view","Zeige Sync Termine in \nWhat's Next/Agenda view" }, 938{ "Show Sync Events in \nWhat's Next/Agenda view","Zeige Sync Termine in \nWhat's Next/Agenda view" },
939{ "Use short date in \nWhat's Next/Event view","Zeige Kurzdatum in \nWhat's Next/Event view" }, 939{ "Use short date in \nWhat's Next/Event view","Zeige Kurzdatum in \nWhat's Next/Event view" },
940{ "Allday Agenda view shows todos","Ganztag Agenda zeigt Todos" }, 940{ "Allday Agenda view shows todos","Ganztag Agenda zeigt Todos" },
941{ "Alarm","Alarm" }, 941{ "Alarm","Alarm" },
942{ "Used %1 Client","Benutzter %1 Client" }, 942{ "Used %1 Client","Benutzter %1 Client" },
943{ "No email client installed","Kein Email Klient installiert" }, 943{ "No email client installed","Kein Email Klient installiert" },
944{ "Userdefined email client","Benutzerdef. Email Klient" }, 944{ "Userdefined email client","Benutzerdef. Email Klient" },
945{ "OM/Pi email client","OM/Pi Email Klient" }, 945{ "OM/Pi email client","OM/Pi Email Klient" },
946{ "Include in multiple ","Beziehe in multiple " }, 946{ "Include in multiple ","Beziehe in multiple " },
947{ "calendar ","Kalender " }, 947{ "calendar ","Kalender " },
948{ "addressbook ","Adressbuch " }, 948{ "addressbook ","Adressbuch " },
949{ "pwmanager","PWmanager" }, 949{ "pwmanager","PWmanager" },
950{ " sync"," Sync ein" }, 950{ " sync"," Sync ein" },
951{ "Write back synced data","Schreibe gesyncte Daten zurück" }, 951{ "Write back synced data","Schreibe gesyncte Daten zurück" },
952{ "-- Write back (on remote) existing entries only","-- Schreibe nur existierende (entfernte) Einträge zurück" }, 952{ "-- Write back (on remote) existing entries only","-- Schreibe nur existierende (entfernte) Einträge zurück" },
953{ "-- Write back (calendar) entries in future only","-- Schreibe nur zukünftige Kalender-Einträge zurück" }, 953{ "-- Write back (calendar) entries in future only","-- Schreibe nur zukünftige Kalender-Einträge zurück" },
954{ "---- Max. weeks in future: ","---- Max. wochen in der Zukunft: " }, 954{ "---- Max. weeks in future: ","---- Max. wochen in der Zukunft: " },
955{ "Pi-Sync ( direct Kx/Pi to Kx/Pi sync )","Pi-Sync ( direktes Kx/Pi zu Kx/Pi sync )" }, 955{ "Pi-Sync ( direct Kx/Pi to Kx/Pi sync )","Pi-Sync ( direktes Kx/Pi zu Kx/Pi sync )" },
956{ "Mobile device (cell phone)","Mobiles Gerät (Handy)" }, 956{ "Mobile device (cell phone)","Mobiles Gerät (Handy)" },
957{ "Help...","Hilfe..." }, 957{ "Help...","Hilfe..." },
958{ "Local file Cal:","Lokale Datei Kal:" }, 958{ "Local file Cal:","Lokale Datei Kal:" },
959{ "Local file ABook:","Lokale Datei ABuch:" }, 959{ "Local file ABook:","Lokale Datei ABuch:" },
960{ "Local file PWMgr:","Lokale Datei PWMgr:" }, 960{ "Local file PWMgr:","Lokale Datei PWMgr:" },
961{ "Addressbook file (*.vcf) is used by KA/Pi","Adressbuch Datei (*.vcf) wird von KA/Pi genutzt" }, 961{ "Addressbook file (*.vcf) is used by KA/Pi","Adressbuch Datei (*.vcf) wird von KA/Pi genutzt" },
962{ "Calendar:","Kalender:" }, 962{ "Calendar:","Kalender:" },
963{ "AddressBook:","AdressBuch:" }, 963{ "AddressBook:","AdressBuch:" },
964{ "PWManager:","PWManager:" }, 964{ "PWManager:","PWManager:" },
965{ "Addressbook file is used by KA/Pi","Adressbuch Datei wird von KA/Pi genutzt" }, 965{ "Addressbook file is used by KA/Pi","Adressbuch Datei wird von KA/Pi genutzt" },
966{ "ssh/scp","ssh/scp" }, 966{ "ssh/scp","ssh/scp" },
967{ "ftp","ftp" }, 967{ "ftp","ftp" },
diff --git a/kabc/plugins/qtopia/qtopiaconverter.cpp b/kabc/plugins/qtopia/qtopiaconverter.cpp
index 106596f..39d366b 100644
--- a/kabc/plugins/qtopia/qtopiaconverter.cpp
+++ b/kabc/plugins/qtopia/qtopiaconverter.cpp
@@ -1,138 +1,136 @@
1/* 1/*
2 This file is part of libkabc. 2 This file is part of libkabc.
3 Copyright (c) 2002 Tobias Koenig <tokoe@kde.org> 3 Copyright (c) 2002 Tobias Koenig <tokoe@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/* 21/*
22Enhanced Version of the file for platform independent KDE tools. 22Enhanced Version of the file for platform independent KDE tools.
23Copyright (c) 2004 Ulf Schenk 23Copyright (c) 2004 Ulf Schenk
24 24
25$Id$ 25$Id$
26*/ 26*/
27 27
28//US 28//US
29#include "kglobal.h" 29#include "kglobal.h"
30#include "klocale.h" 30#include "klocale.h"
31 31
32 32
33#include "qtopiaconverter.h" 33#include "qtopiaconverter.h"
34 34
35#include <qfile.h> 35#include <qfile.h>
36#include <qdir.h> 36#include <qdir.h>
37#include <qtextstream.h> 37#include <qtextstream.h>
38//#include <.h> 38//#include <.h>
39 39
40//#include <qpe/categories.h>
41#include <libkdepim/ksyncprofile.h> 40#include <libkdepim/ksyncprofile.h>
42//US #include <qpe/categoryselect.h>
43 41
44 42
45using namespace KABC; 43using namespace KABC;
46 44
47QtopiaConverter::QtopiaConverter() 45QtopiaConverter::QtopiaConverter()
48{ 46{
49 m_edit = 0; 47 m_edit = 0;
50} 48}
51 49
52QtopiaConverter::~QtopiaConverter() 50QtopiaConverter::~QtopiaConverter()
53{ 51{
54 deinit(); 52 deinit();
55} 53}
56 54
57bool QtopiaConverter::init() 55bool QtopiaConverter::init()
58{ 56{
59 QString fn = QDir::homeDirPath() +"/Settings/Categories.xml"; 57 QString fn = QDir::homeDirPath() +"/Settings/Categories.xml";
60 m_edit = new CategoryEdit( fn); 58 m_edit = new CategoryEdit( fn);
61 return true; 59 return true;
62} 60}
63 61
64void QtopiaConverter::deinit() 62void QtopiaConverter::deinit()
65{ 63{
66 if (m_edit) 64 if (m_edit)
67 { 65 {
68 delete m_edit; 66 delete m_edit;
69 m_edit = 0; 67 m_edit = 0;
70 } 68 }
71} 69}
72QString QtopiaConverter::categoriesToNumber( const QStringList &list, const QString &app ) 70QString QtopiaConverter::categoriesToNumber( const QStringList &list, const QString &app )
73{ 71{
74 startover: 72 startover:
75 QStringList dummy; 73 QStringList dummy;
76 QValueList<OpieCategories>::ConstIterator catIt; 74 QValueList<OpieCategories>::ConstIterator catIt;
77 QValueList<OpieCategories> categories = m_edit->categories(); 75 QValueList<OpieCategories> categories = m_edit->categories();
78 bool found = false; 76 bool found = false;
79 for ( QStringList::ConstIterator listIt = list.begin(); listIt != list.end(); ++listIt ) { 77 for ( QStringList::ConstIterator listIt = list.begin(); listIt != list.end(); ++listIt ) {
80 /* skip empty category name */ 78 /* skip empty category name */
81 if ( (*listIt).isEmpty() ) continue; 79 if ( (*listIt).isEmpty() ) continue;
82 80
83 found = false; 81 found = false;
84 for ( catIt = categories.begin(); catIt != categories.end(); ++catIt ) { 82 for ( catIt = categories.begin(); catIt != categories.end(); ++catIt ) {
85 /* 83 /*
86 * We currently do not take app into account 84 * We currently do not take app into account
87 * if name matches and the id isn't already in dummy we'll add it 85 * if name matches and the id isn't already in dummy we'll add it
88 */ 86 */
89 if ( (*catIt).name() == (*listIt) && !dummy.contains(( *catIt).id() ) ) { // the same name 87 if ( (*catIt).name() == (*listIt) && !dummy.contains(( *catIt).id() ) ) { // the same name
90 found= true; 88 found= true;
91 dummy << (*catIt).id(); 89 dummy << (*catIt).id();
92 } 90 }
93 } 91 }
94 /* if not found and the category is not empty 92 /* if not found and the category is not empty
95 * 93 *
96 * generate a new category and start over again 94 * generate a new category and start over again
97 * ugly goto to reiterate 95 * ugly goto to reiterate
98 */ 96 */
99 97
100 if ( !found && !(*listIt).isEmpty() ){ 98 if ( !found && !(*listIt).isEmpty() ){
101 m_edit->addCategory( app, (*listIt) ); // generate a new category 99 m_edit->addCategory( app, (*listIt) ); // generate a new category
102 goto startover; 100 goto startover;
103 } 101 }
104 } 102 }
105 103
106 return dummy.join(";"); 104 return dummy.join(";");
107} 105}
108 106
109 107
110// FROM TT timeconversion.cpp GPLed 108// FROM TT timeconversion.cpp GPLed
111QDate QtopiaConverter::fromString( const QString &datestr ) 109QDate QtopiaConverter::fromString( const QString &datestr )
112{ 110{
113 if (datestr.isEmpty() ) 111 if (datestr.isEmpty() )
114 return QDate(); 112 return QDate();
115 113
116 int monthPos = datestr.find('.'); 114 int monthPos = datestr.find('.');
117 int yearPos = datestr.find('.', monthPos+1 ); 115 int yearPos = datestr.find('.', monthPos+1 );
118 if ( monthPos == -1 || yearPos == -1 ) { 116 if ( monthPos == -1 || yearPos == -1 ) {
119 return QDate(); 117 return QDate();
120 } 118 }
121 int d = datestr.left( monthPos ).toInt(); 119 int d = datestr.left( monthPos ).toInt();
122 int m = datestr.mid( monthPos+1, yearPos - monthPos - 1 ).toInt(); 120 int m = datestr.mid( monthPos+1, yearPos - monthPos - 1 ).toInt();
123 int y = datestr.mid( yearPos+1 ).toInt(); 121 int y = datestr.mid( yearPos+1 ).toInt();
124 QDate date ( y,m,d ); 122 QDate date ( y,m,d );
125 123
126 124
127 return date; 125 return date;
128} 126}
129 127
130QDate QtopiaConverter::dateFromString( const QString& s ) 128QDate QtopiaConverter::dateFromString( const QString& s )
131{ 129{
132 QDate date; 130 QDate date;
133 131
134 if ( s.isEmpty() ) 132 if ( s.isEmpty() )
135 return date; 133 return date;
136 134
137 // Be backward compatible to old Opie format: 135 // Be backward compatible to old Opie format:
138 // Try to load old format. If it fails, try new ISO-Format! 136 // Try to load old format. If it fails, try new ISO-Format!
diff --git a/kabc/plugins/qtopia/qtopiaconverter.h b/kabc/plugins/qtopia/qtopiaconverter.h
index d318ded..cb5b433 100644
--- a/kabc/plugins/qtopia/qtopiaconverter.h
+++ b/kabc/plugins/qtopia/qtopiaconverter.h
@@ -1,130 +1,128 @@
1/* 1/*
2 This file is part of libkabc. 2 This file is part of libkabc.
3 Copyright (c) 2002 Tobias Koenig <tokoe@kde.org> 3 Copyright (c) 2002 Tobias Koenig <tokoe@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/* 21/*
22Enhanced Version of the file for platform independent KDE tools. 22Enhanced Version of the file for platform independent KDE tools.
23Copyright (c) 2004 Ulf Schenk 23Copyright (c) 2004 Ulf Schenk
24$Id$ 24$Id$
25*/ 25*/
26 26
27#ifndef KABC_QTOPIACONVERTER_H 27#ifndef KABC_QTOPIACONVERTER_H
28#define KABC_QTOPIACONVERTER_H 28#define KABC_QTOPIACONVERTER_H
29 29
30#include <qstring.h> 30#include <qstring.h>
31 31
32#include "addressee.h" 32#include "addressee.h"
33//#include <qpe/pim/contact.h>
34//#include <qpe/quuid.h>
35 33
36#include <xml/qdom.h> 34#include <xml/qdom.h>
37class Categories; 35class Categories;
38 36
39namespace KABC { 37namespace KABC {
40 38
41 39
42 40
43class OpieCategories { 41class OpieCategories {
44 public: 42 public:
45 //friend class KSync::OpieSocket; 43 //friend class KSync::OpieSocket;
46 friend bool operator== ( const OpieCategories &a, const OpieCategories &b ); 44 friend bool operator== ( const OpieCategories &a, const OpieCategories &b );
47 OpieCategories(); 45 OpieCategories();
48 OpieCategories(const QString &id, const QString &name, const QString &app ); 46 OpieCategories(const QString &id, const QString &name, const QString &app );
49 OpieCategories(const OpieCategories & ); 47 OpieCategories(const OpieCategories & );
50 ~OpieCategories() {}; 48 ~OpieCategories() {};
51 OpieCategories &operator=(const OpieCategories & ); 49 OpieCategories &operator=(const OpieCategories & );
52 QString id()const; 50 QString id()const;
53 QString name()const; 51 QString name()const;
54 QString app()const; 52 QString app()const;
55 53
56 private: 54 private:
57 QString m_name; 55 QString m_name;
58 QString m_app; 56 QString m_app;
59 QString m_id; 57 QString m_id;
60}; 58};
61 59
62 60
63 class CategoryEdit { 61 class CategoryEdit {
64 public: 62 public:
65 CategoryEdit(); 63 CategoryEdit();
66 CategoryEdit(const QString &fileName); 64 CategoryEdit(const QString &fileName);
67 ~CategoryEdit(); 65 ~CategoryEdit();
68 66
69 void save(const QString&) const; 67 void save(const QString&) const;
70 int addCategory( const QString &name, int id = 0 ); 68 int addCategory( const QString &name, int id = 0 );
71 int addCategory(const QString &appName, const QString &name, int id = 0); 69 int addCategory(const QString &appName, const QString &name, int id = 0);
72 void parse( const QString &fileName ); 70 void parse( const QString &fileName );
73 71
74 QString categoryById(const QString &id, const QString &app )const; 72 QString categoryById(const QString &id, const QString &app )const;
75 QStringList categoriesByIds( const QStringList& ids, const QString& app ); 73 QStringList categoriesByIds( const QStringList& ids, const QString& app );
76 74
77 void clear(); 75 void clear();
78 QValueList<OpieCategories> categories()const { return m_categories; }; 76 QValueList<OpieCategories> categories()const { return m_categories; };
79 private: 77 private:
80 /** 78 /**
81 * this function will be used internally to update the kde categories... 79 * this function will be used internally to update the kde categories...
82 */ 80 */
83 void updateKDE( const QString& app, const QStringList& categories ); 81 void updateKDE( const QString& app, const QStringList& categories );
84 QMap<int, bool> ids; // from tt Qtopia::UidGen 82 QMap<int, bool> ids; // from tt Qtopia::UidGen
85 QValueList<OpieCategories> m_categories; 83 QValueList<OpieCategories> m_categories;
86 }; 84 };
87 85
88 86
89class QtopiaConverter 87class QtopiaConverter
90{ 88{
91public: 89public:
92 90
93 /** 91 /**
94 * Constructor. 92 * Constructor.
95 */ 93 */
96 QtopiaConverter(); 94 QtopiaConverter();
97 95
98 /** 96 /**
99 * Destructor. 97 * Destructor.
100 */ 98 */
101 virtual ~QtopiaConverter(); 99 virtual ~QtopiaConverter();
102 100
103 bool init(); 101 bool init();
104 void deinit(); 102 void deinit();
105 103
106 /** 104 /**
107 * Converts a vcard string to an addressee. 105 * Converts a vcard string to an addressee.
108 * 106 *
109 * @param contact The qtopia contact. 107 * @param contact The qtopia contact.
110 * @param addr The addressee. 108 * @param addr The addressee.
111 */ 109 */
112 bool qtopiaToAddressee( const QDomElement& el, Addressee &adr ); 110 bool qtopiaToAddressee( const QDomElement& el, Addressee &adr );
113 /** 111 /**
114 * Converts an addressee to a vcard string. 112 * Converts an addressee to a vcard string.
115 * 113 *
116 * @param addr The addressee. 114 * @param addr The addressee.
117 * @param contact The qtopia contact. 115 * @param contact The qtopia contact.
118 */ 116 */
119 bool addresseeToQtopia( const Addressee &ab, QTextStream *stream ); 117 bool addresseeToQtopia( const Addressee &ab, QTextStream *stream );
120 118
121 private: 119 private:
122 QString categoriesToNumber( const QStringList &list, const QString &app ); 120 QString categoriesToNumber( const QStringList &list, const QString &app );
123 QString escape( const QString& s){ return s;}; 121 QString escape( const QString& s){ return s;};
124 CategoryEdit *m_edit; 122 CategoryEdit *m_edit;
125 QDate fromString( const QString& ); 123 QDate fromString( const QString& );
126 QDate dateFromString( const QString& ); 124 QDate dateFromString( const QString& );
127 QString dateToString( const QDate& ); 125 QString dateToString( const QDate& );
128 126
129 127
130}; 128};
diff --git a/kabc/plugins/qtopia/resourceqtopia.cpp b/kabc/plugins/qtopia/resourceqtopia.cpp
index 4ee3c3c..95fa541 100644
--- a/kabc/plugins/qtopia/resourceqtopia.cpp
+++ b/kabc/plugins/qtopia/resourceqtopia.cpp
@@ -1,143 +1,141 @@
1/* 1/*
2 This file is part of libkabc. 2 This file is part of libkabc.
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/* 21/*
22Enhanced Version of the file for platform independent KDE tools. 22Enhanced Version of the file for platform independent KDE tools.
23Copyright (c) 2004 Ulf Schenk 23Copyright (c) 2004 Ulf Schenk
24 24
25$Id$ 25$Id$
26*/ 26*/
27#include <sys/types.h> 27#include <sys/types.h>
28#include <sys/stat.h> 28#include <sys/stat.h>
29#include <unistd.h> 29#include <unistd.h>
30 30
31#include <qdir.h> 31#include <qdir.h>
32#include <qfile.h> 32#include <qfile.h>
33#include <qtextstream.h> 33#include <qtextstream.h>
34#include <qfileinfo.h> 34#include <qfileinfo.h>
35#include <qregexp.h> 35#include <qregexp.h>
36//US #include <qtimer.h> 36//US #include <qtimer.h>
37 37
38#include <kapplication.h> 38#include <kapplication.h>
39#include <kconfig.h> 39#include <kconfig.h>
40#include <kdebug.h> 40#include <kdebug.h>
41#include <klocale.h> 41#include <klocale.h>
42//US #include <ksavefile.h> 42//US #include <ksavefile.h>
43#include <kstandarddirs.h> 43#include <kstandarddirs.h>
44#include <kmessagebox.h> 44#include <kmessagebox.h>
45 45
46#include <qpe/pim/addressbookaccess.h>
47
48 46
49#include "resourceqtopiaconfig.h" 47#include "resourceqtopiaconfig.h"
50#include "stdaddressbook.h" 48#include "stdaddressbook.h"
51 49
52#include "qtopiaconverter.h" 50#include "qtopiaconverter.h"
53 51
54#include "resourceqtopia.h" 52#include "resourceqtopia.h"
55 53
56using namespace KABC; 54using namespace KABC;
57extern "C" 55extern "C"
58{ 56{
59 void *init_microkabc_qtopia() 57 void *init_microkabc_qtopia()
60 { 58 {
61 return new KRES::PluginFactory<ResourceQtopia,ResourceQtopiaConfig>(); 59 return new KRES::PluginFactory<ResourceQtopia,ResourceQtopiaConfig>();
62 } 60 }
63} 61}
64 62
65ResourceQtopia::ResourceQtopia( const KConfig *config ) 63ResourceQtopia::ResourceQtopia( const KConfig *config )
66 : Resource( config ), mConverter (0) 64 : Resource( config ), mConverter (0)
67{ 65{
68 // we can not choose the filename. Therefore use the default to display 66 // we can not choose the filename. Therefore use the default to display
69 QString fileName = QDir::homeDirPath() + "/Applications/addressbook/addressbook.xml"; 67 QString fileName = QDir::homeDirPath() + "/Applications/addressbook/addressbook.xml";
70 init( fileName ); 68 init( fileName );
71} 69}
72 70
73ResourceQtopia::ResourceQtopia( const QString &fileName ) 71ResourceQtopia::ResourceQtopia( const QString &fileName )
74 : Resource( 0 ) 72 : Resource( 0 )
75{ 73{
76 init( fileName ); 74 init( fileName );
77} 75}
78 76
79void ResourceQtopia::init( const QString &fileName ) 77void ResourceQtopia::init( const QString &fileName )
80{ 78{
81#ifdef _USE_DIRWATCH_ 79#ifdef _USE_DIRWATCH_
82 connect( &mDirWatch, SIGNAL( dirty(const QString&) ), SLOT( fileChanged() ) ); 80 connect( &mDirWatch, SIGNAL( dirty(const QString&) ), SLOT( fileChanged() ) );
83 connect( &mDirWatch, SIGNAL( created(const QString&) ), SLOT( fileChanged() ) ); 81 connect( &mDirWatch, SIGNAL( created(const QString&) ), SLOT( fileChanged() ) );
84 connect( &mDirWatch, SIGNAL( deleted(const QString&) ), SLOT( fileChanged() ) ); 82 connect( &mDirWatch, SIGNAL( deleted(const QString&) ), SLOT( fileChanged() ) );
85#endif 83#endif
86 setFileName( fileName ); 84 setFileName( fileName );
87} 85}
88 86
89ResourceQtopia::~ResourceQtopia() 87ResourceQtopia::~ResourceQtopia()
90{ 88{
91 if (mConverter != 0) 89 if (mConverter != 0)
92 delete mConverter; 90 delete mConverter;
93 91
94} 92}
95 93
96void ResourceQtopia::writeConfig( KConfig *config ) 94void ResourceQtopia::writeConfig( KConfig *config )
97{ 95{
98 Resource::writeConfig( config ); 96 Resource::writeConfig( config );
99} 97}
100 98
101Ticket *ResourceQtopia::requestSaveTicket() 99Ticket *ResourceQtopia::requestSaveTicket()
102{ 100{
103 kdDebug(5700) << "ResourceQtopia::requestSaveTicket()" << endl; 101 kdDebug(5700) << "ResourceQtopia::requestSaveTicket()" << endl;
104 102
105 qDebug("ResourceQtopia::requestSaveTicket: %s", fileName().latin1()); 103 qDebug("ResourceQtopia::requestSaveTicket: %s", fileName().latin1());
106 104
107 if ( !addressBook() ) return 0; 105 if ( !addressBook() ) return 0;
108 106
109 if ( !lock( fileName() ) ) { 107 if ( !lock( fileName() ) ) {
110 kdDebug(5700) << "ResourceQtopia::requestSaveTicket(): Unable to lock file '" 108 kdDebug(5700) << "ResourceQtopia::requestSaveTicket(): Unable to lock file '"
111 << fileName() << "'" << endl; 109 << fileName() << "'" << endl;
112 return 0; 110 return 0;
113 } 111 }
114 return createTicket( this ); 112 return createTicket( this );
115} 113}
116 114
117 115
118bool ResourceQtopia::doOpen() 116bool ResourceQtopia::doOpen()
119{ 117{
120 qDebug("ResourceQtopia::doOpen(): %s", fileName().latin1()); 118 qDebug("ResourceQtopia::doOpen(): %s", fileName().latin1());
121 119
122 120
123 if (mConverter == 0) 121 if (mConverter == 0)
124 { 122 {
125 mConverter = new QtopiaConverter(); 123 mConverter = new QtopiaConverter();
126 bool res = mConverter->init(); 124 bool res = mConverter->init();
127 if ( !res ) 125 if ( !res )
128 { 126 {
129 QString msg("Unable to initialize qtopia converter. Most likely a problem with the category file"); 127 QString msg("Unable to initialize qtopia converter. Most likely a problem with the category file");
130 qDebug(msg); 128 qDebug(msg);
131 return false; 129 return false;
132 } 130 }
133 } 131 }
134 132
135 return true; 133 return true;
136} 134}
137 135
138void ResourceQtopia::doClose() 136void ResourceQtopia::doClose()
139{ 137{
140 qDebug("ResourceQtopia::doClose: %s", fileName().latin1()); 138 qDebug("ResourceQtopia::doClose: %s", fileName().latin1());
141 139
142 140
143 // it seems so, that deletion of access deletes backend as well 141 // it seems so, that deletion of access deletes backend as well
diff --git a/kabc/plugins/qtopia/resourceqtopiaconfig.cpp b/kabc/plugins/qtopia/resourceqtopiaconfig.cpp
index b2310c4..0505d0b 100644
--- a/kabc/plugins/qtopia/resourceqtopiaconfig.cpp
+++ b/kabc/plugins/qtopia/resourceqtopiaconfig.cpp
@@ -1,110 +1,107 @@
1/* 1/*
2 This file is part of libkabc. 2 This file is part of libkabc.
3 Copyright (c) 2002 Tobias Koenig <tokoe@kde.org> 3 Copyright (c) 2002 Tobias Koenig <tokoe@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/* 21/*
22Enhanced Version of the file for platform independent KDE tools. 22Enhanced Version of the file for platform independent KDE tools.
23Copyright (c) 2004 Ulf Schenk 23Copyright (c) 2004 Ulf Schenk
24 24
25$Id$ 25$Id$
26*/ 26*/
27 27
28#include <qlabel.h> 28#include <qlabel.h>
29#include <qlayout.h> 29#include <qlayout.h>
30 30
31#include <kdebug.h> 31#include <kdebug.h>
32#include <klocale.h> 32#include <klocale.h>
33#include <kstandarddirs.h> 33#include <kstandarddirs.h>
34#include <kdialog.h> 34#include <kdialog.h>
35 35
36#include <unistd.h> 36#include <unistd.h>
37 37
38#include <qdir.h> 38#include <qdir.h>
39#include <qfile.h> 39#include <qfile.h>
40#include "resourceqtopia.h" 40#include "resourceqtopia.h"
41//US #include <qpe/qpeapplication.h>
42
43//US #include "stdaddressbook.h"
44 41
45#include "resourceqtopiaconfig.h" 42#include "resourceqtopiaconfig.h"
46 43
47using namespace KABC; 44using namespace KABC;
48 45
49ResourceQtopiaConfig::ResourceQtopiaConfig( QWidget* parent, const char* name ) 46ResourceQtopiaConfig::ResourceQtopiaConfig( QWidget* parent, const char* name )
50 : ConfigWidget( parent, name ) 47 : ConfigWidget( parent, name )
51{ 48{
52 QGridLayout *mainLayout = new QGridLayout( this, 1, 2, 0, 49 QGridLayout *mainLayout = new QGridLayout( this, 1, 2, 0,
53 KDialog::spacingHint() ); 50 KDialog::spacingHint() );
54 51
55 QLabel *label = new QLabel( i18n( "Location:" ), this ); 52 QLabel *label = new QLabel( i18n( "Location:" ), this );
56 mFileNameEdit = new KURLRequester( this ); 53 mFileNameEdit = new KURLRequester( this );
57 54
58 connect( mFileNameEdit, SIGNAL( textChanged( const QString & ) ), 55 connect( mFileNameEdit, SIGNAL( textChanged( const QString & ) ),
59 SLOT( checkFilePermissions( const QString & ) ) ); 56 SLOT( checkFilePermissions( const QString & ) ) );
60 57
61 mainLayout->addWidget( label, 0, 0 ); 58 mainLayout->addWidget( label, 0, 0 );
62 mainLayout->addWidget( mFileNameEdit, 0, 1 ); 59 mainLayout->addWidget( mFileNameEdit, 0, 1 );
63 60
64} 61}
65 62
66void ResourceQtopiaConfig::loadSettings( KRES::Resource *res ) 63void ResourceQtopiaConfig::loadSettings( KRES::Resource *res )
67{ 64{
68//US ResourceFile *resource = dynamic_cast<ResourceFile*>( res ); 65//US ResourceFile *resource = dynamic_cast<ResourceFile*>( res );
69 ResourceQtopia *resource = (ResourceQtopia*)( res ); 66 ResourceQtopia *resource = (ResourceQtopia*)( res );
70 67
71 if ( !resource ) { 68 if ( !resource ) {
72 kdDebug(5700) << "ResourceQtopiaConfig::loadSettings(): cast failed" << endl; 69 kdDebug(5700) << "ResourceQtopiaConfig::loadSettings(): cast failed" << endl;
73 return; 70 return;
74 } 71 }
75 72
76 mFileNameEdit->setURL( resource->fileName() ); 73 mFileNameEdit->setURL( resource->fileName() );
77 if ( mFileNameEdit->url().isEmpty() ) 74 if ( mFileNameEdit->url().isEmpty() )
78 mFileNameEdit->setURL( QDir::homeDirPath() + "/Applications/addressbook/addressbook.xml" ); 75 mFileNameEdit->setURL( QDir::homeDirPath() + "/Applications/addressbook/addressbook.xml" );
79 76
80 //US Qtopia resources are ReadOnly by definition 77 //US Qtopia resources are ReadOnly by definition
81 emit setPersistentReadOnly( true ); 78 emit setPersistentReadOnly( true );
82 79
83 //US we can not choose the filename for the qtopia backend => make it readonly. 80 //US we can not choose the filename for the qtopia backend => make it readonly.
84 mFileNameEdit->setEnabled( false ); 81 mFileNameEdit->setEnabled( false );
85 82
86} 83}
87 84
88void ResourceQtopiaConfig::saveSettings( KRES::Resource *res ) 85void ResourceQtopiaConfig::saveSettings( KRES::Resource *res )
89{ 86{
90//US ResourceFile *resource = dynamic_cast<ResourceFile*>( res ); 87//US ResourceFile *resource = dynamic_cast<ResourceFile*>( res );
91 ResourceQtopia *resource = (ResourceQtopia*)( res ); 88 ResourceQtopia *resource = (ResourceQtopia*)( res );
92 89
93 if ( !resource ) { 90 if ( !resource ) {
94 kdDebug(5700) << "ResourceQtopiaConfig::saveSettings(): cast failed" << endl; 91 kdDebug(5700) << "ResourceQtopiaConfig::saveSettings(): cast failed" << endl;
95 return; 92 return;
96 } 93 }
97 94
98 resource->setFileName( mFileNameEdit->url() ); 95 resource->setFileName( mFileNameEdit->url() );
99} 96}
100 97
101void ResourceQtopiaConfig::checkFilePermissions( const QString& fileName ) 98void ResourceQtopiaConfig::checkFilePermissions( const QString& fileName )
102{ 99{
103 // If file exist but is not writeable... 100 // If file exist but is not writeable...
104/*US 101/*US
105 if ( access( QFile::encodeName( fileName ), F_OK ) == 0 ) 102 if ( access( QFile::encodeName( fileName ), F_OK ) == 0 )
106 emit setReadOnly( access( QFile::encodeName( fileName ), W_OK ) < 0 ); 103 emit setReadOnly( access( QFile::encodeName( fileName ), W_OK ) < 0 );
107*/ 104*/
108} 105}
109 106
110//US #include "resourceopieconfig.moc" 107//US #include "resourceopieconfig.moc"
diff --git a/korganizer/wordsgerman.h b/korganizer/wordsgerman.h
index b2651d4..c5cae20 100644
--- a/korganizer/wordsgerman.h
+++ b/korganizer/wordsgerman.h
@@ -776,193 +776,193 @@
776{ "Toggle Cancel","Gecancelt ändern" }, 776{ "Toggle Cancel","Gecancelt ändern" },
777{ "&Toggle Cancel","Gecancel&t ändern" }, 777{ "&Toggle Cancel","Gecancel&t ändern" },
778{ "Configure Toolbar","Konfiguriere Toolbar" }, 778{ "Configure Toolbar","Konfiguriere Toolbar" },
779{ "Stretched TB","Gedehnte TB" }, 779{ "Stretched TB","Gedehnte TB" },
780{ "Import file \n...%1\ndoes not exist!\nNothing imported!\n","Import Datei \n...%1\nexistiert nicht!\nNichts importiert!\n" }, 780{ "Import file \n...%1\ndoes not exist!\nNothing imported!\n","Import Datei \n...%1\nexistiert nicht!\nNichts importiert!\n" },
781{ "Import filename(*.ics/*.vcs)","Import Dateiname(*.ics/*.vcs)" }, 781{ "Import filename(*.ics/*.vcs)","Import Dateiname(*.ics/*.vcs)" },
782{ "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" }, 782{ "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" },
783{ "Not supported \non desktop!\n","Nur verfügbar auf PDA!" }, 783{ "Not supported \non desktop!\n","Nur verfügbar auf PDA!" },
784{ "Imported file successfully","Datei erfolgreich importiert" }, 784{ "Imported file successfully","Datei erfolgreich importiert" },
785{ "Error importing file","Fehler beim Importieren der Datei" }, 785{ "Error importing file","Fehler beim Importieren der Datei" },
786{ "Export vcal filename(*.vcs)","Export vcal Dateiname(*.vcs)" }, 786{ "Export vcal filename(*.vcs)","Export vcal Dateiname(*.vcs)" },
787{ "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" }, 787{ "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" },
788{ "Overwrite!","Überschreiben!" }, 788{ "Overwrite!","Überschreiben!" },
789{ "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" }, 789{ "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" },
790{ "Load backup filename","Lade Backup Dateiname" }, 790{ "Load backup filename","Lade Backup Dateiname" },
791{ "Backup file\ndoes not exist!\nNothing loaded!","Backup Datei\nexistiert nicht!\nNichts geladen!" }, 791{ "Backup file\ndoes not exist!\nNothing loaded!","Backup Datei\nexistiert nicht!\nNichts geladen!" },
792{ "KO/Pi:Loaded %1","KO/Pi:Geladen %1" }, 792{ "KO/Pi:Loaded %1","KO/Pi:Geladen %1" },
793{ "Save backup filename","Speichere Backup Dateiname" }, 793{ "Save backup filename","Speichere Backup Dateiname" },
794{ "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" }, 794{ "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" },
795{ "KO/Pi:Saved %1","KO/Pi:Gespeichert %1" }, 795{ "KO/Pi:Saved %1","KO/Pi:Gespeichert %1" },
796{ "Details of attendee","Teilnehmerdetails" }, 796{ "Details of attendee","Teilnehmerdetails" },
797{ "Work phone:\n","Telefon Arbeit:\n" }, 797{ "Work phone:\n","Telefon Arbeit:\n" },
798{ "Work mobile phone:\n","Mobiltelefon Arbeit:\n" }, 798{ "Work mobile phone:\n","Mobiltelefon Arbeit:\n" },
799{ "Home phone:\n","Telefon privat:\n" }, 799{ "Home phone:\n","Telefon privat:\n" },
800{ "Mobile home phone:\n","Mobiltelefon privat:\n" }, 800{ "Mobile home phone:\n","Mobiltelefon privat:\n" },
801{ "Email:\n","Email:\n" }, 801{ "Email:\n","Email:\n" },
802{ "Alarm disabled","Alarm deaktiviert" }, 802{ "Alarm disabled","Alarm deaktiviert" },
803{ "Audio.Al.: ","Audio Al.: " }, 803{ "Audio.Al.: ","Audio Al.: " },
804{ "Proc.Al.: ","Proc.Al.: " }, 804{ "Proc.Al.: ","Proc.Al.: " },
805{ "No sound set","Kein Sound definiert" }, 805{ "No sound set","Kein Sound definiert" },
806{ "*.wav|Wav Files","*.wav|Wav Dateien" }, 806{ "*.wav|Wav Files","*.wav|Wav Dateien" },
807{ "No program set","Kein Programm definiert" }, 807{ "No program set","Kein Programm definiert" },
808{ "Running '%1'","Ausführen '%1'" }, 808{ "Running '%1'","Ausführen '%1'" },
809{ "Playing '%1'","Abspielen '%1'" }, 809{ "Playing '%1'","Abspielen '%1'" },
810{ "Show Sync Events in WN/Agenda view","Zeige Sync Events in WN/Agenda Ansicht" }, 810{ "Show Sync Events in WN/Agenda view","Zeige Sync Events in WN/Agenda Ansicht" },
811{ "User defined (usertranslation.txt)","Benutzerdefiniert (usertranslation.txt)" }, 811{ "User defined (usertranslation.txt)","Benutzerdefiniert (usertranslation.txt)" },
812{ "Load!","Laden!" }, 812{ "Load!","Laden!" },
813{ "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" }, 813{ "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" },
814{ "KO/Pi Features and hints","KO/Pi Eigenschaften und Tipps" }, 814{ "KO/Pi Features and hints","KO/Pi Eigenschaften und Tipps" },
815{ "KO/Pi User translation HowTo","KO/Pi Benutzer-Übersetzung HowTo" }, 815{ "KO/Pi User translation HowTo","KO/Pi Benutzer-Übersetzung HowTo" },
816{ "KO/Pi Synchronization HowTo","KO/Pi Synchronisation HowTo" }, 816{ "KO/Pi Synchronization HowTo","KO/Pi Synchronisation HowTo" },
817{ "Features + hints...","Eigenschaften + Tipps..." }, 817{ "Features + hints...","Eigenschaften + Tipps..." },
818{ "User translation...","Benutzer Übersetzung..." }, 818{ "User translation...","Benutzer Übersetzung..." },
819{ "Sync HowTo...","Synchronisation HowTo..." }, 819{ "Sync HowTo...","Synchronisation HowTo..." },
820{ "Print calendar...","Drucke Kalender..." }, 820{ "Print calendar...","Drucke Kalender..." },
821{ "Anniversary","Jahrestag" }, 821{ "Anniversary","Jahrestag" },
822{ "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" }, 822{ "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" },
823{ "Import Birthdays (KA/Pi)","Importiere Geburtstage (KA/Pi)" }, 823{ "Import Birthdays (KA/Pi)","Importiere Geburtstage (KA/Pi)" },
824{ "Next recurrence is on: ","Nächste Wiederholung ist am:" }, 824{ "Next recurrence is on: ","Nächste Wiederholung ist am:" },
825{ "<b>Alarm on: </b>","<b>Alarm am: </b>" }, 825{ "<b>Alarm on: </b>","<b>Alarm am: </b>" },
826{ "<b>Access: </b>","<b>Zugriff: </b>" }, 826{ "<b>Access: </b>","<b>Zugriff: </b>" },
827{ "(%1 min before)","(%1 min vorher)" }, 827{ "(%1 min before)","(%1 min vorher)" },
828{ "<b>Categories: </b>","<b>Kategorien: </b>" }, 828{ "<b>Categories: </b>","<b>Kategorien: </b>" },
829{ "Save Journal/Description...","Speichere Journal/Details..." }, 829{ "Save Journal/Description...","Speichere Journal/Details..." },
830{ "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." }, 830{ "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." },
831{ "Continue","Weitermachen" }, 831{ "Continue","Weitermachen" },
832{ " birthdays/anniversaries added!"," Geburts-/Jahrestage hinzugefügt" }, 832{ " birthdays/anniversaries added!"," Geburts-/Jahrestage hinzugefügt" },
833{ "Attendee:","Teilnehmer:" }, 833{ "Attendee:","Teilnehmer:" },
834{ "Click OK to search ->","Klicke zum Suchen auf OK ->" }, 834{ "Click OK to search ->","Klicke zum Suchen auf OK ->" },
835{ "On day ","Am Tag " }, 835{ "On day ","Am Tag " },
836{ "%1 of ","%1 des Monats" }, 836{ "%1 of ","%1 des Monats" },
837{ "%1 of the year","%1 des Jahres" }, 837{ "%1 of the year","%1 des Jahres" },
838{ "Anonymous","Anonymo" }, 838{ "Anonymous","Anonymo" },
839{ "nobody@nowhere","niemand@nirgendwo" }, 839{ "nobody@nowhere","niemand@nirgendwo" },
840{ "calendar.html","calendar.html" }, 840{ "calendar.html","calendar.html" },
841{ " Local Time"," Locale Zeit" }, 841{ " Local Time"," Locale Zeit" },
842{ "Unknown Name","Unbekannter Name" }, 842{ "Unknown Name","Unbekannter Name" },
843{ "unknown@nowhere","unbekannt@nirgendwo" }, 843{ "unknown@nowhere","unbekannt@nirgendwo" },
844{ "Beam via IR!","Beam via IR!" }, 844{ "Beam via IR!","Beam via IR!" },
845{ "Next Month","Nächster Monat" }, 845{ "Next Month","Nächster Monat" },
846{ "Prio","Prio" }, 846{ "Prio","Prio" },
847{ "Reparent Todo","Mache Sub-Todo" }, 847{ "Reparent Todo","Mache Sub-Todo" },
848{ "tomorrow","morgen" }, 848{ "tomorrow","morgen" },
849{ "today","heute" }, 849{ "today","heute" },
850{ "yesterday","gestern" }, 850{ "yesterday","gestern" },
851{ "Ok","Ok" }, 851{ "Ok","Ok" },
852{ "Ok+Agenda","Ok+Agenda" }, 852{ "Ok+Agenda","Ok+Agenda" },
853{ "Email","Email" }, 853{ "Email","Email" },
854{ "RSVP","RSVP" }, 854{ "RSVP","RSVP" },
855{ "Email:","Email:" }, 855{ "Email:","Email:" },
856{ "Appointment Time ","Termin Zeit " }, 856{ "Appointment Time ","Termin Zeit " },
857{ "2","2" }, 857{ "2","2" },
858{ "3","3" }, 858{ "3","3" },
859{ "4","4" }, 859{ "4","4" },
860{ " 0 %"," 0 %" }, 860{ " 0 %"," 0 %" },
861{ " 20 %"," 20 %" }, 861{ " 20 %"," 20 %" },
862{ " 40 %"," 40 %" }, 862{ " 40 %"," 40 %" },
863{ " 60 %"," 60 %" }, 863{ " 60 %"," 60 %" },
864{ " 80 %"," 80 %" }, 864{ " 80 %"," 80 %" },
865{ "100 %","100 %" }, 865{ "100 %","100 %" },
866{ "Filter","Filter" }, 866{ "Filter","Filter" },
867{ "Configure","Konfiguriere" }, 867{ "Configure","Konfiguriere" },
868{ "What's Next","What's Next" }, 868{ "What's Next","What's Next" },
869{ "Complete calendar...","Kompletten Kalender..." }, 869{ "Complete calendar...","Kompletten Kalender..." },
870{ "Filtered calendar...","Gefilterten Kalender..." }, 870{ "Filtered calendar...","Gefilterten Kalender..." },
871{ "Export to phone","Exportiere zum Handy" }, 871{ "Export to phone","Exportiere zum Handy" },
872{ "Beam receice enabled","Beam Empfang an" }, 872{ "Beam receive enabled","Beam Empfang an" },
873{ "What's new?","Was ist neu?" }, 873{ "What's new?","Was ist neu?" },
874{ "FAQ...","FAQ..." }, 874{ "FAQ...","FAQ..." },
875{ "Licence...","Licence..." }, 875{ "Licence...","Licence..." },
876{ "What's This?","What's This?" }, 876{ "What's This?","What's This?" },
877{ "&Edit...","&Editiere..." }, 877{ "&Edit...","&Editiere..." },
878{ "Oktober","Oktober" }, 878{ "Oktober","Oktober" },
879{ "Title","Titel" }, 879{ "Title","Titel" },
880{ "%1 %","%1 %" }, 880{ "%1 %","%1 %" },
881{ "Enable Pi-Sync","Schalte Pi-Sync an" }, 881{ "Enable Pi-Sync","Schalte Pi-Sync an" },
882{ "Import!","Importiere!" }, 882{ "Import!","Importiere!" },
883{ "inserting birthdays - close to abort!","Burzeltage werden eingefügt - schließe um abzubrechen!" }, 883{ "inserting birthdays - close to abort!","Burzeltage werden eingefügt - schließe um abzubrechen!" },
884{ "Export to phone options","Export ans Handy Optionen" }, 884{ "Export to phone options","Export ans Handy Optionen" },
885{ "Please read Help-Sync Howto\nto know what settings to use.","Bitte lese Hilfe-Sync Howto\num zu erfahren welche Einstellungen\ndie richtigen sind." }, 885{ "Please read Help-Sync Howto\nto know what settings to use.","Bitte lese Hilfe-Sync Howto\num zu erfahren welche Einstellungen\ndie richtigen sind." },
886{ "I/O device: ","I/O device: " }, 886{ "I/O device: ","I/O device: " },
887{ "Connection: ","Connection: " }, 887{ "Connection: ","Connection: " },
888{ "Model(opt.): ","Model(opt.): " }, 888{ "Model(opt.): ","Model(opt.): " },
889{ "Write back events in future only","Schreibe nur zukünftige Termine zurück" }, 889{ "Write back events in future only","Schreibe nur zukünftige Termine zurück" },
890{ "Max. weeks in future: ","Max. Wochen in der Zukunft: " }, 890{ "Max. weeks in future: ","Max. Wochen in der Zukunft: " },
891{ "NOTE: This will remove all old\ntodo/calendar data on phone!","ACHTUNG: Das löscht alle alten\nToDo/Kalender Daten auf dem Handy!" }, 891{ "NOTE: This will remove all old\ntodo/calendar data on phone!","ACHTUNG: Das löscht alle alten\nToDo/Kalender Daten auf dem Handy!" },
892{ "Export to mobile phone!","Exportiere auf das Handy!" }, 892{ "Export to mobile phone!","Exportiere auf das Handy!" },
893{ "Export complete calendar","Exportiere kompletten Kalender" }, 893{ "Export complete calendar","Exportiere kompletten Kalender" },
894{ "Writing to phone...","Sende Daten ans Handy..." }, 894{ "Writing to phone...","Sende Daten ans Handy..." },
895{ " This may take 1-3 minutes!"," Das kann 1-3 Minuten dauern!" }, 895{ " This may take 1-3 minutes!"," Das kann 1-3 Minuten dauern!" },
896{ "Retry","Nochmal versuchen" }, 896{ "Retry","Nochmal versuchen" },
897{ "KDE/Pim phone access","KDE/Pim Handy Zugriff" }, 897{ "KDE/Pim phone access","KDE/Pim Handy Zugriff" },
898{ "Error accessing device!\nPlease turn on connection\nand retry!","Fehler beim Zugriff auf das Gerät!\nBitte die Verbindung aktivieren\nund nochmal versuchen!" }, 898{ "Error accessing device!\nPlease turn on connection\nand retry!","Fehler beim Zugriff auf das Gerät!\nBitte die Verbindung aktivieren\nund nochmal versuchen!" },
899{ "Error exporting to phone!","Fehler beim Export auf das Handy!" }, 899{ "Error exporting to phone!","Fehler beim Export auf das Handy!" },
900{ "Export filtered calendar","Exportiere gefilterten Kalender" }, 900{ "Export filtered calendar","Exportiere gefilterten Kalender" },
901{ "Preferences","Vorlieben" }, 901{ "Preferences","Vorlieben" },
902{ "Global","Global" }, 902{ "Global","Global" },
903{ "Phone","Phone" }, 903{ "Phone","Phone" },
904{ "SMS","SMS" }, 904{ "SMS","SMS" },
905{ "Fax","Fax" }, 905{ "Fax","Fax" },
906{ "Pager","Pager" }, 906{ "Pager","Pager" },
907{ "SIP","SIP" }, 907{ "SIP","SIP" },
908{ "Italian","Italienisch" }, 908{ "Italian","Italienisch" },
909{ "24:00","24:00" }, 909{ "24:00","24:00" },
910{ "12:00am","12:00am" }, 910{ "12:00am","12:00am" },
911{ "24.03.2004 (%d.%m.%Y|%A %d %B %Y)","24.03.2004 (%d.%m.%Y|%A %d %B %Y)" }, 911{ "24.03.2004 (%d.%m.%Y|%A %d %B %Y)","24.03.2004 (%d.%m.%Y|%A %d %B %Y)" },
912{ "03.24.2004 (%m.%d.%Y|%A %B %d %Y)","03.24.2004 (%m.%d.%Y|%A %B %d %Y)" }, 912{ "03.24.2004 (%m.%d.%Y|%A %B %d %Y)","03.24.2004 (%m.%d.%Y|%A %B %d %Y)" },
913{ "2004-03-24 (%Y-%m-%d|%A %Y %B %d)","2004-03-24 (%Y-%m-%d|%A %Y %B %d)" }, 913{ "2004-03-24 (%Y-%m-%d|%A %Y %B %d)","2004-03-24 (%Y-%m-%d|%A %Y %B %d)" },
914{ "Mon 19.04.04: %a %d.%m.%y","Mon 19.04.04: %a %d.%m.%y" }, 914{ "Mon 19.04.04: %a %d.%m.%y","Mon 19.04.04: %a %d.%m.%y" },
915{ "Mon, 19.Apr.04: %a, %d.%b.%y","Mon, 19.Apr.04: %a, %d.%b.%y" }, 915{ "Mon, 19.Apr.04: %a, %d.%b.%y","Mon, 19.Apr.04: %a, %d.%b.%y" },
916{ "Add 30 min (+00:30) to selected Timezone","Addiere 30 min zur selektierten Zeitzone" }, 916{ "Add 30 min (+00:30) to selected Timezone","Addiere 30 min zur selektierten Zeitzone" },
917{ "Used Mail Client","Benutzter Mail Client" }, 917{ "Used Mail Client","Benutzter Mail Client" },
918{ "Channel:","Channel:" }, 918{ "Channel:","Channel:" },
919{ "Message:","Message:" }, 919{ "Message:","Message:" },
920{ "Parameters:","Parameter:" }, 920{ "Parameters:","Parameter:" },
921{ "HINT: Delimiter=; Name=%1,Email=%2","Hinweis: Begrenzer=; Name=%1,Email=%2" }, 921{ "HINT: Delimiter=; Name=%1,Email=%2","Hinweis: Begrenzer=; Name=%1,Email=%2" },
922{ "extra Message:","extra Message:" }, 922{ "extra Message:","extra Message:" },
923{ "extra Parameters:","extra Parameter:" }, 923{ "extra Parameters:","extra Parameter:" },
924{ "HINT: Emails=%1,Attachments=%2","Hinweis: Emails=%1,Attachments=%2" }, 924{ "HINT: Emails=%1,Attachments=%2","Hinweis: Emails=%1,Attachments=%2" },
925{ "External Apps.","Externe Appl." }, 925{ "External Apps.","Externe Appl." },
926{ "24 hours","24 Std." }, 926{ "24 hours","24 Std." },
927{ "3 hours","3 Std." }, 927{ "3 hours","3 Std." },
928{ "1 hour","1 Std." }, 928{ "1 hour","1 Std." },
929{ "15 minutes","15 Min." }, 929{ "15 minutes","15 Min." },
930{ "5 minutes","5 Min." }, 930{ "5 minutes","5 Min." },
931{ "1 minute","1 Min." }, 931{ "1 minute","1 Min." },
932{ "23","23" }, 932{ "23","23" },
933{ "Mon 15","Mon 15" }, 933{ "Mon 15","Mon 15" },
934{ "Configure KO","Konfiguriere KO" }, 934{ "Configure KO","Konfiguriere KO" },
935{ "Event text","Termin Text" }, 935{ "Event text","Termin Text" },
936{ "ToDo","ToDo" }, 936{ "ToDo","ToDo" },
937{ "Today","Heute" }, 937{ "Today","Heute" },
938{ "What's Next View","What's Next Ansicht" }, 938{ "What's Next View","What's Next Ansicht" },
939{ "Show Sync Events in \nWhat's Next/Agenda view","Zeige Sync Termine in \nWhat's Next/Agenda view" }, 939{ "Show Sync Events in \nWhat's Next/Agenda view","Zeige Sync Termine in \nWhat's Next/Agenda view" },
940{ "Use short date in \nWhat's Next/Event view","Zeige Kurzdatum in \nWhat's Next/Event view" }, 940{ "Use short date in \nWhat's Next/Event view","Zeige Kurzdatum in \nWhat's Next/Event view" },
941{ "Allday Agenda view shows todos","Ganztag Agenda zeigt Todos" }, 941{ "Allday Agenda view shows todos","Ganztag Agenda zeigt Todos" },
942{ "Alarm","Alarm" }, 942{ "Alarm","Alarm" },
943{ "Used %1 Client","Benutzter %1 Client" }, 943{ "Used %1 Client","Benutzter %1 Client" },
944{ "No email client installed","Kein Email Klient installiert" }, 944{ "No email client installed","Kein Email Klient installiert" },
945{ "Userdefined email client","Benutzerdef. Email Klient" }, 945{ "Userdefined email client","Benutzerdef. Email Klient" },
946{ "OM/Pi email client","OM/Pi Email Klient" }, 946{ "OM/Pi email client","OM/Pi Email Klient" },
947{ "Include in multiple ","Beziehe in multiple " }, 947{ "Include in multiple ","Beziehe in multiple " },
948{ "calendar ","Kalender " }, 948{ "calendar ","Kalender " },
949{ "addressbook ","Adressbuch " }, 949{ "addressbook ","Adressbuch " },
950{ "pwmanager","PWmanager" }, 950{ "pwmanager","PWmanager" },
951{ " sync"," Sync ein" }, 951{ " sync"," Sync ein" },
952{ "Write back synced data","Schreibe gesyncte Daten zurück" }, 952{ "Write back synced data","Schreibe gesyncte Daten zurück" },
953{ "-- Write back (on remote) existing entries only","-- Schreibe nur existierende (entfernte) Einträge zurück" }, 953{ "-- Write back (on remote) existing entries only","-- Schreibe nur existierende (entfernte) Einträge zurück" },
954{ "-- Write back (calendar) entries in future only","-- Schreibe nur zukünftige Kalender-Einträge zurück" }, 954{ "-- Write back (calendar) entries in future only","-- Schreibe nur zukünftige Kalender-Einträge zurück" },
955{ "---- Max. weeks in future: ","---- Max. wochen in der Zukunft: " }, 955{ "---- Max. weeks in future: ","---- Max. wochen in der Zukunft: " },
956{ "Pi-Sync ( direct Kx/Pi to Kx/Pi sync )","Pi-Sync ( direktes Kx/Pi zu Kx/Pi sync )" }, 956{ "Pi-Sync ( direct Kx/Pi to Kx/Pi sync )","Pi-Sync ( direktes Kx/Pi zu Kx/Pi sync )" },
957{ "Mobile device (cell phone)","Mobiles Gerät (Handy)" }, 957{ "Mobile device (cell phone)","Mobiles Gerät (Handy)" },
958{ "Help...","Hilfe..." }, 958{ "Help...","Hilfe..." },
959{ "Local file Cal:","Lokale Datei Kal:" }, 959{ "Local file Cal:","Lokale Datei Kal:" },
960{ "Local file ABook:","Lokale Datei ABuch:" }, 960{ "Local file ABook:","Lokale Datei ABuch:" },
961{ "Local file PWMgr:","Lokale Datei PWMgr:" }, 961{ "Local file PWMgr:","Lokale Datei PWMgr:" },
962{ "Addressbook file (*.vcf) is used by KA/Pi","Adressbuch Datei (*.vcf) wird von KA/Pi genutzt" }, 962{ "Addressbook file (*.vcf) is used by KA/Pi","Adressbuch Datei (*.vcf) wird von KA/Pi genutzt" },
963{ "Calendar:","Kalender:" }, 963{ "Calendar:","Kalender:" },
964{ "AddressBook:","AdressBuch:" }, 964{ "AddressBook:","AdressBuch:" },
965{ "PWManager:","PWManager:" }, 965{ "PWManager:","PWManager:" },
966{ "Addressbook file is used by KA/Pi","Adressbuch Datei wird von KA/Pi genutzt" }, 966{ "Addressbook file is used by KA/Pi","Adressbuch Datei wird von KA/Pi genutzt" },
967{ "ssh/scp","ssh/scp" }, 967{ "ssh/scp","ssh/scp" },
968{ "ftp","ftp" }, 968{ "ftp","ftp" },
diff --git a/pwmanager/pwmanager/pwm.cpp b/pwmanager/pwmanager/pwm.cpp
index ac0c978..9798e8e 100644
--- a/pwmanager/pwmanager/pwm.cpp
+++ b/pwmanager/pwmanager/pwm.cpp
@@ -1,263 +1,269 @@
1/*************************************************************************** 1/***************************************************************************
2 * * 2 * *
3 * copyright (C) 2003, 2004 by Michael Buesch * 3 * copyright (C) 2003, 2004 by Michael Buesch *
4 * email: mbuesch@freenet.de * 4 * email: mbuesch@freenet.de *
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 version 2 * 7 * it under the terms of the GNU General Public License version 2 *
8 * as published by the Free Software Foundation. * 8 * as published by the Free Software Foundation. *
9 * * 9 * *
10 ***************************************************************************/ 10 ***************************************************************************/
11 11
12/*************************************************************************** 12/***************************************************************************
13 * copyright (C) 2004 by Ulf Schenk 13 * copyright (C) 2004 by Ulf Schenk
14 * This file is originaly based on version 1.0.1 of pwmanager 14 * This file is originaly based on version 1.0.1 of pwmanager
15 * and was modified to run on embedded devices that run microkde 15 * and was modified to run on embedded devices that run microkde
16 * 16 *
17 * $Id$ 17 * $Id$
18 **************************************************************************/ 18 **************************************************************************/
19 19
20#include <klocale.h> 20#include <klocale.h>
21#include <klistview.h> 21#include <klistview.h>
22#include <ktoolbar.h> 22#include <ktoolbar.h>
23#include <kfiledialog.h> 23#include <kfiledialog.h>
24#include <kiconloader.h> 24#include <kiconloader.h>
25#include <kmessagebox.h> 25#include <kmessagebox.h>
26 26
27#ifndef PWM_EMBEDDED 27#ifndef PWM_EMBEDDED
28#include <kmenubar.h> 28#include <kmenubar.h>
29#include <kstatusbar.h> 29#include <kstatusbar.h>
30#include <dcopclient.h> 30#include <dcopclient.h>
31#include "configwndimpl.h" 31#include "configwndimpl.h"
32#include "configuration.h" 32#include "configuration.h"
33#else 33#else
34#include <qmenubar.h> 34#include <qmenubar.h>
35#include <qmessagebox.h> 35#include <qmessagebox.h>
36#include <pwmprefs.h> 36#include <pwmprefs.h>
37#include <kpimglobalprefs.h> 37#include <kpimglobalprefs.h>
38#include <kcmconfigs/kcmpwmconfig.h> 38#include <kcmconfigs/kcmpwmconfig.h>
39#include <kcmconfigs/kcmkdepimconfig.h> 39#include <kcmconfigs/kcmkdepimconfig.h>
40#include <kcmultidialog.h> 40#include <kcmultidialog.h>
41#endif 41#endif
42 42
43
44#ifndef DESKTOP_VERSION
45#include <qpe/global.h>
46#endif
47
43#include <qpixmap.h> 48#include <qpixmap.h>
44#include <qcheckbox.h> 49#include <qcheckbox.h>
45#include <qspinbox.h> 50#include <qspinbox.h>
46#include <qlineedit.h> 51#include <qlineedit.h>
47#include <qfileinfo.h> 52#include <qfileinfo.h>
48#include <qclipboard.h> 53#include <qclipboard.h>
49 54
50 55
51#include <stdio.h> 56#include <stdio.h>
52 57
53#include "pwm.h" 58#include "pwm.h"
54#include "pwminit.h" 59#include "pwminit.h"
55#include "pwmprint.h" 60#include "pwmprint.h"
56#include "addentrywndimpl.h" 61#include "addentrywndimpl.h"
57#include "globalstuff.h" 62#include "globalstuff.h"
58#include "findwndimpl.h" 63#include "findwndimpl.h"
59#include "csv.h" 64#include "csv.h"
60 65
61#ifdef CONFIG_KWALLETIF 66#ifdef CONFIG_KWALLETIF
62# include "kwalletif.h" 67# include "kwalletif.h"
63# include "kwalletemu.h" 68# include "kwalletemu.h"
64#endif 69#endif
65#ifdef CONFIG_KEYCARD 70#ifdef CONFIG_KEYCARD
66# include "pwmkeycard.h" 71# include "pwmkeycard.h"
67#endif 72#endif
68 73
69 74
70 #define DEFAULT_SIZE (QSize(700, 400)) 75 #define DEFAULT_SIZE (QSize(700, 400))
71 76
72// Button IDs for "file" popup menu 77// Button IDs for "file" popup menu
73enum { 78enum {
74 BUTTON_POPUP_FILE_NEW = 0, 79 BUTTON_POPUP_FILE_NEW = 0,
75 BUTTON_POPUP_FILE_OPEN, 80 BUTTON_POPUP_FILE_OPEN,
76 BUTTON_POPUP_FILE_CLOSE, 81 BUTTON_POPUP_FILE_CLOSE,
77 BUTTON_POPUP_FILE_SAVE, 82 BUTTON_POPUP_FILE_SAVE,
78 BUTTON_POPUP_FILE_SAVEAS, 83 BUTTON_POPUP_FILE_SAVEAS,
79 BUTTON_POPUP_FILE_EXPORT, 84 BUTTON_POPUP_FILE_EXPORT,
80 BUTTON_POPUP_FILE_IMPORT, 85 BUTTON_POPUP_FILE_IMPORT,
81 BUTTON_POPUP_FILE_PRINT, 86 BUTTON_POPUP_FILE_PRINT,
82 BUTTON_POPUP_FILE_QUIT 87 BUTTON_POPUP_FILE_QUIT
83}; 88};
84// Button IDs for "manage" popup menu 89// Button IDs for "manage" popup menu
85enum { 90enum {
86 BUTTON_POPUP_MANAGE_ADD = 0, 91 BUTTON_POPUP_MANAGE_ADD = 0,
87 BUTTON_POPUP_MANAGE_EDIT, 92 BUTTON_POPUP_MANAGE_EDIT,
88 BUTTON_POPUP_MANAGE_DEL, 93 BUTTON_POPUP_MANAGE_DEL,
89 BUTTON_POPUP_MANAGE_CHANGEMP 94 BUTTON_POPUP_MANAGE_CHANGEMP
90}; 95};
91// Button IDs for chipcard popup menu 96// Button IDs for chipcard popup menu
92enum { 97enum {
93#ifdef CONFIG_KEYCARD 98#ifdef CONFIG_KEYCARD
94 BUTTON_POPUP_CHIPCARD_GENNEW = 0, 99 BUTTON_POPUP_CHIPCARD_GENNEW = 0,
95 BUTTON_POPUP_CHIPCARD_DEL, 100 BUTTON_POPUP_CHIPCARD_DEL,
96 BUTTON_POPUP_CHIPCARD_READID, 101 BUTTON_POPUP_CHIPCARD_READID,
97 BUTTON_POPUP_CHIPCARD_SAVEBACKUP, 102 BUTTON_POPUP_CHIPCARD_SAVEBACKUP,
98 BUTTON_POPUP_CHIPCARD_REPLAYBACKUP 103 BUTTON_POPUP_CHIPCARD_REPLAYBACKUP
99#else // CONFIG_KEYCARD 104#else // CONFIG_KEYCARD
100 BUTTON_POPUP_CHIPCARD_NO = 0 105 BUTTON_POPUP_CHIPCARD_NO = 0
101#endif // CONFIG_KEYCARD 106#endif // CONFIG_KEYCARD
102}; 107};
103// Button IDs for "view" popup menu 108// Button IDs for "view" popup menu
104enum { 109enum {
105 BUTTON_POPUP_VIEW_FIND = 0, 110 BUTTON_POPUP_VIEW_FIND = 0,
106 BUTTON_POPUP_VIEW_LOCK, 111 BUTTON_POPUP_VIEW_LOCK,
107 BUTTON_POPUP_VIEW_DEEPLOCK, 112 BUTTON_POPUP_VIEW_DEEPLOCK,
108 BUTTON_POPUP_VIEW_UNLOCK 113 BUTTON_POPUP_VIEW_UNLOCK
109}; 114};
110// Button IDs for "options" popup menu 115// Button IDs for "options" popup menu
111enum { 116enum {
112 BUTTON_POPUP_OPTIONS_CONFIG = 0 117 BUTTON_POPUP_OPTIONS_CONFIG = 0
113}; 118};
114// Button IDs for "export" popup menu (in "file" popup menu) 119// Button IDs for "export" popup menu (in "file" popup menu)
115enum { 120enum {
116 BUTTON_POPUP_EXPORT_TEXT = 0, 121 BUTTON_POPUP_EXPORT_TEXT = 0,
117 BUTTON_POPUP_EXPORT_GPASMAN, 122 BUTTON_POPUP_EXPORT_GPASMAN,
118 BUTTON_POPUP_EXPORT_CSV 123 BUTTON_POPUP_EXPORT_CSV
119#ifdef CONFIG_KWALLETIF 124#ifdef CONFIG_KWALLETIF
120 ,BUTTON_POPUP_EXPORT_KWALLET 125 ,BUTTON_POPUP_EXPORT_KWALLET
121#endif 126#endif
122}; 127};
123// Button IDs for "import" popup menu (in "file" popup menu) 128// Button IDs for "import" popup menu (in "file" popup menu)
124enum { 129enum {
125 BUTTON_POPUP_IMPORT_TEXT = 0, 130 BUTTON_POPUP_IMPORT_TEXT = 0,
126 BUTTON_POPUP_IMPORT_GPASMAN, 131 BUTTON_POPUP_IMPORT_GPASMAN,
127 BUTTON_POPUP_IMPORT_CSV 132 BUTTON_POPUP_IMPORT_CSV
128#ifdef CONFIG_KWALLETIF 133#ifdef CONFIG_KWALLETIF
129 ,BUTTON_POPUP_IMPORT_KWALLET 134 ,BUTTON_POPUP_IMPORT_KWALLET
130#endif 135#endif
131}; 136};
132 137
133#ifdef PWM_EMBEDDED 138#ifdef PWM_EMBEDDED
134// Button IDs for "help" popup menu 139// Button IDs for "help" popup menu
135enum { 140enum {
136 BUTTON_POPUP_HELP_LICENSE = 0, 141 BUTTON_POPUP_HELP_LICENSE = 0,
137 BUTTON_POPUP_HELP_FAQ, 142 BUTTON_POPUP_HELP_FAQ,
138 BUTTON_POPUP_HELP_ABOUT, 143 BUTTON_POPUP_HELP_ABOUT,
139 BUTTON_POPUP_HELP_SYNC, 144 BUTTON_POPUP_HELP_SYNC,
140 BUTTON_POPUP_HELP_WHATSNEW 145 BUTTON_POPUP_HELP_WHATSNEW
141}; 146};
142#endif 147#endif
143 148
144// Button IDs for toolbar 149// Button IDs for toolbar
145enum { 150enum {
146 BUTTON_TOOL_NEW = 0, 151 BUTTON_TOOL_NEW = 0,
147 BUTTON_TOOL_OPEN, 152 BUTTON_TOOL_OPEN,
148 BUTTON_TOOL_SAVE, 153 BUTTON_TOOL_SAVE,
149 BUTTON_TOOL_SAVEAS, 154 BUTTON_TOOL_SAVEAS,
150 BUTTON_TOOL_PRINT, 155 BUTTON_TOOL_PRINT,
151 BUTTON_TOOL_ADD, 156 BUTTON_TOOL_ADD,
152 BUTTON_TOOL_EDIT, 157 BUTTON_TOOL_EDIT,
153 BUTTON_TOOL_DEL, 158 BUTTON_TOOL_DEL,
154 BUTTON_TOOL_FIND, 159 BUTTON_TOOL_FIND,
155 BUTTON_TOOL_LOCK, 160 BUTTON_TOOL_LOCK,
156 BUTTON_TOOL_DEEPLOCK, 161 BUTTON_TOOL_DEEPLOCK,
157 BUTTON_TOOL_UNLOCK 162 BUTTON_TOOL_UNLOCK
158}; 163};
159 164
160 165
161PwM::PwM(PwMInit *_init, PwMDoc *doc, 166PwM::PwM(PwMInit *_init, PwMDoc *doc,
162 bool virginity, 167 bool virginity,
163 QWidget *parent, const char *name) 168 QWidget *parent, const char *name)
164 : KMainWindow(parent, "HALLO") 169 : KMainWindow(parent, "HALLO")
165 , forceQuit (false) 170 , forceQuit (false)
166 , forceMinimizeToTray (false) 171 , forceMinimizeToTray (false)
167{ 172{
173 virgin = !virginity;
168 init = _init; 174 init = _init;
169 connect(doc, SIGNAL(docClosed(PwMDoc *)), 175 connect(doc, SIGNAL(docClosed(PwMDoc *)),
170 this, SLOT(docClosed(PwMDoc *))); 176 this, SLOT(docClosed(PwMDoc *)));
171 initMenubar(); 177 initMenubar();
172 initToolbar(); 178 initToolbar();
173 initMetrics(); 179 initMetrics();
174 setVirgin(virginity); 180 setVirgin(virginity);
175 setFocusPolicy(QWidget::WheelFocus); 181 setFocusPolicy(QWidget::WheelFocus);
176#ifndef PWM_EMBEDDED 182#ifndef PWM_EMBEDDED
177 statusBar()->show(); 183 statusBar()->show();
178#endif 184#endif
179 view = makeNewListView(doc); 185 view = makeNewListView(doc);
180 setCentralWidget(view); 186 setCentralWidget(view);
181 updateCaption(); 187 updateCaption();
182 showStatMsg(i18n("Ready.")); 188 showStatMsg(i18n("Ready."));
183} 189}
184 190
185PwM::~PwM() 191PwM::~PwM()
186{ 192{
187 //qDebug("PwM::~PwM()"); 193 //qDebug("PwM::~PwM()");
188 disconnect(curDoc(), SIGNAL(docClosed(PwMDoc *)), 194 disconnect(curDoc(), SIGNAL(docClosed(PwMDoc *)),
189 this, SLOT(docClosed(PwMDoc *))); 195 this, SLOT(docClosed(PwMDoc *)));
190 conf()->confWndMainWndSize(size()); 196 conf()->confWndMainWndSize(size());
191 emit closed(this); 197 emit closed(this);
192 //qDebug("PwM::~PwM() emited closed(this)"); 198 //qDebug("PwM::~PwM() emited closed(this)");
193 delete view; 199 delete view;
194} 200}
195 201
196void PwM::initMenubar() 202void PwM::initMenubar()
197{ 203{
198 KIconLoader* picons; 204 KIconLoader* picons;
199#ifndef PWM_EMBEDDED 205#ifndef PWM_EMBEDDED
200 KIconLoader icons; 206 KIconLoader icons;
201 picons = &icons; 207 picons = &icons;
202#else 208#else
203 picons = KGlobal::iconLoader(); 209 picons = KGlobal::iconLoader();
204 210
205 211
206 syncPopup = new KPopupMenu(this); 212 syncPopup = new KPopupMenu(this);
207 213
208 syncManager = new KSyncManager((QWidget*)this, (KSyncInterface*)this, KSyncManager::PWMPI, PWMPrefs::instance(), syncPopup); 214 syncManager = new KSyncManager((QWidget*)this, (KSyncInterface*)this, KSyncManager::PWMPI, PWMPrefs::instance(), syncPopup);
209 syncManager->setBlockSave(false); 215 syncManager->setBlockSave(false);
210 216
211 connect ( syncPopup, SIGNAL( activated ( int ) ), syncManager, SLOT (slotSyncMenu( int ) ) ); 217 connect ( syncPopup, SIGNAL( activated ( int ) ), syncManager, SLOT (slotSyncMenu( int ) ) );
212 syncManager->fillSyncMenu(); 218 syncManager->fillSyncMenu();
213 219
214#endif 220#endif
215 filePopup = new KPopupMenu(this); 221 filePopup = new KPopupMenu(this);
216 importPopup = new KPopupMenu(filePopup); 222 importPopup = new KPopupMenu(filePopup);
217 exportPopup = new KPopupMenu(filePopup); 223 exportPopup = new KPopupMenu(filePopup);
218 managePopup = new KPopupMenu(this); 224 managePopup = new KPopupMenu(this);
219#ifdef CONFIG_KEYCARD 225#ifdef CONFIG_KEYCARD
220 chipcardPopup = new KPopupMenu(this); 226 chipcardPopup = new KPopupMenu(this);
221#endif // CONFIG_KEYCARD 227#endif // CONFIG_KEYCARD
222 viewPopup = new KPopupMenu(this); 228 viewPopup = new KPopupMenu(this);
223 optionsPopup = new KPopupMenu(this); 229 optionsPopup = new KPopupMenu(this);
224 230
225// "file" popup menu 231// "file" popup menu
226 filePopup->insertItem(QIconSet(picons->loadIcon("filenew", KIcon::Small)), 232 filePopup->insertItem(QIconSet(picons->loadIcon("filenew", KIcon::Small)),
227 i18n("&New"), this, 233 i18n("&New"), this,
228 SLOT(new_slot()), 0, BUTTON_POPUP_FILE_NEW); 234 SLOT(new_slot()), 0, BUTTON_POPUP_FILE_NEW);
229 filePopup->insertItem(QIconSet(picons->loadIcon("fileopen", KIcon::Small)), 235 filePopup->insertItem(QIconSet(picons->loadIcon("fileopen", KIcon::Small)),
230 i18n("&Open"), this, 236 i18n("&Open"), this,
231 SLOT(open_slot()), 0, BUTTON_POPUP_FILE_OPEN); 237 SLOT(open_slot()), 0, BUTTON_POPUP_FILE_OPEN);
232 filePopup->insertItem(QIconSet(picons->loadIcon("fileclose", KIcon::Small)), 238 filePopup->insertItem(QIconSet(picons->loadIcon("fileclose", KIcon::Small)),
233 i18n("&Close"), this, 239 i18n("&Close"), this,
234 SLOT(close_slot()), 0, BUTTON_POPUP_FILE_CLOSE); 240 SLOT(close_slot()), 0, BUTTON_POPUP_FILE_CLOSE);
235 filePopup->insertSeparator(); 241 filePopup->insertSeparator();
236 filePopup->insertItem(QIconSet(picons->loadIcon("filesave", KIcon::Small)), 242 filePopup->insertItem(QIconSet(picons->loadIcon("filesave", KIcon::Small)),
237 i18n("&Save"), this, 243 i18n("&Save"), this,
238 SLOT(save_slot()), 0, BUTTON_POPUP_FILE_SAVE); 244 SLOT(save_slot()), 0, BUTTON_POPUP_FILE_SAVE);
239 filePopup->insertItem(QIconSet(picons->loadIcon("filesaveas", KIcon::Small)), 245 filePopup->insertItem(QIconSet(picons->loadIcon("filesaveas", KIcon::Small)),
240 i18n("Save &as..."), 246 i18n("Save &as..."),
241 this, SLOT(saveAs_slot()), 0, 247 this, SLOT(saveAs_slot()), 0,
242 BUTTON_POPUP_FILE_SAVEAS); 248 BUTTON_POPUP_FILE_SAVEAS);
243 filePopup->insertSeparator(); 249 filePopup->insertSeparator();
244 // "file/export" popup menu 250 // "file/export" popup menu
245 exportPopup->insertItem(i18n("&Text-file..."), this, 251 exportPopup->insertItem(i18n("&Text-file..."), this,
246 SLOT(exportToText()), 0, BUTTON_POPUP_EXPORT_TEXT); 252 SLOT(exportToText()), 0, BUTTON_POPUP_EXPORT_TEXT);
247 exportPopup->insertItem(i18n("&Gpasman / Kpasman ..."), this, 253 exportPopup->insertItem(i18n("&Gpasman / Kpasman ..."), this,
248 SLOT(exportToGpasman()), 0, BUTTON_POPUP_EXPORT_GPASMAN); 254 SLOT(exportToGpasman()), 0, BUTTON_POPUP_EXPORT_GPASMAN);
249 exportPopup->insertItem(i18n("&CSV (Comma Separated Value) ..."), this, 255 exportPopup->insertItem(i18n("&CSV (Comma Separated Value) ..."), this,
250 SLOT(exportToCsv()), 0, BUTTON_POPUP_EXPORT_CSV); 256 SLOT(exportToCsv()), 0, BUTTON_POPUP_EXPORT_CSV);
251#ifdef CONFIG_KWALLETIF 257#ifdef CONFIG_KWALLETIF
252 exportPopup->insertItem(i18n("&KWallet..."), this, 258 exportPopup->insertItem(i18n("&KWallet..."), this,
253 SLOT(exportToKWallet()), 0, BUTTON_POPUP_EXPORT_KWALLET); 259 SLOT(exportToKWallet()), 0, BUTTON_POPUP_EXPORT_KWALLET);
254#endif 260#endif
255 filePopup->insertItem(QIconSet(picons->loadIcon("fileexport", KIcon::Small)), 261 filePopup->insertItem(QIconSet(picons->loadIcon("fileexport", KIcon::Small)),
256 i18n("E&xport"), exportPopup, 262 i18n("E&xport"), exportPopup,
257 BUTTON_POPUP_FILE_EXPORT); 263 BUTTON_POPUP_FILE_EXPORT);
258 // "file/import" popup menu 264 // "file/import" popup menu
259 importPopup->insertItem(i18n("&Text-file..."), this, 265 importPopup->insertItem(i18n("&Text-file..."), this,
260 SLOT(importFromText()), 0, BUTTON_POPUP_IMPORT_TEXT); 266 SLOT(importFromText()), 0, BUTTON_POPUP_IMPORT_TEXT);
261 importPopup->insertItem(i18n("&Gpasman / Kpasman ..."), this, 267 importPopup->insertItem(i18n("&Gpasman / Kpasman ..."), this,
262 SLOT(importFromGpasman()), 0, BUTTON_POPUP_IMPORT_GPASMAN); 268 SLOT(importFromGpasman()), 0, BUTTON_POPUP_IMPORT_GPASMAN);
263 importPopup->insertItem(i18n("&CSV (Comma Separated Value) ..."), this, 269 importPopup->insertItem(i18n("&CSV (Comma Separated Value) ..."), this,
@@ -1266,189 +1272,192 @@ void PwM::print_slot()
1266 PwMPrint p(curDoc(), this); 1272 PwMPrint p(curDoc(), this);
1267 p.printNow(); 1273 p.printNow();
1268#else 1274#else
1269 qDebug("PwM::print_slot , PRINTING IS NOT IMPLEMENTED"); 1275 qDebug("PwM::print_slot , PRINTING IS NOT IMPLEMENTED");
1270#endif 1276#endif
1271 curDoc()->timer()->putLock(DocTimer::id_autoLockTimer); 1277 curDoc()->timer()->putLock(DocTimer::id_autoLockTimer);
1272} 1278}
1273 1279
1274void PwM::genNewCard_slot() 1280void PwM::genNewCard_slot()
1275{ 1281{
1276#ifdef CONFIG_KEYCARD 1282#ifdef CONFIG_KEYCARD
1277 init->keycard()->genNewCard(); 1283 init->keycard()->genNewCard();
1278#endif 1284#endif
1279} 1285}
1280 1286
1281void PwM::eraseCard_slot() 1287void PwM::eraseCard_slot()
1282{ 1288{
1283#ifdef CONFIG_KEYCARD 1289#ifdef CONFIG_KEYCARD
1284 init->keycard()->eraseCard(); 1290 init->keycard()->eraseCard();
1285#endif 1291#endif
1286} 1292}
1287 1293
1288void PwM::readCardId_slot() 1294void PwM::readCardId_slot()
1289{ 1295{
1290#ifdef CONFIG_KEYCARD 1296#ifdef CONFIG_KEYCARD
1291 init->keycard()->displayKey(); 1297 init->keycard()->displayKey();
1292#endif 1298#endif
1293} 1299}
1294 1300
1295void PwM::makeCardBackup_slot() 1301void PwM::makeCardBackup_slot()
1296{ 1302{
1297#ifdef CONFIG_KEYCARD 1303#ifdef CONFIG_KEYCARD
1298 init->keycard()->makeBackupImage(); 1304 init->keycard()->makeBackupImage();
1299#endif 1305#endif
1300} 1306}
1301 1307
1302void PwM::replayCardBackup_slot() 1308void PwM::replayCardBackup_slot()
1303{ 1309{
1304#ifdef CONFIG_KEYCARD 1310#ifdef CONFIG_KEYCARD
1305 init->keycard()->replayBackupImage(); 1311 init->keycard()->replayBackupImage();
1306#endif 1312#endif
1307} 1313}
1308 1314
1309void PwM::execLauncher_slot() 1315void PwM::execLauncher_slot()
1310{ 1316{
1311 PWM_ASSERT(curDoc()); 1317 PWM_ASSERT(curDoc());
1312 if (curDoc()->isDeepLocked()) 1318 if (curDoc()->isDeepLocked())
1313 return; 1319 return;
1314 unsigned int curEntryIndex; 1320 unsigned int curEntryIndex;
1315 if (!view->getCurEntryIndex(&curEntryIndex)) 1321 if (!view->getCurEntryIndex(&curEntryIndex))
1316 return; 1322 return;
1317 bool ret = curDoc()->execLauncher(view->getCurrentCategory(), 1323 bool ret = curDoc()->execLauncher(view->getCurrentCategory(),
1318 curEntryIndex); 1324 curEntryIndex);
1319 if (ret) 1325 if (ret)
1320 showStatMsg(i18n("Executed the \"Launcher\".")); 1326 showStatMsg(i18n("Executed the \"Launcher\"."));
1321 else 1327 else
1322 showStatMsg(i18n("ERROR: Couldn't execute the \"Launcher\"!")); 1328 showStatMsg(i18n("ERROR: Couldn't execute the \"Launcher\"!"));
1323} 1329}
1324 1330
1325void PwM::goToURL_slot() 1331void PwM::goToURL_slot()
1326{ 1332{
1327 PWM_ASSERT(curDoc()); 1333 PWM_ASSERT(curDoc());
1328 if (curDoc()->isDeepLocked()) 1334 if (curDoc()->isDeepLocked())
1329 return; 1335 return;
1330 unsigned int curEntryIndex; 1336 unsigned int curEntryIndex;
1331 if (!view->getCurEntryIndex(&curEntryIndex)) 1337 if (!view->getCurEntryIndex(&curEntryIndex))
1332 return; 1338 return;
1333 bool ret = curDoc()->goToURL(view->getCurrentCategory(), 1339 bool ret = curDoc()->goToURL(view->getCurrentCategory(),
1334 curEntryIndex); 1340 curEntryIndex);
1335 if (ret) 1341 if (ret)
1336 showStatMsg(i18n("started browser with current URL.")); 1342 showStatMsg(i18n("started browser with current URL."));
1337 else 1343 else
1338 showStatMsg(i18n("ERROR: Couldn't start browser! Maybe invalid URL?")); 1344 showStatMsg(i18n("ERROR: Couldn't start browser! Maybe invalid URL?"));
1339} 1345}
1340 1346
1341void PwM::copyToClipboard(const QString &s) 1347void PwM::copyToClipboard(const QString &s)
1342{ 1348{
1343 QClipboard *cb = QApplication::clipboard(); 1349 QClipboard *cb = QApplication::clipboard();
1344#ifndef PWM_EMBEDDED 1350#ifndef PWM_EMBEDDED
1345 if (cb->supportsSelection()) 1351 if (cb->supportsSelection())
1346 cb->setText(s, QClipboard::Selection); 1352 cb->setText(s, QClipboard::Selection);
1347 cb->setText(s, QClipboard::Clipboard); 1353 cb->setText(s, QClipboard::Clipboard);
1348#else 1354#else
1349 cb->setText(s); 1355 cb->setText(s);
1350 1356
1351#endif 1357#endif
1352 1358
1353} 1359}
1354 1360
1355void PwM::showStatMsg(const QString &msg) 1361void PwM::showStatMsg(const QString &msg)
1356{ 1362{
1357#ifndef PWM_EMBEDDED 1363#ifndef PWM_EMBEDDED
1358 KStatusBar *statBar = statusBar(); 1364 KStatusBar *statBar = statusBar();
1359 statBar->message(msg, STATUSBAR_MSG_TIMEOUT * 1000); 1365 statBar->message(msg, STATUSBAR_MSG_TIMEOUT * 1000);
1360#else 1366#else
1361 qDebug("Statusbar : %s",msg.latin1()); 1367 qDebug("Statusbar : %s",msg.latin1());
1368#ifndef DESKTOP_VERSION
1369 Global::statusMessage(msg);
1370#endif
1362#endif 1371#endif
1363} 1372}
1364 1373
1365void PwM::focusInEvent(QFocusEvent *e) 1374void PwM::focusInEvent(QFocusEvent *e)
1366{ 1375{
1367 if (e->gotFocus()) { 1376 if (e->gotFocus()) {
1368 emit gotFocus(this); 1377 emit gotFocus(this);
1369 } else if (e->lostFocus()) { 1378 } else if (e->lostFocus()) {
1370 emit lostFocus(this); 1379 emit lostFocus(this);
1371 } 1380 }
1372} 1381}
1373 1382
1374 1383
1375#ifdef PWM_EMBEDDED 1384#ifdef PWM_EMBEDDED
1376 1385
1377void PwM::whatsnew_slot() 1386void PwM::whatsnew_slot()
1378{ 1387{
1379 KApplication::showFile( "KDE-Pim/Pi Version Info", "kdepim/WhatsNew.txt" ); 1388 KApplication::showFile( "KDE-Pim/Pi Version Info", "kdepim/WhatsNew.txt" );
1380} 1389}
1381 1390
1382void PwM::showLicense_slot() 1391void PwM::showLicense_slot()
1383{ 1392{
1384 KApplication::showLicence(); 1393 KApplication::showLicence();
1385} 1394}
1386 1395
1387void PwM::faq_slot() 1396void PwM::faq_slot()
1388{ 1397{
1389 KApplication::showFile( "PWM/Pi FAQ", "kdepim/pwmanager/pwmanagerFAQ.txt" ); 1398 KApplication::showFile( "PWM/Pi FAQ", "kdepim/pwmanager/pwmanagerFAQ.txt" );
1390} 1399}
1391 1400
1392void PwM::syncHowTo_slot() 1401void PwM::syncHowTo_slot()
1393{ 1402{
1394 KApplication::showFile( "KDE-Pim/Pi Synchronization HowTo", "kdepim/SyncHowto.txt" ); 1403 KApplication::showFile( "KDE-Pim/Pi Synchronization HowTo", "kdepim/SyncHowto.txt" );
1395} 1404}
1396 1405
1397 1406
1398void PwM::createAboutData_slot() 1407void PwM::createAboutData_slot()
1399{ 1408{
1400 QString version; 1409 QString version;
1401#include <../version> 1410#include <../version>
1402 QMessageBox::about( this, "About PwManager/Pi", 1411 QMessageBox::about( this, "About PwManager/Pi",
1403 "PwManager/Platform-independent\n" 1412 "PwManager/Platform-independent\n"
1404 "(PWM/Pi) " +version + " - " + 1413 "(PWM/Pi) " +version + " - " +
1405#ifdef DESKTOP_VERSION 1414#ifdef DESKTOP_VERSION
1406 "Desktop Edition\n" 1415 "Desktop Edition\n"
1407#else 1416#else
1408 "PDA-Edition\n" 1417 "PDA-Edition\n"
1409 "for: Zaurus 5500 / 7x0 / 8x0\n" 1418 "for: Zaurus 5500 / 7x0 / 8x0\n"
1410#endif 1419#endif
1411 1420
1412 "(c) 2004 Ulf Schenk\n" 1421 "(c) 2004 Ulf Schenk\n"
1413 "(c) 2004 Lutz Rogowski\n" 1422 "(c) 2004 Lutz Rogowski\n"
1414 "(c) 1997-2004, The KDE PIM Team\n" 1423 "(c) 1997-2004, The KDE PIM Team\n"
1415 1424
1416 "(c) Michael Buesch - main programming\nand current maintainer\nmbuesch@freenet.de\n" 1425 "(c) Michael Buesch - main programming\nand current maintainer\nmbuesch@freenet.de\n"
1417 "Matt Scifo - mscifo@o1.com\n" 1426 "Matt Scifo - mscifo@o1.com\n"
1418 "Elias Probst - elias.probst@gmx.de\n" 1427 "Elias Probst - elias.probst@gmx.de\n"
1419 "George Staikos - staikos@kde.org\n" 1428 "George Staikos - staikos@kde.org\n"
1420 "Matthew Palmer - mjp16@uow.edu.au\n" 1429 "Matthew Palmer - mjp16@uow.edu.au\n"
1421 "Olivier Sessink - gpasman@nl.linux.org\n" 1430 "Olivier Sessink - gpasman@nl.linux.org\n"
1422 "The libgcrypt developers -\nBlowfish and SHA1 algorithms\nftp://ftp.gnupg.org/gcrypt/alpha/libgcrypt/\n" 1431 "The libgcrypt developers -\nBlowfish and SHA1 algorithms\nftp://ftp.gnupg.org/gcrypt/alpha/libgcrypt/\n"
1423 "Troy Engel - tengel@sonic.net\n" 1432 "Troy Engel - tengel@sonic.net\n"
1424 "Wickey - wickey@gmx.at\n" 1433 "Wickey - wickey@gmx.at\n"
1425 "Ian MacGregor - original documentation author.\n" 1434 "Ian MacGregor - original documentation author.\n"
1426 ); 1435 );
1427} 1436}
1428 1437
1429 1438
1430//this are the overwritten callbackmethods from the syncinterface 1439//this are the overwritten callbackmethods from the syncinterface
1431bool PwM::sync(KSyncManager* manager, QString filename, int mode) 1440bool PwM::sync(KSyncManager* manager, QString filename, int mode)
1432{ 1441{
1433 PWM_ASSERT(curDoc()); 1442 PWM_ASSERT(curDoc());
1434 1443
1435 bool ret = curDoc()->sync(manager, filename, mode); 1444 bool ret = curDoc()->sync(manager, filename, mode);
1436 1445
1437 qDebug("PwM::sync save now: ret=%i", ret); 1446 qDebug("PwM::sync save now: ret=%i", ret);
1438 1447
1439 if (ret == true) { 1448 if (ret == true) {
1440 //US BUG: what can we call here to update the view of the current doc? 1449 //US BUG: what can we call here to update the view of the current doc?
1441 //mViewManager->refreshView(); 1450 //mViewManager->refreshView();
1442 1451
1443 //US curDoc()->sync sets the dirtyFlag in case the sync was successfull. 1452 //US curDoc()->sync sets the dirtyFlag in case the sync was successfull.
1444 save(); 1453 save();
1445 } 1454 }
1446 1455
1447 return ret; 1456 return ret;
1448} 1457}
1449#endif 1458#endif
1450 1459
1451 1460
1452#ifndef PWM_EMBEDDED 1461#ifndef PWM_EMBEDDED
1453#include "pwm.moc" 1462#include "pwm.moc"
1454#endif 1463#endif