qt.cfg: Add some more global functions

This commit is contained in:
versat 2019-08-15 13:22:28 +02:00
parent a57d22d2d9
commit 178568f41f
1 changed files with 43 additions and 0 deletions

View File

@ -85,6 +85,18 @@
<not-bool/>
</arg>
</function>
<!-- void qDeleteAll(ForwardIterator begin, ForwardIterator end) -->
<!-- void qDeleteAll(const Container &c) -->
<function name="qDeleteAll">
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2" default="">
<not-uninit/>
</arg>
</function>
<!-- double qInf() -->
<function name="qInf">
<noreturn>false</noreturn>
@ -151,6 +163,16 @@
<not-bool/>
</arg>
</function>
<!-- const char *qPrintable(const QString &str) -->
<function name="qPrintable">
<noreturn>false</noreturn>
<returnValue type="const char *"/>
<use-retval/>
<leak-ignore/>
<arg nr="1" direction="in">
<not-uninit/>
</arg>
</function>
<!-- int qRound(double d) -->
<!-- int qRound(float d) -->
<function name="qRound">
@ -195,6 +217,26 @@
<arg nr="1" direction="inout"/>
<arg nr="2" direction="inout"/>
</function>
<!-- const char *qUtf8Printable(const QString &str) -->
<function name="qUtf8Printable">
<noreturn>false</noreturn>
<returnValue type="const char *"/>
<use-retval/>
<leak-ignore/>
<arg nr="1" direction="in">
<not-uninit/>
</arg>
</function>
<!-- const wchar_t *qUtf16Printable(const QString &str) -->
<function name="qUtf16Printable">
<noreturn>false</noreturn>
<returnValue type="const wchar_t *"/>
<use-retval/>
<leak-ignore/>
<arg nr="1" direction="in">
<not-uninit/>
</arg>
</function>
<!-- QMetaObject::Connection QObject::connect(const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type = Qt::AutoConnection) const -->
<!-- QMetaObject::Connection QObject::connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type = Qt::AutoConnection) // static -->
<!-- QMetaObject::Connection QObject::connect(const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type = Qt::AutoConnection) // static -->
@ -3673,6 +3715,7 @@
<define name="QTRY_VERIFY(condition)" value="(void)(condition)"/>
<define name="QTRY_VERIFY2_WITH_TIMEOUT(condition, message, timeout)" value="(void)(condition)"/>
<define name="QTRY_VERIFY_WITH_TIMEOUT(condition, timeout)" value="(void)(condition)"/>
<define name="Q_FOREACH(A,B)" value="for(A:B)"/>
<define name="foreach(A,B)" value="for(A:B)"/>
<define name="forever" value="for (;;)"/>
<define name="emit(X)" value="(X)"/>