qt.cfg: Add configuration for QStringList

This commit is contained in:
Daniel Marjamäki 2017-04-23 22:12:50 +02:00
parent 9a294496c1
commit 6b685f5a80
1 changed files with 41 additions and 6 deletions

View File

@ -123,7 +123,7 @@
</arg> </arg>
</function> </function>
<!-- const QChar QString::at(int position) const --> <!-- const QChar QString::at(int position) const -->
<function name="QList::at,QString::at"> <function name="QList::at,QString::at,QStringList::at">
<noreturn>false</noreturn> <noreturn>false</noreturn>
<use-retval/> <use-retval/>
<arg nr="1"> <arg nr="1">
@ -145,6 +145,11 @@
<noreturn>false</noreturn> <noreturn>false</noreturn>
<use-retval/> <use-retval/>
</function> </function>
<!-- iterator QStringList::..() -->
<function name="QStringList::begin,QStringList::end,QStringList::cbegin,QStringList::cend,QStringList::constBegin,QStringList::constEnd,QStringList::rbegin,QStringList::rend,QStringList::crbegin,QStringList::crend">
<noreturn>false</noreturn>
<use-retval/>
</function>
<!-- void QString::chop() --> <!-- void QString::chop() -->
<function name="QString::chop"> <function name="QString::chop">
<noreturn>false</noreturn> <noreturn>false</noreturn>
@ -192,13 +197,27 @@
<not-uninit/> <not-uninit/>
</arg> </arg>
</function> </function>
<!-- bool QStringList::contains(const T &value) const -->
<!-- bool QStringList::startsWith(const T &value) const -->
<!-- bool QStringList::endsWith(const T &value) const -->
<function name="QStringList::contains,QStringList::startsWith,QStringList::endsWith">
<noreturn>false</noreturn>
<use-retval/>
<returnValue type="bool"/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<!-- int QList::count() const --> <!-- int QList::count() const -->
<!-- int QList::length() const --> <!-- int QList::length() const -->
<!-- int QList::size() const --> <!-- int QList::size() const -->
<!-- int QString::count() const --> <!-- int QString::count() const -->
<!-- int QString::length() const --> <!-- int QString::length() const -->
<!-- int QString::size() const --> <!-- int QString::size() const -->
<function name="QList::count,QList::length,QList::size,QString::count,QString::length,QString::size"> <!-- int QStringList::count() const -->
<!-- int QStringList::length() const -->
<!-- int QStringList::size() const -->
<function name="QList::count,QList::length,QList::size,QString::count,QString::length,QString::size,QStringList::count,QStringList::length,QStringList::size">
<noreturn>false</noreturn> <noreturn>false</noreturn>
<use-retval/> <use-retval/>
<returnValue type="signed int"/> <returnValue type="signed int"/>
@ -207,13 +226,16 @@
<!-- bool QList::isEmpty() const --> <!-- bool QList::isEmpty() const -->
<!-- bool QString::isEmpty() const --> <!-- bool QString::isEmpty() const -->
<!-- bool QString::isNull() const --> <!-- bool QString::isNull() const -->
<function name="QList::empty,QString::isEmpty,QString::isNull"> <!-- bool QStringList::empty() const -->
<!-- bool QStringList::isEmpty() const -->
<function name="QList::empty,QList::isEmpty::QString::isEmpty,QString::isNull,QStringList::empty,QStringList::isEmpty::">
<noreturn>false</noreturn> <noreturn>false</noreturn>
<use-retval/> <use-retval/>
<returnValue type="bool"/> <returnValue type="bool"/>
</function> </function>
<!-- int QList::indexOf(const T &) const --> <!-- int QList::indexOf(const T &) const -->
<function name="QList::indexOf"> <!-- int QStringList::indexOf(const QString &) const -->
<function name="QList::indexOf,QStringList::indexOf">
<noreturn>false</noreturn> <noreturn>false</noreturn>
<use-retval/> <use-retval/>
<returnValue type="signed int"/> <returnValue type="signed int"/>
@ -239,7 +261,8 @@
<use-retval/> <use-retval/>
</function> </function>
<!-- int QList::lastIndexOf(const T &value, int from = -1) const --> <!-- int QList::lastIndexOf(const T &value, int from = -1) const -->
<function name="QList::lastIndexOf"> <!-- int QStringList::lastIndexOf(const QString &value, int from = -1) const -->
<function name="QList::lastIndexOf,QStringList::lastIndexOf">
<noreturn>false</noreturn> <noreturn>false</noreturn>
<use-retval/> <use-retval/>
<returnValue type="signed int"/> <returnValue type="signed int"/>
@ -275,7 +298,8 @@
</function> </function>
<!-- QList<T> QList::mid(int pos, int length = -1) const --> <!-- QList<T> QList::mid(int pos, int length = -1) const -->
<!-- QString QString::mid(int position, int n = -1) const --> <!-- QString QString::mid(int position, int n = -1) const -->
<function name="QString::mid"> <!-- QStringList QStringList::mid(int pos, int length = -1) const -->
<function name="QList::mid,QString::mid,QStringList::mid">
<noreturn>false</noreturn> <noreturn>false</noreturn>
<use-retval/> <use-retval/>
<arg nr="1"> <arg nr="1">
@ -369,6 +393,17 @@
<function name="back" yields="item"/> <function name="back" yields="item"/>
</access> </access>
</container> </container>
<container id="qtStringList" startPattern="QStringList" inherits="qtContainer" opLessAllowed="true">
<type string="std-like"/>
<size>
<function name="resize" action="resize"/>
</size>
<access indexOperator="array-like">
<function name="at" yields="at_index"/>
<function name="front" yields="item"/>
<function name="back" yields="item"/>
</access>
</container>
<define name="Q_DECL_EXPORT" value=""/> <define name="Q_DECL_EXPORT" value=""/>
<define name="Q_DECL_IMPORT" value=""/> <define name="Q_DECL_IMPORT" value=""/>
<define name="Q_DECLARE_FLAGS(x,y)" value=""/> <define name="Q_DECLARE_FLAGS(x,y)" value=""/>