qt.cfg: Add configurations for functions of class QDateTime

Reference: https://doc.qt.io/qt-5/qdatetime.html
This commit is contained in:
versat 2019-09-03 12:50:29 +02:00
parent 55a78f482b
commit 1faf932206
1 changed files with 301 additions and 0 deletions

View File

@ -3675,6 +3675,307 @@
<not-uninit/> <not-uninit/>
</arg> </arg>
</function> </function>
<!-- QDateTime https://doc.qt.io/qt-5/qdatetime.html -->
<!-- QDateTime QDateTime::addDays(qint64 ndays) const -->
<!-- QDateTime QDateTime::addMSecs(qint64 msecs) const -->
<!-- QDateTime QDateTime::addMonths(int nmonths) const -->
<!-- QDateTime QDateTime::addSecs(qint64 s) const -->
<!-- QDateTime QDateTime::addYears(int nyears) const -->
<function name="QDateTime::addDays,QDateTime::addMSecs,QDateTime::addMonths,QDateTime::addSecs,QDateTime::addYears">
<noreturn>false</noreturn>
<returnValue type="QDateTime"/>
<use-retval/>
<leak-ignore/>
<const/>
<arg nr="1" direction="in">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- QDateTime QDateTime::currentDateTime() // static -->
<!-- QDateTime QDateTime::currentDateTimeUtc() // static -->
<function name="QDateTime::currentDateTime,QDateTime::currentDateTimeUtc">
<noreturn>false</noreturn>
<returnValue type="QDateTime"/>
<use-retval/>
<const/>
</function>
<!-- qint64 QDateTime::currentMSecsSinceEpoch() // static -->
<!-- qint64 QDateTime::currentSecsSinceEpoch() // static -->
<function name="QDateTime::currentMSecsSinceEpoch,QDateTime::currentSecsSinceEpoch">
<noreturn>false</noreturn>
<returnValue type="qint64"/>
<use-retval/>
<const/>
</function>
<!-- QDate QDateTime::date() const -->
<function name="QDateTime::date">
<noreturn>false</noreturn>
<returnValue type="QDate"/>
<use-retval/>
<const/>
</function>
<!-- qint64 QDateTime::daysTo(const QDateTime &other) const -->
<function name="QDateTime::daysTo">
<noreturn>false</noreturn>
<returnValue type="qint64"/>
<use-retval/>
<const/>
<arg nr="1" direction="in">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- QDateTime QDateTime::fromCFDate(CFDateRef date) // static -->
<function name="QDateTime::fromCFDate">
<noreturn>false</noreturn>
<returnValue type="QDateTime"/>
<use-retval/>
<leak-ignore/>
<const/>
<arg nr="1" direction="in">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- QDateTime QDateTime::fromMSecsSinceEpoch(qint64 msecs) // static -->
<!-- QDateTime QDateTime::fromMSecsSinceEpoch(qint64 msecs, Qt::TimeSpec spec, int offsetSeconds = 0) // static -->
<!-- QDateTime QDateTime::fromMSecsSinceEpoch(qint64 msecs, const QTimeZone &timeZone) // static -->
<function name="QDateTime::fromMSecsSinceEpoch">
<noreturn>false</noreturn>
<returnValue type="QDateTime"/>
<use-retval/>
<leak-ignore/>
<const/>
<arg nr="1" direction="in">
<not-uninit/>
<not-bool/>
</arg>
<arg nr="2" direction="in" default="">
<not-uninit/>
<not-bool/>
</arg>
<arg nr="3" direction="in" default="0">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- QDateTime QDateTime::fromNSDate(const NSDate *date) // static -->
<function name="QDateTime::fromNSDate">
<noreturn>false</noreturn>
<returnValue type="QDateTime"/>
<use-retval/>
<leak-ignore/>
<const/>
<arg nr="1" direction="in">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- QDateTime QDateTime::fromSecsSinceEpoch(qint64 secs, Qt::TimeSpec spec = Qt::LocalTime, int offsetSeconds = 0) // static -->
<!-- QDateTime QDateTime::fromSecsSinceEpoch(qint64 secs, const QTimeZone &timeZone) // static -->
<function name="QDateTime::fromSecsSinceEpoch">
<noreturn>false</noreturn>
<returnValue type="QDateTime"/>
<use-retval/>
<leak-ignore/>
<const/>
<arg nr="1" direction="in">
<not-uninit/>
<not-bool/>
</arg>
<arg nr="2" direction="in" default="">
<not-uninit/>
<not-bool/>
</arg>
<arg nr="3" direction="in" default="0">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- QDateTime QDateTime::fromString(const QString &string, Qt::DateFormat format = Qt::TextDate) // static -->
<!-- QDateTime QDateTime::fromString(const QString &string, const QString &format) // static -->
<function name="QDateTime::fromString">
<noreturn>false</noreturn>
<returnValue type="QDateTime"/>
<use-retval/>
<leak-ignore/>
<const/>
<arg nr="1" direction="in">
<not-uninit/>
<not-bool/>
</arg>
<arg nr="2" direction="in" default="">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- bool QDateTime::isDaylightTime() const -->
<!-- bool QDateTime::isNull() const -->
<!-- bool QDateTime::isValid() const -->
<function name="QDateTime::isDaylightTime,QDateTime::isNull,QDateTime::isValid">
<noreturn>false</noreturn>
<returnValue type="bool"/>
<use-retval/>
<const/>
</function>
<!-- qint64 QDateTime::msecsTo(const QDateTime &other) const -->
<function name="QDateTime::msecsTo">
<noreturn>false</noreturn>
<returnValue type="qint64"/>
<use-retval/>
<leak-ignore/>
<const/>
<arg nr="1" direction="in">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- int QDateTime::offsetFromUtc() const -->
<function name="QDateTime::offsetFromUtc">
<noreturn>false</noreturn>
<returnValue type="int"/>
<use-retval/>
<const/>
</function>
<!-- qint64 QDateTime::secsTo(const QDateTime &other) const -->
<function name="QDateTime::secsTo">
<noreturn>false</noreturn>
<returnValue type="qint64"/>
<use-retval/>
<leak-ignore/>
<const/>
<arg nr="1" direction="in">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- void QDateTime::setDate(const QDate &date) -->
<!-- void QDateTime::setMSecsSinceEpoch(qint64 msecs) -->
<!-- void QDateTime::setOffsetFromUtc(int offsetSeconds) -->
<!-- void QDateTime::setSecsSinceEpoch(qint64 secs) -->
<!-- void QDateTime::setTime(const QTime &time) -->
<!-- void QDateTime::setTimeSpec(Qt::TimeSpec spec) -->
<!-- void QDateTime::setTimeZone(const QTimeZone &toZone) -->
<function name="QDateTime::setDate,QDateTime::setMSecsSinceEpoch,QDateTime::setOffsetFromUtc,QDateTime::setSecsSinceEpoch,QDateTime::setTime,QDateTime::setTimeSpec,QDateTime::setTimeZone">
<noreturn>false</noreturn>
<returnValue type="void"/>
<leak-ignore/>
<arg nr="1" direction="in">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- void QDateTime::swap(QDateTime &other) -->
<function name="QDateTime::swap">
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1"/>
</function>
<!-- QTime QDateTime::time() const -->
<function name="QDateTime::time">
<noreturn>false</noreturn>
<returnValue type="QTime"/>
<use-retval/>
<const/>
</function>
<!-- Qt::TimeSpec QDateTime::timeSpec() const -->
<function name="QDateTime::timeSpec">
<noreturn>false</noreturn>
<returnValue type="Qt::TimeSpec"/>
<use-retval/>
<const/>
</function>
<!-- QTimeZone QDateTime::timeZone() const -->
<function name="QDateTime::timeZone">
<noreturn>false</noreturn>
<returnValue type="QTimeZone"/>
<use-retval/>
<const/>
</function>
<!-- QString QDateTime::timeZoneAbbreviation() const -->
<function name="QDateTime::timeZoneAbbreviation">
<noreturn>false</noreturn>
<returnValue type="QString"/>
<use-retval/>
<const/>
</function>
<!-- CFDateRef QDateTime::toCFDate() const -->
<function name="QDateTime::toCFDate">
<noreturn>false</noreturn>
<returnValue type="CFDateRef"/>
<use-retval/>
<const/>
</function>
<!-- QDateTime QDateTime::toLocalTime() const -->
<function name="QDateTime::toLocalTime">
<noreturn>false</noreturn>
<returnValue type="QDateTime"/>
<use-retval/>
<const/>
</function>
<!-- qint64 QDateTime::toMSecsSinceEpoch() const -->
<function name="QDateTime::toMSecsSinceEpoch">
<noreturn>false</noreturn>
<returnValue type="qint64"/>
<use-retval/>
<const/>
</function>
<!-- NSDate *QDateTime::toNSDate() const -->
<function name="QDateTime::toNSDate">
<noreturn>false</noreturn>
<returnValue type="NSDate *"/>
<use-retval/>
<const/>
</function>
<!-- QDateTime QDateTime::toOffsetFromUtc(int offsetSeconds) const -->
<function name="QDateTime::toOffsetFromUtc">
<noreturn>false</noreturn>
<returnValue type="QDateTime"/>
<use-retval/>
<const/>
<arg nr="1" direction="in">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- qint64 QDateTime::toSecsSinceEpoch() const -->
<function name="QDateTime::toSecsSinceEpoch">
<noreturn>false</noreturn>
<returnValue type="qint64"/>
<use-retval/>
<const/>
</function>
<!-- QString QDateTime::toString(Qt::DateFormat format = Qt::TextDate) const -->
<function name="QDateTime::toString">
<noreturn>false</noreturn>
<returnValue type="QString"/>
<use-retval/>
<const/>
<arg nr="1" direction="in" default="Qt::TextDate">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- QDateTime QDateTime::toTimeSpec(Qt::TimeSpec spec) const -->
<!-- QDateTime QDateTime::toTimeZone(const QTimeZone &timeZone) const -->
<function name="QDateTime::toTimeSpec,QDateTime::toTimeZone">
<noreturn>false</noreturn>
<returnValue type="QDateTime"/>
<use-retval/>
<const/>
<arg nr="1" direction="in">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- QDateTime QDateTime::toUTC() const -->
<function name="QDateTime::toUTC">
<noreturn>false</noreturn>
<returnValue type="QDateTime"/>
<use-retval/>
<const/>
</function>
<!-- ##### Container ##### --> <!-- ##### Container ##### -->
<container id="qtContainer" opLessAllowed="false" itEndPattern="&gt; :: iterator|const_iterator"> <container id="qtContainer" opLessAllowed="false" itEndPattern="&gt; :: iterator|const_iterator">
<type templateParameter="0"/> <type templateParameter="0"/>