Qt library: Add some function configurations (#1086)
This commit is contained in:
parent
69b50b274c
commit
6a3dc6ad45
27
cfg/qt.cfg
27
cfg/qt.cfg
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue