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 | |
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 | |||
@@ -258,33 +258,37 @@ KOPrefs::KOPrefs() : | |||
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"); |
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp index be69be7..a487f14 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp | |||
@@ -1116,33 +1116,33 @@ void MainWindow::keyBindings() | |||
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") + |