Qt library: Add some function configurations (#1086)

This commit is contained in:
Sebastian 2018-02-12 08:36:50 +01:00 committed by GitHub
parent 69b50b274c
commit 6a3dc6ad45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 26 additions and 1 deletions

View File

@ -95,7 +95,7 @@
<not-uninit/>
</arg>
</function>
<function name="tr">
<function name="tr,QObject::tr">
<noreturn>false</noreturn>
<use-retval/>
<arg nr="1">
@ -252,6 +252,13 @@
<use-retval/>
<returnValue type="bool"/>
</function>
<!-- QString QString::fromStdString(const std::string &str) -->
<function name="QString::fromStdString">
<noreturn>false</noreturn>
<use-retval/>
<returnValue type="QString"/>
<arg nr="1"/>
</function>
<!-- int QList::indexOf(const T &) const -->
<!-- int QStringList::indexOf(const QString &) const -->
<function name="QList::indexOf,QStringList::indexOf">
@ -367,6 +374,24 @@
<noreturn>false</noreturn>
<use-retval/>
</function>
<function name="QString::toUtf8">
<noreturn>false</noreturn>
<use-retval/>
</function>
<function name="QString::trimmed">
<noreturn>false</noreturn>
<use-retval/>
</function>
<function name="QMetaObject::connectSlotsByName">
<noreturn>false</noreturn>
<arg nr="1">
<not-null/>
</arg>
</function>
<function name="QDir::fromNativeSeparators,QDir::toNativeSeparators">
<noreturn>false</noreturn>
<use-retval/>
</function>
<container id="qtContainer" opLessAllowed="false">
<type templateParameter="0"/>
<size>