Skip to content

Commit 44ad6a1

Browse files
Update qt.cfg
1 parent 05dfc6e commit 44ad6a1

1 file changed

Lines changed: 88 additions & 12 deletions

File tree

cfg/qt.cfg

Lines changed: 88 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2297,7 +2297,7 @@
22972297
<not-null/>
22982298
</arg>
22992299
</function>
2300-
<!-- https://doc.qt.io/qt-5/qdir.html -->
2300+
<!-- https://doc.qt.io/qt-6/qdir.html -->
23012301
<!-- QString QDir::fromNativeSeparators(const QString &pathName) -->
23022302
<!-- QString QDir::toNativeSeparators(const QString &pathName) -->
23032303
<function name="QDir::fromNativeSeparators,QDir::toNativeSeparators">
@@ -2309,10 +2309,27 @@
23092309
<not-bool/>
23102310
</arg>
23112311
</function>
2312+
<!-- bool QDir::mkdir(const QString &dirPath) const -->
2313+
<!-- bool QDir::mkpath(const QString &dirPath) const -->
2314+
<!-- do not mark as const as it is not const from a side effect standpoint-->
2315+
<function name="QDir::mkdir,QDir::mkpath">
2316+
<noreturn>false</noreturn>
2317+
<returnValue type="bool"/>
2318+
<use-retval type="error-code"/>
2319+
<arg nr="1" direction="in">
2320+
<not-uninit/>
2321+
<not-bool/>
2322+
</arg>
2323+
</function>
2324+
<!-- bool QDir::path() const -->
2325+
<function name="QDir::path">
2326+
<noreturn>false</noreturn>
2327+
<returnValue type="QString"/>
2328+
</function>
23122329
<!-- QString absolutePath() const -->
23132330
<!-- QString canonicalPath() const -->
23142331
<!-- QString dirName() const -->
2315-
<function name="QDir::absoluteFilePath,QDir::canonicalPath,QDir::dirName">
2332+
<function name="QDir::absolutePath,QDir::canonicalPath,QDir::dirName">
23162333
<noreturn>false</noreturn>
23172334
<returnValue type="QString"/>
23182335
<use-retval/>
@@ -2328,6 +2345,63 @@
23282345
<not-bool/>
23292346
</arg>
23302347
</function>
2348+
<!-- QString QDir::absoluteFilePath(const QString &fileName) -->
2349+
<function name="QDir::absoluteFilePath">
2350+
<noreturn>false</noreturn>
2351+
<returnValue type="QString"/>
2352+
<arg nr="1" direction="in">
2353+
<not-uninit/>
2354+
<not-bool/>
2355+
</arg>
2356+
<const/>
2357+
</function>
2358+
<!-- QString QDir::filePath(const QString &fileName) -->
2359+
<function name="QDir::filePath">
2360+
<noreturn>false</noreturn>
2361+
<returnValue type="QString"/>
2362+
<arg nr="1" direction="in">
2363+
<not-uninit/>
2364+
<not-bool/>
2365+
</arg>
2366+
<const/>
2367+
</function>
2368+
<!-- QString QDir::cleanPath(const QString &path) -->
2369+
<function name="QDir::cleanPath">
2370+
<noreturn>false</noreturn>
2371+
<returnValue type="QString"/>
2372+
<arg nr="1" direction="in">
2373+
<not-uninit/>
2374+
<not-bool/>
2375+
</arg>
2376+
<const/>
2377+
</function>
2378+
<!-- QString QDir::currentPath() -->
2379+
<!-- QString QDir::tempPath() -->
2380+
<function name="QDir::currentPath,QDir::tempPath">
2381+
<noreturn>false</noreturn>
2382+
<returnValue type="QString"/>
2383+
<const/>
2384+
</function>
2385+
<!-- QStringList QDir::entryList(const QStringList &nameFilters, QDir::Filters filters = NoFilter, QDir::SortFlags sort = NoSort) const-->
2386+
<!-- QStringList QDir::entryList(QDir::Filters filters = NoFilter, QDir::SortFlags sort = NoSort)const-->
2387+
<function name="QDir::entryList">
2388+
<noreturn>false</noreturn>
2389+
<returnValue type="QStringList"/>
2390+
<arg nr="any">
2391+
<not-uninit/>
2392+
</arg>
2393+
<const/>
2394+
</function>
2395+
<!-- QFileInfoList QDir::entryInfoList(const QStringList &nameFilters, QDir::Filters filters = NoFilter, QDir::SortFlags sort = NoSort) const -->
2396+
<!-- QFileInfoList QDir::entryInfoList(QDir::Filters filters = NoFilter, QDir::SortFlags sort = NoSort) const -->
2397+
<function name="QDir::entryInfoList">
2398+
<noreturn>false</noreturn>
2399+
<returnValue type="QFileInfoList"/>
2400+
<arg nr="any">
2401+
<not-uninit/>
2402+
</arg>
2403+
<const/>
2404+
</function>
23312405
<!-- bool QDir::cdUp() -->
23322406
<function name="QDir::cdUp">
23332407
<noreturn>false</noreturn>
@@ -2336,7 +2410,7 @@
23362410
</function>
23372411
<!-- bool QDir::exists(QString &name) const -->
23382412
<!-- bool QDir::exists() const -->
2339-
<function name="QDir">
2413+
<function name="QDir::exists">
23402414
<noreturn>false</noreturn>
23412415
<returnValue type="bool"/>
23422416
<use-retval/>
@@ -2353,17 +2427,19 @@
23532427
<use-retval/>
23542428
<const/>
23552429
</function>
2356-
<!-- bool QFile::exists(const QString &fileName) // static -->
2357-
<!-- bool QFile::exists() const -->
2358-
<function name="QFile::exists">
2430+
<!-- QChar QDir::separator() static -->
2431+
<function name="QDir::separator">
23592432
<noreturn>false</noreturn>
2360-
<returnValue type="bool"/>
2433+
<returnValue type="QChar"/>
23612434
<use-retval/>
2362-
<leak-ignore/>
2363-
<arg nr="1" default="&quot;&quot;" direction="in">
2364-
<not-uninit/>
2365-
<not-bool/>
2366-
</arg>
2435+
<const/>
2436+
</function>
2437+
<!-- QChar QDir::separator() static -->
2438+
<function name="QDir::homePath">
2439+
<noreturn>false</noreturn>
2440+
<returnValue type="QString"/>
2441+
<use-retval/>
2442+
<const/>
23672443
</function>
23682444
<!-- bool QFile::open(OpenMode mode) -->
23692445
<!-- bool QFile::open(FILE *fh, OpenMode mode, FileHandleFlags handleFlags = DontCloseHandle) -->

0 commit comments

Comments
 (0)