summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2004-07-10 10:29:33 (UTC)
committer zautrix <zautrix>2004-07-10 10:29:33 (UTC)
commitabac12317e02aa83579102d04a75e027e45ec667 (patch) (side-by-side diff)
tree2348fa00a852184b4d0e6b6ab9e882918b8d0748
parentadaa664ac87d6b78e9431d3376f7a24461edf469 (diff)
downloadkdepimpi-abac12317e02aa83579102d04a75e027e45ec667.zip
kdepimpi-abac12317e02aa83579102d04a75e027e45ec667.tar.gz
kdepimpi-abac12317e02aa83579102d04a75e027e45ec667.tar.bz2
Turned on internal alarm on dektop as default
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/koprefs.cpp4
-rw-r--r--korganizer/mainwindow.cpp2
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
@@ -268,13 +268,17 @@ KOPrefs::KOPrefs() :
addItemBool("ListViewMonthTimespan",&mListViewMonthTimespan,true);
addItemBool("TodoViewUsesCatColors",&mTodoViewUsesCatColors,false);
addItemBool("TodoViewShowsPercentage",&mTodoViewShowsPercentage,false);
addItemBool("TodoViewUsesSmallFont",&mTodoViewUsesSmallFont,false);
addItemBool("TodoViewUsesForegroundColor",&mTodoViewUsesForegroundColor,false);
addItemBool("MonthViewUsesForegroundColor",&mMonthViewUsesForegroundColor,false);
+#ifdef DESKTOP_VERSION
+ addItemBool("UseInternalAlarmNotification",&mUseInternalAlarmNotification,true);
+#else
addItemBool("UseInternalAlarmNotification",&mUseInternalAlarmNotification,false);
+#endif
addItemInt("Day Begins",&mDayBegins,7);
addItemInt("Working Hours Start",&mWorkingHoursStart,8);
addItemInt("Working Hours End",&mWorkingHoursEnd,17);
addItemBool("Exclude Holidays",&mExcludeHolidays,true);
addItemBool("Exclude Saturdays",&mExcludeSaturdays,true);
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp
index be69be7..a487f14 100644
--- a/korganizer/mainwindow.cpp
+++ b/korganizer/mainwindow.cpp
@@ -1126,13 +1126,13 @@ void MainWindow::keyBindings()
}
void MainWindow::aboutAutoSaving()
{
QMessageBox* msg;
msg = new QMessageBox( i18n("Auto Saving in KOrganizer/Pi"),
- 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,
+ 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,
QMessageBox::Ok,
QMessageBox::NoButton,
QMessageBox::NoButton);
msg->exec();
delete msg;