qt.cfg: Add functions of classes QTest and QHash

References:
https://doc.qt.io/qt-5/qtest.html
https://doc.qt.io/qt-5/qhash.html

Most of the functions were found missing by daca@home.
This commit is contained in:
versat 2019-07-11 15:32:48 +02:00
parent d880830efc
commit 30f49b2fbd
1 changed files with 124 additions and 0 deletions

View File

@ -1891,6 +1891,130 @@
<use-retval/> <use-retval/>
<const/> <const/>
</function> </function>
<!-- void QTest::addColumn(const char *name, T *dummy = ...) -->
<function name="QTest::addColumn">
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1" direction="in">
<not-uninit/>
<not-bool/>
<strz/>
</arg>
</function>
<!-- QTestData &QTest::newRow(const char *dataTag) -->
<function name="QTest::newRow">
<noreturn>false</noreturn>
<returnValue type="QTestData &amp;"/>
<arg nr="1" direction="in">
<not-uninit/>
<not-bool/>
<strz/>
</arg>
</function>
<!-- void QHash::clear() -->
<function name="QHash::clear">
<noreturn>false</noreturn>
<returnValue type="void"/>
</function>
<!-- bool QHash::contains(const Key &key) const -->
<function name="QHash::contains">
<noreturn>false</noreturn>
<returnValue type="bool"/>
<use-retval/>
<const/>
<arg nr="1" direction="in">
<not-uninit/>
</arg>
</function>
<!-- int QHash::count(const Key &key) const -->
<!-- int QHash::count() const -->
<function name="QHash::count">
<noreturn>false</noreturn>
<returnValue type="int"/>
<use-retval/>
<const/>
<arg nr="1" direction="in" default="">
<not-uninit/>
</arg>
</function>
<!-- bool QHash::empty() const -->
<function name="QHash::empty">
<noreturn>false</noreturn>
<returnValue type="bool"/>
<use-retval/>
<const/>
</function>
<!-- QHash::iterator QHash::find(const Key &key) -->
<!-- QHash::const_iterator QHash::find(const Key &key) const -->
<function name="QHash::find">
<noreturn>false</noreturn>
<use-retval/>
<arg nr="1" direction="in">
<not-uninit/>
</arg>
</function>
<!-- QHash::iterator QHash::insert(const Key &key, const T &value) -->
<function name="QHash::insert">
<noreturn>false</noreturn>
<returnValue type="QHash::iterator"/>
<arg nr="1" direction="in">
<not-uninit/>
</arg>
<arg nr="2" direction="in">
<not-uninit/>
</arg>
</function>
<!-- bool QHash::isEmpty() const -->
<function name="QHash::isEmpty">
<noreturn>false</noreturn>
<returnValue type="bool"/>
<use-retval/>
<const/>
</function>
<!-- int QHash::remove(const Key &key) -->
<function name="QHash::remove">
<noreturn>false</noreturn>
<returnValue type="int"/>
<arg nr="1" direction="in">
<not-uninit/>
</arg>
</function>
<!-- int QHash::size() const -->
<function name="QHash::size">
<noreturn>false</noreturn>
<returnValue type="int"/>
<use-retval/>
<const/>
</function>
<!-- void QHash::squeeze() -->
<function name="QHash::squeeze">
<noreturn>false</noreturn>
<returnValue type="void"/>
</function>
<!-- const T QHash::value(const Key &key) const -->
<!-- const T QHash::value(const Key &key, const T &defaultValue) const -->
<function name="QHash::value">
<noreturn>false</noreturn>
<use-retval/>
<const/>
<arg nr="1" direction="in">
<not-uninit/>
</arg>
<arg nr="2" direction="in" default="">
<not-uninit/>
</arg>
</function>
<!-- QList<T> QHash::values() const -->
<!-- QList<T> QHash::values(const Key &key) const -->
<function name="QHash::values">
<noreturn>false</noreturn>
<use-retval/>
<const/>
<arg nr="1" direction="in" default="">
<not-uninit/>
</arg>
</function>
<!-- ##### Container ##### -->
<container id="qtContainer" opLessAllowed="false"> <container id="qtContainer" opLessAllowed="false">
<type templateParameter="0"/> <type templateParameter="0"/>
<size> <size>