qt.cfg: Add obsolete functions qStableSort() and qSwap() (#2050)

This commit is contained in:
Sebastian 2019-07-29 18:58:31 +02:00 committed by GitHub
parent 2a3567cb44
commit 4e6a228b97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 21 additions and 0 deletions

View File

@ -174,6 +174,27 @@
<arg nr="2" default=""/> <arg nr="2" default=""/>
<arg nr="3" default=""/> <arg nr="3" default=""/>
</function> </function>
<!-- void qStableSort(RandomAccessIterator begin, RandomAccessIterator end) -->
<!-- void qStableSort(RandomAccessIterator begin, RandomAccessIterator end, LessThan lessThan) -->
<!-- void qStableSort(Container &container) -->
<function name="qStableSort">
<noreturn>false</noreturn>
<returnValue type="void"/>
<leak-ignore/>
<warn severity="style" alternatives="std::stable_sort" reason="Obsolete"/>
<arg nr="1"/>
<arg nr="2" default=""/>
<arg nr="3" default=""/>
</function>
<!-- void qSwap(T &var1, T &var2) -->
<function name="qSwap">
<noreturn>false</noreturn>
<returnValue type="void"/>
<leak-ignore/>
<warn severity="style" alternatives="std::swap" reason="Obsolete"/>
<arg nr="1" direction="inout"/>
<arg nr="2" direction="inout"/>
</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 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 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 --> <!-- QMetaObject::Connection QObject::connect(const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type = Qt::AutoConnection) // static -->