qt.cfg: Add configuration for QStringList
This commit is contained in:
parent
9a294496c1
commit
6b685f5a80
47
cfg/qt.cfg
47
cfg/qt.cfg
|
@ -123,7 +123,7 @@
|
|||
</arg>
|
||||
</function>
|
||||
<!-- const QChar QString::at(int position) const -->
|
||||
<function name="QList::at,QString::at">
|
||||
<function name="QList::at,QString::at,QStringList::at">
|
||||
<noreturn>false</noreturn>
|
||||
<use-retval/>
|
||||
<arg nr="1">
|
||||
|
@ -145,6 +145,11 @@
|
|||
<noreturn>false</noreturn>
|
||||
<use-retval/>
|
||||
</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() -->
|
||||
<function name="QString::chop">
|
||||
<noreturn>false</noreturn>
|
||||
|
@ -192,13 +197,27 @@
|
|||
<not-uninit/>
|
||||
</arg>
|
||||
</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::length() const -->
|
||||
<!-- int QList::size() const -->
|
||||
<!-- int QString::count() const -->
|
||||
<!-- int QString::length() 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>
|
||||
<use-retval/>
|
||||
<returnValue type="signed int"/>
|
||||
|
@ -207,13 +226,16 @@
|
|||
<!-- bool QList::isEmpty() const -->
|
||||
<!-- bool QString::isEmpty() 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>
|
||||
<use-retval/>
|
||||
<returnValue type="bool"/>
|
||||
</function>
|
||||
<!-- 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>
|
||||
<use-retval/>
|
||||
<returnValue type="signed int"/>
|
||||
|
@ -239,7 +261,8 @@
|
|||
<use-retval/>
|
||||
</function>
|
||||
<!-- 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>
|
||||
<use-retval/>
|
||||
<returnValue type="signed int"/>
|
||||
|
@ -275,7 +298,8 @@
|
|||
</function>
|
||||
<!-- QList<T> QList::mid(int pos, int length = -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>
|
||||
<use-retval/>
|
||||
<arg nr="1">
|
||||
|
@ -369,6 +393,17 @@
|
|||
<function name="back" yields="item"/>
|
||||
</access>
|
||||
</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_IMPORT" value=""/>
|
||||
<define name="Q_DECLARE_FLAGS(x,y)" value=""/>
|
||||
|
|
Loading…
Reference in New Issue