kalarm
alarmtime.cpp
Go to the documentation of this file.
98 return i18nc("@info/plain days hours:minutes", "%1d %2:%3", days, mins/60, QLatin1String(minutes));
111 bool AlarmTime::convertTimeString(const QByteArray& timeString, KDateTime& dateTime, const KDateTime& defaultDt, bool allowTZ)
233 KDateTime AlarmTime::applyTimeZone(const QString& tzstring, const QDate& date, const QTime& time,
int indexOf(QChar ch, int from, Qt::CaseSensitivity cs) const
bool setHMS(int h, int m, int s, int ms)
time_t date() const
static KDateTime applyTimeZone(const QString &tzstring, const QDate &date, const QTime &time, bool haveTime, const KDateTime &defaultDt=KDateTime())
Definition: alarmtime.cpp:233
static bool convertTimeString(const QByteArray &timeString, KDateTime &dateTime, const KDateTime &defaultDt=KDateTime(), bool allowTZ=true)
Definition: alarmtime.cpp:111
int indexOf(char ch, int from) const
bool setYMD(int y, int m, int d)
bool isEmpty() const
QString trimmed() const
static QString timeToAlarmText(const KAlarmCal::DateTime &dateTime)
Definition: alarmtime.cpp:77
bool isValid() const
QByteArray mid(int pos, int len) const
static QString alarmTimeText(const KAlarmCal::DateTime &dateTime)
Definition: alarmtime.cpp:39
QByteArray left(int len) const
#define MAX_DT_LEN
int length() const
bool isLeftToRight()
QString fromLatin1(const char *str, int size)
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.