-rw-r--r-- | bin/kdepim/korganizer/germantranslation.txt | 3 | ||||
-rw-r--r-- | korganizer/calendarview.cpp | 29 | ||||
-rw-r--r-- | korganizer/koprefs.cpp | 6 | ||||
-rw-r--r-- | korganizer/mainwindow.cpp | 13 |
4 files changed, 36 insertions, 15 deletions
diff --git a/bin/kdepim/korganizer/germantranslation.txt b/bin/kdepim/korganizer/germantranslation.txt index bb3a00d..acf17b2 100644 --- a/bin/kdepim/korganizer/germantranslation.txt +++ b/bin/kdepim/korganizer/germantranslation.txt | |||
@@ -1001,49 +1001,48 @@ | |||
1001 | { "<p><b>return</b>: Mark item as completed+one step down.</p>\n","<p><b>return</b>: Markiere Todo als erledigt+Cursor einen Eintrag runter.</p>\n" }, | 1001 | { "<p><b>return</b>: Mark item as completed+one step down.</p>\n","<p><b>return</b>: Markiere Todo als erledigt+Cursor einen Eintrag runter.</p>\n" }, |
1002 | { "<p><b>Q</b>: Toggle quick todo line edit.</p>\n","<p><b>Q</b>: Zeige/verstecke Quick Todo Eingabe Zeile.</p>\n" }, | 1002 | { "<p><b>Q</b>: Toggle quick todo line edit.</p>\n","<p><b>Q</b>: Zeige/verstecke Quick Todo Eingabe Zeile.</p>\n" }, |
1003 | { "<p><b>shift+P</b>: Make new <b>P</b>arent for todo selected with shift+S</p>\n","<p><b>shift+P</b>: Mache Todo zum neuen <b>P</b>arent Todo für das Todo, welches mit shift+Sselektiert wurde.</p>\n" }, | 1003 | { "<p><b>shift+P</b>: Make new <b>P</b>arent for todo selected with shift+S</p>\n","<p><b>shift+P</b>: Mache Todo zum neuen <b>P</b>arent Todo für das Todo, welches mit shift+Sselektiert wurde.</p>\n" }, |
1004 | { "<p><b>shift+S</b>: Make <b>S</b>ubtodo (reparent todo)</p>\n","<p><b>shift+S</b>: Mache Todo zum <b>S</b>ubtodo</p>\n" }, | 1004 | { "<p><b>shift+S</b>: Make <b>S</b>ubtodo (reparent todo)</p>\n","<p><b>shift+S</b>: Mache Todo zum <b>S</b>ubtodo</p>\n" }, |
1005 | { "<p><b>shift+U</b>: <b>U</b>nparent todo (make root todo)</p>\n","<p><b>shift+U</b>: <b>U</b>nparent Todo (Mache Sub-Todo zum Toplevel Todo)</p>\n" }, | 1005 | { "<p><b>shift+U</b>: <b>U</b>nparent todo (make root todo)</p>\n","<p><b>shift+U</b>: <b>U</b>nparent Todo (Mache Sub-Todo zum Toplevel Todo)</p>\n" }, |
1006 | { "<p><h3>In todo view:</h3></p>\n","<p><h3>In Todo Anzige:</h3></p>\n" }, | 1006 | { "<p><h3>In todo view:</h3></p>\n","<p><h3>In Todo Anzige:</h3></p>\n" }, |
1007 | { "<p><b>ctrl+up/down</b>: Scroll small todo view</p>\n","<p><b>ctrl+up/down</b>: Scrolle kleine Todo Ansicht</p>\n" }, | 1007 | { "<p><b>ctrl+up/down</b>: Scroll small todo view</p>\n","<p><b>ctrl+up/down</b>: Scrolle kleine Todo Ansicht</p>\n" }, |
1008 | { "<p><b>up/down</b>: Scroll agenda view</p>\n","<p><b>up/down</b>: Scrolle Agenda Ansicht</p>\n" }, | 1008 | { "<p><b>up/down</b>: Scroll agenda view</p>\n","<p><b>up/down</b>: Scrolle Agenda Ansicht</p>\n" }, |
1009 | { "<p><h3>In agenda view:</h3></p>\n","<p><h3>In Agenda Ansicht:</h3></p>\n" }, | 1009 | { "<p><h3>In agenda view:</h3></p>\n","<p><h3>In Agenda Ansicht:</h3></p>\n" }, |
1010 | { "<p><b>del,backspace</b>: Delete selected item</p>\n","<p><b>del,backspace</b>: Lösche selektiertes Item</p>\n" }, | 1010 | { "<p><b>del,backspace</b>: Delete selected item</p>\n","<p><b>del,backspace</b>: Lösche selektiertes Item</p>\n" }, |
1011 | { "<p><b>left</b>: Prev. week | <b>left+ctrl</b>: Prev. month</p>\n","<p><b>left</b>: Vorh. Woche | <b>left+ctrl</b>: Vorh. Monat</p>\n" }, | 1011 | { "<p><b>left</b>: Prev. week | <b>left+ctrl</b>: Prev. month</p>\n","<p><b>left</b>: Vorh. Woche | <b>left+ctrl</b>: Vorh. Monat</p>\n" }, |
1012 | { "<p><b>right</b>: Next week | <b>right+ctrl</b>: Next month</p>\n","<p><b>right</b>: Nächste Woche | <b>right+ctrl</b>: Nächste Woche</p>\n" }, | 1012 | { "<p><b>right</b>: Next week | <b>right+ctrl</b>: Next month</p>\n","<p><b>right</b>: Nächste Woche | <b>right+ctrl</b>: Nächste Woche</p>\n" }, |
1013 | { "<p><b>B</b>: Edit description (details) of selected item</p>\n","<p><b>B</b>: Editiere Beschreibung (Details) des selektierten Items</p>\n" }, | 1013 | { "<p><b>B</b>: Edit description (details) of selected item</p>\n","<p><b>B</b>: Editiere Beschreibung (Details) des selektierten Items</p>\n" }, |
1014 | { "<p><b>C</b>: Show current time in agenda view</p>\n","<p><b>C</b>: Zeige aktuelle Zeit in Agenda Ansicht</p>\n" }, | 1014 | { "<p><b>C</b>: Show current time in agenda view</p>\n","<p><b>C</b>: Zeige aktuelle Zeit in Agenda Ansicht</p>\n" }, |
1015 | { "<p><b>+,-</b> : Zoom in/out agenda | <b>A</b>: Toggle allday agenda height</p>\n","<p><b>+,-</b> : Zoom rein/raus Agenda | <b>A</b>: Wechsle Ganztag Agenda Höhe</p>\n" }, | 1015 | { "<p><b>+,-</b> : Zoom in/out agenda | <b>A</b>: Toggle allday agenda height</p>\n","<p><b>+,-</b> : Zoom rein/raus Agenda | <b>A</b>: Wechsle Ganztag Agenda Höhe</p>\n" }, |
1016 | { "<p><b>S+ctrl</b>: Add sub-todo | <b>X+ctrl</b>: Toggle datenavigator</p>\n","<p><b>S+ctrl</b>: Füge Sub-Todo hinzu | <b>X+ctrl</b>: Zeige/verstecke Datumsnavigator</p>\n" }, | 1016 | { "<p><b>S+ctrl</b>: Add sub-todo | <b>X+ctrl</b>: Toggle datenavigator</p>\n","<p><b>S+ctrl</b>: Füge Sub-Todo hinzu | <b>X+ctrl</b>: Zeige/verstecke Datumsnavigator</p>\n" }, |
1017 | { "<p><b>T</b>: Goto today | <b>T+ctrl</b>: New Todo</p>\n","<p><b>T</b>: Gehe zu Heute | <b>T+ctrl</b>: Neues Todo</p>\n" }, | 1017 | { "<p><b>T</b>: Goto today | <b>T+ctrl</b>: New Todo</p>\n","<p><b>T</b>: Gehe zu Heute | <b>T+ctrl</b>: Neues Todo</p>\n" }, |
1018 | { "<p><b>E</b>: Edit selected item |<b> E+ctrl</b>: New Event</p>\n","<p><b>E</b>: Editiere selektiertes Item |<b> E+ctrl</b>: Neuer Termin</p>\n" }, | 1018 | { "<p><b>E</b>: Edit selected item |<b> E+ctrl</b>: New Event</p>\n","<p><b>E</b>: Editiere selektiertes Item |<b> E+ctrl</b>: Neuer Termin</p>\n" }, |
1019 | { "<p><b>D</b>: One day view | <b>M</b>: Month view</p>\n","<p><b>D</b>: Ein-Tages Ansicht | <b>M</b>: Monatsansicht</p>\n" }, | 1019 | { "<p><b>D</b>: One day view | <b>M</b>: Month view</p>\n","<p><b>D</b>: Ein-Tages Ansicht | <b>M</b>: Monatsansicht</p>\n" }, |
1020 | { "<p><b>Z,Y</b>: Work week view | <b>U</b>: Week view</p>\n","<p><b>Z,Y</b>: Arbeitswochenansicht | <b>U</b>: Wochenansicht</p>\n" }, | 1020 | { "<p><b>Z,Y</b>: Work week view | <b>U</b>: Week view</p>\n","<p><b>Z,Y</b>: Arbeitswochenansicht | <b>U</b>: Wochenansicht</p>\n" }, |
1021 | { "<p><b>V</b>: Todo view | <b>L</b>: Event list view</p>\n","<p><b>V</b>: Todo Ansicht | <b>L</b>: Termin Listen Ansicht</p>\n" }, | 1021 | { "<p><b>V</b>: Todo view | <b>L</b>: Event list view</p>\n","<p><b>V</b>: Todo Ansicht | <b>L</b>: Termin Listen Ansicht</p>\n" }, |
1022 | { "<p><b>X</b>: Next X days view| <b>W</b>: What's next view\n ","<p><b>X</b>: Nächste-X-Tage Ansicht | <b>W</b>: What's Next Ansicht\n " }, | 1022 | { "<p><b>X</b>: Next X days view| <b>W</b>: What's next view\n ","<p><b>X</b>: Nächste-X-Tage Ansicht | <b>W</b>: What's Next Ansicht\n " }, |
1023 | { "<p><b>1-0</b> (+<b>ctrl</b>): Select filter 1-10 (11-20)</p>\n","<p><b>1-0</b> (+<b>ctrl</b>): Selektiere Filter 1-10 (11-20)</p>\n" }, | 1023 | { "<p><b>1-0</b> (+<b>ctrl</b>): Select filter 1-10 (11-20)</p>\n","<p><b>1-0</b> (+<b>ctrl</b>): Selektiere Filter 1-10 (11-20)</p>\n" }, |
1024 | { "<p><b>O</b>: Filter On/Off | <b>J</b>: Journal view</p>\n","<p><b>O</b>: Filter An/Aus | <b>J</b>: Journal Ansicht</p>\n" }, | 1024 | { "<p><b>O</b>: Filter On/Off | <b>J</b>: Journal view</p>\n","<p><b>O</b>: Filter An/Aus | <b>J</b>: Journal Ansicht</p>\n" }, |
1025 | { "<p><b>F</b>: Toggle filterview |<b>F+ctrl</b>: Edit filter </p>\n","<p><b>F</b>: Zeige/verstecke Filter Ansicht |<b>F+ctrl</b>: Editiere Filter </p>\n" }, | ||
1026 | { "<p><b>Space</b>: Toggle fullscreen | <b>P</b>: Date picker</p>\n","<p><b>Space</b>: Zeige fullscreen | <b>P</b>: Datums Picker</p>\n" }, | 1025 | { "<p><b>Space</b>: Toggle fullscreen | <b>P</b>: Date picker</p>\n","<p><b>Space</b>: Zeige fullscreen | <b>P</b>: Datums Picker</p>\n" }, |
1027 | { "<p><b>I</b>: Show info for selected event/todo</p>\n","<p><b>I</b>: Zeige Info (Details) für selektiertes Item</p>\n" }, | 1026 | { "<p><b>I</b>: Show info for selected event/todo</p>\n","<p><b>I</b>: Zeige Info (Details) für selektiertes Item</p>\n" }, |
1028 | { "<p><b>H</b>: This help dialog | <b>S</b>: Search dialog</p>\n","<p><b>H</b>: Dieser Hilfe Dialog | <b>S</b>: Such Dialog</p>\n" }, | 1027 | { "<p><b>H</b>: This help dialog | <b>S</b>: Search dialog</p>\n","<p><b>H</b>: Dieser Hilfe Dialog | <b>S</b>: Such Dialog</p>\n" }, |
1029 | { "<p><h2>KO/Pi key shortcuts:</h2></p>\n","<p><h2>KO/Pi Tastatur Kurzbefehle:</h2></p>\n" }, | 1028 | { "<p><h2>KO/Pi key shortcuts:</h2></p>\n","<p><h2>KO/Pi Tastatur Kurzbefehle:</h2></p>\n" }, |
1030 | { "After changing something, the data is\nautomatically saved to the file\n~/kdepim/apps/korganizer/mycalendar.ics\nafter (configurable) three minutes.\nFor safety reasons there is one autosaving\nafter 10 minutes (of idle time) again. The \ndata is saved automatically when closing KO/Pi\nYou can create a backup file \nwith: File - Save Calendar Backup\n","Nachdem etwas geändert wurde, werden die\nDaten automatisch in die Datei abgespeichert\n~/kdepim/apps/korganizer/mycalendar.ics\nnach (konfigurierbar) drei Minuten.\nAus Sicherheitsgründen wird noch einmal\nnach 10 Min. abgespeichert, wenn keine\nÄnderungen vorgenommen wurden. Die \nDaten werden automatisch gespeichert,\nwenn KO/Pi beendet wird.\nSie können eine Backup-Datei erstellen im\nMenu: Datei - Speichere Kalender Backup\n" }, | 1029 | { "After changing something, the data is\nautomatically saved to the file\n~/kdepim/apps/korganizer/mycalendar.ics\nafter (configurable) three minutes.\nFor safety reasons there is one autosaving\nafter 10 minutes (of idle time) again. The \ndata is saved automatically when closing KO/Pi\nYou can create a backup file \nwith: File - Save Calendar Backup\n","Nachdem etwas geändert wurde, werden die\nDaten automatisch in die Datei abgespeichert\n~/kdepim/apps/korganizer/mycalendar.ics\nnach (konfigurierbar) drei Minuten.\nAus Sicherheitsgründen wird noch einmal\nnach 10 Min. abgespeichert, wenn keine\nÄnderungen vorgenommen wurden. Die \nDaten werden automatisch gespeichert,\nwenn KO/Pi beendet wird.\nSie können eine Backup-Datei erstellen im\nMenu: Datei - Speichere Kalender Backup\n" }, |
1031 | { "Auto Saving in KOrganizer/Pi","Auto Speichern in KOrganizer/Pi" }, | 1030 | { "Auto Saving in KOrganizer/Pi","Auto Speichern in KOrganizer/Pi" }, |
1032 | { "\nhttp://sourceforge.net/projects/kdepimpi\n","\nhttp://sourceforge.net/projects/kdepimpi\n" }, | 1031 | { "\nhttp://sourceforge.net/projects/kdepimpi\n","\nhttp://sourceforge.net/projects/kdepimpi\n" }, |
1033 | { "\nor report them in the bugtracker on\n","\noder trage sie in dem Bugtracker ein auf\n" }, | 1032 | { "\nor report them in the bugtracker on\n","\noder trage sie in dem Bugtracker ein auf\n" }, |
1034 | { "\nPlease report unexpected behaviour to\nlutz@pi-sync.info\n","\nBitte melde fehlerhaftes Verhalten an\nlutz@pi-sync.info\n" }, | 1033 | { "\nPlease report unexpected behaviour to\nlutz@pi-sync.info\n","\nBitte melde fehlerhaftes Verhalten an\nlutz@pi-sync.info\n" }, |
1035 | { "2) Audio alarm daemon\nfor Zaurus is available!\nas an additional small application\n","2) Ein Audio Alarm Daemon\nfür den Zaurus ist verfügbar\nals zusätzliche Anwendung\n" }, | 1034 | { "2) Audio alarm daemon\nfor Zaurus is available!\nas an additional small application\n","2) Ein Audio Alarm Daemon\nfür den Zaurus ist verfügbar\nals zusätzliche Anwendung\n" }, |
1036 | { "1) Importing *.vcs or *.ics files from\nother applications may not work properly,\nif there are events with properties\nKO/Pi does not support.\n","1) Importieren von *.vcs oder *.ics Dateien von\nanderen Anwendungen kann möglicherweise\n nicht richtig funktionieren,\nwenn die Termine Eigenschaften haben,\ndie KO/Pi nicht unterstützt.\n" }, | 1035 | { "1) Importing *.vcs or *.ics files from\nother applications may not work properly,\nif there are events with properties\nKO/Pi does not support.\n","1) Importieren von *.vcs oder *.ics Dateien von\nanderen Anwendungen kann möglicherweise\n nicht richtig funktionieren,\nwenn die Termine Eigenschaften haben,\ndie KO/Pi nicht unterstützt.\n" }, |
1037 | { "Known Problems in KOrganizer/Pi","Bekannte Probleme in KOrganizer/Pi" }, | 1036 | { "Known Problems in KOrganizer/Pi","Bekannte Probleme in KOrganizer/Pi" }, |
1038 | { "KO/Pi FAQ","KO/Pi FAQ" }, | 1037 | { "KO/Pi FAQ","KO/Pi FAQ" }, |
1039 | { "PDA-Edition\nfor: Zaurus 5x00/7x0/860/3000/6000\n","PDA-Edition\nfür: Zaurus 5x00/7x0/860/3000/6000\n" }, | 1038 | { "PDA-Edition\nfor: Zaurus 5x00/7x0/860/3000/6000\n","PDA-Edition\nfür: Zaurus 5x00/7x0/860/3000/6000\n" }, |
1040 | { "KOrganizer/Platform-independent\n","KOrganizer/Platform-independent\n" }, | 1039 | { "KOrganizer/Platform-independent\n","KOrganizer/Platform-independent\n" }, |
1041 | { "About KOrganizer/Pi","Über KOrganizer/Pi" }, | 1040 | { "About KOrganizer/Pi","Über KOrganizer/Pi" }, |
1042 | { "From: ","Von: " }, | 1041 | { "From: ","Von: " }, |
1043 | { "Remove sync info","Entferne Sync Info" }, | 1042 | { "Remove sync info","Entferne Sync Info" }, |
1044 | { "For all profiles","Für alle Profile" }, | 1043 | { "For all profiles","Für alle Profile" }, |
1045 | { "Hide not Running","Verstecke nicht Laufende" }, | 1044 | { "Hide not Running","Verstecke nicht Laufende" }, |
1046 | { "ME","ME" }, | 1045 | { "ME","ME" }, |
1047 | { "Toolbar","Toolbar" }, | 1046 | { "Toolbar","Toolbar" }, |
1048 | { "Undo Delete...","Löschen rückgängig machen..." }, | 1047 | { "Undo Delete...","Löschen rückgängig machen..." }, |
1049 | { "Undo Delete","Löschen rückgängig machen" }, | 1048 | { "Undo Delete","Löschen rückgängig machen" }, |
@@ -1359,33 +1358,33 @@ | |||
1359 | { "Make backup every ","Mache ein Backup alle " }, | 1358 | { "Make backup every ","Mache ein Backup alle " }, |
1360 | { " days"," Tage" }, | 1359 | { " days"," Tage" }, |
1361 | { "Creating backup ... please wait ...","Erzeuge Backup ... bitte warten ..." }, | 1360 | { "Creating backup ... please wait ...","Erzeuge Backup ... bitte warten ..." }, |
1362 | { "Backup Failed!","Backup Problem!" }, | 1361 | { "Backup Failed!","Backup Problem!" }, |
1363 | { "Try again now","Versuche jetzt nochmal" }, | 1362 | { "Try again now","Versuche jetzt nochmal" }, |
1364 | { "Try again later","Versuche später nochmal" }, | 1363 | { "Try again later","Versuche später nochmal" }, |
1365 | { "Try again tomorrow","Versuche morgen nochmal" }, | 1364 | { "Try again tomorrow","Versuche morgen nochmal" }, |
1366 | { "Disable backup","Schalte Backup ab" }, | 1365 | { "Disable backup","Schalte Backup ab" }, |
1367 | { "<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>" }, |
1368 | { "<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>" }, |
1369 | { "Choose action","Wähle Aktion" }, | 1368 | { "Choose action","Wähle Aktion" }, |
1370 | { "Comment for todo:","Kommentar zum Todo:" }, | 1369 | { "Comment for todo:","Kommentar zum Todo:" }, |
1371 | { "Stop+note","Stop+Notiz" }, | 1370 | { "Stop+note","Stop+Notiz" }, |
1372 | { "Agenda view shows completed todos","Agenda Ansicht zeigt erledigte Todos" }, | 1371 | { "Agenda view shows completed todos","Agenda Ansicht zeigt erledigte Todos" }, |
1373 | { "KO/Pi: Missing alarms!","KO/Pi: Verpasste Alarme!" }, | 1372 | { "KO/Pi: Missing alarms!","KO/Pi: Verpasste Alarme!" }, |
1374 | { "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:" }, |
1375 | { "Print complete list","Drucke komplette Liste" }, | 1374 | { "Print complete list","Drucke komplette Liste" }, |
1376 | { "Hide all selected","Verstecke Selektierte" }, | 1375 | { "Hide all selected","Verstecke Selektierte" }, |
1377 | { "Add items","hinzufügen" }, | 1376 | { "Add items","hinzufügen" }, |
1378 | { "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?" }, |
1379 | { "Print List View...","Drucke Listenansicht..." }, | 1378 | { "Print List View...","Drucke Listenansicht..." }, |
1380 | { "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." }, |
1381 | { "Configure KO/Pi...","Konfiguriere KO/Pi..." }, | 1380 | { "Configure KO/Pi...","Konfiguriere KO/Pi..." }, |
1382 | { "Global Settings...","Globale Einstellungen..." }, | 1381 | { "Global Settings...","Globale Einstellungen..." }, |
1383 | { "","" }, | 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" }, |
1384 | { "","" }, | 1383 | { "","" }, |
1385 | { "","" }, | 1384 | { "","" }, |
1386 | { "","" }, | 1385 | { "","" }, |
1387 | { "","" }, | 1386 | { "","" }, |
1388 | { "","" }, | 1387 | { "","" }, |
1389 | { "","" }, | 1388 | { "","" }, |
1390 | { "","" }, | 1389 | { "","" }, |
1391 | { "","" }, \ No newline at end of file | 1390 | { "","" }, \ No newline at end of file |
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp index 1024b4e..b3686aa 100644 --- a/korganizer/calendarview.cpp +++ b/korganizer/calendarview.cpp | |||
@@ -3906,67 +3906,88 @@ void CalendarView::showDates(const DateList &selectedDates) | |||
3906 | } | 3906 | } |
3907 | topLevelWidget()->setCaption( i18n("Dates: ") + selDates ); | 3907 | topLevelWidget()->setCaption( i18n("Dates: ") + selDates ); |
3908 | 3908 | ||
3909 | } | 3909 | } |
3910 | 3910 | ||
3911 | QPtrList<CalFilter> CalendarView::filters() | 3911 | QPtrList<CalFilter> CalendarView::filters() |
3912 | { | 3912 | { |
3913 | return mFilters; | 3913 | return mFilters; |
3914 | 3914 | ||
3915 | } | 3915 | } |
3916 | void CalendarView::editFilters() | 3916 | void CalendarView::editFilters() |
3917 | { | 3917 | { |
3918 | // kdDebug() << "CalendarView::editFilters()" << endl; | 3918 | // kdDebug() << "CalendarView::editFilters()" << endl; |
3919 | 3919 | ||
3920 | CalFilter *filter = mFilters.first(); | 3920 | CalFilter *filter = mFilters.first(); |
3921 | while(filter) { | 3921 | while(filter) { |
3922 | kdDebug() << " Filter: " << filter->name() << endl; | 3922 | kdDebug() << " Filter: " << filter->name() << endl; |
3923 | filter = mFilters.next(); | 3923 | filter = mFilters.next(); |
3924 | } | 3924 | } |
3925 | 3925 | ||
3926 | mDialogManager->showFilterEditDialog(&mFilters); | 3926 | mDialogManager->showFilterEditDialog(&mFilters); |
3927 | } | 3927 | } |
3928 | void CalendarView::toggleFilter() | 3928 | void CalendarView::toggleFilter() |
3929 | { | 3929 | { |
3930 | showFilter(! mFilterView->isVisible()); | 3930 | showFilter(! mCalEditView->isVisible()); |
3931 | } | 3931 | } |
3932 | 3932 | ||
3933 | KOFilterView *CalendarView::filterView() | 3933 | KOFilterView *CalendarView::filterView() |
3934 | { | 3934 | { |
3935 | return mFilterView; | 3935 | return mFilterView; |
3936 | } | 3936 | } |
3937 | void CalendarView::selectFilter( int fil ) | 3937 | void CalendarView::selectFilter( int fil ) |
3938 | { | 3938 | { |
3939 | mFilterView->setSelectedFilter( fil ); | 3939 | mFilterView->setSelectedFilter( fil ); |
3940 | } | 3940 | } |
3941 | void CalendarView::showFilter(bool visible) | 3941 | void CalendarView::showFilter(bool visible) |
3942 | { | 3942 | { |
3943 | #if 1 | 3943 | #if 1 |
3944 | if (visible) { | 3944 | if (visible) { |
3945 | mCalEditView->readConfig(); | 3945 | mCalEditView->readConfig(); |
3946 | mCalEditView->show(); | 3946 | mCalEditView->show(); |
3947 | QValueList<int> sizes; | ||
3948 | sizes = mLeftFrame->sizes(); | ||
3949 | if ( sizes.count() == 4 && sizes[3] < 20 ) { | ||
3950 | sizes.clear(); | ||
3951 | sizes << 100; | ||
3952 | sizes << 0; | ||
3953 | sizes << 0; | ||
3954 | sizes << 100; | ||
3955 | mLeftFrame->setSizes(sizes); | ||
3956 | } | ||
3957 | #if 0 | ||
3958 | sizes = mLeftFrame->sizes(); | ||
3959 | int ccc = 0; | ||
3960 | while ( ccc < sizes.count()) { | ||
3961 | qDebug("size %d %d ", ccc, sizes[ccc]); | ||
3962 | ++ccc; | ||
3963 | } | ||
3964 | #endif | ||
3965 | |||
3966 | } | ||
3967 | else { | ||
3968 | mCalEditView->hide(); | ||
3947 | } | 3969 | } |
3948 | else mCalEditView->hide(); | ||
3949 | #else | 3970 | #else |
3950 | if (visible) mFilterView->show(); | 3971 | if (visible) mFilterView->show(); |
3951 | else mFilterView->hide(); | 3972 | else mFilterView->hide(); |
3952 | #endif | 3973 | #endif |
3953 | } | 3974 | } |
3954 | void CalendarView::toggleFilerEnabled( ) | 3975 | void CalendarView::toggleFilerEnabled( ) |
3955 | { | 3976 | { |
3956 | mFilterView->setFiltersEnabled ( !mFilterView->filtersEnabled() ); | 3977 | mFilterView->setFiltersEnabled ( !mFilterView->filtersEnabled() ); |
3957 | if ( !mFilterView->filtersEnabled() ) | 3978 | if ( !mFilterView->filtersEnabled() ) |
3958 | topLevelWidget()->setCaption( i18n("Filter disabled ") ); | 3979 | topLevelWidget()->setCaption( i18n("Filter disabled ") ); |
3959 | 3980 | ||
3960 | } | 3981 | } |
3961 | void CalendarView::updateFilter() | 3982 | void CalendarView::updateFilter() |
3962 | { | 3983 | { |
3963 | CalFilter *filter = mFilterView->selectedFilter(); | 3984 | CalFilter *filter = mFilterView->selectedFilter(); |
3964 | if (filter) { | 3985 | if (filter) { |
3965 | QString mess; | 3986 | QString mess; |
3966 | if (mFilterView->filtersEnabled()) { | 3987 | if (mFilterView->filtersEnabled()) { |
3967 | mess = i18n("Filter selected: ")+filter->name(); | 3988 | mess = i18n("Filter selected: ")+filter->name(); |
3968 | filter->setEnabled(true); | 3989 | filter->setEnabled(true); |
3969 | } | 3990 | } |
3970 | else filter->setEnabled(false); | 3991 | else filter->setEnabled(false); |
3971 | mCalendar->setFilter(filter); | 3992 | mCalendar->setFilter(filter); |
3972 | updateView(); | 3993 | updateView(); |
diff --git a/korganizer/koprefs.cpp b/korganizer/koprefs.cpp index bc6aae4..9fe285c 100644 --- a/korganizer/koprefs.cpp +++ b/korganizer/koprefs.cpp | |||
@@ -425,49 +425,49 @@ void KOPrefs::usrReadConfig() | |||
425 | 425 | ||
426 | if (mCustomCategories.isEmpty()) setCategoryDefaults(); | 426 | if (mCustomCategories.isEmpty()) setCategoryDefaults(); |
427 | 427 | ||
428 | config()->setGroup("Personal Settings"); | 428 | config()->setGroup("Personal Settings"); |
429 | mName = config()->readEntry("user_name",""); | 429 | mName = config()->readEntry("user_name",""); |
430 | mEmail = config()->readEntry("user_email",""); | 430 | mEmail = config()->readEntry("user_email",""); |
431 | fillMailDefaults(); | 431 | fillMailDefaults(); |
432 | 432 | ||
433 | config()->setGroup("Category Colors"); | 433 | config()->setGroup("Category Colors"); |
434 | QStringList::Iterator it; | 434 | QStringList::Iterator it; |
435 | for (it = mCustomCategories.begin();it != mCustomCategories.end();++it ) { | 435 | for (it = mCustomCategories.begin();it != mCustomCategories.end();++it ) { |
436 | setCategoryColor(*it,config()->readColorEntry(*it,&mDefaultCategoryColor)); | 436 | setCategoryColor(*it,config()->readColorEntry(*it,&mDefaultCategoryColor)); |
437 | 437 | ||
438 | } | 438 | } |
439 | config()->setGroup("CCal"); | 439 | config()->setGroup("CCal"); |
440 | int numCals = config()->readNumEntry("NumberCalendars",0 ); | 440 | int numCals = config()->readNumEntry("NumberCalendars",0 ); |
441 | mNextAvailableCalendar = 1; | 441 | mNextAvailableCalendar = 1; |
442 | if ( numCals == 0 ) { | 442 | if ( numCals == 0 ) { |
443 | KopiCalendarFile *kkf = getNewCalendar(); | 443 | KopiCalendarFile *kkf = getNewCalendar(); |
444 | kkf->isStandard = true; | 444 | kkf->isStandard = true; |
445 | kkf->mName = i18n("Standard"); | 445 | kkf->mName = i18n("Standard"); |
446 | kkf->mFileName = locateLocal( "data", "korganizer/mycalendar.ics" ); | 446 | kkf->mFileName = locateLocal( "data", "korganizer/mycalendar.ics" ); |
447 | } | 447 | } |
448 | while ( mNextAvailableCalendar <= numCals ) { | 448 | while ( mNextAvailableCalendar <= numCals ) { |
449 | qDebug("Read cal #%d ", mNextAvailableCalendar ); | 449 | //qDebug("Read cal #%d ", mNextAvailableCalendar ); |
450 | QString prefix = "Cal_" +QString::number( mNextAvailableCalendar ); | 450 | QString prefix = "Cal_" +QString::number( mNextAvailableCalendar ); |
451 | KopiCalendarFile *kkf = getNewCalendar(); | 451 | KopiCalendarFile *kkf = getNewCalendar(); |
452 | kkf->isStandard = config()->readBoolEntry( prefix+"_isStandard", false ); | 452 | kkf->isStandard = config()->readBoolEntry( prefix+"_isStandard", false ); |
453 | kkf->isEnabled = config()->readBoolEntry( prefix+"_isEnabled", true); | 453 | kkf->isEnabled = config()->readBoolEntry( prefix+"_isEnabled", true); |
454 | kkf->isAlarmEnabled = config()->readBoolEntry( prefix+"_isAlarmEnabled", true); | 454 | kkf->isAlarmEnabled = config()->readBoolEntry( prefix+"_isAlarmEnabled", true); |
455 | kkf->isReadOnly = config()->readBoolEntry( prefix+"_isReadOnly", false); | 455 | kkf->isReadOnly = config()->readBoolEntry( prefix+"_isReadOnly", false); |
456 | kkf->mName = config()->readEntry( prefix+"_Name", "Calendar"); | 456 | kkf->mName = config()->readEntry( prefix+"_Name", "Calendar"); |
457 | kkf->mFileName = config()->readEntry( prefix+"_FileName", kkf->mFileName); | 457 | kkf->mFileName = config()->readEntry( prefix+"_FileName", kkf->mFileName); |
458 | kkf->mDefaultColor = config()->readColorEntry( prefix+"_Color",&mEventColor); | 458 | kkf->mDefaultColor = config()->readColorEntry( prefix+"_Color",&mEventColor); |
459 | if ( kkf->mCalNumber == 1 ) { | 459 | if ( kkf->mCalNumber == 1 ) { |
460 | kkf->mFileName = locateLocal( "data", "korganizer/mycalendar.ics" ); | 460 | kkf->mFileName = locateLocal( "data", "korganizer/mycalendar.ics" ); |
461 | } | 461 | } |
462 | } | 462 | } |
463 | 463 | ||
464 | KPimPrefs::usrReadConfig(); | 464 | KPimPrefs::usrReadConfig(); |
465 | } | 465 | } |
466 | 466 | ||
467 | KopiCalendarFile * KOPrefs::getCalendar( int num ) | 467 | KopiCalendarFile * KOPrefs::getCalendar( int num ) |
468 | { | 468 | { |
469 | return mDefCalColors[num-1]; | 469 | return mDefCalColors[num-1]; |
470 | } | 470 | } |
471 | 471 | ||
472 | KopiCalendarFile * KOPrefs::getNewCalendar() | 472 | KopiCalendarFile * KOPrefs::getNewCalendar() |
473 | { | 473 | { |
@@ -499,52 +499,52 @@ QColor KOPrefs::defaultColor( int calNum ) const | |||
499 | return (mDefCalColors[calNum-1])->mDefaultColor; | 499 | return (mDefCalColors[calNum-1])->mDefaultColor; |
500 | } | 500 | } |
501 | void KOPrefs::usrWriteConfig() | 501 | void KOPrefs::usrWriteConfig() |
502 | { | 502 | { |
503 | config()->setGroup("General"); | 503 | config()->setGroup("General"); |
504 | config()->writeEntry("Custom Categories",mCustomCategories); | 504 | config()->writeEntry("Custom Categories",mCustomCategories); |
505 | 505 | ||
506 | config()->setGroup("Personal Settings"); | 506 | config()->setGroup("Personal Settings"); |
507 | config()->writeEntry("user_name",mName); | 507 | config()->writeEntry("user_name",mName); |
508 | config()->writeEntry("user_email",mEmail); | 508 | config()->writeEntry("user_email",mEmail); |
509 | 509 | ||
510 | config()->setGroup("Category Colors"); | 510 | config()->setGroup("Category Colors"); |
511 | QDictIterator<QColor> it(mCategoryColors); | 511 | QDictIterator<QColor> it(mCategoryColors); |
512 | while (it.current()) { | 512 | while (it.current()) { |
513 | config()->writeEntry(it.currentKey(),*(it.current())); | 513 | config()->writeEntry(it.currentKey(),*(it.current())); |
514 | ++it; | 514 | ++it; |
515 | } | 515 | } |
516 | config()->setGroup("CCal"); | 516 | config()->setGroup("CCal"); |
517 | config()->writeEntry("NumberCalendars",mCalendars.count()); | 517 | config()->writeEntry("NumberCalendars",mCalendars.count()); |
518 | int numCal = 1; | 518 | int numCal = 1; |
519 | int writeCal = 0; | 519 | int writeCal = 0; |
520 | while ( numCal < mNextAvailableCalendar ) { | 520 | while ( numCal < mNextAvailableCalendar ) { |
521 | KopiCalendarFile * kkf = mCalendars.first(); | 521 | KopiCalendarFile * kkf = mCalendars.first(); |
522 | while ( kkf ) { | 522 | while ( kkf ) { |
523 | qDebug("cal num %d %d ", kkf->mCalNumber, numCal); | 523 | //qDebug("cal num %d %d ", kkf->mCalNumber, numCal); |
524 | if ( kkf->mCalNumber == numCal ) { | 524 | if ( kkf->mCalNumber == numCal ) { |
525 | ++writeCal; | 525 | ++writeCal; |
526 | qDebug("Write calendar %d %d ", numCal , writeCal); | 526 | //qDebug("Write calendar %d %d ", numCal , writeCal); |
527 | QString prefix = "Cal_" + QString::number( writeCal ); | 527 | QString prefix = "Cal_" + QString::number( writeCal ); |
528 | config()->writeEntry( prefix+"_isStandard", kkf->isStandard ); | 528 | config()->writeEntry( prefix+"_isStandard", kkf->isStandard ); |
529 | config()->writeEntry( prefix+"_isEnabled", kkf->isEnabled ); | 529 | config()->writeEntry( prefix+"_isEnabled", kkf->isEnabled ); |
530 | config()->writeEntry( prefix+"_isAlarmEnabled", kkf->isAlarmEnabled ); | 530 | config()->writeEntry( prefix+"_isAlarmEnabled", kkf->isAlarmEnabled ); |
531 | config()->writeEntry( prefix+"_isReadOnly", kkf->isReadOnly ); | 531 | config()->writeEntry( prefix+"_isReadOnly", kkf->isReadOnly ); |
532 | config()->writeEntry( prefix+"_Name", kkf->mName); | 532 | config()->writeEntry( prefix+"_Name", kkf->mName); |
533 | config()->writeEntry( prefix+"_FileName", kkf->mFileName); | 533 | config()->writeEntry( prefix+"_FileName", kkf->mFileName); |
534 | config()->writeEntry( prefix+"_Color",kkf->mDefaultColor); | 534 | config()->writeEntry( prefix+"_Color",kkf->mDefaultColor); |
535 | } | 535 | } |
536 | kkf = mCalendars.next(); | 536 | kkf = mCalendars.next(); |
537 | } | 537 | } |
538 | ++numCal; | 538 | ++numCal; |
539 | } | 539 | } |
540 | KPimPrefs::usrWriteConfig(); | 540 | KPimPrefs::usrWriteConfig(); |
541 | } | 541 | } |
542 | 542 | ||
543 | void KOPrefs::setCategoryColor(QString cat,const QColor & color) | 543 | void KOPrefs::setCategoryColor(QString cat,const QColor & color) |
544 | { | 544 | { |
545 | mCategoryColors.replace(cat,new QColor(color)); | 545 | mCategoryColors.replace(cat,new QColor(color)); |
546 | } | 546 | } |
547 | 547 | ||
548 | QColor *KOPrefs::categoryColor(QString cat) | 548 | QColor *KOPrefs::categoryColor(QString cat) |
549 | { | 549 | { |
550 | QColor *color = 0; | 550 | QColor *color = 0; |
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp index 0cb0bce..95e1607 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp | |||
@@ -766,49 +766,50 @@ void MainWindow::initActions() | |||
766 | connect( today_action, SIGNAL( activated() ), | 766 | connect( today_action, SIGNAL( activated() ), |
767 | mView, SLOT( goToday() ) ); | 767 | mView, SLOT( goToday() ) ); |
768 | viewMenu->insertSeparator(); | 768 | viewMenu->insertSeparator(); |
769 | 769 | ||
770 | // *********************** | 770 | // *********************** |
771 | if ( KOPrefs::instance()->mVerticalScreen ) { | 771 | if ( KOPrefs::instance()->mVerticalScreen ) { |
772 | icon = SmallIcon( "1updownarrow" ); | 772 | icon = SmallIcon( "1updownarrow" ); |
773 | } else { | 773 | } else { |
774 | icon = SmallIcon("1leftrightarrow" ); | 774 | icon = SmallIcon("1leftrightarrow" ); |
775 | } | 775 | } |
776 | configureToolBarMenu->insertItem(icon, i18n("Toggle Fullscreen"), 28 ); | 776 | configureToolBarMenu->insertItem(icon, i18n("Toggle Fullscreen"), 28 ); |
777 | QAction* FSaction = new QAction( i18n("Toggle Fullscreen"), icon, i18n("Toggle Fullscreen"), 0, this ); | 777 | QAction* FSaction = new QAction( i18n("Toggle Fullscreen"), icon, i18n("Toggle Fullscreen"), 0, this ); |
778 | FSaction->addTo( viewMenu ); | 778 | FSaction->addTo( viewMenu ); |
779 | connect( FSaction, SIGNAL( activated() ), mView, SLOT( toggleExpand() )); | 779 | connect( FSaction, SIGNAL( activated() ), mView, SLOT( toggleExpand() )); |
780 | 780 | ||
781 | icon = loadPixmap( pathString + "navi" ); | 781 | icon = loadPixmap( pathString + "navi" ); |
782 | configureToolBarMenu->insertItem(icon, i18n("Toggle DateNavigator"), 22 ); | 782 | configureToolBarMenu->insertItem(icon, i18n("Toggle DateNavigator"), 22 ); |
783 | action = new QAction( i18n("Toggle DateNavigator"), icon, i18n("Toggle DateNavigator"), 0, this ); | 783 | action = new QAction( i18n("Toggle DateNavigator"), icon, i18n("Toggle DateNavigator"), 0, this ); |
784 | action->addTo( viewMenu ); | 784 | action->addTo( viewMenu ); |
785 | connect( action, SIGNAL( activated() ), | 785 | connect( action, SIGNAL( activated() ), |
786 | mView, SLOT( toggleDateNavigatorWidget() ) ); | 786 | mView, SLOT( toggleDateNavigatorWidget() ) ); |
787 | mToggleNav = action ; | 787 | mToggleNav = action ; |
788 | icon = loadPixmap( pathString + "filter" ); | 788 | icon = loadPixmap( pathString + "filter" ); |
789 | configureToolBarMenu->insertItem(icon, i18n("Filter menu icon"), 26 ); | 789 | configureToolBarMenu->insertItem(icon, i18n("Filter menu icon"), 26 ); |
790 | action = new QAction( i18n("Toggle FilterView"), icon, i18n("Toggle FilterView"), 0, this ); | 790 | icon = loadPixmap( pathString + "configure" ); |
791 | action = new QAction( i18n("Toggle Resource View"), icon, i18n("Toggle Resource View"), 0, this ); | ||
791 | action->addTo( viewMenu ); | 792 | action->addTo( viewMenu ); |
792 | connect( action, SIGNAL( activated() ), | 793 | connect( action, SIGNAL( activated() ), |
793 | mView, SLOT( toggleFilter() ) ); | 794 | mView, SLOT( toggleFilter() ) ); |
794 | mToggleFilter = action; | 795 | mToggleFilter = action; |
795 | icon = loadPixmap( pathString + "allday" ); | 796 | icon = loadPixmap( pathString + "allday" ); |
796 | configureToolBarMenu->insertItem(icon, i18n("Toggle Allday"), 24 ); | 797 | configureToolBarMenu->insertItem(icon, i18n("Toggle Allday"), 24 ); |
797 | action = new QAction( i18n("Toggle Allday"), icon,i18n("Toggle Allday"), 0, this ); | 798 | action = new QAction( i18n("Toggle Allday"), icon,i18n("Toggle Allday"), 0, this ); |
798 | action->addTo( viewMenu ); | 799 | action->addTo( viewMenu ); |
799 | connect( action, SIGNAL( activated() ), | 800 | connect( action, SIGNAL( activated() ), |
800 | mView, SLOT( toggleAllDaySize() ) ); | 801 | mView, SLOT( toggleAllDaySize() ) ); |
801 | mToggleAllday = action; | 802 | mToggleAllday = action; |
802 | 803 | ||
803 | 804 | ||
804 | connect( mView->viewManager(), SIGNAL( signalFullScreen( bool ) ), | 805 | connect( mView->viewManager(), SIGNAL( signalFullScreen( bool ) ), |
805 | mToggleNav, SLOT( setEnabled ( bool ) ) ); | 806 | mToggleNav, SLOT( setEnabled ( bool ) ) ); |
806 | connect( mView->viewManager(), SIGNAL( signalFullScreen( bool ) ), | 807 | connect( mView->viewManager(), SIGNAL( signalFullScreen( bool ) ), |
807 | mToggleFilter, SLOT( setEnabled ( bool ) ) ); | 808 | mToggleFilter, SLOT( setEnabled ( bool ) ) ); |
808 | connect( mView->viewManager(), SIGNAL( signalAgendaView( bool ) ), | 809 | connect( mView->viewManager(), SIGNAL( signalAgendaView( bool ) ), |
809 | mToggleAllday, SLOT( setEnabled ( bool ) ) ); | 810 | mToggleAllday, SLOT( setEnabled ( bool ) ) ); |
810 | // connect( mView->viewManager(), SIGNAL( signalAgendaView( bool ) ), | 811 | // connect( mView->viewManager(), SIGNAL( signalAgendaView( bool ) ), |
811 | // configureAgendaMenu, SLOT( setEnabled ( bool ) ) ); | 812 | // configureAgendaMenu, SLOT( setEnabled ( bool ) ) ); |
812 | 813 | ||
813 | viewMenu->insertSeparator(); | 814 | viewMenu->insertSeparator(); |
814 | icon = loadPixmap( pathString + "picker" ); | 815 | icon = loadPixmap( pathString + "picker" ); |
@@ -1467,49 +1468,49 @@ void MainWindow::licence() | |||
1467 | void MainWindow::about() | 1468 | void MainWindow::about() |
1468 | { | 1469 | { |
1469 | QString version; | 1470 | QString version; |
1470 | #include <../version> | 1471 | #include <../version> |
1471 | QMessageBox::about( this, i18n("About KOrganizer/Pi"), | 1472 | QMessageBox::about( this, i18n("About KOrganizer/Pi"), |
1472 | i18n("KOrganizer/Platform-independent\n") + | 1473 | i18n("KOrganizer/Platform-independent\n") + |
1473 | "(KO/Pi) " + version + " - " + | 1474 | "(KO/Pi) " + version + " - " + |
1474 | 1475 | ||
1475 | #ifdef DESKTOP_VERSION | 1476 | #ifdef DESKTOP_VERSION |
1476 | i18n("Desktop Edition\n") + | 1477 | i18n("Desktop Edition\n") + |
1477 | #else | 1478 | #else |
1478 | i18n("PDA-Edition\nfor: Zaurus 5x00/7x0/860/3000/6000\n") + | 1479 | i18n("PDA-Edition\nfor: Zaurus 5x00/7x0/860/3000/6000\n") + |
1479 | #endif | 1480 | #endif |
1480 | i18n("(c)2004 Lutz Rogowski (rogowski@kde.org)\nKO/Pi is based on KOrganizer\n(c)2002,2003 Cornelius Schumacher\n(schumacher@kde.org) and the KDE team.\nKOrganizer/Pi is licensed under the GPL.\nKO/Pi can be compiled for\nLinux, Zaurus-PDA and Windows\nwww.pi-sync.info --- www.korganizer.org\nSpecial thanks to Michael and Ben\nfor intensive testing!") ); | 1481 | i18n("(c)2004 Lutz Rogowski (rogowski@kde.org)\nKO/Pi is based on KOrganizer\n(c)2002,2003 Cornelius Schumacher\n(schumacher@kde.org) and the KDE team.\nKOrganizer/Pi is licensed under the GPL.\nKO/Pi can be compiled for\nLinux, Zaurus-PDA and Windows\nwww.pi-sync.info --- www.korganizer.org\nSpecial thanks to Michael and Ben\nfor intensive testing!") ); |
1481 | } | 1482 | } |
1482 | void MainWindow::keyBindings() | 1483 | void MainWindow::keyBindings() |
1483 | { | 1484 | { |
1484 | QString cap = i18n("KO/Pi Keys + Colors"); | 1485 | QString cap = i18n("KO/Pi Keys + Colors"); |
1485 | QString text = i18n("<p><h2>KO/Pi key shortcuts:</h2></p>\n") + | 1486 | QString text = i18n("<p><h2>KO/Pi key shortcuts:</h2></p>\n") + |
1486 | i18n("<p><b>H</b>: This help dialog | <b>S</b>: Search dialog</p>\n")+ | 1487 | i18n("<p><b>H</b>: This help dialog | <b>S</b>: Search dialog</p>\n")+ |
1487 | i18n("<p><b>N</b>: Switch to next view which has a toolbar icon</p>\n") + | 1488 | i18n("<p><b>N</b>: Switch to next view which has a toolbar icon</p>\n") + |
1488 | i18n("<p><b>A+(shift or ctrl)</b>: Show occurence of next alarm</p>\n") + | 1489 | i18n("<p><b>A+(shift or ctrl)</b>: Show occurence of next alarm</p>\n") + |
1489 | i18n("<p><b>I</b>: Show info for selected event/todo</p>\n") + | 1490 | i18n("<p><b>I</b>: Show info for selected event/todo</p>\n") + |
1490 | i18n("<p><b>Space</b>: Toggle fullscreen | <b>P</b>: Date picker</p>\n")+ | 1491 | i18n("<p><b>Space</b>: Toggle fullscreen | <b>P</b>: Date picker</p>\n")+ |
1491 | i18n("<p><b>F</b>: Toggle filterview |<b>F+ctrl</b>: Edit filter </p>\n")+ | 1492 | i18n("<p><b>R</b>: Toggle Resource View |<b>F</b>: Edit filter </p>\n")+ |
1492 | i18n("<p><b>O</b>: Filter On/Off | <b>J</b>: Journal view</p>\n")+ | 1493 | i18n("<p><b>O</b>: Filter On/Off | <b>J</b>: Journal view</p>\n")+ |
1493 | i18n("<p><b>1-0</b> (+<b>ctrl</b>): Select filter 1-10 (11-20)</p>\n")+ | 1494 | i18n("<p><b>1-0</b> (+<b>ctrl</b>): Select filter 1-10 (11-20)</p>\n")+ |
1494 | i18n("<p><b>X</b>: Next X days view| <b>W</b>: What's next view\n ")+ | 1495 | i18n("<p><b>X</b>: Next X days view| <b>W</b>: What's next view\n ")+ |
1495 | i18n("<p><b>V</b>: Todo view | <b>L</b>: Event list view</p>\n")+ | 1496 | i18n("<p><b>V</b>: Todo view | <b>L</b>: Event list view</p>\n")+ |
1496 | i18n("<p><b>Z,Y</b>: Work week view | <b>U</b>: Week view</p>\n")+ | 1497 | i18n("<p><b>Z,Y</b>: Work week view | <b>U</b>: Week view</p>\n")+ |
1497 | i18n("<p><b>D</b>: One day view | <b>M</b>: Month view</p>\n")+ | 1498 | i18n("<p><b>D</b>: One day view | <b>M</b>: Month view</p>\n")+ |
1498 | i18n("<p><b>K</b>: Week view in Month view syle</p>\n")+ | 1499 | i18n("<p><b>K</b>: Week view in Month view syle</p>\n")+ |
1499 | i18n("<p><b>E</b>: Edit selected item |<b> E+ctrl</b>: New Event</p>\n")+ | 1500 | i18n("<p><b>E</b>: Edit selected item |<b> E+ctrl</b>: New Event</p>\n")+ |
1500 | i18n("<p><b>T</b>: Goto today | <b>T+ctrl</b>: New Todo</p>\n")+ | 1501 | i18n("<p><b>T</b>: Goto today | <b>T+ctrl</b>: New Todo</p>\n")+ |
1501 | i18n("<p><b>S+ctrl</b>: Add sub-todo | <b>X+ctrl</b>: Toggle datenavigator</p>\n")+ | 1502 | i18n("<p><b>S+ctrl</b>: Add sub-todo | <b>X+ctrl</b>: Toggle datenavigator</p>\n")+ |
1502 | i18n("<p><b>+,-</b> : Zoom in/out agenda | <b>A</b>: Toggle allday agenda height</p>\n")+ | 1503 | i18n("<p><b>+,-</b> : Zoom in/out agenda | <b>A</b>: Toggle allday agenda height</p>\n")+ |
1503 | i18n("<p><b>C</b>: Show current time in agenda view</p>\n")+ | 1504 | i18n("<p><b>C</b>: Show current time in agenda view</p>\n")+ |
1504 | i18n("<p><b>B</b>: Edit description (details) of selected item</p>\n")+ | 1505 | i18n("<p><b>B</b>: Edit description (details) of selected item</p>\n")+ |
1505 | i18n("<p><b>right</b>: Next week | <b>right+ctrl</b>: Next month</p>\n")+ | 1506 | i18n("<p><b>right</b>: Next week | <b>right+ctrl</b>: Next month</p>\n")+ |
1506 | i18n("<p><b>left</b>: Prev. week | <b>left+ctrl</b>: Prev. month</p>\n")+ | 1507 | i18n("<p><b>left</b>: Prev. week | <b>left+ctrl</b>: Prev. month</p>\n")+ |
1507 | i18n("<p><b>del,backspace</b>: Delete selected item</p>\n")+ | 1508 | i18n("<p><b>del,backspace</b>: Delete selected item</p>\n")+ |
1508 | i18n("<p><h3>In agenda view:</h3></p>\n") + | 1509 | i18n("<p><h3>In agenda view:</h3></p>\n") + |
1509 | i18n("<p><b>up/down</b>: Scroll agenda view</p>\n")+ | 1510 | i18n("<p><b>up/down</b>: Scroll agenda view</p>\n")+ |
1510 | i18n("<p><b>ctrl+up/down</b>: Scroll small todo view</p>\n")+ | 1511 | i18n("<p><b>ctrl+up/down</b>: Scroll small todo view</p>\n")+ |
1511 | i18n("<p><h3>In todo view:</h3></p>\n") + | 1512 | i18n("<p><h3>In todo view:</h3></p>\n") + |
1512 | i18n("<p><b>shift+U</b>: <b>U</b>nparent todo (make root todo)</p>\n")+ | 1513 | i18n("<p><b>shift+U</b>: <b>U</b>nparent todo (make root todo)</p>\n")+ |
1513 | i18n("<p><b>shift+S</b>: Make <b>S</b>ubtodo (reparent todo)</p>\n")+ | 1514 | i18n("<p><b>shift+S</b>: Make <b>S</b>ubtodo (reparent todo)</p>\n")+ |
1514 | i18n("<p><b>shift+P</b>: Make new <b>P</b>arent for todo selected with shift+S</p>\n")+ | 1515 | i18n("<p><b>shift+P</b>: Make new <b>P</b>arent for todo selected with shift+S</p>\n")+ |
1515 | i18n("<p><b>Q</b>: Toggle quick todo line edit.</p>\n")+ | 1516 | i18n("<p><b>Q</b>: Toggle quick todo line edit.</p>\n")+ |
@@ -1966,52 +1967,52 @@ void MainWindow::keyPressEvent ( QKeyEvent * e ) | |||
1966 | showSelectedDates = true; | 1967 | showSelectedDates = true; |
1967 | break; | 1968 | break; |
1968 | case Qt::Key_H : | 1969 | case Qt::Key_H : |
1969 | keyBindings(); | 1970 | keyBindings(); |
1970 | break; | 1971 | break; |
1971 | case Qt::Key_W: | 1972 | case Qt::Key_W: |
1972 | mView->viewManager()->showWhatsNextView(); | 1973 | mView->viewManager()->showWhatsNextView(); |
1973 | break; | 1974 | break; |
1974 | case Qt::Key_L: | 1975 | case Qt::Key_L: |
1975 | mView->viewManager()->showListView(); | 1976 | mView->viewManager()->showListView(); |
1976 | break; | 1977 | break; |
1977 | case Qt::Key_N: | 1978 | case Qt::Key_N: |
1978 | mView->viewManager()->showNextView(); | 1979 | mView->viewManager()->showNextView(); |
1979 | break; | 1980 | break; |
1980 | case Qt::Key_V: | 1981 | case Qt::Key_V: |
1981 | mView->viewManager()->showTodoView(); | 1982 | mView->viewManager()->showTodoView(); |
1982 | break; | 1983 | break; |
1983 | case Qt::Key_C: | 1984 | case Qt::Key_C: |
1984 | mView->viewManager()->agendaView()->setStartHour( QTime::currentTime ().hour() ); | 1985 | mView->viewManager()->agendaView()->setStartHour( QTime::currentTime ().hour() ); |
1985 | break; | 1986 | break; |
1986 | case Qt::Key_P: | 1987 | case Qt::Key_P: |
1987 | mView->showDatePicker( ); | 1988 | mView->showDatePicker( ); |
1988 | break; | 1989 | break; |
1989 | case Qt::Key_F: | 1990 | case Qt::Key_F: |
1990 | if ( e->state() == Qt::ControlButton|| e->state() == Qt::ShiftButton ) | 1991 | mView->editFilters(); |
1991 | mView->editFilters(); | 1992 | break; |
1992 | else | 1993 | case Qt::Key_R: |
1993 | mView->toggleFilter(); | 1994 | mView->toggleFilter(); |
1994 | break; | 1995 | break; |
1995 | case Qt::Key_X: | 1996 | case Qt::Key_X: |
1996 | if ( e->state() == Qt::ControlButton ) | 1997 | if ( e->state() == Qt::ControlButton ) |
1997 | mView->toggleDateNavigatorWidget(); | 1998 | mView->toggleDateNavigatorWidget(); |
1998 | else { | 1999 | else { |
1999 | mView->viewManager()->showNextXView(); | 2000 | mView->viewManager()->showNextXView(); |
2000 | showSelectedDates = true; | 2001 | showSelectedDates = true; |
2001 | } | 2002 | } |
2002 | break; | 2003 | break; |
2003 | case Qt::Key_Space: | 2004 | case Qt::Key_Space: |
2004 | mView->toggleExpand(); | 2005 | mView->toggleExpand(); |
2005 | break; | 2006 | break; |
2006 | case Qt::Key_A: | 2007 | case Qt::Key_A: |
2007 | if ( e->state() == Qt::ControlButton || e->state() == Qt::ShiftButton ) | 2008 | if ( e->state() == Qt::ControlButton || e->state() == Qt::ShiftButton ) |
2008 | mView->showNextAlarms(); | 2009 | mView->showNextAlarms(); |
2009 | else | 2010 | else |
2010 | mView->toggleAllDaySize(); | 2011 | mView->toggleAllDaySize(); |
2011 | break; | 2012 | break; |
2012 | case Qt::Key_T: | 2013 | case Qt::Key_T: |
2013 | if ( e->state() == Qt::ControlButton|| e->state() == Qt::ShiftButton ) | 2014 | if ( e->state() == Qt::ControlButton|| e->state() == Qt::ShiftButton ) |
2014 | mView->newTodo(); | 2015 | mView->newTodo(); |
2015 | else { | 2016 | else { |
2016 | mView->goToday(); | 2017 | mView->goToday(); |
2017 | showSelectedDates = true; | 2018 | showSelectedDates = true; |