author | zautrix <zautrix> | 2005-06-16 19:28:39 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-06-16 19:28:39 (UTC) |
commit | b297e71bd6276ee9370917cb6765d73db7b61de9 (patch) (unidiff) | |
tree | 74240a9792ad8807b8838b43f89d0303db585538 | |
parent | be2913be979c0d7c41e8a8721b552d14cb7ecd39 (diff) | |
download | kdepimpi-b297e71bd6276ee9370917cb6765d73db7b61de9.zip kdepimpi-b297e71bd6276ee9370917cb6765d73db7b61de9.tar.gz kdepimpi-b297e71bd6276ee9370917cb6765d73db7b61de9.tar.bz2 |
search fixes
-rw-r--r-- | bin/kdepim/korganizer/germantranslation.txt | 4 | ||||
-rw-r--r-- | korganizer/searchdialog.cpp | 155 | ||||
-rw-r--r-- | korganizer/searchdialog.h | 7 |
3 files changed, 136 insertions, 30 deletions
diff --git a/bin/kdepim/korganizer/germantranslation.txt b/bin/kdepim/korganizer/germantranslation.txt index 03d1882..5a9f2a2 100644 --- a/bin/kdepim/korganizer/germantranslation.txt +++ b/bin/kdepim/korganizer/germantranslation.txt | |||
@@ -1038,391 +1038,395 @@ | |||
1038 | { "PDA-Edition\nfor: Zaurus 5x00/7x0/860/3000/6000\n","PDA-Edition\nf�r: Zaurus 5x00/7x0/860/3000/6000\n" }, | 1038 | { "PDA-Edition\nfor: Zaurus 5x00/7x0/860/3000/6000\n","PDA-Edition\nf�r: Zaurus 5x00/7x0/860/3000/6000\n" }, |
1039 | { "KOrganizer/Platform-independent\n","KOrganizer/Platform-independent\n" }, | 1039 | { "KOrganizer/Platform-independent\n","KOrganizer/Platform-independent\n" }, |
1040 | { "About KOrganizer/Pi","�ber KOrganizer/Pi" }, | 1040 | { "About KOrganizer/Pi","�ber KOrganizer/Pi" }, |
1041 | { "From: ","Von: " }, | 1041 | { "From: ","Von: " }, |
1042 | { "Remove sync info","Entferne Sync Info" }, | 1042 | { "Remove sync info","Entferne Sync Info" }, |
1043 | { "For all profiles","F�r alle Profile" }, | 1043 | { "For all profiles","F�r alle Profile" }, |
1044 | { "Hide not Running","Verstecke nicht Laufende" }, | 1044 | { "Hide not Running","Verstecke nicht Laufende" }, |
1045 | { "ME","ME" }, | 1045 | { "ME","ME" }, |
1046 | { "Toolbar","Toolbar" }, | 1046 | { "Toolbar","Toolbar" }, |
1047 | { "Undo Delete...","L�schen r�ckg�ngig machen..." }, | 1047 | { "Undo Delete...","L�schen r�ckg�ngig machen..." }, |
1048 | { "Undo Delete","L�schen r�ckg�ngig machen" }, | 1048 | { "Undo Delete","L�schen r�ckg�ngig machen" }, |
1049 | { "KDE Sync HowTo...","KDE Sync HowTo..." }, | 1049 | { "KDE Sync HowTo...","KDE Sync HowTo..." }, |
1050 | { "Multi Sync HowTo...","Multi Sync HowTo..." }, | 1050 | { "Multi Sync HowTo...","Multi Sync HowTo..." }, |
1051 | { "Januar","Januar" }, | 1051 | { "Januar","Januar" }, |
1052 | { "KO/Pi Keys + Colors","KO/Pi Tasten + Farben" }, | 1052 | { "KO/Pi Keys + Colors","KO/Pi Tasten + Farben" }, |
1053 | { "No Filter","Kein Filter" }, | 1053 | { "No Filter","Kein Filter" }, |
1054 | { "Multiple Sync options","Multi Sync Optionen" }, | 1054 | { "Multiple Sync options","Multi Sync Optionen" }, |
1055 | { "Sync algo options","Sync Ablauf Optionen" }, | 1055 | { "Sync algo options","Sync Ablauf Optionen" }, |
1056 | { "Apply filter when adding data to local:","Filter f�r das Hinzuf�gen von Daten zu Lokal:" }, | 1056 | { "Apply filter when adding data to local:","Filter f�r das Hinzuf�gen von Daten zu Lokal:" }, |
1057 | { "Incoming calendar filter:","Eingehender Kalender Filter:" }, | 1057 | { "Incoming calendar filter:","Eingehender Kalender Filter:" }, |
1058 | { "Incoming addressbook filter:","Eingehender Adressbuch Filter:" }, | 1058 | { "Incoming addressbook filter:","Eingehender Adressbuch Filter:" }, |
1059 | { "Write back options","Optionen zum Zur�ckschreiben" }, | 1059 | { "Write back options","Optionen zum Zur�ckschreiben" }, |
1060 | { "Write back (on remote) existing entries only","Schreibe nur existierende (auf Entfernt) Eintr�ge zur�ck" }, | 1060 | { "Write back (on remote) existing entries only","Schreibe nur existierende (auf Entfernt) Eintr�ge zur�ck" }, |
1061 | { "Apply filter when adding data to remote:","Filter f�r das Hinzuf�gen von Daten zu Entfernt:" }, | 1061 | { "Apply filter when adding data to remote:","Filter f�r das Hinzuf�gen von Daten zu Entfernt:" }, |
1062 | { "Outgoing calendar filter:","Ausgehender Kalender Filter:" }, | 1062 | { "Outgoing calendar filter:","Ausgehender Kalender Filter:" }, |
1063 | { "Outgoing addressbook filter:","Ausgehender Adressbuch Filter:" }, | 1063 | { "Outgoing addressbook filter:","Ausgehender Adressbuch Filter:" }, |
1064 | { "Write back (calendar) entries for time period only","Schreibe nur Kalender Eintr�ge f�r Zeitspanne zur�ck" }, | 1064 | { "Write back (calendar) entries for time period only","Schreibe nur Kalender Eintr�ge f�r Zeitspanne zur�ck" }, |
1065 | { "Time period","Zeitspanne" }, | 1065 | { "Time period","Zeitspanne" }, |
1066 | { "From ","Von " }, | 1066 | { "From ","Von " }, |
1067 | { " weeks in the past to "," Wochen in der Vergangenheit bis zu " }, | 1067 | { " weeks in the past to "," Wochen in der Vergangenheit bis zu " }, |
1068 | { " weeks in the future "," Wochen in der Zukunft " }, | 1068 | { " weeks in the future "," Wochen in der Zukunft " }, |
1069 | { "Profile kind specific settings","Profil Art abh�ngige Einstellungen" }, | 1069 | { "Profile kind specific settings","Profil Art abh�ngige Einstellungen" }, |
1070 | { "Local temp file:","Lokale temp Datei:" }, | 1070 | { "Local temp file:","Lokale temp Datei:" }, |
1071 | { "Multiple profiles with same name!\nPlease use unique profile names!","Mehrere Profile mit demselben Namen!\nBitte verschiedene Namen benutzen!" }, | 1071 | { "Multiple profiles with same name!\nPlease use unique profile names!","Mehrere Profile mit demselben Namen!\nBitte verschiedene Namen benutzen!" }, |
1072 | { "Aborted! Nothing synced!","Abgebrochen! Nichts wurde gesynct!" }, | 1072 | { "Aborted! Nothing synced!","Abgebrochen! Nichts wurde gesynct!" }, |
1073 | { "Language","Sprache" }, | 1073 | { "Language","Sprache" }, |
1074 | { "Time Format","Zeit Format" }, | 1074 | { "Time Format","Zeit Format" }, |
1075 | { "Time Zone","Zeit Zone" }, | 1075 | { "Time Zone","Zeit Zone" }, |
1076 | { "%1 groups subscribed","%1 Guppen abboniert" }, | 1076 | { "%1 groups subscribed","%1 Guppen abboniert" }, |
1077 | { "Your current storage dir is:\n%1\nYour mail is stored in:\n(storagedir)/apps/kopiemail/localmail","Aktuelles Speicherverzeichnis ist:\n%1\nIhre Mail wird gespeichert in:\n(speicherverz.)/apps/kopiemail/localmail" }, | 1077 | { "Your current storage dir is:\n%1\nYour mail is stored in:\n(storagedir)/apps/kopiemail/localmail","Aktuelles Speicherverzeichnis ist:\n%1\nIhre Mail wird gespeichert in:\n(speicherverz.)/apps/kopiemail/localmail" }, |
1078 | { "<b>New data storage dir:</b>","<b>Neues Datenspeicherverzeichnis:</b>" }, | 1078 | { "<b>New data storage dir:</b>","<b>Neues Datenspeicherverzeichnis:</b>" }, |
1079 | { "New dirs are created automatically","Neue Verzeichnisse werden aut. erstellt" }, | 1079 | { "New dirs are created automatically","Neue Verzeichnisse werden aut. erstellt" }, |
1080 | { "Save settings","Speichere Einstellungen" }, | 1080 | { "Save settings","Speichere Einstellungen" }, |
1081 | { "Save standard","Speichere Standard" }, | 1081 | { "Save standard","Speichere Standard" }, |
1082 | { "<b>New settings are used\nafter a restart</b>","<b>Neue Einstellungen werden nach\neinem Neustart genutzt</b>" }, | 1082 | { "<b>New settings are used\nafter a restart</b>","<b>Neue Einstellungen werden nach\neinem Neustart genutzt</b>" }, |
1083 | { "Settings are stored in\n%1","Einstellungen werden gespeichert in:\n%1" }, | 1083 | { "Settings are stored in\n%1","Einstellungen werden gespeichert in:\n%1" }, |
1084 | { "Data storage path","Daten Speicherpfad" }, | 1084 | { "Data storage path","Daten Speicherpfad" }, |
1085 | { "Language","Sprache" }, | 1085 | { "Language","Sprache" }, |
1086 | { "Show time in agenda items","Zeige Zeit in Agenda Items" }, | 1086 | { "Show time in agenda items","Zeige Zeit in Agenda Items" }, |
1087 | { "Color for Sundays + category "Holiday"","Farbe f�r Sonntags + Kategorie "Feiertag"" }, | 1087 | { "Color for Sundays + category "Holiday"","Farbe f�r Sonntags + Kategorie "Feiertag"" }, |
1088 | { "Show events that are done","Zeige abgelaufene Termine" }, | 1088 | { "Show events that are done","Zeige abgelaufene Termine" }, |
1089 | { "Hide not running Todos in To-do view","Verstecke nicht laufende Todos" }, | 1089 | { "Hide not running Todos in To-do view","Verstecke nicht laufende Todos" }, |
1090 | { "+01:00 Europe/Oslo(CET)","+01:00 Europe/Oslo(CET)" }, | 1090 | { "+01:00 Europe/Oslo(CET)","+01:00 Europe/Oslo(CET)" }, |
1091 | { "KO/Pi","KO/Pi" }, | 1091 | { "KO/Pi","KO/Pi" }, |
1092 | { "There is nothing to undo!","Es gibt nichts zum\nR�ckg�ngigmachen!" }, | 1092 | { "There is nothing to undo!","Es gibt nichts zum\nR�ckg�ngigmachen!" }, |
1093 | { "Recreating edit dialog. Please wait...","Recreating edit dialog. Please wait..." }, | 1093 | { "Recreating edit dialog. Please wait...","Recreating edit dialog. Please wait..." }, |
1094 | { "Sound.Al.: ","Sound.Al.: " }, | 1094 | { "Sound.Al.: ","Sound.Al.: " }, |
1095 | { "From: %1 To: %2 %3","Von: %1 Bis: %2 %3" }, | 1095 | { "From: %1 To: %2 %3","Von: %1 Bis: %2 %3" }, |
1096 | { "Restore","Wiederherstellen" }, | 1096 | { "Restore","Wiederherstellen" }, |
1097 | { "\nAre you sure you want\nto restore this?","\nM�chten Sie das wirklicht\nwiederherstellen?" }, | 1097 | { "\nAre you sure you want\nto restore this?","\nM�chten Sie das wirklicht\nwiederherstellen?" }, |
1098 | { "% completed","% erledigt" }, | 1098 | { "% completed","% erledigt" }, |
1099 | { "%d item(s) found.","%d Item(s) gefunden." }, | 1099 | { "%d item(s) found.","%d Item(s) gefunden." }, |
1100 | { "Set complete","Setze auf erledigt" }, | 1100 | { "Set complete","Setze auf erledigt" }, |
1101 | { "(cancelled)","(gecancelt)" }, | 1101 | { "(cancelled)","(gecancelt)" }, |
1102 | { "Click on the week number to\nshow week in agenda view","Klicke auf die Wochennummer\num die Woche in der Agenda anzuzeigen" }, | 1102 | { "Click on the week number to\nshow week in agenda view","Klicke auf die Wochennummer\num die Woche in der Agenda anzuzeigen" }, |
1103 | { " Local time "," Locale Zeit " }, | 1103 | { " Local time "," Locale Zeit " }, |
1104 | { "Form2","Form2" }, | 1104 | { "Form2","Form2" }, |
1105 | { "Filter enabled","Filter angeschaltet" }, | 1105 | { "Filter enabled","Filter angeschaltet" }, |
1106 | { "Edit Filters","�ndere Filter" }, | 1106 | { "Edit Filters","�ndere Filter" }, |
1107 | { "Print What's Next View...","Drucke What's Next Ansicht..." }, | 1107 | { "Print What's Next View...","Drucke What's Next Ansicht..." }, |
1108 | { "Agenda","Agenda" }, | 1108 | { "Agenda","Agenda" }, |
1109 | { " ("," (" }, | 1109 | { " ("," (" }, |
1110 | { "<p><b>Due on:</b> %1</p>","<p><b>F�llig am:</b> %1</p>" }, | 1110 | { "<p><b>Due on:</b> %1</p>","<p><b>F�llig am:</b> %1</p>" }, |
1111 | { "Print","Print" }, | 1111 | { "Print","Print" }, |
1112 | { "&Setup Printer...","Drucker &Setup..." }, | 1112 | { "&Setup Printer...","Drucker &Setup..." }, |
1113 | { "View Type","Zeige Typ" }, | 1113 | { "View Type","Zeige Typ" }, |
1114 | { "Page &orientation:","Seiten Ausrichtung:" }, | 1114 | { "Page &orientation:","Seiten Ausrichtung:" }, |
1115 | { "Use Default of Selected Style","Default des selektierten Stils" }, | 1115 | { "Use Default of Selected Style","Default des selektierten Stils" }, |
1116 | { "Use Default Setting of Printer","Default Einstellung des Druckers" }, | 1116 | { "Use Default Setting of Printer","Default Einstellung des Druckers" }, |
1117 | { "Portrait","Portrait" }, | 1117 | { "Portrait","Portrait" }, |
1118 | { "Landscape","Landschaft" }, | 1118 | { "Landscape","Landschaft" }, |
1119 | { "Print day","Drucke Tag" }, | 1119 | { "Print day","Drucke Tag" }, |
1120 | { "CalPrintDay_Base","CalPrintDay_Base" }, | 1120 | { "CalPrintDay_Base","CalPrintDay_Base" }, |
1121 | { "Date && Time Range","Datum && Zeitspanne" }, | 1121 | { "Date && Time Range","Datum && Zeitspanne" }, |
1122 | { "&End date:","&Enddatum:" }, | 1122 | { "&End date:","&Enddatum:" }, |
1123 | { "&Start date:","&Startdatum:" }, | 1123 | { "&Start date:","&Startdatum:" }, |
1124 | { "Start &time:","Startzeit:" }, | 1124 | { "Start &time:","Startzeit:" }, |
1125 | { "End ti&me:","Endzeit:" }, | 1125 | { "End ti&me:","Endzeit:" }, |
1126 | { "E&xtend time range to include all events","Erweitere Zeitspanne um alle Termine einzuschliessen" }, | 1126 | { "E&xtend time range to include all events","Erweitere Zeitspanne um alle Termine einzuschliessen" }, |
1127 | { "Include to&dos that are due on the printed day(s)","Inclusive To&dos, die an den selektierten Tagen f�llig sind" }, | 1127 | { "Include to&dos that are due on the printed day(s)","Inclusive To&dos, die an den selektierten Tagen f�llig sind" }, |
1128 | { "Alt+D","Alt+D" }, | 1128 | { "Alt+D","Alt+D" }, |
1129 | { "&Use colors","Nutze Farben" }, | 1129 | { "&Use colors","Nutze Farben" }, |
1130 | { "Alt+U","Alt+U" }, | 1130 | { "Alt+U","Alt+U" }, |
1131 | { "Print week","Drucke Woche" }, | 1131 | { "Print week","Drucke Woche" }, |
1132 | { "CalPrintWeek_Base","CalPrintWeek_Base" }, | 1132 | { "CalPrintWeek_Base","CalPrintWeek_Base" }, |
1133 | { "Use &colors","Nutze Farben" }, | 1133 | { "Use &colors","Nutze Farben" }, |
1134 | { "Type of View","Typ der Ansicht" }, | 1134 | { "Type of View","Typ der Ansicht" }, |
1135 | { "Print as &Filofax page","Drucke als &Filofax Seite" }, | 1135 | { "Print as &Filofax page","Drucke als &Filofax Seite" }, |
1136 | { "Alt+F","Alt+F" }, | 1136 | { "Alt+F","Alt+F" }, |
1137 | { "Print as &timetable view:","Drucke als Zeittabelle:" }, | 1137 | { "Print as &timetable view:","Drucke als Zeittabelle:" }, |
1138 | { "Alt+T","Alt+T" }, | 1138 | { "Alt+T","Alt+T" }, |
1139 | { "Print as split week view","Drucke als gesplittete Wochenansicht" }, | 1139 | { "Print as split week view","Drucke als gesplittete Wochenansicht" }, |
1140 | { "Print month","Drucke Monat" }, | 1140 | { "Print month","Drucke Monat" }, |
1141 | { "CalPrintMonth_Base","CalPrintMonth_Base" }, | 1141 | { "CalPrintMonth_Base","CalPrintMonth_Base" }, |
1142 | { "&Start month:","&Startmonat:" }, | 1142 | { "&Start month:","&Startmonat:" }, |
1143 | { "&End month:","&Endmonat:" }, | 1143 | { "&End month:","&Endmonat:" }, |
1144 | { "Print week &numbers","Drucke Wochen Nummer(n)" }, | 1144 | { "Print week &numbers","Drucke Wochen Nummer(n)" }, |
1145 | { "Print todos","Drucke Todos" }, | 1145 | { "Print todos","Drucke Todos" }, |
1146 | { "CalPrintTodoConfig_Base","CalPrintTodoConfig_Base" }, | 1146 | { "CalPrintTodoConfig_Base","CalPrintTodoConfig_Base" }, |
1147 | { "Include &description of the item","Inclusive Itembeschreibung" }, | 1147 | { "Include &description of the item","Inclusive Itembeschreibung" }, |
1148 | { "Include d&ue date of the item","Inclusive F�lligkeitsdatum des Items" }, | 1148 | { "Include d&ue date of the item","Inclusive F�lligkeitsdatum des Items" }, |
1149 | { "Include &priority of the item","Inclusive Priorit�t des Items" }, | 1149 | { "Include &priority of the item","Inclusive Priorit�t des Items" }, |
1150 | { "Items to Print","Zu druckende Items" }, | 1150 | { "Items to Print","Zu druckende Items" }, |
1151 | { "&From:","Von:" }, | 1151 | { "&From:","Von:" }, |
1152 | { "&To:","Bis:" }, | 1152 | { "&To:","Bis:" }, |
1153 | { "Print &all todo items","Drucke alle Todo Items" }, | 1153 | { "Print &all todo items","Drucke alle Todo Items" }, |
1154 | { "Print only &uncompleted items","Drucke nur nicht erledigte Todos" }, | 1154 | { "Print only &uncompleted items","Drucke nur nicht erledigte Todos" }, |
1155 | { "Only items due in the &range:","Nur Items in dem Zeitraum:" }, | 1155 | { "Only items due in the &range:","Nur Items in dem Zeitraum:" }, |
1156 | { "Todo List","Todo Liste" }, | 1156 | { "Todo List","Todo Liste" }, |
1157 | { "&Title:","&Titel:" }, | 1157 | { "&Title:","&Titel:" }, |
1158 | { "Co&nnect subtodos with its parent","Verbinde Untertodos mit ihren Ober-Todos" }, | 1158 | { "Co&nnect subtodos with its parent","Verbinde Untertodos mit ihren Ober-Todos" }, |
1159 | { "Todo list","Todo Liste" }, | 1159 | { "Todo list","Todo Liste" }, |
1160 | { "&Print...","Drucke..." }, | 1160 | { "&Print...","Drucke..." }, |
1161 | { "<qt>Printing on printer <b>%1</b></qt>","<qt>Drucke auf Drucker <b>%1</b></qt>" }, | 1161 | { "<qt>Printing on printer <b>%1</b></qt>","<qt>Drucke auf Drucker <b>%1</b></qt>" }, |
1162 | { "[Unconfigured]","[Unkonfiguriert]" }, | 1162 | { "[Unconfigured]","[Unkonfiguriert]" }, |
1163 | { "OK","OK" }, | 1163 | { "OK","OK" }, |
1164 | { "FilterEditor","FilterEditor" }, | 1164 | { "FilterEditor","FilterEditor" }, |
1165 | { "Include","Inclusive" }, | 1165 | { "Include","Inclusive" }, |
1166 | { "Exclude","Exclusive" }, | 1166 | { "Exclude","Exclusive" }, |
1167 | { "Edit Selection...","Editiere Auswahl" }, | 1167 | { "Edit Selection...","Editiere Auswahl" }, |
1168 | { "recurring events","wiederholende Termine" }, | 1168 | { "recurring events","wiederholende Termine" }, |
1169 | { "recurr. events","wiederh.Termine" }, | 1169 | { "recurr. events","wiederh.Termine" }, |
1170 | { "completed to-dos","erledigte Todos" }, | 1170 | { "completed to-dos","erledigte Todos" }, |
1171 | { "events","Termine" }, | 1171 | { "events","Termine" }, |
1172 | { "todos","Todos" }, | 1172 | { "todos","Todos" }, |
1173 | { "journals","Journale" }, | 1173 | { "journals","Journale" }, |
1174 | { "public","�ffentl." }, | 1174 | { "public","�ffentl." }, |
1175 | { "private","privat" }, | 1175 | { "private","privat" }, |
1176 | { "confidential","vertraul." }, | 1176 | { "confidential","vertraul." }, |
1177 | { "\nhas sub-todos.\nAll completed sub-todos\nwill be deleted as well!","\nhat Untertodos.\nAlle erledigten Untertodos\nwerden auch gel�scht!" }, | 1177 | { "\nhas sub-todos.\nAll completed sub-todos\nwill be deleted as well!","\nhat Untertodos.\nAlle erledigten Untertodos\nwerden auch gel�scht!" }, |
1178 | { "Yesterday","Gestern" }, | 1178 | { "Yesterday","Gestern" }, |
1179 | { "Day after tomorrow","�bermorgen" }, | 1179 | { "Day after tomorrow","�bermorgen" }, |
1180 | { "Tomorrow","Morgen" }, | 1180 | { "Tomorrow","Morgen" }, |
1181 | { "Day before yesterday","Vorgestern" }, | 1181 | { "Day before yesterday","Vorgestern" }, |
1182 | { "Size %1","Gr��e %1" }, | 1182 | { "Size %1","Gr��e %1" }, |
1183 | { "New Agendasize: %1","Neue Agendagr��e: %1" }, | 1183 | { "New Agendasize: %1","Neue Agendagr��e: %1" }, |
1184 | { " (%1 y.)"," (%1 J.)" }, | 1184 | { " (%1 y.)"," (%1 J.)" }, |
1185 | { "Allday:","Ganzt�gig:" }, | 1185 | { "Allday:","Ganzt�gig:" }, |
1186 | { "compl.todos","erled.Todos" }, | 1186 | { "compl.todos","erled.Todos" }, |
1187 | { "Day view","Tagesansicht" }, | 1187 | { "Day view","Tagesansicht" }, |
1188 | { "Next days","N�chste Tage" }, | 1188 | { "Next days","N�chste Tage" }, |
1189 | { "Next week","N�chste Woche" }, | 1189 | { "Next week","N�chste Woche" }, |
1190 | { "Next two weeks","N�chste zwei Wochen" }, | 1190 | { "Next two weeks","N�chste zwei Wochen" }, |
1191 | { "This month","Dieser Monat" }, | 1191 | { "This month","Dieser Monat" }, |
1192 | { "Journal view","Journal" }, | 1192 | { "Journal view","Journal" }, |
1193 | { "Display all opened","Zeige alle ge�ffnet" }, | 1193 | { "Display all opened","Zeige alle ge�ffnet" }, |
1194 | { "Display all closed","Zeige alle geschlossen" }, | 1194 | { "Display all closed","Zeige alle geschlossen" }, |
1195 | { "Display all flat","Zeige alle flach" }, | 1195 | { "Display all flat","Zeige alle flach" }, |
1196 | { "<p><i>Completed on %1</i></p>","<p><i>Erledigt am %1</i></p>" }, | 1196 | { "<p><i>Completed on %1</i></p>","<p><i>Erledigt am %1</i></p>" }, |
1197 | { "Default todo done color:","Standard Todo erledigt Farbe" }, | 1197 | { "Default todo done color:","Standard Todo erledigt Farbe" }, |
1198 | { "Select week %1-%2","W�hle Woche %1-%2" }, | 1198 | { "Select week %1-%2","W�hle Woche %1-%2" }, |
1199 | { "Select Week","W�hle Woche" }, | 1199 | { "Select Week","W�hle Woche" }, |
1200 | { "Set alarm for selected...","Setze Alarm f�r Selekt..." }, | 1200 | { "Set alarm for selected...","Setze Alarm f�r Selekt..." }, |
1201 | { "Set Alarm!","Setze Alarm!" }, | 1201 | { "Set Alarm!","Setze Alarm!" }, |
1202 | { "Changed alarm for %1 items","Alarm f�r %1 Items ge�ndert" }, | 1202 | { "Changed alarm for %1 items","Alarm f�r %1 Items ge�ndert" }, |
1203 | { " and "," und " }, | 1203 | { " and "," und " }, |
1204 | { "<IMG src="%1"> only )","nur <IMG src="%1"> )" }, | 1204 | { "<IMG src="%1"> only )","nur <IMG src="%1"> )" }, |
1205 | { "Mail to selected","Mail an Ausgew�hlte" }, | 1205 | { "Mail to selected","Mail an Ausgew�hlte" }, |
1206 | { "Mail to all","Mail an Alle" }, | 1206 | { "Mail to all","Mail an Alle" }, |
1207 | { "Week view mode uses bigger font","Wochenansicht Modus nutzt gr��eren Font" }, | 1207 | { "Week view mode uses bigger font","Wochenansicht Modus nutzt gr��eren Font" }, |
1208 | { "Set reminder ON with offset to:","Alarm AN mit Offset auf:" }, | 1208 | { "Set reminder ON with offset to:","Alarm AN mit Offset auf:" }, |
1209 | { " on"," am" }, | 1209 | { " on"," am" }, |
1210 | { " completed on "," erledigt am " }, | 1210 | { " completed on "," erledigt am " }, |
1211 | { "Save as Event template","Speichere als Vorlage" }, | 1211 | { "Save as Event template","Speichere als Vorlage" }, |
1212 | { "Load Event template","Lade Termin Vorlage" }, | 1212 | { "Load Event template","Lade Termin Vorlage" }, |
1213 | { "Save as Journal template","Speichere als Journal Vorlage" }, | 1213 | { "Save as Journal template","Speichere als Journal Vorlage" }, |
1214 | { "Insert Journal template","F�ge Journal Vorlage ein" }, | 1214 | { "Insert Journal template","F�ge Journal Vorlage ein" }, |
1215 | { "Sub todos:<br>","Unter Todos:<br>" }, | 1215 | { "Sub todos:<br>","Unter Todos:<br>" }, |
1216 | { "Parent todo:<br>","�ber Todo:<br>" }, | 1216 | { "Parent todo:<br>","�ber Todo:<br>" }, |
1217 | { "Set current as color category","Setze Gew�hlte als Farbkategorie" }, | 1217 | { "Set current as color category","Setze Gew�hlte als Farbkategorie" }, |
1218 | { " completed"," erledigt" }, | 1218 | { " completed"," erledigt" }, |
1219 | { "(c)2004 Lutz Rogowski (rogowski@kde.org)\nKO/Pi is based on KOrganizer\n(c)2002,2003 Cornelius Schumacher\n(schumacher@kde.org) and the KDE team.\nKOrganizer/Pi is licensed under the GPL.\nKO/Pi can be compiled for\nLinux, Zaurus-PDA and Windows\nwww.pi-sync.info --- www.korganizer.org\nSpecial thanks to Michael and Ben\nfor intensive testing!","(c)2004 Lutz Rogowski (rogowski@kde.org)\nKO/Pi basiert auf KOrganizer\n(c)2002,2003 Cornelius Schumacher\n(schumacher@kde.org) und das KDE Team.\nKOrganizer/Pi ist lizensiert unter der GPL.\nKO/Pi kann kompiliert werden f�r\nLinux, Zaurus-PDA und Windows\nwww.pi-sync.info --- www.korganizer.org\nBesonderen Dank an Michael und Ben\nf�r intensives Testen!" }, | 1219 | { "(c)2004 Lutz Rogowski (rogowski@kde.org)\nKO/Pi is based on KOrganizer\n(c)2002,2003 Cornelius Schumacher\n(schumacher@kde.org) and the KDE team.\nKOrganizer/Pi is licensed under the GPL.\nKO/Pi can be compiled for\nLinux, Zaurus-PDA and Windows\nwww.pi-sync.info --- www.korganizer.org\nSpecial thanks to Michael and Ben\nfor intensive testing!","(c)2004 Lutz Rogowski (rogowski@kde.org)\nKO/Pi basiert auf KOrganizer\n(c)2002,2003 Cornelius Schumacher\n(schumacher@kde.org) und das KDE Team.\nKOrganizer/Pi ist lizensiert unter der GPL.\nKO/Pi kann kompiliert werden f�r\nLinux, Zaurus-PDA und Windows\nwww.pi-sync.info --- www.korganizer.org\nBesonderen Dank an Michael und Ben\nf�r intensives Testen!" }, |
1220 | { "Syncing aborted. Nothing synced.","Syncing abgebrochen.Nichts wurde gesynct." }, | 1220 | { "Syncing aborted. Nothing synced.","Syncing abgebrochen.Nichts wurde gesynct." }, |
1221 | { "Connected! Sending request for remote file ...","Verbunden! Sende Daten Anfrage..." }, | 1221 | { "Connected! Sending request for remote file ...","Verbunden! Sende Daten Anfrage..." }, |
1222 | { "Trying to connect to remote...","Versuche mit Gegenstelle zu verbinden..." }, | 1222 | { "Trying to connect to remote...","Versuche mit Gegenstelle zu verbinden..." }, |
1223 | { "Connection to remote\nhost timed out!\nDid you forgot to enable\nsyncing on remote host?","Verbindungsversuch wegen\nZeit�berschreitung gescheitert!\nWurde vergessen Pi-Sync auf\nder Gegenstelle anzuschalten?" }, | 1223 | { "Connection to remote\nhost timed out!\nDid you forgot to enable\nsyncing on remote host?","Verbindungsversuch wegen\nZeit�berschreitung gescheitert!\nWurde vergessen Pi-Sync auf\nder Gegenstelle anzuschalten?" }, |
1224 | { "ERROR: Receiving remote file failed.","FEHLER: Empfang der entfernten Daten fehlgeschlagen." }, | 1224 | { "ERROR: Receiving remote file failed.","FEHLER: Empfang der entfernten Daten fehlgeschlagen." }, |
1225 | { "Error","Fehler" }, | 1225 | { "Error","Fehler" }, |
1226 | { ""You entered an invalid date!\n Date changed to current date.","Ung�ltiges Datum eingegeben.\nSetze heutiges Datum." }, | 1226 | { ""You entered an invalid date!\n Date changed to current date.","Ung�ltiges Datum eingegeben.\nSetze heutiges Datum." }, |
1227 | { "You entered an invalid date!\n Will use current date instead.","Ung�ltiges Datum eingegeben.\nSetze stattdessen heutiges Datum." }, | 1227 | { "You entered an invalid date!\n Will use current date instead.","Ung�ltiges Datum eingegeben.\nSetze stattdessen heutiges Datum." }, |
1228 | { "Warning","Warnung" }, | 1228 | { "Warning","Warnung" }, |
1229 | { "Select week number","W�hle Wochen Nummer" }, | 1229 | { "Select week number","W�hle Wochen Nummer" }, |
1230 | { "Februar","Februar" }, | 1230 | { "Februar","Februar" }, |
1231 | { "Click on the week number to\nshow week zoomed","Klicke auf die Wochennummer\num die Woche gro� zu zeigen" }, | 1231 | { "Click on the week number to\nshow week zoomed","Klicke auf die Wochennummer\num die Woche gro� zu zeigen" }, |
1232 | { "W","W" }, | 1232 | { "W","W" }, |
1233 | { "Click on this to\nselect week number","Klicke hierauf um\ndie Woche auszuw�hlen" }, | 1233 | { "Click on this to\nselect week number","Klicke hierauf um\ndie Woche auszuw�hlen" }, |
1234 | { "T: %1","T: %1" }, | 1234 | { "T: %1","T: %1" }, |
1235 | { "Start: ","Start: " }, | 1235 | { "Start: ","Start: " }, |
1236 | { "Pi-Sync options for device: ","Pi-Sync Einstellungen f�r Ger�t: " }, | 1236 | { "Pi-Sync options for device: ","Pi-Sync Einstellungen f�r Ger�t: " }, |
1237 | { "Password for remote access:","Passwort f�r fernen Zugriff:" }, | 1237 | { "Password for remote access:","Passwort f�r fernen Zugriff:" }, |
1238 | { "Remote IP address:","Ferne IP Adresse:" }, | 1238 | { "Remote IP address:","Ferne IP Adresse:" }, |
1239 | { "Remote port number:","Ferne Port Nummer:" }, | 1239 | { "Remote port number:","Ferne Port Nummer:" }, |
1240 | { "Remote file saved to temp file.","Ferne Daten in temp Datei gespeichert." }, | 1240 | { "Remote file saved to temp file.","Ferne Daten in temp Datei gespeichert." }, |
1241 | { "Remote from: ","Fern von: " }, | 1241 | { "Remote from: ","Fern von: " }, |
1242 | { "Local from: ","Lokal von: " }, | 1242 | { "Local from: ","Lokal von: " }, |
1243 | { "Synchronization summary:\n\n %d items added to local\n %d items added to remote\n %d items updated on local\n %d items updated on remote\n %d items deleted on local\n %d items deleted on remote\n %d incoming filtered out\n %d outgoing filtered out\n","Synchronisations�bersicht:\n\n %d lokal hinzugef�gt\n %d fern hinzugef�gt\n %d lokal ge�ndert\n %d fern ge�ndert\n %d lokal gel�scht\n %d fern gel�scht\n %d eingehende ausgefiltert\n %d ausgehende ausgefiltert\n" }, | 1243 | { "Synchronization summary:\n\n %d items added to local\n %d items added to remote\n %d items updated on local\n %d items updated on remote\n %d items deleted on local\n %d items deleted on remote\n %d incoming filtered out\n %d outgoing filtered out\n","Synchronisations�bersicht:\n\n %d lokal hinzugef�gt\n %d fern hinzugef�gt\n %d lokal ge�ndert\n %d fern ge�ndert\n %d lokal gel�scht\n %d fern gel�scht\n %d eingehende ausgefiltert\n %d ausgehende ausgefiltert\n" }, |
1244 | { "Local calendar changed!\n","Lokaler Kalender ge�ndert!\n" }, | 1244 | { "Local calendar changed!\n","Lokaler Kalender ge�ndert!\n" }, |
1245 | { "Write back","Schreibe zur�ck" }, | 1245 | { "Write back","Schreibe zur�ck" }, |
1246 | { "KO/Pi Synchronization","KO/Pi Synchronisation" }, | 1246 | { "KO/Pi Synchronization","KO/Pi Synchronisation" }, |
1247 | { "Pi-Sync succesful!","Pi-Sync erfolgreich!" }, | 1247 | { "Pi-Sync succesful!","Pi-Sync erfolgreich!" }, |
1248 | { "Received sync request","Sync Anfrage erhalten" }, | 1248 | { "Received sync request","Sync Anfrage erhalten" }, |
1249 | { "Synchronizing from remote ...\n\nDo not use this application!\n\nIf syncing fails\nyou can close this dialog.","Ferne Synchronisation ...\n\nBenutze diese Anwendung nicht!\n\nWenn das Syncen fehlschl�gt kann\ndieser Dialog geschlossen werden." }, | 1249 | { "Synchronizing from remote ...\n\nDo not use this application!\n\nIf syncing fails\nyou can close this dialog.","Ferne Synchronisation ...\n\nBenutze diese Anwendung nicht!\n\nWenn das Syncen fehlschl�gt kann\ndieser Dialog geschlossen werden." }, |
1250 | { "Saving Data to temp file ...","Speichere Daten in temp Datei..." }, | 1250 | { "Saving Data to temp file ...","Speichere Daten in temp Datei..." }, |
1251 | { "Data saved to temp file!","Daten in temp Datei gespeichert!" }, | 1251 | { "Data saved to temp file!","Daten in temp Datei gespeichert!" }, |
1252 | { "Sending file...","Sende Datei..." }, | 1252 | { "Sending file...","Sende Datei..." }, |
1253 | { "Waiting for synced file...","Warte auf gesyncte Daten..." }, | 1253 | { "Waiting for synced file...","Warte auf gesyncte Daten..." }, |
1254 | { "Receiving synced file...","Gesyncte Daten erhalten..." }, | 1254 | { "Receiving synced file...","Gesyncte Daten erhalten..." }, |
1255 | { "Received %1 bytes","%1 Bytes erhalten" }, | 1255 | { "Received %1 bytes","%1 Bytes erhalten" }, |
1256 | { "Writing file to disk...","Speichere Datei..." }, | 1256 | { "Writing file to disk...","Speichere Datei..." }, |
1257 | { "Pi-Sync successful!","Pi-Sync erfolgreich!" }, | 1257 | { "Pi-Sync successful!","Pi-Sync erfolgreich!" }, |
1258 | { "Clock skew of\nsyncing devices\nis %1 seconds!","Uhrzeitunterschied der\nsyncenden Ger�te\nist %1 Sekunden!" }, | 1258 | { "Clock skew of\nsyncing devices\nis %1 seconds!","Uhrzeitunterschied der\nsyncenden Ger�te\nist %1 Sekunden!" }, |
1259 | { "Synchronize!","Synchronisiere!" }, | 1259 | { "Synchronize!","Synchronisiere!" }, |
1260 | { "High clock skew!","Gro�er Uhrzeitunterschied!" }, | 1260 | { "High clock skew!","Gro�er Uhrzeitunterschied!" }, |
1261 | { "ADJUST\nYOUR\nCLOCKS!","JUSTIERE\nDIE\nUHREN!" }, | 1261 | { "ADJUST\nYOUR\nCLOCKS!","JUSTIERE\nDIE\nUHREN!" }, |
1262 | { "The clocks of the syncing\ndevices have a difference\nof more than 5 minutes.\nPlease adjust your clocks.\nYou may get wrong syncing results!\nPlease confirm synchronization!","Die Uhren der syncenden Ger�te\nhaben einen Unterschied von\nmehr als 5 Minuten. Bitte die\nUhrzeiten anpassen. Sie k�nnen\nfalsche Sync-Resultate erhalten!\nBitte das Syncen best�tigen!" }, | 1262 | { "The clocks of the syncing\ndevices have a difference\nof more than 5 minutes.\nPlease adjust your clocks.\nYou may get wrong syncing results!\nPlease confirm synchronization!","Die Uhren der syncenden Ger�te\nhaben einen Unterschied von\nmehr als 5 Minuten. Bitte die\nUhrzeiten anpassen. Sie k�nnen\nfalsche Sync-Resultate erhalten!\nBitte das Syncen best�tigen!" }, |
1263 | { "This is a %1 recurring todo.","Das ist eine %1 wiederholende Aufgabe." }, | 1263 | { "This is a %1 recurring todo.","Das ist eine %1 wiederholende Aufgabe." }, |
1264 | { "<p><b>Start on:</b> %1</p>","<p><b>Start am:</b> %1</p>" }, | 1264 | { "<p><b>Start on:</b> %1</p>","<p><b>Start am:</b> %1</p>" }, |
1265 | { "List week view","Listenwochenansicht" }, | 1265 | { "List week view","Listenwochenansicht" }, |
1266 | { "List week","Listenwochenansicht" }, | 1266 | { "List week","Listenwochenansicht" }, |
1267 | { "Next Week","N�chste Woche" }, | 1267 | { "Next Week","N�chste Woche" }, |
1268 | { "Previous Week","Vorherige Woche" }, | 1268 | { "Previous Week","Vorherige Woche" }, |
1269 | { "No items were found matching\nyour search expression.\nUse the wildcard characters\n'*' and '?' where needed.","Keine Eintr�ge gefunden die\ndem Suchausdruck entsprechen.\nBenutze Platzhalter Zeichen\n'*' und '?' wo ben�tigt." }, | 1269 | { "No items were found matching\nyour search expression.\nUse the wildcard characters\n'*' and '?' where needed.","Keine Eintr�ge gefunden die\ndem Suchausdruck entsprechen.\nBenutze Platzhalter Zeichen\n'*' und '?' wo ben�tigt." }, |
1270 | { "Show in todo/event viewer:","Zeige in Termin/Todo Anzeige:" }, | 1270 | { "Show in todo/event viewer:","Zeige in Termin/Todo Anzeige:" }, |
1271 | { "Details","Details" }, | 1271 | { "Details","Details" }, |
1272 | { "Created time","Erstellt Zeit" }, | 1272 | { "Created time","Erstellt Zeit" }, |
1273 | { "Last modified time","Ge�ndert Zeit" }, | 1273 | { "Last modified time","Ge�ndert Zeit" }, |
1274 | { "Show in What'sThis quick overview:","Zeige in What'sThis Schnell�bersicht:" }, | 1274 | { "Show in What'sThis quick overview:","Zeige in What'sThis Schnell�bersicht:" }, |
1275 | { "View Options","Anzeige Optionen" }, | 1275 | { "View Options","Anzeige Optionen" }, |
1276 | { "<b>Created: ","<b>Erstellt am: " }, | 1276 | { "<b>Created: ","<b>Erstellt am: " }, |
1277 | { "<b>Last modified: ","<b>Zuletzt ge�ndert am: " }, | 1277 | { "<b>Last modified: ","<b>Zuletzt ge�ndert am: " }, |
1278 | { "Journal: ","Journal: " }, | 1278 | { "Journal: ","Journal: " }, |
1279 | { "yearly","j�hrlich" }, | 1279 | { "yearly","j�hrlich" }, |
1280 | { "(%1) ","%1-" }, | 1280 | { "(%1) ","%1-" }, |
1281 | { "<p><b>K</b>: Week view in Month view syle</p>\n","<p><b>K</b>: Wochenansicht in Art der Monatsansicht</p>\n" }, | 1281 | { "<p><b>K</b>: Week view in Month view syle</p>\n","<p><b>K</b>: Wochenansicht in Art der Monatsansicht</p>\n" }, |
1282 | { "Enable tooltips displaying summary of ev.","Titel-Tooltips anzeigen" }, | 1282 | { "Enable tooltips displaying summary of ev.","Titel-Tooltips anzeigen" }, |
1283 | { "Enable scrollbars in month view cells","Scrollbar in Zellen anzeigen" }, | 1283 | { "Enable scrollbars in month view cells","Scrollbar in Zellen anzeigen" }, |
1284 | { "Summary/Loc.","Titel/Ort" }, | 1284 | { "Summary/Loc.","Titel/Ort" }, |
1285 | { "No items found. Use '*' and '?' where needed.","Nichts gefunden. Benutze '*' and '?' wo ben�tigt." }, | 1285 | { "No items found. Use '*' and '?' where needed.","Nichts gefunden. Benutze '*' and '?' wo ben�tigt." }, |
1286 | { "Week Number","Wochennummer" }, | 1286 | { "Week Number","Wochennummer" }, |
1287 | { "Import","Importiere" }, | 1287 | { "Import","Importiere" }, |
1288 | { "Export","Exportiere" }, | 1288 | { "Export","Exportiere" }, |
1289 | { "Beam","Beame" }, | 1289 | { "Beam","Beame" }, |
1290 | { "Export selected","Exportiere Selektierte" }, | 1290 | { "Export selected","Exportiere Selektierte" }, |
1291 | { "As iCal (ics) file...","Als iCal (ics) Datei..." }, | 1291 | { "As iCal (ics) file...","Als iCal (ics) Datei..." }, |
1292 | { "As vCal (vcs) file...","Als vCal (vcs) Datei..." }, | 1292 | { "As vCal (vcs) file...","Als vCal (vcs) Datei..." }, |
1293 | { "Journal/Details...","Journale/Details..." }, | 1293 | { "Journal/Details...","Journale/Details..." }, |
1294 | { "Agenda View","Agenda Ansicht" }, | 1294 | { "Agenda View","Agenda Ansicht" }, |
1295 | { "Show current time","Zeige aktuelle Zeit" }, | 1295 | { "Show current time","Zeige aktuelle Zeit" }, |
1296 | { "Edit new item","Bearbeite neuen Eintrag" }, | 1296 | { "Edit new item","Bearbeite neuen Eintrag" }, |
1297 | { "Please select at least one\nof the types to search for:\n\nEvents\nTodos\nJournals","Bitte w�hlen Sie mindestens\neinen dieser Typen\num darin zu suchen:\n\nTermine\nTodos\nJournale" }, | 1297 | { "Please select at least one\nof the types to search for:\n\nEvents\nTodos\nJournals","Bitte w�hlen Sie mindestens\neinen dieser Typen\num darin zu suchen:\n\nTermine\nTodos\nJournale" }, |
1298 | { "There is no next alarm.","Es gibt keinen n�chsten Alarm." }, | 1298 | { "There is no next alarm.","Es gibt keinen n�chsten Alarm." }, |
1299 | { "%1 %2 - %3 (next event/todo with alarm)","%1 %2 - %3 (n�chster Termin/Todo mit Alarm)" }, | 1299 | { "%1 %2 - %3 (next event/todo with alarm)","%1 %2 - %3 (n�chster Termin/Todo mit Alarm)" }, |
1300 | { "The next alarm is in:\n","Der n�chste Alarm ist in:\n" }, | 1300 | { "The next alarm is in:\n","Der n�chste Alarm ist in:\n" }, |
1301 | { "%1 days\n","%1 Tagen\n" }, | 1301 | { "%1 days\n","%1 Tagen\n" }, |
1302 | { "1 day\n","1 Tag\n" }, | 1302 | { "1 day\n","1 Tag\n" }, |
1303 | { "%1 hours\n","%1 Stunden\n" }, | 1303 | { "%1 hours\n","%1 Stunden\n" }, |
1304 | { "1 hour\n","1 Stunde\n" }, | 1304 | { "1 hour\n","1 Stunde\n" }, |
1305 | { "%1 minutes\n","%1 Minuten\n" }, | 1305 | { "%1 minutes\n","%1 Minuten\n" }, |
1306 | { "1 minute\n","1 Minute\n" }, | 1306 | { "1 minute\n","1 Minute\n" }, |
1307 | { "Only one toolbar","Nur eine Toolbar" }, | 1307 | { "Only one toolbar","Nur eine Toolbar" }, |
1308 | { "Print","Drucke" }, | 1308 | { "Print","Drucke" }, |
1309 | { "Print selected event / todo...","Drucke ausgew�hlten Termin / Todo..." }, | 1309 | { "Print selected event / todo...","Drucke ausgew�hlten Termin / Todo..." }, |
1310 | { "There is nothing selected!","Es ist nichts ausgew�hlt!" }, | 1310 | { "There is nothing selected!","Es ist nichts ausgew�hlt!" }, |
1311 | { "\n\nDo you really want to print this item?","\n\nM�chten Sie wirklich diesen Eintrag ausdrucken? " }, | 1311 | { "\n\nDo you really want to print this item?","\n\nM�chten Sie wirklich diesen Eintrag ausdrucken? " }, |
1312 | { "KO/Pi Print Confirmation","KO/Pi Druckbest�tigung" }, | 1312 | { "KO/Pi Print Confirmation","KO/Pi Druckbest�tigung" }, |
1313 | { "This prints the view as you see it.\n(With the complete content, of course.)\nYou may change the print layout by resizing the view.\nPrint unscaled may print several pages\ndepending on the amount of data.\nPrint scaled down will print all on one page.\nPrint scaled up/down will print all on one page,\nbut will scale up the text to page boundaries,\nif the text is smaller than the page.\nYou can select page geometry setup in the next dialog.\n","Dies druckt die Ansicht wie man sie sieht.\n(Mit dem kompletten Inhalt nat�rlich.)\nMan kann das Layout �ndern durch �ndern der Fenstergr��e.\nDrucke unskaliert druckt ggf. mehrere Seiten\nabh�ngig von der Menge der Daten.\nDrucke runterskaliert um auf eine Seite zu passen\ndruckt alles auf eine Seite.\nDrucke hoch/runterskaliert um genau auf eine Seite zu passen\nvergr��ert den Text gegebenenfalls.\nDas Seitenlayout kann im n�chsten Dialog gew�hlt werden.\n" }, | 1313 | { "This prints the view as you see it.\n(With the complete content, of course.)\nYou may change the print layout by resizing the view.\nPrint unscaled may print several pages\ndepending on the amount of data.\nPrint scaled down will print all on one page.\nPrint scaled up/down will print all on one page,\nbut will scale up the text to page boundaries,\nif the text is smaller than the page.\nYou can select page geometry setup in the next dialog.\n","Dies druckt die Ansicht wie man sie sieht.\n(Mit dem kompletten Inhalt nat�rlich.)\nMan kann das Layout �ndern durch �ndern der Fenstergr��e.\nDrucke unskaliert druckt ggf. mehrere Seiten\nabh�ngig von der Menge der Daten.\nDrucke runterskaliert um auf eine Seite zu passen\ndruckt alles auf eine Seite.\nDrucke hoch/runterskaliert um genau auf eine Seite zu passen\nvergr��ert den Text gegebenenfalls.\nDas Seitenlayout kann im n�chsten Dialog gew�hlt werden.\n" }, |
1314 | { "KO/Pi Printout","KO/Pi Ausdruck" }, | 1314 | { "KO/Pi Printout","KO/Pi Ausdruck" }, |
1315 | { "Print unscaled","Drucke unskaliert" }, | 1315 | { "Print unscaled","Drucke unskaliert" }, |
1316 | { "Print scaled down to fit one page","Drucke runterskaliert um auf eine Seite zu passen." }, | 1316 | { "Print scaled down to fit one page","Drucke runterskaliert um auf eine Seite zu passen." }, |
1317 | { "Print scaled up/down to fit one page","Drucke hoch/runterskaliert um genau auf eine Seite zu passen." }, | 1317 | { "Print scaled up/down to fit one page","Drucke hoch/runterskaliert um genau auf eine Seite zu passen." }, |
1318 | { "Printout Mode","Druck Modus" }, | 1318 | { "Printout Mode","Druck Modus" }, |
1319 | { "Filter menu icon","Filtermenu Icon" }, | 1319 | { "Filter menu icon","Filtermenu Icon" }, |
1320 | { "<p><b>A+(shift or ctrl)</b>: Show occurence of next alarm</p>\n","<p><b>A+(shift oder ctrl)</b>: Zeige Zeit bis zum n�chsten Alarm</p>\n" }, | 1320 | { "<p><b>A+(shift or ctrl)</b>: Show occurence of next alarm</p>\n","<p><b>A+(shift oder ctrl)</b>: Zeige Zeit bis zum n�chsten Alarm</p>\n" }, |
1321 | { "<p><b>N</b>: Switch to next view which has a toolbar icon</p>\n","<p><b>N</b>: Wechsle zur n�chsten Ansicht, die ein Icon in der Toolbar hat</p>\n" }, | 1321 | { "<p><b>N</b>: Switch to next view which has a toolbar icon</p>\n","<p><b>N</b>: Wechsle zur n�chsten Ansicht, die ein Icon in der Toolbar hat</p>\n" }, |
1322 | { "%1d","%1t" }, | 1322 | { "%1d","%1t" }, |
1323 | { "%1h","%1std" }, | 1323 | { "%1h","%1std" }, |
1324 | { "%1min","%1min" }, | 1324 | { "%1min","%1min" }, |
1325 | { "( %1 before )","( %1 vorher )" }, | 1325 | { "( %1 before )","( %1 vorher )" }, |
1326 | { "The next alarm is in\nless than one minute!","Der n�chste Alarm kommt in\nweniger als einer Minute!" }, | 1326 | { "The next alarm is in\nless than one minute!","Der n�chste Alarm kommt in\nweniger als einer Minute!" }, |
1327 | { "\nThe internal alarm notification is disabled!\n","\nDie interne Alarmbenachrichtigung ist ausgeschaltet!\n" }, | 1327 | { "\nThe internal alarm notification is disabled!\n","\nDie interne Alarmbenachrichtigung ist ausgeschaltet!\n" }, |
1328 | { "Enable it in the settings menu, TAB alarm.","Schalten Sie sie an im Menu Einstellungen, TAB Alarm." }, | 1328 | { "Enable it in the settings menu, TAB alarm.","Schalten Sie sie an im Menu Einstellungen, TAB Alarm." }, |
1329 | { "Show Sync Events","Zeige Sync-Ereignisse" }, | 1329 | { "Show Sync Events","Zeige Sync-Ereignisse" }, |
1330 | { "Use short date in WN+Event view","Zeige Kurzdatum in WN+Terminanzeige" }, | 1330 | { "Use short date in WN+Event view","Zeige Kurzdatum in WN+Terminanzeige" }, |
1331 | { "Number of max.displayed todo prios:","Anzahl max.angezeigter Todo-Prios:" }, | 1331 | { "Number of max.displayed todo prios:","Anzahl max.angezeigter Todo-Prios:" }, |
1332 | { " on "," am " }, | 1332 | { " on "," am " }, |
1333 | { "On: ","Am: " }, | 1333 | { "On: ","Am: " }, |
1334 | { "<i>The recurrence is computed from the start datetime!</i>","<i>Die Wiederholung wird vom Startwert aus berechnet!</i>" }, | 1334 | { "<i>The recurrence is computed from the start datetime!</i>","<i>Die Wiederholung wird vom Startwert aus berechnet!</i>" }, |
1335 | { "Start/Stop todo...","Starte/Stoppe Todo..." }, | 1335 | { "Start/Stop todo...","Starte/Stoppe Todo..." }, |
1336 | { "Color for running todos:","Farbe f�r laufende Todos:" }, | 1336 | { "Color for running todos:","Farbe f�r laufende Todos:" }, |
1337 | { "The todo\n%1\nis started.\nDo you want to set\nthe state to stopped?","Das Todo\n%1\nist gestartet.\nWollen Sie es\nauf gestoppt setzen?" }, | 1337 | { "The todo\n%1\nis started.\nDo you want to set\nthe state to stopped?","Das Todo\n%1\nist gestartet.\nWollen Sie es\nauf gestoppt setzen?" }, |
1338 | { "Todo is started","Todo ist gestartet" }, | 1338 | { "Todo is started","Todo ist gestartet" }, |
1339 | { "Stop todo","Stoppe Todo" }, | 1339 | { "Stop todo","Stoppe Todo" }, |
1340 | { "Todo is stopped","Todo ist gestoppt" }, | 1340 | { "Todo is stopped","Todo ist gestoppt" }, |
1341 | { "Start todo","Starte Todo" }, | 1341 | { "Start todo","Starte Todo" }, |
1342 | { "The todo\n%1\nis stopped.\nDo you want to set\nthe state to started?","Das Todo\n%1\nist gestoppt.\nWollen Sie es auf\ngestartet setzen?" }, | 1342 | { "The todo\n%1\nis stopped.\nDo you want to set\nthe state to started?","Das Todo\n%1\nist gestoppt.\nWollen Sie es auf\ngestartet setzen?" }, |
1343 | { "The todo\n%1\nwill be cloned!\nIt has subtodos!\nDo you want to clone\nall subtodos as well?","Das Todo\n%1\nwird geklont!\nEs hat Untertodos!\nM�chten Sie alle\nUntertodos auch klonen?" }, | 1343 | { "The todo\n%1\nwill be cloned!\nIt has subtodos!\nDo you want to clone\nall subtodos as well?","Das Todo\n%1\nwird geklont!\nEs hat Untertodos!\nM�chten Sie alle\nUntertodos auch klonen?" }, |
1344 | { "Todo has subtodos","Todo hat Untertodos" }, | 1344 | { "Todo has subtodos","Todo hat Untertodos" }, |
1345 | { "Block popup until mouse button release","Sperre Popup bis Mausknopf losgelassen" }, | 1345 | { "Block popup until mouse button release","Sperre Popup bis Mausknopf losgelassen" }, |
1346 | { "Colors","Farben" }, | 1346 | { "Colors","Farben" }, |
1347 | { "Click on new parent item","Klicke auf neues �bertodo" }, | 1347 | { "Click on new parent item","Klicke auf neues �bertodo" }, |
1348 | { "Reparenting aborted!","�bertodo setzen abgebrochen" }, | 1348 | { "Reparenting aborted!","�bertodo setzen abgebrochen" }, |
1349 | { "Cannot move Todo to itself\nor a child of itself","Kann nicht Todo auf\nsich selbst oder\nein Untertodo verschieben" }, | 1349 | { "Cannot move Todo to itself\nor a child of itself","Kann nicht Todo auf\nsich selbst oder\nein Untertodo verschieben" }, |
1350 | { "Recursive reparenting not possible!","Rekursives Verschieben nicht m�glich" }, | 1350 | { "Recursive reparenting not possible!","Rekursives Verschieben nicht m�glich" }, |
1351 | { "Delete all completed todos?\n(Completed recurring todos\nwill not be deleted!)","Entferne alle erledigten Todos?\n(Erledigte wiederholende Todos\nwerden nicht gel�scht!)" }, | 1351 | { "Delete all completed todos?\n(Completed recurring todos\nwill not be deleted!)","Entferne alle erledigten Todos?\n(Erledigte wiederholende Todos\nwerden nicht gel�scht!)" }, |
1352 | { "Alternating background of list views","Abwechselnder Hintergrund f�r Listen" }, | 1352 | { "Alternating background of list views","Abwechselnder Hintergrund f�r Listen" }, |
1353 | { "times","Zeiten" }, | 1353 | { "times","Zeiten" }, |
1354 | { "The todo\n%1\nhas subtodos!\nDo you want to set\nthe categories for\nall subtodos as well?","Das Todo\n%1\nhat Untertodos!\nM�chten Sie die Kategorien\nauch f�r alle Untertodos setzen?" }, | 1354 | { "The todo\n%1\nhas subtodos!\nDo you want to set\nthe categories for\nall subtodos as well?","Das Todo\n%1\nhat Untertodos!\nM�chten Sie die Kategorien\nauch f�r alle Untertodos setzen?" }, |
1355 | { "Backup enabled","Backup angeschaltet" }, | 1355 | { "Backup enabled","Backup angeschaltet" }, |
1356 | { "Use standard backup dir","Standard Backupverzeichnis" }, | 1356 | { "Use standard backup dir","Standard Backupverzeichnis" }, |
1357 | { "Number of Backups:","Anzahl der Backups" }, | 1357 | { "Number of Backups:","Anzahl der Backups" }, |
1358 | { "Make backup every ","Mache ein Backup alle " }, | 1358 | { "Make backup every ","Mache ein Backup alle " }, |
1359 | { " days"," Tage" }, | 1359 | { " days"," Tage" }, |
1360 | { "Creating backup ... please wait ...","Erzeuge Backup ... bitte warten ..." }, | 1360 | { "Creating backup ... please wait ...","Erzeuge Backup ... bitte warten ..." }, |
1361 | { "Backup Failed!","Backup Problem!" }, | 1361 | { "Backup Failed!","Backup Problem!" }, |
1362 | { "Try again now","Versuche jetzt nochmal" }, | 1362 | { "Try again now","Versuche jetzt nochmal" }, |
1363 | { "Try again later","Versuche sp�ter nochmal" }, | 1363 | { "Try again later","Versuche sp�ter nochmal" }, |
1364 | { "Try again tomorrow","Versuche morgen nochmal" }, | 1364 | { "Try again tomorrow","Versuche morgen nochmal" }, |
1365 | { "Disable backup","Schalte Backup ab" }, | 1365 | { "Disable backup","Schalte Backup ab" }, |
1366 | { "<b>Backup directory does not exist: </b>","<b>Backup Verzeichnis existiert nicht: </b>" }, | 1366 | { "<b>Backup directory does not exist: </b>","<b>Backup Verzeichnis existiert nicht: </b>" }, |
1367 | { "<b>The backup copy command failed!</b>","<b>Das Backup Kopierkommando is fehlgeschlagen!</b>" }, | 1367 | { "<b>The backup copy command failed!</b>","<b>Das Backup Kopierkommando is fehlgeschlagen!</b>" }, |
1368 | { "Choose action","W�hle Aktion" }, | 1368 | { "Choose action","W�hle Aktion" }, |
1369 | { "Comment for todo:","Kommentar zum Todo:" }, | 1369 | { "Comment for todo:","Kommentar zum Todo:" }, |
1370 | { "Stop+note","Stop+Notiz" }, | 1370 | { "Stop+note","Stop+Notiz" }, |
1371 | { "Agenda view shows completed todos","Agenda Ansicht zeigt erledigte Todos" }, | 1371 | { "Agenda view shows completed todos","Agenda Ansicht zeigt erledigte Todos" }, |
1372 | { "KO/Pi: Missing alarms!","KO/Pi: Verpasste Alarme!" }, | 1372 | { "KO/Pi: Missing alarms!","KO/Pi: Verpasste Alarme!" }, |
1373 | { "You missed the alarms for the following events or todos:","Sie verpassten die Alarme f�r folgende Termine oder Todos:" }, | 1373 | { "You missed the alarms for the following events or todos:","Sie verpassten die Alarme f�r folgende Termine oder Todos:" }, |
1374 | { "Print complete list","Drucke komplette Liste" }, | 1374 | { "Print complete list","Drucke komplette Liste" }, |
1375 | { "Hide all selected","Verstecke Selektierte" }, | 1375 | { "Hide all selected","Verstecke Selektierte" }, |
1376 | { "Add items","hinzuf�gen" }, | 1376 | { "Add items","hinzuf�gen" }, |
1377 | { "One (or more) selected\ntodo has subtodos!\nDo you want to select\nall subtodos of all\nselected todos as well?","Ein (oder mehrere) ausgew�hltes\nTodo hat Untertodos!\nM�chten Sie der Auswahlliste\nalle Untertodos von allen\nausgew�hlten Todos hinzuf�gen?" }, | 1377 | { "One (or more) selected\ntodo has subtodos!\nDo you want to select\nall subtodos of all\nselected todos as well?","Ein (oder mehrere) ausgew�hltes\nTodo hat Untertodos!\nM�chten Sie der Auswahlliste\nalle Untertodos von allen\nausgew�hlten Todos hinzuf�gen?" }, |
1378 | { "Print List View...","Drucke Listenansicht..." }, | 1378 | { "Print List View...","Drucke Listenansicht..." }, |
1379 | { "You can make a printout of the <b>List View</b> and the list view in the <b>Search Dialog</b>! To do this, please go to the <b>List View/Search Dialog</b>. Right click on the list. Select in the popup menu the entry <b>Print complete list</b>. That prints the list as you see it. You can remove items from the list before printing without deleting the corresponding event/todo! Simply select all items you do not want to print out. Then right click on one of the items and choose <b>Hide selected items</b>. After that you can print the list without these items.","Sie k�nnen die <b>Listenansicht</b> und die Listenansicht im <b>Suchdialog</b> ausdrucken! Um das zu machen gehen Sie bitte zur <b>Listenansicht</b> oder zum <b>Suchdialog</b>. Rechtsklicken Sie auf die Liste. W�hlen Sie im Popupmenu den Eintrag <b>Drucke komplette Liste</b>. Das druckt die Liste so, wie man sie sieht. Sie k�nnen Listeneintr�ge entfernen ohne die korrespondierenden Ereignisse/Todos zu l�schen! Selektieren sie einfach alle Eintr�ge, die sie nicht ausdrucken m�chten. Dann Rechtsklicken Sie auf einen Eintrag und w�hlen <b>Verstecke Selektierte</b>. Danach k�nnen Sie die Liste ohne diese Eintr�ge ausdrucken." }, | 1379 | { "You can make a printout of the <b>List View</b> and the list view in the <b>Search Dialog</b>! To do this, please go to the <b>List View/Search Dialog</b>. Right click on the list. Select in the popup menu the entry <b>Print complete list</b>. That prints the list as you see it. You can remove items from the list before printing without deleting the corresponding event/todo! Simply select all items you do not want to print out. Then right click on one of the items and choose <b>Hide selected items</b>. After that you can print the list without these items.","Sie k�nnen die <b>Listenansicht</b> und die Listenansicht im <b>Suchdialog</b> ausdrucken! Um das zu machen gehen Sie bitte zur <b>Listenansicht</b> oder zum <b>Suchdialog</b>. Rechtsklicken Sie auf die Liste. W�hlen Sie im Popupmenu den Eintrag <b>Drucke komplette Liste</b>. Das druckt die Liste so, wie man sie sieht. Sie k�nnen Listeneintr�ge entfernen ohne die korrespondierenden Ereignisse/Todos zu l�schen! Selektieren sie einfach alle Eintr�ge, die sie nicht ausdrucken m�chten. Dann Rechtsklicken Sie auf einen Eintrag und w�hlen <b>Verstecke Selektierte</b>. Danach k�nnen Sie die Liste ohne diese Eintr�ge ausdrucken." }, |
1380 | { "Configure KO/Pi...","Konfiguriere KO/Pi..." }, | 1380 | { "Configure KO/Pi...","Konfiguriere KO/Pi..." }, |
1381 | { "Global Settings...","Globale Einstellungen..." }, | 1381 | { "Global Settings...","Globale Einstellungen..." }, |
1382 | { "<p><b>R</b>: Toggle Resource View |<b>F</b>: Edit filter </p>\n","<p><b>R</b>: Zeige Resource Ansicht | <b>F</b>: Editiere Filter </p>\n" }, | 1382 | { "<p><b>R</b>: Toggle Resource View |<b>F</b>: Edit filter </p>\n","<p><b>R</b>: Zeige Resource Ansicht | <b>F</b>: Editiere Filter </p>\n" }, |
1383 | { "(disabled)","(abgeschaltet)" }, | 1383 | { "(disabled)","(abgeschaltet)" }, |
1384 | { "New Calendar","Neuer Kalender" }, | 1384 | { "New Calendar","Neuer Kalender" }, |
1385 | { "Calendar","Kalender" }, | 1385 | { "Calendar","Kalender" }, |
1386 | { "Filter selector","Filterauswahl" }, | 1386 | { "Filter selector","Filterauswahl" }, |
1387 | { "Filtermenu","Filtermenu" }, | 1387 | { "Filtermenu","Filtermenu" }, |
1388 | { "Toggle Fullscreen","Vollbild umschalten" }, | 1388 | { "Toggle Fullscreen","Vollbild umschalten" }, |
1389 | { "Toggle Resource View","Resourcenansicht umschalten" }, | 1389 | { "Toggle Resource View","Resourcenansicht umschalten" }, |
1390 | { "Storage HowTo...","Speicherort HowTo..." }, | 1390 | { "Storage HowTo...","Speicherort HowTo..." }, |
1391 | { "Timetracking HowTo...","Timetracking HowTo..." }, | 1391 | { "Timetracking HowTo...","Timetracking HowTo..." }, |
1392 | { "Juni","Juni" }, | 1392 | { "Juni","Juni" }, |
1393 | { "Juli","Juli" }, | 1393 | { "Juli","Juli" }, |
1394 | { "ToDo:","ToDo:" }, | 1394 | { "ToDo:","ToDo:" }, |
1395 | { "Set Calendar","Setze Kalender" }, | 1395 | { "Set Calendar","Setze Kalender" }, |
1396 | { "Todo: %1","Todo: %1" }, | 1396 | { "Todo: %1","Todo: %1" }, |
1397 | { ": (Prio ",": (Prio " }, | 1397 | { ": (Prio ",": (Prio " }, |
1398 | { "Todos","Todos" }, | 1398 | { "Todos","Todos" }, |
1399 | { "Todo Viewer","Todo Viewer" }, | 1399 | { "Todo Viewer","Todo Viewer" }, |
1400 | { "Todo ","Todo " }, | 1400 | { "Todo ","Todo " }, |
1401 | { " Calendar \n Resource "," Kalender \n Resource " }, | 1401 | { " Calendar \n Resource "," Kalender \n Resource " }, |
1402 | { " Color "," Farbe " }, | 1402 | { " Color "," Farbe " }, |
1403 | { "The calendar <b>%1</b> is displaying file <b>%2</b>. Do you want to remove this calendar from KO/Pi? (The file is not removed!)","Der Kalender <b>%1</b> zeigt die Datei <b>%2</b>. M�chten Sie diesen Kalender aus KO/Pi entfernen? (Die Datei wird dabei nicht gel�scht!)" }, | 1403 | { "The calendar <b>%1</b> is displaying file <b>%2</b>. Do you want to remove this calendar from KO/Pi? (The file is not removed!)","Der Kalender <b>%1</b> zeigt die Datei <b>%2</b>. M�chten Sie diesen Kalender aus KO/Pi entfernen? (Die Datei wird dabei nicht gel�scht!)" }, |
1404 | { "The calendar <b>%1</b> is displaying file <b>%2</b>","Der Kalender <b>%1</b> zeigt die Datei <b>%2</b>" }, | 1404 | { "The calendar <b>%1</b> is displaying file <b>%2</b>","Der Kalender <b>%1</b> zeigt die Datei <b>%2</b>" }, |
1405 | { "Add new Calendar","F�ge Kalender hinzu" }, | 1405 | { "Add new Calendar","F�ge Kalender hinzu" }, |
1406 | { "<b>Name of new calendar:</b>","<b>Name des Kalenders:</b>" }, | 1406 | { "<b>Name of new calendar:</b>","<b>Name des Kalenders:</b>" }, |
1407 | { "<b>Local ical (*.ics) file:</b>","<b>Lokale ical (*.ics) Datei:</b>" }, | 1407 | { "<b>Local ical (*.ics) file:</b>","<b>Lokale ical (*.ics) Datei:</b>" }, |
1408 | { "Sorry, the calendar name is empty!","Sorry, der Kalendername ist leer!" }, | 1408 | { "Sorry, the calendar name is empty!","Sorry, der Kalendername ist leer!" }, |
1409 | { "Sorry, the file name is empty!","Sorry, der Dateiname ist leer!" }, | 1409 | { "Sorry, the file name is empty!","Sorry, der Dateiname ist leer!" }, |
1410 | { "Error loading calendar file\n%1.","Fehler beim Laden der Kalenderdatei\n%1." }, | 1410 | { "Error loading calendar file\n%1.","Fehler beim Laden der Kalenderdatei\n%1." }, |
1411 | { "The calendar <b>%1</b> is not loaded! Loading of file <b>%2</b> failed! <b>Try again to load the calendar?</b>","Der Kalender <b>%1</b> ist nicht geladen! Das Laden der Datei <b>%2</b> schlug fehl! <b>Soll erneut versucht werden den Kalender zu laden?</b>" }, | 1411 | { "The calendar <b>%1</b> is not loaded! Loading of file <b>%2</b> failed! <b>Try again to load the calendar?</b>","Der Kalender <b>%1</b> ist nicht geladen! Das Laden der Datei <b>%2</b> schlug fehl! <b>Soll erneut versucht werden den Kalender zu laden?</b>" }, |
1412 | { "Global application font for all apps:","Globale Schriftart:" }, | 1412 | { "Global application font for all apps:","Globale Schriftart:" }, |
1413 | { "Application Font","Applikationsschriftart" }, | 1413 | { "Application Font","Applikationsschriftart" }, |
1414 | { "Kx/Pi","Kx/Pi" }, | 1414 | { "Kx/Pi","Kx/Pi" }, |
1415 | { "Backup","Backup" }, | 1415 | { "Backup","Backup" }, |
1416 | { "KDE-Pim Global Settings","KDE-Pim Globale Einstellungen" }, | 1416 | { "KDE-Pim Global Settings","KDE-Pim Globale Einstellungen" }, |
1417 | { "Sorry, the calendar name \n%1\nalready exists!\nPlease choose another name!","Sorry, der Kalendername \n%1\nist schon in Benutzung!\nBitte w�hlen Sie einen anderen!" }, | 1417 | { "Sorry, the calendar name \n%1\nalready exists!\nPlease choose another name!","Sorry, der Kalendername \n%1\nist schon in Benutzung!\nBitte w�hlen Sie einen anderen!" }, |
1418 | { "Sorry, the file \n%1\nis already loaded!\nPlease choose another file!","Sorry, die Datei \n%1\nist schon geladen!\nBitte w�hlen Sie eine andere!" }, | 1418 | { "Sorry, the file \n%1\nis already loaded!\nPlease choose another file!","Sorry, die Datei \n%1\nist schon geladen!\nBitte w�hlen Sie eine andere!" }, |
1419 | { "Choose Color","W�hle Farbe" }, | 1419 | { "Choose Color","W�hle Farbe" }, |
1420 | { " OK "," OK " }, | 1420 | { " OK "," OK " }, |
1421 | { " Cancel "," Abbrechen " }, | 1421 | { " Cancel "," Abbrechen " }, |
1422 | { "Matching items will be added to list","Passende werden zur Liste hinzugef�gt" }, | ||
1423 | { "Matching items will be removed from list","Passende werden von der Liste entfernt" }, | ||
1424 | { "Search on displayed list only","Suche auf der dargestellten Liste" }, | ||
1425 | { "List will be cleared before search","Liste wird vor der Suche gel�scht" }, | ||
1422 | { "","" }, | 1426 | { "","" }, |
1423 | { "","" }, | 1427 | { "","" }, |
1424 | { "","" }, | 1428 | { "","" }, |
1425 | { "","" }, | 1429 | { "","" }, |
1426 | { "","" }, | 1430 | { "","" }, |
1427 | { "","" }, | 1431 | { "","" }, |
1428 | { "","" }, \ No newline at end of file | 1432 | { "","" }, \ No newline at end of file |
diff --git a/korganizer/searchdialog.cpp b/korganizer/searchdialog.cpp index 7b3b543..bba49f0 100644 --- a/korganizer/searchdialog.cpp +++ b/korganizer/searchdialog.cpp | |||
@@ -1,488 +1,587 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of KOrganizer. | 2 | This file is part of KOrganizer. |
3 | Copyright (c) 1998 Preston Brown | 3 | Copyright (c) 1998 Preston Brown |
4 | Copyright (c) 2000,2001 Cornelius Schumacher <schumacher@kde.org> | 4 | Copyright (c) 2000,2001 Cornelius Schumacher <schumacher@kde.org> |
5 | 5 | ||
6 | This program is free software; you can redistribute it and/or modify | 6 | This program is free software; you can redistribute it and/or modify |
7 | it under the terms of the GNU General Public License as published by | 7 | it under the terms of the GNU General Public License as published by |
8 | the Free Software Foundation; either version 2 of the License, or | 8 | the Free Software Foundation; either version 2 of the License, or |
9 | (at your option) any later version. | 9 | (at your option) any later version. |
10 | 10 | ||
11 | This program is distributed in the hope that it will be useful, | 11 | This program is distributed in the hope that it will be useful, |
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 | GNU General Public License for more details. | 14 | GNU General Public License for more details. |
15 | 15 | ||
16 | You should have received a copy of the GNU General Public License | 16 | You should have received a copy of the GNU General Public License |
17 | along with this program; if not, write to the Free Software | 17 | along with this program; if not, write to the Free Software |
18 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 18 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
19 | 19 | ||
20 | As a special exception, permission is given to link this program | 20 | As a special exception, permission is given to link this program |
21 | with any edition of Qt, and distribute the resulting executable, | 21 | with any edition of Qt, and distribute the resulting executable, |
22 | without including the source code for Qt in the source distribution. | 22 | without including the source code for Qt in the source distribution. |
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include <qlayout.h> | 25 | #include <qlayout.h> |
26 | #include <qcheckbox.h> | 26 | #include <qcheckbox.h> |
27 | #include <qgroupbox.h> | 27 | #include <qgroupbox.h> |
28 | #include <qlabel.h> | 28 | #include <qlabel.h> |
29 | #include <qlistview.h> | 29 | #include <qlistview.h> |
30 | #include <qwhatsthis.h> | 30 | #include <qwhatsthis.h> |
31 | #include <qlineedit.h> | 31 | #include <qlineedit.h> |
32 | #include <qpushbutton.h> | 32 | #include <qpushbutton.h> |
33 | 33 | #include <qhbuttongroup.h> | |
34 | #include <klocale.h> | 34 | #include <klocale.h> |
35 | #include <kmessagebox.h> | 35 | #include <kmessagebox.h> |
36 | 36 | ||
37 | #include <libkdepim/kdateedit.h> | 37 | #include <libkdepim/kdateedit.h> |
38 | 38 | ||
39 | #include "koglobals.h" | 39 | #include "koglobals.h" |
40 | #include "koprefs.h" | 40 | #include "koprefs.h" |
41 | #include "klineedit.h" | 41 | #include "klineedit.h" |
42 | 42 | ||
43 | #include "calendarview.h" | 43 | #include "calendarview.h" |
44 | #include "koviewmanager.h" | 44 | #include "koviewmanager.h" |
45 | #include "searchdialog.h" | 45 | #include "searchdialog.h" |
46 | 46 | ||
47 | SearchDialog::SearchDialog(Calendar *calendar,CalendarView *parent) | 47 | SearchDialog::SearchDialog(Calendar *calendar,CalendarView *parent) |
48 | : QVBox( 0 ) | 48 | : QVBox( 0 ) |
49 | 49 | ||
50 | { | 50 | { |
51 | mCalendar = calendar; | 51 | mCalendar = calendar; |
52 | QFrame *topFrame = new QFrame( this ) ;//plainPage(); | 52 | QFrame *topFrame = new QFrame( this ) ;//plainPage(); |
53 | QVBoxLayout *layout = new QVBoxLayout(topFrame,KDialog::marginHint(),KDialog::spacingHint()); | 53 | QVBoxLayout *layout = new QVBoxLayout(topFrame,KDialog::marginHint(),KDialog::spacingHint()); |
54 | 54 | ||
55 | // Search expression | 55 | // Search expression |
56 | QHBoxLayout *subLayout = new QHBoxLayout(); | 56 | QHBoxLayout *subLayout = new QHBoxLayout(); |
57 | layout->addLayout(subLayout); | 57 | layout->addLayout(subLayout); |
58 | /* | 58 | /* |
59 | searchLabel = new QLabel(topFrame); | 59 | searchLabel = new QLabel(topFrame); |
60 | searchLabel->setText(i18n("Search for:")); | 60 | searchLabel->setText(i18n("Search for:")); |
61 | subLayout->addWidget(searchLabel); | 61 | subLayout->addWidget(searchLabel); |
62 | */ | 62 | */ |
63 | QPushButton *OkButton = new QPushButton( i18n("Search for:"), topFrame ); | 63 | QPushButton *OkButton = new QPushButton( i18n("Search for:"), topFrame ); |
64 | //OkButton->setDefault( true ); | 64 | //OkButton->setDefault( true ); |
65 | connect(OkButton,SIGNAL(clicked()),SLOT(doSearch())); | 65 | connect(OkButton,SIGNAL(clicked()),SLOT(doSearch())); |
66 | subLayout->addWidget(OkButton); | 66 | subLayout->addWidget(OkButton); |
67 | searchEdit = new KLineEdit(topFrame); | 67 | searchEdit = new KLineEdit(topFrame); |
68 | subLayout->addWidget(searchEdit); | 68 | subLayout->addWidget(searchEdit); |
69 | 69 | ||
70 | mAddItems = new QCheckBox(i18n("Add items"),topFrame); | 70 | mAddItems = new QRadioButton( "+ ", topFrame ); |
71 | subLayout->addWidget(mAddItems); | 71 | mSubItems = new QRadioButton( "- ", topFrame ); |
72 | mRefineItems = new QRadioButton( "< ", topFrame ); | ||
73 | subLayout->addWidget( mAddItems ); | ||
74 | subLayout->addWidget( mSubItems ); | ||
75 | subLayout->addWidget( mRefineItems ); | ||
76 | QFont fo ( mAddItems->font() ); | ||
77 | fo.setBold( true ); | ||
78 | fo.setPointSize( fo.pointSize() + 2 ); | ||
79 | mAddItems->setFont( fo ); | ||
80 | mSubItems->setFont( fo ); | ||
81 | mRefineItems->setFont( fo ); | ||
82 | connect( mAddItems , SIGNAL( toggled ( bool ) ),this,SLOT(slot_add( bool ))); | ||
83 | connect( mSubItems , SIGNAL( toggled ( bool ) ),this,SLOT(slot_sub( bool ))); | ||
84 | connect( mRefineItems , SIGNAL( toggled ( bool ) ),this,SLOT(slot_refine( bool ))); | ||
72 | 85 | ||
73 | QPushButton *togButton = new QPushButton( "", topFrame ); | 86 | QPushButton *togButton = new QPushButton( "", topFrame ); |
74 | subLayout->addWidget(togButton); | 87 | subLayout->addWidget(togButton); |
75 | connect(togButton,SIGNAL(clicked()),SLOT(toggleCheckboxes())); | 88 | connect(togButton,SIGNAL(clicked()),SLOT(toggleCheckboxes())); |
76 | togButton->setPixmap(SmallIcon("1updownarrow")); | 89 | togButton->setPixmap(SmallIcon("1updownarrow")); |
77 | togButton->setMinimumWidth( togButton->sizeHint().height() ); | 90 | togButton->setMinimumWidth( togButton->sizeHint().height() ); |
91 | |||
78 | searchEdit->setText("*"); // Find all events by default | 92 | searchEdit->setText("*"); // Find all events by default |
79 | searchEdit->setFocus(); | 93 | searchEdit->setFocus(); |
80 | connect(searchEdit, SIGNAL(textChanged ( const QString & )),this,SLOT(searchTextChanged( const QString & ))); | 94 | connect(searchEdit, SIGNAL(textChanged ( const QString & )),this,SLOT(searchTextChanged( const QString & ))); |
81 | connect(searchEdit, SIGNAL( returnPressed () ),this,SLOT(doSearch())); | 95 | connect(searchEdit, SIGNAL( returnPressed () ),this,SLOT(doSearch())); |
82 | // Subjects to search | 96 | // Subjects to search |
83 | // QGroupBox *subjectGroup = new QGroupBox(1,Vertical,i18n("Search In"), | 97 | // QGroupBox *subjectGroup = new QGroupBox(1,Vertical,i18n("Search In"), |
84 | // topFrame); | 98 | // topFrame); |
85 | 99 | ||
86 | incidenceGroup = new QHBox( topFrame ); | 100 | incidenceGroup = new QHBox( topFrame ); |
87 | layout->addWidget(incidenceGroup); | 101 | layout->addWidget(incidenceGroup); |
88 | 102 | ||
89 | mSearchEvent = new QCheckBox(i18n("Events"),incidenceGroup); | 103 | mSearchEvent = new QCheckBox(i18n("Events"),incidenceGroup); |
90 | //mSearchEvent->setChecked(true); | 104 | //mSearchEvent->setChecked(true); |
91 | mSearchTodo = new QCheckBox(i18n("Todos"),incidenceGroup); | 105 | mSearchTodo = new QCheckBox(i18n("Todos"),incidenceGroup); |
92 | mSearchJournal = new QCheckBox(i18n("Journals"),incidenceGroup); | 106 | mSearchJournal = new QCheckBox(i18n("Journals"),incidenceGroup); |
93 | 107 | ||
94 | subjectGroup = new QHBox( topFrame ); | 108 | subjectGroup = new QHBox( topFrame ); |
95 | layout->addWidget(subjectGroup); | 109 | layout->addWidget(subjectGroup); |
96 | 110 | ||
97 | mSummaryCheck = new QCheckBox(i18n("Summary/Loc."),subjectGroup); | 111 | mSummaryCheck = new QCheckBox(i18n("Summary/Loc."),subjectGroup); |
98 | mSummaryCheck->setChecked(true); | 112 | mSummaryCheck->setChecked(true); |
99 | mDescriptionCheck = new QCheckBox(i18n("Details"),subjectGroup); | 113 | mDescriptionCheck = new QCheckBox(i18n("Details"),subjectGroup); |
100 | mCategoryCheck = new QCheckBox(i18n("Categories"),subjectGroup); | 114 | mCategoryCheck = new QCheckBox(i18n("Categories"),subjectGroup); |
101 | 115 | ||
102 | attendeeGroup = new QHBox( topFrame ); | 116 | attendeeGroup = new QHBox( topFrame ); |
103 | layout->addWidget(attendeeGroup ); | 117 | layout->addWidget(attendeeGroup ); |
104 | new QLabel( i18n("Attendee:"),attendeeGroup ); | 118 | new QLabel( i18n("Attendee:"),attendeeGroup ); |
105 | mSearchAName = new QCheckBox(i18n("Name"),attendeeGroup ); | 119 | mSearchAName = new QCheckBox(i18n("Name"),attendeeGroup ); |
106 | mSearchAEmail = new QCheckBox(i18n("Email"), attendeeGroup ); | 120 | mSearchAEmail = new QCheckBox(i18n("Email"), attendeeGroup ); |
107 | // Date range | 121 | // Date range |
108 | // QGroupBox *rangeGroup = new QGroupBox(1,Horizontal,i18n("Date Range"), | 122 | // QGroupBox *rangeGroup = new QGroupBox(1,Horizontal,i18n("Date Range"), |
109 | // topFrame); | 123 | // topFrame); |
110 | // layout->addWidget(rangeGroup); | 124 | // layout->addWidget(rangeGroup); |
111 | 125 | ||
112 | QWidget *rangeWidget = new QWidget(topFrame); | 126 | QWidget *rangeWidget = new QWidget(topFrame); |
113 | QHBoxLayout *rangeLayout = new QHBoxLayout(rangeWidget,0,KDialog::spacingHint()); | 127 | QHBoxLayout *rangeLayout = new QHBoxLayout(rangeWidget,0,KDialog::spacingHint()); |
114 | rangeLayout->addWidget(new QLabel(i18n("From:"),rangeWidget)); | 128 | rangeLayout->addWidget(new QLabel(i18n("From:"),rangeWidget)); |
115 | mStartDate = new KDateEdit(rangeWidget); | 129 | mStartDate = new KDateEdit(rangeWidget); |
116 | rangeLayout->addWidget(mStartDate); | 130 | rangeLayout->addWidget(mStartDate); |
117 | rangeLayout->addWidget(new QLabel(i18n("To:"),rangeWidget)); | 131 | rangeLayout->addWidget(new QLabel(i18n("To:"),rangeWidget)); |
118 | mEndDate = new KDateEdit(rangeWidget); | 132 | mEndDate = new KDateEdit(rangeWidget); |
119 | mEndDate->setDate(QDate::currentDate().addDays(365)); | 133 | mEndDate->setDate(QDate::currentDate().addDays(365)); |
120 | rangeLayout->addWidget(mEndDate); | 134 | rangeLayout->addWidget(mEndDate); |
121 | QToolButton *wt = QWhatsThis::whatsThisButton ( rangeWidget ); | 135 | QToolButton *wt = QWhatsThis::whatsThisButton ( rangeWidget ); |
122 | rangeLayout->addWidget( (QWidget*)wt ); | 136 | rangeLayout->addWidget( (QWidget*)wt ); |
123 | layout->addWidget(rangeWidget); | 137 | layout->addWidget(rangeWidget); |
124 | // Results list view | 138 | // Results list view |
125 | listView = new KOListView(mCalendar,topFrame); | 139 | listView = new KOListView(mCalendar,topFrame); |
126 | layout->addWidget(listView); | 140 | layout->addWidget(listView); |
127 | //layout->setStretchFactor( listView, 333 ); | 141 | //layout->setStretchFactor( listView, 333 ); |
128 | //listView->setSizePolicy( QSizePolicy( QSizePolicy::Preferred ,QSizePolicy::Expanding) ); | 142 | //listView->setSizePolicy( QSizePolicy( QSizePolicy::Preferred ,QSizePolicy::Expanding) ); |
129 | //listView->setMaximumHeight( 50 ); | 143 | //listView->setMaximumHeight( 50 ); |
130 | listView->readSettings(KOGlobals::config(),"SearchListView Layout"); | 144 | listView->readSettings(KOGlobals::config(),"SearchListView Layout"); |
131 | connect(searchEdit,SIGNAL(scrollDOWN()),SLOT(setFocusToList())); | 145 | connect(searchEdit,SIGNAL(scrollDOWN()),SLOT(setFocusToList())); |
132 | 146 | ||
133 | setCaption( i18n("KO/Pi Find: ")); | 147 | setCaption( i18n("KO/Pi Find: ")); |
134 | #ifdef DESKTOP_VERSION | 148 | #ifdef DESKTOP_VERSION |
135 | OkButton = new QPushButton( i18n("Close"), this ); | 149 | OkButton = new QPushButton( i18n("Close"), this ); |
136 | connect(OkButton,SIGNAL(clicked()),SLOT(hide())); | 150 | connect(OkButton,SIGNAL(clicked()),SLOT(hide())); |
137 | #endif | 151 | #endif |
138 | } | 152 | } |
139 | 153 | ||
140 | SearchDialog::~SearchDialog() | 154 | SearchDialog::~SearchDialog() |
141 | { | 155 | { |
142 | 156 | ||
143 | } | 157 | } |
158 | void SearchDialog::slot_add( bool b ) | ||
159 | { | ||
160 | if ( b ) { | ||
161 | if ( mSubItems->isOn() ) mSubItems->toggle(); | ||
162 | if ( mRefineItems->isOn() ) mRefineItems->toggle(); | ||
163 | setCaption( i18n("Matching items will be added to list")); | ||
164 | } else | ||
165 | setCaption( i18n("List will be cleared before search")); | ||
166 | } | ||
167 | void SearchDialog::slot_sub( bool b) | ||
168 | { | ||
169 | if ( b ) { | ||
170 | if ( mRefineItems->isOn() ) mRefineItems->toggle(); | ||
171 | if ( mAddItems->isOn() ) mAddItems->toggle(); | ||
172 | setCaption( i18n("Matching items will be removed from list")); | ||
173 | } else | ||
174 | setCaption( i18n("List will be cleared before search")); | ||
175 | } | ||
176 | void SearchDialog::slot_refine( bool b) | ||
177 | { | ||
178 | if ( b ) { | ||
179 | if ( mSubItems->isOn() ) mSubItems->toggle(); | ||
180 | if ( mAddItems->isOn() ) mAddItems->toggle(); | ||
181 | setCaption( i18n("Search on displayed list only")); | ||
182 | } else | ||
183 | setCaption( i18n("List will be cleared before search")); | ||
184 | } | ||
144 | void SearchDialog::toggleCheckboxes() | 185 | void SearchDialog::toggleCheckboxes() |
145 | { | 186 | { |
146 | if ( incidenceGroup->isVisible() ) { | 187 | if ( incidenceGroup->isVisible() ) { |
147 | incidenceGroup->hide() ; | 188 | incidenceGroup->hide() ; |
148 | subjectGroup->hide() ; | 189 | subjectGroup->hide() ; |
149 | attendeeGroup->hide() ; | 190 | attendeeGroup->hide() ; |
150 | } else { | 191 | } else { |
151 | incidenceGroup->show() ; | 192 | incidenceGroup->show() ; |
152 | subjectGroup->show() ; | 193 | subjectGroup->show() ; |
153 | attendeeGroup->show() ; | 194 | attendeeGroup->show() ; |
154 | } | 195 | } |
155 | } | 196 | } |
156 | void SearchDialog::raiseAndSelect() | 197 | void SearchDialog::raiseAndSelect() |
157 | { | 198 | { |
158 | 199 | ||
159 | static int currentState = 0; | 200 | static int currentState = 0; |
160 | 201 | ||
161 | if ( !mSearchJournal->isChecked() && !mSearchTodo->isChecked() && !mSearchEvent->isChecked() ) | 202 | if ( !mSearchJournal->isChecked() && !mSearchTodo->isChecked() && !mSearchEvent->isChecked() ) |
162 | currentState = 0; | 203 | currentState = 0; |
163 | int newState = 0; | 204 | int newState = 0; |
164 | if ( KOPrefs::instance()->mCurrentDisplayedView == VIEW_J_VIEW ) { | 205 | if ( KOPrefs::instance()->mCurrentDisplayedView == VIEW_J_VIEW ) { |
165 | newState = VIEW_J_VIEW; | 206 | newState = VIEW_J_VIEW; |
166 | } | 207 | } |
167 | else if ( KOPrefs::instance()->mCurrentDisplayedView == VIEW_T_VIEW ) { | 208 | else if ( KOPrefs::instance()->mCurrentDisplayedView == VIEW_T_VIEW ) { |
168 | newState = VIEW_T_VIEW; | 209 | newState = VIEW_T_VIEW; |
169 | } | 210 | } |
170 | else { | 211 | else { |
171 | newState = VIEW_A_VIEW; | 212 | newState = VIEW_A_VIEW; |
172 | } | 213 | } |
173 | if ( newState != currentState ) { | 214 | if ( newState != currentState ) { |
174 | if ( KOPrefs::instance()->mCurrentDisplayedView == VIEW_J_VIEW ) { | 215 | if ( KOPrefs::instance()->mCurrentDisplayedView == VIEW_J_VIEW ) { |
175 | if ( ! mSearchJournal->isChecked() ) { | 216 | if ( ! mSearchJournal->isChecked() ) { |
176 | mSearchJournal->setChecked( true ); | 217 | mSearchJournal->setChecked( true ); |
177 | mSearchTodo->setChecked( false ); | 218 | mSearchTodo->setChecked( false ); |
178 | mSearchEvent->setChecked( false ); | 219 | mSearchEvent->setChecked( false ); |
179 | } | 220 | } |
180 | } | 221 | } |
181 | else if ( KOPrefs::instance()->mCurrentDisplayedView == VIEW_T_VIEW ) { | 222 | else if ( KOPrefs::instance()->mCurrentDisplayedView == VIEW_T_VIEW ) { |
182 | if ( ! mSearchTodo->isChecked() ) { | 223 | if ( ! mSearchTodo->isChecked() ) { |
183 | mSearchTodo->setChecked( true ); | 224 | mSearchTodo->setChecked( true ); |
184 | mSearchJournal->setChecked( false ); | 225 | mSearchJournal->setChecked( false ); |
185 | mSearchEvent->setChecked( false ); | 226 | mSearchEvent->setChecked( false ); |
186 | } | 227 | } |
187 | } | 228 | } |
188 | else { | 229 | else { |
189 | if ( ! mSearchEvent->isChecked() ) { | 230 | if ( ! mSearchEvent->isChecked() ) { |
190 | mSearchEvent->setChecked( true ); | 231 | mSearchEvent->setChecked( true ); |
191 | mSearchJournal->setChecked( false ); | 232 | mSearchJournal->setChecked( false ); |
192 | mSearchTodo->setChecked( false ); | 233 | mSearchTodo->setChecked( false ); |
193 | } | 234 | } |
194 | } | 235 | } |
195 | } | 236 | } |
196 | currentState = newState; | 237 | currentState = newState; |
197 | raise(); | 238 | raise(); |
198 | } | 239 | } |
199 | void SearchDialog::setFocusToList() | 240 | void SearchDialog::setFocusToList() |
200 | { | 241 | { |
201 | listView->resetFocus(); | 242 | listView->resetFocus(); |
202 | } | 243 | } |
203 | void SearchDialog::accept() | 244 | void SearchDialog::accept() |
204 | { | 245 | { |
205 | doSearch(); | 246 | doSearch(); |
206 | } | 247 | } |
207 | void SearchDialog::updateList() | 248 | void SearchDialog::updateList() |
208 | { | 249 | { |
209 | //listView->updateList(); | 250 | //listView->updateList(); |
210 | if ( isVisible() ) { | 251 | if ( isVisible() ) { |
211 | updateView(); | 252 | updateView(); |
212 | //qDebug("SearchDialog::updated "); | 253 | //qDebug("SearchDialog::updated "); |
213 | } | 254 | } |
214 | else { | 255 | else { |
215 | listView->clear(); | 256 | listView->clear(); |
216 | //qDebug("SearchDialog::cleared "); | 257 | //qDebug("SearchDialog::cleared "); |
217 | 258 | ||
218 | } | 259 | } |
219 | } | 260 | } |
220 | void SearchDialog::searchTextChanged( const QString &_text ) | 261 | void SearchDialog::searchTextChanged( const QString &_text ) |
221 | { | 262 | { |
222 | #if 0 | 263 | #if 0 |
223 | enableButton( KDialogBase::User1, !_text.isEmpty() ); | 264 | enableButton( KDialogBase::User1, !_text.isEmpty() ); |
224 | #endif | 265 | #endif |
225 | } | 266 | } |
226 | 267 | ||
227 | void SearchDialog::doSearch() | 268 | void SearchDialog::doSearch() |
228 | { | 269 | { |
229 | QRegExp re; | 270 | QRegExp re; |
230 | 271 | ||
231 | re.setWildcard(true); // most people understand these better. | 272 | re.setWildcard(true); // most people understand these better. |
232 | re.setCaseSensitive(false); | 273 | re.setCaseSensitive(false); |
233 | QString st = searchEdit->text(); | 274 | QString st = searchEdit->text(); |
234 | if ( st.right(1) != "*") | 275 | if ( st.right(1) != "*") |
235 | st += "*"; | 276 | st += "*"; |
236 | re.setPattern(st); | 277 | re.setPattern(st); |
237 | if (!mSearchEvent->isChecked() && !mSearchTodo->isChecked() && !mSearchJournal->isChecked() ) { | 278 | if (!mSearchEvent->isChecked() && !mSearchTodo->isChecked() && !mSearchJournal->isChecked() ) { |
238 | KMessageBox::sorry(this, | 279 | KMessageBox::sorry(this, |
239 | i18n("Please select at least one\nof the types to search for:\n\nEvents\nTodos\nJournals")); | 280 | i18n("Please select at least one\nof the types to search for:\n\nEvents\nTodos\nJournals")); |
240 | return; | 281 | return; |
241 | } | 282 | } |
242 | if (!re.isValid() ) { | 283 | if (!re.isValid() ) { |
243 | KMessageBox::sorry(this, | 284 | KMessageBox::sorry(this, |
244 | i18n("Invalid search expression,\ncannot perform " | 285 | i18n("Invalid search expression,\ncannot perform " |
245 | "the search.\nPlease enter a search expression\n" | 286 | "the search.\nPlease enter a search expression\n" |
246 | "using the wildcard characters\n '*' and '?'" | 287 | "using the wildcard characters\n '*' and '?'" |
247 | "where needed.")); | 288 | "where needed.")); |
248 | return; | 289 | return; |
249 | } | 290 | } |
250 | search(re); | 291 | search(re); |
251 | listView->setStartDate( mStartDate->date() ); | 292 | listView->setStartDate( mStartDate->date() ); |
252 | listView->showEvents(mMatchedEvents); | 293 | listView->showEvents(mMatchedEvents); |
253 | listView->addTodos(mMatchedTodos); | 294 | listView->addTodos(mMatchedTodos); |
254 | listView->addJournals(mMatchedJournals); | 295 | listView->addJournals(mMatchedJournals); |
255 | if (mMatchedEvents.count() + mMatchedJournals.count() + mMatchedTodos.count() == 0) { | 296 | if (mMatchedEvents.count() + mMatchedJournals.count() + mMatchedTodos.count() == 0) { |
256 | setCaption(i18n("No items found. Use '*' and '?' where needed.")); | 297 | setCaption(i18n("No items found. Use '*' and '?' where needed.")); |
257 | } else { | 298 | } else { |
258 | QString mess; | 299 | QString mess; |
259 | mess = mess.sprintf( i18n("%d item(s) found."), mMatchedEvents.count()+ mMatchedJournals.count() + mMatchedTodos.count() ); | 300 | mess = mess.sprintf( i18n("%d item(s) found."), mMatchedEvents.count()+ mMatchedJournals.count() + mMatchedTodos.count() ); |
260 | setCaption( i18n("KO/Pi Find: ") + mess); | 301 | setCaption( i18n("KO/Pi Find: ") + mess); |
261 | 302 | ||
262 | } | 303 | } |
263 | searchEdit->setFocus(); | 304 | searchEdit->setFocus(); |
264 | } | 305 | } |
265 | void SearchDialog::updateConfig() | 306 | void SearchDialog::updateConfig() |
266 | { | 307 | { |
267 | listView->updateConfig(); | 308 | listView->updateConfig(); |
268 | } | 309 | } |
269 | void SearchDialog::updateView() | 310 | void SearchDialog::updateView() |
270 | { | 311 | { |
271 | //qDebug("SearchDialog::updateView() %d ", isVisible()); | 312 | //qDebug("SearchDialog::updateView() %d ", isVisible()); |
272 | QRegExp re; | 313 | QRegExp re; |
273 | re.setWildcard(true); // most people understand these better. | 314 | re.setWildcard(true); // most people understand these better. |
274 | re.setCaseSensitive(false); | 315 | re.setCaseSensitive(false); |
275 | QString st = searchEdit->text(); | 316 | QString st = searchEdit->text(); |
276 | if ( st.right(1) != "*") | 317 | if ( st.right(1) != "*") |
277 | st += "*"; | 318 | st += "*"; |
278 | re.setPattern(st); | 319 | re.setPattern(st); |
279 | if (re.isValid()) { | 320 | if (re.isValid()) { |
280 | search(re); | 321 | search(re); |
281 | } else { | 322 | } else { |
282 | mMatchedEvents.clear(); | 323 | mMatchedEvents.clear(); |
283 | mMatchedTodos.clear(); | 324 | mMatchedTodos.clear(); |
284 | mMatchedJournals.clear(); | 325 | mMatchedJournals.clear(); |
285 | } | 326 | } |
286 | listView->setStartDate( mStartDate->date() ); | 327 | listView->setStartDate( mStartDate->date() ); |
287 | listView->showEvents(mMatchedEvents); | 328 | listView->showEvents(mMatchedEvents); |
288 | listView->addTodos(mMatchedTodos); | 329 | listView->addTodos(mMatchedTodos); |
289 | listView->addJournals(mMatchedJournals); | 330 | listView->addJournals(mMatchedJournals); |
290 | } | 331 | } |
291 | 332 | ||
292 | void SearchDialog::search(const QRegExp &re) | 333 | void SearchDialog::search(const QRegExp &re) |
293 | { | 334 | { |
294 | QPtrList<Event> events = mCalendar->events( mStartDate->date(), | 335 | QPtrList<Event> events = mCalendar->events( mStartDate->date(), |
295 | mEndDate->date(), | 336 | mEndDate->date(), |
296 | false /*mInclusiveCheck->isChecked()*/ ); | 337 | false /*mInclusiveCheck->isChecked()*/ ); |
297 | if ( !mAddItems->isChecked() ) | 338 | if ( !mAddItems->isChecked() && !mSubItems->isChecked() ) { |
339 | if ( mRefineItems->isChecked() ) events = mMatchedEvents; | ||
298 | mMatchedEvents.clear(); | 340 | mMatchedEvents.clear(); |
341 | } | ||
299 | if ( mSearchEvent->isChecked() ) { | 342 | if ( mSearchEvent->isChecked() ) { |
300 | Event *ev; | 343 | Event *ev; |
301 | for(ev=events.first();ev;ev=events.next()) { | 344 | for(ev=events.first();ev;ev=events.next()) { |
302 | if (mSummaryCheck->isChecked()) { | 345 | if (mSummaryCheck->isChecked()) { |
303 | #if QT_VERSION >= 0x030000 | 346 | #if QT_VERSION >= 0x030000 |
304 | if (re.search(ev->summary()) != -1) | 347 | if (re.search(ev->summary()) != -1) |
305 | #else | 348 | #else |
306 | if (re.match(ev->summary()) != -1) | 349 | if (re.match(ev->summary()) != -1) |
307 | #endif | 350 | #endif |
308 | { | 351 | { |
309 | mMatchedEvents.append(ev); | 352 | if ( mSubItems->isChecked() ) |
353 | mMatchedEvents.remove(ev); | ||
354 | else { | ||
355 | if ( !mMatchedEvents.contains( ev ) ) | ||
356 | mMatchedEvents.append(ev); | ||
357 | } | ||
310 | continue; | 358 | continue; |
311 | } | 359 | } |
312 | #if QT_VERSION >= 0x030000 | 360 | #if QT_VERSION >= 0x030000 |
313 | if (re.search(ev->location()) != -1) | 361 | if (re.search(ev->location()) != -1) |
314 | #else | 362 | #else |
315 | if (re.match(ev->location()) != -1) | 363 | if (re.match(ev->location()) != -1) |
316 | #endif | 364 | #endif |
317 | { | 365 | { |
318 | mMatchedEvents.append(ev); | 366 | if ( mSubItems->isChecked() ) |
367 | mMatchedEvents.remove(ev); | ||
368 | else{ | ||
369 | if ( !mMatchedEvents.contains( ev ) ) | ||
370 | mMatchedEvents.append(ev); | ||
371 | } | ||
319 | continue; | 372 | continue; |
320 | } | 373 | } |
321 | } | 374 | } |
322 | if (mDescriptionCheck->isChecked()) { | 375 | if (mDescriptionCheck->isChecked()) { |
323 | #if QT_VERSION >= 0x030000 | 376 | #if QT_VERSION >= 0x030000 |
324 | if (re.search(ev->description()) != -1) | 377 | if (re.search(ev->description()) != -1) |
325 | #else | 378 | #else |
326 | if (re.match(ev->description()) != -1) | 379 | if (re.match(ev->description()) != -1) |
327 | #endif | 380 | #endif |
328 | { | 381 | { |
329 | mMatchedEvents.append(ev); | 382 | if ( mSubItems->isChecked() ) |
383 | mMatchedEvents.remove(ev); | ||
384 | else{ | ||
385 | if ( !mMatchedEvents.contains( ev ) ) | ||
386 | mMatchedEvents.append(ev); | ||
387 | } | ||
330 | continue; | 388 | continue; |
331 | } | 389 | } |
332 | } | 390 | } |
333 | if (mCategoryCheck->isChecked()) { | 391 | if (mCategoryCheck->isChecked()) { |
334 | #if QT_VERSION >= 0x030000 | 392 | #if QT_VERSION >= 0x030000 |
335 | if (re.search(ev->categoriesStr()) != -1) | 393 | if (re.search(ev->categoriesStr()) != -1) |
336 | #else | 394 | #else |
337 | if (re.match(ev->categoriesStr()) != -1) | 395 | if (re.match(ev->categoriesStr()) != -1) |
338 | #endif | 396 | #endif |
339 | { | 397 | { |
340 | mMatchedEvents.append(ev); | 398 | |
399 | if ( mSubItems->isChecked() ) | ||
400 | mMatchedEvents.remove(ev); | ||
401 | else{ | ||
402 | if ( !mMatchedEvents.contains( ev ) ) | ||
403 | mMatchedEvents.append(ev); | ||
404 | } | ||
341 | continue; | 405 | continue; |
342 | } | 406 | } |
343 | } | 407 | } |
344 | if ( mSearchAName->isChecked() || mSearchAEmail->isChecked() ) { | 408 | if ( mSearchAName->isChecked() || mSearchAEmail->isChecked() ) { |
345 | QPtrList<Attendee> tmpAList = ev->attendees(); | 409 | QPtrList<Attendee> tmpAList = ev->attendees(); |
346 | Attendee *a; | 410 | Attendee *a; |
347 | for (a = tmpAList.first(); a; a = tmpAList.next()) { | 411 | for (a = tmpAList.first(); a; a = tmpAList.next()) { |
348 | if (mSearchAName->isChecked()) { | 412 | if (mSearchAName->isChecked()) { |
349 | #if QT_VERSION >= 0x030000 | 413 | #if QT_VERSION >= 0x030000 |
350 | if (re.search(a->name()) != -1) | 414 | if (re.search(a->name()) != -1) |
351 | #else | 415 | #else |
352 | if (re.match(a->name()) != -1) | 416 | if (re.match(a->name()) != -1) |
353 | #endif | 417 | #endif |
354 | { | 418 | { |
355 | mMatchedEvents.append(ev); | 419 | if ( mSubItems->isChecked() ) |
420 | mMatchedEvents.remove(ev); | ||
421 | else{ | ||
422 | if ( !mMatchedEvents.contains( ev ) ) | ||
423 | mMatchedEvents.append(ev); | ||
424 | } | ||
356 | break; | 425 | break; |
357 | } | 426 | } |
358 | } | 427 | } |
359 | if (mSearchAEmail->isChecked()) { | 428 | if (mSearchAEmail->isChecked()) { |
360 | #if QT_VERSION >= 0x030000 | 429 | #if QT_VERSION >= 0x030000 |
361 | if (re.search(a->email()) != -1) | 430 | if (re.search(a->email()) != -1) |
362 | #else | 431 | #else |
363 | if (re.match(a->email()) != -1) | 432 | if (re.match(a->email()) != -1) |
364 | #endif | 433 | #endif |
365 | { | 434 | { |
366 | mMatchedEvents.append(ev); | 435 | if ( mSubItems->isChecked() ) |
436 | mMatchedEvents.remove(ev); | ||
437 | else{ | ||
438 | if ( !mMatchedEvents.contains( ev ) ) | ||
439 | mMatchedEvents.append(ev); | ||
440 | } | ||
367 | break; | 441 | break; |
368 | } | 442 | } |
369 | } | 443 | } |
370 | } | 444 | } |
371 | } | 445 | } |
372 | } | 446 | } |
373 | } | 447 | } |
374 | QPtrList<Todo> todos = mCalendar->todos( ); | 448 | QPtrList<Todo> todos = mCalendar->todos( ); |
375 | if ( !mAddItems->isChecked() ) | 449 | |
450 | if ( !mAddItems->isChecked() && !mSubItems->isChecked() ) { | ||
451 | if ( mRefineItems->isChecked() ) todos = mMatchedTodos ; | ||
376 | mMatchedTodos.clear(); | 452 | mMatchedTodos.clear(); |
453 | } | ||
454 | |||
377 | if ( mSearchTodo->isChecked() ) { | 455 | if ( mSearchTodo->isChecked() ) { |
378 | Todo *tod; | 456 | Todo *tod; |
379 | for(tod=todos.first();tod;tod=todos.next()) { | 457 | for(tod=todos.first();tod;tod=todos.next()) { |
380 | if (mSummaryCheck->isChecked()) { | 458 | if (mSummaryCheck->isChecked()) { |
381 | #if QT_VERSION >= 0x030000 | 459 | #if QT_VERSION >= 0x030000 |
382 | if (re.search(tod->summary()) != -1) | 460 | if (re.search(tod->summary()) != -1) |
383 | #else | 461 | #else |
384 | if (re.match(tod->summary()) != -1) | 462 | if (re.match(tod->summary()) != -1) |
385 | #endif | 463 | #endif |
386 | { | 464 | { |
387 | mMatchedTodos.append(tod); | 465 | if ( mSubItems->isChecked() ) |
466 | mMatchedTodos.remove(tod); | ||
467 | else if (!mMatchedTodos.contains( tod )) | ||
468 | mMatchedTodos.append(tod); | ||
388 | continue; | 469 | continue; |
389 | } | 470 | } |
390 | } | 471 | } |
391 | if (mDescriptionCheck->isChecked()) { | 472 | if (mDescriptionCheck->isChecked()) { |
392 | #if QT_VERSION >= 0x030000 | 473 | #if QT_VERSION >= 0x030000 |
393 | if (re.search(tod->description()) != -1) | 474 | if (re.search(tod->description()) != -1) |
394 | #else | 475 | #else |
395 | if (re.match(tod->description()) != -1) | 476 | if (re.match(tod->description()) != -1) |
396 | #endif | 477 | #endif |
397 | { | 478 | { |
398 | mMatchedTodos.append(tod); | 479 | if ( mSubItems->isChecked() ) |
480 | mMatchedTodos.remove(tod); | ||
481 | else if (!mMatchedTodos.contains( tod )) | ||
482 | mMatchedTodos.append(tod); | ||
399 | continue; | 483 | continue; |
400 | } | 484 | } |
401 | } | 485 | } |
402 | if (mCategoryCheck->isChecked()) { | 486 | if (mCategoryCheck->isChecked()) { |
403 | #if QT_VERSION >= 0x030000 | 487 | #if QT_VERSION >= 0x030000 |
404 | if (re.search(tod->categoriesStr()) != -1) | 488 | if (re.search(tod->categoriesStr()) != -1) |
405 | #else | 489 | #else |
406 | if (re.match(tod->categoriesStr()) != -1) | 490 | if (re.match(tod->categoriesStr()) != -1) |
407 | #endif | 491 | #endif |
408 | { | 492 | { |
409 | mMatchedTodos.append(tod); | 493 | if ( mSubItems->isChecked() ) |
494 | mMatchedTodos.remove(tod); | ||
495 | else if (!mMatchedTodos.contains( tod )) | ||
496 | mMatchedTodos.append(tod); | ||
410 | continue; | 497 | continue; |
411 | } | 498 | } |
412 | } | 499 | } |
413 | if ( mSearchAName->isChecked() || mSearchAEmail->isChecked() ) { | 500 | if ( mSearchAName->isChecked() || mSearchAEmail->isChecked() ) { |
414 | QPtrList<Attendee> tmpAList = tod->attendees(); | 501 | QPtrList<Attendee> tmpAList = tod->attendees(); |
415 | Attendee *a; | 502 | Attendee *a; |
416 | for (a = tmpAList.first(); a; a = tmpAList.next()) { | 503 | for (a = tmpAList.first(); a; a = tmpAList.next()) { |
417 | if (mSearchAName->isChecked()) { | 504 | if (mSearchAName->isChecked()) { |
418 | #if QT_VERSION >= 0x030000 | 505 | #if QT_VERSION >= 0x030000 |
419 | if (re.search(a->name()) != -1) | 506 | if (re.search(a->name()) != -1) |
420 | #else | 507 | #else |
421 | if (re.match(a->name()) != -1) | 508 | if (re.match(a->name()) != -1) |
422 | #endif | 509 | #endif |
423 | { | 510 | { |
424 | mMatchedTodos.append(tod); | 511 | if ( mSubItems->isChecked() ) |
512 | mMatchedTodos.remove(tod); | ||
513 | else if (!mMatchedTodos.contains( tod )) | ||
514 | mMatchedTodos.append(tod); | ||
425 | break; | 515 | break; |
426 | } | 516 | } |
427 | } | 517 | } |
428 | if (mSearchAEmail->isChecked()) { | 518 | if (mSearchAEmail->isChecked()) { |
429 | #if QT_VERSION >= 0x030000 | 519 | #if QT_VERSION >= 0x030000 |
430 | if (re.search(a->email()) != -1) | 520 | if (re.search(a->email()) != -1) |
431 | #else | 521 | #else |
432 | if (re.match(a->email()) != -1) | 522 | if (re.match(a->email()) != -1) |
433 | #endif | 523 | #endif |
434 | { | 524 | { |
435 | mMatchedTodos.append(tod); | 525 | if ( mSubItems->isChecked() ) |
526 | mMatchedTodos.remove(tod); | ||
527 | else if (!mMatchedTodos.contains( tod )) | ||
528 | mMatchedTodos.append(tod); | ||
436 | break; | 529 | break; |
437 | } | 530 | } |
438 | } | 531 | } |
439 | } | 532 | } |
440 | } | 533 | } |
441 | } | 534 | } |
442 | } | 535 | } |
443 | if ( !mAddItems->isChecked() ) | 536 | |
537 | QPtrList<Journal> journals = mCalendar->journals( ); | ||
538 | if ( !mAddItems->isChecked() && !mSubItems->isChecked() ) { | ||
539 | if ( mRefineItems->isChecked() ) journals = mMatchedJournals ; | ||
444 | mMatchedJournals.clear(); | 540 | mMatchedJournals.clear(); |
541 | } | ||
445 | if (mSearchJournal->isChecked() ) { | 542 | if (mSearchJournal->isChecked() ) { |
446 | QPtrList<Journal> journals = mCalendar->journals( ); | ||
447 | Journal* journ; | 543 | Journal* journ; |
448 | 544 | ||
449 | for(journ=journals.first();journ;journ=journals.next()) { | 545 | for(journ=journals.first();journ;journ=journals.next()) { |
450 | if ( journ->dtStart().date() <= mEndDate->date() | 546 | if ( journ->dtStart().date() <= mEndDate->date() |
451 | &&journ->dtStart().date() >= mStartDate->date()) { | 547 | &&journ->dtStart().date() >= mStartDate->date()) { |
452 | #if QT_VERSION >= 0x030000 | 548 | #if QT_VERSION >= 0x030000 |
453 | if (re.search(journ->description()) != -1) | 549 | if (re.search(journ->description()) != -1) |
454 | #else | 550 | #else |
455 | if (re.match(journ->description()) != -1) | 551 | if (re.match(journ->description()) != -1) |
456 | #endif | 552 | #endif |
457 | { | 553 | { |
458 | mMatchedJournals.append(journ); | 554 | if ( mSubItems->isChecked() ) |
555 | mMatchedJournals.remove(journ); | ||
556 | else if (!mMatchedJournals.contains( journ )) | ||
557 | mMatchedJournals.append(journ); | ||
459 | continue; | 558 | continue; |
460 | } | 559 | } |
461 | } | 560 | } |
462 | } | 561 | } |
463 | } | 562 | } |
464 | 563 | ||
465 | } | 564 | } |
466 | 565 | ||
467 | void SearchDialog::keyPressEvent ( QKeyEvent *e) | 566 | void SearchDialog::keyPressEvent ( QKeyEvent *e) |
468 | { | 567 | { |
469 | switch ( e->key() ) { | 568 | switch ( e->key() ) { |
470 | case Qt::Key_Escape: | 569 | case Qt::Key_Escape: |
471 | close(); | 570 | close(); |
472 | break; | 571 | break; |
473 | case Qt::Key_F: | 572 | case Qt::Key_F: |
474 | if ( e->state() == Qt::ControlButton ) { | 573 | if ( e->state() == Qt::ControlButton ) { |
475 | 574 | ||
476 | } | 575 | } |
477 | break; | 576 | break; |
478 | case Qt::Key_Return: | 577 | case Qt::Key_Return: |
479 | case Qt::Key_Enter: | 578 | case Qt::Key_Enter: |
480 | doSearch(); | 579 | doSearch(); |
481 | break; | 580 | break; |
482 | 581 | ||
483 | default: | 582 | default: |
484 | e->ignore(); | 583 | e->ignore(); |
485 | } | 584 | } |
486 | } | 585 | } |
487 | 586 | ||
488 | //mMatchedJournals; | 587 | //mMatchedJournals; |
diff --git a/korganizer/searchdialog.h b/korganizer/searchdialog.h index b345b98..945ff65 100644 --- a/korganizer/searchdialog.h +++ b/korganizer/searchdialog.h | |||
@@ -1,99 +1,102 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of KOrganizer. | 2 | This file is part of KOrganizer. |
3 | Copyright (c) 1998 Preston Brown | 3 | Copyright (c) 1998 Preston Brown |
4 | Copyright (c) 2000,2001 Cornelius Schumacher <schumacher@kde.org> | 4 | Copyright (c) 2000,2001 Cornelius Schumacher <schumacher@kde.org> |
5 | 5 | ||
6 | This program is free software; you can redistribute it and/or modify | 6 | This program is free software; you can redistribute it and/or modify |
7 | it under the terms of the GNU General Public License as published by | 7 | it under the terms of the GNU General Public License as published by |
8 | the Free Software Foundation; either version 2 of the License, or | 8 | the Free Software Foundation; either version 2 of the License, or |
9 | (at your option) any later version. | 9 | (at your option) any later version. |
10 | 10 | ||
11 | This program is distributed in the hope that it will be useful, | 11 | This program is distributed in the hope that it will be useful, |
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 | GNU General Public License for more details. | 14 | GNU General Public License for more details. |
15 | 15 | ||
16 | You should have received a copy of the GNU General Public License | 16 | You should have received a copy of the GNU General Public License |
17 | along with this program; if not, write to the Free Software | 17 | along with this program; if not, write to the Free Software |
18 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 18 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
19 | 19 | ||
20 | As a special exception, permission is given to link this program | 20 | As a special exception, permission is given to link this program |
21 | with any edition of Qt, and distribute the resulting executable, | 21 | with any edition of Qt, and distribute the resulting executable, |
22 | without including the source code for Qt in the source distribution. | 22 | without including the source code for Qt in the source distribution. |
23 | */ | 23 | */ |
24 | #ifndef SEARCHDIALOG_H | 24 | #ifndef SEARCHDIALOG_H |
25 | #define SEARCHDIALOG_H | 25 | #define SEARCHDIALOG_H |
26 | 26 | ||
27 | #include <qregexp.h> | 27 | #include <qregexp.h> |
28 | 28 | #include <qradiobutton.h> | |
29 | #include <kdialogbase.h> | 29 | #include <kdialogbase.h> |
30 | #include <qvbox.h> | 30 | #include <qvbox.h> |
31 | 31 | ||
32 | #include <libkcal/calendar.h> | 32 | #include <libkcal/calendar.h> |
33 | 33 | ||
34 | #include "kolistview.h" | 34 | #include "kolistview.h" |
35 | 35 | ||
36 | class KDateEdit; | 36 | class KDateEdit; |
37 | class QCheckBox; | 37 | class QCheckBox; |
38 | class QLineEdit; | 38 | class QLineEdit; |
39 | class KLineEdit; | 39 | class KLineEdit; |
40 | class QLabel; | 40 | class QLabel; |
41 | class CalendarView; | 41 | class CalendarView; |
42 | 42 | ||
43 | using namespace KCal; | 43 | using namespace KCal; |
44 | class SearchDialog : public QVBox | 44 | class SearchDialog : public QVBox |
45 | { | 45 | { |
46 | Q_OBJECT | 46 | Q_OBJECT |
47 | public: | 47 | public: |
48 | SearchDialog(Calendar *calendar,CalendarView *parent=0); | 48 | SearchDialog(Calendar *calendar,CalendarView *parent=0); |
49 | virtual ~SearchDialog(); | 49 | virtual ~SearchDialog(); |
50 | KOListView *listview(){ return listView;} | 50 | KOListView *listview(){ return listView;} |
51 | void updateView(); | 51 | void updateView(); |
52 | void raiseAndSelect(); | 52 | void raiseAndSelect(); |
53 | 53 | ||
54 | public slots: | 54 | public slots: |
55 | void changeEventDisplay(Event *, int) { updateView(); } | 55 | void changeEventDisplay(Event *, int) { updateView(); } |
56 | void updateConfig(); | 56 | void updateConfig(); |
57 | void updateList(); | 57 | void updateList(); |
58 | protected slots: | 58 | protected slots: |
59 | void setFocusToList(); | 59 | void setFocusToList(); |
60 | void accept(); | 60 | void accept(); |
61 | void doSearch(); | 61 | void doSearch(); |
62 | void searchTextChanged( const QString &_text ); | 62 | void searchTextChanged( const QString &_text ); |
63 | void toggleCheckboxes(); | 63 | void toggleCheckboxes(); |
64 | void slot_add( bool ); | ||
65 | void slot_sub( bool ); | ||
66 | void slot_refine( bool ); | ||
64 | 67 | ||
65 | signals: | 68 | signals: |
66 | void showEventSignal(Event *); | 69 | void showEventSignal(Event *); |
67 | void editEventSignal(Event *); | 70 | void editEventSignal(Event *); |
68 | void deleteEventSignal(Event *); | 71 | void deleteEventSignal(Event *); |
69 | 72 | ||
70 | private: | 73 | private: |
71 | 74 | ||
72 | QHBox *incidenceGroup ,*subjectGroup ,*attendeeGroup; | 75 | QHBox *incidenceGroup ,*subjectGroup ,*attendeeGroup; |
73 | void search(const QRegExp &); | 76 | void search(const QRegExp &); |
74 | 77 | ||
75 | Calendar *mCalendar; | 78 | Calendar *mCalendar; |
76 | 79 | ||
77 | QPtrList<Event> mMatchedEvents; | 80 | QPtrList<Event> mMatchedEvents; |
78 | QPtrList<Todo> mMatchedTodos; | 81 | QPtrList<Todo> mMatchedTodos; |
79 | QPtrList<Journal> mMatchedJournals; | 82 | QPtrList<Journal> mMatchedJournals; |
80 | 83 | ||
81 | QLabel *searchLabel; | 84 | QLabel *searchLabel; |
82 | KLineEdit *searchEdit; | 85 | KLineEdit *searchEdit; |
83 | KOListView *listView; | 86 | KOListView *listView; |
84 | 87 | ||
85 | KDateEdit *mStartDate; | 88 | KDateEdit *mStartDate; |
86 | KDateEdit *mEndDate; | 89 | KDateEdit *mEndDate; |
87 | QCheckBox *mSummaryCheck; | 90 | QCheckBox *mSummaryCheck; |
88 | QCheckBox *mDescriptionCheck; | 91 | QCheckBox *mDescriptionCheck; |
89 | QCheckBox *mCategoryCheck; | 92 | QCheckBox *mCategoryCheck; |
90 | QCheckBox *mSearchEvent; | 93 | QCheckBox *mSearchEvent; |
91 | QCheckBox *mSearchTodo; | 94 | QCheckBox *mSearchTodo; |
92 | QCheckBox *mSearchJournal; | 95 | QCheckBox *mSearchJournal; |
93 | QCheckBox *mSearchAName; | 96 | QCheckBox *mSearchAName; |
94 | QCheckBox *mSearchAEmail; | 97 | QCheckBox *mSearchAEmail; |
95 | QCheckBox *mAddItems; | 98 | QRadioButton *mAddItems, *mSubItems, *mRefineItems; |
96 | void keyPressEvent ( QKeyEvent *e) ; | 99 | void keyPressEvent ( QKeyEvent *e) ; |
97 | }; | 100 | }; |
98 | 101 | ||
99 | #endif | 102 | #endif |