summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2004-10-08 15:42:53 (UTC)
committer zautrix <zautrix>2004-10-08 15:42:53 (UTC)
commitd46e6bd77c336ce98bafe884a3f7ee5b0d884f1f (patch) (unidiff)
tree02f36df75c4d82d012e1d014431d6f3ad8207a36
parentec5bc1b8c708b55884f1e03861204123de097129 (diff)
downloadkdepimpi-d46e6bd77c336ce98bafe884a3f7ee5b0d884f1f.zip
kdepimpi-d46e6bd77c336ce98bafe884a3f7ee5b0d884f1f.tar.gz
kdepimpi-d46e6bd77c336ce98bafe884a3f7ee5b0d884f1f.tar.bz2
added italian translation file for kopi
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--bin/kdepim/korganizer/italiantranslation.txt832
-rw-r--r--korganizer/koprefs.cpp6
-rw-r--r--libkdepim/kcmconfigs/kdepimconfigwidget.cpp1
3 files changed, 837 insertions, 2 deletions
diff --git a/bin/kdepim/korganizer/italiantranslation.txt b/bin/kdepim/korganizer/italiantranslation.txt
new file mode 100644
index 0000000..12af69d
--- a/dev/null
+++ b/bin/kdepim/korganizer/italiantranslation.txt
@@ -0,0 +1,832 @@
1<div class="moz-text-flowed" style="font-family: -moz-fixed">{ "10 minutes","10 Minuti", },
2{ "10th","10." },
3{ "11th","11." },
4{ "Formato 12 pm","12 AM/PM Format" },
5{ "12th","12." },
6{ "13th","13." },
7{ "14th","14." },
8{ "15th","15." },
9{ "16th","16." },
10{ "17th","17." },
11{ "18th","18." },
12{ "19th","19." },
13{ "1 Day","1 Giorno" },
14{ "1 h","1 ora" },
15{ "1 (alto)","1 (hoch)" },
16{ "5 (basso)","5" },
17{ "1st","1." },
18{ "20th","20." },
19{ "21st","21." },
20{ "22nd","22." },
21{ "23rd","23." },
22{ "24:00 Hour Format","24:00 Formato Ore" },
23{ "24th","24." },
24{ "25th","25." },
25{ "26th","26." },
26{ "27th","27." },
27{ "28th","28." },
28{ "29th","29." },
29{ "2nd","2." },
30{ "30 minutes","30 Minuti" },
31{ "30th","30." },
32{ "31st","31." },
33{ "3rd","3." },
34{ "4th","4." },
35{ "5 (lowest)","5 (il più basso)" },
36{ "5th","5." },
37{ "6th","6." },
38{ "7th","7." },
39{ "8th","8." },
40{ "9th","9." },
41{ "About...","A proposito..." },
42{ "&Accept","&Accetta" },
43{ "Accept","Accetta" },
44{ "Accept A&ll","Accetta tutto" },
45{ "Access:","Accesso:" },
46{ "A corresponding event is missing in your calendar!","Manca un evento corrispondente nel tuo calendario!" },
47{ "Actions","Azioni" },
48{ "Add Filter","Aggiungi filtri" },
49{ "&Add","Aggiungi" },
50{ "Add","Aggiungi" },
51{ "Additional email addresses:","Altri indirizzi email:" },
52{ "Additional email address:","Altri indirizzi email:" },
53{ "&Addressbook","Rubrica" },
54{ "Address &Book...","Rubrica..." },
55{ "Agenda Size","Dimensioni agenda" },
56{ "Agenda Size:","Dimensioni agenda:" },
57{ "Agenda view:","Vista agenda:" },
58{ "Agenda view background color:","Colore di sfondo vista agenda:" },
59{ "All attendees","Tutti i partecipanti" },
60{ "AllDayAgenda Height:","Altezza "tutti i giorni" dell'agenda:" },
61{ "Allday","Tutti i giorni" },
62{ "Anonymous","Anonimo" },
63{ "Apply","Rivolgersi" },
64{ "Apr","Apr" },
65{ "April","Aprile" },
66{"Ask for every entry on conflict","Chiedere ogni entrata in conflitto"},
67{ "Ask for preferences before syncing","Chiedere prima di sincronizzare" },
68{ "Ask for quit when closing KO/Pi","Chiedere prima di terminare KO/Pi" },
69{ "Attendees","Partecipanti" },
70{ "Aug","Ago" },
71{ "August","Agosto" },
72{ "Auto-Save","Salvataggio automatico" },
73{ "Auto save delay in minutes:","Salvataggio automatico in ritardo di minuti:" },
74{ "Auto saving...","Salvataggio automatico..." },
75{ "Begin on:","Cominciare con:" },
76{ "Begins on: %1","Comincia con: %1" },
77{ "<b>From:</b> %1 <b>To:</b> %2","<b>Da:</b> %1 <b>A:</b> %2" },
78{ "Bigger","Più grande" },
79{ "Biggest","Massimo" },
80{ "Big","Grande" },
81{ "<b>On:</b> %1","<b>Il:</b> %1" },
82{ "<b>On:</b> %1 <b>From:S</b> %2 <b>To:</b> %3","<b>Il:</b> %1 <b>Da:S</b> %2 <b>A:</b> %3" },
83{ "<b>Original event:</b><p>","<b>evento originale:</b><p>" },
84{ " - both are modified after last sync"," - entrambi saranno modificati dopo l'ultima sincronizzazione" },
85{ "Busy","Occupato" },
86{ "&Cancel","Annulla" },
87{ "Cancel","Annulla" },
88{ "Cannot delete To-Do\nwhich has children.","Impossibile eliminare To-Do\Sono disponibili altre ????? children=bambini, Einträge=registrazioni, note" },
89{ "Cannot delete To-Do which has children.","Impossibile eliminare Todo, sono disponibili altre (vedi sopra)" },
90{ "Can't generate mail:\nNo event selected.","Impossibile inviare mail:\nnessun evento selezionato." },
91{ "Categories...","categorie..." },
92{ "Categories","categorie" },
93{ "Category","categoria" },
94{ "Center View","Vista centrale" },
95{ "Change","Modifica" },
96{ "Cinema","Cinema" },
97{ "Click to add a new Todo","Clicca qui per aggiungere un nuovo Todo" },
98{ "Clone Item","Clona articolo" },
99{ "&Close","&Chiudi" },
100{ "Close","Chiudi" },
101{ "Close this dialog to abort deletion!","Chiudi questa finestra di dialogo per sospendere la cancellazione!" },
102{ "Colors","Colori" },
103{ "completed","Completato" },
104{ "completed on %1","Completato all' %1" },
105{ "Complete","Completo" },
106{ "Confidential","Privato" },
107{ "Configure...","Installazione..." },
108{ "Confirm &deletes","Conferma eliminazione" },
109{ "Couldn't load calendar\n '%1'.","Impossibile caricare calendario\n '%1'." },
110{ "Counter-event Viewer","Vista "conta-eventi"" },
111{ "Daily ending hour:","Ora di chiusura quotidiana:" },
112{ "Daily starting hour:","Ora di apertura quotidiana:" },
113{ "Daily","Quotidianamente" },
114{ "Date Format","Formato data" },
115{ "Date Format:","Formato data:" },
116{ "DateNavigator:(nr)","Esplora data" },
117{ "Dates: ","Data: " },
118{ "Date && Time","Data && ora" },
119{ "Day begins at:","Il giorno comincia alle:" },
120{ "Days in Next-X-Days:","Giorni in Prossimi giorni X" },
121{ "Days in What's Next:","Giorni in Cosa c'è di nuovo:" },
122{ "day(s)","Giorno(i)" },
123{ "Days to show in Next-X-Days view:","Giorni da mostrare nella vista Prossimi giorni X:" },
124{ "day","Giorno" },
125{ "Dec","Dic" },
126{ "December","Dicembre" },
127{ "Default alarm time:","Sveglia standard:" },
128{ "Default appointment time:","Orario appuntamento standard:" },
129{ "Default event color:","Colore appuntamenti standard:" },
130{ "Default","Standard" },
131{ "Def. duration of new app.:","Durata appuntamenti standard:" },
132{ "Delete all completed To-Dos?","Cancellare tutti i Todos completati?" },
133{ "Delete All","Cancella tutto" },
134{ "Delete all selected","Elimina selezione" },
135{ "Delete Current","Elimina attuale" },
136{ "Delete Event...","Elimina attività..." },
137{ "Delete Event","Elimina attività" },
138{ "&Delete","Elimina" },
139{ "Delete...","Elimina..." },
140{ "Delete","Elimina" },
141{ "Delete Todo...","Cancella Todo..." },
142{ "Delete To-Do","Cancella Todo" },
143{ "Deleting item %d ...","Elimina articolo %d..." },
144{ "Descriptions","Descrizioni" },
145{ "Deselect All","Deseleziona tutto" },
146{ "Details","Dettagli" },
147{ "Dinner","Cena" },
148{ "Do you really want\nto close KO/Pi?","Sei sicuro di voler uscire da KO/Pi?" },
149{ "Due Date","In scadenza" },
150{ "Due: ","Scade: "},
151{ "Due Time","Scade alle" },
152{ "Due:","Scade:"},
153{ "Duration: ","Durata: " },
154{ "Edit...","Crea..." },
155{ "Edit","Crea" },
156{ "Edit Event...","Crea evento..." },
157{ "Edit Event","Crea evento" },
158{ "Edit exceptions","Crea eccezioni" },
159{ "EditorBox:","Finestra creazione:" },
160{ "Edit Recurrence Range","Crea promemoria ricorrenze" },
161{ "Edit Todo...","Crea Todo..." },
162{ "Edit To-Do","Crea Todo" },
163{ "E&mail address:","Indirizzo E&mail:" },
164{ "(EmptyEmail)","(Nessuna Email)" },
165{ "(EmptyName)","(Nessun Nome)" },
166{ "Enable Recurrence","Inserisci ricorrenza" },
167{ "End after","Termina dopo"},
168{ "End by:","Termina alle"},
169{ "End Date","Data di fine" },
170{ "End:","Termine:" },
171{ "End Time","Ora di fine" },
172{ "English","Inglese" },
173{ "Event","Evento" },
174{ "Event list","Lista eventi" },
175{ "Events","Eventi" },
176{ "Event Viewer:","Vista eventi:" },
177{ "every","tutti" },
178{ "Exceptions...","Eccezioni..." },
179{ "Exceptions","Eccezioni" },
180{ "Exclude holidays","Escludi vacanze" },
181{ "Exclude Saturdays","Escludi sabato" },
182{ "Feb","Feb" },
183{ "February","Febbraio" },
184{ "&Find","Cerca!" },
185{ "Fonts","Caratteri" },
186{ "Force take local entry always","Erzwinge:selezionare sempre entrate locali" },
187{ "Force take remote entry always","Erzwinge:selezionare sempre entrate remote"},
188{ "Free","libero" },
189{ "Friday","Venerdi" },
190{ "Fri","Ven" },
191{ "From:","Da:" },
192{ "Full &name:","Nome e cognome:" },
193{ "General","Generale" },
194{ "German","Tedesco" },
195{ "Gifts","Regali" },
196{ "Go to Today","vai ad Oggi" },
197{ "Help","Aiuto" },
198{ "Hide Dates","Nascondi date" },
199{ "Highlight color:","Evidenziatore:" },
200{ "Holiday color:","Colore vacanze:" },
201{ "hour(s)","Ora(e)" },
202{ "In %1 days: ","In %1 giorni: " },
203{ "Incomplete Todo:","Todo non completo:" },
204{ "Information","Informazioni" },
205{ "Invalid search expression,\ncannot perform ","Espressione di ricerca non valida\impossibile eseguire" },
206{ "Jan","Gen" },
207{ "January","Gennaio" },
208{ "JournalView:","Vista giornale:" },
209{ "Journals","Giornali" },
210{ "Jul","Lug" },
211{ "July","Luglio" },
212{ "Jump to date","Vai a data" },
213{ "June","Giugno" },
214{ "Jun","Giu" },
215{ "Key Bindings...","Selezione Tasti..." },
216{ "Kids","Bambini" },
217{ "Known Problems...","Problemi conosciuti..." },
218{ "KO/Pi Find ","KO/Pi ricerca " },
219{ "KO/Pi Find: ","KO/Pi ricerca: " },
220{ "KO/Pi is starting ... "," KO/Pi inizia... \n... è il momento di una pausa caffè ..." },
221{ "Language:(needs restart)","Lingua (Reimpostazione!)" },
222{ "Language:","Lingua" },
223{ "Large","Espandi" },
224{ "List View:","Lista viste:" },
225{ "List View","Lista viste" },
226{ "Load/Save","carica/salva" },
227{ "Load Template","carica maschera" },
228{ "Locale","Locale" },
229{ "Local temp file:","Temp file locale:" },
230{ "Location: ",Luogo: " },
231{ "Location:",Luogo:" },
232{ "Mail client","Client di posta" },
233{ "Mail Client","Client di posta" },
234{ "March","Marzo" },
235{ "Mar","Mar" },
236{ "May","Maggio" },
237{ "M. Bains line:","M. Bains Linea:" },
238{ "Medium","Medio" },
239{ "Method","Metodo" },
240{ "minute(s)","Minuto(i)" },
241{ "Monday","Lunedì" },
242{ "Mon","Lun" },
243{ "Monthly","Mensile" },
244{ "Month not long enough","Il mese non è sufficientemente lungo" },
245{ "month(s)","Mese(i)" },
246{ "Month view:","Vista Mesi:" },
247{ "Month view uses category colors","Vista mese utilizza categorie di colori" },
248{ "Todo view uses category colors","Vista To-Do utilizza categorie di colori" },
249{ "Move &Down","sposta in basso" },
250{ "Move &Up","sposta in alto" },
251{ "Name:","Nome:" },
252{ "Name","Nome" },
253{ "\nAre you sure you want\nto delete this event?","\Sei sicuro di voler cancellare questo evento?" },
254{ "%n Days","%n Giorni" },
255{ "Never","Mai" },
256{ "New event...","Nuovo evento..." },
257{ "New event","Nuovo evento" },
258{ "New Event...","Nuovo evento..." },
259{ "New Events/Todos should","Nuovo evento/Todos dovrebbe"},
260{ "&New","&Nuovo" },
261{ "New","Nuovo", },
262{ "New Sub-Todo...","Nuovo Sub-Todo..." },
263{ "New Todo...","Nuovo Todo..." },
264{ "Next Alarm: ","Allarme successivo: ", },
265{ "&Next Day","&Giorno successivo", },
266{ "Next days view uses full window","Vista giorni successiva utilizza finestra intera" },
267{ "Next month","Mese successivo" },
268{ "&Next Week","&Settimana successiva" },
269{ "Next year","Anno successivo" },
270{ "Next Year","Anno successivo" },
271{ "%n h","%n ora" },
272{ "No ending date","Nessuna data di fine", },
273{ "No event, nothing to do.","Nessun appuntamento, niente da fare.", },
274{ "No event selected.","Nessun evento selezionato" },
275{ "No","No" },
276{ "No program set","Nessun programma scelto", },
277{ "Normal","Normale" },
278{ "[No selection]","Nessuna selezione", },
279{ "No sound set","Nessun suono scelto", },
280{ "no time ","No tempo ", },
281{ "no time","No tempo", },
282{ "No Time","No tempo" },
283{ "November","Novembre" },
284{ "Nov","Nov", },
285{ "\nThis event recurs\nover multiple dates.\n","\nQuesto evento si ripete in più giorni.\n" },
286{ "occurrence(s)","Avvenimento(i)" },
287{ "October","Ottobre" },
288{ "Oct","Ott", },
289{ "O-due!","Scade! " },
290{ "&OK","&OK" },
291{ "Ok+Show!","Ok+mostra" },
292{ "Organizer: %1","Organizzatore %1" },
293{ "Organizer","Organizzatore" },
294{ "Owner: ","Proprietario: " },
295{ "Owner:","Proprietario:" },
296{ "<p><b>Priority:</b> %2</p>","<p><b>Priorità:</b> %2</p>" },
297{ "Pick a date to display","Scegli una data da visualizzare" },
298{ "Please specify a valid due date.","Specificare una data di scadenza valida."},
299{ "Please specify a valid end date, for example '%1'.","Specificare una data di fine valida, ad esempio '%1'." },
300{ "Please specify a valid start date.","Specificare una fata di inizio valida." },
301{ "Please specify a valid start date, for example '%1'.","Specificare una fata di inizio valida, ad esempio '%1'." },
302{ "Please specify a valid start time.","Specificare un'ora di inizio valida."},
303{ "Please specify a valid start time, for example '%1'.","Specificare un'ora di inizio valida, ad esempio '%1'." },
304{ "Preferences - some settings need a restart (nr)","Preferiti - alcune impostazioni devono essere riavviate (bn)" },
305{ "&Previous Day","Giorno precedente" },
306{ "Previous month","Mese precedente" },
307{ "Previous Month","Mese precedente" },
308{ "&Previous Week","Settimana precedente" },
309{ "Previous year","Anno precedente" },
310{ "Previous Year","Anno precedente" },
311{ "Printing","Stampa" },
312{ "Priority:","Priorità:" },
313{ "Private","Privato" },
314{ "Proceed","Avanti" },
315{ "Public","Pubblico" },
316{ "Purge","Svuota" },
317{ "Purge Completed","Svuotamento completato" },
318{ "Purge To-Dos","Svuota Todos" },
319{ "read-only","Sola lettura" },
320{ "Recur every","Ripeti sempre" },
321{ "Recur in the month of",">Ripeti nel mese di" },
322{ "Recur on the","Ripeti il" },
323{ "Recur on this day","Ripeti in questo giorno" },
324{ "Recurrence Range...","Periodo ricorrenza..." },
325{ "Recurrence Range","Periodo ricorrenza" },
326{ "Recurrence Rule","Regole di ripetizione" },
327{ "Recurrence","Ripetizione" },
328{ "Recurs","Ripetizioni" },
329{"&Reject","Rifiuta"},
330{ "Reminder:","Promemoria:" },
331{ "Rem.:","Promemoria:" },
332{ "Rem.","Promemoria:" },
333{ "Remote file:","File Remoto:"},
334{ "Remote IP:","IP remoto:" },
335{ "Remote syncing (via ssh/scp) network settings ","Sincronizzazione remota (via ssh/scp) installazione rete " },
336{ "Remote user:","Utente remoto"},
337{ "&Remove","Rimuovi" },
338{ "Remove","Rimuovi" },
339{ "Request response","Risposta richiesta" },
340{ "Role:","Ruolo:" },
341{ "Role","Ruolo" },
342{ "Sat","Sab" },
343{ "Saturday","Sabato" },
344{ "Search for:","Ricerca:" },
345{ "Search In","Cerca in" },
346{ "Search...","Cerca..." },
347{ "Search","Cerca" },
348{ "Select Addresses","Seleziona indirizzi" },
349{ "Select all","Seleziona tutto" },
350{ "Select a month","Seleziona mese" },
351{ "Select a week","Seleziona settimana" },
352{ "Select a year","Seleziona anno" },
353{ "Send directly","Invia direttamente" },
354{ "&Send Messages","&Invia messaggi", },
355{ "Sep","Set" },
356{ "September","Settembre" },
357{ "Shopping","Fare spese" },
358{ "Use short date in (WN/E) view","Utilizza date abbreviate nella vista (WN/Termin)" },
359{ "Show Dates","Mostra date" },
360{ "Show events that recur daily in date nav.","Mostra eventi ripetuti ogni giorno nel nav. data" },
361{ "Show Event...","Mostra evento..." },
362{ "Show ev. that recur weekly in date nav.","Mostra eventi ripetuti settimanalmente nel nav. data" },
363{ "Show Marcus Bains line","Mostra linea Marcus Bains" },
364{ "Show summary after syncing","Mostra riassunto dopo sincronizzazione." },
365{ "Show time as:","Mostra tempo come" },
366{ "Show Todo...","Mostra To-Do" },
367{ "Show topmost todo prios in What's N.:","Mostra todo prioritari in What's N.:"},
368{ "Show topmost todo prios in What's Next:","Mostra todo prioritari in What's Next:"},
369{ "Show vertical screen (Needs restart)","Mostra schermo verticale (Riavvia!)" },
370{ "&Show","Visualizza" },
371{ "Show...","Visualizza..." },
372{ "Show","Visualizza" },
373{ "Small","Piccolo" },
374{ "Sorry","Scusa" },
375{"Sorry, the copy command failed!\nCommand was:\n","Il comando copia è fallito!\nIl comando era:\n"},
376{ "Start:","Inizio:" },
377{ "Start Date","Data di inizio" },
378{ "Start date: %1","Data di inizio: %1" },
379{ "Start Time","Ora di inizio" },
380{ "Status:","Stato:" },
381{ "Status","Stato:" },
382{ "Summaries","Sintesi" },
383{ "Summary:","Sintesi:" },
384{ "Summary","Sintesi" },
385{ "Sunday","Domenica" },
386{ "Sun","Dom" },
387{ "Sync preferences:","Installazione sincronizzazione" },
388{ "Sync Prefs","Installazione sincronizzazione" },
389{ "Syncronize","Sincronizza date" },
390{ "Take local entry on conflict","Prendi entrata locale in conflitto" },
391{ "Take newest entry on conflict","Prendi entrata più recente in conflitto" },
392{ "Take remote entry on conflict","Prendi entrata remota in conflitto" },
393{ "Template '%1' does not contain a valid Todo.","Template '%1' non contiene un To-Do valido" },
394{ "Template does not contain a valid Event.","Template '%1' non contiene un evento valido" },
395{ "Template...","Vorlage..." },
396{ "This day","Questo giorno" },
397{ "This is an experimental feature. ","Caratteristica sperimentale" },
398{ "This item will be\npermanently deleted.","Questo articolo verrà cancellato definitivamente." },
399{ "This item will be permanently deleted.", "Questo articolo verrà cancellato definitivamente." },
400{ "Thu","Gio" },
401{ "Thursday","Giovedì" },
402{ "Time associated","Tempo associato" },
403{ "Time bar:","Barra del tempo:" },
404{ "Time && Date","Ora e data" },
405{ "Time Format","Formato ora" },
406{ "Time Format(nr):","Formato ora(Riavvia!)" },
407{ "Date Labels:","Etichette date:" },
408{ "Time: ","Ora: " },
409{ "Timezone:","Zona ore"},
410{ "Tiny","Minuscolo" },
411{ "To: ","A: " },
412{ "To:","A:" },
413{ "Today: ","Oggi: " },
414{ "Todo due today color:","Colore To-Do's in scadenza oggi" },
415{ "To-do items:","Articoli To-Do:" },
416{ "Todo overdue color:","Colore To-Do scaduti" },
417{ "Todo","Todo" },
418{ "To-do view shows completed Todos","Vista To-do mostra To-do svolti" },
419{ "ToDoView:","Vista Todo:" },
420{ "Toggle Alarm","Modifica allarme" },
421{ "Toggle Allday","Modifica tutto il giorno" },
422{ "Tomorrow: ","Domani: " },
423{ "Tue","Mar" },
424{ "Tuesday","Martedì" },
425{ "Two entries are in conflict, if: ","Due entrate sono in conflitto se:" },
426{ "Unable to find template '%1'.","Impossibile trovare presentazione '%1' ." },
427{ "Unknown","Sconosciuto" },
428{ "Up","Su" },
429{ "Use password (if not, ask when syncing)","Imposta password (altrimenti chiedere per la sincronizzazione)" },
430{ "User defined","Utilizzatore definito" },
431{ "User long date:","Utilizza data estesa:" },
432{ "User short date:","Utilizza data abbreviata:" },
433{ "View","Vista" },
434{ "View Fonts","Vista caratteri" },
435{ "Views","Viste" },
436{ "Wed","Mer" },
437{ "Wednesday","Mercoledì" },
438{ "Week %1","Settimana %1" },
439{ "Weekly","Settimanalmente" },
440{ "Week starts on Sunday","La settimana inizia la domenica" },
441{ "What's Next View:","Vista What's Next" },
442{ "What's next ?","Cosa sarà il prossimo?(What's Next)" },
443{ "Working Hours","Ore lavorative" },
444{ "Working hours color:","Colore ore lavorative:" },
445{ "Write back existing entries only","Riscrivere solo entrate esistenti" },
446{ "Write back synced file","Riscrivere file sincronizzati" },
447{ "Yearly","Annualmente" },
448{ "year(s)","Anno(i)" },
449{ "Yes","Sì" },
450{ "You have %d item(s) selected.\n","Hai selezionato %d articoli.\n" },
451{ "You have to restart KOrganizer for this setting to take effect.","E' necessario riavviare KOrganizer per rendere effettiva l'impostazione." },
452{ "week(s) on:","Settimana(e): " },
453{ "Full menu bar(nr)","Barra menù completa(bn)" },
454{ "Timezone has daylight saving","Ora legale" },
455{ "Actual start/end is the\nsunday before this date.","Inizio/Fine effettivo/a è la domenica precedente a questa data!" },
456{ "The year in the date is ignored.","Nella data l'anno viene ignorato." },
457{ "Daylight start:","Inizio ora legale:" },
458{ "Daylight end:","Fine ora legale:" },
459{ "Time Zone","Zona del tempo" },
460{ "Monday 19 April 2004: %A %d %B %Y","Lunedì 19 aprile 2004: %A %d %B %Y" },
461{ "%A: Monday --- %a: Mon","%A: Lunedì --- %a: Lun" },
462{ "minutely","minutamente" },
463{ "hourly","orario" },
464{ "daily","quotidiano" },
465{ "weekly","settimanale" },
466{ "monthly","mensile" },
467{ "day-monthly","giorno-mensilmente" },
468{ "month-yearly","mese-annualmente" },
469{ "day-yearly","giorno-annualmente" },
470{ "position-yearly","posizione-annualmente" },
471{ "Edit item on doubleclick (if not, show)","... con doppio-click (altrimenti, mostra)" },
472{ "Highlight current day in agenda","Evidenzia giorno corrente nell'agenda" },
473{ "Use light color for highlight current day","utilizza evidenziatore per sottolineare giorno corrente" },
474{ "Highlight selection in Time Edit","Selezione evidenziata nel... tempo" },
475{ "Hold fullscreen on view change","Mantieni schermo esteso durante il cambio della vista" },
476{ "Hold non-fullscreen on view change","Mantieni schermo ridotto durante il cambio della vista." },
477{ "Event list view uses full window","Vista lista eventi richiede schermo esteso" },
478{ "Set agenda to DayBeginsAt on change","Al cambio imposta agenda su GiornoCominciaA" },
479{ "Set agenda to current time on change","Al cambio imposta agenda su Ora Corrente" },
480{ "Listview uses monthly timespan","Lista vista utilizza intervallo mensile" },
481{ "ViewChange","Cambia vista" },
482{ "Default alarm *.wav file:","Allarme Standard file *.wav :" },
483{ "This setting is useless for 5500 user!","Questa impostazione è inutilizzabile da 5500 utenti" },
484{ "File","File" },
485{ "Clone...","Copia.." },
486{ "Move...","Sposta..." },
487{ "Beam...","Trasmetti via IR..." },
488{ "&Clone...","Copia.." },
489{ "&Move...","Sposta..." },
490{ "&Beam...","Trasmetti via IR..." },
491{ "Show Completed","Visualizza Todos completi" },
492{ "Show Quick Todo","Mostra Quick Todo" },
493{ "Unparent Todo","Un-sub Todo" },
494{ "Save selected to file...","Salva file selezionato..." },
495{ "Add Categ. to selected...","Aggiungi a categoria selezionata..." },
496{ "Set Categ. for selected...","Imposta categoria per selezione." },
497{ "Beam selected via IR","Trasmetti selezione via IR..." },
498{ "Search","Cerca" },
499{ "Date Picker","Scelta data" },
500{ "Day View","Vista Giorno" },
501{ "Work Week","Lavoro settimanale" },
502{ "Week","Settimana" },
503{ "Month","Mese" },
504{ "Todo View","Vista Todo" },
505{ "Journal","Giornale" },
506{ "Next days","Prossimi giorni" },
507{ "Print agenda selection...","Stampa selezione agenda..." },
508{ "Toggle DateNavigator","Modifica data Navigatore" },
509{ "Toggle FilterView","Modifica vista filtri" },
510{ "Prev. month","Mese precedente" },
511{ "Go backward","Indietro" },
512{ "Go forward","Avanti" },
513{ "Synchronize","Sincronizza" },
514{ "AgendaSize","Dimensioni agenda" },
515{ "Import (*.ics/*.vcs) file","Importa (*.ics/*.vcs) file" },
516{ "Import last file","Importa ultimo file" },
517{ "Import Opie/Qtopia Cal.","Importa Opie/Qtopia Kal." },
518{ "Load Calendar Backup","carica calendario Backup" },
519{ "Save Calendar Backup","Salva calendario Backup" },
520{ "Export VCalendar","Esporta VCalendario" },
521{ "Manage new categories...","Gestisci nuove categorie..." },
522{ "Beam complete calendar...","Invia calendario completo via IR" },
523{ "Beam filtered calendar...","Invia calendario filtrato via IR" },
524{ "Remote via ssh","Remoto via ssh" },
525{ "With local file","Con file locale" },
526{ "With last file","Con ultimo file" },
527{ "KO/Pi: Ready for beaming","KO/Pi: Pronto per inviare" },
528{ "KO/Pi:Beaming done","KO/Pi: Invio eseguito" },
529{ "Save filename","salva: nomi file" },
530{ "File already exists!\nOld file from:\n%1\nOverwrite?\n","Nome File già esistente!\nvecchio file da:\n%1\nsovrascrivere?\n" },
531{ "KO/Pi: Warning!","KO/Pi: Attenzione!" },
532{ "Overwrite!","Sovrascrivi!" },
533{ "KO/Pi:Saved %1","KO/Pi:Salvato %1" },
534{ "All selected items will be\npermanently deleted.\n(Deleting items will take\nsome time on a PDA)\n","Tutti gli articoli selezionati verranno\ndefinitivamente cancellati.\n(Per Eliminare i dati\nPDA potrebbero essere necessari alcuni minuti)\n" },
535{ "KO/Pi Confirmation","KO/Pi Conferma" },
536{ "Close dialog to abort deletion!","Chiudi finestra di dialogo per annullare eliminazione!" },
537{ "Deleting item %d ...","Eliminazione dati %d ..." },
538{ "%d items remaining in list.","%d Dati rimanenti nella lista." },
539{ "Size","Dimensioni" },
540{ "Date","Data" },
541{ "Mime Type","Tipo file" },
542{ "All Files","Tutti i files" },
543{ "Files","Files" },
544{ "Documents","Documenti" },
545{ "Select Categories","Seleziona categorie" },
546{ " &Deselect All "," Deseleziona tutto" },
547{ "A&dd","Aggiungi" },
548{ "&Modify","Modifica" },
549{ "Edit Categories","Edit categorie" },
550{ " &Edit Categories "," &Edit Categorie " },
551{ "Beam Options","Invia opzioni" },
552{ " With timezone "," Con zona di tempo " },
553{ " Local time ", " Ora locale " },
554{ "Manage new Categories","Gestisci nuove categorie" },
555{ "Add to category list","Aggiungi a lista categorie" },
556{ "Remove from Events/Todos","Rimuovi da eventi/Todos" },
557{ "After importing/loading/syncing\nthere may be new categories in\nevents or todos\nwhich are not in the category list.\nPlease choose what to do:\n ","Dopo l'importazione/il caricamento/la sincronizzazione\npossono esserci nuove categorie in\neventi o Todos, che non sono\nnella lista categorie.\nScegliere cosa fare:\n " },
558{ "New categories not in list:","Nuove categorie non in lista:" },
559{ "File format","Formato file" },
560{ "Time format","Formato tempo" },
561{ "Delete all\ncompleted To-Dos?","Elimina tutti\n To-Dos completati?" },
562{ "KO/Pi:Saving Data to File ...","KO/Pi: Salvataggio dati nei file ..." },
563{ "KO/Pi:File Saved. Needed %d sec, %d ms","KO/Pi: File salvato. Necessita di %d sec, %d ms" },
564{ "h","Ora" },
565{ "min","Min" },
566{ "hou","Ora" },
567{ "day","Giorno" },
568{ "French(nyi)","Francese (non ancora implementato)" },
569{ "Time","Tempo" },
570{ "Event Viewer","Vista eventi" },
571{ "Cancel Sync","Annulla sincronizzazione" },
572{ "Remote","Remoto" },
573{ "Local","Locale" },
574{ "Conflict! Please choose entry","Conflitto!Scegliere l'entrata" },
575{ "Local: ","Locale: " },
576{ "Remote: ","Remoto: " },
577{ "Last modified: ","Ultima modifica: " },
578{ "Location: ","Posizione: " },
579{ "<p><b>From:</b> %1 </p><p><b>To:</b> %2</p>","<p><b>Da:</b> %1 </p><p><b>A:</b> %2</p>" },
580{ "<p><b>On:</b> %1</p>","<p><b>Il:</b> %1</p>" },
581{ "<p><b>From:</b> %1</p> ","<p><b>Da:</b> %1</p> " },
582{ "<p><b>To:</b> %1</p>","<p><b>A:</b> %1</p>" },
583{ "<p><b>On:</b> %1</p> ","<p><b>Il:</b> %1</p> " },
584{ "<p><b>From:</b> %1 <b>To:</b> %2</p>","<p><b>Da:</b> %1 <b>A:</b> %2</p>" },
585{ "This is a %1 recurring event.","Questo è un %1 evento ripetuto." },
586{ "<b>Next recurrence is on:</b>","<b>Prossima ripetizione il:</b>" },
587{ "<b>Last recurrence was on:</b>","<b>Ultima ripetizione il:</b>" },
588{ "( %1 min before )","( %1 min precedenti )" },
589{ "<b>Alarm on: ","<b>Sveglia il: " },
590{ "<b>Details: </b>","<b>Dettagli: </b>" },
591{ "<p><b>Priority:</b> %2</p>","<p><b>Priorità:</b> %2</p>" },
592{ "<p><i>%1 % completed</i></p>","<p><i>%1 % Completato</i></p>" },
593{ "Organizer","Organizzatore" },
594{ "Save","Salva" },
595{ "Exit (+save)","Esci (+ salva)" },
596{ "Home","Casa" },
597{ "Office","Ufficio" },
598{ "Libary","Libreria" },
599{ "Doctor","Dottore" },
600{ "Beach","Spiaggia" },
601{ "Conference room","Sala conferenze" },
602{ "Drive Home","Guida a casa" },
603{ "Watch TV","Guardare la Tv" },
604{ "Phone call","Telefonare" },
605{ "Pay bill","Pagare il conto" },
606{ "Read book","Leggere il libro" },
607{ "Watering plants","Bagnare le piante" },
608{"Appointment","Appuntamento" },
609{"Birthday","Compleanno" },
610{"Business","Affari" },
611{"Business Travel","Viaggio d'affari" },
612{"Cinema","Cinema" },
613{"Customer","Cliente" },
614{"Pause","Pausa"},
615{"Breakfast","Colazione" },
616{"Competition","Gara" },
617{"Dinner","Cena" },
618{"Education","Insegnamento" },
619{"Family","Famiglia" },
620{"Favorites","Preferiti" },
621{"Festival","Festival" },
622{"Fishing","Pecare" },
623{"Flight","Volo" },
624{"Gifts","Regali" },
625{"Holiday","Vacanze" },
626{"Holiday Cards","Cartoline" },
627{"Hot Contacts","Contatti importanti" },
628{"Hiking","Passeggiare" },
629{"Hunting","Cacciare" },
630{"Key Customer","Clienti importanti" },
631{"Kids","Bambini" },
632{"Lunch","Pranzo" },
633{"Meeting","Incontro" },
634{"Miscellaneous","Varie" },
635{"Partner","Partner" },
636{"Party","Festa" },
637{"Personal","Privato" },
638{"Personal Travel","Viaggio privato"},
639{"PHB","PHB" },
640{"Phone Calls","Telefonare" },
641{"Projects","Progetti" },
642{"Recurring","Ricorrente" },
643{"School","Scuola" },
644{"Shopping","Fare spese" },
645{"Speach","Chiacchierare" },
646{"Special Occasion","Occasione speciale" },
647{"Sports","Sport" },
648{"Talk","Conferenza" },
649{"Travel","Viaggio" },
650{"TV","TV" },
651{"Germany","Germania" },
652{"Sweden","Svezia" },
653{"Forest","Foresta" },
654{ "Desert","Deserto" },
655{ "Kitchen","Cucina" },
656{ "Lake","Lago" },
657{"University","Università"},
658{"Vacation","Vacanze" },
659{"VIP","VIP" },
660{ "Import Sharp Calendar","Calendario Sharp importato" },
661{ "This todo has been cancelled!","Questo todo è stato cancellato!" },
662{ "This event has been cancelled!","Questo evento è stato cancellato!" },
663{ "Cancelled","Cancellato" },
664{ "Multiple sync","Syncronizzazione multipla" },
665{ "Local file","File locale" },
666{ "Last file","Ultimo file" },
667{ "Keys + Colors...","Tasti + Colori..." },
668{ "Mini icons in toolbar(nr)","Mini Icone nella barra degli strumenti(bn)" },
669{ "Quick save(w/o Unicode)","Salvataggio rapido (o Unicode)" },
670{ "Choose...","Scegli..." },
671{ "Use colors for application:","Utilizza colori per programma:" },
672{ "Buttons, menus, etc.:","Tasti, Menu, etc.:" },
673{ "Frames, labels, etc.:","Cornici, etichette, etc.:" },
674{ "Show parent To-Do's in What's Next view",";Mostra Todo superiori nella vista What's Next" },
675{ "Show location in What's Next view","Mostra posizione nella vista What's Next" },
676{ "Show events that recur ","Mostra eventi ripetuti:" },
677{ "Show in every cell ","Mostra in ogni cella" },
678{ "short month","Mese corto" },
679{ "icons","Icone" },
680{ "Show Sat/Sun together","Mostra Sab/dom insieme" },
681{ "Categorie colors are applied to text","Categorie colori applicate al testo" },
682{ "Month view uses day colors","Vista Mese utilizza colori giorni" },
683{ "Day color odd months","Colore giorno mesi dispari" },
684{ "Day color even months","Colore giorno mesi pari" },
685{ "Color for Sundays + category \"Holiday\"","Colori per domenica + categoria\"Vacanza\"" },
686{ "To-do view shows complete as 'xx %'","Visualizza To-do completati al 'xx %'" },
687{ "Small To-do view uses smaller font","Vista To-do piccoli utilizza caratteri più piccoli" },
688{ "Colors are applied to text","Colori applicati al testo" },
689{ "Use internal alarm notification","Notifica allarme interno" },
690{ "Note: KO/Pi must be running to notify you about an alarm. Recommended for use on Zaurus: Disable this option and install KO/Pi alarm applet.\n","Attenzione: KO/Pi deve essere attivo per avvisarti di un allarme. Consiglio per l'utilizzo di Zaurus: Disabilitare questa opzione e installare l'applet allarme di KO/Pi.\n" },
691{ "Play beeps count:","Attivare conteggio beep: " },
692{ "Beeps interval in sec:","Intervallo in secondi tra i beep: " },
693{ "Default suspend time in min:","Tempo di sospensione Standard in minuti: " },
694{ "Auto suspend count:","Conteggio sospensione automatica" },
695{ "Alarm *.wav file for newly created alarm:","Allarme *.wav file per nuovo allarme creato:" },
696{ "New profile","Nuovo Profilo" },
697{ "Clone profile","clona Profilo" },
698{ "Delete profile","Elimina Profilo" },
699{ "Profile:","Profilo:" },
700{ "Include in multiple sync","Includi in sincronizzazione multipla" },
701{ "Force: Take local entry always","Forzare: prendere sempre entrata locale" },
702{ "Force: Take remote entry always","Forzare: prendere sempre entrata remota" },
703{ "Show summary after sync","Mostra riassunto dopo sincronizzazione" },
704{ "Write back file","Riscrivere file" },
705{ "Remote file (w down/upload command)","File remoto (via down/upload comando)" },
706{ "Pre sync (download) command:","Comando Pre-Sincronizzazione (download):" },
707{ "Local device name:","Nome periferica locale:" },
708{ "Ask for preferences before sync","Richiedere preferenze prima di sincronizzare" },
709{ "Sync preferences","Sincronizza preferenze" },
710{ "Profile kind","Tipologia Profilo" },
711{ "Local file","File locale" },
712{ "Local file:","File locale:" },
713{ "Post sync (upload) command:","Comando post-sincronizzazione (upload):" },
714{ "Fill in default values for:","Inserisci valute standard per:" },
715{ "Hint: Use $PWD$ for placeholder of password!","Suggerimento: utilizza $PWD$ per proprietari di password!" },
716{ "Synchronization Preferences","preferenze di sincronizzazione"},
717{ "Device","Periferica:" },
718{ "Sync with file \n...%1\nfrom:\n%2\n","Sincronizza con file \n...%1\nda:\n%2\n" },
719{ "Synchronization summary:\n\n %d items added to local\n %d items added to remote\n %d items updated on local\n %d items updated on remote\n %d items deleted on local\n %d items deleted on remote\n","Resoconto sincronizzazione:\n\n %d articoli aggiunti in locale\n %d articoli aggiunti in remoto\n %d articoli aggiornati in locale\n %d articoli aggiornati in remoto\n %d articoli eliminati in locale\n %d articoli eliminati in remoto\n" },
720{ "Synchronization successful","Sincronizzazione eseguita con successo" },
721eNessun file sincronizzato." },
722{ "Sync file \n...%1\ndoes not exist!\nNothing synced!\n","File sincronizzato\n...%1\non esistente!\nNessun file sincronizzato!\n" },
723{ "Sync filename(*.ics/*.vcs)","Nome file sincronizzato(*.ics/*.vcs)" },
724{ "Enter password","Inserire password" },
725{ "Do you really want\nto remote sync\nwith profile \n","Sei sicuro di voler\nsincronizzare in remoto\nil Profilo? \n" },
726{ "Copy remote file to local machine...","Copia file remoto su macchina locale..." },
727{ "Sorry, the copy command failed!\nCommand was:\n%1\n \nTry command on console to get more\ndetailed info about the reason.\n","Il comando copia è fallito!\nIl comando era:\n%1\n \nVerifica il comando per ottenere maggiori informazioni sul motivo.\n" },
728{ "Writing back file result: ","Risultati riscrittura file: " },
729{ "Syncronization sucessfully completed","Sincronizzazione completata con successo" },
730{ "Edit Calendar Filters","Edit filtri calendario" },
731{ "Enter filter name:","Inserisci nome filtro:" },
732{ "Add Filter","Aggiungi filtro" },
733{ "Question","Domanda" },
734{ "Filter position: ","Filter Position: " },
735{ "Month View","Vista Mese" },
736{ "This profil cannot be deleted!\n","Questo profilo non può essere eliminato!" },
737{ "KO/Pi config error","Errore configurazione KO/Pi" },
738{ "Local device name undefined!\nPlease define device name!","Nome periferica locale non definito!\nPrecisare nome!" },
739{ "Multiple profiles with same name!\nPlease use unique profile names!","Esistono più profili con lo stesso nome!\nScegliere nomi differenziati!" },
740{ "Access: ","Accesso: " },
741{ "Needs Action","Azione necessaria" },
742{ "Accepted","Accettato" },
743{ "Declined","Rifiutato" },
744{ "Tentative","Tentato" },
745{ "Delegated","Delegato" },
746{ "Completed","Completo" },
747{ "In Process","In esecuzione" },
748{ "Participant","Partecipante" },
749{ "Optional Participant","Partecipante opzionale" },
750{ "Observer","Osservatore" },
751{ "Chair","Moderatore" },
752{ "Not supported \non desktop!\n","Non supportato\" },
753{ "Nothing selected!\n\nThis prints the full width of the Agenda view as you see it!\n\nTo determine the vertical range of the printing, please select\na vertical range (with the left mouse button down) in one column. ","Nessuna zona selezionata!\nQuesto stampa l'intera larghezza della vista agenda, come visualizzato.\nPer determinare il campo verticale da stampare,\nselezionare un campo verticale (con il tasto sinistro del mouse)\n in una colonna. " },
754{ "Date range: ","Intervallo data: " },
755{ "Not supported \non PDA!\n","Non supportato\nin PDA. " },
756{ "Syncing - close to abort!","Sincronizzazione-chiudere per interrompere." },
757{ "Add / remove events","Aggiungi/Elimina eventi" },
758{ "File does not exist:\n '%1'.","File non esistente:\n '%1'." },
759{ "Couldn't load calendar\n '%1'.","Impossibile caricare calendario:\n '%1'." },
760{ "\nThe file on disk has changed!\nFile size: %1 bytes.\nLast modified: %2\nDo you want to:\n\n - Save and overwrite file?\n - Sync with file, then save?\n - Cancel without saving? \n","\nIl file su disco è stato modificato!\nDimensioni file: %1 Bytes.\Ultima modifica: %2\nVuoi:\n\n - salvare e sovrascrivere il file?\n - Sincronizzare con il file, poi salvare?\n - Eliminare senza salvare? \n" },
761{ "Overwrite","Sovrascrivi" },
762{ "Sync+save","Sincronizza+salva" },
763{ "Default","Standard" },
764{ " Categories added to list! "," Categorie aggiunte alla lista! " },
765{ " %d items?"," %d articoli?" },
766{ "\nThis event recurs\nover multiple dates.\nAre you sure you want\nto delete this event\nand all its recurrences?","\nQuesto evento\nsi ripete!.\nSei sicuro\ndie voler cancellare questo evento e tutte le sue ripetizioni?" },
767{ " ?\n\nDelete:\n"," ?\n\nEliminato:\n" },
768{ "Current","Corrente" },
769{ "\nThis event recurs\nover multiple dates.\nDo you want to delete\nall it's recurrences,\nor only the current one on:\n","\nQuesto evento si ripete!\nVuoi cancellare tutte le sue ripetizioni o solo quella corrente del:\n" },
770{ "All","Tutto" },
771{ "Data Loss Warning","Attenzione perdita data" },
772{ "Proceed","Avanti" },
773{ "The journal entries can not be\nexported to a vCalendar file.","Le entrate del giornale non possono essere esportate su un file calendario!" },
774{ "Filter disabled ","Filtro disattivato" },
775{ "Filter selected: ","Filtro selezionato: " },
776{ "Toggle Cancel","variazione cancellata" },
777{ "&Toggle Cancel","Variazione cancellata" },
778{ "Configure Toolbar","Configura barra strumenti" },
779{ "Stretched TB","TB Esteso" },
780{ "Import file \n...%1\ndoes not exist!\nNothing imported!\n","File importato\n...%1\nnon esistente!\nNessun file importato!\n" },
781{ "Import filename(*.ics/*.vcs)","Importa nome file(*.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","Con l'importazione di un calendario gli eventi doppi saranno ignorati!\nE' possibile creare un file di backup con\File - Salva calendario in Backup\nper tornare indietro con l'importazione.\n" },
783{ "Not supported \non desktop!\n","Non supportato su PDA!" },
784{ "Imported file successfully","File importato con successo" },
785{ "Error importing file","Errore durante importazione file" },
786{ "Export vcal filename(*.vcs)","Esporta vcal nome file(*.vcs)" },
787{ "Save file\nalready exists!\nOld save file from:\n%1\nOverwrite?\n","Salva file\già esistente!\nFile precedentemente salvato da:\n%1\nsovrascrivere?\n" },
788{ "Overwrite!","Sovrascrivi!" },
789{ "Import file \n...%1\nfrom:\n%2\nDuplicated entries\nwill not be imported!\n","Importa file\n...%1\nda:\n%2\nentrate duplicate\nnon saranno importate!\n" },
790{ "Load backup filename","carica nome file in Backup" },
791{ "Backup file\ndoes not exist!\nNothing loaded!","File in Backup\nnon esistente!\nNessun file caricato!" },
792{ "KO/Pi:Loaded %1","KO/Pi:Caricato %1" },
793{ "Save backup filename","Salva nome file in Backup" },
794{ "Backup file\nalready exists!\nOld backup file from:\n%1\nOverwrite?\n","File in Backup\ngià esistente!\nFile in backup precedente:\n%1\nsovrascrivere?\n" },
795{ "KO/Pi:Saved %1","KO/Pi:Salvato %1" },
796{ "Details of attendee","Dettagli partecipante" },
797{ "Work phone:\n","Telefono lavoro:\n" },
798{ "Work mobile phone:\n","Cellulare lavoro:\n" },
799{ "Home phone:\n","Telefono casa:\n" },
800{ "Mobile home phone:\n","Cellulare privato:\n" },
801{ "Email:\n","E-mail:\n" },
802{ "Alarm disabled","Allarme disattivato" },
803{ "Audio.Al.: ","Audio Allarme: " },
804{ "Proc.Al.: ","Proc.Allarme: " },
805{ "No sound set","nessun suono selezionato" },
806{ "*.wav|Wav Files","*.wav|Wav file" },
807{ "No program set","Nessun programma selezionato" },
808{ "Running '%1'","In corso '%1'" },
809{ "Playing '%1'","Riproduzione '%1'" },
810{ "Show Sync Events in WN/Agenda view","Mostra eventi sincronizzati nella vista WN/Agenda" },
811{ "User defined (usertranslation.txt)","Utente definito (usertranslation.txt)" },
812{ "Load!","Caricamento!" },
813{ "Backup file from:\n%1\nLoading backup\nfile will delete\nyour current Data!\n","File in Backup da:\n%1\nCaricamento file Backup\ncancella le date correnti!\n" },
814{ "KO/Pi Features and hints","KO/Pi Caratteristiche e suggerimenti" },
815{ "KO/Pi User translation HowTo","KO/Pi Traduzione per l'utente HowTo" },
816{ "KO/Pi Synchronization HowTo","KO/Pi Sincronizzazione HowTo" },
817{ "Features + hints...","Caratteristiche + Suggerimenti..." },
818{ "User translation...","Traduzione per l'utente...ut" },
819{ "Sync HowTo..."G,"Sincronizzazione HowTo..." },
820{ "","" },
821{ "","" },
822{ "","" },
823{ "","" },
824{ "","" },
825{ "","" },
826{ "","" },
827{ "","" },
828{ "","" },
829{ "","" },
830{ "","" },
831
832</div> \ No newline at end of file
diff --git a/korganizer/koprefs.cpp b/korganizer/koprefs.cpp
index 13035e0..2cfb382 100644
--- a/korganizer/koprefs.cpp
+++ b/korganizer/koprefs.cpp
@@ -156,415 +156,417 @@ KOPrefs::KOPrefs() :
156 addItemInt("Default Alarm Time",&mAlarmTime,3); 156 addItemInt("Default Alarm Time",&mAlarmTime,3);
157 addItemInt("Daylight Savings",&mDaylightSavings,0); 157 addItemInt("Daylight Savings",&mDaylightSavings,0);
158 KPrefs::setCurrentGroup("AlarmSettings"); 158 KPrefs::setCurrentGroup("AlarmSettings");
159 addItemInt("AlarmPlayBeeps",&mAlarmPlayBeeps,20); 159 addItemInt("AlarmPlayBeeps",&mAlarmPlayBeeps,20);
160 addItemInt("AlarmSuspendTime",&mAlarmSuspendTime,7); 160 addItemInt("AlarmSuspendTime",&mAlarmSuspendTime,7);
161 addItemInt("AlarmSuspendCount",&mAlarmSuspendCount,5); 161 addItemInt("AlarmSuspendCount",&mAlarmSuspendCount,5);
162 addItemInt("AlarmBeepInterval",&mAlarmBeepInterval,3); 162 addItemInt("AlarmBeepInterval",&mAlarmBeepInterval,3);
163 163
164 164
165 KPrefs::setCurrentGroup("Calendar"); 165 KPrefs::setCurrentGroup("Calendar");
166 166
167 addItemInt("Default Calendar Format",&mDefaultFormat,FormatICalendar); 167 addItemInt("Default Calendar Format",&mDefaultFormat,FormatICalendar);
168 168
169 KPrefs::setCurrentGroup("Fonts"); 169 KPrefs::setCurrentGroup("Fonts");
170 // qDebug(" KPrefs::setCurrentGroup(Fonts); "); 170 // qDebug(" KPrefs::setCurrentGroup(Fonts); ");
171 addItemFont("TimeBar Font",&mTimeBarFont); 171 addItemFont("TimeBar Font",&mTimeBarFont);
172 addItemFont("MonthView Font",&mMonthViewFont); 172 addItemFont("MonthView Font",&mMonthViewFont);
173 addItemFont("AgendaView Font",&mAgendaViewFont); 173 addItemFont("AgendaView Font",&mAgendaViewFont);
174 addItemFont("MarcusBains Font",&mMarcusBainsFont); 174 addItemFont("MarcusBains Font",&mMarcusBainsFont);
175 addItemFont("TimeLabels Font",&mTimeLabelsFont); 175 addItemFont("TimeLabels Font",&mTimeLabelsFont);
176 addItemFont("TodoView Font",&mTodoViewFont); 176 addItemFont("TodoView Font",&mTodoViewFont);
177 addItemFont("ListView Font",&mListViewFont); 177 addItemFont("ListView Font",&mListViewFont);
178 addItemFont("DateNavigator Font",&mDateNavigatorFont); 178 addItemFont("DateNavigator Font",&mDateNavigatorFont);
179 addItemFont("EditBox Font",&mEditBoxFont); 179 addItemFont("EditBox Font",&mEditBoxFont);
180 addItemFont("JournalView Font",&mJornalViewFont); 180 addItemFont("JournalView Font",&mJornalViewFont);
181 addItemFont("WhatsNextView Font",&mWhatsNextFont); 181 addItemFont("WhatsNextView Font",&mWhatsNextFont);
182 addItemFont("EventView Font",&mEventViewFont); 182 addItemFont("EventView Font",&mEventViewFont);
183 183
184// KPrefs::setCurrentGroup("SyncProfiles"); 184// KPrefs::setCurrentGroup("SyncProfiles");
185// addItemString("LocalMachineName",&mLocalMachineName, "undefined"); 185// addItemString("LocalMachineName",&mLocalMachineName, "undefined");
186// addItemStringList("SyncProfileNames",&mSyncProfileNames); 186// addItemStringList("SyncProfileNames",&mSyncProfileNames);
187// addItemStringList("ExternSyncProfiles",&mExternSyncProfileNames); 187// addItemStringList("ExternSyncProfiles",&mExternSyncProfileNames);
188 188
189 KPrefs::setCurrentGroup("RemoteSyncing"); 189 KPrefs::setCurrentGroup("RemoteSyncing");
190// addItemBool("UsePasswd",&mUsePassWd,false); 190// addItemBool("UsePasswd",&mUsePassWd,false);
191// addItemBool("WriteBackFile",&mWriteBackFile,true); 191// addItemBool("WriteBackFile",&mWriteBackFile,true);
192// addItemBool("WriteBackExistingOnly",&mWriteBackExistingOnly,false); 192// addItemBool("WriteBackExistingOnly",&mWriteBackExistingOnly,false);
193// addItemBool("AskForPreferences",&mAskForPreferences,true); 193// addItemBool("AskForPreferences",&mAskForPreferences,true);
194// addItemBool("ShowSyncSummary",&mShowSyncSummary,true); 194// addItemBool("ShowSyncSummary",&mShowSyncSummary,true);
195 addItemString("ActiveSyncPort",&mActiveSyncPort,"9197" ); 195 addItemString("ActiveSyncPort",&mActiveSyncPort,"9197" );
196 addItemString("ActiveSyncIP",&mActiveSyncIP,"192.168.0.40" ); 196 addItemString("ActiveSyncIP",&mActiveSyncIP,"192.168.0.40" );
197 addItemBool("ShowSyncEvents",&mShowSyncEvents,false); 197 addItemBool("ShowSyncEvents",&mShowSyncEvents,false);
198 addItemInt("LastSyncTime",&mLastSyncTime,0); 198 addItemInt("LastSyncTime",&mLastSyncTime,0);
199 199
200#ifdef _WIN32_ 200#ifdef _WIN32_
201 QString hdp= locateLocal("data","korganizer")+"\\\\"; 201 QString hdp= locateLocal("data","korganizer")+"\\\\";
202#else 202#else
203 QString hdp= locateLocal("data","korganizer")+"/"; 203 QString hdp= locateLocal("data","korganizer")+"/";
204#endif 204#endif
205// addItemString("RemoteIP",&mRemoteIP, "192.168.0.65"); 205// addItemString("RemoteIP",&mRemoteIP, "192.168.0.65");
206// addItemString("RemoteUser",&mRemoteUser, "zaurus"); 206// addItemString("RemoteUser",&mRemoteUser, "zaurus");
207// addItemString("RemotePassWd",&mRemotePassWd, ""); 207// addItemString("RemotePassWd",&mRemotePassWd, "");
208// addItemString("RemoteFile", &mRemoteFile, hdp+"mycalendar.ics"); 208// addItemString("RemoteFile", &mRemoteFile, hdp+"mycalendar.ics");
209// addItemString("LocalTempFile",&mLocalTempFile, "/tmp/tempsyncfile.ics" ); 209// addItemString("LocalTempFile",&mLocalTempFile, "/tmp/tempsyncfile.ics" );
210 210
211 211
212 KPrefs::setCurrentGroup("LoadSaveFileNames"); 212 KPrefs::setCurrentGroup("LoadSaveFileNames");
213 213
214 addItemString("LastImportFile", &mLastImportFile ,hdp +"import.ics" ); 214 addItemString("LastImportFile", &mLastImportFile ,hdp +"import.ics" );
215 addItemString("LastVcalFile", &mLastVcalFile ,hdp +"export.vcs" ); 215 addItemString("LastVcalFile", &mLastVcalFile ,hdp +"export.vcs" );
216 addItemString("LastSaveFile", &mLastSaveFile ,hdp +"mybackup.ics" ); 216 addItemString("LastSaveFile", &mLastSaveFile ,hdp +"mybackup.ics" );
217 addItemString("LastLoadFile", &mLastLoadFile ,hdp +"mybackup.ics" ); 217 addItemString("LastLoadFile", &mLastLoadFile ,hdp +"mybackup.ics" );
218 218
219 219
220 KPrefs::setCurrentGroup("Locale"); 220 KPrefs::setCurrentGroup("Locale");
221 addItemInt("PreferredLanguage",&mPreferredLanguage,0); 221 addItemInt("PreferredLanguage",&mPreferredLanguage,0);
222 addItemInt("PreferredTime",&mPreferredTime,0); 222 addItemInt("PreferredTime",&mPreferredTime,0);
223 addItemInt("PreferredDate",&mPreferredDate,0); 223 addItemInt("PreferredDate",&mPreferredDate,0);
224 addItemBool("WeekStartsOnSunday",&mWeekStartsOnSunday,false); 224 addItemBool("WeekStartsOnSunday",&mWeekStartsOnSunday,false);
225 addItemBool("ShortDateInViewer",&mShortDateInViewer,false); 225 addItemBool("ShortDateInViewer",&mShortDateInViewer,false);
226 addItemString("UserDateFormatLong", &mUserDateFormatLong, "%A %d %b %y"); 226 addItemString("UserDateFormatLong", &mUserDateFormatLong, "%A %d %b %y");
227 addItemString("UserDateFormatShort", &mUserDateFormatShort, "%aK %d.%m.%y"); 227 addItemString("UserDateFormatShort", &mUserDateFormatShort, "%aK %d.%m.%y");
228 228
229 229
230 KPrefs::setCurrentGroup("Colors"); 230 KPrefs::setCurrentGroup("Colors");
231 addItemColor("Holiday Color",&mHolidayColor,defaultHolidayColor); 231 addItemColor("Holiday Color",&mHolidayColor,defaultHolidayColor);
232 addItemColor("Highlight Color",&mHighlightColor,defaultHighlightColor); 232 addItemColor("Highlight Color",&mHighlightColor,defaultHighlightColor);
233 addItemColor("Event Color",&mEventColor,mDefaultCategoryColor); 233 addItemColor("Event Color",&mEventColor,mDefaultCategoryColor);
234 addItemColor("Agenda Background Color",&mAgendaBgColor,defaultAgendaBgColor); 234 addItemColor("Agenda Background Color",&mAgendaBgColor,defaultAgendaBgColor);
235 addItemColor("WorkingHours Color",&mWorkingHoursColor,defaultWorkingHoursColor); 235 addItemColor("WorkingHours Color",&mWorkingHoursColor,defaultWorkingHoursColor);
236 addItemColor("Todo due today Color",&mTodoDueTodayColor,defaultTodoDueTodayColor); 236 addItemColor("Todo due today Color",&mTodoDueTodayColor,defaultTodoDueTodayColor);
237 addItemColor("Todo overdue Color",&mTodoOverdueColor,defaultTodoOverdueColor); 237 addItemColor("Todo overdue Color",&mTodoOverdueColor,defaultTodoOverdueColor);
238 addItemColor("MonthViewEvenColor",&mMonthViewEvenColor,QColor( 160,160,255 )); 238 addItemColor("MonthViewEvenColor",&mMonthViewEvenColor,QColor( 160,160,255 ));
239 addItemColor("MonthViewOddColor",&mMonthViewOddColor,QColor( 160,255,160 )); 239 addItemColor("MonthViewOddColor",&mMonthViewOddColor,QColor( 160,255,160 ));
240 addItemColor("MonthViewHolidayColor",&mMonthViewHolidayColor,QColor( 255,160,160 )); 240 addItemColor("MonthViewHolidayColor",&mMonthViewHolidayColor,QColor( 255,160,160 ));
241 addItemBool("MonthViewUsesDayColors",&mMonthViewUsesDayColors,true); 241 addItemBool("MonthViewUsesDayColors",&mMonthViewUsesDayColors,true);
242 addItemBool("MonthViewSatSunTog",&mMonthViewSatSunTog,true); 242 addItemBool("MonthViewSatSunTog",&mMonthViewSatSunTog,true);
243 addItemBool("HightlightDateTimeEdit",&mHightlightDateTimeEdit,false); 243 addItemBool("HightlightDateTimeEdit",&mHightlightDateTimeEdit,false);
244 addItemColor("AppColor1",&mAppColor1,QColor( 130,170,255 )); 244 addItemColor("AppColor1",&mAppColor1,QColor( 130,170,255 ));
245 addItemColor("AppColor2",&mAppColor2,QColor( 174,216,255 )); 245 addItemColor("AppColor2",&mAppColor2,QColor( 174,216,255 ));
246 addItemBool("UseAppColors",&mUseAppColors,false); 246 addItemBool("UseAppColors",&mUseAppColors,false);
247 247
248 248
249 249
250 KPrefs::setCurrentGroup("Views"); 250 KPrefs::setCurrentGroup("Views");
251 addItemInt("Hour Size",&mHourSize,8); 251 addItemInt("Hour Size",&mHourSize,8);
252 addItemBool("Show Daily Recurrences",&mDailyRecur,true); 252 addItemBool("Show Daily Recurrences",&mDailyRecur,true);
253 addItemBool("Show Weekly Recurrences",&mWeeklyRecur,true); 253 addItemBool("Show Weekly Recurrences",&mWeeklyRecur,true);
254 addItemBool("Show Month Daily Recurrences",&mMonthDailyRecur,true); 254 addItemBool("Show Month Daily Recurrences",&mMonthDailyRecur,true);
255 addItemBool("Show Month Weekly Recurrences",&mMonthWeeklyRecur,true); 255 addItemBool("Show Month Weekly Recurrences",&mMonthWeeklyRecur,true);
256 addItemBool("ShowShortMonthName",&mMonthShowShort,false); 256 addItemBool("ShowShortMonthName",&mMonthShowShort,false);
257 addItemBool("ShowIconsInMonthCell",&mMonthShowIcons,true); 257 addItemBool("ShowIconsInMonthCell",&mMonthShowIcons,true);
258 addItemBool("Enable ToolTips",&mEnableToolTips,false); 258 addItemBool("Enable ToolTips",&mEnableToolTips,false);
259 addItemBool("Enable MonthView ScrollBars",&mEnableMonthScroll,false); 259 addItemBool("Enable MonthView ScrollBars",&mEnableMonthScroll,false);
260 addItemBool("Marcus Bains shows seconds",&mMarcusBainsShowSeconds,false); 260 addItemBool("Marcus Bains shows seconds",&mMarcusBainsShowSeconds,false);
261 addItemBool("Show Marcus Bains",&mMarcusBainsEnabled,true); 261 addItemBool("Show Marcus Bains",&mMarcusBainsEnabled,true);
262 addItemBool("EditOnDoubleClick",&mEditOnDoubleClick,true); 262 addItemBool("EditOnDoubleClick",&mEditOnDoubleClick,true);
263 addItemBool("ViewChangeHoldFullscreen",&mViewChangeHoldFullscreen,false); 263 addItemBool("ViewChangeHoldFullscreen",&mViewChangeHoldFullscreen,false);
264 addItemBool("ViewChangeHoldNonFullscreen",&mViewChangeHoldNonFullscreen,false); 264 addItemBool("ViewChangeHoldNonFullscreen",&mViewChangeHoldNonFullscreen,false);
265 addItemBool("CenterOnCurrentTime",&mCenterOnCurrentTime,false); 265 addItemBool("CenterOnCurrentTime",&mCenterOnCurrentTime,false);
266 addItemBool("SetTimeToDayStartAt",&mSetTimeToDayStartAt,true); 266 addItemBool("SetTimeToDayStartAt",&mSetTimeToDayStartAt,true);
267 addItemBool("HighlightCurrentDay",&mHighlightCurrentDay,true); 267 addItemBool("HighlightCurrentDay",&mHighlightCurrentDay,true);
268 addItemBool("WNViewShowsParents",&mWNViewShowsParents,true); 268 addItemBool("WNViewShowsParents",&mWNViewShowsParents,true);
269 addItemBool("WNViewShowLocation",&mWNViewShowLocation,false); 269 addItemBool("WNViewShowLocation",&mWNViewShowLocation,false);
270 addItemBool("UseHighlightLightColor",&mUseHighlightLightColor,false); 270 addItemBool("UseHighlightLightColor",&mUseHighlightLightColor,false);
271 addItemBool("ListViewMonthTimespan",&mListViewMonthTimespan,true); 271 addItemBool("ListViewMonthTimespan",&mListViewMonthTimespan,true);
272 addItemBool("TodoViewUsesCatColors",&mTodoViewUsesCatColors,false); 272 addItemBool("TodoViewUsesCatColors",&mTodoViewUsesCatColors,false);
273 addItemBool("TodoViewShowsPercentage",&mTodoViewShowsPercentage,false); 273 addItemBool("TodoViewShowsPercentage",&mTodoViewShowsPercentage,false);
274 addItemBool("TodoViewUsesSmallFont",&mTodoViewUsesSmallFont,false); 274 addItemBool("TodoViewUsesSmallFont",&mTodoViewUsesSmallFont,false);
275 addItemBool("TodoViewUsesForegroundColor",&mTodoViewUsesForegroundColor,false); 275 addItemBool("TodoViewUsesForegroundColor",&mTodoViewUsesForegroundColor,false);
276 addItemBool("MonthViewUsesForegroundColor",&mMonthViewUsesForegroundColor,false); 276 addItemBool("MonthViewUsesForegroundColor",&mMonthViewUsesForegroundColor,false);
277#ifdef DESKTOP_VERSION 277#ifdef DESKTOP_VERSION
278 addItemBool("UseInternalAlarmNotification",&mUseInternalAlarmNotification,true); 278 addItemBool("UseInternalAlarmNotification",&mUseInternalAlarmNotification,true);
279#else 279#else
280 addItemBool("UseInternalAlarmNotification",&mUseInternalAlarmNotification,false); 280 addItemBool("UseInternalAlarmNotification",&mUseInternalAlarmNotification,false);
281#endif 281#endif
282 addItemInt("Day Begins",&mDayBegins,7); 282 addItemInt("Day Begins",&mDayBegins,7);
283 addItemInt("Working Hours Start",&mWorkingHoursStart,8); 283 addItemInt("Working Hours Start",&mWorkingHoursStart,8);
284 addItemInt("Working Hours End",&mWorkingHoursEnd,17); 284 addItemInt("Working Hours End",&mWorkingHoursEnd,17);
285 addItemBool("Exclude Holidays",&mExcludeHolidays,true); 285 addItemBool("Exclude Holidays",&mExcludeHolidays,true);
286 addItemBool("Exclude Saturdays",&mExcludeSaturdays,true); 286 addItemBool("Exclude Saturdays",&mExcludeSaturdays,true);
287 287
288 addItemBool("Month View Uses Category Color",&mMonthViewUsesCategoryColor,false); 288 addItemBool("Month View Uses Category Color",&mMonthViewUsesCategoryColor,false);
289 addItemBool("Full View Month",&mFullViewMonth,true); 289 addItemBool("Full View Month",&mFullViewMonth,true);
290 addItemBool("Full View Todo",&mFullViewTodo,true); 290 addItemBool("Full View Todo",&mFullViewTodo,true);
291 addItemBool("Quick Todo",&mEnableQuickTodo,false); 291 addItemBool("Quick Todo",&mEnableQuickTodo,false);
292 292
293 addItemInt("Next X Days",&mNextXDays,3); 293 addItemInt("Next X Days",&mNextXDays,3);
294 294
295 KPrefs::setCurrentGroup("Printer"); 295 KPrefs::setCurrentGroup("Printer");
296 296
297 KPrefs::setCurrentGroup("Layout"); 297 KPrefs::setCurrentGroup("Layout");
298 298
299 addItemBool("CompactDialogs",&mCompactDialogs,false); 299 addItemBool("CompactDialogs",&mCompactDialogs,false);
300 addItemBool("VerticalScreen",&mVerticalScreen,true); 300 addItemBool("VerticalScreen",&mVerticalScreen,true);
301 301
302 KPrefs::setCurrentGroup("KOrganizer Plugins"); 302 KPrefs::setCurrentGroup("KOrganizer Plugins");
303 303
304 addItemStringList("SelectedPlugins",&mSelectedPlugins,"holidays"); 304 addItemStringList("SelectedPlugins",&mSelectedPlugins,"holidays");
305 305
306 KPrefs::setCurrentGroup("Group Scheduling"); 306 KPrefs::setCurrentGroup("Group Scheduling");
307 307
308 addItemInt("IMIPScheduler",&mIMIPScheduler,IMIPKMail); 308 addItemInt("IMIPScheduler",&mIMIPScheduler,IMIPKMail);
309 addItemInt("IMIPSend",&mIMIPSend,IMIPdirectsend); 309 addItemInt("IMIPSend",&mIMIPSend,IMIPdirectsend);
310 addItemStringList("AdditionalMails",&mAdditionalMails,""); 310 addItemStringList("AdditionalMails",&mAdditionalMails,"");
311 addItemInt("IMIP auto refresh",&mIMIPAutoRefresh,neverAuto); 311 addItemInt("IMIP auto refresh",&mIMIPAutoRefresh,neverAuto);
312 addItemInt("IMIP auto insert request",&mIMIPAutoInsertRequest,neverAuto); 312 addItemInt("IMIP auto insert request",&mIMIPAutoInsertRequest,neverAuto);
313 addItemInt("IMIP auto insert reply",&mIMIPAutoInsertReply,neverAuto); 313 addItemInt("IMIP auto insert reply",&mIMIPAutoInsertReply,neverAuto);
314 addItemInt("IMIP auto FreeBusy",&mIMIPAutoFreeBusy,neverAuto); 314 addItemInt("IMIP auto FreeBusy",&mIMIPAutoFreeBusy,neverAuto);
315 addItemInt("IMIP auto save FreeBusy",&mIMIPAutoFreeBusyReply,neverAuto); 315 addItemInt("IMIP auto save FreeBusy",&mIMIPAutoFreeBusyReply,neverAuto);
316 316
317 KPrefs::setCurrentGroup( "Editors" ); 317 KPrefs::setCurrentGroup( "Editors" );
318 318
319 addItemStringList( "EventTemplates", &mEventTemplates ); 319 addItemStringList( "EventTemplates", &mEventTemplates );
320 addItemStringList( "TodoTemplates", &mTodoTemplates ); 320 addItemStringList( "TodoTemplates", &mTodoTemplates );
321 321
322 addItemInt("DestinationPolicy",&mDestination,standardDestination); 322 addItemInt("DestinationPolicy",&mDestination,standardDestination);
323 323
324 324
325 325
326} 326}
327 327
328 328
329KOPrefs::~KOPrefs() 329KOPrefs::~KOPrefs()
330{ 330{
331 if (mInstance == this) 331 if (mInstance == this)
332 mInstance = insd.setObject(0); 332 mInstance = insd.setObject(0);
333 setLocaleDict( 0 ); 333 setLocaleDict( 0 );
334 if ( mLocaleDict ) 334 if ( mLocaleDict )
335 delete mLocaleDict; 335 delete mLocaleDict;
336 //qDebug("KOPrefs::~KOPrefs() "); 336 //qDebug("KOPrefs::~KOPrefs() ");
337} 337}
338 338
339 339
340KOPrefs *KOPrefs::instance() 340KOPrefs *KOPrefs::instance()
341{ 341{
342 if (!mInstance) { 342 if (!mInstance) {
343 mInstance = insd.setObject(new KOPrefs()); 343 mInstance = insd.setObject(new KOPrefs());
344 mInstance->readConfig(); 344 mInstance->readConfig();
345 } 345 }
346 346
347 return mInstance; 347 return mInstance;
348} 348}
349 349
350void KOPrefs::usrSetDefaults() 350void KOPrefs::usrSetDefaults()
351{ 351{
352 352
353} 353}
354 354
355void KOPrefs::fillMailDefaults() 355void KOPrefs::fillMailDefaults()
356{ 356{
357 if (mName.isEmpty()) mName = i18n("Anonymous"); 357 if (mName.isEmpty()) mName = i18n("Anonymous");
358 if (mEmail.isEmpty()) mEmail = i18n("nobody@nowhere"); 358 if (mEmail.isEmpty()) mEmail = i18n("nobody@nowhere");
359} 359}
360 360
361void KOPrefs::setTimeZoneIdDefault() 361void KOPrefs::setTimeZoneIdDefault()
362{ 362{
363 mTimeZoneId = i18n("+01:00 Europe/Oslo(CET)"); 363 mTimeZoneId = i18n("+01:00 Europe/Oslo(CET)");
364} 364}
365 365
366void KOPrefs::setCategoryDefaults() 366void KOPrefs::setCategoryDefaults()
367{ 367{
368 mCustomCategories.clear(); 368 mCustomCategories.clear();
369 mCustomCategories = getDefaultList(); 369 mCustomCategories = getDefaultList();
370 370
371 QStringList::Iterator it; 371 QStringList::Iterator it;
372 for (it = mCustomCategories.begin();it != mCustomCategories.end();++it ) { 372 for (it = mCustomCategories.begin();it != mCustomCategories.end();++it ) {
373 setCategoryColor(*it,mDefaultCategoryColor); 373 setCategoryColor(*it,mDefaultCategoryColor);
374 } 374 }
375} 375}
376 376
377QStringList KOPrefs::getDefaultList() 377QStringList KOPrefs::getDefaultList()
378{ 378{
379 QStringList retval ; 379 QStringList retval ;
380 retval << i18n("Anniversary") << i18n("Appointment") << i18n("Birthday") << i18n("Business") << i18n("Business Travel") << i18n("Cinema") << i18n("Customer") 380 retval << i18n("Anniversary") << i18n("Appointment") << i18n("Birthday") << i18n("Business") << i18n("Business Travel") << i18n("Cinema") << i18n("Customer")
381 << i18n("Break")<< i18n("Breakfast")<< i18n("Competition")<< i18n("Dinner") 381 << i18n("Break")<< i18n("Breakfast")<< i18n("Competition")<< i18n("Dinner")
382 << i18n("Education")<< i18n("Family") << i18n("Favorites") << i18n("Festival")<< i18n("Fishing")<< i18n("Flight") << i18n("Gifts") 382 << i18n("Education")<< i18n("Family") << i18n("Favorites") << i18n("Festival")<< i18n("Fishing")<< i18n("Flight") << i18n("Gifts")
383 << i18n("Holiday") << i18n("Holiday Cards")<< i18n("Hot Contacts") << i18n("Hiking") << i18n("Hunting") << i18n("Key Customer") << i18n("Kids") 383 << i18n("Holiday") << i18n("Holiday Cards")<< i18n("Hot Contacts") << i18n("Hiking") << i18n("Hunting") << i18n("Key Customer") << i18n("Kids")
384 << i18n("Lunch") << i18n("Meeting") << i18n("Miscellaneous") << i18n("Partner")<< i18n("Party") << i18n("Personal") << i18n("Personal Travel") 384 << i18n("Lunch") << i18n("Meeting") << i18n("Miscellaneous") << i18n("Partner")<< i18n("Party") << i18n("Personal") << i18n("Personal Travel")
385 << i18n("PHB") << i18n("Phone Calls") << i18n("Projects") << i18n("Recurring") << i18n("School") << i18n("Shopping") 385 << i18n("PHB") << i18n("Phone Calls") << i18n("Projects") << i18n("Recurring") << i18n("School") << i18n("Shopping")
386 << i18n("Speach") << i18n("Special Occasion") << i18n("Sports") << i18n("Talk") << i18n("Travel") << i18n("TV")<< i18n("University") 386 << i18n("Speach") << i18n("Special Occasion") << i18n("Sports") << i18n("Talk") << i18n("Travel") << i18n("TV")<< i18n("University")
387 << i18n("Vacation") << i18n("VIP") << i18n("SyncEvent") ; 387 << i18n("Vacation") << i18n("VIP") << i18n("SyncEvent") ;
388 retval.sort(); 388 retval.sort();
389 return retval; 389 return retval;
390} 390}
391 391
392void KOPrefs::usrReadConfig() 392void KOPrefs::usrReadConfig()
393{ 393{
394 mPreferredLanguage = KPimGlobalPrefs::instance()->mPreferredLanguage; 394 mPreferredLanguage = KPimGlobalPrefs::instance()->mPreferredLanguage;
395 mLocaleDict = 0; 395 mLocaleDict = 0;
396 // pending LR fix translation 396 // pending LR fix translation
397 // qDebug("KOPrefs::usrReadConfig() fix translation "); 397 // qDebug("KOPrefs::usrReadConfig() fix translation ");
398 if ( mPreferredLanguage > 0 && mPreferredLanguage < 4 ) { 398 if ( mPreferredLanguage > 0 && mPreferredLanguage < 4 ) {
399 if ( mPreferredLanguage == 1 ) { 399 if ( mPreferredLanguage == 1 ) {
400 mLocaleDict = new QDict<QString>; 400 mLocaleDict = new QDict<QString>;
401 int i = 0; 401 int i = 0;
402 QString fw ( germanwords[i] [0]); 402 QString fw ( germanwords[i] [0]);
403 while ( !fw.isEmpty() ) { 403 while ( !fw.isEmpty() ) {
404 mLocaleDict->insert( fw, new QString (germanwords[i] [1] )); 404 mLocaleDict->insert( fw, new QString (germanwords[i] [1] ));
405 ++i; 405 ++i;
406 fw = germanwords[i] [0]; 406 fw = germanwords[i] [0];
407 } 407 }
408 408
409 setLocaleDict( mLocaleDict ); 409 setLocaleDict( mLocaleDict );
410 } else { 410 } else {
411 QString fileName ; 411 QString fileName ;
412 if ( mPreferredLanguage == 3 ) 412 if ( mPreferredLanguage == 4 )
413 fileName = MainWindow::resourcePath()+"usertranslation.txt"; 413 fileName = MainWindow::resourcePath()+"usertranslation.txt";
414 else if ( mPreferredLanguage == 2 ) 414 else if ( mPreferredLanguage == 2 )
415 fileName = MainWindow::resourcePath()+"frenchtranslation.txt"; 415 fileName = MainWindow::resourcePath()+"frenchtranslation.txt";
416 else if ( mPreferredLanguage == 3 )
417 fileName = MainWindow::resourcePath()+"italiantranslation.txt";
416 QFile file( fileName ); 418 QFile file( fileName );
417 if (file.open( IO_ReadOnly ) ) { 419 if (file.open( IO_ReadOnly ) ) {
418 QTextStream ts( &file ); 420 QTextStream ts( &file );
419 ts.setEncoding( QTextStream::Latin1 ); 421 ts.setEncoding( QTextStream::Latin1 );
420 //ts.setCodec( QTextCodec::latin1 ); 422 //ts.setCodec( QTextCodec::latin1 );
421 QString text = ts.read(); 423 QString text = ts.read();
422 file.close(); 424 file.close();
423 text.replace( QRegExp("\\\\n"), "\n" ); 425 text.replace( QRegExp("\\\\n"), "\n" );
424 QString line; 426 QString line;
425 QString we; 427 QString we;
426 QString wt; 428 QString wt;
427 int br = 0; 429 int br = 0;
428 int nbr; 430 int nbr;
429 nbr = text.find ( "},", br ); 431 nbr = text.find ( "},", br );
430 line = text.mid( br, nbr - br ); 432 line = text.mid( br, nbr - br );
431 br = nbr+1; 433 br = nbr+1;
432 int se, ee, st, et; 434 int se, ee, st, et;
433 mLocaleDict = new QDict<QString>; 435 mLocaleDict = new QDict<QString>;
434 QString end = "{ \"\",\"\" }"; 436 QString end = "{ \"\",\"\" }";
435 while ( (line != end) && (br > 1) ) { 437 while ( (line != end) && (br > 1) ) {
436 //qDebug("%d *%s* ", br, line.latin1()); 438 //qDebug("%d *%s* ", br, line.latin1());
437 se = line.find("\"")+1; 439 se = line.find("\"")+1;
438 et = line.findRev("\"",-1); 440 et = line.findRev("\"",-1);
439 ee = line.find("\",\""); 441 ee = line.find("\",\"");
440 st = ee+3; 442 st = ee+3;
441 we = line.mid( se, ee-se ); 443 we = line.mid( se, ee-se );
442 wt = line.mid( st, et-st ); 444 wt = line.mid( st, et-st );
443 //qDebug("*%s* *%s* ", we.latin1(), wt.latin1()); 445 //qDebug("*%s* *%s* ", we.latin1(), wt.latin1());
444 mLocaleDict->insert( we, new QString (wt) ); 446 mLocaleDict->insert( we, new QString (wt) );
445 nbr = text.find ( "}", br ); 447 nbr = text.find ( "}", br );
446 line = text.mid( br, nbr - br ); 448 line = text.mid( br, nbr - br );
447 br = nbr+1; 449 br = nbr+1;
448 } 450 }
449 //qDebug("end *%s* ", end.latin1()); 451 //qDebug("end *%s* ", end.latin1());
450 452
451 setLocaleDict( mLocaleDict ); 453 setLocaleDict( mLocaleDict );
452 } else { 454 } else {
453 qDebug("KO: Cannot find translation file %s",fileName.latin1() ); 455 qDebug("KO: Cannot find translation file %s",fileName.latin1() );
454 } 456 }
455 457
456 } 458 }
457 } 459 }
458 config()->setGroup("General"); 460 config()->setGroup("General");
459 461
460 mCustomCategories = config()->readListEntry("Custom Categories"); 462 mCustomCategories = config()->readListEntry("Custom Categories");
461 if ( KOPrefs::instance()->mLanguageChanged ) { 463 if ( KOPrefs::instance()->mLanguageChanged ) {
462 mLocationDefaults.clear(); 464 mLocationDefaults.clear();
463 mEventSummaryUser.clear(); 465 mEventSummaryUser.clear();
464 mTodoSummaryUser.clear(); 466 mTodoSummaryUser.clear();
465 } 467 }
466 if (mLocationDefaults.isEmpty()) { 468 if (mLocationDefaults.isEmpty()) {
467 mLocationDefaults << i18n("Home") << i18n("Office") << i18n("Library") << i18n("School") << i18n("Doctor") << i18n("Beach") 469 mLocationDefaults << i18n("Home") << i18n("Office") << i18n("Library") << i18n("School") << i18n("Doctor") << i18n("Beach")
468 << i18n("University") << i18n("Restaurant") << i18n("Bar") << i18n("Conference room") << i18n("Cinema") << i18n("Lake") << i18n("Kindergarten") 470 << i18n("University") << i18n("Restaurant") << i18n("Bar") << i18n("Conference room") << i18n("Cinema") << i18n("Lake") << i18n("Kindergarten")
469 << i18n("Germany") << i18n("Sweden") << i18n("Forest") << i18n("Desert") << i18n("Kitchen") ; 471 << i18n("Germany") << i18n("Sweden") << i18n("Forest") << i18n("Desert") << i18n("Kitchen") ;
470 // << i18n("") << i18n("") << i18n("") << i18n("") << i18n("") << i18n("") << i18n("") << i18n("") 472 // << i18n("") << i18n("") << i18n("") << i18n("") << i18n("") << i18n("") << i18n("") << i18n("")
471 mLocationDefaults.sort(); 473 mLocationDefaults.sort();
472 } 474 }
473 475
474 if (mEventSummaryUser.isEmpty()) { 476 if (mEventSummaryUser.isEmpty()) {
475 mEventSummaryUser = getDefaultList() ; 477 mEventSummaryUser = getDefaultList() ;
476 } 478 }
477 if (mTodoSummaryUser.isEmpty()) { 479 if (mTodoSummaryUser.isEmpty()) {
478 mTodoSummaryUser = getDefaultList() ; 480 mTodoSummaryUser = getDefaultList() ;
479 } 481 }
480 482
481 if (mCustomCategories.isEmpty()) setCategoryDefaults(); 483 if (mCustomCategories.isEmpty()) setCategoryDefaults();
482 484
483 config()->setGroup("Personal Settings"); 485 config()->setGroup("Personal Settings");
484 mName = config()->readEntry("user_name",""); 486 mName = config()->readEntry("user_name","");
485 mEmail = config()->readEntry("user_email",""); 487 mEmail = config()->readEntry("user_email","");
486 fillMailDefaults(); 488 fillMailDefaults();
487 489
488 config()->setGroup("Category Colors"); 490 config()->setGroup("Category Colors");
489 QStringList::Iterator it; 491 QStringList::Iterator it;
490 for (it = mCustomCategories.begin();it != mCustomCategories.end();++it ) { 492 for (it = mCustomCategories.begin();it != mCustomCategories.end();++it ) {
491 setCategoryColor(*it,config()->readColorEntry(*it,&mDefaultCategoryColor)); 493 setCategoryColor(*it,config()->readColorEntry(*it,&mDefaultCategoryColor));
492 494
493 } 495 }
494 496
495 if (mTimeZoneId.isEmpty()) { 497 if (mTimeZoneId.isEmpty()) {
496 setTimeZoneIdDefault(); 498 setTimeZoneIdDefault();
497 } 499 }
498 KPimPrefs::usrReadConfig(); 500 KPimPrefs::usrReadConfig();
499} 501}
500 502
501 503
502void KOPrefs::usrWriteConfig() 504void KOPrefs::usrWriteConfig()
503{ 505{
504 config()->setGroup("General"); 506 config()->setGroup("General");
505 config()->writeEntry("Custom Categories",mCustomCategories); 507 config()->writeEntry("Custom Categories",mCustomCategories);
506 508
507 config()->setGroup("Personal Settings"); 509 config()->setGroup("Personal Settings");
508 config()->writeEntry("user_name",mName); 510 config()->writeEntry("user_name",mName);
509 config()->writeEntry("user_email",mEmail); 511 config()->writeEntry("user_email",mEmail);
510 512
511 config()->setGroup("Category Colors"); 513 config()->setGroup("Category Colors");
512 QDictIterator<QColor> it(mCategoryColors); 514 QDictIterator<QColor> it(mCategoryColors);
513 while (it.current()) { 515 while (it.current()) {
514 config()->writeEntry(it.currentKey(),*(it.current())); 516 config()->writeEntry(it.currentKey(),*(it.current()));
515 ++it; 517 ++it;
516 } 518 }
517 519
518 520
519 KPimPrefs::usrWriteConfig(); 521 KPimPrefs::usrWriteConfig();
520} 522}
521 523
522void KOPrefs::setCategoryColor(QString cat,const QColor & color) 524void KOPrefs::setCategoryColor(QString cat,const QColor & color)
523{ 525{
524 mCategoryColors.replace(cat,new QColor(color)); 526 mCategoryColors.replace(cat,new QColor(color));
525} 527}
526 528
527QColor *KOPrefs::categoryColor(QString cat) 529QColor *KOPrefs::categoryColor(QString cat)
528{ 530{
529 QColor *color = 0; 531 QColor *color = 0;
530 532
531 if (!cat.isEmpty()) color = mCategoryColors[cat]; 533 if (!cat.isEmpty()) color = mCategoryColors[cat];
532 534
533 if (color) return color; 535 if (color) return color;
534 else return &mDefaultCategoryColor; 536 else return &mDefaultCategoryColor;
535} 537}
536 538
537void KOPrefs::setFullName(const QString &name) 539void KOPrefs::setFullName(const QString &name)
538{ 540{
539 mName = name; 541 mName = name;
540} 542}
541 543
542void KOPrefs::setEmail(const QString &email) 544void KOPrefs::setEmail(const QString &email)
543{ 545{
544 //qDebug(" KOPrefs::setEmai*********** %s",email.latin1() ); 546 //qDebug(" KOPrefs::setEmai*********** %s",email.latin1() );
545 mEmail = email; 547 mEmail = email;
546} 548}
547 549
548QString KOPrefs::fullName() 550QString KOPrefs::fullName()
549{ 551{
550 if (mEmailControlCenter) { 552 if (mEmailControlCenter) {
551 KEMailSettings settings; 553 KEMailSettings settings;
552 return settings.getSetting(KEMailSettings::RealName); 554 return settings.getSetting(KEMailSettings::RealName);
553 } else { 555 } else {
554 return mName; 556 return mName;
555 } 557 }
556} 558}
557 559
558QString KOPrefs::email() 560QString KOPrefs::email()
559{ 561{
560 if (mEmailControlCenter) { 562 if (mEmailControlCenter) {
561 KEMailSettings settings; 563 KEMailSettings settings;
562 return settings.getSetting(KEMailSettings::EmailAddress); 564 return settings.getSetting(KEMailSettings::EmailAddress);
563 } else { 565 } else {
564 return mEmail; 566 return mEmail;
565 } 567 }
566} 568}
567KConfig* KOPrefs::getConfig() 569KConfig* KOPrefs::getConfig()
568{ 570{
569 return config(); 571 return config();
570} 572}
diff --git a/libkdepim/kcmconfigs/kdepimconfigwidget.cpp b/libkdepim/kcmconfigs/kdepimconfigwidget.cpp
index 03034b4..1eef150 100644
--- a/libkdepim/kcmconfigs/kdepimconfigwidget.cpp
+++ b/libkdepim/kcmconfigs/kdepimconfigwidget.cpp
@@ -8,512 +8,513 @@
8 (at your option) any later version. 8 (at your option) any later version.
9 9
10 This program is distributed in the hope that it will be useful, 10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of 11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details. 13 GNU General Public License for more details.
14 14
15 You should have received a copy of the GNU General Public License 15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software 16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 17 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 18
19 As a special exception, permission is given to link this program 19 As a special exception, permission is given to link this program
20 with any edition of Qt, and distribute the resulting executable, 20 with any edition of Qt, and distribute the resulting executable,
21 without including the source code for Qt in the source distribution. 21 without including the source code for Qt in the source distribution.
22*/ 22*/
23 23
24/* 24/*
25Enhanced Version of the file for platform independent KDE tools. 25Enhanced Version of the file for platform independent KDE tools.
26Copyright (c) 2004 Ulf Schenk 26Copyright (c) 2004 Ulf Schenk
27 27
28$Id$ 28$Id$
29*/ 29*/
30 30
31#include <qlayout.h> 31#include <qlayout.h>
32#include <qtabwidget.h> 32#include <qtabwidget.h>
33#include <qcombobox.h> 33#include <qcombobox.h>
34#include <qgroupbox.h> 34#include <qgroupbox.h>
35#include <qlabel.h> 35#include <qlabel.h>
36#include <qlineedit.h> 36#include <qlineedit.h>
37#include <qbuttongroup.h> 37#include <qbuttongroup.h>
38#include <qfile.h> 38#include <qfile.h>
39#include <qregexp.h> 39#include <qregexp.h>
40 40
41#include <kdialog.h> 41#include <kdialog.h>
42#include <klocale.h> 42#include <klocale.h>
43#include <kdateedit.h> 43#include <kdateedit.h>
44#include <kglobal.h> 44#include <kglobal.h>
45#include <stdlib.h> 45#include <stdlib.h>
46 46
47/*US 47/*US
48#include <qcheckbox.h> 48#include <qcheckbox.h>
49#include <qframe.h> 49#include <qframe.h>
50#include <qpushbutton.h> 50#include <qpushbutton.h>
51#include <qcombobox.h> 51#include <qcombobox.h>
52#include <qlineedit.h> 52#include <qlineedit.h>
53#include <qlabel.h> 53#include <qlabel.h>
54#include <qfile.h> 54#include <qfile.h>
55 55
56#include <kconfig.h> 56#include <kconfig.h>
57#include <kdebug.h> 57#include <kdebug.h>
58#include <kdialog.h> 58#include <kdialog.h>
59#include <klistview.h> 59#include <klistview.h>
60#include <klocale.h> 60#include <klocale.h>
61#include <kglobal.h> 61#include <kglobal.h>
62#include <kmessagebox.h> 62#include <kmessagebox.h>
63#include <kstandarddirs.h> 63#include <kstandarddirs.h>
64 64
65#ifndef KAB_EMBEDDED 65#ifndef KAB_EMBEDDED
66#include <ktrader.h> 66#include <ktrader.h>
67#else // KAB_EMBEDDED 67#else // KAB_EMBEDDED
68#include <mergewidget.h> 68#include <mergewidget.h>
69#include <distributionlistwidget.h> 69#include <distributionlistwidget.h>
70#endif // KAB_EMBEDDED 70#endif // KAB_EMBEDDED
71 71
72#include "addresseewidget.h" 72#include "addresseewidget.h"
73#include "extensionconfigdialog.h" 73#include "extensionconfigdialog.h"
74#include "extensionwidget.h" 74#include "extensionwidget.h"
75*/ 75*/
76 76
77#include "qapplication.h" 77#include "qapplication.h"
78 78
79#include "kpimglobalprefs.h" 79#include "kpimglobalprefs.h"
80 80
81#include "kdepimconfigwidget.h" 81#include "kdepimconfigwidget.h"
82 82
83 83
84KDEPIMConfigWidget::KDEPIMConfigWidget(KPimGlobalPrefs *prefs, QWidget *parent, const char *name ) 84KDEPIMConfigWidget::KDEPIMConfigWidget(KPimGlobalPrefs *prefs, QWidget *parent, const char *name )
85 : KPrefsWidget(prefs, parent, name ) 85 : KPrefsWidget(prefs, parent, name )
86{ 86{
87 mExternalAppsMap.insert(ExternalAppHandler::EMAIL, i18n("Email")); 87 mExternalAppsMap.insert(ExternalAppHandler::EMAIL, i18n("Email"));
88 mExternalAppsMap.insert(ExternalAppHandler::PHONE, i18n("Phone")); 88 mExternalAppsMap.insert(ExternalAppHandler::PHONE, i18n("Phone"));
89 mExternalAppsMap.insert(ExternalAppHandler::SMS, i18n("SMS")); 89 mExternalAppsMap.insert(ExternalAppHandler::SMS, i18n("SMS"));
90 mExternalAppsMap.insert(ExternalAppHandler::FAX, i18n("Fax")); 90 mExternalAppsMap.insert(ExternalAppHandler::FAX, i18n("Fax"));
91 mExternalAppsMap.insert(ExternalAppHandler::PAGER, i18n("Pager")); 91 mExternalAppsMap.insert(ExternalAppHandler::PAGER, i18n("Pager"));
92 mExternalAppsMap.insert(ExternalAppHandler::SIP, i18n("SIP")); 92 mExternalAppsMap.insert(ExternalAppHandler::SIP, i18n("SIP"));
93 93
94 94
95 QVBoxLayout *topLayout = new QVBoxLayout( this, 0, 95 QVBoxLayout *topLayout = new QVBoxLayout( this, 0,
96 KDialog::spacingHint() ); 96 KDialog::spacingHint() );
97 97
98 tabWidget = new QTabWidget( this ); 98 tabWidget = new QTabWidget( this );
99 topLayout->addWidget( tabWidget ); 99 topLayout->addWidget( tabWidget );
100 100
101 101
102 setupLocaleTab(); 102 setupLocaleTab();
103 setupLocaleDateTab(); 103 setupLocaleDateTab();
104 setupTimeZoneTab(); 104 setupTimeZoneTab();
105 setupExternalAppTab(); 105 setupExternalAppTab();
106 106
107} 107}
108void KDEPIMConfigWidget::showTimeZoneTab() 108void KDEPIMConfigWidget::showTimeZoneTab()
109{ 109{
110 tabWidget->setCurrentPage ( 2 ) ; 110 tabWidget->setCurrentPage ( 2 ) ;
111} 111}
112void KDEPIMConfigWidget::setupExternalAppTab() 112void KDEPIMConfigWidget::setupExternalAppTab()
113{ 113{
114 QWidget *externalAppsPage = new QWidget( this ); 114 QWidget *externalAppsPage = new QWidget( this );
115 QVBoxLayout* layout = new QVBoxLayout( externalAppsPage, KDialog::marginHintSmall(), 115 QVBoxLayout* layout = new QVBoxLayout( externalAppsPage, KDialog::marginHintSmall(),
116 KDialog::spacingHintSmall() ); 116 KDialog::spacingHintSmall() );
117 117
118 mExternalApps = new QComboBox( externalAppsPage ); 118 mExternalApps = new QComboBox( externalAppsPage );
119 119
120 QMap<ExternalAppHandler::Types, QString>::Iterator it; 120 QMap<ExternalAppHandler::Types, QString>::Iterator it;
121 for( it = mExternalAppsMap.begin(); it != mExternalAppsMap.end(); ++it ) 121 for( it = mExternalAppsMap.begin(); it != mExternalAppsMap.end(); ++it )
122 mExternalApps->insertItem( it.data(), it.key() ); 122 mExternalApps->insertItem( it.data(), it.key() );
123 123
124 layout->addWidget( mExternalApps ); 124 layout->addWidget( mExternalApps );
125 125
126 connect( mExternalApps, SIGNAL( activated( int ) ), 126 connect( mExternalApps, SIGNAL( activated( int ) ),
127 this, SLOT (externalapp_changed( int ) ) ); 127 this, SLOT (externalapp_changed( int ) ) );
128 128
129 129
130 mExternalAppGroupBox = new QGroupBox( 0, Qt::Vertical, i18n( "Used Mail Client" ), externalAppsPage ); 130 mExternalAppGroupBox = new QGroupBox( 0, Qt::Vertical, i18n( "Used Mail Client" ), externalAppsPage );
131 QGridLayout *boxLayout = new QGridLayout( mExternalAppGroupBox->layout(), 4, 2, -1, "gridlayout" ); 131 QGridLayout *boxLayout = new QGridLayout( mExternalAppGroupBox->layout(), 4, 2, -1, "gridlayout" );
132 132
133 133
134 mClient = new QComboBox( mExternalAppGroupBox ); 134 mClient = new QComboBox( mExternalAppGroupBox );
135 boxLayout->addMultiCellWidget( mClient, 0, 0, 0, 1 ); 135 boxLayout->addMultiCellWidget( mClient, 0, 0, 0, 1 );
136 136
137 connect( mClient, SIGNAL( activated( int ) ), 137 connect( mClient, SIGNAL( activated( int ) ),
138 this, SLOT (client_changed( int ) ) ); 138 this, SLOT (client_changed( int ) ) );
139 139
140 QLabel* lab = new QLabel( i18n("Channel:"), mExternalAppGroupBox); 140 QLabel* lab = new QLabel( i18n("Channel:"), mExternalAppGroupBox);
141 boxLayout->addWidget( lab, 1, 0 ); 141 boxLayout->addWidget( lab, 1, 0 );
142 mChannel = new QLineEdit(mExternalAppGroupBox); 142 mChannel = new QLineEdit(mExternalAppGroupBox);
143 mChannel->setReadOnly(true); 143 mChannel->setReadOnly(true);
144 boxLayout->addMultiCellWidget( mChannel, 2 , 2, 0, 1 ); 144 boxLayout->addMultiCellWidget( mChannel, 2 , 2, 0, 1 );
145 145
146 lab = new QLabel( i18n("Message:"), mExternalAppGroupBox); 146 lab = new QLabel( i18n("Message:"), mExternalAppGroupBox);
147 boxLayout->addWidget( lab, 3, 0 ); 147 boxLayout->addWidget( lab, 3, 0 );
148 mMessage = new QLineEdit(mExternalAppGroupBox); 148 mMessage = new QLineEdit(mExternalAppGroupBox);
149 mMessage->setReadOnly(true); 149 mMessage->setReadOnly(true);
150 boxLayout->addWidget( mMessage , 4, 0); 150 boxLayout->addWidget( mMessage , 4, 0);
151 151
152 lab = new QLabel( i18n("Parameters:"), mExternalAppGroupBox); 152 lab = new QLabel( i18n("Parameters:"), mExternalAppGroupBox);
153 boxLayout->addWidget( lab, 3, 1 ); 153 boxLayout->addWidget( lab, 3, 1 );
154 mParameters = new QLineEdit(mExternalAppGroupBox); 154 mParameters = new QLineEdit(mExternalAppGroupBox);
155 mParameters->setReadOnly(true); 155 mParameters->setReadOnly(true);
156 boxLayout->addWidget( mParameters, 4, 1 ); 156 boxLayout->addWidget( mParameters, 4, 1 );
157 157
158 lab = new QLabel( i18n("HINT: Delimiter=; Name=%1,Email=%2"), mExternalAppGroupBox); 158 lab = new QLabel( i18n("HINT: Delimiter=; Name=%1,Email=%2"), mExternalAppGroupBox);
159 boxLayout->addMultiCellWidget( lab, 5, 5, 0, 1 ); 159 boxLayout->addMultiCellWidget( lab, 5, 5, 0, 1 );
160 160
161 lab = new QLabel( i18n("extra Message:"), mExternalAppGroupBox); 161 lab = new QLabel( i18n("extra Message:"), mExternalAppGroupBox);
162 boxLayout->addWidget( lab, 6, 0 ); 162 boxLayout->addWidget( lab, 6, 0 );
163 mMessage2 = new QLineEdit(mExternalAppGroupBox); 163 mMessage2 = new QLineEdit(mExternalAppGroupBox);
164 mMessage2->setReadOnly(true); 164 mMessage2->setReadOnly(true);
165 boxLayout->addWidget( mMessage2 , 7, 0); 165 boxLayout->addWidget( mMessage2 , 7, 0);
166 166
167 lab = new QLabel( i18n("extra Parameters:"), mExternalAppGroupBox); 167 lab = new QLabel( i18n("extra Parameters:"), mExternalAppGroupBox);
168 boxLayout->addWidget( lab, 6, 1 ); 168 boxLayout->addWidget( lab, 6, 1 );
169 mParameters2 = new QLineEdit(mExternalAppGroupBox); 169 mParameters2 = new QLineEdit(mExternalAppGroupBox);
170 mParameters2->setReadOnly(true); 170 mParameters2->setReadOnly(true);
171 boxLayout->addWidget( mParameters2, 7, 1 ); 171 boxLayout->addWidget( mParameters2, 7, 1 );
172 172
173 lab = new QLabel( i18n("HINT: Emails=%1,Attachments=%2"), mExternalAppGroupBox); 173 lab = new QLabel( i18n("HINT: Emails=%1,Attachments=%2"), mExternalAppGroupBox);
174 boxLayout->addMultiCellWidget( lab, 8, 8, 0, 1 ); 174 boxLayout->addMultiCellWidget( lab, 8, 8, 0, 1 );
175 175
176 176
177 connect( mChannel, SIGNAL( textChanged ( const QString & )), this, SLOT( textChanged ( const QString & )) ); 177 connect( mChannel, SIGNAL( textChanged ( const QString & )), this, SLOT( textChanged ( const QString & )) );
178 connect( mMessage, SIGNAL( textChanged ( const QString & )), this, SLOT( textChanged ( const QString & )) ); 178 connect( mMessage, SIGNAL( textChanged ( const QString & )), this, SLOT( textChanged ( const QString & )) );
179 connect( mParameters, SIGNAL( textChanged ( const QString & )), this, SLOT( textChanged ( const QString & )) ); 179 connect( mParameters, SIGNAL( textChanged ( const QString & )), this, SLOT( textChanged ( const QString & )) );
180 connect( mMessage2, SIGNAL( textChanged ( const QString & )), this, SLOT( textChanged ( const QString & )) ); 180 connect( mMessage2, SIGNAL( textChanged ( const QString & )), this, SLOT( textChanged ( const QString & )) );
181 connect( mParameters2, SIGNAL( textChanged ( const QString & )), this, SLOT( textChanged ( const QString & )) ); 181 connect( mParameters2, SIGNAL( textChanged ( const QString & )), this, SLOT( textChanged ( const QString & )) );
182 182
183 183
184 layout->addWidget( mExternalAppGroupBox ); 184 layout->addWidget( mExternalAppGroupBox );
185 tabWidget->addTab( externalAppsPage, i18n( "External Apps." ) ); 185 tabWidget->addTab( externalAppsPage, i18n( "External Apps." ) );
186 186
187} 187}
188 188
189 189
190void KDEPIMConfigWidget::setupLocaleDateTab() 190void KDEPIMConfigWidget::setupLocaleDateTab()
191{ 191{
192 QWidget *topFrame = new QWidget( this ); 192 QWidget *topFrame = new QWidget( this );
193 QGridLayout *topLayout = new QGridLayout( topFrame, 3, 2); 193 QGridLayout *topLayout = new QGridLayout( topFrame, 3, 2);
194 194
195 topLayout->setSpacing(KDialog::spacingHint()); 195 topLayout->setSpacing(KDialog::spacingHint());
196 topLayout->setMargin(KDialog::marginHint()); 196 topLayout->setMargin(KDialog::marginHint());
197 int iii = 0; 197 int iii = 0;
198 198
199 199
200 KPrefsWidRadios *syncPrefsGroup = 200 KPrefsWidRadios *syncPrefsGroup =
201 addWidRadios(i18n("Date Format:"),&(KPimGlobalPrefs::instance()->mPreferredDate),topFrame); 201 addWidRadios(i18n("Date Format:"),&(KPimGlobalPrefs::instance()->mPreferredDate),topFrame);
202 QString format; 202 QString format;
203 if ( QApplication::desktop()->width() < 480 ) 203 if ( QApplication::desktop()->width() < 480 )
204 format = "(%d.%m.%Y)"; 204 format = "(%d.%m.%Y)";
205 else 205 else
206 format = "(%d.%m.%Y|%A %d %B %Y)"; 206 format = "(%d.%m.%Y|%A %d %B %Y)";
207 syncPrefsGroup->addRadio(i18n("24.03.2004 "+format)); 207 syncPrefsGroup->addRadio(i18n("24.03.2004 "+format));
208 if ( QApplication::desktop()->width() < 480 ) 208 if ( QApplication::desktop()->width() < 480 )
209 format = "(%m.%d.%Y)"; 209 format = "(%m.%d.%Y)";
210 else 210 else
211 format = "(%m.%d.%Y|%A %B %d %Y)"; 211 format = "(%m.%d.%Y|%A %B %d %Y)";
212 syncPrefsGroup->addRadio(i18n("03.24.2004 "+format)); 212 syncPrefsGroup->addRadio(i18n("03.24.2004 "+format));
213 if ( QApplication::desktop()->width() < 480 ) 213 if ( QApplication::desktop()->width() < 480 )
214 format = "(%Y-%m-%d)"; 214 format = "(%Y-%m-%d)";
215 else 215 else
216 format = "(%Y-%m-%d|%A %Y %B %d)"; 216 format = "(%Y-%m-%d|%A %Y %B %d)";
217 syncPrefsGroup->addRadio(i18n("2004-03-24 "+format)); 217 syncPrefsGroup->addRadio(i18n("2004-03-24 "+format));
218 syncPrefsGroup->addRadio(i18n("User defined")); 218 syncPrefsGroup->addRadio(i18n("User defined"));
219 topLayout->addMultiCellWidget( (QWidget*)syncPrefsGroup->groupBox(),iii,iii,0,1); 219 topLayout->addMultiCellWidget( (QWidget*)syncPrefsGroup->groupBox(),iii,iii,0,1);
220 ++iii; 220 ++iii;
221 ++iii; 221 ++iii;
222 QLabel * lab; 222 QLabel * lab;
223 mUserDateFormatLong = new QLineEdit(topFrame); 223 mUserDateFormatLong = new QLineEdit(topFrame);
224 lab = new QLabel(mUserDateFormatLong, i18n("User long date:"), topFrame); 224 lab = new QLabel(mUserDateFormatLong, i18n("User long date:"), topFrame);
225 topLayout->addWidget(lab ,iii,0); 225 topLayout->addWidget(lab ,iii,0);
226 topLayout->addWidget(mUserDateFormatLong,iii,1); 226 topLayout->addWidget(mUserDateFormatLong,iii,1);
227 ++iii; 227 ++iii;
228 mUserDateFormatShort = new QLineEdit(topFrame); 228 mUserDateFormatShort = new QLineEdit(topFrame);
229 lab = new QLabel(mUserDateFormatShort, i18n("User short date:"), topFrame); 229 lab = new QLabel(mUserDateFormatShort, i18n("User short date:"), topFrame);
230 topLayout->addWidget(lab ,iii,0); 230 topLayout->addWidget(lab ,iii,0);
231 topLayout->addWidget(mUserDateFormatShort,iii,1); 231 topLayout->addWidget(mUserDateFormatShort,iii,1);
232 ++iii; 232 ++iii;
233 lab = new QLabel( i18n("Monday 19 April 2004: %A %d %B %Y"), topFrame); 233 lab = new QLabel( i18n("Monday 19 April 2004: %A %d %B %Y"), topFrame);
234 topLayout->addMultiCellWidget(lab ,iii,iii,0,1); 234 topLayout->addMultiCellWidget(lab ,iii,iii,0,1);
235 ++iii; 235 ++iii;
236 lab = new QLabel( i18n("Mon 19.04.04: %a %d.%m.%y"), topFrame); 236 lab = new QLabel( i18n("Mon 19.04.04: %a %d.%m.%y"), topFrame);
237 topLayout->addMultiCellWidget(lab ,iii,iii,0,1); 237 topLayout->addMultiCellWidget(lab ,iii,iii,0,1);
238 ++iii; 238 ++iii;
239 lab = new QLabel( i18n("Mon, 19.Apr.04: %a, %d.%b.%y"), topFrame); 239 lab = new QLabel( i18n("Mon, 19.Apr.04: %a, %d.%b.%y"), topFrame);
240 topLayout->addMultiCellWidget(lab ,iii,iii,0,1); 240 topLayout->addMultiCellWidget(lab ,iii,iii,0,1);
241 ++iii; 241 ++iii;
242 242
243 connect( mUserDateFormatLong, SIGNAL( textChanged ( const QString & )), this, SLOT( textChanged ( const QString & )) ); 243 connect( mUserDateFormatLong, SIGNAL( textChanged ( const QString & )), this, SLOT( textChanged ( const QString & )) );
244 connect( mUserDateFormatShort, SIGNAL( textChanged ( const QString & )), this, SLOT( textChanged ( const QString & )) ); 244 connect( mUserDateFormatShort, SIGNAL( textChanged ( const QString & )), this, SLOT( textChanged ( const QString & )) );
245 245
246 246
247 tabWidget->addTab( topFrame, i18n( "Date Format" ) ); 247 tabWidget->addTab( topFrame, i18n( "Date Format" ) );
248} 248}
249 249
250void KDEPIMConfigWidget::setupLocaleTab() 250void KDEPIMConfigWidget::setupLocaleTab()
251{ 251{
252 252
253 QWidget *topFrame = new QWidget( this ); 253 QWidget *topFrame = new QWidget( this );
254 QGridLayout *topLayout = new QGridLayout(topFrame,4,2); 254 QGridLayout *topLayout = new QGridLayout(topFrame,4,2);
255 255
256 topLayout->setSpacing(KDialog::spacingHint()); 256 topLayout->setSpacing(KDialog::spacingHint());
257 topLayout->setMargin(KDialog::marginHint()); 257 topLayout->setMargin(KDialog::marginHint());
258 int iii = 0; 258 int iii = 0;
259 KPrefsWidRadios *syncPrefsGroup = 259 KPrefsWidRadios *syncPrefsGroup =
260 addWidRadios(i18n("Language:(needs restart)"),&(KPimGlobalPrefs::instance()->mPreferredLanguage),topFrame); 260 addWidRadios(i18n("Language:(needs restart)"),&(KPimGlobalPrefs::instance()->mPreferredLanguage),topFrame);
261 syncPrefsGroup->addRadio(i18n("English")); 261 syncPrefsGroup->addRadio(i18n("English"));
262 syncPrefsGroup->addRadio(i18n("German")); 262 syncPrefsGroup->addRadio(i18n("German"));
263 syncPrefsGroup->addRadio(i18n("French")); 263 syncPrefsGroup->addRadio(i18n("French"));
264 syncPrefsGroup->addRadio(i18n("Italian"));
264 syncPrefsGroup->addRadio(i18n("User defined (usertranslation.txt)")); 265 syncPrefsGroup->addRadio(i18n("User defined (usertranslation.txt)"));
265 if ( QApplication::desktop()->width() < 300 ) 266 if ( QApplication::desktop()->width() < 300 )
266 ;// syncPrefsGroup->groupBox()-> setOrientation (Qt::Vertical); 267 ;// syncPrefsGroup->groupBox()-> setOrientation (Qt::Vertical);
267 topLayout->addMultiCellWidget( (QWidget*)syncPrefsGroup->groupBox(),iii,iii,0,1); 268 topLayout->addMultiCellWidget( (QWidget*)syncPrefsGroup->groupBox(),iii,iii,0,1);
268 ++iii; 269 ++iii;
269 270
270 syncPrefsGroup = 271 syncPrefsGroup =
271 addWidRadios(i18n("Time Format(nr):"),&(KPimGlobalPrefs::instance()->mPreferredTime),topFrame); 272 addWidRadios(i18n("Time Format(nr):"),&(KPimGlobalPrefs::instance()->mPreferredTime),topFrame);
272 if ( QApplication::desktop()->width() > 300 ) 273 if ( QApplication::desktop()->width() > 300 )
273 syncPrefsGroup->groupBox()->setOrientation (Qt::Vertical); 274 syncPrefsGroup->groupBox()->setOrientation (Qt::Vertical);
274 syncPrefsGroup->addRadio(i18n("24:00")); 275 syncPrefsGroup->addRadio(i18n("24:00"));
275 syncPrefsGroup->addRadio(i18n("12:00am")); 276 syncPrefsGroup->addRadio(i18n("12:00am"));
276 syncPrefsGroup->groupBox()->setOrientation (Qt::Vertical); 277 syncPrefsGroup->groupBox()->setOrientation (Qt::Vertical);
277 topLayout->addMultiCellWidget( syncPrefsGroup->groupBox(),iii,iii,0,1); 278 topLayout->addMultiCellWidget( syncPrefsGroup->groupBox(),iii,iii,0,1);
278 ++iii; 279 ++iii;
279 280
280 KPrefsWidBool *sb = addWidBool(i18n("Week starts on Sunday"), 281 KPrefsWidBool *sb = addWidBool(i18n("Week starts on Sunday"),
281 &(KPimGlobalPrefs::instance()->mWeekStartsOnSunday),topFrame); 282 &(KPimGlobalPrefs::instance()->mWeekStartsOnSunday),topFrame);
282 topLayout->addMultiCellWidget((QWidget*)sb->checkBox(), iii,iii,0,1); 283 topLayout->addMultiCellWidget((QWidget*)sb->checkBox(), iii,iii,0,1);
283 ++iii; 284 ++iii;
284 285
285 286
286 tabWidget->addTab( topFrame, i18n( "Locale" ) ); 287 tabWidget->addTab( topFrame, i18n( "Locale" ) );
287 288
288} 289}
289 290
290 291
291void KDEPIMConfigWidget::setupTimeZoneTab() 292void KDEPIMConfigWidget::setupTimeZoneTab()
292{ 293{
293 QWidget *topFrame = new QWidget( this ); 294 QWidget *topFrame = new QWidget( this );
294 QGridLayout *topLayout = new QGridLayout( topFrame, 5, 2); 295 QGridLayout *topLayout = new QGridLayout( topFrame, 5, 2);
295 topLayout->setSpacing(KDialog::spacingHint()); 296 topLayout->setSpacing(KDialog::spacingHint());
296 topLayout->setMargin(KDialog::marginHint()); 297 topLayout->setMargin(KDialog::marginHint());
297 298
298 QHBox *timeZoneBox = new QHBox( topFrame ); 299 QHBox *timeZoneBox = new QHBox( topFrame );
299 topLayout->addMultiCellWidget( timeZoneBox, 0, 0, 0, 1 ); 300 topLayout->addMultiCellWidget( timeZoneBox, 0, 0, 0, 1 );
300 301
301 new QLabel( i18n("Timezone:"), timeZoneBox ); 302 new QLabel( i18n("Timezone:"), timeZoneBox );
302 mTimeZoneCombo = new QComboBox( timeZoneBox ); 303 mTimeZoneCombo = new QComboBox( timeZoneBox );
303 if ( QApplication::desktop()->width() < 300 ) { 304 if ( QApplication::desktop()->width() < 300 ) {
304 mTimeZoneCombo->setMaximumWidth(150); 305 mTimeZoneCombo->setMaximumWidth(150);
305 } 306 }
306 307
307 QStringList list; 308 QStringList list;
308 list = KGlobal::locale()->timeZoneList(); 309 list = KGlobal::locale()->timeZoneList();
309 mTimeZoneCombo->insertStringList(list); 310 mTimeZoneCombo->insertStringList(list);
310 311
311 // find the currently set time zone and select it 312 // find the currently set time zone and select it
312 QString sCurrentlySet = KPimGlobalPrefs::instance()->mTimeZoneId; 313 QString sCurrentlySet = KPimGlobalPrefs::instance()->mTimeZoneId;
313 int nCurrentlySet = 11; 314 int nCurrentlySet = 11;
314 for (int i = 0; i < mTimeZoneCombo->count(); i++) 315 for (int i = 0; i < mTimeZoneCombo->count(); i++)
315 { 316 {
316 if (mTimeZoneCombo->text(i) == sCurrentlySet) 317 if (mTimeZoneCombo->text(i) == sCurrentlySet)
317 { 318 {
318 nCurrentlySet = i; 319 nCurrentlySet = i;
319 break; 320 break;
320 } 321 }
321 } 322 }
322 mTimeZoneCombo->setCurrentItem(nCurrentlySet); 323 mTimeZoneCombo->setCurrentItem(nCurrentlySet);
323 int iii = 1; 324 int iii = 1;
324 KPrefsWidBool *sb = 325 KPrefsWidBool *sb =
325 addWidBool(i18n("Timezone has daylight saving"), 326 addWidBool(i18n("Timezone has daylight saving"),
326 &(KPimGlobalPrefs::instance()->mUseDaylightsaving),topFrame); 327 &(KPimGlobalPrefs::instance()->mUseDaylightsaving),topFrame);
327 topLayout->addMultiCellWidget((QWidget*)sb->checkBox(), iii,iii,0,1); 328 topLayout->addMultiCellWidget((QWidget*)sb->checkBox(), iii,iii,0,1);
328 ++iii; 329 ++iii;
329 QLabel* lab = new QLabel( i18n("Actual start and end is the\nsunday before this date."), topFrame ); 330 QLabel* lab = new QLabel( i18n("Actual start and end is the\nsunday before this date."), topFrame );
330 topLayout->addMultiCellWidget(lab, iii,iii,0,1); 331 topLayout->addMultiCellWidget(lab, iii,iii,0,1);
331 ++iii; 332 ++iii;
332 lab = new QLabel( i18n("The year in the date is ignored."), topFrame ); 333 lab = new QLabel( i18n("The year in the date is ignored."), topFrame );
333 topLayout->addMultiCellWidget(lab, iii,iii,0,1); 334 topLayout->addMultiCellWidget(lab, iii,iii,0,1);
334 ++iii; 335 ++iii;
335 lab = new QLabel( i18n("Daylight start:"), topFrame ); 336 lab = new QLabel( i18n("Daylight start:"), topFrame );
336 topLayout->addWidget(lab, iii,0); 337 topLayout->addWidget(lab, iii,0);
337 mStartDateSavingEdit = new KDateEdit(topFrame); 338 mStartDateSavingEdit = new KDateEdit(topFrame);
338 topLayout->addWidget(mStartDateSavingEdit, iii,1); 339 topLayout->addWidget(mStartDateSavingEdit, iii,1);
339 ++iii; 340 ++iii;
340 341
341 lab = new QLabel( i18n("Daylight end:"), topFrame ); 342 lab = new QLabel( i18n("Daylight end:"), topFrame );
342 topLayout->addWidget(lab, iii,0); 343 topLayout->addWidget(lab, iii,0);
343 mEndDateSavingEdit = new KDateEdit(topFrame); 344 mEndDateSavingEdit = new KDateEdit(topFrame);
344 topLayout->addWidget(mEndDateSavingEdit, iii,1); 345 topLayout->addWidget(mEndDateSavingEdit, iii,1);
345 ++iii; 346 ++iii;
346 QDate current ( 2001, 1,1); 347 QDate current ( 2001, 1,1);
347 mStartDateSavingEdit->setDate(current.addDays(KPimGlobalPrefs::instance()->mDaylightsavingStart-1)); 348 mStartDateSavingEdit->setDate(current.addDays(KPimGlobalPrefs::instance()->mDaylightsavingStart-1));
348 mEndDateSavingEdit->setDate(current.addDays(KPimGlobalPrefs::instance()->mDaylightsavingEnd-1)); 349 mEndDateSavingEdit->setDate(current.addDays(KPimGlobalPrefs::instance()->mDaylightsavingEnd-1));
349 350
350 connect( mStartDateSavingEdit, SIGNAL( dateChanged(QDate)), this, SLOT( modified()) ); 351 connect( mStartDateSavingEdit, SIGNAL( dateChanged(QDate)), this, SLOT( modified()) );
351 connect( mEndDateSavingEdit, SIGNAL( dateChanged(QDate)), this, SLOT( modified()) ); 352 connect( mEndDateSavingEdit, SIGNAL( dateChanged(QDate)), this, SLOT( modified()) );
352 connect( mTimeZoneCombo, SIGNAL( activated( int ) ), this, SLOT (modified() ) ); 353 connect( mTimeZoneCombo, SIGNAL( activated( int ) ), this, SLOT (modified() ) );
353 354
354 355
355 356
356 tabWidget->addTab( topFrame, i18n( "Time Zone" ) ); 357 tabWidget->addTab( topFrame, i18n( "Time Zone" ) );
357 358
358} 359}
359 360
360void KDEPIMConfigWidget::externalapp_changed( int newApp ) 361void KDEPIMConfigWidget::externalapp_changed( int newApp )
361{ 362{
362 // first store the current data 363 // first store the current data
363 saveEditFieldSettings(); 364 saveEditFieldSettings();
364 365
365 // set mCurrentApp 366 // set mCurrentApp
366 mCurrentApp = (ExternalAppHandler::Types)newApp; 367 mCurrentApp = (ExternalAppHandler::Types)newApp;
367 368
368 // set mCurrentClient 369 // set mCurrentClient
369 switch(mCurrentApp) 370 switch(mCurrentApp)
370 { 371 {
371 case(ExternalAppHandler::EMAIL): 372 case(ExternalAppHandler::EMAIL):
372 mCurrentClient = mEmailClient; 373 mCurrentClient = mEmailClient;
373 break; 374 break;
374 case(ExternalAppHandler::PHONE): 375 case(ExternalAppHandler::PHONE):
375 mCurrentClient = mPhoneClient; 376 mCurrentClient = mPhoneClient;
376 break; 377 break;
377 case(ExternalAppHandler::SMS): 378 case(ExternalAppHandler::SMS):
378 mCurrentClient = mSMSClient; 379 mCurrentClient = mSMSClient;
379 break; 380 break;
380 case(ExternalAppHandler::FAX): 381 case(ExternalAppHandler::FAX):
381 mCurrentClient = mFaxClient; 382 mCurrentClient = mFaxClient;
382 break; 383 break;
383 case(ExternalAppHandler::PAGER): 384 case(ExternalAppHandler::PAGER):
384 mCurrentClient = mPagerClient; 385 mCurrentClient = mPagerClient;
385 break; 386 break;
386 case(ExternalAppHandler::SIP): 387 case(ExternalAppHandler::SIP):
387 mCurrentClient = mSipClient; 388 mCurrentClient = mSipClient;
388 break; 389 break;
389 default: 390 default:
390 return; 391 return;
391 } 392 }
392 393
393 // and at last update the widgets 394 // and at last update the widgets
394 updateClientWidgets(); 395 updateClientWidgets();
395} 396}
396 397
397 398
398 399
399void KDEPIMConfigWidget::client_changed( int newClient ) 400void KDEPIMConfigWidget::client_changed( int newClient )
400{ 401{
401 if (newClient == mCurrentClient) 402 if (newClient == mCurrentClient)
402 return; 403 return;
403 404
404 // first store the current data 405 // first store the current data
405 saveEditFieldSettings(); 406 saveEditFieldSettings();
406 407
407 408
408 //then reset the clientvariable 409 //then reset the clientvariable
409 mCurrentClient = newClient; 410 mCurrentClient = newClient;
410 411
411 // and at last update the widgets 412 // and at last update the widgets
412 updateClientWidgets(); 413 updateClientWidgets();
413 414
414 KPrefsWidget::modified(); 415 KPrefsWidget::modified();
415} 416}
416 417
417void KDEPIMConfigWidget::saveEditFieldSettings() 418void KDEPIMConfigWidget::saveEditFieldSettings()
418{ 419{
419 420
420 switch(mCurrentApp) 421 switch(mCurrentApp)
421 { 422 {
422 case(ExternalAppHandler::EMAIL): 423 case(ExternalAppHandler::EMAIL):
423 mEmailClient = mClient->currentItem(); 424 mEmailClient = mClient->currentItem();
424 break; 425 break;
425 case(ExternalAppHandler::PHONE): 426 case(ExternalAppHandler::PHONE):
426 mPhoneClient= mClient->currentItem(); 427 mPhoneClient= mClient->currentItem();
427 break; 428 break;
428 case(ExternalAppHandler::SMS): 429 case(ExternalAppHandler::SMS):
429 mSMSClient = mClient->currentItem(); 430 mSMSClient = mClient->currentItem();
430 break; 431 break;
431 case(ExternalAppHandler::FAX): 432 case(ExternalAppHandler::FAX):
432 mFaxClient = mClient->currentItem(); 433 mFaxClient = mClient->currentItem();
433 break; 434 break;
434 case(ExternalAppHandler::PAGER): 435 case(ExternalAppHandler::PAGER):
435 mPagerClient = mClient->currentItem(); 436 mPagerClient = mClient->currentItem();
436 break; 437 break;
437 case(ExternalAppHandler::SIP): 438 case(ExternalAppHandler::SIP):
438 mSipClient = mClient->currentItem(); 439 mSipClient = mClient->currentItem();
439 break; 440 break;
440 default: 441 default:
441 return; 442 return;
442 } 443 }
443 444
444 //store the current data back to the apropriate membervariables if we had set it to "other" 445 //store the current data back to the apropriate membervariables if we had set it to "other"
445 if ((mCurrentApp == ExternalAppHandler::EMAIL) && (mCurrentClient == KPimGlobalPrefs::OTHER_EMC)) 446 if ((mCurrentApp == ExternalAppHandler::EMAIL) && (mCurrentClient == KPimGlobalPrefs::OTHER_EMC))
446 { 447 {
447 mEmailOtherChannel = mChannel->text(); 448 mEmailOtherChannel = mChannel->text();
448 mEmailOtherMessage = mMessage->text(); 449 mEmailOtherMessage = mMessage->text();
449 mEmailOtherMessageParameters = mParameters->text(); 450 mEmailOtherMessageParameters = mParameters->text();
450 mEmailOtherMessage2 = mMessage2->text(); 451 mEmailOtherMessage2 = mMessage2->text();
451 mEmailOtherMessageParameters2 = mParameters2->text(); 452 mEmailOtherMessageParameters2 = mParameters2->text();
452 } 453 }
453 else if ((mCurrentApp == ExternalAppHandler::PHONE) && (mCurrentClient == KPimGlobalPrefs::OTHER_PHC)) 454 else if ((mCurrentApp == ExternalAppHandler::PHONE) && (mCurrentClient == KPimGlobalPrefs::OTHER_PHC))
454 { 455 {
455 mPhoneOtherChannel = mChannel->text(); 456 mPhoneOtherChannel = mChannel->text();
456 mPhoneOtherMessage = mMessage->text(); 457 mPhoneOtherMessage = mMessage->text();
457 mPhoneOtherMessageParameters = mParameters->text(); 458 mPhoneOtherMessageParameters = mParameters->text();
458 } 459 }
459 else if ((mCurrentApp == ExternalAppHandler::SMS) && (mCurrentClient == KPimGlobalPrefs::OTHER_SMC)) 460 else if ((mCurrentApp == ExternalAppHandler::SMS) && (mCurrentClient == KPimGlobalPrefs::OTHER_SMC))
460 { 461 {
461 mSMSOtherChannel = mChannel->text(); 462 mSMSOtherChannel = mChannel->text();
462 mSMSOtherMessage = mMessage->text(); 463 mSMSOtherMessage = mMessage->text();
463 mSMSOtherMessageParameters = mParameters->text(); 464 mSMSOtherMessageParameters = mParameters->text();
464 } 465 }
465 else if ((mCurrentApp == ExternalAppHandler::FAX) && (mCurrentClient == KPimGlobalPrefs::OTHER_FAC)) 466 else if ((mCurrentApp == ExternalAppHandler::FAX) && (mCurrentClient == KPimGlobalPrefs::OTHER_FAC))
466 { 467 {
467 mFaxOtherChannel = mChannel->text(); 468 mFaxOtherChannel = mChannel->text();
468 mFaxOtherMessage = mMessage->text(); 469 mFaxOtherMessage = mMessage->text();
469 mFaxOtherMessageParameters = mParameters->text(); 470 mFaxOtherMessageParameters = mParameters->text();
470 } 471 }
471 else if ((mCurrentApp == ExternalAppHandler::PAGER) && (mCurrentClient == KPimGlobalPrefs::OTHER_PAC)) 472 else if ((mCurrentApp == ExternalAppHandler::PAGER) && (mCurrentClient == KPimGlobalPrefs::OTHER_PAC))
472 { 473 {
473 mPagerOtherChannel = mChannel->text(); 474 mPagerOtherChannel = mChannel->text();
474 mPagerOtherMessage = mMessage->text(); 475 mPagerOtherMessage = mMessage->text();
475 mPagerOtherMessageParameters = mParameters->text(); 476 mPagerOtherMessageParameters = mParameters->text();
476 } 477 }
477 else if ((mCurrentApp == ExternalAppHandler::SIP) && (mCurrentClient == KPimGlobalPrefs::OTHER_SIC)) 478 else if ((mCurrentApp == ExternalAppHandler::SIP) && (mCurrentClient == KPimGlobalPrefs::OTHER_SIC))
478 { 479 {
479 mSipOtherChannel = mChannel->text(); 480 mSipOtherChannel = mChannel->text();
480 mSipOtherMessage = mMessage->text(); 481 mSipOtherMessage = mMessage->text();
481 mSipOtherMessageParameters = mParameters->text(); 482 mSipOtherMessageParameters = mParameters->text();
482 } 483 }
483 484
484 485
485} 486}
486 487
487void KDEPIMConfigWidget::updateClientWidgets() 488void KDEPIMConfigWidget::updateClientWidgets()
488{ 489{
489 bool blocked = signalsBlocked(); 490 bool blocked = signalsBlocked();
490 blockSignals( true ); 491 blockSignals( true );
491 492
492 // at this point we assume, that mCurrentApp and mCurrentClient are set to the values that we want to display 493 // at this point we assume, that mCurrentApp and mCurrentClient are set to the values that we want to display
493 QMap<ExternalAppHandler::Types, QString>::Iterator it = mExternalAppsMap.find ( mCurrentApp ); 494 QMap<ExternalAppHandler::Types, QString>::Iterator it = mExternalAppsMap.find ( mCurrentApp );
494 if (it == mExternalAppsMap.end()) 495 if (it == mExternalAppsMap.end())
495 return; 496 return;
496 497
497 // update group box 498 // update group box
498 mExternalAppGroupBox->setTitle(i18n( "Used %1 Client" ).arg(it.data())); 499 mExternalAppGroupBox->setTitle(i18n( "Used %1 Client" ).arg(it.data()));
499 500
500 //update the entries in the client combobox 501 //update the entries in the client combobox
501 mClient->clear(); 502 mClient->clear();
502 503
503 QList<DefaultAppItem> items = ExternalAppHandler::instance()->getAvailableDefaultItems(mCurrentApp); 504 QList<DefaultAppItem> items = ExternalAppHandler::instance()->getAvailableDefaultItems(mCurrentApp);
504 DefaultAppItem* dai; 505 DefaultAppItem* dai;
505 for ( dai=items.first(); dai != 0; dai=items.next() ) 506 for ( dai=items.first(); dai != 0; dai=items.next() )
506 { 507 {
507 mClient->insertItem( i18n(dai->_label), dai->_id ); 508 mClient->insertItem( i18n(dai->_label), dai->_id );
508 509
509 if (dai->_id == mCurrentClient) 510 if (dai->_id == mCurrentClient)
510 { 511 {
511 //restore the edit fields with the data of the local membervariables if we had set it to "other". 512 //restore the edit fields with the data of the local membervariables if we had set it to "other".
512 //Otherwise take the default data from externalapphandler. 513 //Otherwise take the default data from externalapphandler.
513 mChannel->setText(dai->_channel); 514 mChannel->setText(dai->_channel);
514 mMessage->setText(dai->_message); 515 mMessage->setText(dai->_message);
515 mParameters->setText(dai->_parameters); 516 mParameters->setText(dai->_parameters);
516 mMessage2->setText(dai->_message2); 517 mMessage2->setText(dai->_message2);
517 mParameters2->setText(dai->_parameters2); 518 mParameters2->setText(dai->_parameters2);
518 519
519 520