KDb
KDbProperties.cpp
118 m_result.prependMessage(ERR_NO_DB_PROPERTY, tr("Could not read database property \"%1\".").arg(name));
Provides database connection, allowing queries and data modification.
Definition KDbConnection.h:52
virtual KDbEscapedString escapeString(const QString &str) const
Definition KDbConnection.cpp:3535
bool queryStringList(const KDbEscapedString &sql, QStringList *list, int column=0)
Definition KDbConnection.cpp:2539
tristate querySingleString(const KDbEscapedString &sql, QString *value, int column=0, QueryRecordOptions options=QueryRecordOption::Default)
Definition KDbConnection.cpp:2439
bool executeSql(const KDbEscapedString &sql)
Executes a new native (raw, backend-specific) SQL query.
Definition KDbConnection.cpp:1286
tristate resultExists(const KDbEscapedString &sql, QueryRecordOptions options=QueryRecordOption::Default)
Definition KDbConnection.cpp:2556
bool setCaption(const QString &name, const QString &caption)
Definition KDbProperties.cpp:71
bool setValue(const QString &name, const QVariant &value)
Definition KDbProperties.cpp:33
void prependMessage(int code, const QString &message)
Sets result code and prepends message to an existing message.
Definition KDbResult.cpp:80
3-state logical type with three values: true, false and cancelled and convenient operators.
Definition KDbTristate.h:101
QString fromLatin1(QByteArrayView str)
QString & prepend(QChar ch)
QString trimmed() const const
QString toString() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:00: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:00:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.