qt.cfg: Add configurations for functions of class QSettings

Reference: https://doc.qt.io/qt-5/qsettings.html
This commit is contained in:
versat 2019-09-05 13:49:18 +02:00
parent 8b5191416e
commit 9b9e9a4cf4
1 changed files with 244 additions and 0 deletions

View File

@ -333,6 +333,238 @@
<not-uninit/>
</arg>
</function>
<!-- QSettings https://doc.qt.io/qt-5/qsettings.html -->
<!-- QStringList QSettings::allKeys() const -->
<function name="QSettings::allKeys">
<noreturn>false</noreturn>
<returnValue type="QStringList"/>
<use-retval/>
<const/>
</function>
<!-- QString QSettings::applicationName() const -->
<function name="QSettings::applicationName">
<noreturn>false</noreturn>
<returnValue type="QString"/>
<use-retval/>
<const/>
</function>
<!-- void QSettings::beginGroup(const QString &prefix) -->
<function name="QSettings::beginGroup">
<noreturn>false</noreturn>
<returnValue type="void"/>
<leak-ignore/>
<arg nr="1" direction="in">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- int QSettings::beginReadArray(const QString &prefix) -->
<function name="QSettings::beginReadArray">
<noreturn>false</noreturn>
<returnValue type="int"/>
<leak-ignore/>
<arg nr="1" direction="in">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- void QSettings::beginWriteArray(const QString &prefix, int size = -1) -->
<function name="QSettings::beginWriteArray">
<noreturn>false</noreturn>
<returnValue type="void"/>
<leak-ignore/>
<arg nr="1" direction="in">
<not-uninit/>
<not-bool/>
</arg>
<arg nr="2" direction="in" default="-1">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- QStringList QSettings::childGroups() const -->
<!-- QStringList QSettings::childKeys() const -->
<function name="QSettings::childGroups,QSettings::childKeys">
<noreturn>false</noreturn>
<returnValue type="QStringList"/>
<use-retval/>
<const/>
</function>
<!-- void QSettings::clear() -->
<function name="QSettings::clear">
<noreturn>false</noreturn>
<returnValue type="void"/>
</function>
<!-- bool QSettings::contains(const QString &key) const -->
<function name="QSettings::contains">
<noreturn>false</noreturn>
<returnValue type="bool"/>
<use-retval/>
<leak-ignore/>
<const/>
<arg nr="1" direction="in">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- QSettings::Format QSettings::defaultFormat() // static -->
<function name="QSettings::defaultFormat">
<noreturn>false</noreturn>
<returnValue type="QSettings::Format"/>
<use-retval/>
<const/>
</function>
<!-- void QSettings::endArray() -->
<!-- void QSettings::endGroup() -->
<function name="QSettings::endArray,QSettings::endGroup">
<noreturn>false</noreturn>
<returnValue type="void"/>
</function>
<!-- bool QSettings::event(QEvent *event) -->
<function name="QSettings::event">
<noreturn>false</noreturn>
<returnValue type="bool"/>
<arg nr="1">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- bool QSettings::fallbacksEnabled() const -->
<function name="QSettings::fallbacksEnabled">
<noreturn>false</noreturn>
<returnValue type="bool"/>
<use-retval/>
<const/>
</function>
<!-- QString QSettings::fileName() const -->
<function name="QSettings::fileName">
<noreturn>false</noreturn>
<returnValue type="QString"/>
<use-retval/>
<const/>
</function>
<!-- QSettings::Format QSettings::format() const -->
<function name="QSettings::format">
<noreturn>false</noreturn>
<returnValue type="QSettings::Format"/>
<use-retval/>
<const/>
</function>
<!-- QString QSettings::group() const -->
<function name="QSettings::group">
<noreturn>false</noreturn>
<returnValue type="QString"/>
<use-retval/>
<const/>
</function>
<!-- QTextCodec *QSettings::iniCodec() const -->
<function name="QSettings::iniCodec">
<noreturn>false</noreturn>
<returnValue type="QTextCodec *"/>
<use-retval/>
<const/>
</function>
<!-- bool QSettings::isAtomicSyncRequired() const -->
<!-- bool QSettings::isWritable() const -->
<function name="QSettings::isAtomicSyncRequired,QSettings::isWritable">
<noreturn>false</noreturn>
<returnValue type="bool"/>
<use-retval/>
<const/>
</function>
<!-- QString QSettings::organizationName() const -->
<function name="QSettings::organizationName">
<noreturn>false</noreturn>
<returnValue type="QString"/>
<use-retval/>
<const/>
</function>
<!-- QSettings::Format QSettings::registerFormat(const QString &extension, QSettings::ReadFunc readFunc, QSettings::WriteFunc writeFunc, Qt::CaseSensitivity caseSensitivity = Qt::CaseSensitive) // static -->
<function name="QSettings::registerFormat">
<noreturn>false</noreturn>
<returnValue type="QSettings::Format"/>
<arg nr="1" direction="in">
<not-uninit/>
</arg>
<arg nr="2"/>
<arg nr="3"/>
<arg nr="4" direction="in" default="Qt::CaseSensitive">
<not-uninit/>
</arg>
</function>
<!-- void QSettings::remove(const QString &key) -->
<function name="QSettings::remove">
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1" direction="in">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- QSettings::Scope QSettings::scope() const -->
<function name="QSettings::scope">
<noreturn>false</noreturn>
<returnValue type="QSettings::Scope"/>
<use-retval/>
<const/>
</function>
<!-- void QSettings::setArrayIndex(int i) -->
<function name="QSettings::setArrayIndex">
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1" direction="in">
<not-uninit/>
</arg>
</function>
<!-- void QSettings::setAtomicSyncRequired(bool enable) -->
<function name="QSettings::setAtomicSyncRequired">
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1" direction="in">
<not-uninit/>
</arg>
</function>
<!-- void QSettings::setDefaultFormat(QSettings::Format format) // static -->
<function name="QSettings::setDefaultFormat">
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1" direction="in">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- void QSettings::setFallbacksEnabled(bool b) -->
<function name="QSettings::setFallbacksEnabled">
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1" direction="in">
<not-uninit/>
</arg>
</function>
<!-- void QSettings::setIniCodec(QTextCodec *codec) -->
<!-- void QSettings::setIniCodec(const char *codecName) -->
<function name="QSettings::setIniCodec">
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1" direction="in">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- void QSettings::setPath(QSettings::Format format, QSettings::Scope scope, const QString &path) // static -->
<function name="QSettings::setPath">
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1" direction="in">
<not-uninit/>
</arg>
<arg nr="2" direction="in">
<not-uninit/>
</arg>
<arg nr="3" direction="in">
<not-uninit/>
</arg>
</function>
<!-- void QSettings::setValue(const QString &key, const QVariant &value) -->
<function name="QSettings::setValue">
<noreturn>false</noreturn>
@ -347,6 +579,18 @@
<not-uninit/>
</arg>
</function>
<!-- QSettings::Status QSettings::status() const -->
<function name="QSettings::status">
<noreturn>false</noreturn>
<returnValue type="QSettings::Status"/>
<use-retval/>
<const/>
</function>
<!-- void QSettings::sync() -->
<function name="QSettings::sync">
<noreturn>false</noreturn>
<returnValue type="void"/>
</function>
<!-- QVariant QSettings::value(const QString &key, const QVariant &defaultValue = QVariant()) const -->
<function name="QSettings::value">
<noreturn>false</noreturn>