qt.cfg: Add configuration for deprecated function QString::find()

This commit is contained in:
versat 2019-08-01 09:43:24 +02:00
parent 8a934805ed
commit 6995d40c14
1 changed files with 22 additions and 0 deletions

View File

@ -894,6 +894,28 @@
<not-uninit/>
</arg>
</function>
<!-- int QString::find(QChar c, int index = 0, bool cs = TRUE) const -->
<!-- int QString::find(char c, int index = 0, bool cs = TRUE) const -->
<!-- int QString::find(const QString & str, int index = 0, bool cs = TRUE) const -->
<!-- int QString::find(const QRegExp & rx, int index = 0) const -->
<!-- int QString::find(const char * str, int index = 0) const -->
<function name="QString::find">
<noreturn>false</noreturn>
<returnValue type="int"/>
<use-retval/>
<leak-ignore/>
<const/>
<warn severity="style" alternatives="QString::indexOf" reason="Obsolete"/>
<arg nr="1" direction="in">
<not-uninit/>
</arg>
<arg nr="2" direction="in" default="0">
<not-uninit/>
</arg>
<arg nr="3" direction="in" default="">
<not-uninit/>
</arg>
</function>
<!-- int QString::indexOf(const QString &str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const -->
<!-- int QString::indexOf(QChar ch, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const -->
<!-- int QString::indexOf(QLatin1String str, int from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const -->