kalarm
preferences.h
Go to the documentation of this file.
60 static void setWorkDayStart(const QTime& t) { self()->setBase_WorkDayStart(QDateTime(QDate(1900,1,1), t)); }
61 static void setWorkDayEnd(const QTime& t) { self()->setBase_WorkDayEnd(QDateTime(QDate(1900,1,1), t)); }
63 static bool quitWarn() { return mUsingDefaults ? self()->base_QuitWarn() : notifying(QUIT_WARN); }
65 static bool confirmAlarmDeletion() { return mUsingDefaults ? self()->base_ConfirmAlarmDeletion() : notifying(CONFIRM_ALARM_DELETION); }
67 static bool emailCopyToKMail() { return self()->mBase_EmailCopyToKMail && self()->mEmailClient == sendmail; }
69 static bool emailQueuedNotify() { return mUsingDefaults ? self()->base_EmailQueuedNotify() : notifying(EMAIL_QUEUED_NOTIFY); }
80 static float defaultSoundVolume() { int vol = self()->mBase_DefaultSoundVolume; return (vol < 0) ? -1 : static_cast<float>(vol) / 100; }
81 static void setDefaultSoundVolume(float v) { self()->setBase_DefaultSoundVolume(v < 0 ? -1 : static_cast<int>(v * 100)); }
89 virtual bool useDefaults(bool def) { mUsingDefaults = def; return PreferencesBase::useDefaults(def); }
117 static int mMessageButtonDelay; // 0 = scatter; -1 = no delay, no scatter; >0 = delay, no scatter
static void setEmailAddress(MailFrom, const QString &address)
Definition: preferences.cpp:237
static void setCmdXTermCommand(const QString &cmd)
Definition: preferences.cpp:286
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:66
static void setEmailQueuedNotify(bool yes)
Definition: preferences.h:70
Definition: preferences.h:40
static void setDefaultSoundVolume(float v)
Definition: preferences.h:81
void timeZoneChanged(const KTimeZone &newTz)
static void setBase_WorkDayStart(const QDateTime &v)
Set Start time of working day.
Definition: kalarmconfig.h:764
Definition: preferences.h:40
static void setHolidayRegion(const QString ®ionCode)
Definition: preferences.cpp:161
static void setBase_WorkDayEnd(const QDateTime &v)
Set End time of working day.
Definition: kalarmconfig.h:793
static const QLatin1String EMAIL_QUEUED_NOTIFY
Definition: preferences.h:87
static void connect(const char *signal, const QObject *receiver, const char *member)
Definition: preferences.cpp:292
static const KHolidays::HolidayRegion & holidays()
Definition: preferences.cpp:150
static const QLatin1String CONFIRM_ALARM_DELETION
Definition: preferences.h:86
void holidaysChanged(const KHolidays::HolidayRegion &newHolidays)
void startOfDayChanged(const QTime &newStartOfDay)
static void setEmailCopyToKMail(bool yes)
Definition: preferences.h:68
static bool base_EmailQueuedNotify()
Get Notify when remote emails are queued.
Definition: kalarmconfig.h:1620
static void setBase_EmailCopyToKMail(bool v)
Set Whether to copy sent emails into KMail's Sent folder.
Definition: kalarmconfig.h:627
Definition: kalarmconfig.h:16
static void setEmailBccAddress(bool useSystemSettings, const QString &address)
Definition: preferences.cpp:271
int mBase_DefaultSoundVolume
Definition: kalarmconfig.h:1710
Definition: preferences.h:36
Definition: kalarmconfig.h:21
static bool emailBccUseSystemSettings()
Definition: preferences.cpp:266
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:59:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:59:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.