author | zautrix <zautrix> | 2004-07-10 10:29:33 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-07-10 10:29:33 (UTC) |
commit | abac12317e02aa83579102d04a75e027e45ec667 (patch) (unidiff) | |
tree | 2348fa00a852184b4d0e6b6ab9e882918b8d0748 /korganizer | |
parent | adaa664ac87d6b78e9431d3376f7a24461edf469 (diff) | |
download | kdepimpi-abac12317e02aa83579102d04a75e027e45ec667.zip kdepimpi-abac12317e02aa83579102d04a75e027e45ec667.tar.gz kdepimpi-abac12317e02aa83579102d04a75e027e45ec667.tar.bz2 |
Turned on internal alarm on dektop as default
-rw-r--r-- | korganizer/koprefs.cpp | 4 | ||||
-rw-r--r-- | korganizer/mainwindow.cpp | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/korganizer/koprefs.cpp b/korganizer/koprefs.cpp index 2900a40..3ba5ab2 100644 --- a/korganizer/koprefs.cpp +++ b/korganizer/koprefs.cpp | |||
@@ -226,97 +226,101 @@ KOPrefs::KOPrefs() : | |||
226 | 226 | ||
227 | KPrefs::setCurrentGroup("Colors"); | 227 | KPrefs::setCurrentGroup("Colors"); |
228 | addItemColor("Holiday Color",&mHolidayColor,defaultHolidayColor); | 228 | addItemColor("Holiday Color",&mHolidayColor,defaultHolidayColor); |
229 | addItemColor("Highlight Color",&mHighlightColor,defaultHighlightColor); | 229 | addItemColor("Highlight Color",&mHighlightColor,defaultHighlightColor); |
230 | addItemColor("Event Color",&mEventColor,mDefaultCategoryColor); | 230 | addItemColor("Event Color",&mEventColor,mDefaultCategoryColor); |
231 | addItemColor("Agenda Background Color",&mAgendaBgColor,defaultAgendaBgColor); | 231 | addItemColor("Agenda Background Color",&mAgendaBgColor,defaultAgendaBgColor); |
232 | addItemColor("WorkingHours Color",&mWorkingHoursColor,defaultWorkingHoursColor); | 232 | addItemColor("WorkingHours Color",&mWorkingHoursColor,defaultWorkingHoursColor); |
233 | addItemColor("Todo due today Color",&mTodoDueTodayColor,defaultTodoDueTodayColor); | 233 | addItemColor("Todo due today Color",&mTodoDueTodayColor,defaultTodoDueTodayColor); |
234 | addItemColor("Todo overdue Color",&mTodoOverdueColor,defaultTodoOverdueColor); | 234 | addItemColor("Todo overdue Color",&mTodoOverdueColor,defaultTodoOverdueColor); |
235 | addItemColor("MonthViewEvenColor",&mMonthViewEvenColor,QColor( 160,160,255 )); | 235 | addItemColor("MonthViewEvenColor",&mMonthViewEvenColor,QColor( 160,160,255 )); |
236 | addItemColor("MonthViewOddColor",&mMonthViewOddColor,QColor( 160,255,160 )); | 236 | addItemColor("MonthViewOddColor",&mMonthViewOddColor,QColor( 160,255,160 )); |
237 | addItemColor("MonthViewHolidayColor",&mMonthViewHolidayColor,QColor( 255,160,160 )); | 237 | addItemColor("MonthViewHolidayColor",&mMonthViewHolidayColor,QColor( 255,160,160 )); |
238 | addItemBool("MonthViewUsesDayColors",&mMonthViewUsesDayColors,true); | 238 | addItemBool("MonthViewUsesDayColors",&mMonthViewUsesDayColors,true); |
239 | addItemBool("MonthViewSatSunTog",&mMonthViewSatSunTog,true); | 239 | addItemBool("MonthViewSatSunTog",&mMonthViewSatSunTog,true); |
240 | addItemBool("HightlightDateTimeEdit",&mHightlightDateTimeEdit,false); | 240 | addItemBool("HightlightDateTimeEdit",&mHightlightDateTimeEdit,false); |
241 | addItemColor("AppColor1",&mAppColor1,QColor( 130,170,255 )); | 241 | addItemColor("AppColor1",&mAppColor1,QColor( 130,170,255 )); |
242 | addItemColor("AppColor2",&mAppColor2,QColor( 174,216,255 )); | 242 | addItemColor("AppColor2",&mAppColor2,QColor( 174,216,255 )); |
243 | addItemBool("UseAppColors",&mUseAppColors,false); | 243 | addItemBool("UseAppColors",&mUseAppColors,false); |
244 | 244 | ||
245 | 245 | ||
246 | 246 | ||
247 | KPrefs::setCurrentGroup("Views"); | 247 | KPrefs::setCurrentGroup("Views"); |
248 | addItemInt("Hour Size",&mHourSize,8); | 248 | addItemInt("Hour Size",&mHourSize,8); |
249 | addItemBool("Show Daily Recurrences",&mDailyRecur,true); | 249 | addItemBool("Show Daily Recurrences",&mDailyRecur,true); |
250 | addItemBool("Show Weekly Recurrences",&mWeeklyRecur,true); | 250 | addItemBool("Show Weekly Recurrences",&mWeeklyRecur,true); |
251 | addItemBool("Show Month Daily Recurrences",&mMonthDailyRecur,true); | 251 | addItemBool("Show Month Daily Recurrences",&mMonthDailyRecur,true); |
252 | addItemBool("Show Month Weekly Recurrences",&mMonthWeeklyRecur,true); | 252 | addItemBool("Show Month Weekly Recurrences",&mMonthWeeklyRecur,true); |
253 | addItemBool("ShowShortMonthName",&mMonthShowShort,false); | 253 | addItemBool("ShowShortMonthName",&mMonthShowShort,false); |
254 | addItemBool("ShowIconsInMonthCell",&mMonthShowIcons,true); | 254 | addItemBool("ShowIconsInMonthCell",&mMonthShowIcons,true); |
255 | addItemBool("Enable ToolTips",&mEnableToolTips,false); | 255 | addItemBool("Enable ToolTips",&mEnableToolTips,false); |
256 | addItemBool("Enable MonthView ScrollBars",&mEnableMonthScroll,false); | 256 | addItemBool("Enable MonthView ScrollBars",&mEnableMonthScroll,false); |
257 | addItemBool("Marcus Bains shows seconds",&mMarcusBainsShowSeconds,false); | 257 | addItemBool("Marcus Bains shows seconds",&mMarcusBainsShowSeconds,false); |
258 | addItemBool("Show Marcus Bains",&mMarcusBainsEnabled,true); | 258 | addItemBool("Show Marcus Bains",&mMarcusBainsEnabled,true); |
259 | addItemBool("EditOnDoubleClick",&mEditOnDoubleClick,true); | 259 | addItemBool("EditOnDoubleClick",&mEditOnDoubleClick,true); |
260 | addItemBool("ViewChangeHoldFullscreen",&mViewChangeHoldFullscreen,false); | 260 | addItemBool("ViewChangeHoldFullscreen",&mViewChangeHoldFullscreen,false); |
261 | addItemBool("ViewChangeHoldNonFullscreen",&mViewChangeHoldNonFullscreen,false); | 261 | addItemBool("ViewChangeHoldNonFullscreen",&mViewChangeHoldNonFullscreen,false); |
262 | addItemBool("CenterOnCurrentTime",&mCenterOnCurrentTime,false); | 262 | addItemBool("CenterOnCurrentTime",&mCenterOnCurrentTime,false); |
263 | addItemBool("SetTimeToDayStartAt",&mSetTimeToDayStartAt,true); | 263 | addItemBool("SetTimeToDayStartAt",&mSetTimeToDayStartAt,true); |
264 | addItemBool("HighlightCurrentDay",&mHighlightCurrentDay,true); | 264 | addItemBool("HighlightCurrentDay",&mHighlightCurrentDay,true); |
265 | addItemBool("WNViewShowsParents",&mWNViewShowsParents,true); | 265 | addItemBool("WNViewShowsParents",&mWNViewShowsParents,true); |
266 | addItemBool("WNViewShowLocation",&mWNViewShowLocation,false); | 266 | addItemBool("WNViewShowLocation",&mWNViewShowLocation,false); |
267 | addItemBool("UseHighlightLightColor",&mUseHighlightLightColor,false); | 267 | addItemBool("UseHighlightLightColor",&mUseHighlightLightColor,false); |
268 | addItemBool("ListViewMonthTimespan",&mListViewMonthTimespan,true); | 268 | addItemBool("ListViewMonthTimespan",&mListViewMonthTimespan,true); |
269 | addItemBool("TodoViewUsesCatColors",&mTodoViewUsesCatColors,false); | 269 | addItemBool("TodoViewUsesCatColors",&mTodoViewUsesCatColors,false); |
270 | addItemBool("TodoViewShowsPercentage",&mTodoViewShowsPercentage,false); | 270 | addItemBool("TodoViewShowsPercentage",&mTodoViewShowsPercentage,false); |
271 | addItemBool("TodoViewUsesSmallFont",&mTodoViewUsesSmallFont,false); | 271 | addItemBool("TodoViewUsesSmallFont",&mTodoViewUsesSmallFont,false); |
272 | addItemBool("TodoViewUsesForegroundColor",&mTodoViewUsesForegroundColor,false); | 272 | addItemBool("TodoViewUsesForegroundColor",&mTodoViewUsesForegroundColor,false); |
273 | addItemBool("MonthViewUsesForegroundColor",&mMonthViewUsesForegroundColor,false); | 273 | addItemBool("MonthViewUsesForegroundColor",&mMonthViewUsesForegroundColor,false); |
274 | #ifdef DESKTOP_VERSION | ||
275 | addItemBool("UseInternalAlarmNotification",&mUseInternalAlarmNotification,true); | ||
276 | #else | ||
274 | addItemBool("UseInternalAlarmNotification",&mUseInternalAlarmNotification,false); | 277 | addItemBool("UseInternalAlarmNotification",&mUseInternalAlarmNotification,false); |
278 | #endif | ||
275 | addItemInt("Day Begins",&mDayBegins,7); | 279 | addItemInt("Day Begins",&mDayBegins,7); |
276 | addItemInt("Working Hours Start",&mWorkingHoursStart,8); | 280 | addItemInt("Working Hours Start",&mWorkingHoursStart,8); |
277 | addItemInt("Working Hours End",&mWorkingHoursEnd,17); | 281 | addItemInt("Working Hours End",&mWorkingHoursEnd,17); |
278 | addItemBool("Exclude Holidays",&mExcludeHolidays,true); | 282 | addItemBool("Exclude Holidays",&mExcludeHolidays,true); |
279 | addItemBool("Exclude Saturdays",&mExcludeSaturdays,true); | 283 | addItemBool("Exclude Saturdays",&mExcludeSaturdays,true); |
280 | 284 | ||
281 | addItemBool("Month View Uses Category Color",&mMonthViewUsesCategoryColor,false); | 285 | addItemBool("Month View Uses Category Color",&mMonthViewUsesCategoryColor,false); |
282 | addItemBool("Full View Month",&mFullViewMonth,true); | 286 | addItemBool("Full View Month",&mFullViewMonth,true); |
283 | addItemBool("Full View Todo",&mFullViewTodo,true); | 287 | addItemBool("Full View Todo",&mFullViewTodo,true); |
284 | addItemBool("Quick Todo",&mEnableQuickTodo,false); | 288 | addItemBool("Quick Todo",&mEnableQuickTodo,false); |
285 | 289 | ||
286 | addItemInt("Next X Days",&mNextXDays,3); | 290 | addItemInt("Next X Days",&mNextXDays,3); |
287 | 291 | ||
288 | KPrefs::setCurrentGroup("Printer"); | 292 | KPrefs::setCurrentGroup("Printer"); |
289 | 293 | ||
290 | KPrefs::setCurrentGroup("Layout"); | 294 | KPrefs::setCurrentGroup("Layout"); |
291 | 295 | ||
292 | addItemBool("CompactDialogs",&mCompactDialogs,false); | 296 | addItemBool("CompactDialogs",&mCompactDialogs,false); |
293 | addItemBool("VerticalScreen",&mVerticalScreen,true); | 297 | addItemBool("VerticalScreen",&mVerticalScreen,true); |
294 | 298 | ||
295 | KPrefs::setCurrentGroup("KOrganizer Plugins"); | 299 | KPrefs::setCurrentGroup("KOrganizer Plugins"); |
296 | 300 | ||
297 | addItemStringList("SelectedPlugins",&mSelectedPlugins,"holidays"); | 301 | addItemStringList("SelectedPlugins",&mSelectedPlugins,"holidays"); |
298 | 302 | ||
299 | KPrefs::setCurrentGroup("Group Scheduling"); | 303 | KPrefs::setCurrentGroup("Group Scheduling"); |
300 | 304 | ||
301 | addItemInt("IMIPScheduler",&mIMIPScheduler,IMIPKMail); | 305 | addItemInt("IMIPScheduler",&mIMIPScheduler,IMIPKMail); |
302 | addItemInt("IMIPSend",&mIMIPSend,IMIPdirectsend); | 306 | addItemInt("IMIPSend",&mIMIPSend,IMIPdirectsend); |
303 | addItemStringList("AdditionalMails",&mAdditionalMails,""); | 307 | addItemStringList("AdditionalMails",&mAdditionalMails,""); |
304 | addItemInt("IMIP auto refresh",&mIMIPAutoRefresh,neverAuto); | 308 | addItemInt("IMIP auto refresh",&mIMIPAutoRefresh,neverAuto); |
305 | addItemInt("IMIP auto insert request",&mIMIPAutoInsertRequest,neverAuto); | 309 | addItemInt("IMIP auto insert request",&mIMIPAutoInsertRequest,neverAuto); |
306 | addItemInt("IMIP auto insert reply",&mIMIPAutoInsertReply,neverAuto); | 310 | addItemInt("IMIP auto insert reply",&mIMIPAutoInsertReply,neverAuto); |
307 | addItemInt("IMIP auto FreeBusy",&mIMIPAutoFreeBusy,neverAuto); | 311 | addItemInt("IMIP auto FreeBusy",&mIMIPAutoFreeBusy,neverAuto); |
308 | addItemInt("IMIP auto save FreeBusy",&mIMIPAutoFreeBusyReply,neverAuto); | 312 | addItemInt("IMIP auto save FreeBusy",&mIMIPAutoFreeBusyReply,neverAuto); |
309 | 313 | ||
310 | KPrefs::setCurrentGroup( "Editors" ); | 314 | KPrefs::setCurrentGroup( "Editors" ); |
311 | 315 | ||
312 | addItemStringList( "EventTemplates", &mEventTemplates ); | 316 | addItemStringList( "EventTemplates", &mEventTemplates ); |
313 | addItemStringList( "TodoTemplates", &mTodoTemplates ); | 317 | addItemStringList( "TodoTemplates", &mTodoTemplates ); |
314 | 318 | ||
315 | addItemInt("DestinationPolicy",&mDestination,standardDestination); | 319 | addItemInt("DestinationPolicy",&mDestination,standardDestination); |
316 | 320 | ||
317 | 321 | ||
318 | 322 | ||
319 | } | 323 | } |
320 | 324 | ||
321 | 325 | ||
322 | KOPrefs::~KOPrefs() | 326 | KOPrefs::~KOPrefs() |
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp index be69be7..a487f14 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp | |||
@@ -1084,97 +1084,97 @@ void MainWindow::keyBindings() | |||
1084 | i18n("<p><b>N</b>: Next days view| <b>W</b>: What's next view\n ")+ | 1084 | i18n("<p><b>N</b>: Next days view| <b>W</b>: What's next view\n ")+ |
1085 | i18n("<p><b>V</b>: Todo view | <b>L</b>: Event list view</p>\n")+ | 1085 | i18n("<p><b>V</b>: Todo view | <b>L</b>: Event list view</p>\n")+ |
1086 | i18n("<p><b>Z,Y</b>: Work week view | <b>U</b>: Week view</p>\n")+ | 1086 | i18n("<p><b>Z,Y</b>: Work week view | <b>U</b>: Week view</p>\n")+ |
1087 | i18n("<p><b>D</b>: One day view | <b>M</b>: Month view</p>\n")+ | 1087 | i18n("<p><b>D</b>: One day view | <b>M</b>: Month view</p>\n")+ |
1088 | i18n("<p><b>E</b>: Edit selected item |<b> E+ctrl</b>: New Event</p>\n")+ | 1088 | i18n("<p><b>E</b>: Edit selected item |<b> E+ctrl</b>: New Event</p>\n")+ |
1089 | i18n("<p><b>T</b>: Goto today | <b>T+ctrl</b>: New Todo</p>\n")+ | 1089 | i18n("<p><b>T</b>: Goto today | <b>T+ctrl</b>: New Todo</p>\n")+ |
1090 | i18n("<p><b>S+ctrl</b>: Add sub-todo | <b>X</b>: Toggle datenavigator</p>\n")+ | 1090 | i18n("<p><b>S+ctrl</b>: Add sub-todo | <b>X</b>: Toggle datenavigator</p>\n")+ |
1091 | i18n("<p><b>+,-</b> : Zoom in/out agenda | <b>A</b>: Toggle allday agenda height</p>\n")+ | 1091 | i18n("<p><b>+,-</b> : Zoom in/out agenda | <b>A</b>: Toggle allday agenda height</p>\n")+ |
1092 | i18n("<p><b>C</b>: Show current time in agenda view</p>\n")+ | 1092 | i18n("<p><b>C</b>: Show current time in agenda view</p>\n")+ |
1093 | i18n("<p><b>B</b>: Edit description (details) of selected item</p>\n")+ | 1093 | i18n("<p><b>B</b>: Edit description (details) of selected item</p>\n")+ |
1094 | i18n("<p><b>right</b>: Next week | <b>right+ctrl</b>: Next month</p>\n")+ | 1094 | i18n("<p><b>right</b>: Next week | <b>right+ctrl</b>: Next month</p>\n")+ |
1095 | i18n("<p><b>left</b>: Prev. week | <b>left+ctrl</b>: Prev. month</p>\n")+ | 1095 | i18n("<p><b>left</b>: Prev. week | <b>left+ctrl</b>: Prev. month</p>\n")+ |
1096 | i18n("<p><b>del,backspace</b>: Delete selected item</p>\n")+ | 1096 | i18n("<p><b>del,backspace</b>: Delete selected item</p>\n")+ |
1097 | i18n("<p><h3>In agenda view:</h3></p>\n") + | 1097 | i18n("<p><h3>In agenda view:</h3></p>\n") + |
1098 | i18n("<p><b>up/down</b>: Scroll agenda view</p>\n")+ | 1098 | i18n("<p><b>up/down</b>: Scroll agenda view</p>\n")+ |
1099 | i18n("<p><b>ctrl+up/down</b>: Scroll small todo view</p>\n")+ | 1099 | i18n("<p><b>ctrl+up/down</b>: Scroll small todo view</p>\n")+ |
1100 | i18n("<p><h3>In todo view:</h3></p>\n") + | 1100 | i18n("<p><h3>In todo view:</h3></p>\n") + |
1101 | i18n("<p><b>Q</b>: Toggle quick todo line edit.</p>\n")+ | 1101 | i18n("<p><b>Q</b>: Toggle quick todo line edit.</p>\n")+ |
1102 | i18n("<p><b>I</b>: Show info of current item+one step down.</p>\n")+ | 1102 | i18n("<p><b>I</b>: Show info of current item+one step down.</p>\n")+ |
1103 | i18n("<p><b>return</b>: Mark item as completed+one step down.</p>\n")+ | 1103 | i18n("<p><b>return</b>: Mark item as completed+one step down.</p>\n")+ |
1104 | i18n("<p><b>return+shift</b>: Mark item as not completed+one step down</p>\n")+ | 1104 | i18n("<p><b>return+shift</b>: Mark item as not completed+one step down</p>\n")+ |
1105 | i18n("<p><h3>In list view:</h3></p>\n") + | 1105 | i18n("<p><h3>In list view:</h3></p>\n") + |
1106 | i18n("<p><b>I</b>: Show info of current item+one step down.</p>\n")+ | 1106 | i18n("<p><b>I</b>: Show info of current item+one step down.</p>\n")+ |
1107 | i18n("<p><b>return</b>: Select item+one step down</p>\n")+ | 1107 | i18n("<p><b>return</b>: Select item+one step down</p>\n")+ |
1108 | i18n("<p><b>return+shift</b>: Deselect item+one step down</p>\n")+ | 1108 | i18n("<p><b>return+shift</b>: Deselect item+one step down</p>\n")+ |
1109 | i18n("<p><b>up/down</b>: Next/prev item</p>\n")+ | 1109 | i18n("<p><b>up/down</b>: Next/prev item</p>\n")+ |
1110 | i18n("<p><b>ctrl+up/down</b>: Goto up/down by 20% of items</p>\n")+ | 1110 | i18n("<p><b>ctrl+up/down</b>: Goto up/down by 20% of items</p>\n")+ |
1111 | i18n("<p><b>shift+up/down</b>: Goto first/last item</p>\n")+ | 1111 | i18n("<p><b>shift+up/down</b>: Goto first/last item</p>\n")+ |
1112 | i18n("<p><h3>In event/todo viewer:</h3></p>\n") + | 1112 | i18n("<p><h3>In event/todo viewer:</h3></p>\n") + |
1113 | i18n("<p><b>I,C</b>: Close dialog.</p>\n")+ | 1113 | i18n("<p><b>I,C</b>: Close dialog.</p>\n")+ |
1114 | i18n("<p><b>A</b>: Show agenda view.</p>\n")+ | 1114 | i18n("<p><b>A</b>: Show agenda view.</p>\n")+ |
1115 | i18n("<p><b>E</b>: Edit item</p>\n") + | 1115 | i18n("<p><b>E</b>: Edit item</p>\n") + |
1116 | i18n("<p><h2>KO/Pi icon colors:</h2></p>\n") + | 1116 | i18n("<p><h2>KO/Pi icon colors:</h2></p>\n") + |
1117 | i18n("<p><b>(for square icons in agenda and month view)</b></p>\n") + | 1117 | i18n("<p><b>(for square icons in agenda and month view)</b></p>\n") + |
1118 | i18n("<p><b>Cross</b>: Item cancelled.([c] in Whats'Next view)</p>\n")+ | 1118 | i18n("<p><b>Cross</b>: Item cancelled.([c] in Whats'Next view)</p>\n")+ |
1119 | i18n("<p><b>Red</b>: Alarm set.([a] in Whats'Next view)</p>\n")+ | 1119 | i18n("<p><b>Red</b>: Alarm set.([a] in Whats'Next view)</p>\n")+ |
1120 | i18n("<p><b>Blue</b>: Recurrent event.([r] in Whats'Next view)</p>\n")+ | 1120 | i18n("<p><b>Blue</b>: Recurrent event.([r] in Whats'Next view)</p>\n")+ |
1121 | i18n("<p><b>Dark green</b>: Information(description) available.([i] in WN view)</p>\n")+ | 1121 | i18n("<p><b>Dark green</b>: Information(description) available.([i] in WN view)</p>\n")+ |
1122 | i18n("<p><b>Black</b>: Event/todo with attendees. You are the organizer!</p>\n")+ | 1122 | i18n("<p><b>Black</b>: Event/todo with attendees. You are the organizer!</p>\n")+ |
1123 | i18n("<p><b>Dark yellow</b>: Event/todo with attendees.</p>\n") + | 1123 | i18n("<p><b>Dark yellow</b>: Event/todo with attendees.</p>\n") + |
1124 | i18n("<p><b>White</b>: Item readonly</p>\n"); | 1124 | i18n("<p><b>White</b>: Item readonly</p>\n"); |
1125 | displayText( text, cap); | 1125 | displayText( text, cap); |
1126 | 1126 | ||
1127 | } | 1127 | } |
1128 | void MainWindow::aboutAutoSaving() | 1128 | void MainWindow::aboutAutoSaving() |
1129 | { | 1129 | { |
1130 | QMessageBox* msg; | 1130 | QMessageBox* msg; |
1131 | msg = new QMessageBox( i18n("Auto Saving in KOrganizer/Pi"), | 1131 | msg = new QMessageBox( i18n("Auto Saving in KOrganizer/Pi"), |
1132 | i18n("After changing something, the data is\nautomatically saved to the file\n~/Applications/korganizer/calendar/mycalendar.ics\nafter (configureable) 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"), QMessageBox::NoIcon, | 1132 | i18n("After changing something, the data is\nautomatically saved to the file\n~/kdepim/apps/korganizer/mycalendar.ics\nafter (configureable) 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"), QMessageBox::NoIcon, |
1133 | QMessageBox::Ok, | 1133 | QMessageBox::Ok, |
1134 | QMessageBox::NoButton, | 1134 | QMessageBox::NoButton, |
1135 | QMessageBox::NoButton); | 1135 | QMessageBox::NoButton); |
1136 | msg->exec(); | 1136 | msg->exec(); |
1137 | delete msg; | 1137 | delete msg; |
1138 | 1138 | ||
1139 | 1139 | ||
1140 | } | 1140 | } |
1141 | void MainWindow::aboutKnownBugs() | 1141 | void MainWindow::aboutKnownBugs() |
1142 | { | 1142 | { |
1143 | QMessageBox* msg; | 1143 | QMessageBox* msg; |
1144 | msg = new QMessageBox( i18n("Known Problems in KOrganizer/Pi"), | 1144 | msg = new QMessageBox( i18n("Known Problems in KOrganizer/Pi"), |
1145 | i18n("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")+ | 1145 | i18n("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")+ |
1146 | i18n("2) Audio alarm daemon\nfor Zaurus is available!\nas an additional small application\n")+ | 1146 | i18n("2) Audio alarm daemon\nfor Zaurus is available!\nas an additional small application\n")+ |
1147 | i18n("\nPlease report unexpected behaviour to\nlutz@pi-sync.net\n") + | 1147 | i18n("\nPlease report unexpected behaviour to\nlutz@pi-sync.net\n") + |
1148 | i18n("\nor report them in the bugtracker on\n") + | 1148 | i18n("\nor report them in the bugtracker on\n") + |
1149 | i18n("\nhttp://sourceforge.net/projects/kdepimpi\n"), | 1149 | i18n("\nhttp://sourceforge.net/projects/kdepimpi\n"), |
1150 | QMessageBox::NoIcon, | 1150 | QMessageBox::NoIcon, |
1151 | QMessageBox::Ok, | 1151 | QMessageBox::Ok, |
1152 | QMessageBox::NoButton, | 1152 | QMessageBox::NoButton, |
1153 | QMessageBox::NoButton); | 1153 | QMessageBox::NoButton); |
1154 | msg->exec(); | 1154 | msg->exec(); |
1155 | delete msg; | 1155 | delete msg; |
1156 | 1156 | ||
1157 | } | 1157 | } |
1158 | 1158 | ||
1159 | QString MainWindow::defaultFileName() | 1159 | QString MainWindow::defaultFileName() |
1160 | { | 1160 | { |
1161 | return locateLocal( "data", "korganizer/mycalendar.ics" ); | 1161 | return locateLocal( "data", "korganizer/mycalendar.ics" ); |
1162 | } | 1162 | } |
1163 | 1163 | ||
1164 | void MainWindow::processIncidenceSelection( Incidence *incidence ) | 1164 | void MainWindow::processIncidenceSelection( Incidence *incidence ) |
1165 | { | 1165 | { |
1166 | if ( !incidence ) { | 1166 | if ( !incidence ) { |
1167 | enableIncidenceActions( false ); | 1167 | enableIncidenceActions( false ); |
1168 | 1168 | ||
1169 | mNewSubTodoAction->setEnabled( false ); | 1169 | mNewSubTodoAction->setEnabled( false ); |
1170 | setCaptionToDates(); | 1170 | setCaptionToDates(); |
1171 | return; | 1171 | return; |
1172 | 1172 | ||
1173 | } | 1173 | } |
1174 | 1174 | ||
1175 | //KGlobal::locale()->formatDateTime(nextA, true); | 1175 | //KGlobal::locale()->formatDateTime(nextA, true); |
1176 | QString startString = ""; | 1176 | QString startString = ""; |
1177 | if ( incidence->type() != "Todo" ) { | 1177 | if ( incidence->type() != "Todo" ) { |
1178 | if ( incidence->dtStart().date() < incidence->dtEnd().date() ) { | 1178 | if ( incidence->dtStart().date() < incidence->dtEnd().date() ) { |
1179 | if ( incidence->doesFloat() ) { | 1179 | if ( incidence->doesFloat() ) { |
1180 | startString += ": "+incidence->dtStartDateStr( true ); | 1180 | startString += ": "+incidence->dtStartDateStr( true ); |