summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2005-01-27 07:29:29 (UTC)
committer zautrix <zautrix>2005-01-27 07:29:29 (UTC)
commitdb6adbdecaa74972df9e2b78b09f81b2d74752b2 (patch) (unidiff)
tree69af62cb8748e1071539a6bca034f1acec0a6954
parentf20b5e71f9ae61b18f0ced792508b40432ad50b6 (diff)
downloadkdepimpi-db6adbdecaa74972df9e2b78b09f81b2d74752b2.zip
kdepimpi-db6adbdecaa74972df9e2b78b09f81b2d74752b2.tar.gz
kdepimpi-db6adbdecaa74972df9e2b78b09f81b2d74752b2.tar.bz2
fixes
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--bin/kdepim/korganizer/featuresKOPI.txt3
-rw-r--r--bin/kdepim/korganizer/germantranslation.txt6
-rw-r--r--korganizer/koagendaview.cpp8
-rw-r--r--korganizer/koviewmanager.cpp6
-rw-r--r--korganizer/koviewmanager.h2
-rw-r--r--korganizer/mainwindow.cpp53
-rw-r--r--korganizer/mainwindow.h24
7 files changed, 56 insertions, 46 deletions
diff --git a/bin/kdepim/korganizer/featuresKOPI.txt b/bin/kdepim/korganizer/featuresKOPI.txt
index 7f4009c..ab6b224 100644
--- a/bin/kdepim/korganizer/featuresKOPI.txt
+++ b/bin/kdepim/korganizer/featuresKOPI.txt
@@ -10,199 +10,202 @@ A) General features
10 5) Addressbook access: 10 5) Addressbook access:
11 6) Quick editing: 11 6) Quick editing:
12 7) Fast navigation: 12 7) Fast navigation:
13 8) Printing: 13 8) Printing:
14 9) Configuration: 14 9) Configuration:
15 10) Language: 15 10) Language:
16 11) Alarm: 16 11) Alarm:
17 12) What'sThis Help: 17 12) What'sThis Help:
18 18
19B) Useful features, that are not straighforward to see 19B) Useful features, that are not straighforward to see
20 1) Right mouse click on Zaurus 20 1) Right mouse click on Zaurus
21 2) Moving of items in the agenda view 21 2) Moving of items in the agenda view
22 3) Creating exceptions for recurring events 22 3) Creating exceptions for recurring events
23 4) Accessing the week in agenda view from the Month view 23 4) Accessing the week in agenda view from the Month view
24 5) Navigation in month view 24 5) Navigation in month view
25 6) Navigation in agenda view 25 6) Navigation in agenda view
26 26
27 27
28****************************************************** 28******************************************************
29A) General features 29A) General features
30****************************************************** 30******************************************************
31Features of KO/Pi 1.9.12: 31Features of KO/Pi 1.9.12:
320) 320)
33Main features: 33Main features:
34KO/Pi makes synchronizing your data easy! 34KO/Pi makes synchronizing your data easy!
35Details in 1) and the sync HowTos. 35Details in 1) and the sync HowTos.
36With KO/Pi you can manage your events/todos/journals. 36With KO/Pi you can manage your events/todos/journals.
37Todos may have subtodos. 37Todos may have subtodos.
38A subtodo can be changed to a parent root todo. 38A subtodo can be changed to a parent root todo.
39A (sub)todo can be reparented to make it a subtodo of another todo. 39A (sub)todo can be reparented to make it a subtodo of another todo.
40KO/Pi has a monthview, a What's Next view, an event list view, a small and big todo-view and an agenda view to display 1-42 days. 40KO/Pi has a monthview, a What's Next view, an event list view, a small and big todo-view and an agenda view to display 1-42 days.
41KO/Pi is Qt-only based and runs on Sharp Zaurus PDA, Linux and Windows. 41KO/Pi is Qt-only based and runs on Sharp Zaurus PDA, Linux and Windows.
421) 421)
43Import - export - connection - syncing: 43Import - export - connection - syncing:
44KO/Pi on Windows can import calendar data easyly from Outlook directly via OLE. 44KO/Pi on Windows can import calendar data easyly from Outlook directly via OLE.
45 Recurring events with exceptions and attendee lists of meetings are imported properly. 45 Recurring events with exceptions and attendee lists of meetings are imported properly.
46KO/Pi can import/export ics and vcs files. 46KO/Pi can import/export ics and vcs files.
47KO/Pi can save/load ics backup files. 47KO/Pi can save/load ics backup files.
48KO/Pi can send ics and vcs files via infrared, with and without timezone settings.( Zaurus only ) 48KO/Pi can send ics and vcs files via infrared, with and without timezone settings.( Zaurus only )
49KO/Pi can receive files via infrared directly, after beam receive is enabled.( Zaurus only ) 49KO/Pi can receive files via infrared directly, after beam receive is enabled.( Zaurus only )
50 Via the search function you can send any number/selection of events/tasks/journal via infrared. 50 Via the search function you can send any number/selection of events/tasks/journal via infrared.
51Via the search function you can export and save any number/selection of events/tasks/journal to an ics file. 51Via the search function you can export and save any number/selection of events/tasks/journal to an ics file.
52Via the search function you can export and save any number/selection of journals and descriptions of events/todos to a plain text file. 52Via the search function you can export and save any number/selection of journals and descriptions of events/todos to a plain text file.
53KO/Pi can import xml calendar/todo data from Opie/old Qtopia environment. 53KO/Pi can import xml calendar/todo data from Opie/old Qtopia environment.
54KO/Pi can sync calendar/todo data with new Sharp Rom DTM model PIM applications, found on Zaurus 7x0/860 and Sharp Rom 3.1 (and above) for 5x00 series. 54KO/Pi can sync calendar/todo data with new Sharp Rom DTM model PIM applications, found on Zaurus 7x0/860 and Sharp Rom 3.1 (and above) for 5x00 series.
55(Hint: Rename /home/QtPalmtop/bin/datebook to e.g. /home/QtPalmtop/bin/datebookwech 55(Hint: Rename /home/QtPalmtop/bin/datebook to e.g. /home/QtPalmtop/bin/datebookwech
56to prevent alarm notification by the Sharp calendar app) 56to prevent alarm notification by the Sharp calendar app)
57KO/Pi can sync calendar/todo/journal data with any local ics file. 57KO/Pi can sync calendar/todo/journal data with any local ics file.
58In KO/Pi you can create a specific profile for each device to sync with. 58In KO/Pi you can create a specific profile for each device to sync with.
59 KO/Pi can automatically down/upload a remote ics file to a temp file via user specified system command (e.g. ssh/scp, ftp, ...) to sync with. 59 KO/Pi can automatically down/upload a remote ics file to a temp file via user specified system command (e.g. ssh/scp, ftp, ...) to sync with.
60 KO/Pi can ask you, if a conflict while syncing is detected and displays a detailed view of both events/todos. 60 KO/Pi can ask you, if a conflict while syncing is detected and displays a detailed view of both events/todos.
61 Multiple sync with many profiles at once is supported. Read "Multi Sync HowTo". 61 Multiple sync with many profiles at once is supported. Read "Multi Sync HowTo".
62 KO/Pi can sync after an easy and quick setup via network in the "Pi-Sync" mode with another running instance of KO/Pi with "Pi-Sync" enabled. 62 KO/Pi can sync after an easy and quick setup via network in the "Pi-Sync" mode with another running instance of KO/Pi with "Pi-Sync" enabled.
63 KO/Pi on Linux can sync with KDE calendar data. 63 KO/Pi on Linux can sync with KDE calendar data.
64 KO/Pi on the Zaurus can sync with KDE calendar data on desktop via Pi-Sync. Read "KDE-Sync HowTo". 64 KO/Pi on the Zaurus can sync with KDE calendar data on desktop via Pi-Sync. Read "KDE-Sync HowTo".
65 KO/Pi can sync and export data to mobile phones. Supported models are depending of the used lib, libgammu. 65 KO/Pi can sync and export data to mobile phones. Supported models are depending of the used lib, libgammu.
66 If KO/Pi detects that the saved file on disk has changed,(e.g. a remote sync from somewhere has happened), 66 If KO/Pi detects that the saved file on disk has changed,(e.g. a remote sync from somewhere has happened),
67 it asks you, if you want to overwrite the file or if you want to sync with the file. Such that no data is lost. 67 it asks you, if you want to overwrite the file or if you want to sync with the file. Such that no data is lost.
68KO/Pi can save/load templates for events/todos. 68KO/Pi can save/load templates for events/todos.
692) 692)
70Filter: 70Filter:
71You can define filters for displaying/not displaying specified categories. 71You can define filters for displaying/not displaying specified categories.
72Quick access to the first 20 filters via hotkeys 1-0 and <ctrl>1-0 72Quick access to the first 20 filters via hotkeys 1-0 and <ctrl>1-0
733) 733)
74Managing categories: 74Managing categories:
75After importing/loading/syncing there may be new categories in events or todos which are not in the category list. 75After importing/loading/syncing there may be new categories in events or todos which are not in the category list.
76 You can choose what to do with these categories: 76 You can choose what to do with these categories:
77 -Add to category list 77 -Add to category list
78 -Or remove them from events/todos 78 -Or remove them from events/todos
79In the list view/search dialog you can quickly assign categories to all selected items. 79In the list view/search dialog you can quickly assign categories to all selected items.
80 You can choose 80 You can choose
81 -to add a selection of categories to the list of categories 81 -to add a selection of categories to the list of categories
82 -to set a selection of categories as the new list of categories 82 -to set a selection of categories as the new list of categories
83You can specify a color to every categorie. 83You can specify a color to every categorie.
84 The events/tasks of this categorie are displayed with this color in the agenda view. 84 The events/tasks of this categorie are displayed with this color in the agenda view.
85 You can configure, if the events/tasks categorie color is shown in todo view/month view as well. 85 You can configure, if the events/tasks categorie color is shown in todo view/month view as well.
864) 864)
87Cancelling of items: 87Cancelling of items:
88You can cancel an event/todo without deleting them. 88You can cancel an event/todo without deleting them.
89The cancelled event/todo is then displayed stricked out. 89The cancelled event/todo is then displayed stricked out.
905) 905)
91Addressbook access: 91Addressbook access:
92You can access address entries stored in KA/Pi. 92You can access address entries stored in KA/Pi.
93You cam import birtdays from KA/Pi. 93You cam import birtdays from KA/Pi.
94In KA/Pi you can configure a new resource to get read-only acces to Opie addressbook data. 94In KA/Pi you can configure a new resource to get read-only acces to Opie addressbook data.
956) 956)
96Quick editing: 96Quick editing:
97You can quickly clone, move, cancel, beam events/todos. 97You can quickly clone, move, cancel, beam events/todos.
98When dragging a recurrent event in agenda view, this recurrence is automatically added to the list of recurrence exceptions and a non-recurring clone is created. 98When dragging a recurrent event in agenda view, this recurrence is automatically added to the list of recurrence exceptions and a non-recurring clone is created.
99If you click on a day number in month view, a new edit event dialog pops up. 99If you click on a day number in month view, a new edit event dialog pops up.
1007) 1007)
101Fast navigation: 101Fast navigation:
102There are many shortcuts for fast changing the view. Please refer to shortcut-key description. 102There are many shortcuts for fast changing the view. Please refer to shortcut-key description.
103If you click on the week number in month view, this week is shown in agenda view. 103If you click on the week number in month view, this week is shown in agenda view.
1048) 1048)
105Printing: 105Printing:
106On the desktop version, you can print out a vertical range of the agenda view "as you see it". 106On the desktop version, you can print out a vertical range of the agenda view "as you see it".
107And you can print on the desktop version a day view, three kinds of a week view and a month view. 107And you can print on the desktop version a day view, three kinds of a week view and a month view.
108You can print the todo list as well. 108You can print the todo list as well.
1099) 1099)
110Configuration: 110Configuration:
111There are many advanced configuration possibilities. 111There are many advanced configuration possibilities.
112You can configure for every item in the toolbar, whether it should be shown or not. 112You can configure for every item in the toolbar, whether it should be shown or not.
113There are two item sizes for toolbar icons available. (Useful for 5x00 user and small display). 113There are two item sizes for toolbar icons available. (Useful for 5x00 user and small display).
114You can configure the font/fontsize for every view. 114You can configure the font/fontsize for every view.
11510) 11510)
116Language: 116Language:
117KO/Pi is available in English, German, French and Italian. 117KO/Pi is available in English, German, French and Italian.
11811) 11811)
119Alarm: 119Alarm:
120For Zaurus there is an alarm applet available with additional timer functionality. 120For Zaurus there is an alarm applet available with additional timer functionality.
121This alarm applet will make the Zaurus wake up, if the device is in suspend mode. 121This alarm applet will make the Zaurus wake up, if the device is in suspend mode.
122On the desktop (e.g. Windows) you can enable in KO/Pi the internal alarm notification, 122On the desktop (e.g. Windows) you can enable in KO/Pi the internal alarm notification,
123such that you are informed about an alarm, if the program is running. 123such that you are informed about an alarm, if the program is running.
12412) 12412)
125What'sThis Help: 125What'sThis Help:
126To use the What'sThis Help, you have to enable the What'sThis icon in the toolbar. 126To use the What'sThis Help, you have to enable the What'sThis icon in the toolbar.
127(Choose menu: ME-Toolbar or Action-Configure Toolbar ). 127(Choose menu: ME-Toolbar or Action-Configure Toolbar ).
128(You have to restart to reload the changed toolbar config). 128(You have to restart to reload the changed toolbar config).
129Now click on the QWhat'sThis Icon 129Now click on the QWhat'sThis Icon
130in the top right corner of KO/Pi. 130in the top right corner of KO/Pi.
131Then click now after that on an item in the Agenda View or in the month view 131Then click now after that on an item in the Agenda View or in the month view
132you will get a detailed display of the items content. 132you will get a detailed display of the items content.
133 133
134 134
135 135
136****************************************************** 136******************************************************
137B) Useful features, that are not straighforward to see 137B) Useful features, that are not straighforward to see
138****************************************************** 138******************************************************
139 139
1401) Right mouse click on Zaurus 1401) Right mouse click on Zaurus
1412) Moving of items in the agenda view 1412) Moving of items in the agenda view
1423) Creating exceptions for recurring events 1423) Creating exceptions for recurring events
1434) Accessing the week in agenda view from the Month view 1434) Accessing the week in agenda view from the Month view
1445) Navigation in month view 1445) Navigation in month view
1456) Navigation in agenda view 1456) Navigation in agenda view
146 146
1471) 1471)
148Right mouse click on Zaurus: 148Right mouse click on Zaurus:
149In KO/Pi on the desktop a right mouse click will popup an menu on some items. 149In KO/Pi on the desktop a right mouse click will popup an menu on some items.
150On the Zaurus there can only the stylus be used. 150On the Zaurus there can only the stylus be used.
151To simulte a right mouse click with the stylus press is and hold it down 151To simulte a right mouse click with the stylus press is and hold it down
152for 1-2 seconds. If you release it then, a menu pops up, if there is 152for 1-2 seconds. If you release it then, a menu pops up, if there is
153a menu available for this particular item. 153a menu available for this particular item.
154On some places the menu pops up without releasing the stylus. 154On some places the menu pops up without releasing the stylus.
155That bevaviour is not a bug, it is caused by the the behaviour of the 155That bevaviour is not a bug, it is caused by the the behaviour of the
156single left click on the item. 156single left click on the item.
1572) 1572)
158Moving of items in the agenda view: 158Moving of items in the agenda view:
159In the aganda view you can move an item by clicking on it and holding 159In the aganda view you can move an item by clicking on it and holding
160the mouse down. 160the mouse down.
161You have to move the mouse some distance before the items actually 161You have to move the mouse some distance before the items actually
162starts to move. That is not abug, that is a feature to prevent 162starts to move. That is not abug, that is a feature to prevent
163you to make unwanted moves of the item when you click on it(and moving the 163you to make unwanted moves of the item when you click on it(and moving the
164mouse only a small distance with this click) 164mouse only a small distance with this click)
1653) 1653)
166Creating exceptions for recurring events: 166Creating exceptions for recurring events:
167To create an exception for a recurring event, 167To create an exception for a recurring event,
168move this event in the agenda view. 168move this event in the agenda view.
169This recurrence is automatically added to the list 169This recurrence is automatically added to the list
170of recurrence exceptions and a non-recurring clone is created. 170of recurrence exceptions and a non-recurring clone is created.
171To cancel a recurrence, create an exception by moving it 171To cancel a recurrence, create an exception by moving it
172and then move it back and cancel it. 172and then move it back and cancel it.
1734) 1734)
174Accessing the week in agenda view from the month view: 174Accessing the week in agenda view from the month view:
175In the month view there are on the left week numbers displayed. 175In the month view there are on the left week numbers displayed.
176Click on a week number to see this week in the agenda view. 176Click on a week number to see this week in the agenda view.
1775) 1775)
178Navigation in month view: 178Navigation in month view:
179If you select the month view with the icon in the toolbar, 179If you select the month view with the icon in the toolbar,
180the selected data range in the date navigator 180the selected data range in the date navigator
181is set automatically to the complete month. 181is set automatically to the complete month.
182(Click on month view and then the space bar to see the 182(Click on month view and then the space bar to see the
183selected data range in the date navigator). 183selected data range in the date navigator).
184If you select in the data navigator 184If you select in the data navigator
185(automatically by clicking on the month view or manually) 185(automatically by clicking on the month view or manually)
186a date range from the first of the month to the 186a date range from the first of the month to the
18728.-31. of the month (the 28.-31. is valid for every month!) 18728.-31. of the month (the 28.-31. is valid for every month!)
188then the (month-)navigation keys will select automatically the 188then the (month-)navigation keys will select automatically the
189complete next month as date range. 189complete next month as date range.
1906) 1906)
191Navigation in agenda view: 191Navigation in agenda view:
192If you select (as an example) 4 days in the date navigator 192If you select (as an example) 4 days in the date navigator
193the (week-) navigation key will select the same 4 days in the next week. 193the (week-) navigation key will select the same 4 days in the next week.
194If you want to get the next 4 days after the selected 4 days selected, 194If you want to get the next 4 days after the selected 4 days selected,
195you have to switch the navigation mode to "next days mode" 195you have to switch the navigation mode to "next days mode"
196by clicking on the next days icons. 196by clicking on the next days icons.
197Now the next days from today are selected, but after selecting 197Now the next days from today are selected, but after selecting
1984 days in the day navigator the (week-) navigation key 1984 days in the day navigator the (week-) navigation key
199will select the next 4 days. 199will select the next 4 days.
200The "next days mode" is turned off by clicking on the 200The "next days mode" is turned off by clicking on the
201week view, work week view or day view button. 201week view, work week view or day view button.
202The agenda view has "time labels" on the left, which displays the hours from 0-24.
203If you press the mouse on the timelabels and move it up/down you can
204increase/decrease the agenda size quickly.
202 205
203 206
204 207
205 208
206 209
207 210
208 211
diff --git a/bin/kdepim/korganizer/germantranslation.txt b/bin/kdepim/korganizer/germantranslation.txt
index 73940c6..35d2812 100644
--- a/bin/kdepim/korganizer/germantranslation.txt
+++ b/bin/kdepim/korganizer/germantranslation.txt
@@ -1,601 +1,597 @@
1{ "10 minutes","10 Minuten" }, 1{ "10 minutes","10 Minuten" },
2{ "10th","10." }, 2{ "10th","10." },
3{ "11th","11." }, 3{ "11th","11." },
4{ "12 pm Format","12 AM/PM Format" }, 4{ "12 pm Format","12 AM/PM Format" },
5{ "12th","12." }, 5{ "12th","12." },
6{ "13th","13." }, 6{ "13th","13." },
7{ "14th","14." }, 7{ "14th","14." },
8{ "15th","15." }, 8{ "15th","15." },
9{ "16th","16." }, 9{ "16th","16." },
10{ "17th","17." }, 10{ "17th","17." },
11{ "18th","18." }, 11{ "18th","18." },
12{ "19th","19." }, 12{ "19th","19." },
13{ "1 Day","1 Tag" }, 13{ "1 Day","1 Tag" },
14{ "1 h","1 Std" }, 14{ "1 h","1 Std" },
15{ "1 (high)","1 (hoch)" }, 15{ "1 (high)","1 (hoch)" },
16{ "5 (low)","5" }, 16{ "5 (low)","5" },
17{ "1st","1." }, 17{ "1st","1." },
18{ "20th","20." }, 18{ "20th","20." },
19{ "21st","21." }, 19{ "21st","21." },
20{ "22nd","22." }, 20{ "22nd","22." },
21{ "23rd","23." }, 21{ "23rd","23." },
22{ "24:00 Hour Format","24:00 Stunden Format" }, 22{ "24:00 Hour Format","24:00 Stunden Format" },
23{ "24th","24." }, 23{ "24th","24." },
24{ "25th","25." }, 24{ "25th","25." },
25{ "26th","26." }, 25{ "26th","26." },
26{ "27th","27." }, 26{ "27th","27." },
27{ "28th","28." }, 27{ "28th","28." },
28{ "29th","29." }, 28{ "29th","29." },
29{ "2nd","2." }, 29{ "2nd","2." },
30{ "30 minutes","30 Minuten" }, 30{ "30 minutes","30 Minuten" },
31{ "30th","30." }, 31{ "30th","30." },
32{ "31st","31." }, 32{ "31st","31." },
33{ "3rd","3." }, 33{ "3rd","3." },
34{ "4th","4." }, 34{ "4th","4." },
35{ "5 (lowest)","5 (Niedrigster)" }, 35{ "5 (lowest)","5 (Niedrigster)" },
36{ "5th","5." }, 36{ "5th","5." },
37{ "6th","6." }, 37{ "6th","6." },
38{ "7th","7." }, 38{ "7th","7." },
39{ "8th","8." }, 39{ "8th","8." },
40{ "9th","9." }, 40{ "9th","9." },
41{ "About...","Über..." }, 41{ "About...","Über..." },
42{ "&Accept","&Akzeptieren" }, 42{ "&Accept","&Akzeptieren" },
43{ "Accept","Akzeptieren" }, 43{ "Accept","Akzeptieren" },
44{ "Accept A&ll","A&lles Akzepieren" }, 44{ "Accept A&ll","A&lles Akzepieren" },
45{ "Access:","Zugriff:" }, 45{ "Access:","Zugriff:" },
46{ "A corresponding event is missing in your calendar!","Ein zugehöriger Termin fehlt in ihrem Kalender!" }, 46{ "A corresponding event is missing in your calendar!","Ein zugehöriger Termin fehlt in ihrem Kalender!" },
47{ "Actions","Aktionen" }, 47{ "Actions","Aktionen" },
48{ "Add Filter","Filter Hinzufügen" }, 48{ "Add Filter","Filter Hinzufügen" },
49{ "&Add","Hinzufügen" }, 49{ "&Add","Hinzufügen" },
50{ "Add","Hinzufügen" }, 50{ "Add","Hinzufügen" },
51{ "Additional email addresses:","Zusätzliche E-Mail Adressen:" }, 51{ "Additional email addresses:","Zusätzliche E-Mail Adressen:" },
52{ "Additional email address:","Zusätzliche E-Mail Adresse:" }, 52{ "Additional email address:","Zusätzliche E-Mail Adresse:" },
53{ "&Addressbook","&Adressbuch" }, 53{ "&Addressbook","&Adressbuch" },
54{ "Address &Book...","Adress&buch..." }, 54{ "Address &Book...","Adress&buch..." },
55{ "Agenda Size","Agende Größe" }, 55{ "Agenda Size","Agende Größe" },
56{ "Agenda Size:","Größe der Agenda:" }, 56{ "Agenda Size:","Größe der Agenda:" },
57{ "Agenda view:","Agenda Ansicht:" }, 57{ "Agenda view:","Agenda Ansicht:" },
58{ "Agenda view background color:","Hintergrund der Agenda Ansicht:" }, 58{ "Agenda view background color:","Hintergrund der Agenda Ansicht:" },
59{ "All attendees","Alle Teilnehmer" }, 59{ "All attendees","Alle Teilnehmer" },
60{ "AllDayAgenda Height:","Höhe Ganztages Agenda:" }, 60{ "AllDayAgenda Height:","Höhe Ganztages Agenda:" },
61{ "All day event","Ganztägig" }, 61{ "All day event","Ganztägig" },
62{ "Anonymous","Anonym" }, 62{ "Anonymous","Anonym" },
63{ "Apply","Anwenden" }, 63{ "Apply","Anwenden" },
64{ "Apr","Apr" }, 64{ "Apr","Apr" },
65{ "April","April" }, 65{ "April","April" },
66{"Ask for every entry on conflict","Frage bei Konflikten nach"}, 66{"Ask for every entry on conflict","Frage bei Konflikten nach"},
67{ "Ask for preferences before syncing","Vor dem Syncronisieren nachfragen" }, 67{ "Ask for preferences before syncing","Vor dem Syncronisieren nachfragen" },
68{ "Ask for quit when closing KO/Pi","Vor dem Beenden von KO/Pi nachfragen" }, 68{ "Ask for quit when closing KO/Pi","Vor dem Beenden von KO/Pi nachfragen" },
69{ "Attendees","Teilnehmer" }, 69{ "Attendees","Teilnehmer" },
70{ "Aug","Aug" }, 70{ "Aug","Aug" },
71{ "August","August" }, 71{ "August","August" },
72{ "Auto-Save","Automatisches Abspeichern" }, 72{ "Auto-Save","Automatisches Abspeichern" },
73{ "Auto save delay in minutes:","Verzög.autom.Speichern in Min" }, 73{ "Auto save delay in minutes:","Verzög.autom.Speichern in Min" },
74{ "Auto saving...","Automatische Sicherung..." }, 74{ "Auto saving...","Automatische Sicherung..." },
75{ "Begin on:","Starte mit:" }, 75{ "Begin on:","Starte mit:" },
76{ "Begins on: %1","Starte mit: %1" }, 76{ "Begins on: %1","Starte mit: %1" },
77{ "<b>From:</b> %1 <b>To:</b> %2","<b>Vom:</b> %1 <b>Zum:</b> %2" }, 77{ "<b>From:</b> %1 <b>To:</b> %2","<b>Vom:</b> %1 <b>Zum:</b> %2" },
78{ "Bigger","Größer" },
79{ "Biggest","Riesig" },
80{ "Big","Groß" },
81{ "<b>On:</b> %1","<b>Am:</b> %1" }, 78{ "<b>On:</b> %1","<b>Am:</b> %1" },
82{ "<b>On:</b> %1 <b>From:S</b> %2 <b>To:</b> %3","<b>Am:</b> %1 <b>Vom:S</b> %2 <b>Zum:</b> %3" }, 79{ "<b>On:</b> %1 <b>From:S</b> %2 <b>To:</b> %3","<b>Am:</b> %1 <b>Vom:S</b> %2 <b>Zum:</b> %3" },
83{ "<b>Original event:</b><p>","<b>Original Termin:</b><p>" }, 80{ "<b>Original event:</b><p>","<b>Original Termin:</b><p>" },
84{ " - both are modified after last sync"," - beide wurden nach der letzten Syncronisation verändert" }, 81{ " - both are modified after last sync"," - beide wurden nach der letzten Syncronisation verändert" },
85{ "Busy","Belegt" }, 82{ "Busy","Belegt" },
86{ "&Cancel","Abbre&chen" }, 83{ "&Cancel","Abbre&chen" },
87{ "Cancel","Abbrechen" }, 84{ "Cancel","Abbrechen" },
88{ "Cannot delete To-Do\nwhich has children.","Kann Todo nicht löschen,\n da noch Einträge vorhanden sind" }, 85{ "Cannot delete To-Do\nwhich has children.","Kann Todo nicht löschen,\n da noch Einträge vorhanden sind" },
89{ "Can't generate mail:\nNo event selected.","Kann e-Mail nicht erstellen:\nKein Termin ausgewählt." }, 86{ "Can't generate mail:\nNo event selected.","Kann e-Mail nicht erstellen:\nKein Termin ausgewählt." },
90{ "Categories...","Kategorien..." }, 87{ "Categories...","Kategorien..." },
91{ "Categories","Kategorien" }, 88{ "Categories","Kategorien" },
92{ "Category","Kategorie" }, 89{ "Category","Kategorie" },
93{ "Center View","Zentriere Ansicht" }, 90{ "Center View","Zentriere Ansicht" },
94{ "Change","Ändere" }, 91{ "Change","Ändere" },
95{ "Cinema","Kino" }, 92{ "Cinema","Kino" },
96{ "Click to add a new Todo","Hier klicken, um ein neues Todo anzulegen" }, 93{ "Click to add a new Todo","Hier klicken, um ein neues Todo anzulegen" },
97{ "Clone Item","Klone Eintrag" }, 94{ "Clone Item","Klone Eintrag" },
98{ "&Close","S&chließen" }, 95{ "&Close","S&chließen" },
99{ "Close","Schließen" }, 96{ "Close","Schließen" },
100{ "Close this dialog to abort deletion!","Zum Abbrechen des Löschvorganges Dialog schließen!" }, 97{ "Close this dialog to abort deletion!","Zum Abbrechen des Löschvorganges Dialog schließen!" },
101{ "Colors","Farben" }, 98{ "Colors","Farben" },
102{ "completed","erledigt" }, 99{ "completed","erledigt" },
103{ "completed on %1","erledigt am %1" }, 100{ "completed on %1","erledigt am %1" },
104{ "Complete","Erledigt" }, 101{ "Complete","Erledigt" },
105{ "Confidential","Vertraulich" }, 102{ "Confidential","Vertraulich" },
106{ "Configure...","Einstellungen..." }, 103{ "Configure...","Einstellungen..." },
107{ "Confirm &deletes","Löschvogang bestätigen" }, 104{ "Confirm &deletes","Löschvogang bestätigen" },
108{ "Couldn't load calendar\n '%1'.","Kann Kalender\n '%1' nicht laden." }, 105{ "Couldn't load calendar\n '%1'.","Kann Kalender\n '%1' nicht laden." },
109{ "Counter-event Viewer","Terminzähler Ansicht" }, 106{ "Counter-event Viewer","Terminzähler Ansicht" },
110{ "Daily ending hour:","Feierabend:" }, 107{ "Daily ending hour:","Feierabend:" },
111{ "Daily starting hour:","Anfangszeit:" }, 108{ "Daily starting hour:","Anfangszeit:" },
112{ "Daily","Täglich" }, 109{ "Daily","Täglich" },
113{ "Date Format","Datums Format" }, 110{ "Date Format","Datums Format" },
114{ "Date Format:","Datums Format:" }, 111{ "Date Format:","Datums Format:" },
115{ "DateNavigator:(nr)","Datums Navigator" }, 112{ "DateNavigator:(nr)","Datums Navigator" },
116{ "Dates: ","Datum: " }, 113{ "Dates: ","Datum: " },
117{ "Date && Time","Datum && Zeit" }, 114{ "Date && Time","Datum && Zeit" },
118{ "Day begins at:","Der Tag beginnt um:" }, 115{ "Day begins at:","Der Tag beginnt um:" },
119{ "Days in Next-X-Days:","Tage in Nächste-X-Tage:" }, 116{ "Days in Next-X-Days:","Tage in Nächste-X-Tage:" },
120{ "Days in What's Next:","Tage in What's Next:" }, 117{ "Days in What's Next:","Tage in What's Next:" },
121{ "day(s)","Tag(e)" }, 118{ "day(s)","Tag(e)" },
122{ "Days to show in Next-X-Days view:","Welche Tage in Nächste-X-Tagen anzeigen:" }, 119{ "Days to show in Next-X-Days view:","Welche Tage in Nächste-X-Tagen anzeigen:" },
123{ "day","Tag" }, 120{ "day","Tag" },
124{ "Dec","Dez" }, 121{ "Dec","Dez" },
125{ "December","Dezember" }, 122{ "December","Dezember" },
126{ "Default alarm time:","Standard Alarmzeit:" }, 123{ "Default alarm time:","Standard Alarmzeit:" },
127{ "Default appointment time:","Standard Termin Startzeit:" }, 124{ "Default appointment time:","Standard Termin Startzeit:" },
128{ "Default event color:","Standard Terminfarbe:" }, 125{ "Default event color:","Standard Terminfarbe:" },
129{ "Default","Standard" }, 126{ "Default","Standard" },
130{ "Def. duration of new app.:","Standard Termin Länge:" }, 127{ "Def. duration of new app.:","Standard Termin Länge:" },
131{ "Delete all completed To-Dos?","Alle bereits erledigten Todos löschen?" }, 128{ "Delete all completed To-Dos?","Alle bereits erledigten Todos löschen?" },
132{ "Delete All","Lösche alles" }, 129{ "Delete All","Lösche alles" },
133{ "Delete all selected","Lösche alle Selektierten" }, 130{ "Delete all selected","Lösche alle Selektierten" },
134{ "Delete Current","Aktuellen löschen" }, 131{ "Delete Current","Aktuellen löschen" },
135{ "Delete Event...","Lösche Termin..." }, 132{ "Delete Event...","Lösche Termin..." },
136{ "Delete Event","Lösche Termin" }, 133{ "Delete Event","Lösche Termin" },
137{ "&Delete","Löschen" }, 134{ "&Delete","Löschen" },
138{ "Delete...","Löschen..." }, 135{ "Delete...","Löschen..." },
139{ "Delete","Löschen" }, 136{ "Delete","Löschen" },
140{ "Delete Todo...","Lösche Todo..." }, 137{ "Delete Todo...","Lösche Todo..." },
141{ "Delete To-Do","Lösche Todo" }, 138{ "Delete To-Do","Lösche Todo" },
142{ "Deleting item %d ...","Lösche Eintrag %d..." }, 139{ "Deleting item %d ...","Lösche Eintrag %d..." },
143{ "Descriptions","Beschreibungen" }, 140{ "Descriptions","Beschreibungen" },
144{ "Deselect All","Deselektiere Alle" }, 141{ "Deselect All","Deselektiere Alle" },
145{ "Details","Details" }, 142{ "Details","Details" },
146{ "Dinner","Abendessen" }, 143{ "Dinner","Abendessen" },
147{ "Do you really want\nto close KO/Pi?","Möchten Sie wirklich\nKO/PI verlassen?" }, 144{ "Do you really want\nto close KO/Pi?","Möchten Sie wirklich\nKO/PI verlassen?" },
148{ "Due Date","Fällig am" }, 145{ "Due Date","Fällig am" },
149{ "Due: ","Fällig: "}, 146{ "Due: ","Fällig: "},
150{ "Due Time","Fällig um" }, 147{ "Due Time","Fällig um" },
151{ "Due:","Fällig:"}, 148{ "Due:","Fällig:"},
152{ "Duration: ","Dauer: " }, 149{ "Duration: ","Dauer: " },
153{ "Edit...","Bearbeite..." }, 150{ "Edit...","Bearbeite..." },
154{ "Edit","Bearbeite" }, 151{ "Edit","Bearbeite" },
155{ "Edit Event...","Bearbeite Termin..." }, 152{ "Edit Event...","Bearbeite Termin..." },
156{ "Edit Event","Bearbeite Termin" }, 153{ "Edit Event","Bearbeite Termin" },
157{ "Edit exceptions","Bearbeite Ausnahmen" }, 154{ "Edit exceptions","Bearbeite Ausnahmen" },
158{ "EditorBox:","Editor Fenster:" }, 155{ "EditorBox:","Editor Fenster:" },
159{ "Edit Recurrence Range","Bearbeite Wiederholung" }, 156{ "Edit Recurrence Range","Bearbeite Wiederholung" },
160{ "Edit Todo...","Berabeite Todo..." }, 157{ "Edit Todo...","Berabeite Todo..." },
161{ "Edit To-Do","Todo bearbeiten" }, 158{ "Edit To-Do","Todo bearbeiten" },
162{ "E&mail address:","E&mail Adresse:" }, 159{ "E&mail address:","E&mail Adresse:" },
163{ "(EmptyEmail)","(KeineEmail)" }, 160{ "(EmptyEmail)","(KeineEmail)" },
164{ "(EmptyName)","(KeinName)" }, 161{ "(EmptyName)","(KeinName)" },
165{ "Enable Recurrence","Wiederholender Termin" }, 162{ "Enable Recurrence","Wiederholender Termin" },
166{ "End after","Endet nach"}, 163{ "End after","Endet nach"},
167{ "End by:","Endet am"}, 164{ "End by:","Endet am"},
168{ "End Date","End Datum" }, 165{ "End Date","End Datum" },
169{ "End:","Ende:" }, 166{ "End:","Ende:" },
170{ "End Time","End Zeit" }, 167{ "End Time","End Zeit" },
171{ "English","Englisch" }, 168{ "English","Englisch" },
172{ "Event","Termin" }, 169{ "Event","Termin" },
173{ "Event list","Termin Liste" }, 170{ "Event list","Termin Liste" },
174{ "Events","Termine" }, 171{ "Events","Termine" },
175{ "Event Viewer:","Termin Übersicht:" }, 172{ "Event Viewer:","Termin Übersicht:" },
176{ "every","jede" }, 173{ "every","jede" },
177{ "Exceptions...","Ausnahmen..." }, 174{ "Exceptions...","Ausnahmen..." },
178{ "Exceptions","Ausnahmen" }, 175{ "Exceptions","Ausnahmen" },
179{ "Exclude holidays","Ohne freie Tage" }, 176{ "Exclude holidays","Ohne freie Tage" },
180{ "Exclude Saturdays","Ohne Samstage" }, 177{ "Exclude Saturdays","Ohne Samstage" },
181{ "Feb","Feb" }, 178{ "Feb","Feb" },
182{ "February","Februar" }, 179{ "February","Februar" },
183{ "&Find","Suche!" }, 180{ "&Find","Suche!" },
184{ "Fonts","Schriftart" }, 181{ "Fonts","Schriftart" },
185{ "Force take local entry always","Erzwinge:Nimm immer lokalen Eintrag" }, 182{ "Force take local entry always","Erzwinge:Nimm immer lokalen Eintrag" },
186{ "Force take remote entry always","Erzwinge:Nimm immer fernen Eintrag"}, 183{ "Force take remote entry always","Erzwinge:Nimm immer fernen Eintrag"},
187{ "Free","Frei" }, 184{ "Free","Frei" },
188{ "Friday","Freitag" }, 185{ "Friday","Freitag" },
189{ "Fri","Fr" }, 186{ "Fri","Fr" },
190{ "From:","Vom:" }, 187{ "From:","Vom:" },
191{ "Full &name:","Vor- und &Nachname:" }, 188{ "Full &name:","Vor- und &Nachname:" },
192{ "General","Allgemein" }, 189{ "General","Allgemein" },
193{ "German","Deutsch" }, 190{ "German","Deutsch" },
194{ "Gifts","Geschenke" }, 191{ "Gifts","Geschenke" },
195{ "Go to Today","Heute anzeigen" }, 192{ "Go to Today","Heute anzeigen" },
196{ "Help","Hilfe" }, 193{ "Help","Hilfe" },
197{ "Hide Dates","Daten ausblenden" }, 194{ "Hide Dates","Daten ausblenden" },
198{ "Highlight color:","Markierungen:" }, 195{ "Highlight color:","Markierungen:" },
199{ "Holiday color:","Freie Tage:" }, 196{ "Holiday color:","Freie Tage:" },
200{ "hour(s)","Stunde(n)" }, 197{ "hour(s)","Stunde(n)" },
201{ "In %1 days: ","In %1 Tagen: " }, 198{ "In %1 days: ","In %1 Tagen: " },
202{ "Incomplete Todo:","Unerledigte Aufgaben:" }, 199{ "Incomplete Todo:","Unerledigte Aufgaben:" },
203{ "Information","Information" }, 200{ "Information","Information" },
204{ "Invalid search expression,\ncannot perform ","Kann Suche nicht ausführen" }, 201{ "Invalid search expression,\ncannot perform ","Kann Suche nicht ausführen" },
205{ "Jan","Jan" }, 202{ "Jan","Jan" },
206{ "January","Januar" }, 203{ "January","Januar" },
207{ "JournalView:","Journal Ansicht:" }, 204{ "JournalView:","Journal Ansicht:" },
208{ "Journals","Journale" }, 205{ "Journals","Journale" },
209{ "Jul","Jul" }, 206{ "Jul","Jul" },
210{ "July","Juli" }, 207{ "July","Juli" },
211{ "Jump to date","Springe zum Datum" }, 208{ "Jump to date","Springe zum Datum" },
212{ "June","Juni" }, 209{ "June","Juni" },
213{ "Jun","Jun" }, 210{ "Jun","Jun" },
214{ "Key Bindings...","Tastenzuordnung..." }, 211{ "Key Bindings...","Tastenzuordnung..." },
215{ "Kids","Kinder" }, 212{ "Kids","Kinder" },
216{ "Known Problems...","Bekannte Probleme..." }, 213{ "Known Problems...","Bekannte Probleme..." },
217{ "KO/Pi Find ","KO/Pi Suchdialog " }, 214{ "KO/Pi Find ","KO/Pi Suchdialog " },
218{ "KO/Pi Find: ","KO/Pi Suchen: " }, 215{ "KO/Pi Find: ","KO/Pi Suchen: " },
219{ "KO/Pi is starting ... "," KO/Pi startet ... \n... Zeit für eine Kaffeepause ..." }, 216{ "KO/Pi is starting ... "," KO/Pi startet ... \n... Zeit für eine Kaffeepause ..." },
220{ "Language:(needs restart)","Sprache (Neustart!)" }, 217{ "Language:(needs restart)","Sprache (Neustart!)" },
221{ "Language:","Sprache" }, 218{ "Language:","Sprache" },
222{ "Large","Etwas mehr" }, 219{ "Large","Etwas mehr" },
223{ "List View:","Listenansicht:" }, 220{ "List View:","Listenansicht:" },
224{ "List View","Listenansicht" }, 221{ "List View","Listenansicht" },
225{ "Load/Save","Laden/Speichern" }, 222{ "Load/Save","Laden/Speichern" },
226{ "Load Template","Lade Vorlage" }, 223{ "Load Template","Lade Vorlage" },
227{ "Locale","Localisation" }, 224{ "Locale","Localisation" },
228{ "Local temp file:","Lokale temp. Datei:" }, 225{ "Local temp file:","Lokale temp. Datei:" },
229{ "Location: ","Ort: " }, 226{ "Location: ","Ort: " },
230{ "Location:","Ort:" }, 227{ "Location:","Ort:" },
231{ "Mail client","Mail Programm" }, 228{ "Mail client","Mail Programm" },
232{ "Mail Client","Mail Programm" }, 229{ "Mail Client","Mail Programm" },
233{ "March","März" }, 230{ "March","März" },
234{ "Mar","Mär" }, 231{ "Mar","Mär" },
235{ "May","Mai" }, 232{ "May","Mai" },
236{ "M. Bains line:","M. Bains Linie:" }, 233{ "M. Bains line:","M. Bains Linie:" },
237{ "Medium","Medium" }, 234{ "Medium","Medium" },
238{ "Method","Methode" }, 235{ "Method","Methode" },
239{ "minute(s)","Minute(n)" }, 236{ "minute(s)","Minute(n)" },
240{ "Monday","Montag" }, 237{ "Monday","Montag" },
241{ "Mon","Mo" }, 238{ "Mon","Mo" },
242{ "Monthly","Monatlich" }, 239{ "Monthly","Monatlich" },
243{ "Month not long enough","Monat ist nicht lang genug" }, 240{ "Month not long enough","Monat ist nicht lang genug" },
244{ "month(s)","Monat(e)" }, 241{ "month(s)","Monat(e)" },
245{ "Month view:","Monatsansicht:" }, 242{ "Month view:","Monatsansicht:" },
246{ "Month view uses category colors","Monatsansicht zeigt Kategorie Farben" }, 243{ "Month view uses category colors","Monatsansicht zeigt Kategorie Farben" },
247{ "Todo view uses category colors","To-Do Ansicht zeigt Kategorie Farben" }, 244{ "Todo view uses category colors","To-Do Ansicht zeigt Kategorie Farben" },
248{ "Move &Down","Nach unten verschieben" }, 245{ "Move &Down","Nach unten verschieben" },
249{ "Move &Up","Nach oben verschieben" }, 246{ "Move &Up","Nach oben verschieben" },
250{ "Name:","Name:" }, 247{ "Name:","Name:" },
251{ "Name","Name" }, 248{ "Name","Name" },
252{ "\nAre you sure you want\nto delete this event?","\nSind Sie sicher, dass Sie\nden Termin löschen möchten?" }, 249{ "\nAre you sure you want\nto delete this event?","\nSind Sie sicher, dass Sie\nden Termin löschen möchten?" },
253{ "%n Days","%n Tage" }, 250{ "%n Days","%n Tage" },
254{ "Never","Nie" }, 251{ "Never","Nie" },
255{ "New event...","Neuer Termin..." }, 252{ "New event...","Neuer Termin..." },
256{ "New event","Neuer Termin" }, 253{ "New event","Neuer Termin" },
257{ "New Event...","Neuer Termin..." }, 254{ "New Event...","Neuer Termin..." },
258{ "New Events/Todos should","Neue Termine/Todos sollten" }, 255{ "New Events/Todos should","Neue Termine/Todos sollten" },
259{ "&New","&Neu" }, 256{ "&New","&Neu" },
260{ "New","Neu", }, 257{ "New","Neu", },
261{ "New Sub-Todo...","Neues Sub-Todo..." }, 258{ "New Sub-Todo...","Neues Sub-Todo..." },
262{ "New Todo...","Neues Todo..." }, 259{ "New Todo...","Neues Todo..." },
263{ "Next Alarm: ","Nächster Alarm: ", }, 260{ "Next Alarm: ","Nächster Alarm: ", },
264{ "&Next Day","&Nächster Tag", }, 261{ "&Next Day","&Nächster Tag", },
265{ "Next days view uses full window","Nächste-X-Tage nutzt Vollbild" }, 262{ "Next days view uses full window","Nächste-X-Tage nutzt Vollbild" },
266{ "Next month","Nächster Monat" }, 263{ "Next month","Nächster Monat" },
267{ "&Next Week","&Nächste Woche" }, 264{ "&Next Week","&Nächste Woche" },
268{ "Next year","Nächstes Jahr" }, 265{ "Next year","Nächstes Jahr" },
269{ "Next Year","Nächstes Jahr" }, 266{ "Next Year","Nächstes Jahr" },
270{ "%n h","%n Std" }, 267{ "%n h","%n Std" },
271{ "No ending date","Kein End-Datum", }, 268{ "No ending date","Kein End-Datum", },
272{ "No event, nothing to do.","Kein Termin, nichts zu tun.", }, 269{ "No event, nothing to do.","Kein Termin, nichts zu tun.", },
273{ "No event selected.","Kein Termin selektiert" }, 270{ "No event selected.","Kein Termin selektiert" },
274{ "No","Nein" }, 271{ "No","Nein" },
275{ "No program set","Kein Programm ausgewählt", }, 272{ "No program set","Kein Programm ausgewählt", },
276{ "Normal","Normal" }, 273{ "Normal","Normal" },
277{ "[No selection]","Keine Selektion", }, 274{ "[No selection]","Keine Selektion", },
278{ "No sound set","Kein Sound ausgewählt", }, 275{ "No sound set","Kein Sound ausgewählt", },
279{ "no time ","keine Zeit ", }, 276{ "no time ","keine Zeit ", },
280{ "no time","keine Zeit", }, 277{ "no time","keine Zeit", },
281{ "No Time","Keine Zeit" }, 278{ "No Time","Keine Zeit" },
282{ "November","November" }, 279{ "November","November" },
283{ "Nov","Nov", }, 280{ "Nov","Nov", },
284{ "\nThis event recurs\nover multiple dates.\n","\nDieser Termin wiederholt sich an mehreren Tagen.\n" }, 281{ "\nThis event recurs\nover multiple dates.\n","\nDieser Termin wiederholt sich an mehreren Tagen.\n" },
285{ "occurrence(s)","Vorkommen" }, 282{ "occurrence(s)","Vorkommen" },
286{ "October","Oktober" }, 283{ "October","Oktober" },
287{ "Oct","Okt", }, 284{ "Oct","Okt", },
288{ "O-due!","Ü-fällig! " }, 285{ "O-due!","Ü-fällig! " },
289{ "&OK","&OK" }, 286{ "&OK","&OK" },
290{ "Ok+Show!","Ok+Anzeigen" }, 287{ "Ok+Show!","Ok+Anzeigen" },
291{ "Organizer: %1","Organisator %1" }, 288{ "Organizer: %1","Organisator %1" },
292{ "Organizer","Organisator" }, 289{ "Organizer","Organisator" },
293{ "Owner: ","Besitzer: " }, 290{ "Owner: ","Besitzer: " },
294{ "Owner:","Besitzer:" }, 291{ "Owner:","Besitzer:" },
295{ "<p><b>Priority:</b> %2</p>","<p><b>Priorität:</b> %2</p>" }, 292{ "<p><b>Priority:</b> %2</p>","<p><b>Priorität:</b> %2</p>" },
296{ "Pick a date to display","Wähle einen Tag zum anzeigen aus" }, 293{ "Pick a date to display","Wähle einen Tag zum anzeigen aus" },
297{ "Please specify a valid due date.","Bitte gültiges Fälligkeitsdatum angeben."}, 294{ "Please specify a valid due date.","Bitte gültiges Fälligkeitsdatum angeben."},
298{ "Please specify a valid end date, for example '%1'.","Bitte gültiges Enddatum angeben, z.B.'%1'." }, 295{ "Please specify a valid end date, for example '%1'.","Bitte gültiges Enddatum angeben, z.B.'%1'." },
299{ "Please specify a valid start date.","Bitte gültiges Startdatum angeben." }, 296{ "Please specify a valid start date.","Bitte gültiges Startdatum angeben." },
300{ "Please specify a valid start date, for example '%1'.","Bitte gültiges Startdatum angeben, z.B. '%1'." }, 297{ "Please specify a valid start date, for example '%1'.","Bitte gültiges Startdatum angeben, z.B. '%1'." },
301{ "Please specify a valid start time.","Bitte gültige Startzeit angeben."}, 298{ "Please specify a valid start time.","Bitte gültige Startzeit angeben."},
302{ "Please specify a valid start time, for example '%1'.","Bitte gültige Startzeit angeben, z.B. '%1'." }, 299{ "Please specify a valid start time, for example '%1'.","Bitte gültige Startzeit angeben, z.B. '%1'." },
303{ "Preferences - some settings need a restart (nr)","Einstellungen - teilweise Neustart erforderlich (bn)" }, 300{ "Preferences - some settings need a restart (nr)","Einstellungen - teilweise Neustart erforderlich (bn)" },
304{ "&Previous Day","Vorheriger Tag" }, 301{ "&Previous Day","Vorheriger Tag" },
305{ "Previous month","Vorheriger Monat" }, 302{ "Previous month","Vorheriger Monat" },
306{ "Previous Month","Vorheriger Monat" }, 303{ "Previous Month","Vorheriger Monat" },
307{ "&Previous Week","Vorherige Woche" }, 304{ "&Previous Week","Vorherige Woche" },
308{ "Previous year","Vorheriges Jahr" }, 305{ "Previous year","Vorheriges Jahr" },
309{ "Previous Year","Vorheriges Jahr" }, 306{ "Previous Year","Vorheriges Jahr" },
310{ "Printing","Drucken" }, 307{ "Printing","Drucken" },
311{ "Priority:","Priorität:" }, 308{ "Priority:","Priorität:" },
312{ "Private","Privat" }, 309{ "Private","Privat" },
313{ "Proceed","Weiter" }, 310{ "Proceed","Weiter" },
314{ "Public","Öffentlich" }, 311{ "Public","Öffentlich" },
315{ "Purge","Entferne" }, 312{ "Purge","Entferne" },
316{ "Purge Completed","Entferne erledigte ToDos" }, 313{ "Purge Completed","Entferne erledigte ToDos" },
317{ "Purge To-Dos","Todos bereinigen" }, 314{ "Purge To-Dos","Todos bereinigen" },
318{ "read-only","schreibgeschützt" }, 315{ "read-only","schreibgeschützt" },
319{ "Recur every","Wiederh. alle" }, 316{ "Recur every","Wiederh. alle" },
320{ "Recur in the month of","Wiederh. im Monat" }, 317{ "Recur in the month of","Wiederh. im Monat" },
321{ "Recur on the","Wiederh. am" }, 318{ "Recur on the","Wiederh. am" },
322{ "Recur on this day","Wiederh. am diesen Tag" }, 319{ "Recur on this day","Wiederh. am diesen Tag" },
323{ "Recurrence Range...","Wiederholungs Zeitraum..." }, 320{ "Recurrence Range...","Wiederholungs Zeitraum..." },
324{ "Recurrence Range","Wiederholungs Zeitraum" }, 321{ "Recurrence Range","Wiederholungs Zeitraum" },
325{ "Recurrence Rule","Wiederholungs Regel" }, 322{ "Recurrence Rule","Wiederholungs Regel" },
326{ "Recurrence","Wiederholung" }, 323{ "Recurrence","Wiederholung" },
327{ "Recurs","Wiederholung" }, 324{ "Recurs","Wiederholung" },
328{"&Reject","Abweisen"}, 325{"&Reject","Abweisen"},
329{ "Reminder:","Alarm:" }, 326{ "Reminder:","Alarm:" },
330{ "Rem.:","Alarm:" }, 327{ "Rem.:","Alarm:" },
331{ "Rem.","Alarm:" }, 328{ "Rem.","Alarm:" },
332{ "Remote file:","Remote Datei:"}, 329{ "Remote file:","Remote Datei:"},
333{ "Remote IP:","Remote (ferne) IP:" }, 330{ "Remote IP:","Remote (ferne) IP:" },
334{ "Remote syncing (via ssh/scp) network settings ","Remote Sync (via ssh/scp) Netzwerk Einstellungen " }, 331{ "Remote syncing (via ssh/scp) network settings ","Remote Sync (via ssh/scp) Netzwerk Einstellungen " },
335{ "Remote user:","Remote Benutzer"}, 332{ "Remote user:","Remote Benutzer"},
336{ "&Remove","Entfe&rnen" }, 333{ "&Remove","Entfe&rnen" },
337{ "Remove","Entfernen" }, 334{ "Remove","Entfernen" },
338{ "Request response","Bemerkung anfordern" }, 335{ "Request response","Bemerkung anfordern" },
339{ "Role:","Rolle:" }, 336{ "Role:","Rolle:" },
340{ "Role","Rolle" }, 337{ "Role","Rolle" },
341{ "Sat","Sa" }, 338{ "Sat","Sa" },
342{ "Saturday","Samstag" }, 339{ "Saturday","Samstag" },
343{ "Search for:","Suche nach:" }, 340{ "Search for:","Suche nach:" },
344{ "Search In","Suche in" }, 341{ "Search In","Suche in" },
345{ "Search...","Suche..." }, 342{ "Search...","Suche..." },
346{ "Search","Suche" }, 343{ "Search","Suche" },
347{ "Select Addresses","Wähle Adressen" }, 344{ "Select Addresses","Wähle Adressen" },
348{ "Select all","Selektiere Alle" }, 345{ "Select all","Selektiere Alle" },
349{ "Select a month","Wähle Monat" }, 346{ "Select a month","Wähle Monat" },
350{ "Select a week","Wähle Woche" }, 347{ "Select a week","Wähle Woche" },
351{ "Select a year","Wähle Jahr" }, 348{ "Select a year","Wähle Jahr" },
352{ "Send directly","Sende direkt" }, 349{ "Send directly","Sende direkt" },
353{ "&Send Messages","&Sende Nachrichten", }, 350{ "&Send Messages","&Sende Nachrichten", },
354{ "Sep","Sep" }, 351{ "Sep","Sep" },
355{ "September","September" }, 352{ "September","September" },
356{ "Shopping","Einkaufen" }, 353{ "Shopping","Einkaufen" },
357{ "Use short date in (WN/E) view","Kurzdatum in (WN/Termin) Ansicht" }, 354{ "Use short date in (WN/E) view","Kurzdatum in (WN/Termin) Ansicht" },
358{ "Show Dates","Zeige Daten" }, 355{ "Show Dates","Zeige Daten" },
359{ "Show events that recur daily in date nav.","Zeige tägl.wiederh.Term.in Datums Nav." }, 356{ "Show events that recur daily in date nav.","Zeige tägl.wiederh.Term.in Datums Nav." },
360{ "Show Event...","Zeige Termin..." }, 357{ "Show Event...","Zeige Termin..." },
361{ "Show ev. that recur weekly in date nav.","Zeige wöch.wiederh.Term.in Datums Nav." }, 358{ "Show ev. that recur weekly in date nav.","Zeige wöch.wiederh.Term.in Datums Nav." },
362{ "Show Marcus Bains line","Zeige Marcus Bains Linie" }, 359{ "Show Marcus Bains line","Zeige Marcus Bains Linie" },
363{ "Show summary after syncing","Zeige Zusammenfassung nach Sync." }, 360{ "Show summary after syncing","Zeige Zusammenfassung nach Sync." },
364{ "Show time as:","Zeige Zeit als" }, 361{ "Show time as:","Zeige Zeit als" },
365{ "Show Todo...","Zeige To-Do" }, 362{ "Show Todo...","Zeige To-Do" },
366{ "Show topmost todo prios in What's N.:","Anz. höchster Prios in What's N.:"}, 363{ "Show topmost todo prios in What's N.:","Anz. höchster Prios in What's N.:"},
367{ "Show topmost todo prios in What's Next:","Anz. höchster Prios in What's Next:"}, 364{ "Show topmost todo prios in What's Next:","Anz. höchster Prios in What's Next:"},
368{ "Show vertical screen (Needs restart)","Vertikaler Bildschirm-Layout (Neustart!)" }, 365{ "Show vertical screen (Needs restart)","Vertikaler Bildschirm-Layout (Neustart!)" },
369{ "&Show","Zeige" }, 366{ "&Show","Zeige" },
370{ "Show...","Zeige..." }, 367{ "Show...","Zeige..." },
371{ "Show","Zeige" }, 368{ "Show","Zeige" },
372{ "Small","Klein" }, 369{ "Small","Klein" },
373{ "Sorry","Entschuldigung" }, 370{ "Sorry","Entschuldigung" },
374{"Sorry, the copy command failed!\nCommand was:\n","Der Kopierbefehl schlug fehl!\nBefehl war:\n"}, 371{"Sorry, the copy command failed!\nCommand was:\n","Der Kopierbefehl schlug fehl!\nBefehl war:\n"},
375{ "Start:","Start:" }, 372{ "Start:","Start:" },
376{ "Start Date","Start Datum" }, 373{ "Start Date","Start Datum" },
377{ "Start date: %1","Start Datum: %1" }, 374{ "Start date: %1","Start Datum: %1" },
378{ "Start Time","Start Zeit" }, 375{ "Start Time","Start Zeit" },
379{ "Status:","Status:" }, 376{ "Status:","Status:" },
380{ "Status","Status:" }, 377{ "Status","Status:" },
381{ "Summaries","Titel" }, 378{ "Summaries","Titel" },
382{ "Summary:","Titel:" }, 379{ "Summary:","Titel:" },
383{ "Summary","Titel" }, 380{ "Summary","Titel" },
384{ "Sunday","Sonntag" }, 381{ "Sunday","Sonntag" },
385{ "Sun","So" }, 382{ "Sun","So" },
386{ "Sync preferences:","Sync Einstellungen" }, 383{ "Sync preferences:","Sync Einstellungen" },
387{ "Sync Prefs","Sync Einstellungen" }, 384{ "Sync Prefs","Sync Einstellungen" },
388{ "Syncronize","Daten abgleich" }, 385{ "Syncronize","Daten abgleich" },
389{ "Take local entry on conflict","Nimm lokalen Eintrag beim Konflikt" }, 386{ "Take local entry on conflict","Nimm lokalen Eintrag beim Konflikt" },
390{ "Take newest entry on conflict","Nimm neuesten Eintrag beim Konflikt" }, 387{ "Take newest entry on conflict","Nimm neuesten Eintrag beim Konflikt" },
391{ "Take remote entry on conflict","Nimm fernen Eintrag beim Konflikt" }, 388{ "Take remote entry on conflict","Nimm fernen Eintrag beim Konflikt" },
392{ "Template '%1' does not contain a valid Todo.","Template '%1' enthält kein gültiges To-Do" }, 389{ "Template '%1' does not contain a valid Todo.","Template '%1' enthält kein gültiges To-Do" },
393{ "Template does not contain a valid Event.","Template '%1' enthält keinen gültigen Termin" }, 390{ "Template does not contain a valid Event.","Template '%1' enthält keinen gültigen Termin" },
394{ "Template...","Vorlage..." }, 391{ "Template...","Vorlage..." },
395{ "This day","Dieser Tag" }, 392{ "This day","Dieser Tag" },
396{ "This is an experimental feature. ","Dieses Feature ist experimentel" }, 393{ "This is an experimental feature. ","Dieses Feature ist experimentel" },
397{ "This item will be\npermanently deleted.","Dieser Eintrag wird\nkomplett gelöscht." }, 394{ "This item will be\npermanently deleted.","Dieser Eintrag wird\nkomplett gelöscht." },
398{ "This item will be permanently deleted.", "Dieser Eintrag wird komplett gelöscht." }, 395{ "This item will be permanently deleted.", "Dieser Eintrag wird komplett gelöscht." },
399{ "Thu","Do" }, 396{ "Thu","Do" },
400{ "Thursday","Donnerstag" }, 397{ "Thursday","Donnerstag" },
401{ "Time associated","Mit Zeit" }, 398{ "Time associated","Mit Zeit" },
402{ "Time bar:","Uhrzeit Zeile:" }, 399{ "Time bar:","Uhrzeit Zeile:" },
403{ "Time && Date","Zeit und Datum" }, 400{ "Time && Date","Zeit und Datum" },
404{ "Time Format","Zeit Format" }, 401{ "Time Format","Zeit Format" },
405{ "Time Format(nr):","Zeit Format(Neustart!)" }, 402{ "Time Format(nr):","Zeit Format(Neustart!)" },
406{ "Date Labels:","Datumsleiste:" }, 403{ "Date Labels:","Datumsleiste:" },
407{ "Time: ","Zeit: " }, 404{ "Time: ","Zeit: " },
408{ "Timezone:","Zeitzone:" }, 405{ "Timezone:","Zeitzone:" },
409{ "Tiny","Sehr klein" },
410{ "To: ","Bis: " }, 406{ "To: ","Bis: " },
411{ "To:","Bis:" }, 407{ "To:","Bis:" },
412{ "Today: ","Heute: " }, 408{ "Today: ","Heute: " },
413{ "Todo due today color:","Heute fällige To-Do's" }, 409{ "Todo due today color:","Heute fällige To-Do's" },
414{ "To-do items:","To-Do items:" }, 410{ "To-do items:","To-Do items:" },
415{ "Todo overdue color:","Überfällige To-Do's" }, 411{ "Todo overdue color:","Überfällige To-Do's" },
416{ "Todo","Todo" }, 412{ "Todo","Todo" },
417{ "To-do view shows completed Todos","To-do Ansicht zeigt erledigte To-dos" }, 413{ "To-do view shows completed Todos","To-do Ansicht zeigt erledigte To-dos" },
418{ "ToDoView:","Todo Ansicht:" }, 414{ "ToDoView:","Todo Ansicht:" },
419{ "Toggle Alarm","Wechsle Alarm" }, 415{ "Toggle Alarm","Wechsle Alarm" },
420{ "Toggle Allday","Umschalten Ganztag" }, 416{ "Toggle Allday","Umschalten Ganztag" },
421{ "Tomorrow: ","Morgen: " }, 417{ "Tomorrow: ","Morgen: " },
422{ "Tue","Di" }, 418{ "Tue","Di" },
423{ "Tuesday","Dienstag" }, 419{ "Tuesday","Dienstag" },
424{ "Two entries are in conflict, if: ","Zwei Einträge haben einen Konflikt, wenn:" }, 420{ "Two entries are in conflict, if: ","Zwei Einträge haben einen Konflikt, wenn:" },
425{ "Unable to find template '%1'.","Kann Vorlage '%1' nicht finden." }, 421{ "Unable to find template '%1'.","Kann Vorlage '%1' nicht finden." },
426{ "Unknown","Unbekannt" }, 422{ "Unknown","Unbekannt" },
427{ "Up","Hinauf" }, 423{ "Up","Hinauf" },
428{ "Use password (if not, ask when syncing)","Passwort: (sonst jedesmal anfragen)" }, 424{ "Use password (if not, ask when syncing)","Passwort: (sonst jedesmal anfragen)" },
429{ "User defined","Benutzerdefiniert" }, 425{ "User defined","Benutzerdefiniert" },
430{ "User long date:","Format langes Datum:" }, 426{ "User long date:","Format langes Datum:" },
431{ "User short date:","Forma kurzes Datum:" }, 427{ "User short date:","Forma kurzes Datum:" },
432{ "View","Ansicht" }, 428{ "View","Ansicht" },
433{ "View Fonts","Schriftarten Ansichten" }, 429{ "View Fonts","Schriftarten Ansichten" },
434{ "Views","Ansichten" }, 430{ "Views","Ansichten" },
435{ "Wed","Mi" }, 431{ "Wed","Mi" },
436{ "Wednesday","Mittwoch" }, 432{ "Wednesday","Mittwoch" },
437{ "Week %1","Woche %1" }, 433{ "Week %1","Woche %1" },
438{ "Weekly","Wöchentlich" }, 434{ "Weekly","Wöchentlich" },
439{ "Week starts on Sunday","Woche beginnt Sonntags" }, 435{ "Week starts on Sunday","Woche beginnt Sonntags" },
440{ "What's Next View:","What's Next Anz." }, 436{ "What's Next View:","What's Next Anz." },
441{ "What's next ?","Was kommt als nächstes?(What's Next)" }, 437{ "What's next ?","Was kommt als nächstes?(What's Next)" },
442{ "Working Hours","Tägliche Arbeitszeit" }, 438{ "Working Hours","Tägliche Arbeitszeit" },
443{ "Working hours color:","Arbeitszeit in der Agenda Ansicht:" }, 439{ "Working hours color:","Arbeitszeit in der Agenda Ansicht:" },
444{ "Write back existing entries only","Nur exisitierende Einträge zurückschreiben" }, 440{ "Write back existing entries only","Nur exisitierende Einträge zurückschreiben" },
445{ "Write back synced file","Syncronisierte Datei zurückschreiben" }, 441{ "Write back synced file","Syncronisierte Datei zurückschreiben" },
446{ "Yearly","Jährlich" }, 442{ "Yearly","Jährlich" },
447{ "year(s)","Jahr(e)" }, 443{ "year(s)","Jahr(e)" },
448{ "Yes","Ja" }, 444{ "Yes","Ja" },
449{ "You have %d item(s) selected.\n","Sie haben %d Einträge ausgewählt.\n" }, 445{ "You have %d item(s) selected.\n","Sie haben %d Einträge ausgewählt.\n" },
450{ "You have to restart KOrganizer for this setting to take effect.","Sie müssem Korganizer neu starten, damit diese Einstellung aktiviert wird." }, 446{ "You have to restart KOrganizer for this setting to take effect.","Sie müssem Korganizer neu starten, damit diese Einstellung aktiviert wird." },
451{ "week(s) on:","Woche(n) am: " }, 447{ "week(s) on:","Woche(n) am: " },
452{ "Full menu bar(nr)","Volle Menuleiste(bn)" }, 448{ "Full menu bar(nr)","Volle Menuleiste(bn)" },
453{ "Timezone has daylight saving","Zeitzone hat Sommerzeit" }, 449{ "Timezone has daylight saving","Zeitzone hat Sommerzeit" },
454{ "Actual start and end is the\nsunday before this date.","Tatsächlicher Beginn/Ende ist der\nSonntag vor diesem Datum!" }, 450{ "Actual start and end is the\nsunday before this date.","Tatsächlicher Beginn/Ende ist der\nSonntag vor diesem Datum!" },
455{ "The year in the date is ignored.","Das Jahr vom Datum wird ignoriert." }, 451{ "The year in the date is ignored.","Das Jahr vom Datum wird ignoriert." },
456{ "Daylight start:","Sommerzeit Beginn:" }, 452{ "Daylight start:","Sommerzeit Beginn:" },
457{ "Daylight end:","Sommerzeit Ende:" }, 453{ "Daylight end:","Sommerzeit Ende:" },
458{ "Time Zone","Zeitzone" }, 454{ "Time Zone","Zeitzone" },
459{ "Monday 19 April 2004: %A %d %B %Y","Montag 19 April 2004: %A %d %B %Y" }, 455{ "Monday 19 April 2004: %A %d %B %Y","Montag 19 April 2004: %A %d %B %Y" },
460{ "%A: Monday --- %a: Mon","%A: Montag --- %a: Mon" }, 456{ "%A: Monday --- %a: Mon","%A: Montag --- %a: Mon" },
461{ "minutely","minütlich" }, 457{ "minutely","minütlich" },
462{ "hourly","stündlich" }, 458{ "hourly","stündlich" },
463{ "daily","täglich" }, 459{ "daily","täglich" },
464{ "weekly","wöchentlich" }, 460{ "weekly","wöchentlich" },
465{ "monthly","monatlich" }, 461{ "monthly","monatlich" },
466{ "day-monthly","tag-monatlich" }, 462{ "day-monthly","tag-monatlich" },
467{ "month-yearly","monat-jährlich" }, 463{ "month-yearly","monat-jährlich" },
468{ "day-yearly","tag-jährlich" }, 464{ "day-yearly","tag-jährlich" },
469{ "position-yearly","pos-jährlich" }, 465{ "position-yearly","pos-jährlich" },
470{ "Edit item on doubleclick (if not, show)","Editiere mit Doppelklick(wenn nicht, zeige)" }, 466{ "Edit item on doubleclick (if not, show)","Editiere mit Doppelklick(wenn nicht, zeige)" },
471{ "Highlight current day in agenda","Hebe >>heute<< in Agenda hervor" }, 467{ "Highlight current day in agenda","Hebe >>heute<< in Agenda hervor" },
472{ "Use light color for highlight current day","Helle Farbe für >>heute<< Hervorhebung" }, 468{ "Use light color for highlight current day","Helle Farbe für >>heute<< Hervorhebung" },
473{ "Highlight selection in Time Edit","Hebe Auswahl in Zeit Edit hervor" }, 469{ "Highlight selection in Time Edit","Hebe Auswahl in Zeit Edit hervor" },
474{ "Hold fullscreen on view change","Behalte Vollbild bei Ansichswechsel" }, 470{ "Hold fullscreen on view change","Behalte Vollbild bei Ansichswechsel" },
475{ "Hold non-fullscreen on view change","Behalte Nicht-Vollbild bei Ansichtsw." }, 471{ "Hold non-fullscreen on view change","Behalte Nicht-Vollbild bei Ansichtsw." },
476{ "Event list view uses full window","Listenansicht nutzt Vollbild" }, 472{ "Event list view uses full window","Listenansicht nutzt Vollbild" },
477{ "Set agenda to DayBeginsAt on change","Setze Agenda auf TagBeginntUm bei Wechsel" }, 473{ "Set agenda to DayBeginsAt on change","Setze Agenda auf TagBeginntUm bei Wechsel" },
478{ "Set agenda to current time on change","Setze Agenda auf gegenw.Zeit bei Wechsel" }, 474{ "Set agenda to current time on change","Setze Agenda auf gegenw.Zeit bei Wechsel" },
479{ "Listview uses monthly timespan","Listenansicht zeigt monatliche Zeitspanne" }, 475{ "Listview uses monthly timespan","Listenansicht zeigt monatliche Zeitspanne" },
480{ "ViewChange","Ansichtswechsel" }, 476{ "ViewChange","Ansichtswechsel" },
481{ "Default alarm *.wav file:","Standard Alarm *.wav Datei:" }, 477{ "Default alarm *.wav file:","Standard Alarm *.wav Datei:" },
482{ "This setting is useless for 5500 user!","Diese Einst. ist nutzlos für 5500 Nutzer" }, 478{ "This setting is useless for 5500 user!","Diese Einst. ist nutzlos für 5500 Nutzer" },
483{ "File","Datei" }, 479{ "File","Datei" },
484{ "Clone...","Dupliziere.." }, 480{ "Clone...","Dupliziere.." },
485{ "Move...","Bewege..." }, 481{ "Move...","Bewege..." },
486{ "Beam...","Sende via IR..." }, 482{ "Beam...","Sende via IR..." },
487{ "&Clone...","Dupliziere.." }, 483{ "&Clone...","Dupliziere.." },
488{ "&Move...","Bewege..." }, 484{ "&Move...","Bewege..." },
489{ "&Beam...","Sende via IR..." }, 485{ "&Beam...","Sende via IR..." },
490{ "Show Completed","Zeige erledigte Todos" }, 486{ "Show Completed","Zeige erledigte Todos" },
491{ "Show Quick Todo","Zeige Quick Todo" }, 487{ "Show Quick Todo","Zeige Quick Todo" },
492{ "Unparent Todo","Un-sub Todo" }, 488{ "Unparent Todo","Un-sub Todo" },
493{ "Save selected to file...","Speichere Selektierte..." }, 489{ "Save selected to file...","Speichere Selektierte..." },
494{ "Add Categ. to selected...","Füge zu Selekt. Kateg. hinzu..." }, 490{ "Add Categ. to selected...","Füge zu Selekt. Kateg. hinzu..." },
495{ "Set Categ. for selected...","Setze Kateg. für Selekt." }, 491{ "Set Categ. for selected...","Setze Kateg. für Selekt." },
496{ "Beam selected via IR","Sende Selekt. via IR..." }, 492{ "Beam selected via IR","Sende Selekt. via IR..." },
497{ "Search","Suchen" }, 493{ "Search","Suchen" },
498{ "Date Picker","Datum auswählen" }, 494{ "Date Picker","Datum auswählen" },
499{ "Day View","Tagesansicht" }, 495{ "Day View","Tagesansicht" },
500{ "Work Week","Arbeitswoche" }, 496{ "Work Week","Arbeitswoche" },
501{ "Week","Wochenansicht" }, 497{ "Week","Wochenansicht" },
502{ "Month","Monatsansicht" }, 498{ "Month","Monatsansicht" },
503{ "Todo View","Todo Liste" }, 499{ "Todo View","Todo Liste" },
504{ "Journal","Journal Ansicht" }, 500{ "Journal","Journal Ansicht" },
505{ "Next days","Nächste Tage" }, 501{ "Next days","Nächste Tage" },
506{ "Print agenda selection...","Drucke Agendaselektion..." }, 502{ "Print agenda selection...","Drucke Agendaselektion..." },
507{ "Toggle DateNavigator","Navigator umschalten" }, 503{ "Toggle DateNavigator","Navigator umschalten" },
508{ "Toggle FilterView","Filteransicht umschalten" }, 504{ "Toggle FilterView","Filteransicht umschalten" },
509{ "Prev. month","Vorheriger Monat" }, 505{ "Prev. month","Vorheriger Monat" },
510{ "Go backward","Gehe zurück" }, 506{ "Go backward","Gehe zurück" },
511{ "Go forward","Gehe weiter" }, 507{ "Go forward","Gehe weiter" },
512{ "Synchronize","Synchronisieren" }, 508{ "Synchronize","Synchronisieren" },
513{ "AgendaSize","Agendagröße" }, 509{ "AgendaSize","Agendagröße" },
514{ "Import (*.ics/*.vcs) file","Importiere (*.ics/*.vcs) Datei" }, 510{ "Import (*.ics/*.vcs) file","Importiere (*.ics/*.vcs) Datei" },
515{ "Import last file","Importiere letzte Datei" }, 511{ "Import last file","Importiere letzte Datei" },
516{ "Import Opie/Qtopia Cal.","Importiere Opie/Qtopia Kal." }, 512{ "Import Opie/Qtopia Cal.","Importiere Opie/Qtopia Kal." },
517{ "Load Calendar Backup","Lade Kalender Backup" }, 513{ "Load Calendar Backup","Lade Kalender Backup" },
518{ "Save Calendar Backup","Speichere Kalender Backup" }, 514{ "Save Calendar Backup","Speichere Kalender Backup" },
519{ "Export VCalendar","Exportiere VCalendar" }, 515{ "Export VCalendar","Exportiere VCalendar" },
520{ "Manage new categories...","Verwalte neue Kategorien..." }, 516{ "Manage new categories...","Verwalte neue Kategorien..." },
521{ "Beam complete calendar...","Sende kompletten Kalender via IR" }, 517{ "Beam complete calendar...","Sende kompletten Kalender via IR" },
522{ "Beam filtered calendar...","Sende gefilterten Kalender via IR" }, 518{ "Beam filtered calendar...","Sende gefilterten Kalender via IR" },
523{ "Remote via ssh","Über Netzwerk via ssh" }, 519{ "Remote via ssh","Über Netzwerk via ssh" },
524{ "With local file","Mit lokaler Datei" }, 520{ "With local file","Mit lokaler Datei" },
525{ "With last file","Mit letzter Datei" }, 521{ "With last file","Mit letzter Datei" },
526{ "KO/Pi: Ready for beaming","KO/Pi: Bereit zum Senden" }, 522{ "KO/Pi: Ready for beaming","KO/Pi: Bereit zum Senden" },
527{ "KO/Pi:Beaming done","KO/Pi: Senden erfolgt" }, 523{ "KO/Pi:Beaming done","KO/Pi: Senden erfolgt" },
528{ "Save filename","Speichern: Dateinamen wählen" }, 524{ "Save filename","Speichern: Dateinamen wählen" },
529{ "File already exists!\nOld file from:\n%1\nOverwrite?\n","Dateiname existiert bereits!\nAlte Datei vom:\n%1\nÜberschreiben?\n" }, 525{ "File already exists!\nOld file from:\n%1\nOverwrite?\n","Dateiname existiert bereits!\nAlte Datei vom:\n%1\nÜberschreiben?\n" },
530{ "KO/Pi: Warning!","KO/Pi: Warnung!" }, 526{ "KO/Pi: Warning!","KO/Pi: Warnung!" },
531{ "Overwrite!","Überschreibe!" }, 527{ "Overwrite!","Überschreibe!" },
532{ "KO/Pi:Saved %1","KO/Pi:Gespeichert %1" }, 528{ "KO/Pi:Saved %1","KO/Pi:Gespeichert %1" },
533{ "All selected items will be\npermanently deleted.\n(Deleting items will take\nsome time on a PDA)\n","Alle selektierten Einträge werden\nunwiederbringlich gelöscht.\n(Löschen kann auf dem\nPDA einige Zeit dauern)\n" }, 529{ "All selected items will be\npermanently deleted.\n(Deleting items will take\nsome time on a PDA)\n","Alle selektierten Einträge werden\nunwiederbringlich gelöscht.\n(Löschen kann auf dem\nPDA einige Zeit dauern)\n" },
534{ "KO/Pi Confirmation","KO/Pi Bestätigung" }, 530{ "KO/Pi Confirmation","KO/Pi Bestätigung" },
535{ "Close dialog to abort deletion!","Schließe Dialog um das Löschen abzubrechen!" }, 531{ "Close dialog to abort deletion!","Schließe Dialog um das Löschen abzubrechen!" },
536{ "Deleting item %d ...","Lösche Eintrag %d ..." }, 532{ "Deleting item %d ...","Lösche Eintrag %d ..." },
537{ "%d items remaining in list.","%d Einträge sind in der Liste verblieben." }, 533{ "%d items remaining in list.","%d Einträge sind in der Liste verblieben." },
538{ "Size","Größe" }, 534{ "Size","Größe" },
539{ "Date","Datum" }, 535{ "Date","Datum" },
540{ "Mime Type","Datei Typ" }, 536{ "Mime Type","Datei Typ" },
541{ "All Files","Alle Dateien" }, 537{ "All Files","Alle Dateien" },
542{ "Files","Dateien" }, 538{ "Files","Dateien" },
543{ "Documents","DoKumente" }, 539{ "Documents","DoKumente" },
544{ "Select Categories","Selektiere Kategorien" }, 540{ "Select Categories","Selektiere Kategorien" },
545{ " &Deselect All "," Auswahl aufheben " }, 541{ " &Deselect All "," Auswahl aufheben " },
546{ "A&dd","Hinzu" }, 542{ "A&dd","Hinzu" },
547{ "&Modify","Ändern" }, 543{ "&Modify","Ändern" },
548{ "Edit Categories","Editiere Kategorien" }, 544{ "Edit Categories","Editiere Kategorien" },
549{ " &Edit Categories "," &Editiere Kategorien " }, 545{ " &Edit Categories "," &Editiere Kategorien " },
550{ "Beam Options","Beam Einstellungen" }, 546{ "Beam Options","Beam Einstellungen" },
551{ " With timezone "," Mit Zeitzone " }, 547{ " With timezone "," Mit Zeitzone " },
552{ " Local time ", " Lokale Zeit " }, 548{ " Local time ", " Lokale Zeit " },
553{ "Manage new Categories","Verwalte neue Kategorien" }, 549{ "Manage new Categories","Verwalte neue Kategorien" },
554{ "Add to category list","Füge zur Kategorieliste hinzu" }, 550{ "Add to category list","Füge zur Kategorieliste hinzu" },
555{ "Remove from Events/Todos","Entferne von Terminen/Todos" }, 551{ "Remove from Events/Todos","Entferne von Terminen/Todos" },
556{ "After importing/loading/syncing\nthere may be new categories in\nevents or todos\nwhich are not in the category list.\nPlease choose what to do:\n ","Nach dem Importieren/Laden/Syncen\nkann es neue Kategorien in den \nTerminen oder Todos geben, die nicht\nin der Kategorieliste enthalten sind.\nBitte wählen Sie, was passieren soll:\n " }, 552{ "After importing/loading/syncing\nthere may be new categories in\nevents or todos\nwhich are not in the category list.\nPlease choose what to do:\n ","Nach dem Importieren/Laden/Syncen\nkann es neue Kategorien in den \nTerminen oder Todos geben, die nicht\nin der Kategorieliste enthalten sind.\nBitte wählen Sie, was passieren soll:\n " },
557{ "New categories not in list:","Kategorien, die nicht in der Liste sind:" }, 553{ "New categories not in list:","Kategorien, die nicht in der Liste sind:" },
558{ "File format","Datei Format" }, 554{ "File format","Datei Format" },
559{ "Time format","Zeit Format" }, 555{ "Time format","Zeit Format" },
560{ "Delete all\ncompleted To-Dos?","Lösche alle\nerledigten To-Dos?" }, 556{ "Delete all\ncompleted To-Dos?","Lösche alle\nerledigten To-Dos?" },
561{ "KO/Pi:Saving Data to File ...","KO/Pi: Speichere Kalender in Datei ..." }, 557{ "KO/Pi:Saving Data to File ...","KO/Pi: Speichere Kalender in Datei ..." },
562{ "KO/Pi:File Saved. Needed %d sec, %d ms","KO/Pi: Abgespeichert in %d sec, %d ms" }, 558{ "KO/Pi:File Saved. Needed %d sec, %d ms","KO/Pi: Abgespeichert in %d sec, %d ms" },
563{ "h","Std" }, 559{ "h","Std" },
564{ "min","Min" }, 560{ "min","Min" },
565{ "hou","Std" }, 561{ "hou","Std" },
566{ "day","Tag" }, 562{ "day","Tag" },
567{ "French","Französich" }, 563{ "French","Französich" },
568{ "Time","Zeit" }, 564{ "Time","Zeit" },
569{ "Event Viewer","Termin Ansicht" }, 565{ "Event Viewer","Termin Ansicht" },
570{ "Cancel Sync","Sync Abbrechen" }, 566{ "Cancel Sync","Sync Abbrechen" },
571{ "Remote","Fern" }, 567{ "Remote","Fern" },
572{ "Local","Lokal" }, 568{ "Local","Lokal" },
573{ "Conflict! Please choose entry","Konflikt! Bitte Eintrag wählen" }, 569{ "Conflict! Please choose entry","Konflikt! Bitte Eintrag wählen" },
574{ "Local: ","Lokal: " }, 570{ "Local: ","Lokal: " },
575{ "Remote: ","Fern: " }, 571{ "Remote: ","Fern: " },
576{ "Last modified: ","Zuletzt geändert: " }, 572{ "Last modified: ","Zuletzt geändert: " },
577{ "Location: ","Ort: " }, 573{ "Location: ","Ort: " },
578{ "<p><b>From:</b> %1 </p><p><b>To:</b> %2</p>","<p><b>Von:</b> %1 </p><p><b>Bis:</b> %2</p>" }, 574{ "<p><b>From:</b> %1 </p><p><b>To:</b> %2</p>","<p><b>Von:</b> %1 </p><p><b>Bis:</b> %2</p>" },
579{ "<p><b>On:</b> %1</p>","<p><b>Am:</b> %1</p>" }, 575{ "<p><b>On:</b> %1</p>","<p><b>Am:</b> %1</p>" },
580{ "<p><b>From:</b> %1</p> ","<p><b>Von:</b> %1</p> " }, 576{ "<p><b>From:</b> %1</p> ","<p><b>Von:</b> %1</p> " },
581{ "<p><b>To:</b> %1</p>","<p><b>Bis:</b> %1</p>" }, 577{ "<p><b>To:</b> %1</p>","<p><b>Bis:</b> %1</p>" },
582{ "<p><b>On:</b> %1</p> ","<p><b>Am:</b> %1</p> " }, 578{ "<p><b>On:</b> %1</p> ","<p><b>Am:</b> %1</p> " },
583{ "<p><b>From:</b> %1 <b>To:</b> %2</p>","<p><b>Von:</b> %1 <b>Bis:</b> %2</p>" }, 579{ "<p><b>From:</b> %1 <b>To:</b> %2</p>","<p><b>Von:</b> %1 <b>Bis:</b> %2</p>" },
584{ "This is a %1 recurring event.","Das ist ein %1 wiederholender Termin." }, 580{ "This is a %1 recurring event.","Das ist ein %1 wiederholender Termin." },
585{ "<b>Next recurrence is on:</b>","<b>Nächste Wiederholung ist am:</b>" }, 581{ "<b>Next recurrence is on:</b>","<b>Nächste Wiederholung ist am:</b>" },
586{ "<b>Last recurrence was on:</b>","<b>Letzte Wiederholung war am:</b>" }, 582{ "<b>Last recurrence was on:</b>","<b>Letzte Wiederholung war am:</b>" },
587{ "( %1 min before )","( %1 min vorher )" }, 583{ "( %1 min before )","( %1 min vorher )" },
588{ "<b>Alarm on: ","<b>Alarm am: " }, 584{ "<b>Alarm on: ","<b>Alarm am: " },
589{ "<b>Details: </b>","<b>Details: </b>" }, 585{ "<b>Details: </b>","<b>Details: </b>" },
590{ "<p><b>Priority:</b> %2</p>","<p><b>Priorität:</b> %2</p>" }, 586{ "<p><b>Priority:</b> %2</p>","<p><b>Priorität:</b> %2</p>" },
591{ "<p><i>%1 % completed</i></p>","<p><i>%1 % erledigt</i></p>" }, 587{ "<p><i>%1 % completed</i></p>","<p><i>%1 % erledigt</i></p>" },
592{ "Organizer","Organisator" }, 588{ "Organizer","Organisator" },
593{ "Save","Speichern" }, 589{ "Save","Speichern" },
594{ "Exit (+save)","Beenden (+ speichern)" }, 590{ "Exit (+save)","Beenden (+ speichern)" },
595{ "Home","Zuhause" }, 591{ "Home","Zuhause" },
596{ "Office","Büro" }, 592{ "Office","Büro" },
597{ "Libary","Bücherei" }, 593{ "Libary","Bücherei" },
598{ "Doctor","Arzt" }, 594{ "Doctor","Arzt" },
599{ "Beach","Strand" }, 595{ "Beach","Strand" },
600{ "Conference room","Konferenzraum" }, 596{ "Conference room","Konferenzraum" },
601{ "Drive Home","Heimfahrt" }, 597{ "Drive Home","Heimfahrt" },
@@ -1006,196 +1002,196 @@
1006{ "<p><b>ctrl+up/down</b>: Goto up/down by 20% of items</p>\n","<p><b>ctrl+up/down</b>: Gehe hoch/runter 20% aller Einträge</p>\n" }, 1002{ "<p><b>ctrl+up/down</b>: Goto up/down by 20% of items</p>\n","<p><b>ctrl+up/down</b>: Gehe hoch/runter 20% aller Einträge</p>\n" },
1007{ "<p><b>up/down</b>: Next/prev item</p>\n","<p><b>up/down</b>: Nächster/vorheriger Eintrag</p>\n" }, 1003{ "<p><b>up/down</b>: Next/prev item</p>\n","<p><b>up/down</b>: Nächster/vorheriger Eintrag</p>\n" },
1008{ "<p><b>return+shift</b>: Deselect item+one step down</p>\n","<p><b>return+shift</b>: Deselektiere Item+Cursor einen Eintrag runter</p>\n" }, 1004{ "<p><b>return+shift</b>: Deselect item+one step down</p>\n","<p><b>return+shift</b>: Deselektiere Item+Cursor einen Eintrag runter</p>\n" },
1009{ "<p><b>return</b>: Select item+one step down</p>\n","<p><b>return</b>: Selektiere Item+Cursor einen Eintrag runter</p>\n" }, 1005{ "<p><b>return</b>: Select item+one step down</p>\n","<p><b>return</b>: Selektiere Item+Cursor einen Eintrag runter</p>\n" },
1010{ "<p><b>I</b>: Show info of current item+one step down.</p>\n","<p><b>I</b>: Zeige Detail-Ansicht vom sel.Eintrag+Cursor einen Eintrag runter.</p>\n" }, 1006{ "<p><b>I</b>: Show info of current item+one step down.</p>\n","<p><b>I</b>: Zeige Detail-Ansicht vom sel.Eintrag+Cursor einen Eintrag runter.</p>\n" },
1011{ "<p><h3>In list view:</h3></p>\n","<p><h3>In Listen Ansicht:</h3></p>\n" }, 1007{ "<p><h3>In list view:</h3></p>\n","<p><h3>In Listen Ansicht:</h3></p>\n" },
1012{ "<p><b>return+shift</b>: Mark item as not completed+one step down</p>\n","<p><b>return+shift</b>: Markiere Todo als nicht erledigt+Cursor einen Eintrag runter</p>\n" }, 1008{ "<p><b>return+shift</b>: Mark item as not completed+one step down</p>\n","<p><b>return+shift</b>: Markiere Todo als nicht erledigt+Cursor einen Eintrag runter</p>\n" },
1013{ "<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" }, 1009{ "<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" },
1014{ "<p><b>Q</b>: Toggle quick todo line edit.</p>\n","<p><b>Q</b>: Zeige/verstecke Quick Todo Eingabe Zeile.</p>\n" }, 1010{ "<p><b>Q</b>: Toggle quick todo line edit.</p>\n","<p><b>Q</b>: Zeige/verstecke Quick Todo Eingabe Zeile.</p>\n" },
1015{ "<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" }, 1011{ "<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" },
1016{ "<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" }, 1012{ "<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" },
1017{ "<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" }, 1013{ "<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" },
1018{ "<p><h3>In todo view:</h3></p>\n","<p><h3>In Todo Anzige:</h3></p>\n" }, 1014{ "<p><h3>In todo view:</h3></p>\n","<p><h3>In Todo Anzige:</h3></p>\n" },
1019{ "<p><b>ctrl+up/down</b>: Scroll small todo view</p>\n","<p><b>ctrl+up/down</b>: Scrolle kleine Todo Ansicht</p>\n" }, 1015{ "<p><b>ctrl+up/down</b>: Scroll small todo view</p>\n","<p><b>ctrl+up/down</b>: Scrolle kleine Todo Ansicht</p>\n" },
1020{ "<p><b>up/down</b>: Scroll agenda view</p>\n","<p><b>up/down</b>: Scrolle Agenda Ansicht</p>\n" }, 1016{ "<p><b>up/down</b>: Scroll agenda view</p>\n","<p><b>up/down</b>: Scrolle Agenda Ansicht</p>\n" },
1021{ "<p><h3>In agenda view:</h3></p>\n","<p><h3>In Agenda Ansicht:</h3></p>\n" }, 1017{ "<p><h3>In agenda view:</h3></p>\n","<p><h3>In Agenda Ansicht:</h3></p>\n" },
1022{ "<p><b>del,backspace</b>: Delete selected item</p>\n","<p><b>del,backspace</b>: Lösche selektiertes Item</p>\n" }, 1018{ "<p><b>del,backspace</b>: Delete selected item</p>\n","<p><b>del,backspace</b>: Lösche selektiertes Item</p>\n" },
1023{ "<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" }, 1019{ "<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" },
1024{ "<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" }, 1020{ "<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" },
1025{ "<p><b>B</b>: Edit description (details) of selected item</p>\n","<p><b>B</b>: Editiere Beschreibung (Details) des selektierten Items</p>\n" }, 1021{ "<p><b>B</b>: Edit description (details) of selected item</p>\n","<p><b>B</b>: Editiere Beschreibung (Details) des selektierten Items</p>\n" },
1026{ "<p><b>C</b>: Show current time in agenda view</p>\n","<p><b>C</b>: Zeige aktuelle Zeit in Agenda Ansicht</p>\n" }, 1022{ "<p><b>C</b>: Show current time in agenda view</p>\n","<p><b>C</b>: Zeige aktuelle Zeit in Agenda Ansicht</p>\n" },
1027{ "<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" }, 1023{ "<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" },
1028{ "<p><b>S+ctrl</b>: Add sub-todo | <b>X</b>: Toggle datenavigator</p>\n","<p><b>S+ctrl</b>: Füge Sub-Todo hinzu | <b>X</b>: Zeige/verstecke Datenavigator</p>\n" }, 1024{ "<p><b>S+ctrl</b>: Add sub-todo | <b>X</b>: Toggle datenavigator</p>\n","<p><b>S+ctrl</b>: Füge Sub-Todo hinzu | <b>X</b>: Zeige/verstecke Datenavigator</p>\n" },
1029{ "<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" }, 1025{ "<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" },
1030{ "<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" }, 1026{ "<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" },
1031{ "<p><b>D</b>: One day view | <b>M</b>: Month view</p>\n","<p><b>D</b>: Ein-Tages Ansicht | <b>M</b>: Monats Ansicht</p>\n" }, 1027{ "<p><b>D</b>: One day view | <b>M</b>: Month view</p>\n","<p><b>D</b>: Ein-Tages Ansicht | <b>M</b>: Monats Ansicht</p>\n" },
1032{ "<p><b>Z,Y</b>: Work week view | <b>U</b>: Week view</p>\n","<p><b>Z,Y</b>: Arbeitswochen Ansicht | <b>U</b>: Wochen Ansicht</p>\n" }, 1028{ "<p><b>Z,Y</b>: Work week view | <b>U</b>: Week view</p>\n","<p><b>Z,Y</b>: Arbeitswochen Ansicht | <b>U</b>: Wochen Ansicht</p>\n" },
1033{ "<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" }, 1029{ "<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" },
1034{ "<p><b>N</b>: Next days view| <b>W</b>: What's next view\n ","<p><b>N</b>: Nächste-Tage Ansicht days view| <b>W</b>: What's next Ansicht\n " }, 1030{ "<p><b>N</b>: Next days view| <b>W</b>: What's next view\n ","<p><b>N</b>: Nächste-Tage Ansicht days view| <b>W</b>: What's next Ansicht\n " },
1035{ "<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" }, 1031{ "<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" },
1036{ "<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" }, 1032{ "<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" },
1037{ "<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" }, 1033{ "<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" },
1038{ "<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" }, 1034{ "<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" },
1039{ "<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" }, 1035{ "<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" },
1040{ "<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" }, 1036{ "<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" },
1041{ "<p><h2>KO/Pi key shortcuts:</h2></p>\n","<p><h2>KO/Pi Tastatur Kurzbefehle:</h2></p>\n" }, 1037{ "<p><h2>KO/Pi key shortcuts:</h2></p>\n","<p><h2>KO/Pi Tastatur Kurzbefehle:</h2></p>\n" },
1042{ "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" }, 1038{ "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" },
1043{ "Auto Saving in KOrganizer/Pi","Auto Speichern in KOrganizer/Pi" }, 1039{ "Auto Saving in KOrganizer/Pi","Auto Speichern in KOrganizer/Pi" },
1044{ "\nhttp://sourceforge.net/projects/kdepimpi\n","\nhttp://sourceforge.net/projects/kdepimpi\n" }, 1040{ "\nhttp://sourceforge.net/projects/kdepimpi\n","\nhttp://sourceforge.net/projects/kdepimpi\n" },
1045{ "\nor report them in the bugtracker on\n","\noder trage sie in dem Bugtracker ein auf\n" }, 1041{ "\nor report them in the bugtracker on\n","\noder trage sie in dem Bugtracker ein auf\n" },
1046{ "\nPlease report unexpected behaviour to\nlutz@pi-sync.net\n","\nBitte melde fehlerhaftes Verhalten an\nlutz@pi-sync.net\n" }, 1042{ "\nPlease report unexpected behaviour to\nlutz@pi-sync.net\n","\nBitte melde fehlerhaftes Verhalten an\nlutz@pi-sync.net\n" },
1047{ "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" }, 1043{ "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" },
1048{ "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" }, 1044{ "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" },
1049{ "Known Problems in KOrganizer/Pi","Bekannte Probleme in KOrganizer/Pi" }, 1045{ "Known Problems in KOrganizer/Pi","Bekannte Probleme in KOrganizer/Pi" },
1050{ "KO/Pi FAQ","KO/Pi FAQ" }, 1046{ "KO/Pi FAQ","KO/Pi FAQ" },
1051{ "(c) 2004 Lutz Rogowski\nEmail:lutz@pi-sync.net\nKO/Pi is based on KOrganizer\n(c) 2002,2003 Cornelius Schumacher\nEmail: schumacher@kde.org\nKOrganizer/Pi is licensed\nunder the GPL.\nKO/Pi can be compiled for\nLinux, Zaurus-PDA and Windows\nwww.korganizer.org\nwww.pi-sync.net\n","(c) 2004 Lutz Rogowski\nEmail:lutz@pi-sync.net\nKO/Pi basiert auf KOrganizer\n(c) 2002,2003 Cornelius Schumacher\nEmail: schumacher@kde.org\nKOrganizer/Pi ist lizensiert unter der GPL.\nKO/Pi kann kompiliert werden für\nLinux, Zaurus-PDA und Windows\nwww.korganizer.org\nwww.pi-sync.net\n" }, 1047{ "(c) 2004 Lutz Rogowski\nEmail:lutz@pi-sync.net\nKO/Pi is based on KOrganizer\n(c) 2002,2003 Cornelius Schumacher\nEmail: schumacher@kde.org\nKOrganizer/Pi is licensed\nunder the GPL.\nKO/Pi can be compiled for\nLinux, Zaurus-PDA and Windows\nwww.korganizer.org\nwww.pi-sync.net\n","(c) 2004 Lutz Rogowski\nEmail:lutz@pi-sync.net\nKO/Pi basiert auf KOrganizer\n(c) 2002,2003 Cornelius Schumacher\nEmail: schumacher@kde.org\nKOrganizer/Pi ist lizensiert unter der GPL.\nKO/Pi kann kompiliert werden für\nLinux, Zaurus-PDA und Windows\nwww.korganizer.org\nwww.pi-sync.net\n" },
1052{ "PDA-Edition\nfor: Zaurus 5x00 / 7x0 / 8x0\n","PDA-Edition\nfür: Zaurus 5x00 / 7x0 / 8x0\n" }, 1048{ "PDA-Edition\nfor: Zaurus 5x00 / 7x0 / 8x0\n","PDA-Edition\nfür: Zaurus 5x00 / 7x0 / 8x0\n" },
1053{ "KOrganizer/Platform-independent\n","KOrganizer/Platform-independent\n" }, 1049{ "KOrganizer/Platform-independent\n","KOrganizer/Platform-independent\n" },
1054{ "About KOrganizer/Pi","Über KOrganizer/Pi" }, 1050{ "About KOrganizer/Pi","Über KOrganizer/Pi" },
1055{ "From: ","Von: " }, 1051{ "From: ","Von: " },
1056{ "Remove sync info","Entferne Sync Info" }, 1052{ "Remove sync info","Entferne Sync Info" },
1057{ "For all profiles","Für alle Profile" }, 1053{ "For all profiles","Für alle Profile" },
1058{ "Hide not Running","Verstecke nicht Laufende" }, 1054{ "Hide not Running","Verstecke nicht Laufende" },
1059{ "ME","ME" }, 1055{ "ME","ME" },
1060{ "Toolbar","Toolbar" }, 1056{ "Toolbar","Toolbar" },
1061{ "Undo Delete...","Löschen rückgängig machen..." }, 1057{ "Undo Delete...","Löschen rückgängig machen..." },
1062{ "Undo Delete","Löschen rückgängig machen" }, 1058{ "Undo Delete","Löschen rückgängig machen" },
1063{ "KDE Sync HowTo...","KDE Sync HowTo..." }, 1059{ "KDE Sync HowTo...","KDE Sync HowTo..." },
1064{ "Multi Sync HowTo...","Multi Sync HowTo..." }, 1060{ "Multi Sync HowTo...","Multi Sync HowTo..." },
1065{ "Januar","Januar" }, 1061{ "Januar","Januar" },
1066{ "KO/Pi Keys + Colors","KO/Pi Tasten + Farben" }, 1062{ "KO/Pi Keys + Colors","KO/Pi Tasten + Farben" },
1067{ "No Filter","Kein Filter" }, 1063{ "No Filter","Kein Filter" },
1068{ "Multiple Sync options","Multi Sync Optionen" }, 1064{ "Multiple Sync options","Multi Sync Optionen" },
1069{ "Sync algo options","Sync Ablauf Optionen" }, 1065{ "Sync algo options","Sync Ablauf Optionen" },
1070{ "Apply filter when adding data to local:","Filter für das Hinzufügen von Daten zu Lokal:" }, 1066{ "Apply filter when adding data to local:","Filter für das Hinzufügen von Daten zu Lokal:" },
1071{ "Incoming calendar filter:","Eingehender Kalender Filter:" }, 1067{ "Incoming calendar filter:","Eingehender Kalender Filter:" },
1072{ "Incoming addressbook filter:","Eingehender Adressbuch Filter:" }, 1068{ "Incoming addressbook filter:","Eingehender Adressbuch Filter:" },
1073{ "Write back options","Optionen zum Zurückschreiben" }, 1069{ "Write back options","Optionen zum Zurückschreiben" },
1074{ "Write back (on remote) existing entries only","Schreibe nur existierende (auf Entfernt) Einträge zurück" }, 1070{ "Write back (on remote) existing entries only","Schreibe nur existierende (auf Entfernt) Einträge zurück" },
1075{ "Apply filter when adding data to remote:","Filter für das Hinzufügen von Daten zu Entfernt:" }, 1071{ "Apply filter when adding data to remote:","Filter für das Hinzufügen von Daten zu Entfernt:" },
1076{ "Outgoing calendar filter:","Ausgehender Kalender Filter:" }, 1072{ "Outgoing calendar filter:","Ausgehender Kalender Filter:" },
1077{ "Outgoing addressbook filter:","Ausgehender Adressbuch Filter:" }, 1073{ "Outgoing addressbook filter:","Ausgehender Adressbuch Filter:" },
1078{ "Write back (calendar) entries for time period only","Schreibe nur Kalender Einträge für Zeitspanne zurück" }, 1074{ "Write back (calendar) entries for time period only","Schreibe nur Kalender Einträge für Zeitspanne zurück" },
1079{ "Time period","Zeitspanne" }, 1075{ "Time period","Zeitspanne" },
1080{ "From ","Von " }, 1076{ "From ","Von " },
1081{ " weeks in the past to "," Wochen in der Vergangenheit bis zu " }, 1077{ " weeks in the past to "," Wochen in der Vergangenheit bis zu " },
1082{ " weeks in the future "," Wochen in der Zukunft " }, 1078{ " weeks in the future "," Wochen in der Zukunft " },
1083{ "Profile kind specific settings","Profil Art abhängige Einstellungen" }, 1079{ "Profile kind specific settings","Profil Art abhängige Einstellungen" },
1084{ "Local temp file:","Lokale temp Datei:" }, 1080{ "Local temp file:","Lokale temp Datei:" },
1085{ "Multiple profiles with same name!\nPlease use unique profile names!","Mehrere Profile mit demselben Namen!\nBitte verschiedene Namen benutzen!" }, 1081{ "Multiple profiles with same name!\nPlease use unique profile names!","Mehrere Profile mit demselben Namen!\nBitte verschiedene Namen benutzen!" },
1086{ "Aborted! Nothing synced!","Abgebrochen! Nichts wurde gesynct!" }, 1082{ "Aborted! Nothing synced!","Abgebrochen! Nichts wurde gesynct!" },
1087 1083
1088 1084
1089 1085
1090 1086
1091{ "Language","Sprache" }, 1087{ "Language","Sprache" },
1092{ "Time Format","Zeit Format" }, 1088{ "Time Format","Zeit Format" },
1093{ "Time Zone","Zeit Zone" }, 1089{ "Time Zone","Zeit Zone" },
1094{ "Your current storage dir is:\n%1\nYour mail is stored in:\n(storagedir)/apps/kopiemail/localmail","Ihr gerade genutztes Speicherverzeichnis ist:\n%1\nIhre Mail wird gespeichert in:\n(speicherverzeichnis)/apps/kopiemail/localmail" }, 1090{ "Your current storage dir is:\n%1\nYour mail is stored in:\n(storagedir)/apps/kopiemail/localmail","Ihr gerade genutztes Speicherverzeichnis ist:\n%1\nIhre Mail wird gespeichert in:\n(speicherverzeichnis)/apps/kopiemail/localmail" },
1095{ "<b>Set new data storage dir:</b>","<b>Setze neues Datenspeicherverzeichnis:</b>" }, 1091{ "<b>Set new data storage dir:</b>","<b>Setze neues Datenspeicherverzeichnis:</b>" },
1096{ "Not existing dirs are created automatically","Nicht existierende Verzeichnisse werden erstellt" }, 1092{ "Not existing dirs are created automatically","Nicht existierende Verzeichnisse werden erstellt" },
1097{ "Save settings","Speichere Einstellungen" }, 1093{ "Save settings","Speichere Einstellungen" },
1098{ "Save standard","Speichere Standard" }, 1094{ "Save standard","Speichere Standard" },
1099{ "<b>New settings are used\nafter a restart</b>","<b>Neue Einstellungen werden nach\neinem Neustart genutzt</b>" }, 1095{ "<b>New settings are used\nafter a restart</b>","<b>Neue Einstellungen werden nach\neinem Neustart genutzt</b>" },
1100{ "The settings of the storage\ndir is saved in the file\n%1","Die Einstellungen des Speicherverzeichnisses\nwerden in folgender Datei gespeichert:\n%1" }, 1096{ "The settings of the storage\ndir is saved in the file\n%1","Die Einstellungen des Speicherverzeichnisses\nwerden in folgender Datei gespeichert:\n%1" },
1101{ "Data storage path","Daten Speicherpfad" }, 1097{ "Data storage path","Daten Speicherpfad" },
1102{ "Language","Sprache" }, 1098{ "Language","Sprache" },
1103{ "Show time in agenda items","Zeige Zeit in Agenda Items" }, 1099{ "Show time in agenda items","Zeige Zeit in Agenda Items" },
1104{ "Color for Sundays + category "Holiday"","Farbe für Sonntags + Kategorie "Feiertag"" }, 1100{ "Color for Sundays + category "Holiday"","Farbe für Sonntags + Kategorie "Feiertag"" },
1105{ "Show events, that are done in \nWhat's Next view","Zeige abgelaufene Termine in\nWhat's Next Ansicht" }, 1101{ "Show events, that are done in \nWhat's Next view","Zeige abgelaufene Termine in\nWhat's Next Ansicht" },
1106{ "Hide not running Todos in To-do view","Verstecke nicht laufende Todos in To-do Ansicht" }, 1102{ "Hide not running Todos in To-do view","Verstecke nicht laufende Todos in To-do Ansicht" },
1107{ "+01:00 Europe/Oslo(CET)","+01:00 Europe/Oslo(CET)" }, 1103{ "+01:00 Europe/Oslo(CET)","+01:00 Europe/Oslo(CET)" },
1108{ "KO/Pi","KO/Pi" }, 1104{ "KO/Pi","KO/Pi" },
1109{ "There is nothing to undo!","Es gibt nichts zum\nRückgängigmachen!" }, 1105{ "There is nothing to undo!","Es gibt nichts zum\nRückgängigmachen!" },
1110{ "Recreating edit dialog. Please wait...","Recreating edit dialog. Please wait..." }, 1106{ "Recreating edit dialog. Please wait...","Recreating edit dialog. Please wait..." },
1111{ "Sound.Al.: ","Sound.Al.: " }, 1107{ "Sound.Al.: ","Sound.Al.: " },
1112{ "From: %1 To: %2 %3","Von: %1 Bis: %2 %3" }, 1108{ "From: %1 To: %2 %3","Von: %1 Bis: %2 %3" },
1113{ "Restore","Wiederherstellen" }, 1109{ "Restore","Wiederherstellen" },
1114{ "\nAre you sure you want\nto restore this?","\nMöchten Sie das wirklicht\nwiederherstellen?" }, 1110{ "\nAre you sure you want\nto restore this?","\nMöchten Sie das wirklicht\nwiederherstellen?" },
1115{ "% completed","% komplett" }, 1111{ "% completed","% komplett" },
1116{ "%d item(s) found.","%d Item(s) gefunden." }, 1112{ "%d item(s) found.","%d Item(s) gefunden." },
1117{ "Set complete","Setze auf erledigt" }, 1113{ "Set complete","Setze auf erledigt" },
1118{ "(cancelled)","(gecancelt)" }, 1114{ "(cancelled)","(gecancelt)" },
1119{ "Click on the week number to\nshow week in agenda view","Klicke auf die Wochennummer\num die Woche in der Agenda anzuzeigen" }, 1115{ "Click on the week number to\nshow week in agenda view","Klicke auf die Wochennummer\num die Woche in der Agenda anzuzeigen" },
1120{ " Local time "," Locale Zeit " }, 1116{ " Local time "," Locale Zeit " },
1121{ "Form2","Form2" }, 1117{ "Form2","Form2" },
1122{ "Filter enabled","Filter angeschaltet" }, 1118{ "Filter enabled","Filter angeschaltet" },
1123{ "Edit Filters","Ändere Filter" }, 1119{ "Edit Filters","Ändere Filter" },
1124{ "Print What's Next View...","Drucke What's Next Ansicht..." }, 1120{ "Print What's Next View...","Drucke What's Next Ansicht..." },
1125{ "Agenda","Agenda" }, 1121{ "Agenda","Agenda" },
1126{ " ("," (" }, 1122{ " ("," (" },
1127{ "<p><b>Due on:</b> %1</p>","<p><b>Fällig am:</b> %1</p>" }, 1123{ "<p><b>Due on:</b> %1</p>","<p><b>Fällig am:</b> %1</p>" },
1128{ "Print","Print" }, 1124{ "Print","Print" },
1129{ "&Setup Printer...","Drucker &Setup..." }, 1125{ "&Setup Printer...","Drucker &Setup..." },
1130{ "View Type","Zeige Typ" }, 1126{ "View Type","Zeige Typ" },
1131{ "Page &orientation:","Seiten Ausrichtung:" }, 1127{ "Page &orientation:","Seiten Ausrichtung:" },
1132{ "Use Default of Selected Style","Default des selektierten Stils" }, 1128{ "Use Default of Selected Style","Default des selektierten Stils" },
1133{ "Use Default Setting of Printer","Default Einstellung des Druckers" }, 1129{ "Use Default Setting of Printer","Default Einstellung des Druckers" },
1134{ "Portrait","Portrait" }, 1130{ "Portrait","Portrait" },
1135{ "Landscape","Landschaft" }, 1131{ "Landscape","Landschaft" },
1136{ "Print day","Drucke Tag" }, 1132{ "Print day","Drucke Tag" },
1137{ "CalPrintDay_Base","CalPrintDay_Base" }, 1133{ "CalPrintDay_Base","CalPrintDay_Base" },
1138{ "Date && Time Range","Datum && Zeitspanne" }, 1134{ "Date && Time Range","Datum && Zeitspanne" },
1139{ "&End date:","&Enddatum:" }, 1135{ "&End date:","&Enddatum:" },
1140{ "&Start date:","&Startdatum:" }, 1136{ "&Start date:","&Startdatum:" },
1141{ "Start &time:","Startzeit:" }, 1137{ "Start &time:","Startzeit:" },
1142{ "End ti&me:","Endzeit:" }, 1138{ "End ti&me:","Endzeit:" },
1143{ "E&xtend time range to include all events","Erweitere Zeitspanne um alle Ereignisse einzuschliessen" }, 1139{ "E&xtend time range to include all events","Erweitere Zeitspanne um alle Ereignisse einzuschliessen" },
1144{ "Include to&dos that are due on the printed day(s)","Inclusive To&dos, die an den selektierten Tagen fällig sind" }, 1140{ "Include to&dos that are due on the printed day(s)","Inclusive To&dos, die an den selektierten Tagen fällig sind" },
1145{ "Alt+D","Alt+D" }, 1141{ "Alt+D","Alt+D" },
1146{ "&Use colors","Nutze Farben" }, 1142{ "&Use colors","Nutze Farben" },
1147{ "Alt+U","Alt+U" }, 1143{ "Alt+U","Alt+U" },
1148{ "Print week","Drucke Woche" }, 1144{ "Print week","Drucke Woche" },
1149{ "CalPrintWeek_Base","CalPrintWeek_Base" }, 1145{ "CalPrintWeek_Base","CalPrintWeek_Base" },
1150{ "Use &colors","Nutze Farben" }, 1146{ "Use &colors","Nutze Farben" },
1151{ "Type of View","Typ der Ansicht" }, 1147{ "Type of View","Typ der Ansicht" },
1152{ "Print as &Filofax page","Drucke als &Filofax Seite" }, 1148{ "Print as &Filofax page","Drucke als &Filofax Seite" },
1153{ "Alt+F","Alt+F" }, 1149{ "Alt+F","Alt+F" },
1154{ "Print as &timetable view:","Drucke als Zeittabelle:" }, 1150{ "Print as &timetable view:","Drucke als Zeittabelle:" },
1155{ "Alt+T","Alt+T" }, 1151{ "Alt+T","Alt+T" },
1156{ "Print as split week view","Drucke als gesplittete Wochenansicht" }, 1152{ "Print as split week view","Drucke als gesplittete Wochenansicht" },
1157{ "Print month","Drucke Monat" }, 1153{ "Print month","Drucke Monat" },
1158{ "CalPrintMonth_Base","CalPrintMonth_Base" }, 1154{ "CalPrintMonth_Base","CalPrintMonth_Base" },
1159{ "&Start month:","&Startmonat:" }, 1155{ "&Start month:","&Startmonat:" },
1160{ "&End month:","&Endmonat:" }, 1156{ "&End month:","&Endmonat:" },
1161{ "Print week &numbers","Drucke Wochen Nummer(n)" }, 1157{ "Print week &numbers","Drucke Wochen Nummer(n)" },
1162{ "Print todos","Drucke Todos" }, 1158{ "Print todos","Drucke Todos" },
1163{ "CalPrintTodoConfig_Base","CalPrintTodoConfig_Base" }, 1159{ "CalPrintTodoConfig_Base","CalPrintTodoConfig_Base" },
1164{ "Include &description of the item","Inclusive Itembeschreibung" }, 1160{ "Include &description of the item","Inclusive Itembeschreibung" },
1165{ "Include d&ue date of the item","Inclusive Fälligkeitsdatum des Items" }, 1161{ "Include d&ue date of the item","Inclusive Fälligkeitsdatum des Items" },
1166{ "Include &priority of the item","Inclusive Priorität des Items" }, 1162{ "Include &priority of the item","Inclusive Priorität des Items" },
1167{ "Items to Print","Zu druckende Items" }, 1163{ "Items to Print","Zu druckende Items" },
1168{ "&From:","Von:" }, 1164{ "&From:","Von:" },
1169{ "&To:","Bis:" }, 1165{ "&To:","Bis:" },
1170{ "Print &all todo items","Drucke alle Todo Items" }, 1166{ "Print &all todo items","Drucke alle Todo Items" },
1171{ "Print only &uncompleted items","Drucke nur nicht erledigte Todos" }, 1167{ "Print only &uncompleted items","Drucke nur nicht erledigte Todos" },
1172{ "Only items due in the &range:","Nur Items in dem Zeitraum:" }, 1168{ "Only items due in the &range:","Nur Items in dem Zeitraum:" },
1173{ "Todo List","Todo Liste" }, 1169{ "Todo List","Todo Liste" },
1174{ "&Title:","&Titel:" }, 1170{ "&Title:","&Titel:" },
1175{ "Co&nnect subtodos with its parent","Verbinde Unter-Todos mit ihren Ober-Todos" }, 1171{ "Co&nnect subtodos with its parent","Verbinde Unter-Todos mit ihren Ober-Todos" },
1176{ "Todo list","Todo Liste" }, 1172{ "Todo list","Todo Liste" },
1177{ "&Print...","Drucke..." }, 1173{ "&Print...","Drucke..." },
1178{ "<qt>Printing on printer <b>%1</b></qt>","<qt>Drucke auf Drucker <b>%1</b></qt>" }, 1174{ "<qt>Printing on printer <b>%1</b></qt>","<qt>Drucke auf Drucker <b>%1</b></qt>" },
1179{ "[Unconfigured]","[Unkonfiguriert]" }, 1175{ "[Unconfigured]","[Unkonfiguriert]" },
1180{ "OK","OK" }, 1176{ "OK","OK" },
1181{ "FilterEditor","FilterEditor" }, 1177{ "FilterEditor","FilterEditor" },
1182{ "Include","Inclusive" }, 1178{ "Include","Inclusive" },
1183{ "Exclude","Exclusive" }, 1179{ "Exclude","Exclusive" },
1184{ "Edit Selection...","Editiere Selektion..." }, 1180{ "Edit Selection...","Editiere Selektion..." },
1185{ "recurring events","wiederholende Ereignisse" }, 1181{ "recurring events","wiederholende Ereignisse" },
1186{ "completed to-dos","erledigte Todos" }, 1182{ "completed to-dos","erledigte Todos" },
1187{ "events","Ereignisse" }, 1183{ "events","Ereignisse" },
1188{ "todos","Todos" }, 1184{ "todos","Todos" },
1189{ "journals","Journale" }, 1185{ "journals","Journale" },
1190{ "public","öffentlich" }, 1186{ "public","öffentlich" },
1191{ "private","privat" }, 1187{ "private","privat" },
1192{ "confidential","vertraulich" }, 1188{ "confidential","vertraulich" },
1193{ "\nhas sub-todos.\nAll completed sub-todos\nwill be deleted as well!","\nhat Unter-Todos.\nAlle erledigten Unter-Todos\nwerden auch gelöscht!" }, 1189{ "\nhas sub-todos.\nAll completed sub-todos\nwill be deleted as well!","\nhat Unter-Todos.\nAlle erledigten Unter-Todos\nwerden auch gelöscht!" },
1194{ "Yesterday","Gestern" }, 1190{ "Yesterday","Gestern" },
1195{ "Day after tomorrow","Übermorgen" }, 1191{ "Day after tomorrow","Übermorgen" },
1196{ "Tomorrow","Morgen" }, 1192{ "Tomorrow","Morgen" },
1197{ "Day before yesterday","Vorgestern" }, 1193{ "Day before yesterday","Vorgestern" },
1198{ "","" }, 1194{ "Size %1","Größe %1" },
1199{ "","" }, 1195{ "","" },
1200{ "","" }, 1196{ "","" },
1201{ "","" }, 1197{ "","" },
diff --git a/korganizer/koagendaview.cpp b/korganizer/koagendaview.cpp
index 05216a7..f54f7bc 100644
--- a/korganizer/koagendaview.cpp
+++ b/korganizer/koagendaview.cpp
@@ -27,401 +27,401 @@
27#include <qframe.h> 27#include <qframe.h>
28#include <qlayout.h> 28#include <qlayout.h>
29#ifndef KORG_NOSPLITTER 29#ifndef KORG_NOSPLITTER
30#include <qsplitter.h> 30#include <qsplitter.h>
31#endif 31#endif
32#include <qfont.h> 32#include <qfont.h>
33#include <qfontmetrics.h> 33#include <qfontmetrics.h>
34#include <qpopupmenu.h> 34#include <qpopupmenu.h>
35#include <qtooltip.h> 35#include <qtooltip.h>
36#include <qpainter.h> 36#include <qpainter.h>
37#include <qpushbutton.h> 37#include <qpushbutton.h>
38#include <qapplication.h> 38#include <qapplication.h>
39 39
40#include <kapplication.h> 40#include <kapplication.h>
41#include <KDGanttMinimizeSplitter.h> 41#include <KDGanttMinimizeSplitter.h>
42#include <kdebug.h> 42#include <kdebug.h>
43#include <kstandarddirs.h> 43#include <kstandarddirs.h>
44#include <kiconloader.h> 44#include <kiconloader.h>
45#include <klocale.h> 45#include <klocale.h>
46#include <kconfig.h> 46#include <kconfig.h>
47#include <kglobal.h> 47#include <kglobal.h>
48#include "calendarview.h" 48#include "calendarview.h"
49#include "koviewmanager.h" 49#include "koviewmanager.h"
50 50
51#include <libkcal/calendar.h> 51#include <libkcal/calendar.h>
52#include <libkcal/icaldrag.h> 52#include <libkcal/icaldrag.h>
53#include <libkcal/dndfactory.h> 53#include <libkcal/dndfactory.h>
54 54
55#include <kcalendarsystem.h> 55#include <kcalendarsystem.h>
56 56
57#include "koglobals.h" 57#include "koglobals.h"
58#ifndef KORG_NOPLUGINS 58#ifndef KORG_NOPLUGINS
59#include "kocore.h" 59#include "kocore.h"
60#endif 60#endif
61#include "koprefs.h" 61#include "koprefs.h"
62#include "koagenda.h" 62#include "koagenda.h"
63#include "koagendaitem.h" 63#include "koagendaitem.h"
64#ifndef KORG_NOPRINTER 64#ifndef KORG_NOPRINTER
65#include "calprinter.h" 65#include "calprinter.h"
66#endif 66#endif
67 67
68#include "koagendaview.h" 68#include "koagendaview.h"
69//#include "koagendaview.moc" 69//#include "koagendaview.moc"
70 70
71//extern bool globalFlagBlockPainting; 71//extern bool globalFlagBlockPainting;
72extern int globalFlagBlockAgenda; 72extern int globalFlagBlockAgenda;
73extern int globalFlagBlockStartup; 73extern int globalFlagBlockStartup;
74extern int globalFlagBlockAgendaItemPaint; 74extern int globalFlagBlockAgendaItemPaint;
75extern int globalFlagBlockAgendaItemUpdate; 75extern int globalFlagBlockAgendaItemUpdate;
76extern int globalFlagBlockLabel; 76extern int globalFlagBlockLabel;
77using namespace KOrg; 77using namespace KOrg;
78 78
79TimeLabels::TimeLabels(int rows,QWidget *parent,const char *name,WFlags f) : 79TimeLabels::TimeLabels(int rows,QWidget *parent,const char *name,WFlags f) :
80 QScrollView(parent,name,f) 80 QScrollView(parent,name,f)
81{ 81{
82 mRows = rows; 82 mRows = rows;
83 83
84 setMinimumHeight( 20 ); 84 setMinimumHeight( 20 );
85 mCellHeight = KOPrefs::instance()->mHourSize*4; 85 mCellHeight = KOPrefs::instance()->mHourSize*4;
86 86
87 enableClipper(true); 87 enableClipper(true);
88 88
89 setHScrollBarMode(AlwaysOff); 89 setHScrollBarMode(AlwaysOff);
90 setVScrollBarMode(AlwaysOff); 90 setVScrollBarMode(AlwaysOff);
91 91
92 resizeContents(50,mRows * mCellHeight); 92 resizeContents(50,mRows * mCellHeight);
93 93
94 viewport()->setBackgroundMode( PaletteBackground ); 94 viewport()->setBackgroundMode( PaletteBackground );
95} 95}
96 96
97void TimeLabels::setCellHeight(int height) 97void TimeLabels::setCellHeight(int height)
98{ 98{
99 mCellHeight = height; 99 mCellHeight = height;
100} 100}
101 101
102/* 102/*
103 Optimization so that only the "dirty" portion of the scroll view 103 Optimization so that only the "dirty" portion of the scroll view
104 is redrawn. Unfortunately, this is not called by default paintEvent() method. 104 is redrawn. Unfortunately, this is not called by default paintEvent() method.
105*/ 105*/
106void TimeLabels::drawContents(QPainter *p,int cx, int cy, int cw, int ch) 106void TimeLabels::drawContents(QPainter *p,int cx, int cy, int cw, int ch)
107{ 107{
108 108
109 // if ( globalFlagBlockAgenda ) 109 // if ( globalFlagBlockAgenda )
110 // return; 110 // return;
111 // bug: the parameters cx, cy, cw, ch are the areas that need to be 111 // bug: the parameters cx, cy, cw, ch are the areas that need to be
112 // redrawn, not the area of the widget. unfortunately, this 112 // redrawn, not the area of the widget. unfortunately, this
113 // code assumes the latter... 113 // code assumes the latter...
114 114
115 // now, for a workaround... 115 // now, for a workaround...
116 // these two assignments fix the weird redraw bug 116 // these two assignments fix the weird redraw bug
117 cx = contentsX() + 2; 117 cx = contentsX() + 2;
118 cw = contentsWidth() - 2; 118 cw = contentsWidth() - 2;
119 // end of workaround 119 // end of workaround
120 120
121 int cell = ((int)(cy/mCellHeight)); 121 int cell = ((int)(cy/mCellHeight));
122 int y = cell * mCellHeight; 122 int y = cell * mCellHeight;
123 QFontMetrics fm = fontMetrics(); 123 QFontMetrics fm = fontMetrics();
124 QString hour; 124 QString hour;
125 QString suffix; 125 QString suffix;
126 QString fullTime; 126 QString fullTime;
127 int tW = fm.width("24:00i"); 127 int tW = fm.width("24:00i");
128 128
129 while (y < cy + ch) { 129 while (y < cy + ch) {
130 p->drawLine(cx,y,cx+tW,y); 130 p->drawLine(cx,y,cx+tW,y);
131 hour.setNum(cell); 131 hour.setNum(cell);
132 suffix = "am"; 132 suffix = "am";
133 133
134 // handle 24h and am/pm time formats 134 // handle 24h and am/pm time formats
135 if (KGlobal::locale()->use12Clock()) { 135 if (KGlobal::locale()->use12Clock()) {
136 if (cell > 11) suffix = "pm"; 136 if (cell > 11) suffix = "pm";
137 if (cell == 0) hour.setNum(12); 137 if (cell == 0) hour.setNum(12);
138 if (cell > 12) hour.setNum(cell - 12); 138 if (cell > 12) hour.setNum(cell - 12);
139 } else { 139 } else {
140 suffix = ":00"; 140 suffix = ":00";
141 } 141 }
142 142
143 // create string in format of "XX:XX" or "XXpm/am" 143 // create string in format of "XX:XX" or "XXpm/am"
144 fullTime = hour + suffix; 144 fullTime = hour + suffix;
145 145
146 // center and draw the time label 146 // center and draw the time label
147 int timeWidth = fm.width(fullTime+"i"); 147 int timeWidth = fm.width(fullTime+"i");
148 int offset = this->width() - timeWidth; 148 int offset = this->width() - timeWidth;
149 int borderWidth = 5; 149 int borderWidth = 5;
150 int timeHeight = fm.height(); 150 int timeHeight = fm.height();
151 timeHeight = timeHeight + 2 - ( timeHeight / 4 ); 151 timeHeight = timeHeight + 2 - ( timeHeight / 4 );
152 p->drawText(cx -borderWidth + offset, y+ timeHeight, fullTime); 152 p->drawText(cx -borderWidth + offset, y+ timeHeight, fullTime);
153 153
154 // increment indices 154 // increment indices
155 y += mCellHeight; 155 y += mCellHeight;
156 cell++; 156 cell++;
157 } 157 }
158} 158}
159 159
160/** 160/**
161 Calculates the minimum width. 161 Calculates the minimum width.
162*/ 162*/
163int TimeLabels::minimumWidth() const 163int TimeLabels::minimumWidth() const
164{ 164{
165 QFontMetrics fm = fontMetrics(); 165 QFontMetrics fm = fontMetrics();
166 166
167 //TODO: calculate this value 167 //TODO: calculate this value
168 int borderWidth = 4; 168 int borderWidth = 4;
169 169
170 // the maximum width possible 170 // the maximum width possible
171 int width = fm.width("88:88x") + borderWidth; 171 int width = fm.width("88:88x") + borderWidth;
172 172
173 return width; 173 return width;
174} 174}
175 175
176/** updates widget's internal state */ 176/** updates widget's internal state */
177void TimeLabels::updateConfig() 177void TimeLabels::updateConfig()
178{ 178{
179 // set the font 179 // set the font
180 // config->setGroup("Fonts"); 180 // config->setGroup("Fonts");
181 // QFont font = config->readFontEntry("TimeBar Font"); 181 // QFont font = config->readFontEntry("TimeBar Font");
182 setFont(KOPrefs::instance()->mTimeBarFont); 182 setFont(KOPrefs::instance()->mTimeBarFont);
183 183
184 // update geometry restrictions based on new settings 184 // update geometry restrictions based on new settings
185 setFixedWidth(minimumWidth()); 185 setFixedWidth(minimumWidth());
186 186
187 // update HourSize 187 // update HourSize
188 mCellHeight = KOPrefs::instance()->mHourSize*4; 188 mCellHeight = KOPrefs::instance()->mHourSize*4;
189 resizeContents(50,mRows * mCellHeight); 189 resizeContents(50,mRows * mCellHeight);
190} 190}
191 191
192/** update time label positions */ 192/** update time label positions */
193void TimeLabels::positionChanged() 193void TimeLabels::positionChanged()
194{ 194{
195 int adjustment = mAgenda->contentsY(); 195 int adjustment = mAgenda->contentsY();
196 setContentsPos(0, adjustment); 196 setContentsPos(0, adjustment);
197} 197}
198 198
199/** */ 199/** */
200void TimeLabels::setAgenda(KOAgenda* agenda) 200void TimeLabels::setAgenda(KOAgenda* agenda)
201{ 201{
202 mAgenda = agenda; 202 mAgenda = agenda;
203} 203}
204 204
205void TimeLabels::contentsMousePressEvent ( QMouseEvent * e) 205void TimeLabels::contentsMousePressEvent ( QMouseEvent * e)
206{ 206{
207 mMouseDownY = e->pos().y(); 207 mMouseDownY = e->pos().y();
208 mOrgCap = topLevelWidget()->caption(); 208 mOrgCap = topLevelWidget()->caption();
209} 209}
210 210
211void TimeLabels::contentsMouseMoveEvent ( QMouseEvent * e ) 211void TimeLabels::contentsMouseMoveEvent ( QMouseEvent * e )
212{ 212{
213 int diff = mMouseDownY - e->pos().y(); 213 int diff = mMouseDownY - e->pos().y();
214 if ( diff < 10 && diff > -10 ) 214 if ( diff < 10 && diff > -10 )
215 return; 215 return;
216 int tSize = KOPrefs::instance()->mHourSize + (diff/10) ; 216 int tSize = KOPrefs::instance()->mHourSize + (diff/10) ;
217 if ( tSize < 4 ) 217 if ( tSize < 4 )
218 tSize = 4; 218 tSize = 4;
219 if ( tSize > 18 ) 219 if ( tSize > 22 )
220 tSize = 18; 220 tSize = 22;
221 tSize = (tSize-2)/2; 221 tSize = (tSize-2)/2;
222 topLevelWidget()->setCaption(i18n("New Agendasize: %1").arg(tSize)); 222 topLevelWidget()->setCaption(i18n("New Agendasize: %1").arg(tSize));
223 223
224} 224}
225void TimeLabels::contentsMouseReleaseEvent ( QMouseEvent * e ) 225void TimeLabels::contentsMouseReleaseEvent ( QMouseEvent * e )
226{ 226{
227 topLevelWidget()->setCaption( mOrgCap ); 227 topLevelWidget()->setCaption( mOrgCap );
228 int diff = mMouseDownY - e->pos().y(); 228 int diff = mMouseDownY - e->pos().y();
229 if ( diff < 10 && diff > -10 ) 229 if ( diff < 10 && diff > -10 )
230 return; 230 return;
231 int tSize = KOPrefs::instance()->mHourSize + (diff/10); 231 int tSize = KOPrefs::instance()->mHourSize + (diff/10);
232 if ( tSize < 4 ) 232 if ( tSize < 4 )
233 tSize = 4; 233 tSize = 4;
234 if ( tSize > 18 ) 234 if ( tSize > 22 )
235 tSize = 18; 235 tSize = 22;
236 tSize = (tSize/2)*2; 236 tSize = (tSize/2)*2;
237 if ( tSize == KOPrefs::instance()->mHourSize ) 237 if ( tSize == KOPrefs::instance()->mHourSize )
238 return; 238 return;
239 KOPrefs::instance()->mHourSize = tSize; 239 KOPrefs::instance()->mHourSize = tSize;
240 emit scaleChanged(); 240 emit scaleChanged();
241} 241}
242 242
243/** This is called in response to repaint() */ 243/** This is called in response to repaint() */
244void TimeLabels::paintEvent(QPaintEvent*) 244void TimeLabels::paintEvent(QPaintEvent*)
245{ 245{
246 246
247 // kdDebug() << "paintevent..." << endl; 247 // kdDebug() << "paintevent..." << endl;
248 // this is another hack! 248 // this is another hack!
249 // QPainter painter(this); 249 // QPainter painter(this);
250 //QString c 250 //QString c
251 repaintContents(contentsX(), contentsY(), visibleWidth(), visibleHeight()); 251 repaintContents(contentsX(), contentsY(), visibleWidth(), visibleHeight());
252} 252}
253 253
254//////////////////////////////////////////////////////////////////////////// 254////////////////////////////////////////////////////////////////////////////
255 255
256EventIndicator::EventIndicator(Location loc,QWidget *parent,const char *name) 256EventIndicator::EventIndicator(Location loc,QWidget *parent,const char *name)
257 : QFrame(parent,name) 257 : QFrame(parent,name)
258{ 258{
259 mColumns = 1; 259 mColumns = 1;
260 mTopBox = 0; 260 mTopBox = 0;
261 mLocation = loc; 261 mLocation = loc;
262 mTopLayout = 0; 262 mTopLayout = 0;
263 mPaintWidget = 0; 263 mPaintWidget = 0;
264 mXOffset = 0; 264 mXOffset = 0;
265 if (mLocation == Top) mPixmap = SmallIcon("1uparrow"); 265 if (mLocation == Top) mPixmap = SmallIcon("1uparrow");
266 else mPixmap = SmallIcon("1downarrow"); 266 else mPixmap = SmallIcon("1downarrow");
267 mEnabled.resize(mColumns); 267 mEnabled.resize(mColumns);
268 if (mLocation == Top) 268 if (mLocation == Top)
269 setMaximumHeight(0); 269 setMaximumHeight(0);
270 else 270 else
271 setMinimumHeight(mPixmap.height()); 271 setMinimumHeight(mPixmap.height());
272} 272}
273 273
274EventIndicator::~EventIndicator() 274EventIndicator::~EventIndicator()
275{ 275{
276} 276}
277 277
278void EventIndicator::drawContents(QPainter *p) 278void EventIndicator::drawContents(QPainter *p)
279{ 279{
280 280
281 // kdDebug() << "======== top: " << contentsRect().top() << " bottom " << // contentsRect().bottom() << " left " << contentsRect().left() << " right " << contentsRect().right() << endl; 281 // kdDebug() << "======== top: " << contentsRect().top() << " bottom " << // contentsRect().bottom() << " left " << contentsRect().left() << " right " << contentsRect().right() << endl;
282 KDGanttSplitterHandle* han = 0; 282 KDGanttSplitterHandle* han = 0;
283 if ( mPaintWidget ) 283 if ( mPaintWidget )
284 han = mPaintWidget->firstHandle(); 284 han = mPaintWidget->firstHandle();
285 if ( ! han ) { 285 if ( ! han ) {
286 int i; 286 int i;
287 for(i=0;i<mColumns;++i) { 287 for(i=0;i<mColumns;++i) {
288 if (mEnabled[i]) { 288 if (mEnabled[i]) {
289 int cellWidth = contentsRect().right()/mColumns; 289 int cellWidth = contentsRect().right()/mColumns;
290 int xOffset = KOGlobals::self()->reverseLayout() ? 290 int xOffset = KOGlobals::self()->reverseLayout() ?
291 (mColumns - 1 - i)*cellWidth + cellWidth/2 -mPixmap.width()/2 : 291 (mColumns - 1 - i)*cellWidth + cellWidth/2 -mPixmap.width()/2 :
292 i*cellWidth + cellWidth/2 -mPixmap.width()/2; 292 i*cellWidth + cellWidth/2 -mPixmap.width()/2;
293 p->drawPixmap(QPoint(xOffset,0),mPixmap); 293 p->drawPixmap(QPoint(xOffset,0),mPixmap);
294 } 294 }
295 } 295 }
296 } else { 296 } else {
297 han->repaint(); 297 han->repaint();
298 //mPaintWidget->setBackgroundColor( red ); 298 //mPaintWidget->setBackgroundColor( red );
299 299
300 QPainter pa( han ); 300 QPainter pa( han );
301 int i; 301 int i;
302 bool setColor = false; 302 bool setColor = false;
303 for(i=0;i<mColumns;++i) { 303 for(i=0;i<mColumns;++i) {
304 if (mEnabled[i]) { 304 if (mEnabled[i]) {
305 setColor = true; 305 setColor = true;
306 306
307 int cellWidth = contentsRect().right()/mColumns; 307 int cellWidth = contentsRect().right()/mColumns;
308 int xOffset = KOGlobals::self()->reverseLayout() ? 308 int xOffset = KOGlobals::self()->reverseLayout() ?
309 (mColumns - 1 - i)*cellWidth + cellWidth/2 -mPixmap.width()/2 : 309 (mColumns - 1 - i)*cellWidth + cellWidth/2 -mPixmap.width()/2 :
310 i*cellWidth + cellWidth/2 -mPixmap.width()/2; 310 i*cellWidth + cellWidth/2 -mPixmap.width()/2;
311 pa.drawPixmap(QPoint(mXOffset + xOffset,0),mPixmap); 311 pa.drawPixmap(QPoint(mXOffset + xOffset,0),mPixmap);
312 //qDebug("222draw pix %d ",xOffset ); 312 //qDebug("222draw pix %d ",xOffset );
313 313
314 } 314 }
315 315
316 } 316 }
317 pa.end(); 317 pa.end();
318 318
319 } 319 }
320} 320}
321 321
322void EventIndicator::setXOffset( int x ) 322void EventIndicator::setXOffset( int x )
323{ 323{
324 mXOffset = x; 324 mXOffset = x;
325} 325}
326void EventIndicator::setPaintWidget( KDGanttMinimizeSplitter * w ) 326void EventIndicator::setPaintWidget( KDGanttMinimizeSplitter * w )
327{ 327{
328 mPaintWidget = w; 328 mPaintWidget = w;
329} 329}
330void EventIndicator::changeColumns(int columns) 330void EventIndicator::changeColumns(int columns)
331{ 331{
332 mColumns = columns; 332 mColumns = columns;
333 mEnabled.resize(mColumns); 333 mEnabled.resize(mColumns);
334 334
335 update(); 335 update();
336} 336}
337 337
338void EventIndicator::enableColumn(int column, bool enable) 338void EventIndicator::enableColumn(int column, bool enable)
339{ 339{
340 mEnabled[column] = enable; 340 mEnabled[column] = enable;
341} 341}
342 342
343 343
344//////////////////////////////////////////////////////////////////////////// 344////////////////////////////////////////////////////////////////////////////
345//////////////////////////////////////////////////////////////////////////// 345////////////////////////////////////////////////////////////////////////////
346//////////////////////////////////////////////////////////////////////////// 346////////////////////////////////////////////////////////////////////////////
347 347
348KOAgendaView::KOAgendaView(Calendar *cal,QWidget *parent,const char *name) : 348KOAgendaView::KOAgendaView(Calendar *cal,QWidget *parent,const char *name) :
349 KOEventView (cal,parent,name) 349 KOEventView (cal,parent,name)
350{ 350{
351 mBlockUpdating = true; 351 mBlockUpdating = true;
352 mStartHour = 8; 352 mStartHour = 8;
353 mSelectedDates.append(QDate::currentDate()); 353 mSelectedDates.append(QDate::currentDate());
354 354
355 mLayoutDayLabels = 0; 355 mLayoutDayLabels = 0;
356 mDayLabelsFrame = 0; 356 mDayLabelsFrame = 0;
357 mDayLabels = 0; 357 mDayLabels = 0;
358 bool isRTL = KOGlobals::self()->reverseLayout(); 358 bool isRTL = KOGlobals::self()->reverseLayout();
359 359
360 if ( KOPrefs::instance()->mVerticalScreen ) { 360 if ( KOPrefs::instance()->mVerticalScreen ) {
361 mExpandedPixmap = SmallIcon( "1downarrow" ); 361 mExpandedPixmap = SmallIcon( "1downarrow" );
362 mNotExpandedPixmap = SmallIcon( "1uparrow" ); 362 mNotExpandedPixmap = SmallIcon( "1uparrow" );
363 } else { 363 } else {
364 mExpandedPixmap = SmallIcon( isRTL ? "1leftarrow" : "1rightarrow" ); 364 mExpandedPixmap = SmallIcon( isRTL ? "1leftarrow" : "1rightarrow" );
365 mNotExpandedPixmap = SmallIcon( isRTL ? "1rightarrow" : "1leftarrow" ); 365 mNotExpandedPixmap = SmallIcon( isRTL ? "1rightarrow" : "1leftarrow" );
366 } 366 }
367 367
368 QBoxLayout *topLayout = new QVBoxLayout(this); 368 QBoxLayout *topLayout = new QVBoxLayout(this);
369 369
370 // Create day name labels for agenda columns 370 // Create day name labels for agenda columns
371 mDayLabelsFrame = new QHBox(this); 371 mDayLabelsFrame = new QHBox(this);
372 topLayout->addWidget(mDayLabelsFrame); 372 topLayout->addWidget(mDayLabelsFrame);
373 mDayLabels = new QFrame (mDayLabelsFrame); 373 mDayLabels = new QFrame (mDayLabelsFrame);
374 mLayoutDayLabels = new QHBoxLayout(mDayLabels); 374 mLayoutDayLabels = new QHBoxLayout(mDayLabels);
375 // Create agenda splitter 375 // Create agenda splitter
376#ifndef KORG_NOSPLITTER 376#ifndef KORG_NOSPLITTER
377 mSplitterAgenda = new QSplitter(Vertical,this); 377 mSplitterAgenda = new QSplitter(Vertical,this);
378 topLayout->addWidget(mSplitterAgenda); 378 topLayout->addWidget(mSplitterAgenda);
379 mSplitterAgenda->setOpaqueResize(); 379 mSplitterAgenda->setOpaqueResize();
380 380
381 mAllDayFrame = new QHBox(mSplitterAgenda); 381 mAllDayFrame = new QHBox(mSplitterAgenda);
382 382
383 QWidget *agendaFrame = new QWidget(mSplitterAgenda); 383 QWidget *agendaFrame = new QWidget(mSplitterAgenda);
384#else 384#else
385#if 0 385#if 0
386 QWidget *mainBox = new QWidget( this ); 386 QWidget *mainBox = new QWidget( this );
387 topLayout->addWidget( mainBox ); 387 topLayout->addWidget( mainBox );
388 QBoxLayout *mainLayout = new QVBoxLayout(mainBox); 388 QBoxLayout *mainLayout = new QVBoxLayout(mainBox);
389 mAllDayFrame = new QHBox(mainBox); 389 mAllDayFrame = new QHBox(mainBox);
390 mainLayout->addWidget(mAllDayFrame); 390 mainLayout->addWidget(mAllDayFrame);
391 mainLayout->setStretchFactor( mAllDayFrame, 0 ); 391 mainLayout->setStretchFactor( mAllDayFrame, 0 );
392 mAllDayFrame->setFocusPolicy(NoFocus); 392 mAllDayFrame->setFocusPolicy(NoFocus);
393 QWidget *agendaFrame = new QWidget(mainBox); 393 QWidget *agendaFrame = new QWidget(mainBox);
394 mainLayout->addWidget(agendaFrame); 394 mainLayout->addWidget(agendaFrame);
395 mainLayout->setStretchFactor( agendaFrame, 10 ); 395 mainLayout->setStretchFactor( agendaFrame, 10 );
396 396
397 agendaFrame->setFocusPolicy(NoFocus); 397 agendaFrame->setFocusPolicy(NoFocus);
398#endif 398#endif
399 mSplitterAgenda = new KDGanttMinimizeSplitter( Qt::Vertical, this); 399 mSplitterAgenda = new KDGanttMinimizeSplitter( Qt::Vertical, this);
400 mSplitterAgenda->setMinimizeDirection ( KDGanttMinimizeSplitter::Up ); 400 mSplitterAgenda->setMinimizeDirection ( KDGanttMinimizeSplitter::Up );
401 topLayout->addWidget( mSplitterAgenda ); 401 topLayout->addWidget( mSplitterAgenda );
402 mAllDayFrame = new QHBox(mSplitterAgenda); 402 mAllDayFrame = new QHBox(mSplitterAgenda);
403 mAllDayFrame->setFocusPolicy(NoFocus); 403 mAllDayFrame->setFocusPolicy(NoFocus);
404 QWidget *agendaFrame = new QWidget(mSplitterAgenda); 404 QWidget *agendaFrame = new QWidget(mSplitterAgenda);
405 agendaFrame->setFocusPolicy(NoFocus); 405 agendaFrame->setFocusPolicy(NoFocus);
406 406
407#endif 407#endif
408 408
409 // Create all-day agenda widget 409 // Create all-day agenda widget
410 mDummyAllDayLeft = new QVBox( mAllDayFrame ); 410 mDummyAllDayLeft = new QVBox( mAllDayFrame );
411 411
412 mExpandButton = new QPushButton(mDummyAllDayLeft); 412 mExpandButton = new QPushButton(mDummyAllDayLeft);
413 mExpandButton->setPixmap( mNotExpandedPixmap ); 413 mExpandButton->setPixmap( mNotExpandedPixmap );
414 int widebut = mExpandButton->sizeHint().width(); 414 int widebut = mExpandButton->sizeHint().width();
415 if ( QApplication::desktop()->width() < 480 ) 415 if ( QApplication::desktop()->width() < 480 )
416 widebut = widebut*2; 416 widebut = widebut*2;
417 else 417 else
418 widebut = (widebut*3) / 2; 418 widebut = (widebut*3) / 2;
419 //mExpandButton->setSizePolicy( QSizePolicy( QSizePolicy::Fixed, 419 //mExpandButton->setSizePolicy( QSizePolicy( QSizePolicy::Fixed,
420 // QSizePolicy::Fixed ) ); 420 // QSizePolicy::Fixed ) );
421 mExpandButton->setFixedSize( widebut, widebut); 421 mExpandButton->setFixedSize( widebut, widebut);
422 connect( mExpandButton, SIGNAL( clicked() ), SIGNAL( toggleExpand() ) ); 422 connect( mExpandButton, SIGNAL( clicked() ), SIGNAL( toggleExpand() ) );
423 mExpandButton->setFocusPolicy(NoFocus); 423 mExpandButton->setFocusPolicy(NoFocus);
424 mAllDayAgenda = new KOAgenda(1,mAllDayFrame); 424 mAllDayAgenda = new KOAgenda(1,mAllDayFrame);
425 mAllDayAgenda->setFocusPolicy(NoFocus); 425 mAllDayAgenda->setFocusPolicy(NoFocus);
426 QWidget *dummyAllDayRight = new QWidget(mAllDayFrame); 426 QWidget *dummyAllDayRight = new QWidget(mAllDayFrame);
427 427
diff --git a/korganizer/koviewmanager.cpp b/korganizer/koviewmanager.cpp
index e255b83..94c459b 100644
--- a/korganizer/koviewmanager.cpp
+++ b/korganizer/koviewmanager.cpp
@@ -1,398 +1,400 @@
1/* 1/*
2 This file is part of KOrganizer. 2 This file is part of KOrganizer.
3 3
4 Copyright (c) 2001 4 Copyright (c) 2001
5 Cornelius Schumacher <schumacher@kde.org> 5 Cornelius Schumacher <schumacher@kde.org>
6 6
7 This program is free software; you can redistribute it and/or modify 7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by 8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2 of the License, or 9 the Free Software Foundation; either version 2 of the License, or
10 (at your option) any later version. 10 (at your option) any later version.
11 11
12 This program is distributed in the hope that it will be useful, 12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of 13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the
15 GNU General Public License for more details. 15 GNU General Public License for more details.
16 16
17 You should have received a copy of the GNU General Public License 17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software 18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 19 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20 20
21 As a special exception, permission is given to link this program 21 As a special exception, permission is given to link this program
22 with any edition of Qt, and distribute the resulting executable, 22 with any edition of Qt, and distribute the resulting executable,
23 without including the source code for Qt in the source distribution. 23 without including the source code for Qt in the source distribution.
24*/ 24*/
25 25
26#include <qwidgetstack.h> 26#include <qwidgetstack.h>
27 27
28#include <kconfig.h> 28#include <kconfig.h>
29#include <kglobal.h> 29#include <kglobal.h>
30#ifndef DESKTOP_VERSION 30#ifndef DESKTOP_VERSION
31#include <qpe/qpeapplication.h> 31#include <qpe/qpeapplication.h>
32#else 32#else
33#include <qapplication.h> 33#include <qapplication.h>
34#endif 34#endif
35#include <qdatetime.h> 35#include <qdatetime.h>
36#include "calendarview.h" 36#include "calendarview.h"
37#include "datenavigator.h" 37#include "datenavigator.h"
38#include "kotodoview.h" 38#include "kotodoview.h"
39#include "koagendaview.h" 39#include "koagendaview.h"
40#include "kodialogmanager.h" 40#include "kodialogmanager.h"
41#include "komonthview.h" 41#include "komonthview.h"
42#include "kolistview.h" 42#include "kolistview.h"
43#include "kowhatsnextview.h" 43#include "kowhatsnextview.h"
44#include "kojournalview.h" 44#include "kojournalview.h"
45#include "kotimespanview.h" 45#include "kotimespanview.h"
46#include "koprefs.h" 46#include "koprefs.h"
47#include "navigatorbar.h" 47#include "navigatorbar.h"
48#include "kdatenavigator.h" 48#include "kdatenavigator.h"
49 49
50#include "koviewmanager.h" 50#include "koviewmanager.h"
51//extern bool externFlagMonthviewBlockPainting; 51//extern bool externFlagMonthviewBlockPainting;
52 52
53//bool globalFlagBlockPainting = false; 53//bool globalFlagBlockPainting = false;
54int globalFlagBlockAgenda = 0; 54int globalFlagBlockAgenda = 0;
55int globalFlagBlockLabel = 0; 55int globalFlagBlockLabel = 0;
56int globalFlagBlockAgendaItemPaint = 1; 56int globalFlagBlockAgendaItemPaint = 1;
57int globalFlagBlockAgendaItemUpdate = 1; 57int globalFlagBlockAgendaItemUpdate = 1;
58 58
59 59
60KOViewManager::KOViewManager( CalendarView *mainView ) : 60KOViewManager::KOViewManager( CalendarView *mainView ) :
61 QObject(), mMainView( mainView ) 61 QObject(), mMainView( mainView )
62{ 62{
63 mCurrentView = 0; 63 mCurrentView = 0;
64 64
65 mWhatsNextView = 0; 65 mWhatsNextView = 0;
66 mTodoView = 0; 66 mTodoView = 0;
67 mAgendaView = 0; 67 mAgendaView = 0;
68 mMonthView = 0; 68 mMonthView = 0;
69 mListView = 0; 69 mListView = 0;
70 mJournalView = 0; 70 mJournalView = 0;
71 mTimeSpanView = 0; 71 mTimeSpanView = 0;
72 mCurrentAgendaView = 0 ; 72 mCurrentAgendaView = 0 ;
73 mFlagShowNextxDays = false; 73 mFlagShowNextxDays = false;
74} 74}
75 75
76KOViewManager::~KOViewManager() 76KOViewManager::~KOViewManager()
77{ 77{
78} 78}
79 79
80 80
81KOrg::BaseView *KOViewManager::currentView() 81KOrg::BaseView *KOViewManager::currentView()
82{ 82{
83 return mCurrentView; 83 return mCurrentView;
84} 84}
85 85
86void KOViewManager::readSettings(KConfig *config) 86void KOViewManager::readSettings(KConfig *config)
87{ 87{
88 config->setGroup("General"); 88 config->setGroup("General");
89 QString view = config->readEntry("Current View"); 89 QString view = config->readEntry("Current View");
90 if (view == "WhatsNext") showWhatsNextView(); 90 if (view == "WhatsNext") showWhatsNextView();
91 else if (view == "Month") showMonthView(); 91 else if (view == "Month") showMonthView();
92 else if (view == "List") showListView(); 92 else if (view == "List") showListView();
93 else if (view == "Journal") showJournalView(); 93 else if (view == "Journal") showJournalView();
94 else if (view == "TimeSpan") showTimeSpanView(); 94 else if (view == "TimeSpan") showTimeSpanView();
95 else if (view == "Todo") showTodoView(); 95 else if (view == "Todo") showTodoView();
96 else { 96 else {
97 showAgendaView(); 97 showAgendaView();
98 } 98 }
99} 99}
100 100
101void KOViewManager::writeSettings(KConfig *config) 101void KOViewManager::writeSettings(KConfig *config)
102{ 102{
103 config->setGroup("General"); 103 config->setGroup("General");
104 104
105 QString view; 105 QString view;
106 if (mCurrentView == mWhatsNextView) view = "WhatsNext"; 106 if (mCurrentView == mWhatsNextView) view = "WhatsNext";
107 else if (mCurrentView == mMonthView) view = "Month"; 107 else if (mCurrentView == mMonthView) view = "Month";
108 else if (mCurrentView == mListView) view = "List"; 108 else if (mCurrentView == mListView) view = "List";
109 else if (mCurrentView == mJournalView) view = "Journal"; 109 else if (mCurrentView == mJournalView) view = "Journal";
110 else if (mCurrentView == mTimeSpanView) view = "TimeSpan"; 110 else if (mCurrentView == mTimeSpanView) view = "TimeSpan";
111 else if (mCurrentView == mTodoView) view = "Todo"; 111 else if (mCurrentView == mTodoView) view = "Todo";
112 else view = "Agenda"; 112 else view = "Agenda";
113 113
114 config->writeEntry("Current View",view); 114 config->writeEntry("Current View",view);
115 115
116 if (mAgendaView) { 116 if (mAgendaView) {
117 mAgendaView->writeSettings(config); 117 mAgendaView->writeSettings(config);
118 } 118 }
119 if (mTimeSpanView) { 119 if (mTimeSpanView) {
120 mTimeSpanView->writeSettings(config); 120 mTimeSpanView->writeSettings(config);
121 } 121 }
122 if (mListView) { 122 if (mListView) {
123 mListView->writeSettings(config); 123 mListView->writeSettings(config);
124 } 124 }
125 if (mTodoView) { 125 if (mTodoView) {
126 mTodoView->saveLayout(config,"Todo View"); 126 mTodoView->saveLayout(config,"Todo View");
127 } 127 }
128} 128}
129 129
130void KOViewManager::showView(KOrg::BaseView *view, bool fullScreen ) 130void KOViewManager::showView(KOrg::BaseView *view, bool fullScreen )
131{ 131{
132 132
133 //mFlagShowNextxDays = false; 133 //mFlagShowNextxDays = false;
134 //if(view == mCurrentView) return; 134 //if(view == mCurrentView) return;
135 if ( view == 0 ) { 135 if ( view == 0 ) {
136 view = mCurrentView; 136 view = mCurrentView;
137 if ( view == 0 ) 137 if ( view == 0 )
138 return; 138 return;
139 } 139 }
140 bool full = fullScreen; 140 bool full = fullScreen;
141 if(view == mCurrentView && view != mWhatsNextView ) { 141 if(view == mCurrentView && view != mWhatsNextView ) {
142 if ( mCurrentAgendaView < 0 ) 142 if ( mCurrentAgendaView < 0 )
143 return; 143 return;
144 full = mMainView->leftFrame()->isVisible(); 144 full = mMainView->leftFrame()->isVisible();
145 } else { 145 } else {
146 mCurrentView = view; 146 mCurrentView = view;
147 147
148 // bool full = fullScreen; 148 // bool full = fullScreen;
149 bool isFull = !mMainView->leftFrame()->isVisible(); 149 bool isFull = !mMainView->leftFrame()->isVisible();
150 if ( isFull && KOPrefs::instance()->mViewChangeHoldFullscreen ) 150 if ( isFull && KOPrefs::instance()->mViewChangeHoldFullscreen )
151 full = true; 151 full = true;
152 if ( !isFull && KOPrefs::instance()->mViewChangeHoldNonFullscreen ) 152 if ( !isFull && KOPrefs::instance()->mViewChangeHoldNonFullscreen )
153 full = false; 153 full = false;
154 } 154 }
155 if ( mAgendaView ) mAgendaView->deleteSelectedDateTime(); 155 if ( mAgendaView ) mAgendaView->deleteSelectedDateTime();
156 //raiseCurrentView( full ); 156 //raiseCurrentView( full );
157 mMainView->processIncidenceSelection( 0 ); 157 mMainView->processIncidenceSelection( 0 );
158 mMainView->updateView(); 158 mMainView->updateView();
159 raiseCurrentView( full ); 159 raiseCurrentView( full );
160 mMainView->adaptNavigationUnits(); 160 mMainView->adaptNavigationUnits();
161} 161}
162 162
163void KOViewManager::raiseCurrentView( bool fullScreen ) 163void KOViewManager::raiseCurrentView( bool fullScreen )
164{ 164{
165 //qDebug("raiseCurrentView "); 165 //qDebug("raiseCurrentView ");
166 mCurrentAgendaView = 0; 166 mCurrentAgendaView = 0;
167 int wid = mMainView->width() ; 167 int wid = mMainView->width() ;
168 int hei = mMainView->height(); 168 int hei = mMainView->height();
169 if ( mCurrentView == mMonthView ) { 169 if ( mCurrentView == mMonthView ) {
170 mMainView->navigatorBar()->show(); 170 mMainView->navigatorBar()->show();
171 hei -= mMainView->navigatorBar()->sizeHint().height(); 171 hei -= mMainView->navigatorBar()->sizeHint().height();
172 //mMainView->navigatorBar()->hide(); 172 //mMainView->navigatorBar()->hide();
173 } else { 173 } else {
174 mMainView->navigatorBar()->hide(); 174 mMainView->navigatorBar()->hide();
175 } 175 }
176 if ( fullScreen ) { 176 if ( fullScreen ) {
177 mMainView->leftFrame()->hide(); 177 mMainView->leftFrame()->hide();
178 } else { 178 } else {
179 mMainView->leftFrame()->show(); 179 mMainView->leftFrame()->show();
180 if ( KOPrefs::instance()->mVerticalScreen ) 180 if ( KOPrefs::instance()->mVerticalScreen )
181 hei -= mMainView->leftFrame()->height(); 181 hei -= mMainView->leftFrame()->height();
182 else 182 else
183 wid -= mMainView->leftFrame()->width(); 183 wid -= mMainView->leftFrame()->width();
184 } 184 }
185 185 emit signalFullScreen( !fullScreen );
186 if ( globalFlagBlockAgenda == 5 ) { 186 if ( globalFlagBlockAgenda == 5 ) {
187 globalFlagBlockAgenda = 4; 187 globalFlagBlockAgenda = 4;
188 globalFlagBlockAgendaItemPaint = 1; 188 globalFlagBlockAgendaItemPaint = 1;
189 } 189 }
190 mMainView->viewStack()->raiseWidget(mCurrentView); 190 mMainView->viewStack()->raiseWidget(mCurrentView);
191 if ( globalFlagBlockAgenda == 4 ) { 191 if ( globalFlagBlockAgenda == 4 ) {
192 if ( mCurrentView == mAgendaView ) { 192 if ( mCurrentView == mAgendaView ) {
193 //globalFlagBlockAgenda =1 ; 193 //globalFlagBlockAgenda =1 ;
194 if ( KOPrefs::instance()->mSetTimeToDayStartAt ) 194 if ( KOPrefs::instance()->mSetTimeToDayStartAt )
195 mAgendaView->setStartHour( KOPrefs::instance()->mDayBegins ); 195 mAgendaView->setStartHour( KOPrefs::instance()->mDayBegins );
196 else if ( KOPrefs::instance()->mCenterOnCurrentTime ) 196 else if ( KOPrefs::instance()->mCenterOnCurrentTime )
197 mAgendaView->setStartHour( QTime::currentTime ().hour() ); 197 mAgendaView->setStartHour( QTime::currentTime ().hour() );
198 qApp->processEvents(); 198 qApp->processEvents();
199 //qDebug("qApp->processEvents() "); 199 //qDebug("qApp->processEvents() ");
200 globalFlagBlockAgenda = 0; 200 globalFlagBlockAgenda = 0;
201 mAgendaView->repaintAgenda(); 201 mAgendaView->repaintAgenda();
202 202
203 } 203 }
204 globalFlagBlockAgenda = 0; 204 globalFlagBlockAgenda = 0;
205 } 205 }
206 emit signalAgendaView( mCurrentView == mAgendaView );
206 //qDebug("raiseCurrentView ende "); 207 //qDebug("raiseCurrentView ende ");
208
207} 209}
208 210
209void KOViewManager::updateView() 211void KOViewManager::updateView()
210{ 212{
211 // qDebug("KOViewManager::updateView() "); 213 // qDebug("KOViewManager::updateView() ");
212 // if we are updating mTodoView, we get endless recursion 214 // if we are updating mTodoView, we get endless recursion
213 if ( mTodoView == mCurrentView ) 215 if ( mTodoView == mCurrentView )
214 return; 216 return;
215 if ( mCurrentView ) mCurrentView->updateView(); 217 if ( mCurrentView ) mCurrentView->updateView();
216 218
217} 219}
218 220
219void KOViewManager::updateView(const QDate &start, const QDate &end) 221void KOViewManager::updateView(const QDate &start, const QDate &end)
220{ 222{
221 // kdDebug() << "KOViewManager::updateView()" << endl; 223 // kdDebug() << "KOViewManager::updateView()" << endl;
222 224
223 if (mCurrentView) mCurrentView->showDates(start, end); 225 if (mCurrentView) mCurrentView->showDates(start, end);
224 226
225 if (mTodoView) mTodoView->updateView(); 227 if (mTodoView) mTodoView->updateView();
226} 228}
227 229
228 230
229void KOViewManager::updateWNview() 231void KOViewManager::updateWNview()
230{ 232{
231 if ( mCurrentView == mWhatsNextView && mWhatsNextView ) 233 if ( mCurrentView == mWhatsNextView && mWhatsNextView )
232 mWhatsNextView->updateView(); 234 mWhatsNextView->updateView();
233 235
234} 236}
235void KOViewManager::showWhatsNextView() 237void KOViewManager::showWhatsNextView()
236{ 238{
237 if (!mWhatsNextView) { 239 if (!mWhatsNextView) {
238 mWhatsNextView = new KOWhatsNextView(mMainView->calendar(),mMainView->viewStack(), 240 mWhatsNextView = new KOWhatsNextView(mMainView->calendar(),mMainView->viewStack(),
239 "KOViewManager::WhatsNextView"); 241 "KOViewManager::WhatsNextView");
240 mWhatsNextView->setEventViewer( mMainView->getEventViewerDialog()); 242 mWhatsNextView->setEventViewer( mMainView->getEventViewerDialog());
241 connect(mMainView, SIGNAL(configChanged()), mWhatsNextView, SLOT(updateConfig())); 243 connect(mMainView, SIGNAL(configChanged()), mWhatsNextView, SLOT(updateConfig()));
242 addView(mWhatsNextView); 244 addView(mWhatsNextView);
243 connect(this, SIGNAL( printWNV() ), 245 connect(this, SIGNAL( printWNV() ),
244 mWhatsNextView, SLOT( printMe() ) ); 246 mWhatsNextView, SLOT( printMe() ) );
245 } 247 }
246 globalFlagBlockAgenda = 1; 248 globalFlagBlockAgenda = 1;
247 showView(mWhatsNextView, true ); 249 showView(mWhatsNextView, true );
248 //mWhatsNextView->updateView(); 250 //mWhatsNextView->updateView();
249 251
250} 252}
251 253
252void KOViewManager::showListView() 254void KOViewManager::showListView()
253{ 255{
254 if (!mListView) { 256 if (!mListView) {
255 mListView = new KOListView(mMainView->calendar(), mMainView->viewStack(), "KOViewManager::ListView"); 257 mListView = new KOListView(mMainView->calendar(), mMainView->viewStack(), "KOViewManager::ListView");
256 addView(mListView); 258 addView(mListView);
257 259
258 connect(mListView, SIGNAL(showIncidenceSignal(Incidence *)), 260 connect(mListView, SIGNAL(showIncidenceSignal(Incidence *)),
259 mMainView, SLOT(showIncidence(Incidence *))); 261 mMainView, SLOT(showIncidence(Incidence *)));
260 connect(mListView, SIGNAL(editIncidenceSignal(Incidence *)), 262 connect(mListView, SIGNAL(editIncidenceSignal(Incidence *)),
261 mMainView, SLOT(editIncidence(Incidence *))); 263 mMainView, SLOT(editIncidence(Incidence *)));
262 connect(mListView, SIGNAL(deleteIncidenceSignal(Incidence *)), 264 connect(mListView, SIGNAL(deleteIncidenceSignal(Incidence *)),
263 mMainView, SLOT(deleteIncidence(Incidence *))); 265 mMainView, SLOT(deleteIncidence(Incidence *)));
264 connect( mListView, SIGNAL( incidenceSelected( Incidence * ) ), 266 connect( mListView, SIGNAL( incidenceSelected( Incidence * ) ),
265 mMainView, SLOT( processMainViewSelection( Incidence * ) ) ); 267 mMainView, SLOT( processMainViewSelection( Incidence * ) ) );
266 connect( mListView, SIGNAL( signalNewEvent() ), 268 connect( mListView, SIGNAL( signalNewEvent() ),
267 mMainView, SLOT( newEvent() ) ); 269 mMainView, SLOT( newEvent() ) );
268 connect(mMainView, SIGNAL(configChanged()), mListView, SLOT(updateConfig())); 270 connect(mMainView, SIGNAL(configChanged()), mListView, SLOT(updateConfig()));
269 connect( mListView, SIGNAL( cloneIncidenceSignal( Incidence * ) ), 271 connect( mListView, SIGNAL( cloneIncidenceSignal( Incidence * ) ),
270 mMainView, SLOT ( cloneIncidence( Incidence * ) ) ); 272 mMainView, SLOT ( cloneIncidence( Incidence * ) ) );
271 connect( mListView, SIGNAL( cancelIncidenceSignal( Incidence * ) ), 273 connect( mListView, SIGNAL( cancelIncidenceSignal( Incidence * ) ),
272 mMainView, SLOT ( cancelIncidence( Incidence * ) ) ); 274 mMainView, SLOT ( cancelIncidence( Incidence * ) ) );
273 connect( mListView, SIGNAL( moveIncidenceSignal( Incidence * ) ), 275 connect( mListView, SIGNAL( moveIncidenceSignal( Incidence * ) ),
274 mMainView, SLOT ( moveIncidence( Incidence * ) ) ); 276 mMainView, SLOT ( moveIncidence( Incidence * ) ) );
275 connect( mListView, SIGNAL( beamIncidenceSignal( Incidence * ) ), 277 connect( mListView, SIGNAL( beamIncidenceSignal( Incidence * ) ),
276 mMainView, SLOT ( beamIncidence( Incidence * ) ) ); 278 mMainView, SLOT ( beamIncidence( Incidence * ) ) );
277 } 279 }
278 // bool temp = mFlagShowNextxDays; 280 // bool temp = mFlagShowNextxDays;
279 //globalFlagBlockPainting = true; 281 //globalFlagBlockPainting = true;
280 globalFlagBlockAgenda = 1; 282 globalFlagBlockAgenda = 1;
281 if ( KOPrefs::instance()->mListViewMonthTimespan ) { 283 if ( KOPrefs::instance()->mListViewMonthTimespan ) {
282 mMainView->setBlockShowDates( true ); 284 mMainView->setBlockShowDates( true );
283 mMainView->dateNavigator()->selectMonth(); 285 mMainView->dateNavigator()->selectMonth();
284 mMainView->setBlockShowDates( false ); 286 mMainView->setBlockShowDates( false );
285 } 287 }
286 showView(mListView, KOPrefs::instance()->mFullViewTodo); 288 showView(mListView, KOPrefs::instance()->mFullViewTodo);
287 //mFlagShowNextxDays = temp; 289 //mFlagShowNextxDays = temp;
288} 290}
289 291
290void KOViewManager::showAgendaView( bool fullScreen ) 292void KOViewManager::showAgendaView( bool fullScreen )
291{ 293{
292 294
293 mMainView->dialogManager()->hideSearchDialog(); 295 mMainView->dialogManager()->hideSearchDialog();
294 // qDebug("KOViewManager::showAgendaView "); 296 // qDebug("KOViewManager::showAgendaView ");
295 bool full; 297 bool full;
296 full = fullScreen; 298 full = fullScreen;
297 if (!mAgendaView) { 299 if (!mAgendaView) {
298 full = false; 300 full = false;
299 mAgendaView = new KOAgendaView(mMainView->calendar(), mMainView->viewStack(), "KOViewManager::AgendaView"); 301 mAgendaView = new KOAgendaView(mMainView->calendar(), mMainView->viewStack(), "KOViewManager::AgendaView");
300 addView(mAgendaView); 302 addView(mAgendaView);
301#ifndef DESKTOP_VERSION 303#ifndef DESKTOP_VERSION
302 QPEApplication::setStylusOperation( mAgendaView, QPEApplication::RightOnHold ); 304 QPEApplication::setStylusOperation( mAgendaView, QPEApplication::RightOnHold );
303#endif 305#endif
304 connect( mAgendaView, SIGNAL( incidenceChanged(Incidence *, int )), 306 connect( mAgendaView, SIGNAL( incidenceChanged(Incidence *, int )),
305 mMainView, SLOT( changeIncidenceDisplay( Incidence *, int ) )); 307 mMainView, SLOT( changeIncidenceDisplay( Incidence *, int ) ));
306 308
307 // SIGNALS/SLOTS FOR DAY/WEEK VIEW 309 // SIGNALS/SLOTS FOR DAY/WEEK VIEW
308 connect(mAgendaView,SIGNAL(newEventSignal(QDateTime)), 310 connect(mAgendaView,SIGNAL(newEventSignal(QDateTime)),
309 mMainView, SLOT(newEvent(QDateTime))); 311 mMainView, SLOT(newEvent(QDateTime)));
310 // connect(mAgendaView,SIGNAL(newEventSignal(QDateTime,QDateTime)), 312 // connect(mAgendaView,SIGNAL(newEventSignal(QDateTime,QDateTime)),
311 // mMainView, SLOT(newEvent(QDateTime,QDateTime))); 313 // mMainView, SLOT(newEvent(QDateTime,QDateTime)));
312 connect(mAgendaView,SIGNAL(newEventSignal(QDate)), 314 connect(mAgendaView,SIGNAL(newEventSignal(QDate)),
313 mMainView, SLOT(newEvent(QDate))); 315 mMainView, SLOT(newEvent(QDate)));
314 316
315 connect(mAgendaView, SIGNAL(editIncidenceSignal(Incidence *)), 317 connect(mAgendaView, SIGNAL(editIncidenceSignal(Incidence *)),
316 mMainView, SLOT(editIncidence(Incidence *))); 318 mMainView, SLOT(editIncidence(Incidence *)));
317 connect(mAgendaView, SIGNAL(showIncidenceSignal(Incidence *)), 319 connect(mAgendaView, SIGNAL(showIncidenceSignal(Incidence *)),
318 mMainView, SLOT(showIncidence(Incidence *))); 320 mMainView, SLOT(showIncidence(Incidence *)));
319 connect(mAgendaView, SIGNAL(deleteIncidenceSignal(Incidence *)), 321 connect(mAgendaView, SIGNAL(deleteIncidenceSignal(Incidence *)),
320 mMainView, SLOT(deleteIncidence(Incidence *))); 322 mMainView, SLOT(deleteIncidence(Incidence *)));
321 323
322 connect( mAgendaView, SIGNAL( incidenceSelected( Incidence * ) ), 324 connect( mAgendaView, SIGNAL( incidenceSelected( Incidence * ) ),
323 mMainView, SLOT( processMainViewSelection( Incidence * ) ) ); 325 mMainView, SLOT( processMainViewSelection( Incidence * ) ) );
324 326
325 connect(mAgendaView, SIGNAL( toggleExpand() ), 327 connect(mAgendaView, SIGNAL( toggleExpand() ),
326 mMainView, SLOT( toggleExpand() ) ); 328 mMainView, SLOT( toggleExpand() ) );
327 329
328 connect(mMainView, SIGNAL( calendarViewExpanded( bool ) ), 330 connect(mMainView, SIGNAL( calendarViewExpanded( bool ) ),
329 mAgendaView, SLOT( setExpandedButton( bool ) ) ); 331 mAgendaView, SLOT( setExpandedButton( bool ) ) );
330 connect( mAgendaView, SIGNAL( cloneIncidenceSignal(Incidence *) ), 332 connect( mAgendaView, SIGNAL( cloneIncidenceSignal(Incidence *) ),
331 mMainView, SLOT(cloneIncidence(Incidence *) ) ) ; 333 mMainView, SLOT(cloneIncidence(Incidence *) ) ) ;
332 connect( mAgendaView, SIGNAL( cancelIncidenceSignal(Incidence *) ), 334 connect( mAgendaView, SIGNAL( cancelIncidenceSignal(Incidence *) ),
333 mMainView, SLOT(cancelIncidence(Incidence *) ) ) ; 335 mMainView, SLOT(cancelIncidence(Incidence *) ) ) ;
334 connect(mMainView, SIGNAL(configChanged()), mAgendaView, SLOT(updateConfig())); 336 connect(mMainView, SIGNAL(configChanged()), mAgendaView, SLOT(updateConfig()));
335 connect( mMainView, SIGNAL( todoModified( Todo *, int )), mAgendaView, 337 connect( mMainView, SIGNAL( todoModified( Todo *, int )), mAgendaView,
336 SLOT( updateTodo( Todo *, int ) ) ); 338 SLOT( updateTodo( Todo *, int ) ) );
337 connect( mAgendaView,SIGNAL( todoMoved( Todo *, int )), 339 connect( mAgendaView,SIGNAL( todoMoved( Todo *, int )),
338 mMainView, SIGNAL( todoModified( Todo *, int ))); 340 mMainView, SIGNAL( todoModified( Todo *, int )));
339 connect( mAgendaView, SIGNAL( moveIncidenceSignal( Incidence * ) ), 341 connect( mAgendaView, SIGNAL( moveIncidenceSignal( Incidence * ) ),
340 mMainView, SLOT ( moveIncidence( Incidence * ) ) ); 342 mMainView, SLOT ( moveIncidence( Incidence * ) ) );
341 connect( mAgendaView, SIGNAL( beamIncidenceSignal( Incidence * ) ), 343 connect( mAgendaView, SIGNAL( beamIncidenceSignal( Incidence * ) ),
342 mMainView, SLOT ( beamIncidence( Incidence * ) ) ); 344 mMainView, SLOT ( beamIncidence( Incidence * ) ) );
343 mAgendaView->readSettings(); 345 mAgendaView->readSettings();
344 mAgendaView->updateConfig(); 346 mAgendaView->updateConfig();
345 } 347 }
346 348
347 showView( mAgendaView, full); 349 showView( mAgendaView, full);
348 350
349} 351}
350 352
351void KOViewManager::showDayView() 353void KOViewManager::showDayView()
352{ 354{
353 mFlagShowNextxDays = false; 355 mFlagShowNextxDays = false;
354 globalFlagBlockLabel = 1; 356 globalFlagBlockLabel = 1;
355 globalFlagBlockAgenda = 1; 357 globalFlagBlockAgenda = 1;
356 if ( mCurrentAgendaView != 1 ) 358 if ( mCurrentAgendaView != 1 )
357 mCurrentAgendaView = -1; 359 mCurrentAgendaView = -1;
358 showAgendaView(); 360 showAgendaView();
359 qApp->processEvents(); 361 qApp->processEvents();
360 globalFlagBlockAgenda = 2; 362 globalFlagBlockAgenda = 2;
361 globalFlagBlockLabel = 0; 363 globalFlagBlockLabel = 0;
362 mMainView->dateNavigator()->selectDates( 1 ); 364 mMainView->dateNavigator()->selectDates( 1 );
363 mCurrentAgendaView = 1 ; 365 mCurrentAgendaView = 1 ;
364 366
365} 367}
366 368
367void KOViewManager::showWorkWeekView() 369void KOViewManager::showWorkWeekView()
368{ 370{
369 mFlagShowNextxDays = false; 371 mFlagShowNextxDays = false;
370 globalFlagBlockAgenda = 1; 372 globalFlagBlockAgenda = 1;
371 globalFlagBlockLabel = 1; 373 globalFlagBlockLabel = 1;
372 if ( mCurrentAgendaView != 5 ) 374 if ( mCurrentAgendaView != 5 )
373 mCurrentAgendaView = -1; 375 mCurrentAgendaView = -1;
374 showAgendaView(); 376 showAgendaView();
375 qApp->processEvents(); 377 qApp->processEvents();
376 globalFlagBlockAgenda = 2; 378 globalFlagBlockAgenda = 2;
377 globalFlagBlockLabel = 0; 379 globalFlagBlockLabel = 0;
378 mMainView->dateNavigator()->selectWorkWeek(); 380 mMainView->dateNavigator()->selectWorkWeek();
379 mCurrentAgendaView = 5 ; 381 mCurrentAgendaView = 5 ;
380 382
381} 383}
382 384
383void KOViewManager::showWeekView() 385void KOViewManager::showWeekView()
384{ 386{
385 /* 387 /*
386 globalFlagBlockAgenda = 2; 388 globalFlagBlockAgenda = 2;
387 qDebug("4globalFlagBlockAgenda = 2; "); 389 qDebug("4globalFlagBlockAgenda = 2; ");
388 //globalFlagBlockPainting = true; 390 //globalFlagBlockPainting = true;
389 mMainView->dateNavigator()->selectWeek(); 391 mMainView->dateNavigator()->selectWeek();
390 showAgendaView(); 392 showAgendaView();
391 */ 393 */
392 394
393 395
394 mFlagShowNextxDays = false; 396 mFlagShowNextxDays = false;
395 globalFlagBlockAgenda = 1; 397 globalFlagBlockAgenda = 1;
396 globalFlagBlockLabel = 1; 398 globalFlagBlockLabel = 1;
397 if ( mCurrentAgendaView != 7 ) 399 if ( mCurrentAgendaView != 7 )
398 mCurrentAgendaView = -1; 400 mCurrentAgendaView = -1;
diff --git a/korganizer/koviewmanager.h b/korganizer/koviewmanager.h
index 3c251fb..c8c7a7a 100644
--- a/korganizer/koviewmanager.h
+++ b/korganizer/koviewmanager.h
@@ -1,115 +1,117 @@
1/* 1/*
2 This file is part of KOrganizer. 2 This file is part of KOrganizer.
3 Copyright (c) 2001 3 Copyright (c) 2001
4 Cornelius Schumacher <schumacher@kde.org> 4 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 KOVIEWMANAGER_H 24#ifndef KOVIEWMANAGER_H
25#define KOVIEWMANAGER_H 25#define KOVIEWMANAGER_H
26 26
27#include <qobject.h> 27#include <qobject.h>
28 28
29#include <korganizer/baseview.h> 29#include <korganizer/baseview.h>
30 30
31class CalendarView; 31class CalendarView;
32 32
33class KOListView; 33class KOListView;
34class KOAgendaView; 34class KOAgendaView;
35class KOMonthView; 35class KOMonthView;
36class KOTimeSpanView; 36class KOTimeSpanView;
37class KOTodoView; 37class KOTodoView;
38class KOWhatsNextView; 38class KOWhatsNextView;
39class KOJournalView; 39class KOJournalView;
40 40
41using namespace KCal; 41using namespace KCal;
42 42
43/** 43/**
44 This class manages the views of the calendar. It owns the objects and handles 44 This class manages the views of the calendar. It owns the objects and handles
45 creation and selection. 45 creation and selection.
46*/ 46*/
47class KOViewManager : public QObject 47class KOViewManager : public QObject
48{ 48{
49 Q_OBJECT 49 Q_OBJECT
50 public: 50 public:
51 KOViewManager( CalendarView * ); 51 KOViewManager( CalendarView * );
52 virtual ~KOViewManager(); 52 virtual ~KOViewManager();
53 53
54 /** changes the view to be the currently selected view */ 54 /** changes the view to be the currently selected view */
55 void showView(KOrg::BaseView *, bool fullScreen = false ); 55 void showView(KOrg::BaseView *, bool fullScreen = false );
56 void updateWNview(); 56 void updateWNview();
57 void readSettings(KConfig *config); 57 void readSettings(KConfig *config);
58 void writeSettings(KConfig *config); 58 void writeSettings(KConfig *config);
59 bool showsNextDays(); 59 bool showsNextDays();
60 /** Read which view was shown last from config file */ 60 /** Read which view was shown last from config file */
61 void readCurrentView(KConfig *); 61 void readCurrentView(KConfig *);
62 /** Write which view is currently shown to config file */ 62 /** Write which view is currently shown to config file */
63 void writeCurrentView(KConfig *); 63 void writeCurrentView(KConfig *);
64 64
65 KOrg::BaseView *currentView(); 65 KOrg::BaseView *currentView();
66 66
67 void setDocumentId( const QString & ); 67 void setDocumentId( const QString & );
68 68
69 void updateView( const QDate &start, const QDate &end ); 69 void updateView( const QDate &start, const QDate &end );
70 70
71 void raiseCurrentView( bool fullScreen = false ); 71 void raiseCurrentView( bool fullScreen = false );
72 72
73 void addView(KOrg::BaseView *); 73 void addView(KOrg::BaseView *);
74 74
75 Incidence *currentSelection(); 75 Incidence *currentSelection();
76 QDate currentSelectionDate(); 76 QDate currentSelectionDate();
77 77
78 KOAgendaView *agendaView() const { return mAgendaView; } 78 KOAgendaView *agendaView() const { return mAgendaView; }
79 79
80 signals: 80 signals:
81 void printWNV(); 81 void printWNV();
82 void signalFullScreen( bool );
83 void signalAgendaView( bool );
82 public slots: 84 public slots:
83 void updateView(); 85 void updateView();
84 void showWhatsNextView(); 86 void showWhatsNextView();
85 void showListView(); 87 void showListView();
86 void showAgendaView( bool fullScreen = false ); 88 void showAgendaView( bool fullScreen = false );
87 void showDayView(); 89 void showDayView();
88 void showWorkWeekView(); 90 void showWorkWeekView();
89 void showWeekView(); 91 void showWeekView();
90 void showNextXView(); 92 void showNextXView();
91 void showMonthView(); 93 void showMonthView();
92 void showTodoView(); 94 void showTodoView();
93 void showJournalView(); 95 void showJournalView();
94 void showTimeSpanView(); 96 void showTimeSpanView();
95 97
96 private: 98 private:
97 CalendarView *mMainView; 99 CalendarView *mMainView;
98 100
99 int mCurrentAgendaView; 101 int mCurrentAgendaView;
100 KOAgendaView *mAgendaView; 102 KOAgendaView *mAgendaView;
101 KOListView *mListView; 103 KOListView *mListView;
102 KOMonthView *mMonthView; 104 KOMonthView *mMonthView;
103 KOTodoView *mTodoView; 105 KOTodoView *mTodoView;
104 KOWhatsNextView *mWhatsNextView; 106 KOWhatsNextView *mWhatsNextView;
105 KOJournalView *mJournalView; 107 KOJournalView *mJournalView;
106 KOTimeSpanView *mTimeSpanView; 108 KOTimeSpanView *mTimeSpanView;
107 109
108 KOrg::BaseView *mCurrentView; // currently active event view 110 KOrg::BaseView *mCurrentView; // currently active event view
109 111
110 int mAgendaViewMode; 112 int mAgendaViewMode;
111 bool mFlagShowNextxDays; 113 bool mFlagShowNextxDays;
112 114
113}; 115};
114 116
115#endif 117#endif
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp
index 877b6f2..145b36c 100644
--- a/korganizer/mainwindow.cpp
+++ b/korganizer/mainwindow.cpp
@@ -356,451 +356,461 @@ void MainWindow::showMaximized ()
356 mClosed = false; 356 mClosed = false;
357} 357}
358void MainWindow::closeEvent( QCloseEvent* ce ) 358void MainWindow::closeEvent( QCloseEvent* ce )
359{ 359{
360 360
361 361
362 362
363 if ( ! KOPrefs::instance()->mAskForQuit ) { 363 if ( ! KOPrefs::instance()->mAskForQuit ) {
364 saveOnClose(); 364 saveOnClose();
365 mClosed = true; 365 mClosed = true;
366 ce->accept(); 366 ce->accept();
367 return; 367 return;
368 368
369 } 369 }
370 370
371 switch( QMessageBox::information( this, "KO/Pi", 371 switch( QMessageBox::information( this, "KO/Pi",
372 i18n("Do you really want\nto close KO/Pi?"), 372 i18n("Do you really want\nto close KO/Pi?"),
373 i18n("Close"), i18n("No"), 373 i18n("Close"), i18n("No"),
374 0, 0 ) ) { 374 0, 0 ) ) {
375 case 0: 375 case 0:
376 saveOnClose(); 376 saveOnClose();
377 mClosed = true; 377 mClosed = true;
378 ce->accept(); 378 ce->accept();
379 break; 379 break;
380 case 1: 380 case 1:
381 ce->ignore(); 381 ce->ignore();
382 break; 382 break;
383 case 2: 383 case 2:
384 384
385 default: 385 default:
386 break; 386 break;
387 } 387 }
388 388
389 389
390} 390}
391 391
392void MainWindow::recieve( const QCString& cmsg, const QByteArray& data ) 392void MainWindow::recieve( const QCString& cmsg, const QByteArray& data )
393{ 393{
394 QDataStream stream( data, IO_ReadOnly ); 394 QDataStream stream( data, IO_ReadOnly );
395 // QMessageBox::about( this, "About KOrganizer/Pi", "*" +msg +"*" ); 395 // QMessageBox::about( this, "About KOrganizer/Pi", "*" +msg +"*" );
396 //QString datamess; 396 //QString datamess;
397 //qDebug("message "); 397 //qDebug("message ");
398 qDebug("KO: QCOP message received: %s ", cmsg.data() ); 398 qDebug("KO: QCOP message received: %s ", cmsg.data() );
399 399
400 if ( cmsg == "setDocument(QString)" ) { 400 if ( cmsg == "setDocument(QString)" ) {
401 QDataStream stream( data, IO_ReadOnly ); 401 QDataStream stream( data, IO_ReadOnly );
402 QString fileName; 402 QString fileName;
403 stream >> fileName; 403 stream >> fileName;
404 //qDebug("filename %s ", fileName.latin1()); 404 //qDebug("filename %s ", fileName.latin1());
405 showMaximized(); 405 showMaximized();
406 raise(); 406 raise();
407 KOPrefs::instance()->mLastSyncedLocalFile = fileName ; 407 KOPrefs::instance()->mLastSyncedLocalFile = fileName ;
408 mSyncManager->slotSyncMenu( 1002 ); 408 mSyncManager->slotSyncMenu( 1002 );
409 return; 409 return;
410 } 410 }
411 411
412 if ( cmsg == "-writeFile" ) { 412 if ( cmsg == "-writeFile" ) {
413 // I made from the "-writeFile" an "-writeAlarm" 413 // I made from the "-writeFile" an "-writeAlarm"
414 mView->viewManager()->showWhatsNextView(); 414 mView->viewManager()->showWhatsNextView();
415 mCalendar->checkAlarmForIncidence( 0, true); 415 mCalendar->checkAlarmForIncidence( 0, true);
416 showMaximized(); 416 showMaximized();
417 raise(); 417 raise();
418 return; 418 return;
419 419
420 } 420 }
421 if ( cmsg == "-writeFileSilent" ) { 421 if ( cmsg == "-writeFileSilent" ) {
422 // I made from the "-writeFile" an "-writeAlarm" 422 // I made from the "-writeFile" an "-writeAlarm"
423 // mView->viewManager()->showWhatsNextView(); 423 // mView->viewManager()->showWhatsNextView();
424 mCalendar->checkAlarmForIncidence( 0, true); 424 mCalendar->checkAlarmForIncidence( 0, true);
425 //showMaximized(); 425 //showMaximized();
426 //raise(); 426 //raise();
427 hide(); 427 hide();
428 return; 428 return;
429 } 429 }
430 if ( cmsg == "-newCountdown" ) { 430 if ( cmsg == "-newCountdown" ) {
431 qDebug("newCountdown "); 431 qDebug("newCountdown ");
432 432
433 } 433 }
434 QString msg ; 434 QString msg ;
435 QString allmsg = cmsg; 435 QString allmsg = cmsg;
436 while ( allmsg.length() > 0 ) { 436 while ( allmsg.length() > 0 ) {
437 int nextC = allmsg.find( "-", 1 ); 437 int nextC = allmsg.find( "-", 1 );
438 if ( nextC == -1 ) { 438 if ( nextC == -1 ) {
439 msg = allmsg; 439 msg = allmsg;
440 allmsg = ""; 440 allmsg = "";
441 } else{ 441 } else{
442 msg = allmsg.left( nextC ); 442 msg = allmsg.left( nextC );
443 allmsg = allmsg.mid( nextC, allmsg.length()-nextC ); 443 allmsg = allmsg.mid( nextC, allmsg.length()-nextC );
444 } 444 }
445 //qDebug("msg: %s all: %s ", msg.latin1(), allmsg.latin1() ); 445 //qDebug("msg: %s all: %s ", msg.latin1(), allmsg.latin1() );
446 if ( msg == "-newEvent" ) { 446 if ( msg == "-newEvent" ) {
447 mView->newEvent(); 447 mView->newEvent();
448 } 448 }
449 if ( msg == "-newTodo" ) { 449 if ( msg == "-newTodo" ) {
450 mView->newTodo(); 450 mView->newTodo();
451 451
452 } 452 }
453 if ( msg == "-showWN" ) { 453 if ( msg == "-showWN" ) {
454 mView->viewManager()->showWhatsNextView(); 454 mView->viewManager()->showWhatsNextView();
455 } 455 }
456 if ( msg == "-showTodo" ) { 456 if ( msg == "-showTodo" ) {
457 mView->viewManager()->showTodoView(); 457 mView->viewManager()->showTodoView();
458 } 458 }
459 if ( msg == "-showList" ) { 459 if ( msg == "-showList" ) {
460 mView->viewManager()->showListView(); 460 mView->viewManager()->showListView();
461 } 461 }
462 else if ( msg == "-showDay" ) { 462 else if ( msg == "-showDay" ) {
463 mView->viewManager()->showDayView(); 463 mView->viewManager()->showDayView();
464 } 464 }
465 else if ( msg == "-showWWeek" ) { 465 else if ( msg == "-showWWeek" ) {
466 mView->viewManager()->showWorkWeekView(); 466 mView->viewManager()->showWorkWeekView();
467 } 467 }
468 else if ( msg == "-ringSync" ) { 468 else if ( msg == "-ringSync" ) {
469 mSyncManager->multiSync( false ); 469 mSyncManager->multiSync( false );
470 } 470 }
471 else if ( msg == "-showWeek" ) { 471 else if ( msg == "-showWeek" ) {
472 mView->viewManager()->showWeekView(); 472 mView->viewManager()->showWeekView();
473 } 473 }
474 else if ( msg == "-showTodo" ) { 474 else if ( msg == "-showTodo" ) {
475 mView->viewManager()->showTodoView(); 475 mView->viewManager()->showTodoView();
476 } 476 }
477 else if ( msg == "-showJournal" ) { 477 else if ( msg == "-showJournal" ) {
478 mView->dateNavigator()->selectDates( 1 ); 478 mView->dateNavigator()->selectDates( 1 );
479 mView->dateNavigator()->selectToday(); 479 mView->dateNavigator()->selectToday();
480 mView->viewManager()->showJournalView(); 480 mView->viewManager()->showJournalView();
481 } 481 }
482 else if ( msg == "-showKO" ) { 482 else if ( msg == "-showKO" ) {
483 mView->viewManager()->showNextXView(); 483 mView->viewManager()->showNextXView();
484 } 484 }
485 else if ( msg == "-showWNext" || msg == "nextView()" ) { 485 else if ( msg == "-showWNext" || msg == "nextView()" ) {
486 mView->viewManager()->showWhatsNextView(); 486 mView->viewManager()->showWhatsNextView();
487 } 487 }
488 else if ( msg == "-showNextXView" ) { 488 else if ( msg == "-showNextXView" ) {
489 mView->viewManager()->showNextXView(); 489 mView->viewManager()->showNextXView();
490 } 490 }
491 491
492 492
493 } 493 }
494 494
495 showMaximized(); 495 showMaximized();
496 raise(); 496 raise();
497} 497}
498 498
499QPixmap MainWindow::loadPixmap( QString name ) 499QPixmap MainWindow::loadPixmap( QString name )
500{ 500{
501 return SmallIcon( name ); 501 return SmallIcon( name );
502 502
503} 503}
504void MainWindow::initActions() 504void MainWindow::initActions()
505{ 505{
506 //KOPrefs::instance()->mShowFullMenu 506 //KOPrefs::instance()->mShowFullMenu
507 iconToolBar->clear(); 507 iconToolBar->clear();
508 KOPrefs *p = KOPrefs::instance(); 508 KOPrefs *p = KOPrefs::instance();
509 //QPEMenuBar *menuBar1;// = new QPEMenuBar( iconToolBar ); 509 //QPEMenuBar *menuBar1;// = new QPEMenuBar( iconToolBar );
510 510
511 QPopupMenu *viewMenu = new QPopupMenu( this ); 511 QPopupMenu *viewMenu = new QPopupMenu( this );
512 QPopupMenu *actionMenu = new QPopupMenu( this ); 512 QPopupMenu *actionMenu = new QPopupMenu( this );
513 QPopupMenu *importMenu = new QPopupMenu( this ); 513 QPopupMenu *importMenu = new QPopupMenu( this );
514 selectFilterMenu = new QPopupMenu( this ); 514 selectFilterMenu = new QPopupMenu( this );
515 selectFilterMenu->setCheckable( true ); 515 selectFilterMenu->setCheckable( true );
516 syncMenu = new QPopupMenu( this ); 516 syncMenu = new QPopupMenu( this );
517 configureAgendaMenu = new QPopupMenu( this ); 517 configureAgendaMenu = new QPopupMenu( this );
518 configureToolBarMenu = new QPopupMenu( this ); 518 configureToolBarMenu = new QPopupMenu( this );
519 QPopupMenu *helpMenu = new QPopupMenu( this ); 519 QPopupMenu *helpMenu = new QPopupMenu( this );
520 if ( KOPrefs::instance()->mShowFullMenu ) { 520 if ( KOPrefs::instance()->mShowFullMenu ) {
521 QMenuBar *menuBar1; 521 QMenuBar *menuBar1;
522 menuBar1 = menuBar(); 522 menuBar1 = menuBar();
523 menuBar1->insertItem( i18n("File"), importMenu ); 523 menuBar1->insertItem( i18n("File"), importMenu );
524 menuBar1->insertItem( i18n("View"), viewMenu ); 524 menuBar1->insertItem( i18n("View"), viewMenu );
525 menuBar1->insertItem( i18n("Actions"), actionMenu ); 525 menuBar1->insertItem( i18n("Actions"), actionMenu );
526 menuBar1->insertItem( i18n("Synchronize"), syncMenu ); 526 menuBar1->insertItem( i18n("Synchronize"), syncMenu );
527 menuBar1->insertItem( i18n("AgendaSize"),configureAgendaMenu ); 527 menuBar1->insertItem( i18n("AgendaSize"),configureAgendaMenu );
528 //menuBar1->insertItem( i18n("Toolbar"),configureToolBarMenu ); 528 //menuBar1->insertItem( i18n("Toolbar"),configureToolBarMenu );
529 menuBar1->insertItem( i18n("Filter"),selectFilterMenu ); 529 menuBar1->insertItem( i18n("Filter"),selectFilterMenu );
530 menuBar1->insertItem( i18n("Help"), helpMenu ); 530 menuBar1->insertItem( i18n("Help"), helpMenu );
531 } else { 531 } else {
532 QPEMenuBar *menuBar1; 532 QPEMenuBar *menuBar1;
533 menuBar1 = new QPEMenuBar( iconToolBar ); 533 menuBar1 = new QPEMenuBar( iconToolBar );
534 QPopupMenu *menuBar = new QPopupMenu( this ); 534 QPopupMenu *menuBar = new QPopupMenu( this );
535 menuBar1->insertItem( i18n("ME"), menuBar); 535 menuBar1->insertItem( i18n("ME"), menuBar);
536 menuBar->insertItem( i18n("File"), importMenu ); 536 menuBar->insertItem( i18n("File"), importMenu );
537 menuBar->insertItem( i18n("View"), viewMenu ); 537 menuBar->insertItem( i18n("View"), viewMenu );
538 menuBar->insertItem( i18n("Actions"), actionMenu ); 538 menuBar->insertItem( i18n("Actions"), actionMenu );
539 menuBar->insertItem( i18n("Synchronize"), syncMenu ); 539 menuBar->insertItem( i18n("Synchronize"), syncMenu );
540 menuBar->insertItem( i18n("AgendaSize"),configureAgendaMenu ); 540 menuBar->insertItem( i18n("AgendaSize"),configureAgendaMenu );
541 menuBar->insertItem( i18n("Toolbar"),configureToolBarMenu ); 541 menuBar->insertItem( i18n("Toolbar"),configureToolBarMenu );
542 menuBar->insertItem( i18n("Filter"),selectFilterMenu ); 542 menuBar->insertItem( i18n("Filter"),selectFilterMenu );
543 menuBar->insertItem( i18n("Help"), helpMenu ); 543 menuBar->insertItem( i18n("Help"), helpMenu );
544 //menuBar1->setMaximumWidth( menuBar1->sizeHint().width() ); 544 //menuBar1->setMaximumWidth( menuBar1->sizeHint().width() );
545 menuBar1->setMaximumSize( menuBar1->sizeHint( )); 545 menuBar1->setMaximumSize( menuBar1->sizeHint( ));
546 } 546 }
547 connect ( selectFilterMenu, SIGNAL( activated ( int ) ), this, SLOT (selectFilter( int ) ) ); 547 connect ( selectFilterMenu, SIGNAL( activated ( int ) ), this, SLOT (selectFilter( int ) ) );
548 connect ( selectFilterMenu, SIGNAL( aboutToShow () ), this, SLOT (fillFilterMenu() ) ); 548 connect ( selectFilterMenu, SIGNAL( aboutToShow() ), this, SLOT (fillFilterMenu() ) );
549 549
550 // ****************** 550 // ******************
551 QAction *action; 551 QAction *action;
552 QIconSet icon; 552 QIconSet icon;
553 // QPopupMenu *configureMenu= new QPopupMenu( menuBar ); 553 // QPopupMenu *configureMenu= new QPopupMenu( menuBar );
554 configureToolBarMenu->setCheckable( true ); 554 configureToolBarMenu->setCheckable( true );
555 555
556 QString pathString = ""; 556 QString pathString = "";
557 if ( !p->mToolBarMiniIcons ) { 557 if ( !p->mToolBarMiniIcons ) {
558 if ( QApplication::desktop()->width() < 480 ) 558 if ( QApplication::desktop()->width() < 480 )
559 pathString += "icons16/"; 559 pathString += "icons16/";
560 } else 560 } else
561 pathString += "iconsmini/"; 561 pathString += "iconsmini/";
562 configureAgendaMenu->setCheckable( true ); 562 configureAgendaMenu->setCheckable( true );
563 configureAgendaMenu->insertItem(i18n("Tiny"), 4 ); 563 int iii ;
564 configureAgendaMenu->insertItem(i18n("Small"), 6 ); 564 for ( iii = 1;iii<= 10 ;++iii ){
565 configureAgendaMenu->insertItem(i18n("Medium"), 8 ); 565 configureAgendaMenu->insertItem(i18n("Size %1").arg(iii), (iii+1)*2 );
566 configureAgendaMenu->insertItem(i18n("Normal"), 10 ); 566 }
567 configureAgendaMenu->insertItem(i18n("Large"), 12 );
568 configureAgendaMenu->insertItem(i18n("Big"), 14 );
569 configureAgendaMenu->insertItem(i18n("Bigger"), 16 );
570 configureAgendaMenu->insertItem(i18n("Biggest"), 18 );
571 //configureMenu->insertItem( "AgendaSize",configureAgendaMenu ); 567 //configureMenu->insertItem( "AgendaSize",configureAgendaMenu );
572 568
569 connect( configureAgendaMenu, SIGNAL( aboutToShow()),
570 this, SLOT( showConfigureAgenda( ) ) );
571
573 icon = loadPixmap( pathString + "configure" ); 572 icon = loadPixmap( pathString + "configure" );
574 action = new QAction( i18n("Configure"),icon, i18n("Configure..."), 0, this ); 573 action = new QAction( i18n("Configure"),icon, i18n("Configure..."), 0, this );
575 action->addTo( actionMenu ); 574 action->addTo( actionMenu );
576 connect( action, SIGNAL( activated() ), 575 connect( action, SIGNAL( activated() ),
577 mView, SLOT( edit_options() ) ); 576 mView, SLOT( edit_options() ) );
578 actionMenu->insertSeparator(); 577 actionMenu->insertSeparator();
579 578
580 action = new QAction( i18n("Undo Delete"), i18n("Undo Delete..."), 0, this ); 579 action = new QAction( i18n("Undo Delete"), i18n("Undo Delete..."), 0, this );
581 action->addTo( actionMenu ); 580 action->addTo( actionMenu );
582 connect( action, SIGNAL( activated() ), 581 connect( action, SIGNAL( activated() ),
583 mView, SLOT( undo_delete() ) ); 582 mView, SLOT( undo_delete() ) );
584 actionMenu->insertSeparator(); 583 actionMenu->insertSeparator();
585 584
586 icon = loadPixmap( pathString + "newevent" ); 585 icon = loadPixmap( pathString + "newevent" );
587 configureToolBarMenu->insertItem(i18n("Stretched TB"), 5 ); 586 configureToolBarMenu->insertItem(i18n("Stretched TB"), 5 );
588 configureToolBarMenu->insertSeparator(); 587 configureToolBarMenu->insertSeparator();
589 configureToolBarMenu->insertItem(icon, i18n("New Event..."), 10 ); 588 configureToolBarMenu->insertItem(icon, i18n("New Event..."), 10 );
590 QAction* ne_action = new QAction( i18n("New Event..."), icon, i18n("New Event..."), 0, this ); 589 QAction* ne_action = new QAction( i18n("New Event..."), icon, i18n("New Event..."), 0, this );
591 ne_action->addTo( actionMenu ); 590 ne_action->addTo( actionMenu );
592 connect( ne_action, SIGNAL( activated() ), 591 connect( ne_action, SIGNAL( activated() ),
593 mView, SLOT( newEvent() ) ); 592 mView, SLOT( newEvent() ) );
594 icon = loadPixmap( pathString + "newtodo" ); 593 icon = loadPixmap( pathString + "newtodo" );
595 configureToolBarMenu->insertItem(icon, i18n("New Todo..."), 20 ); 594 configureToolBarMenu->insertItem(icon, i18n("New Todo..."), 20 );
596 QAction* nt_action = new QAction( i18n("New Todo..."), icon, i18n("New Todo..."), 0, this ); 595 QAction* nt_action = new QAction( i18n("New Todo..."), icon, i18n("New Todo..."), 0, this );
597 nt_action->addTo( actionMenu ); 596 nt_action->addTo( actionMenu );
598 connect( nt_action, SIGNAL( activated() ), 597 connect( nt_action, SIGNAL( activated() ),
599 mView, SLOT( newTodo() ) ); 598 mView, SLOT( newTodo() ) );
600 icon = loadPixmap( pathString + "navi" ); 599 icon = loadPixmap( pathString + "navi" );
601 action = new QAction( i18n("Toggle DateNavigator"), icon, i18n("Toggle DateNavigator"), 0, this ); 600 action = new QAction( i18n("Toggle DateNavigator"), icon, i18n("Toggle DateNavigator"), 0, this );
602 action->addTo( viewMenu ); 601 action->addTo( viewMenu );
603 connect( action, SIGNAL( activated() ), 602 connect( action, SIGNAL( activated() ),
604 mView, SLOT( toggleDateNavigatorWidget() ) ); 603 mView, SLOT( toggleDateNavigatorWidget() ) );
604 mToggleNav = action ;
605 icon = loadPixmap( pathString + "filter" ); 605 icon = loadPixmap( pathString + "filter" );
606 action = new QAction( i18n("Toggle FilterView"), icon, i18n("Toggle FilterView"), 0, this ); 606 action = new QAction( i18n("Toggle FilterView"), icon, i18n("Toggle FilterView"), 0, this );
607 action->addTo( viewMenu ); 607 action->addTo( viewMenu );
608 connect( action, SIGNAL( activated() ), 608 connect( action, SIGNAL( activated() ),
609 mView, SLOT( toggleFilter() ) ); 609 mView, SLOT( toggleFilter() ) );
610 mToggleFilter = action;
610 icon = loadPixmap( pathString + "allday" ); 611 icon = loadPixmap( pathString + "allday" );
611 action = new QAction( i18n("Toggle Allday"), icon,i18n("Toggle Allday"), 0, this ); 612 action = new QAction( i18n("Toggle Allday"), icon,i18n("Toggle Allday"), 0, this );
612 action->addTo( viewMenu ); 613 action->addTo( viewMenu );
613 connect( action, SIGNAL( activated() ), 614 connect( action, SIGNAL( activated() ),
614 mView, SLOT( toggleAllDaySize() ) ); 615 mView, SLOT( toggleAllDaySize() ) );
616 mToggleAllday = action;
617
618
619 connect( mView->viewManager(), SIGNAL( signalFullScreen( bool ) ),
620 mToggleNav, SLOT( setEnabled ( bool ) ) );
621 connect( mView->viewManager(), SIGNAL( signalFullScreen( bool ) ),
622 mToggleFilter, SLOT( setEnabled ( bool ) ) );
623 connect( mView->viewManager(), SIGNAL( signalAgendaView( bool ) ),
624 mToggleAllday, SLOT( setEnabled ( bool ) ) );
615 625
616 viewMenu->insertSeparator(); 626 viewMenu->insertSeparator();
617 icon = loadPixmap( pathString + "picker" ); 627 icon = loadPixmap( pathString + "picker" );
618 action = new QAction( i18n("Date Picker"), icon, i18n("Date Picker"), 0, this ); 628 action = new QAction( i18n("Date Picker"), icon, i18n("Date Picker"), 0, this );
619 action->addTo( viewMenu ); 629 action->addTo( viewMenu );
620 connect( action, SIGNAL( activated() ), 630 connect( action, SIGNAL( activated() ),
621 mView, SLOT( showDatePicker() ) ); 631 mView, SLOT( showDatePicker() ) );
622 action->addTo( iconToolBar ); 632 action->addTo( iconToolBar );
623 viewMenu->insertSeparator(); 633 viewMenu->insertSeparator();
624 icon = loadPixmap( pathString + "list" ); 634 icon = loadPixmap( pathString + "list" );
625 configureToolBarMenu->insertItem(icon, i18n("List View"), 30 ); 635 configureToolBarMenu->insertItem(icon, i18n("List View"), 30 );
626 QAction* showlist_action = new QAction( i18n("List View"), icon, i18n("List View"), 0, this ); 636 QAction* showlist_action = new QAction( i18n("List View"), icon, i18n("List View"), 0, this );
627 showlist_action->addTo( viewMenu ); 637 showlist_action->addTo( viewMenu );
628 connect( showlist_action, SIGNAL( activated() ), 638 connect( showlist_action, SIGNAL( activated() ),
629 mView->viewManager(), SLOT( showListView() ) ); 639 mView->viewManager(), SLOT( showListView() ) );
630 640
631 641
632 icon = loadPixmap( pathString + "day" ); 642 icon = loadPixmap( pathString + "day" );
633 configureToolBarMenu->insertItem(icon, i18n("Day View"), 40 ); 643 configureToolBarMenu->insertItem(icon, i18n("Day View"), 40 );
634 QAction* day1_action = new QAction( i18n("Day View"), icon, i18n("Day View"), 0, this ); 644 QAction* day1_action = new QAction( i18n("Day View"), icon, i18n("Day View"), 0, this );
635 day1_action->addTo( viewMenu ); 645 day1_action->addTo( viewMenu );
636 // action->addTo( toolBar ); 646 // action->addTo( toolBar );
637 connect( day1_action, SIGNAL( activated() ), 647 connect( day1_action, SIGNAL( activated() ),
638 mView->viewManager(), SLOT( showDayView() ) ); 648 mView->viewManager(), SLOT( showDayView() ) );
639 649
640 icon = loadPixmap( pathString + "workweek" ); 650 icon = loadPixmap( pathString + "workweek" );
641 configureToolBarMenu->insertItem(icon, i18n("Work Week"), 50 ); 651 configureToolBarMenu->insertItem(icon, i18n("Work Week"), 50 );
642 QAction* day5_action = new QAction( i18n("Work Week"), icon, i18n("Work Week"), 0, this ); 652 QAction* day5_action = new QAction( i18n("Work Week"), icon, i18n("Work Week"), 0, this );
643 day5_action->addTo( viewMenu ); 653 day5_action->addTo( viewMenu );
644 connect( day5_action, SIGNAL( activated() ), 654 connect( day5_action, SIGNAL( activated() ),
645 mView->viewManager(), SLOT( showWorkWeekView() ) ); 655 mView->viewManager(), SLOT( showWorkWeekView() ) );
646 656
647 icon = loadPixmap( pathString + "week" ); 657 icon = loadPixmap( pathString + "week" );
648 configureToolBarMenu->insertItem(icon, i18n("Week"), 60 ); 658 configureToolBarMenu->insertItem(icon, i18n("Week"), 60 );
649 QAction* day7_action = new QAction( i18n("Week"), icon, i18n("Week"), 0, this ); 659 QAction* day7_action = new QAction( i18n("Week"), icon, i18n("Week"), 0, this );
650 day7_action->addTo( viewMenu ); 660 day7_action->addTo( viewMenu );
651 connect( day7_action, SIGNAL( activated() ), 661 connect( day7_action, SIGNAL( activated() ),
652 mView->viewManager(), SLOT( showWeekView() ) ); 662 mView->viewManager(), SLOT( showWeekView() ) );
653 663
654 icon = loadPixmap( pathString + "month" ); 664 icon = loadPixmap( pathString + "month" );
655 configureToolBarMenu->insertItem(icon, i18n("Month"), 70 ); 665 configureToolBarMenu->insertItem(icon, i18n("Month"), 70 );
656 QAction* month_action = new QAction( i18n("Month"), icon, i18n("Month"), 0, this ); 666 QAction* month_action = new QAction( i18n("Month"), icon, i18n("Month"), 0, this );
657 month_action->addTo( viewMenu ); 667 month_action->addTo( viewMenu );
658 connect( month_action, SIGNAL( activated() ), 668 connect( month_action, SIGNAL( activated() ),
659 mView->viewManager(), SLOT( showMonthView() ) ); 669 mView->viewManager(), SLOT( showMonthView() ) );
660 670
661 icon = loadPixmap( pathString + "todo" ); 671 icon = loadPixmap( pathString + "todo" );
662 configureToolBarMenu->insertItem(icon, i18n("Todo View"), 80 ); 672 configureToolBarMenu->insertItem(icon, i18n("Todo View"), 80 );
663 QAction* todoview_action = new QAction( i18n("Todo View"), icon, i18n("Todo View"), 0, this ); 673 QAction* todoview_action = new QAction( i18n("Todo View"), icon, i18n("Todo View"), 0, this );
664 todoview_action->addTo( viewMenu ); 674 todoview_action->addTo( viewMenu );
665 connect( todoview_action, SIGNAL( activated() ), 675 connect( todoview_action, SIGNAL( activated() ),
666 mView->viewManager(), SLOT( showTodoView() ) ); 676 mView->viewManager(), SLOT( showTodoView() ) );
667 677
668 icon = loadPixmap( pathString + "journal" ); 678 icon = loadPixmap( pathString + "journal" );
669 configureToolBarMenu->insertItem(icon, i18n("Journal"), 90 ); 679 configureToolBarMenu->insertItem(icon, i18n("Journal"), 90 );
670 QAction* viewjournal_action = new QAction( i18n("Journal"), icon, i18n("Journal"), 0, this ); 680 QAction* viewjournal_action = new QAction( i18n("Journal"), icon, i18n("Journal"), 0, this );
671 viewjournal_action->addTo( viewMenu ); 681 viewjournal_action->addTo( viewMenu );
672 connect( viewjournal_action, SIGNAL( activated() ), 682 connect( viewjournal_action, SIGNAL( activated() ),
673 mView->viewManager(), SLOT( showJournalView() ) ); 683 mView->viewManager(), SLOT( showJournalView() ) );
674 684
675 icon = loadPixmap( pathString + "xdays" ); 685 icon = loadPixmap( pathString + "xdays" );
676 configureToolBarMenu->insertItem(icon, i18n("Next days"), 100,4 ); 686 configureToolBarMenu->insertItem(icon, i18n("Next days"), 100,4 );
677 QAction* xdays_action = new QAction( i18n("Next days"), icon, i18n("Next days"), 0, this ); 687 QAction* xdays_action = new QAction( i18n("Next days"), icon, i18n("Next days"), 0, this );
678 xdays_action->addTo( viewMenu ); 688 xdays_action->addTo( viewMenu );
679 connect( xdays_action, SIGNAL( activated() ), 689 connect( xdays_action, SIGNAL( activated() ),
680 mView->viewManager(), SLOT( showNextXView() ) ); 690 mView->viewManager(), SLOT( showNextXView() ) );
681 691
682 icon = loadPixmap( pathString + "whatsnext" ); 692 icon = loadPixmap( pathString + "whatsnext" );
683 configureToolBarMenu->insertItem(icon, i18n("What's Next"), 110, 4 ); 693 configureToolBarMenu->insertItem(icon, i18n("What's Next"), 110, 4 );
684 QAction* whatsnext_action = new QAction( i18n("What's Next"), icon, i18n("What's Next"), 0, this ); 694 QAction* whatsnext_action = new QAction( i18n("What's Next"), icon, i18n("What's Next"), 0, this );
685 whatsnext_action->addTo( viewMenu ); 695 whatsnext_action->addTo( viewMenu );
686 connect( whatsnext_action, SIGNAL( activated() ), 696 connect( whatsnext_action, SIGNAL( activated() ),
687 mView->viewManager(), SLOT( showWhatsNextView() ) ); 697 mView->viewManager(), SLOT( showWhatsNextView() ) );
688 698
689#if 0 699#if 0
690 action = new QAction( "view_timespan", "Time Span", 0, this ); 700 action = new QAction( "view_timespan", "Time Span", 0, this );
691 action->addTo( viewMenu ); 701 action->addTo( viewMenu );
692 connect( action, SIGNAL( activated() ), 702 connect( action, SIGNAL( activated() ),
693 mView->viewManager(), SLOT( showTimeSpanView() ) ); 703 mView->viewManager(), SLOT( showTimeSpanView() ) );
694#endif 704#endif
695 705
696 mNewSubTodoAction = new QAction( "new_subtodo", i18n("New Sub-Todo..."), 0, 706 mNewSubTodoAction = new QAction( "new_subtodo", i18n("New Sub-Todo..."), 0,
697 this ); 707 this );
698 mNewSubTodoAction->addTo( actionMenu ); 708 mNewSubTodoAction->addTo( actionMenu );
699 connect( mNewSubTodoAction, SIGNAL( activated() ), 709 connect( mNewSubTodoAction, SIGNAL( activated() ),
700 mView, SLOT( newSubTodo() ) ); 710 mView, SLOT( newSubTodo() ) );
701 711
702 actionMenu->insertSeparator(); 712 actionMenu->insertSeparator();
703 713
704 mShowAction = new QAction( "show_incidence", i18n("Show..."), 0, this ); 714 mShowAction = new QAction( "show_incidence", i18n("Show..."), 0, this );
705 mShowAction->addTo( actionMenu ); 715 mShowAction->addTo( actionMenu );
706 connect( mShowAction, SIGNAL( activated() ), 716 connect( mShowAction, SIGNAL( activated() ),
707 mView, SLOT( showIncidence() ) ); 717 mView, SLOT( showIncidence() ) );
708 718
709 mEditAction = new QAction( "edit_incidence", i18n("Edit..."), 0, this ); 719 mEditAction = new QAction( "edit_incidence", i18n("Edit..."), 0, this );
710 mEditAction->addTo( actionMenu ); 720 mEditAction->addTo( actionMenu );
711 connect( mEditAction, SIGNAL( activated() ), 721 connect( mEditAction, SIGNAL( activated() ),
712 mView, SLOT( editIncidence() ) ); 722 mView, SLOT( editIncidence() ) );
713 723
714 mDeleteAction = new QAction( "delete_incidence", i18n("Delete..."), 0, this ); 724 mDeleteAction = new QAction( "delete_incidence", i18n("Delete..."), 0, this );
715 mDeleteAction->addTo( actionMenu ); 725 mDeleteAction->addTo( actionMenu );
716 connect( mDeleteAction, SIGNAL( activated() ), 726 connect( mDeleteAction, SIGNAL( activated() ),
717 mView, SLOT( deleteIncidence() ) ); 727 mView, SLOT( deleteIncidence() ) );
718 728
719 729
720 mCloneAction = new QAction( "clone_incidence", i18n("Clone..."), 0, this ); 730 mCloneAction = new QAction( "clone_incidence", i18n("Clone..."), 0, this );
721 mCloneAction->addTo( actionMenu ); 731 mCloneAction->addTo( actionMenu );
722 connect( mCloneAction, SIGNAL( activated() ), 732 connect( mCloneAction, SIGNAL( activated() ),
723 mView, SLOT( cloneIncidence() ) ); 733 mView, SLOT( cloneIncidence() ) );
724 mMoveAction = new QAction( "Move_incidence", i18n("Move..."), 0, this ); 734 mMoveAction = new QAction( "Move_incidence", i18n("Move..."), 0, this );
725 mMoveAction->addTo( actionMenu ); 735 mMoveAction->addTo( actionMenu );
726 connect( mMoveAction, SIGNAL( activated() ), 736 connect( mMoveAction, SIGNAL( activated() ),
727 mView, SLOT( moveIncidence() ) ); 737 mView, SLOT( moveIncidence() ) );
728 mBeamAction = new QAction( "Beam_incidence", i18n("Beam..."), 0, this ); 738 mBeamAction = new QAction( "Beam_incidence", i18n("Beam..."), 0, this );
729 mBeamAction->addTo( actionMenu ); 739 mBeamAction->addTo( actionMenu );
730 connect( mBeamAction, SIGNAL( activated() ), 740 connect( mBeamAction, SIGNAL( activated() ),
731 mView, SLOT( beamIncidence() ) ); 741 mView, SLOT( beamIncidence() ) );
732 mCancelAction = new QAction( "Cancel_incidence", i18n("Toggle Cancel"), 0, this ); 742 mCancelAction = new QAction( "Cancel_incidence", i18n("Toggle Cancel"), 0, this );
733 mCancelAction->addTo( actionMenu ); 743 mCancelAction->addTo( actionMenu );
734 connect( mCancelAction, SIGNAL( activated() ), 744 connect( mCancelAction, SIGNAL( activated() ),
735 mView, SLOT( toggleCancelIncidence() ) ); 745 mView, SLOT( toggleCancelIncidence() ) );
736 746
737 actionMenu->insertSeparator(); 747 actionMenu->insertSeparator();
738 748
739 action = new QAction( "purge_completed", i18n("Purge Completed"), 0, 749 action = new QAction( "purge_completed", i18n("Purge Completed"), 0,
740 this ); 750 this );
741 action->addTo( actionMenu ); 751 action->addTo( actionMenu );
742 connect( action, SIGNAL( activated() ), mView, SLOT( purgeCompleted() ) ); 752 connect( action, SIGNAL( activated() ), mView, SLOT( purgeCompleted() ) );
743 753
744 icon = loadPixmap( pathString + "search" ); 754 icon = loadPixmap( pathString + "search" );
745 QAction* search_action = new QAction( i18n("Search"), icon, i18n("Search..."), 0, this ); 755 QAction* search_action = new QAction( i18n("Search"), icon, i18n("Search..."), 0, this );
746 configureToolBarMenu->insertItem(icon, i18n("Search"), 120 , 4); 756 configureToolBarMenu->insertItem(icon, i18n("Search"), 120 , 4);
747 search_action->addTo( actionMenu ); 757 search_action->addTo( actionMenu );
748 connect( search_action, SIGNAL( activated() ), 758 connect( search_action, SIGNAL( activated() ),
749 mView->dialogManager(), SLOT( showSearchDialog() ) ); 759 mView->dialogManager(), SLOT( showSearchDialog() ) );
750 760
751 icon = loadPixmap( pathString + "today" ); 761 icon = loadPixmap( pathString + "today" );
752 configureToolBarMenu->insertItem(icon, i18n("Go to Today"), 130); 762 configureToolBarMenu->insertItem(icon, i18n("Go to Today"), 130);
753 QAction* today_action = new QAction( i18n("Go to Today"), icon, i18n("Go to Today"), 0, this ); 763 QAction* today_action = new QAction( i18n("Go to Today"), icon, i18n("Go to Today"), 0, this );
754 today_action->addTo( actionMenu ); 764 today_action->addTo( actionMenu );
755 connect( today_action, SIGNAL( activated() ), 765 connect( today_action, SIGNAL( activated() ),
756 mView, SLOT( goToday() ) ); 766 mView, SLOT( goToday() ) );
757 767
758 if ( KOPrefs::instance()->mShowFullMenu ) { 768 if ( KOPrefs::instance()->mShowFullMenu ) {
759 actionMenu->insertSeparator(); 769 actionMenu->insertSeparator();
760 actionMenu->insertItem( i18n("Configure Toolbar"),configureToolBarMenu ); 770 actionMenu->insertItem( i18n("Configure Toolbar"),configureToolBarMenu );
761 771
762 } 772 }
763 // actionMenu->insertSeparator(); 773 // actionMenu->insertSeparator();
764 action = new QAction( "import_qtopia", i18n("Import (*.ics/*.vcs) file"), 0, 774 action = new QAction( "import_qtopia", i18n("Import (*.ics/*.vcs) file"), 0,
765 this ); 775 this );
766 action->addTo( importMenu ); 776 action->addTo( importMenu );
767 connect( action, SIGNAL( activated() ), SLOT( importIcal() ) ); 777 connect( action, SIGNAL( activated() ), SLOT( importIcal() ) );
768 action = new QAction( "import_quick", i18n("Import last file"), 0, 778 action = new QAction( "import_quick", i18n("Import last file"), 0,
769 this ); 779 this );
770 action->addTo( importMenu ); 780 action->addTo( importMenu );
771 connect( action, SIGNAL( activated() ), SLOT( quickImportIcal() ) ); 781 connect( action, SIGNAL( activated() ), SLOT( quickImportIcal() ) );
772 importMenu->insertSeparator(); 782 importMenu->insertSeparator();
773 action = new QAction( "import_bday", i18n("Import Birthdays (KA/Pi)"), 0, 783 action = new QAction( "import_bday", i18n("Import Birthdays (KA/Pi)"), 0,
774 this ); 784 this );
775 action->addTo( importMenu ); 785 action->addTo( importMenu );
776 connect( action, SIGNAL( activated() ), SLOT( importBday() ) ); 786 connect( action, SIGNAL( activated() ), SLOT( importBday() ) );
777#ifndef DESKTOP_VERSION 787#ifndef DESKTOP_VERSION
778 importMenu->insertSeparator(); 788 importMenu->insertSeparator();
779 action = new QAction( "import_qtopia", i18n("Import Opie/Qtopia Cal."), 0, 789 action = new QAction( "import_qtopia", i18n("Import Opie/Qtopia Cal."), 0,
780 this ); 790 this );
781 action->addTo( importMenu ); 791 action->addTo( importMenu );
782 connect( action, SIGNAL( activated() ), SLOT( importQtopia() ) ); 792 connect( action, SIGNAL( activated() ), SLOT( importQtopia() ) );
783#else 793#else
784#ifdef _OL_IMPORT_ 794#ifdef _OL_IMPORT_
785 importMenu->insertSeparator(); 795 importMenu->insertSeparator();
786 action = new QAction( "import_ol", i18n("Import from OL"), 0, 796 action = new QAction( "import_ol", i18n("Import from OL"), 0,
787 this ); 797 this );
788 action->addTo( importMenu ); 798 action->addTo( importMenu );
789 connect( action, SIGNAL( activated() ), SLOT( importOL() ) ); 799 connect( action, SIGNAL( activated() ), SLOT( importOL() ) );
790#endif 800#endif
791#endif 801#endif
792 802
793 importMenu->insertSeparator(); 803 importMenu->insertSeparator();
794 action = new QAction( "load_cal", i18n("Load Calendar Backup"), 0, 804 action = new QAction( "load_cal", i18n("Load Calendar Backup"), 0,
795 this ); 805 this );
796 action->addTo( importMenu ); 806 action->addTo( importMenu );
797 connect( action, SIGNAL( activated() ), SLOT( loadCalendar() ) ); 807 connect( action, SIGNAL( activated() ), SLOT( loadCalendar() ) );
798 808
799 action = new QAction( "save_cal", i18n("Save Calendar Backup"), 0, 809 action = new QAction( "save_cal", i18n("Save Calendar Backup"), 0,
800 this ); 810 this );
801 action->addTo( importMenu ); 811 action->addTo( importMenu );
802 connect( action, SIGNAL( activated() ), SLOT( saveCalendar() ) ); 812 connect( action, SIGNAL( activated() ), SLOT( saveCalendar() ) );
803 813
804 importMenu->insertSeparator(); 814 importMenu->insertSeparator();
805 action = new QAction( "import_qtopia", i18n("Export VCalendar"), 0, 815 action = new QAction( "import_qtopia", i18n("Export VCalendar"), 0,
806 this ); 816 this );
@@ -1531,384 +1541,379 @@ void MainWindow::keyPressEvent ( QKeyEvent * e )
1531 if ( pro == 0 ) 1541 if ( pro == 0 )
1532 pro = 10; 1542 pro = 10;
1533 if ( e->state() == Qt::ControlButton) 1543 if ( e->state() == Qt::ControlButton)
1534 pro += 10; 1544 pro += 10;
1535 break; 1545 break;
1536 case Qt::Key_M: 1546 case Qt::Key_M:
1537 mView->viewManager()->showMonthView(); 1547 mView->viewManager()->showMonthView();
1538 showSelectedDates = true; 1548 showSelectedDates = true;
1539 break; 1549 break;
1540 case Qt::Key_Insert: 1550 case Qt::Key_Insert:
1541 mView->newEvent(); 1551 mView->newEvent();
1542 break; 1552 break;
1543 case Qt::Key_S : 1553 case Qt::Key_S :
1544 if ( e->state() == Qt::ControlButton || e->state() == Qt::ShiftButton) 1554 if ( e->state() == Qt::ControlButton || e->state() == Qt::ShiftButton)
1545 mView->newSubTodo(); 1555 mView->newSubTodo();
1546 else 1556 else
1547 mView->dialogManager()->showSearchDialog(); 1557 mView->dialogManager()->showSearchDialog();
1548 break; 1558 break;
1549 case Qt::Key_Y : 1559 case Qt::Key_Y :
1550 case Qt::Key_Z : 1560 case Qt::Key_Z :
1551 mView->viewManager()->showWorkWeekView(); 1561 mView->viewManager()->showWorkWeekView();
1552 showSelectedDates = true; 1562 showSelectedDates = true;
1553 break; 1563 break;
1554 case Qt::Key_U : 1564 case Qt::Key_U :
1555 mView->viewManager()->showWeekView(); 1565 mView->viewManager()->showWeekView();
1556 showSelectedDates = true; 1566 showSelectedDates = true;
1557 break; 1567 break;
1558 case Qt::Key_H : 1568 case Qt::Key_H :
1559 keyBindings(); 1569 keyBindings();
1560 break; 1570 break;
1561 case Qt::Key_W: 1571 case Qt::Key_W:
1562 mView->viewManager()->showWhatsNextView(); 1572 mView->viewManager()->showWhatsNextView();
1563 break; 1573 break;
1564 case Qt::Key_L: 1574 case Qt::Key_L:
1565 mView->viewManager()->showListView(); 1575 mView->viewManager()->showListView();
1566 break; 1576 break;
1567 case Qt::Key_N: 1577 case Qt::Key_N:
1568 mView->viewManager()->showNextXView(); 1578 mView->viewManager()->showNextXView();
1569 showSelectedDates = true; 1579 showSelectedDates = true;
1570 break; 1580 break;
1571 case Qt::Key_V: 1581 case Qt::Key_V:
1572 mView->viewManager()->showTodoView(); 1582 mView->viewManager()->showTodoView();
1573 break; 1583 break;
1574 case Qt::Key_C: 1584 case Qt::Key_C:
1575 mView->viewManager()->agendaView()->setStartHour( QTime::currentTime ().hour() ); 1585 mView->viewManager()->agendaView()->setStartHour( QTime::currentTime ().hour() );
1576 break; 1586 break;
1577 case Qt::Key_P: 1587 case Qt::Key_P:
1578 mView->showDatePicker( ); 1588 mView->showDatePicker( );
1579 break; 1589 break;
1580 case Qt::Key_F: 1590 case Qt::Key_F:
1581 if ( e->state() == Qt::ControlButton|| e->state() == Qt::ShiftButton ) 1591 if ( e->state() == Qt::ControlButton|| e->state() == Qt::ShiftButton )
1582 mView->editFilters(); 1592 mView->editFilters();
1583 else 1593 else
1584 mView->toggleFilter(); 1594 mView->toggleFilter();
1585 break; 1595 break;
1586 case Qt::Key_X: 1596 case Qt::Key_X:
1587 mView->toggleDateNavigatorWidget(); 1597 mView->toggleDateNavigatorWidget();
1588 break; 1598 break;
1589 case Qt::Key_Space: 1599 case Qt::Key_Space:
1590 mView->toggleExpand(); 1600 mView->toggleExpand();
1591 break; 1601 break;
1592 case Qt::Key_A: 1602 case Qt::Key_A:
1593 mView->toggleAllDaySize(); 1603 mView->toggleAllDaySize();
1594 break; 1604 break;
1595 case Qt::Key_T: 1605 case Qt::Key_T:
1596 if ( e->state() == Qt::ControlButton|| e->state() == Qt::ShiftButton ) 1606 if ( e->state() == Qt::ControlButton|| e->state() == Qt::ShiftButton )
1597 mView->newTodo(); 1607 mView->newTodo();
1598 else { 1608 else {
1599 mView->goToday(); 1609 mView->goToday();
1600 showSelectedDates = true; 1610 showSelectedDates = true;
1601 } 1611 }
1602 break; 1612 break;
1603 case Qt::Key_J: 1613 case Qt::Key_J:
1604 mView->viewManager()->showJournalView(); 1614 mView->viewManager()->showJournalView();
1605 break; 1615 break;
1606 case Qt::Key_B: 1616 case Qt::Key_B:
1607 mView->editIncidenceDescription();; 1617 mView->editIncidenceDescription();;
1608 break; 1618 break;
1609 // case Qt::Key_Return: 1619 // case Qt::Key_Return:
1610 case Qt::Key_E: 1620 case Qt::Key_E:
1611 if ( e->state() == Qt::ControlButton|| e->state() == Qt::ShiftButton ) 1621 if ( e->state() == Qt::ControlButton|| e->state() == Qt::ShiftButton )
1612 mView->newEvent(); 1622 mView->newEvent();
1613 else 1623 else
1614 mView->editIncidence(); 1624 mView->editIncidence();
1615 break; 1625 break;
1616 case Qt::Key_Plus: 1626 case Qt::Key_Plus:
1617 size = p->mHourSize +2; 1627 size = p->mHourSize +2;
1618 if ( size <= 18 ) 1628 if ( size <= 18 )
1619 configureAgenda( size ); 1629 configureAgenda( size );
1620 break; 1630 break;
1621 case Qt::Key_Minus: 1631 case Qt::Key_Minus:
1622 size = p->mHourSize - 2; 1632 size = p->mHourSize - 2;
1623 if ( size >= 4 ) 1633 if ( size >= 4 )
1624 configureAgenda( size ); 1634 configureAgenda( size );
1625 break; 1635 break;
1626 1636
1627 1637
1628 default: 1638 default:
1629 e->ignore(); 1639 e->ignore();
1630 } 1640 }
1631 if ( pro > 0 ) { 1641 if ( pro > 0 ) {
1632 mView->selectFilter( pro-1 ); 1642 mView->selectFilter( pro-1 );
1633 } 1643 }
1634 if ( showSelectedDates ) { 1644 if ( showSelectedDates ) {
1635 ;// setCaptionToDates(); 1645 ;// setCaptionToDates();
1636 } 1646 }
1637 1647
1638} 1648}
1639 1649
1640void MainWindow::fillFilterMenu() 1650void MainWindow::fillFilterMenu()
1641{ 1651{
1642 selectFilterMenu->clear(); 1652 selectFilterMenu->clear();
1643 bool disable = false; 1653 bool disable = false;
1644 selectFilterMenu->insertItem(i18n ( "Edit Filters" ), 0 ); 1654 selectFilterMenu->insertItem(i18n ( "Edit Filters" ), 0 );
1645 selectFilterMenu->insertSeparator(); 1655 selectFilterMenu->insertSeparator();
1646 if ( mView->filterView()->filtersEnabled() ) { 1656 if ( mView->filterView()->filtersEnabled() ) {
1647 selectFilterMenu->insertItem(i18n ( "Turn filter off" ), 1 ); 1657 selectFilterMenu->insertItem(i18n ( "Turn filter off" ), 1 );
1648 } 1658 }
1649 else { 1659 else {
1650 selectFilterMenu->insertItem(i18n ( "Turn filter on" ), 1 ); 1660 selectFilterMenu->insertItem(i18n ( "Turn filter on" ), 1 );
1651 disable = true; 1661 disable = true;
1652 } 1662 }
1653 selectFilterMenu->insertSeparator(); 1663 selectFilterMenu->insertSeparator();
1654 QPtrList<CalFilter> fili = mView->filters(); 1664 QPtrList<CalFilter> fili = mView->filters();
1655 CalFilter *curfilter = mView->filterView()->selectedFilter(); 1665 CalFilter *curfilter = mView->filterView()->selectedFilter();
1656 CalFilter *filter = fili.first(); 1666 CalFilter *filter = fili.first();
1657 int iii = 2; 1667 int iii = 2;
1658 while(filter) { 1668 while(filter) {
1659 selectFilterMenu->insertItem( filter->name(), iii ); 1669 selectFilterMenu->insertItem( filter->name(), iii );
1660 if ( filter == curfilter) 1670 if ( filter == curfilter)
1661 selectFilterMenu->setItemChecked( iii, true ); 1671 selectFilterMenu->setItemChecked( iii, true );
1662 if ( disable ) 1672 if ( disable )
1663 selectFilterMenu->setItemEnabled( iii, false ); 1673 selectFilterMenu->setItemEnabled( iii, false );
1664 filter = fili.next(); 1674 filter = fili.next();
1665 ++iii; 1675 ++iii;
1666 } 1676 }
1667} 1677}
1668void MainWindow::selectFilter( int fil ) 1678void MainWindow::selectFilter( int fil )
1669{ 1679{
1670 if ( fil == 0 ) { 1680 if ( fil == 0 ) {
1671 mView->editFilters( ); 1681 mView->editFilters( );
1672 } else if ( fil == 1 ){ 1682 } else if ( fil == 1 ){
1673 mView->toggleFilerEnabled( ); 1683 mView->toggleFilerEnabled( );
1674 } else { 1684 } else {
1675 mView->selectFilter( fil-2 ); 1685 mView->selectFilter( fil-2 );
1676 } 1686 }
1677} 1687}
1678void MainWindow::configureToolBar( int item ) 1688void MainWindow::configureToolBar( int item )
1679{ 1689{
1680 1690
1681 configureToolBarMenu->setItemChecked( item, !configureToolBarMenu-> isItemChecked ( item ) ); 1691 configureToolBarMenu->setItemChecked( item, !configureToolBarMenu-> isItemChecked ( item ) );
1682 KOPrefs *p = KOPrefs::instance(); 1692 KOPrefs *p = KOPrefs::instance();
1683 p-> mShowIconStretch= configureToolBarMenu->isItemChecked( 5 ); 1693 p-> mShowIconStretch= configureToolBarMenu->isItemChecked( 5 );
1684 p-> mShowIconNewEvent= configureToolBarMenu->isItemChecked( 10 ); 1694 p-> mShowIconNewEvent= configureToolBarMenu->isItemChecked( 10 );
1685 p->mShowIconNewTodo = configureToolBarMenu->isItemChecked( 20 ); 1695 p->mShowIconNewTodo = configureToolBarMenu->isItemChecked( 20 );
1686 p-> mShowIconSearch= configureToolBarMenu->isItemChecked( 120 ); 1696 p-> mShowIconSearch= configureToolBarMenu->isItemChecked( 120 );
1687 p-> mShowIconList= configureToolBarMenu->isItemChecked( 30 ); 1697 p-> mShowIconList= configureToolBarMenu->isItemChecked( 30 );
1688 p-> mShowIconDay1= configureToolBarMenu->isItemChecked( 40 ); 1698 p-> mShowIconDay1= configureToolBarMenu->isItemChecked( 40 );
1689 p-> mShowIconDay5= configureToolBarMenu->isItemChecked( 50 ); 1699 p-> mShowIconDay5= configureToolBarMenu->isItemChecked( 50 );
1690 p-> mShowIconDay7= configureToolBarMenu->isItemChecked( 60 ); 1700 p-> mShowIconDay7= configureToolBarMenu->isItemChecked( 60 );
1691 p-> mShowIconMonth= configureToolBarMenu->isItemChecked( 70 ); 1701 p-> mShowIconMonth= configureToolBarMenu->isItemChecked( 70 );
1692 p-> mShowIconTodoview= configureToolBarMenu->isItemChecked( 80 ); 1702 p-> mShowIconTodoview= configureToolBarMenu->isItemChecked( 80 );
1693 p-> mShowIconBackFast= configureToolBarMenu->isItemChecked( 200 ); 1703 p-> mShowIconBackFast= configureToolBarMenu->isItemChecked( 200 );
1694 p-> mShowIconBack = configureToolBarMenu->isItemChecked( 210 ); 1704 p-> mShowIconBack = configureToolBarMenu->isItemChecked( 210 );
1695 p-> mShowIconToday= configureToolBarMenu->isItemChecked( 130 ); 1705 p-> mShowIconToday= configureToolBarMenu->isItemChecked( 130 );
1696 p-> mShowIconForward= configureToolBarMenu->isItemChecked( 220 ); 1706 p-> mShowIconForward= configureToolBarMenu->isItemChecked( 220 );
1697 p-> mShowIconForwardFast= configureToolBarMenu->isItemChecked( 230 ); 1707 p-> mShowIconForwardFast= configureToolBarMenu->isItemChecked( 230 );
1698 p-> mShowIconNextDays= configureToolBarMenu->isItemChecked( 100 ); 1708 p-> mShowIconNextDays= configureToolBarMenu->isItemChecked( 100 );
1699 p-> mShowIconNext= configureToolBarMenu->isItemChecked( 110 ); 1709 p-> mShowIconNext= configureToolBarMenu->isItemChecked( 110 );
1700 p-> mShowIconJournal= configureToolBarMenu->isItemChecked( 90 ); 1710 p-> mShowIconJournal= configureToolBarMenu->isItemChecked( 90 );
1701 p-> mShowIconWhatsThis= configureToolBarMenu->isItemChecked( 300 ); 1711 p-> mShowIconWhatsThis= configureToolBarMenu->isItemChecked( 300 );
1702 // initActions(); 1712 // initActions();
1703} 1713}
1704 1714
1705void MainWindow::setCaptionToDates() 1715void MainWindow::setCaptionToDates()
1706{ 1716{
1707 QString selDates; 1717 QString selDates;
1708 selDates = KGlobal::locale()->formatDate(mView->startDate(), true); 1718 selDates = KGlobal::locale()->formatDate(mView->startDate(), true);
1709 if (mView->startDate() < mView->endDate() ) 1719 if (mView->startDate() < mView->endDate() )
1710 selDates += " - " + KGlobal::locale()->formatDate(mView->endDate(), true); 1720 selDates += " - " + KGlobal::locale()->formatDate(mView->endDate(), true);
1711 else { 1721 else {
1712 QString addString; 1722 QString addString;
1713 if ( mView->startDate() == QDateTime::currentDateTime().date() ) 1723 if ( mView->startDate() == QDateTime::currentDateTime().date() )
1714 addString = i18n("Today"); 1724 addString = i18n("Today");
1715 else if ( mView->startDate() == QDateTime::currentDateTime().date().addDays(1) ) 1725 else if ( mView->startDate() == QDateTime::currentDateTime().date().addDays(1) )
1716 addString = i18n("Tomorrow"); 1726 addString = i18n("Tomorrow");
1717 if ( !addString.isEmpty() ) 1727 if ( !addString.isEmpty() )
1718 selDates = addString+", "+selDates ; 1728 selDates = addString+", "+selDates ;
1719 } 1729 }
1720 setCaption( i18n("Dates: ") + selDates ); 1730 setCaption( i18n("Dates: ") + selDates );
1721 1731
1722} 1732}
1723// parameter item == 0: reinit 1733void MainWindow::showConfigureAgenda( )
1734{
1735 int iii;
1736 for ( iii = 1;iii<= 10 ;++iii ){
1737 configureAgendaMenu->setItemChecked( (iii+1)*2, false );
1738 }
1739 configureAgendaMenu->setItemChecked( KOPrefs::instance()->mHourSize, true );
1740}
1724void MainWindow::configureAgenda( int item ) 1741void MainWindow::configureAgenda( int item )
1725{ 1742{
1726 1743 if ( KOPrefs::instance()->mHourSize == item )
1727 KOPrefs *p = KOPrefs::instance();
1728
1729 int i;
1730 // do not allow 4 for widgets higher than 480
1731 // if ( QApplication::desktop()->height() > 480 ) {
1732// if ( item == 4 )
1733// item = 6;
1734// }
1735 for ( i = 4; i <= 18; i= i+2 )
1736 configureAgendaMenu->setItemChecked( i, false );
1737 configureAgendaMenu->setItemChecked( item, true );
1738 if ( p->mHourSize == item )
1739 return; 1744 return;
1740 p->mHourSize=item; 1745 KOPrefs::instance()->mHourSize=item;
1741 mView->viewManager()->agendaView()->updateConfig(); 1746 mView->viewManager()->agendaView()->updateConfig();
1742} 1747}
1743 1748
1744void MainWindow::saveCalendar() 1749void MainWindow::saveCalendar()
1745{ 1750{
1746 QString fn = KOPrefs::instance()->mLastSaveFile; 1751 QString fn = KOPrefs::instance()->mLastSaveFile;
1747 fn = KFileDialog::getSaveFileName( fn, i18n("Save backup filename"), this ); 1752 fn = KFileDialog::getSaveFileName( fn, i18n("Save backup filename"), this );
1748 1753
1749 if ( fn == "" ) 1754 if ( fn == "" )
1750 return; 1755 return;
1751 QFileInfo info; 1756 QFileInfo info;
1752 info.setFile( fn ); 1757 info.setFile( fn );
1753 QString mes; 1758 QString mes;
1754 bool createbup = true; 1759 bool createbup = true;
1755 if ( info. exists() ) { 1760 if ( info. exists() ) {
1756 mes = i18n("Backup file\nalready exists!\nOld backup file from:\n%1\nOverwrite?\n").arg(KGlobal::locale()->formatDateTime(info.lastModified (), true, false )) ; 1761 mes = i18n("Backup file\nalready exists!\nOld backup file from:\n%1\nOverwrite?\n").arg(KGlobal::locale()->formatDateTime(info.lastModified (), true, false )) ;
1757 int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"),mes, 1762 int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"),mes,
1758 i18n("Overwrite!"), i18n("Cancel"), 0, 1763 i18n("Overwrite!"), i18n("Cancel"), 0,
1759 0, 1 ); 1764 0, 1 );
1760 if ( result != 0 ) { 1765 if ( result != 0 ) {
1761 createbup = false; 1766 createbup = false;
1762 } 1767 }
1763 } 1768 }
1764 if ( createbup ) { 1769 if ( createbup ) {
1765 mView->saveCalendar( fn ); 1770 mView->saveCalendar( fn );
1766 mes = i18n("KO/Pi:Saved %1").arg(fn); 1771 mes = i18n("KO/Pi:Saved %1").arg(fn);
1767 KOPrefs::instance()->mLastSaveFile = fn; 1772 KOPrefs::instance()->mLastSaveFile = fn;
1768 setCaption(mes); 1773 setCaption(mes);
1769 } 1774 }
1770} 1775}
1771void MainWindow::loadCalendar() 1776void MainWindow::loadCalendar()
1772{ 1777{
1773 1778
1774 QString fn = KOPrefs::instance()->mLastLoadFile; 1779 QString fn = KOPrefs::instance()->mLastLoadFile;
1775 fn = KFileDialog::getOpenFileName( fn, i18n("Load backup filename"), this ); 1780 fn = KFileDialog::getOpenFileName( fn, i18n("Load backup filename"), this );
1776 1781
1777 if ( fn == "" ) 1782 if ( fn == "" )
1778 return; 1783 return;
1779 QFileInfo info; 1784 QFileInfo info;
1780 info.setFile( fn ); 1785 info.setFile( fn );
1781 QString mess; 1786 QString mess;
1782 bool loadbup = true; 1787 bool loadbup = true;
1783 if ( info. exists() ) { 1788 if ( info. exists() ) {
1784 mess = i18n("Backup file from:\n%1\nLoading backup\nfile will delete\nyour current Data!\n").arg(KGlobal::locale()->formatDateTime(info.lastModified (), true, false )); 1789 mess = i18n("Backup file from:\n%1\nLoading backup\nfile will delete\nyour current Data!\n").arg(KGlobal::locale()->formatDateTime(info.lastModified (), true, false ));
1785 int result = QMessageBox::warning( this, "KO/Pi: Warning!", 1790 int result = QMessageBox::warning( this, "KO/Pi: Warning!",
1786 mess, 1791 mess,
1787 i18n("Load!"), i18n("Cancel"), 0, 1792 i18n("Load!"), i18n("Cancel"), 0,
1788 0, 1 ); 1793 0, 1 );
1789 if ( result != 0 ) { 1794 if ( result != 0 ) {
1790 loadbup = false; 1795 loadbup = false;
1791 } 1796 }
1792 } else { 1797 } else {
1793 QMessageBox::warning( this, i18n("KO/Pi: Warning!"), 1798 QMessageBox::warning( this, i18n("KO/Pi: Warning!"),
1794 i18n("Backup file\ndoes not exist!\nNothing loaded!"), 0, 0, 1799 i18n("Backup file\ndoes not exist!\nNothing loaded!"), 0, 0,
1795 0, 1 ); 1800 0, 1 );
1796 1801
1797 return; 1802 return;
1798 } 1803 }
1799 if ( loadbup ) { 1804 if ( loadbup ) {
1800 mView->openCalendar( fn ); 1805 mView->openCalendar( fn );
1801 KOPrefs::instance()->mLastLoadFile = fn; 1806 KOPrefs::instance()->mLastLoadFile = fn;
1802 mess = i18n("KO/Pi:Loaded %1").arg(fn) ; 1807 mess = i18n("KO/Pi:Loaded %1").arg(fn) ;
1803 setCaption(mess); 1808 setCaption(mess);
1804 } 1809 }
1805 1810
1806} 1811}
1807void MainWindow::quickImportIcal() 1812void MainWindow::quickImportIcal()
1808{ 1813{
1809 importFile( KOPrefs::instance()->mLastImportFile, false ); 1814 importFile( KOPrefs::instance()->mLastImportFile, false );
1810} 1815}
1811void MainWindow::importFile( QString fn, bool quick ) 1816void MainWindow::importFile( QString fn, bool quick )
1812{ 1817{
1813 QFileInfo info; 1818 QFileInfo info;
1814 info.setFile( fn ); 1819 info.setFile( fn );
1815 QString mess; 1820 QString mess;
1816 bool loadbup = true; 1821 bool loadbup = true;
1817 if ( !info. exists() ) { 1822 if ( !info. exists() ) {
1818 mess = i18n("Import file \n...%1\ndoes not exist!\nNothing imported!\n").arg(fn.right( 30)); 1823 mess = i18n("Import file \n...%1\ndoes not exist!\nNothing imported!\n").arg(fn.right( 30));
1819 int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"), 1824 int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"),
1820 mess ); 1825 mess );
1821 return; 1826 return;
1822 } 1827 }
1823 int result = 0; 1828 int result = 0;
1824 if ( !quick ) { 1829 if ( !quick ) {
1825 mess = i18n( "Import file \n...%1\nfrom:\n%2\nDuplicated entries\nwill not be imported!\n").arg(fn.right( 25)).arg(KGlobal::locale()->formatDateTime(info.lastModified (), true, false )); 1830 mess = i18n( "Import file \n...%1\nfrom:\n%2\nDuplicated entries\nwill not be imported!\n").arg(fn.right( 25)).arg(KGlobal::locale()->formatDateTime(info.lastModified (), true, false ));
1826 result = QMessageBox::warning( this, "KO/Pi: Warning!", 1831 result = QMessageBox::warning( this, "KO/Pi: Warning!",
1827 mess, 1832 mess,
1828 "Import", "Cancel", 0, 1833 "Import", "Cancel", 0,
1829 0, 1 ); 1834 0, 1 );
1830 } 1835 }
1831 if ( result == 0 ) { 1836 if ( result == 0 ) {
1832 if ( mView->openCalendar( fn, true )) { 1837 if ( mView->openCalendar( fn, true )) {
1833 KOPrefs::instance()->mLastImportFile = fn; 1838 KOPrefs::instance()->mLastImportFile = fn;
1834 setCaption(i18n("Imported file successfully")); 1839 setCaption(i18n("Imported file successfully"));
1835 } else { 1840 } else {
1836 setCaption(i18n("Error importing file")); 1841 setCaption(i18n("Error importing file"));
1837 } 1842 }
1838 } 1843 }
1839} 1844}
1840 1845
1841void MainWindow::importIcal() 1846void MainWindow::importIcal()
1842{ 1847{
1843 1848
1844 QString fn =KOPrefs::instance()->mLastImportFile; 1849 QString fn =KOPrefs::instance()->mLastImportFile;
1845 1850
1846 fn =KFileDialog:: getOpenFileName( fn, i18n("Import filename(*.ics/*.vcs)"), this ); 1851 fn =KFileDialog:: getOpenFileName( fn, i18n("Import filename(*.ics/*.vcs)"), this );
1847 if ( fn == "" ) 1852 if ( fn == "" )
1848 return; 1853 return;
1849 importFile( fn, true ); 1854 importFile( fn, true );
1850 1855
1851} 1856}
1852 1857
1853void MainWindow::exportVCalendar() 1858void MainWindow::exportVCalendar()
1854{ 1859{
1855 QString fn = KOPrefs::instance()->mLastVcalFile; 1860 QString fn = KOPrefs::instance()->mLastVcalFile;
1856 fn = KFileDialog::getSaveFileName( fn, i18n("Export vcal filename(*.vcs)"), this ); 1861 fn = KFileDialog::getSaveFileName( fn, i18n("Export vcal filename(*.vcs)"), this );
1857 if ( fn == "" ) 1862 if ( fn == "" )
1858 return; 1863 return;
1859 QFileInfo info; 1864 QFileInfo info;
1860 info.setFile( fn ); 1865 info.setFile( fn );
1861 QString mes; 1866 QString mes;
1862 bool createbup = true; 1867 bool createbup = true;
1863 if ( info. exists() ) { 1868 if ( info. exists() ) {
1864 mes = i18n("Save file\nalready exists!\nOld save file from:\n%1\nOverwrite?\n").arg (KGlobal::locale()->formatDateTime(info.lastModified (), true, false ) ); 1869 mes = i18n("Save file\nalready exists!\nOld save file from:\n%1\nOverwrite?\n").arg (KGlobal::locale()->formatDateTime(info.lastModified (), true, false ) );
1865 int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"),mes, 1870 int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"),mes,
1866 i18n("Overwrite!"), i18n("Cancel"), 0, 1871 i18n("Overwrite!"), i18n("Cancel"), 0,
1867 0, 1 ); 1872 0, 1 );
1868 if ( result != 0 ) { 1873 if ( result != 0 ) {
1869 createbup = false; 1874 createbup = false;
1870 } 1875 }
1871 } 1876 }
1872 if ( createbup ) { 1877 if ( createbup ) {
1873 if ( mView->exportVCalendar( fn ) ) { 1878 if ( mView->exportVCalendar( fn ) ) {
1874 KOPrefs::instance()->mLastVcalFile = fn; 1879 KOPrefs::instance()->mLastVcalFile = fn;
1875 if ( fn.length() > 20 ) 1880 if ( fn.length() > 20 )
1876 mes = i18n("KO/Pi:Exported to ...%1").arg(fn.right(20)) ; 1881 mes = i18n("KO/Pi:Exported to ...%1").arg(fn.right(20)) ;
1877 else 1882 else
1878 mes = i18n("KO/Pi:Exported to %1").arg(fn ); 1883 mes = i18n("KO/Pi:Exported to %1").arg(fn );
1879 setCaption(mes); 1884 setCaption(mes);
1880 } 1885 }
1881 } 1886 }
1882 1887
1883} 1888}
1884 1889
1885void MainWindow::syncFileRequest() 1890void MainWindow::syncFileRequest()
1886{ 1891{
1887 if ( KOPrefs::instance()->mPassiveSyncWithDesktop ) { 1892 if ( KOPrefs::instance()->mPassiveSyncWithDesktop ) {
1888 mSyncManager->slotSyncMenu( 999 ); 1893 mSyncManager->slotSyncMenu( 999 );
1889 } 1894 }
1890 save(); 1895 save();
1891} 1896}
1892void MainWindow::getFile( bool success ) 1897void MainWindow::getFile( bool success )
1893{ 1898{
1894 if ( ! success ) { 1899 if ( ! success ) {
1895 setCaption( i18n("Error receiving file. Nothing changed!") ); 1900 setCaption( i18n("Error receiving file. Nothing changed!") );
1896 return; 1901 return;
1897 } 1902 }
1898 mView->openCalendar( defaultFileName() ); 1903 mView->openCalendar( defaultFileName() );
1899 if ( KOPrefs::instance()->mPassiveSyncWithDesktop ) { 1904 if ( KOPrefs::instance()->mPassiveSyncWithDesktop ) {
1900 mSyncManager->slotSyncMenu( 999 ); 1905 mSyncManager->slotSyncMenu( 999 );
1901 } 1906 }
1902 setCaption( i18n("Pi-Sync successful!") ); 1907 setCaption( i18n("Pi-Sync successful!") );
1903} 1908}
1904 1909
1905void MainWindow::printSel( ) 1910void MainWindow::printSel( )
1906{ 1911{
1907 mView->viewManager()->agendaView()->agenda()->printSelection(); 1912 mView->viewManager()->agendaView()->agenda()->printSelection();
1908} 1913}
1909 1914
1910void MainWindow::printCal() 1915void MainWindow::printCal()
1911{ 1916{
1912 mView->print();//mCp->showDialog(); 1917 mView->print();//mCp->showDialog();
1913} 1918}
1914 1919
diff --git a/korganizer/mainwindow.h b/korganizer/mainwindow.h
index 96e627e..6de0543 100644
--- a/korganizer/mainwindow.h
+++ b/korganizer/mainwindow.h
@@ -1,139 +1,141 @@
1#ifndef KORGE_MAINWINDOW_H 1#ifndef KORGE_MAINWINDOW_H
2#define KORGE_MAINWINDOW_H 2#define KORGE_MAINWINDOW_H
3 3
4#include <qmainwindow.h> 4#include <qmainwindow.h>
5#include <qtimer.h> 5#include <qtimer.h>
6#include <qdict.h> 6#include <qdict.h>
7#include <qfile.h> 7#include <qfile.h>
8#include <qtextstream.h> 8#include <qtextstream.h>
9#include <qregexp.h> 9#include <qregexp.h>
10 10
11#include <libkcal/incidence.h> 11#include <libkcal/incidence.h>
12#include "simplealarmclient.h" 12#include "simplealarmclient.h"
13#include <ksyncmanager.h> 13#include <ksyncmanager.h>
14#ifndef DESKTOP_VERSION 14#ifndef DESKTOP_VERSION
15#include <qcopchannel_qws.h> 15#include <qcopchannel_qws.h>
16#endif 16#endif
17class QAction; 17class QAction;
18class CalendarView; 18class CalendarView;
19class KSyncProfile; 19class KSyncProfile;
20#ifdef DESKTOP_VERSION 20#ifdef DESKTOP_VERSION
21 21
22#define QPEToolBar QToolBar 22#define QPEToolBar QToolBar
23#define QPEMenuBar QMenuBar 23#define QPEMenuBar QMenuBar
24#endif 24#endif
25class QPEToolBar; 25class QPEToolBar;
26 26
27 27
28namespace KCal { 28namespace KCal {
29class CalendarLocal; 29class CalendarLocal;
30} 30}
31 31
32using namespace KCal; 32using namespace KCal;
33 33
34class MainWindow : public QMainWindow 34class MainWindow : public QMainWindow
35{ 35{
36 Q_OBJECT 36 Q_OBJECT
37 public: 37 public:
38 MainWindow( QWidget *parent = 0, const char *name = 0, QString command = ""); 38 MainWindow( QWidget *parent = 0, const char *name = 0, QString command = "");
39 ~MainWindow(); 39 ~MainWindow();
40 bool beamReceiveEnabled(); 40 bool beamReceiveEnabled();
41 static QString defaultFileName();
42 static QString syncFileName();
43 static QString resourcePath();
41 public slots: 44 public slots:
42 virtual void showMaximized (); 45 virtual void showMaximized ();
43 void configureAgenda( int ); 46 void configureAgenda( int );
44 void recieve( const QCString& msg, const QByteArray& data ); 47 void recieve( const QCString& msg, const QByteArray& data );
45 static QString defaultFileName(); 48 protected slots:
46 static QString syncFileName();
47 static QString resourcePath();
48 protected slots:
49 void setCaptionToDates(); 49 void setCaptionToDates();
50 void about(); 50 void about();
51 void licence(); 51 void licence();
52 void faq(); 52 void faq();
53 void usertrans(); 53 void usertrans();
54 void features(); 54 void features();
55 void synchowto(); 55 void synchowto();
56 void kdesynchowto(); 56 void kdesynchowto();
57 void multisynchowto(); 57 void multisynchowto();
58 void whatsNew(); 58 void whatsNew();
59 void keyBindings(); 59 void keyBindings();
60 void aboutAutoSaving();; 60 void aboutAutoSaving();;
61 void aboutKnownBugs(); 61 void aboutKnownBugs();
62 62
63 void processIncidenceSelection( Incidence * ); 63 void processIncidenceSelection( Incidence * );
64 64
65 void importQtopia(); 65 void importQtopia();
66 void importBday(); 66 void importBday();
67 void importOL(); 67 void importOL();
68 void importIcal(); 68 void importIcal();
69 void importFile( QString, bool ); 69 void importFile( QString, bool );
70 void quickImportIcal(); 70 void quickImportIcal();
71 71
72 void slotModifiedChanged( bool ); 72 void slotModifiedChanged( bool );
73 73
74 void save(); 74 void save();
75 void configureToolBar( int ); 75 void configureToolBar( int );
76 void printSel(); 76 void printSel();
77 void printCal(); 77 void printCal();
78 void saveCalendar(); 78 void saveCalendar();
79 void loadCalendar(); 79 void loadCalendar();
80 void exportVCalendar(); 80 void exportVCalendar();
81 void fillFilterMenu(); 81 void fillFilterMenu();
82 void selectFilter( int ); 82 void selectFilter( int );
83 void exportToPhone( int ); 83 void exportToPhone( int );
84 void toggleBeamReceive(); 84 void toggleBeamReceive();
85 void disableBR(bool); 85 void disableBR(bool);
86 86
87 private slots:
88 void showConfigureAgenda();
89 void getFile( bool );
90 void syncFileRequest();
87 91
88 protected: 92 protected:
89 void displayText( QString, QString); 93 void displayText( QString, QString);
90
91 void enableIncidenceActions( bool ); 94 void enableIncidenceActions( bool );
92 95
93 private slots:
94 QSocket* piSocket;
95 QString piFileString;
96 QTime piTime;
97 void getFile( bool );
98 void syncFileRequest();
99 private: 96 private:
100 bool mBRdisabled; 97 bool mBRdisabled;
101#ifndef DESKTOP_VERSION 98#ifndef DESKTOP_VERSION
102 QCopChannel* infrared; 99 QCopChannel* infrared;
103#endif 100#endif
104 QAction* brAction; 101 QAction* brAction;
105 KSyncManager* mSyncManager; 102 KSyncManager* mSyncManager;
106 bool mClosed; 103 bool mClosed;
107 void saveOnClose(); 104 void saveOnClose();
108 bool mFlagKeyPressed; 105 bool mFlagKeyPressed;
109 bool mBlockAtStartup; 106 bool mBlockAtStartup;
110 QPEToolBar *iconToolBar; 107 QPEToolBar *iconToolBar;
111 void initActions(); 108 void initActions();
112 void setDefaultPreferences(); 109 void setDefaultPreferences();
113 void keyPressEvent ( QKeyEvent * ) ; 110 void keyPressEvent ( QKeyEvent * ) ;
114 void keyReleaseEvent ( QKeyEvent * ) ; 111 void keyReleaseEvent ( QKeyEvent * ) ;
115 QPopupMenu *configureToolBarMenu; 112 QPopupMenu *configureToolBarMenu;
116 QPopupMenu *selectFilterMenu; 113 QPopupMenu *selectFilterMenu;
117 QPopupMenu *configureAgendaMenu, *syncMenu; 114 QPopupMenu *configureAgendaMenu, *syncMenu;
118 CalendarLocal *mCalendar; 115 CalendarLocal *mCalendar;
119 CalendarView *mView; 116 CalendarView *mView;
120 QAction *mNewSubTodoAction; 117 QAction *mNewSubTodoAction;
121 118
122 QAction *mShowAction; 119 QAction *mShowAction;
123 QAction *mEditAction; 120 QAction *mEditAction;
124 QAction *mDeleteAction; 121 QAction *mDeleteAction;
125 QAction *mCloneAction; 122 QAction *mCloneAction;
126 QAction *mMoveAction; 123 QAction *mMoveAction;
127 QAction *mBeamAction; 124 QAction *mBeamAction;
128 QAction *mCancelAction; 125 QAction *mCancelAction;
129 126
127 QAction *mToggleNav;
128 QAction *mToggleFilter;
129 QAction *mToggleAllday;
130
131
130 void closeEvent( QCloseEvent* ce ); 132 void closeEvent( QCloseEvent* ce );
131 SimpleAlarmClient mAlarmClient; 133 SimpleAlarmClient mAlarmClient;
132 QTimer mSaveTimer; 134 QTimer mSaveTimer;
133 //bool mBlockSaveFlag; 135 //bool mBlockSaveFlag;
134 bool mCalendarModifiedFlag; 136 bool mCalendarModifiedFlag;
135 QPixmap loadPixmap( QString ); 137 QPixmap loadPixmap( QString );
136}; 138};
137 139
138 140
139#endif 141#endif