qt.cfg: Add functions of class QMap (#1985)

Reference:
https://doc.qt.io/qt-5/qmap.html
This commit is contained in:
Sebastian 2019-07-12 18:06:05 +02:00 committed by GitHub
parent 1c32455ae1
commit b242817565
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 113 additions and 0 deletions

View File

@ -479,6 +479,18 @@
<not-uninit/>
</arg>
</function>
<!-- ##### QMap https://doc.qt.io/qt-5/qmap.html ##### -->
<!-- QMap::const_iterator QMap::constFind(const Key &key) const -->
<function name="QMap::constFind">
<noreturn>false</noreturn>
<returnValue type="QMap::const_iterator"/>
<use-retval/>
<leak-ignore/>
<const/>
<arg nr="1" direction="in">
<not-uninit/>
</arg>
</function>
<!-- bool QMap::contains(const Key &key) const -->
<function name="QMap::contains">
<noreturn>false</noreturn>
@ -489,6 +501,107 @@
<not-uninit/>
</arg>
</function>
<!-- QMap::iterator QMap::erase(QMap::iterator pos) -->
<function name="QMap::erase">
<noreturn>false</noreturn>
<returnValue type="QMap::iterator"/>
<arg nr="1">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- QMap::iterator QMap::find(const Key &key) -->
<!-- QMap::const_iterator QMap::find(const Key &key) const -->
<function name="QMap::find">
<noreturn>false</noreturn>
<use-retval/>
<arg nr="1" direction="in">
<not-uninit/>
</arg>
</function>
<!-- QMap::iterator QMap::insert(const Key &key, const T &value) -->
<!-- QMap::iterator QMap::insert(QMap::const_iterator pos, const Key &key, const T &value) -->
<!-- QMap::iterator QMap::insertMulti(const Key &key, const T &value) -->
<!-- QMap::iterator QMap::insertMulti(QMap::const_iterator pos, const Key &key, const T &value) -->
<function name="QMap::insert,QMap::insertMulti">
<noreturn>false</noreturn>
<returnValue type="QMap::iterator"/>
<arg nr="1" direction="in">
<not-uninit/>
</arg>
<arg nr="2" direction="in">
<not-uninit/>
</arg>
<arg nr="3" direction="in" default="">
<not-uninit/>
</arg>
</function>
<!-- bool QMap::isEmpty() const -->
<function name="QMap::isEmpty">
<noreturn>false</noreturn>
<returnValue type="bool"/>
<use-retval/>
<leak-ignore/>
<const/>
</function>
<!-- const Key QMap::key(const T &value, const Key &defaultKey = Key()) const -->
<function name="QMap::key">
<noreturn>false</noreturn>
<use-retval/>
<leak-ignore/>
<const/>
<arg nr="1" direction="in">
<not-uninit/>
</arg>
<arg nr="2" direction="in" default="">
<not-uninit/>
</arg>
</function>
<!-- int QMap::remove(const Key &key) -->
<function name="QMap::remove">
<noreturn>false</noreturn>
<returnValue type="int"/>
<arg nr="1" direction="in">
<not-uninit/>
</arg>
</function>
<!-- int QMap::size() const -->
<function name="QMap::size">
<noreturn>false</noreturn>
<returnValue type="int"/>
<use-retval/>
<leak-ignore/>
<const/>
</function>
<!-- T QMap::take(const Key &key) -->
<function name="QMap::take">
<noreturn>false</noreturn>
<arg nr="1" direction="in">
<not-uninit/>
</arg>
</function>
<!-- const T QMap::value(const Key &key, const T &defaultValue = T()) const -->
<function name="QMap::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> QMap::values() const -->
<!-- QList<T> QMap::values(const Key &key) const -->
<function name="QMap::values">
<noreturn>false</noreturn>
<use-retval/>
<const/>
<arg nr="1" direction="in" default="">
<not-uninit/>
</arg>
</function>
<!-- bool QString::contains(const QString &str, Qt::CaseSensitivity cs = Qt::CaseSensitive) const -->
<!-- bool QString::startsWith(const QString &str, Qt::CaseSensitivity cs = Qt::CaseSensitive) const -->
<!-- bool QString::endsWith(const QString &str, Qt::CaseSensitivity cs = Qt::CaseSensitive) const -->