qt.cfg: updated cfg for connect/disconnect/tr/SIGNAL/SLOT
This commit is contained in:
parent
06239907f1
commit
429061b59d
48
cfg/qt.cfg
48
cfg/qt.cfg
|
@ -59,14 +59,48 @@
|
||||||
<reflection>
|
<reflection>
|
||||||
<call arg="2">invokeMethod</call>
|
<call arg="2">invokeMethod</call>
|
||||||
</reflection>
|
</reflection>
|
||||||
<!-- the SLOT/SIGNAL methods can be cause false-positives for pure
|
<define name="SIGNAL(X)" value="#X"/>
|
||||||
virtual functions being called in the constructor because it sees
|
<define name="SLOT(X)" value="#X"/>
|
||||||
the macro as a function. -->
|
<function name="connect">
|
||||||
<function name="SLOT">
|
<noreturn>false</noreturn>
|
||||||
<ignorefunction>true</ignorefunction>
|
<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>
|
||||||
<function name="SIGNAL">
|
<function name="disconnect">
|
||||||
<ignorefunction>true</ignorefunction>
|
<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>
|
</function>
|
||||||
<!-- QString & QString::sprintf(const char * cformat, ...); -->
|
<!-- QString & QString::sprintf(const char * cformat, ...); -->
|
||||||
<function name="QString::sprintf">
|
<function name="QString::sprintf">
|
||||||
|
|
Loading…
Reference in New Issue