qt.cfg: updated cfg for connect/disconnect/tr/SIGNAL/SLOT

This commit is contained in:
Daniel Marjamäki 2017-04-22 20:29:37 +02:00
parent 06239907f1
commit 429061b59d
1 changed files with 41 additions and 7 deletions

View File

@ -59,14 +59,48 @@
<reflection>
<call arg="2">invokeMethod</call>
</reflection>
<!-- the SLOT/SIGNAL methods can be cause false-positives for pure
virtual functions being called in the constructor because it sees
the macro as a function. -->
<function name="SLOT">
<ignorefunction>true</ignorefunction>
<define name="SIGNAL(X)" value="#X"/>
<define name="SLOT(X)" value="#X"/>
<function name="connect">
<noreturn>false</noreturn>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
<arg nr="3">
<not-null/>
<not-uninit/>
</arg>
<arg nr="4">
<not-uninit/>
</arg>
</function>
<function name="SIGNAL">
<ignorefunction>true</ignorefunction>
<function name="disconnect">
<noreturn>false</noreturn>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
<arg nr="3">
<not-null/>
<not-uninit/>
</arg>
<arg nr="4">
<not-uninit/>
</arg>
</function>
<function name="tr">
<noreturn>false</noreturn>
<use-retval/>
<arg nr="1">
<strz/>
</arg>
</function>
<!-- QString & QString::sprintf(const char * cformat, ...); -->
<function name="QString::sprintf">