qt.cfg: Fix QList::at and QStringList::at configuration (#2100)

Return values are different for these functions.
This commit is contained in:
Sebastian 2019-08-19 18:23:34 +02:00 committed by GitHub
parent d661ab09ce
commit bca875e80d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 22 additions and 1 deletions

View File

@ -462,7 +462,7 @@
</arg>
</function>
<!-- const QChar QString::at(int position) const -->
<function name="QList::at,QString::at,QStringList::at">
<function name="QString::at">
<noreturn>false</noreturn>
<returnValue type="const QChar"/>
<use-retval/>
@ -472,6 +472,27 @@
<valid>0:</valid>
</arg>
</function>
<!-- const T &QList::at(int i) const -->
<function name="QList::at">
<noreturn>false</noreturn>
<use-retval/>
<const/>
<arg nr="1" direction="in">
<not-uninit/>
<valid>0:</valid>
</arg>
</function>
<!-- QStringList::at is inherited from QList -->
<function name="QStringList::at">
<noreturn>false</noreturn>
<returnValue type="const QString &amp;"/>
<use-retval/>
<const/>
<arg nr="1" direction="in">
<not-uninit/>
<valid>0:</valid>
</arg>
</function>
<!-- int QString::capacity() const -->
<function name="QString::capacity">
<noreturn>false</noreturn>