qt.cfg: Add configurations for functions of class QSqlQuery
Reference: https://doc.qt.io/qt-5/qsqlquery.html
This commit is contained in:
parent
d0968a1377
commit
3b63f42515
259
cfg/qt.cfg
259
cfg/qt.cfg
|
@ -4441,6 +4441,265 @@
|
|||
<use-retval/>
|
||||
<const/>
|
||||
</function>
|
||||
<!-- QSqlQuery https://doc.qt.io/qt-5/qsqlquery.html -->
|
||||
<!-- void QSqlQuery::addBindValue(const QVariant &val, QSql::ParamType paramType = QSql::In) -->
|
||||
<function name="QSqlQuery::addBindValue">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="void"/>
|
||||
<leak-ignore/>
|
||||
<arg nr="1" direction="in">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<arg nr="2" direction="in" default="QSql::In">
|
||||
<not-uninit/>
|
||||
<not-bool/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- int QSqlQuery::at() const -->
|
||||
<function name="QSqlQuery::at">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="int"/>
|
||||
<use-retval/>
|
||||
<leak-ignore/>
|
||||
<const/>
|
||||
</function>
|
||||
<!-- void QSqlQuery::bindValue(const QString &placeholder, const QVariant &val, QSql::ParamType paramType = QSql::In) -->
|
||||
<!-- void QSqlQuery::bindValue(int pos, const QVariant &val, QSql::ParamType paramType = QSql::In) -->
|
||||
<function name="QSqlQuery::bindValue">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="void"/>
|
||||
<leak-ignore/>
|
||||
<arg nr="1" direction="in">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<arg nr="2" direction="in">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<arg nr="3" direction="in" default="QSql::In">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- QVariant QSqlQuery::boundValue(const QString &placeholder) const -->
|
||||
<!-- QVariant QSqlQuery::boundValue(int pos) const -->
|
||||
<function name="QSqlQuery::boundValue">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="QVariant"/>
|
||||
<use-retval/>
|
||||
<leak-ignore/>
|
||||
<const/>
|
||||
<arg nr="1" direction="in">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- QMap<QString, QVariant> QSqlQuery::boundValues() const -->
|
||||
<function name="QSqlQuery::boundValues">
|
||||
<noreturn>false</noreturn>
|
||||
<!-- <returnValue type="QMap<QString, QVariant>"/> TODO: enable when such return types are allowed #9229 -->
|
||||
<use-retval/>
|
||||
<const/>
|
||||
</function>
|
||||
<!-- void QSqlQuery::clear() -->
|
||||
<function name="QSqlQuery::clear">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="void"/>
|
||||
</function>
|
||||
<!-- const QSqlDriver *QSqlQuery::driver() const -->
|
||||
<function name="QSqlQuery::driver">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="const QSqlDriver *"/>
|
||||
<use-retval/>
|
||||
<const/>
|
||||
</function>
|
||||
<!-- bool QSqlQuery::exec(const QString &query) -->
|
||||
<!-- bool QSqlQuery::exec() -->
|
||||
<function name="QSqlQuery::exec">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="bool"/>
|
||||
<leak-ignore/>
|
||||
<arg nr="1" direction="in" default="">
|
||||
<not-uninit/>
|
||||
<not-bool/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- bool QSqlQuery::execBatch(QSqlQuery::BatchExecutionMode mode = ValuesAsRows) -->
|
||||
<function name="QSqlQuery::execBatch">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="bool"/>
|
||||
<leak-ignore/>
|
||||
<arg nr="1" direction="in" default="ValuesAsRows">
|
||||
<not-uninit/>
|
||||
<not-bool/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- QString QSqlQuery::executedQuery() const -->
|
||||
<function name="QSqlQuery::executedQuery">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="QString"/>
|
||||
<use-retval/>
|
||||
<const/>
|
||||
</function>
|
||||
<!-- void QSqlQuery::finish() -->
|
||||
<function name="QSqlQuery::finish">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="void"/>
|
||||
</function>
|
||||
<!-- bool QSqlQuery::first() -->
|
||||
<function name="QSqlQuery::first">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="bool"/>
|
||||
</function>
|
||||
<!-- bool QSqlQuery::isActive() const -->
|
||||
<!-- bool QSqlQuery::isForwardOnly() const -->
|
||||
<function name="QSqlQuery::isActive,QSqlQuery::isForwardOnly">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="bool"/>
|
||||
<use-retval/>
|
||||
<const/>
|
||||
</function>
|
||||
<!-- bool QSqlQuery::isNull(int field) const -->
|
||||
<!-- bool QSqlQuery::isNull(const QString &name) const -->
|
||||
<function name="QSqlQuery::isNull">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="bool"/>
|
||||
<use-retval/>
|
||||
<const/>
|
||||
<arg nr="1" direction="in">
|
||||
<not-uninit/>
|
||||
<not-bool/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- bool QSqlQuery::isSelect() const -->
|
||||
<!-- bool QSqlQuery::isValid() const -->
|
||||
<function name="QSqlQuery::isSelect,QSqlQuery::isValid">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="bool"/>
|
||||
<use-retval/>
|
||||
<const/>
|
||||
</function>
|
||||
<!-- bool QSqlQuery::last() -->
|
||||
<function name="QSqlQuery::last">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="bool"/>
|
||||
</function>
|
||||
<!-- QSqlError QSqlQuery::lastError() const -->
|
||||
<function name="QSqlQuery::lastError">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="QSqlError"/>
|
||||
<use-retval/>
|
||||
<const/>
|
||||
</function>
|
||||
<!-- QVariant QSqlQuery::lastInsertId() const -->
|
||||
<function name="QSqlQuery::lastInsertId">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="QVariant"/>
|
||||
<use-retval/>
|
||||
<const/>
|
||||
</function>
|
||||
<!-- QString QSqlQuery::lastQuery() const -->
|
||||
<function name="QSqlQuery::lastQuery">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="QString"/>
|
||||
<use-retval/>
|
||||
<const/>
|
||||
</function>
|
||||
<!-- bool QSqlQuery::next() -->
|
||||
<!-- bool QSqlQuery::nextResult() -->
|
||||
<function name="QSqlQuery::next,QSqlQuery::nextResult">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="bool"/>
|
||||
</function>
|
||||
<!-- int QSqlQuery::numRowsAffected() const -->
|
||||
<function name="QSqlQuery::numRowsAffected">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="int"/>
|
||||
<use-retval/>
|
||||
<const/>
|
||||
</function>
|
||||
<!-- QSql::NumericalPrecisionPolicy QSqlQuery::numericalPrecisionPolicy() const -->
|
||||
<function name="QSqlQuery::numericalPrecisionPolicy">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="QSql::NumericalPrecisionPolicy"/>
|
||||
<use-retval/>
|
||||
<const/>
|
||||
</function>
|
||||
<!-- bool QSqlQuery::prepare(const QString &query) -->
|
||||
<function name="QSqlQuery::prepare">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="bool"/>
|
||||
<leak-ignore/>
|
||||
<arg nr="1" direction="in">
|
||||
<not-uninit/>
|
||||
<not-bool/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- bool QSqlQuery::previous() -->
|
||||
<function name="QSqlQuery::previous">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="bool"/>
|
||||
</function>
|
||||
<!-- QSqlRecord QSqlQuery::record() const -->
|
||||
<function name="QSqlQuery::record">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="QSqlRecord"/>
|
||||
<use-retval/>
|
||||
<const/>
|
||||
</function>
|
||||
<!-- const QSqlResult *QSqlQuery::result() const -->
|
||||
<function name="QSqlQuery::result">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="const QSqlResult *"/>
|
||||
<use-retval/>
|
||||
<const/>
|
||||
</function>
|
||||
<!-- bool QSqlQuery::seek(int index, bool relative = false) -->
|
||||
<function name="QSqlQuery::seek">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="bool"/>
|
||||
<leak-ignore/>
|
||||
<arg nr="1" direction="in">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<arg nr="2" direction="in" default="false">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- void QSqlQuery::setForwardOnly(bool forward) -->
|
||||
<function name="QSqlQuery::setForwardOnly">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="void"/>
|
||||
<leak-ignore/>
|
||||
<arg nr="1" direction="in">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- void QSqlQuery::setNumericalPrecisionPolicy(QSql::NumericalPrecisionPolicy precisionPolicy) -->
|
||||
<function name="QSqlQuery::setNumericalPrecisionPolicy">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="void"/>
|
||||
<leak-ignore/>
|
||||
<arg nr="1" direction="in">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- int QSqlQuery::size() const -->
|
||||
<function name="QSqlQuery::size">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="int"/>
|
||||
<use-retval/>
|
||||
<const/>
|
||||
</function>
|
||||
<!-- QVariant QSqlQuery::value(int index) const -->
|
||||
<!-- QVariant QSqlQuery::value(const QString &name) const -->
|
||||
<function name="QSqlQuery::value">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="QVariant"/>
|
||||
<use-retval/>
|
||||
<const/>
|
||||
<arg nr="1" direction="in">
|
||||
<not-uninit/>
|
||||
<not-bool/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- ##### Container ##### -->
|
||||
<container id="qtContainer" opLessAllowed="false" itEndPattern="> :: iterator|const_iterator">
|
||||
<type templateParameter="0"/>
|
||||
|
|
Loading…
Reference in New Issue