kalarm
preferences.h
Go to the documentation of this file.
62 static void setWorkDayStart(const QTime& t) { self()->setBase_WorkDayStart(QDateTime(QDate(1900,1,1), t)); }
63 static void setWorkDayEnd(const QTime& t) { self()->setBase_WorkDayEnd(QDateTime(QDate(1900,1,1), t)); }
65 static bool quitWarn() { return mUsingDefaults ? self()->base_QuitWarn() : notifying(QUIT_WARN); }
67 static bool confirmAlarmDeletion() { return mUsingDefaults ? self()->base_ConfirmAlarmDeletion() : notifying(CONFIRM_ALARM_DELETION); }
69 static bool emailCopyToKMail() { return self()->mBase_EmailCopyToKMail && self()->mEmailClient == sendmail; }
71 static bool emailQueuedNotify() { return mUsingDefaults ? self()->base_EmailQueuedNotify() : notifying(EMAIL_QUEUED_NOTIFY); }
82 static float defaultSoundVolume() { int vol = self()->mBase_DefaultSoundVolume; return (vol < 0) ? -1 : static_cast<float>(vol) / 100; }
83 static void setDefaultSoundVolume(float v) { self()->setBase_DefaultSoundVolume(v < 0 ? -1 : static_cast<int>(v * 100)); }
91 virtual bool useDefaults(bool def) { mUsingDefaults = def; return PreferencesBase::useDefaults(def); }
119 static int mMessageButtonDelay; // 0 = scatter; -1 = no delay, no scatter; >0 = delay, no scatter
static void setEmailAddress(MailFrom, const QString &address)
Definition: preferences.cpp:314
static void setCmdXTermCommand(const QString &cmd)
Definition: preferences.cpp:363
void workTimeChanged(const QTime &startTime, const QTime &endTime, const QBitArray &workDays)
static void setAutoStartChangedByUser(bool c)
Definition: preferences.h:45
static void setConfirmAlarmDeletion(bool yes)
Definition: preferences.h:68
static void setEmailQueuedNotify(bool yes)
Definition: preferences.h:72
Definition: preferences.h:40
static void setDefaultSoundVolume(float v)
Definition: preferences.h:83
void timeZoneChanged(const KTimeZone &newTz)
Definition: preferences.h:40
static void setHolidayRegion(const QString ®ionCode)
Definition: preferences.cpp:238
static const QLatin1String EMAIL_QUEUED_NOTIFY
Definition: preferences.h:89
static void connect(const char *signal, const QObject *receiver, const char *member)
Definition: preferences.cpp:369
static const KHolidays::HolidayRegion & holidays()
Definition: preferences.cpp:227
static const QLatin1String CONFIRM_ALARM_DELETION
Definition: preferences.h:88
void holidaysChanged(const KHolidays::HolidayRegion &newHolidays)
void startOfDayChanged(const QTime &newStartOfDay)
static void setEmailCopyToKMail(bool yes)
Definition: preferences.h:70
static void setEmailBccAddress(bool useSystemSettings, const QString &address)
Definition: preferences.cpp:348
Definition: preferences.h:36
static bool emailBccUseSystemSettings()
Definition: preferences.cpp:343
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:51 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:51 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.