qt.cfg: Add more interfaces (#2889)

This commit is contained in:
Georgy Komarov 2020-11-10 17:58:16 +03:00 committed by GitHub
parent ae6f611df0
commit 59c189752b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 76 additions and 0 deletions

View File

@ -2297,6 +2297,7 @@
<not-null/>
</arg>
</function>
<!-- https://doc.qt.io/qt-5/qdir.html -->
<!-- QString QDir::fromNativeSeparators(const QString &pathName) -->
<!-- QString QDir::toNativeSeparators(const QString &pathName) -->
<function name="QDir::fromNativeSeparators,QDir::toNativeSeparators">
@ -2308,6 +2309,50 @@
<not-bool/>
</arg>
</function>
<!-- QString absolutePath() const -->
<!-- QString canonicalPath() const -->
<!-- QString dirName() const -->
<function name="QDir::absoluteFilePath,QDir::canonicalPath,QDir::dirName">
<noreturn>false</noreturn>
<returnValue type="QString"/>
<use-retval/>
<const/>
</function>
<!-- bool QDir::cd(const QString &dirName) -->
<function name="QDir::cd">
<noreturn>false</noreturn>
<returnValue type="bool"/>
<use-retval type="error-code"/>
<arg nr="1" direction="in">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- bool QDir::cdUp() -->
<function name="QDir::cd">
<noreturn>false</noreturn>
<returnValue type="bool"/>
<use-retval type="error-code"/>
</function>
<!-- bool QDir::exists(QString &name) const -->
<!-- bool QDir::exists() const -->
<function name="QDir">
<noreturn>false</noreturn>
<returnValue type="bool"/>
<use-retval/>
<leak-ignore/>
<arg nr="1" default="&quot;&quot;" direction="in">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- uint QDir::count() const -->
<function name="QDir::cd">
<noreturn>false</noreturn>
<returnValue type="uint"/>
<use-retval/>
<const/>
</function>
<!-- bool QFile::exists(const QString &fileName) // static -->
<!-- bool QFile::exists() const -->
<function name="QFile::exists">
@ -2373,6 +2418,37 @@
<use-retval/>
<const/>
</function>
<!-- https://doc.qt.io/qt-5/qlockfile.html -->
<!-- bool QLockFile::lock() -->
<!-- bool QLockFile::removeStaleLockFile() -->
<function name="QLockFile::lock,QLockFile::removeStaleLockFile">
<noreturn>false</noreturn>
<returnValue type="bool"/>
<use-retval type="error-code"/>
</function>
<!-- bool QLockFile::isLocked() const -->
<function name="QLockFile::isLocked">
<noreturn>false</noreturn>
<returnValue type="bool"/>
<use-retval/>
<const/>
</function>
<!-- int QLockFile::staleLockTime() const -->
<function name="QLockFile::staleLockTime">
<noreturn>false</noreturn>
<returnValue type="int"/>
<use-retval/>
<const/>
</function>
<!-- bool QLockFile::tryLock(int timeout = 0) -->
<function name="QLockFile::tryLock">
<noreturn>false</noreturn>
<returnValue type="bool"/>
<use-retval/>
<arg nr="1" default="0" direction="in">
<not-uninit/>
</arg>
</function>
<!-- QString QFileDialog::getOpenFileName(QWidget *parent = Q_NULLPTR, const QString &caption = QString(), const QString &dir = QString(), const QString &filter = QString(), QString *selectedFilter = Q_NULLPTR, Options options = Options()) //static -->
<!-- QString QFileDialog::getSaveFileName(QWidget *parent = Q_NULLPTR, const QString &caption = QString(), const QString &dir = QString(), const QString &filter = QString(), QString *selectedFilter = Q_NULLPTR, Options options = Options()) //static -->
<!-- QString QFileDialog::getExistingDirectory(QWidget *parent = Q_NULLPTR, const QString &caption = QString(), const QString &dir = QString(), Options options = ShowDirsOnly) //static -->