qt.cfg: Add support for some QTimer functions.

Reference:
https://doc.qt.io/qt-5/qtimer.html
This commit is contained in:
versat 2019-02-28 16:07:11 +01:00
parent 494dd2ba3a
commit 7ccf4b9a0d
1 changed files with 91 additions and 0 deletions

View File

@ -1268,6 +1268,97 @@
<arg nr="4" default="-1"> <arg nr="4" default="-1">
</arg> </arg>
</function> </function>
<!-- https://doc.qt.io/qt-5/qtimer.html -->
<!-- int QTimer::interval() const -->
<function name="QTimer::interval">
<noreturn>false</noreturn>
<returnValue type="int"/>
<use-retval/>
<const/>
</function>
<!-- std::chrono::milliseconds QTimer::intervalAsDuration() const -->
<function name="QTimer::intervalAsDuration">
<noreturn>false</noreturn>
<returnValue type="std::chrono::milliseconds"/>
<use-retval/>
<const/>
</function>
<!-- bool QTimer::isActive() const -->
<function name="QTimer::isActive">
<noreturn>false</noreturn>
<returnValue type="bool"/>
<use-retval/>
<const/>
</function>
<!-- bool QTimer::isSingleShot() const -->
<function name="QTimer::isSingleShot">
<noreturn>false</noreturn>
<returnValue type="bool"/>
<use-retval/>
<const/>
</function>
<!-- int QTimer::remainingTime() const -->
<function name="QTimer::remainingTime">
<noreturn>false</noreturn>
<returnValue type="int"/>
<use-retval/>
<const/>
</function>
<!-- std::chrono::milliseconds QTimer::remainingTimeAsDuration() const -->
<function name="QTimer::remainingTimeAsDuration">
<noreturn>false</noreturn>
<returnValue type="std::chrono::milliseconds"/>
<use-retval/>
<const/>
</function>
<!-- void QTimer::setInterval(int msec) -->
<!-- void QTimer::setInterval(std::chrono::milliseconds value) -->
<function name="QTimer::setInterval">
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<!-- void QTimer::setSingleShot(bool singleShot) -->
<function name="QTimer::setSingleShot">
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<!-- void QTimer::start(std::chrono::milliseconds msec) -->
<function name="QTimer::start">
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<!-- void QTimer::singleShot(int msec, const QObject *receiver, const char *member) // static -->
<!-- void QTimer::singleShot(int msec, Qt::TimerType timerType, const QObject *receiver, const char *member) // static -->
<!-- void QTimer::singleShot(int msec, const QObject *receiver, PointerToMemberFunction method) // static -->
<!-- void QTimer::singleShot(int msec, Qt::TimerType timerType, const QObject *receiver, PointerToMemberFunction method) // static -->
<!-- void QTimer::singleShot(int msec, Functor functor) // static -->
<!-- void QTimer::singleShot(int msec, Qt::TimerType timerType, Functor functor) // static -->
<!-- void QTimer::singleShot(int msec, const QObject *context, Functor functor) // static -->
<!-- void QTimer::singleShot(int msec, Qt::TimerType timerType, const QObject *context, Functor functor) // static -->
<!-- void QTimer::singleShot(std::chrono::milliseconds msec, const QObject *receiver, const char *member) // static -->
<!-- void QTimer::singleShot(std::chrono::milliseconds msec, Qt::TimerType timerType, const QObject *receiver, const char *member) // static -->
<function name="QTimer::singleShot">
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
<arg nr="any">
<not-uninit/>
</arg>
</function>
<container id="qtContainer" opLessAllowed="false"> <container id="qtContainer" opLessAllowed="false">
<type templateParameter="0"/> <type templateParameter="0"/>
<size> <size>