Qt library: Add some function configurations (#1105)
This commit is contained in:
parent
df34164b9f
commit
152fc83bf0
54
cfg/qt.cfg
54
cfg/qt.cfg
|
@ -335,6 +335,22 @@
|
|||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- QString QString::number(long n, int base = 10) -->
|
||||
<!-- QString QString::number(uint n, int base = 10) -->
|
||||
<!-- QString QString::number(int n, int base = 10) -->
|
||||
<!-- QString QString::number(ulong n, int base = 10) -->
|
||||
<!-- QString QString::number(qlonglong n, int base = 10) -->
|
||||
<!-- QString QString::number(qulonglong n, int base = 10) -->
|
||||
<!-- QString QString::number(double n, char format = 'g', int precision = 6) -->
|
||||
<function name="QString::number">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="QString"/>
|
||||
<use-retval/>
|
||||
<leak-ignore/>
|
||||
<arg nr="any">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<function name="QString::right">
|
||||
<noreturn>false</noreturn>
|
||||
<use-retval/>
|
||||
|
@ -392,6 +408,44 @@
|
|||
<noreturn>false</noreturn>
|
||||
<use-retval/>
|
||||
</function>
|
||||
<!-- bool QFile::open(OpenMode mode) -->
|
||||
<!-- bool QFile::open(FILE *fh, OpenMode mode, FileHandleFlags handleFlags = DontCloseHandle) -->
|
||||
<!-- bool QFile::open(int fd, OpenMode mode, FileHandleFlags handleFlags = DontCloseHandle) -->
|
||||
<function name="QFile::open">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="bool"/>
|
||||
<leak-ignore/>
|
||||
<arg nr="any">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- bool QFile::remove() -->
|
||||
<!-- bool QFile::remove(const QString &fileName) -->
|
||||
<function name="QFile::remove">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="bool"/>
|
||||
<leak-ignore/>
|
||||
<arg nr="any">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- bool QFile::rename(const QString &newName) -->
|
||||
<!-- bool QFile::rename(const QString &oldName, const QString &newName) -->
|
||||
<function name="QFile::rename">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="bool"/>
|
||||
<leak-ignore/>
|
||||
<arg nr="any">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- qint64 QFile::size() const -->
|
||||
<!-- qint64 QIODevice::size() const -->
|
||||
<function name="QFile::size,QIODevice::size">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="qint64"/>
|
||||
<use-retval/>
|
||||
</function>
|
||||
<container id="qtContainer" opLessAllowed="false">
|
||||
<type templateParameter="0"/>
|
||||
<size>
|
||||
|
|
Loading…
Reference in New Issue