Akonadi
utils.h
58 * It should come as no surprise that different database engines and their QtSql drivers have each a different
73 // 1) The query fails if the time sent by the driver is not valid in the local timezone (DST change), and
74 // 2) It requires additional code when reading results from the database to re-interpret the returned
79 // The QSQLITE converts QDateTime to string using QDateTime::ISODateWithMs and SQLite stores it as TEXT
81 // To stay consistent with other drivers, we convertr the dateTime to UTC here so SQLite stores UTC.
84 // The QPSQL driver automatically converts the date time to UTC and forcibly stores it with UTC timezone
Type type(const QSqlDatabase &db)
Returns the type of the given database object.
Definition dbtype.cpp:11
Helper integration between Akonadi and Qt.
KDB_EXPORT QString variantToString(const QVariant &v)
QDateTime toLocalTime() const const
QDateTime toUTC() const const
QString
Server
QString fromUtf8(QByteArrayView str)
QByteArray toUtf8() const const
QByteArray toByteArray() const const
QString toString() const const
int typeId() const const
const char * typeName() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:01:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:01:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.