qt.cfg: Add configurations for more global functions
Reference: https://doc.qt.io/qt-5/qtglobal.html
This commit is contained in:
parent
443fcd2ac4
commit
682c5c2040
138
cfg/qt.cfg
138
cfg/qt.cfg
|
@ -97,6 +97,76 @@
|
|||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- quint32 qFloatDistance(float a, float b) -->
|
||||
<!-- quint64 qFloatDistance(double a, double b) -->
|
||||
<function name="qFloatDistance">
|
||||
<noreturn>false</noreturn>
|
||||
<use-retval/>
|
||||
<leak-ignore/>
|
||||
<arg nr="1" direction="in">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<arg nr="2" direction="in">
|
||||
<not-uninit/>
|
||||
<not-bool/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- QString qFormatLogMessage(QtMsgType type, const QMessageLogContext &context, const QString &str) -->
|
||||
<function name="qFormatLogMessage">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="QString"/>
|
||||
<use-retval/>
|
||||
<leak-ignore/>
|
||||
<arg nr="1" direction="in">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<arg nr="2" direction="in">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<arg nr="3" direction="in">
|
||||
<not-uninit/>
|
||||
<not-bool/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- bool qFuzzyCompare(double p1, double p2) -->
|
||||
<!-- bool qFuzzyCompare(float p1, float p2) -->
|
||||
<function name="qFuzzyCompare">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="bool"/>
|
||||
<use-retval/>
|
||||
<leak-ignore/>
|
||||
<arg nr="1" direction="in">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<arg nr="2" direction="in">
|
||||
<not-uninit/>
|
||||
<not-bool/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- bool qFuzzyIsNull(double d) -->
|
||||
<!-- bool qFuzzyIsNull(float f) -->
|
||||
<function name="qFuzzyIsNull">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="bool"/>
|
||||
<use-retval/>
|
||||
<leak-ignore/>
|
||||
<arg nr="1" direction="in">
|
||||
<not-uninit/>
|
||||
<not-bool/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- QByteArray qgetenv(const char *varName) -->
|
||||
<function name="qgetenv">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="QByteArray"/>
|
||||
<use-retval/>
|
||||
<leak-ignore/>
|
||||
<arg nr="1" direction="in">
|
||||
<not-uninit/>
|
||||
<not-bool/>
|
||||
<strz/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- double qInf() -->
|
||||
<function name="qInf">
|
||||
<noreturn>false</noreturn>
|
||||
|
@ -173,6 +243,26 @@
|
|||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- bool qputenv(const char *varName, const QByteArray &value) -->
|
||||
<function name="qputenv">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="bool"/>
|
||||
<leak-ignore/>
|
||||
<arg nr="1" direction="in">
|
||||
<not-uninit/>
|
||||
<strz/>
|
||||
</arg>
|
||||
<arg nr="2" direction="in">
|
||||
<not-uninit/>
|
||||
<not-bool/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- double qQNaN() -->
|
||||
<function name="qQNaN">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="double"/>
|
||||
<use-retval/>
|
||||
</function>
|
||||
<!-- int qRound(double d) -->
|
||||
<!-- int qRound(float d) -->
|
||||
<function name="qRound">
|
||||
|
@ -184,6 +274,23 @@
|
|||
<not-bool/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- qint64 qRound64(double d) -->
|
||||
<!-- qint64 qRound64(float d) -->
|
||||
<function name="qRound64">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="qint64"/>
|
||||
<use-retval/>
|
||||
<arg nr="1" direction="in">
|
||||
<not-uninit/>
|
||||
<not-bool/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- double qSNaN() -->
|
||||
<function name="qSNaN">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="double"/>
|
||||
<use-retval/>
|
||||
</function>
|
||||
<!-- void qSort(RandomAccessIterator begin, RandomAccessIterator end) -->
|
||||
<!-- void qSort(RandomAccessIterator begin, RandomAccessIterator end, LessThan lessThan) -->
|
||||
<!-- void qSort(Container &container) -->
|
||||
|
@ -217,6 +324,31 @@
|
|||
<arg nr="1" direction="inout"/>
|
||||
<arg nr="2" direction="inout"/>
|
||||
</function>
|
||||
<!-- QString qtTrId(const char *id, int n = ...) -->
|
||||
<function name="qtTrId">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="QString"/>
|
||||
<use-retval/>
|
||||
<leak-ignore/>
|
||||
<arg nr="1" direction="in">
|
||||
<not-uninit/>
|
||||
<strz/>
|
||||
</arg>
|
||||
<arg nr="2" direction="in" default="">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- bool qunsetenv(const char *varName) -->
|
||||
<function name="qunsetenv">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="bool"/>
|
||||
<leak-ignore/>
|
||||
<arg nr="1" direction="in">
|
||||
<not-uninit/>
|
||||
<not-bool/>
|
||||
<strz/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- const char *qUtf8Printable(const QString &str) -->
|
||||
<function name="qUtf8Printable">
|
||||
<noreturn>false</noreturn>
|
||||
|
@ -237,6 +369,12 @@
|
|||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- const char *qVersion() -->
|
||||
<function name="qVersion">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="const char *"/>
|
||||
<use-retval/>
|
||||
</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 -->
|
||||
|
|
Loading…
Reference in New Issue