qt.cfg: Add some functions used in the GUI, remove redundant const (#1189)
This commit is contained in:
parent
cdf7ea0a33
commit
40c42f2de7
121
cfg/qt.cfg
121
cfg/qt.cfg
|
@ -167,6 +167,16 @@
|
|||
</arg>
|
||||
<warn severity="style" alternatives="QString::asprintf,QString::arg,QTextStream" reason="Obsolete"/>
|
||||
</function>
|
||||
<!-- void QList::append(const T &value) -->
|
||||
<!-- void QList::append(const QList<T> &value) -->
|
||||
<!-- QStringList inherits from QList -->
|
||||
<function name="QList::append,QStringList::append">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="void"/>
|
||||
<arg nr="1">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- QString & QString::append(const QString &str); -->
|
||||
<!-- QString & QString::append(const QChar *str, int len); -->
|
||||
<!-- QString & QString::append(QChar ch); -->
|
||||
|
@ -308,6 +318,16 @@
|
|||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- bool QMap::contains(const Key &key) const -->
|
||||
<function name="QMap::contains">
|
||||
<noreturn>false</noreturn>
|
||||
<use-retval/>
|
||||
<returnValue type="bool"/>
|
||||
<const/>
|
||||
<arg nr="1">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- bool QString::contains(const QString &str, Qt::CaseSensitivity cs = Qt::CaseSensitive) const -->
|
||||
<!-- bool QString::startsWith(const QString &str, Qt::CaseSensitivity cs = Qt::CaseSensitive) const -->
|
||||
<!-- bool QString::endsWith(const QString &str, Qt::CaseSensitivity cs = Qt::CaseSensitive) const -->
|
||||
|
@ -346,7 +366,6 @@
|
|||
<!-- int QStringList::size() const -->
|
||||
<function name="QList::count,QList::length,QList::size,QString::count,QString::length,QString::size,QStringList::count,QStringList::length,QStringList::size">
|
||||
<noreturn>false</noreturn>
|
||||
<const/>
|
||||
<use-retval/>
|
||||
<returnValue type="signed int"/>
|
||||
<const/>
|
||||
|
@ -359,11 +378,22 @@
|
|||
<!-- bool QStringList::isEmpty() const -->
|
||||
<function name="QList::empty,QList::isEmpty,QString::isEmpty,QString::isNull,QStringList::empty,QStringList::isEmpty">
|
||||
<noreturn>false</noreturn>
|
||||
<const/>
|
||||
<use-retval/>
|
||||
<returnValue type="bool"/>
|
||||
<const/>
|
||||
</function>
|
||||
<!-- void QList::insert(int i, const T &value) -->
|
||||
<!-- iterator QList::insert(iterator before, const T &value) -->
|
||||
<!-- QStringList inherits from QList -->
|
||||
<function name="QList::insert,QStringList::insert">
|
||||
<noreturn>false</noreturn>
|
||||
<arg nr="1">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<arg nr="2">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- QString QString::fromLatin1(const char *str, int size = -1) //static -->
|
||||
<!-- QString QString::fromLatin1(const QByteArray &str) //static -->
|
||||
<function name="QString::fromLatin1">
|
||||
|
@ -538,6 +568,15 @@
|
|||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- void QList::prepend(const T &value) -->
|
||||
<!-- QStringList inherits from QList -->
|
||||
<function name="QList::prepend,QStringList::prepend">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="void"/>
|
||||
<arg nr="1">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- QString & QString::prepend(const QString & str) -->
|
||||
<!-- QString & QString::prepend(const QLatin1String & str) -->
|
||||
<!-- QString & QString::prepend(const QByteArray & ba) -->
|
||||
|
@ -553,6 +592,24 @@
|
|||
<not-bool/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- void QList::push_back(const T &value) -->
|
||||
<!-- QStringList inherits from QList -->
|
||||
<function name="QList::push_back,QStringList::push_back">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="void"/>
|
||||
<arg nr="1">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- void QList::push_front(const T &value) -->
|
||||
<!-- QStringList inherits from QList -->
|
||||
<function name="QList::push_front,QStringList::push_front">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="void"/>
|
||||
<arg nr="1">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- QString & QString::remove(int position, int n) -->
|
||||
<!-- QString & QString::remove(QChar ch, Qt::CaseSensitivity cs = Qt::CaseSensitive) -->
|
||||
<!-- QString & QString::remove(const QString & str, Qt::CaseSensitivity cs = Qt::CaseSensitive) -->
|
||||
|
@ -568,6 +625,25 @@
|
|||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- int QList::removeAll(const T &value) -->
|
||||
<!-- QStringList inherits from QList -->
|
||||
<function name="QList::removeAll,QStringList::removeAll">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="int"/>
|
||||
<arg nr="1">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- void QList::removeAt(int i) -->
|
||||
<!-- QStringList inherits from QList -->
|
||||
<function name="QList::removeAt,QStringList::removeAt">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="void"/>
|
||||
<arg nr="1">
|
||||
<not-uninit/>
|
||||
<valid>0:</valid>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- QString QString::repeated(int times) const -->
|
||||
<function name="QString::repeated">
|
||||
<noreturn>false</noreturn>
|
||||
|
@ -691,6 +767,19 @@
|
|||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- void QList::swap(QList<T> &other) -->
|
||||
<!-- void QList::swap(int i, int j) -->
|
||||
<!-- QStringList inherits from QList -->
|
||||
<function name="QList::swap,QStringList::swap">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="void"/>
|
||||
<arg nr="1">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<arg nr="2" default="0">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- double QString::toDouble(bool * ok = 0) const -->
|
||||
<function name="QString::toDouble">
|
||||
<noreturn>false</noreturn>
|
||||
|
@ -950,6 +1039,14 @@
|
|||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- void QFile::setFileName(const QString &name) -->
|
||||
<function name="QFile::setFileName">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="void"/>
|
||||
<arg nr="1">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- qint64 QFile::size() const -->
|
||||
<!-- qint64 QIODevice::size() const -->
|
||||
<function name="QFile::size,QIODevice::size">
|
||||
|
@ -958,6 +1055,26 @@
|
|||
<use-retval/>
|
||||
<const/>
|
||||
</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 -->
|
||||
<function name="QFileDialog::getOpenFileName,QFileDialog::getSaveFileName,QFileDialog::getExistingDirectory">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="QString"/>
|
||||
<use-retval/>
|
||||
<arg nr="any">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- QStringList QFileDialog::getOpenFileNames(QWidget *parent = Q_NULLPTR, const QString &caption = QString(), const QString &dir = QString(), const QString &filter = QString(), QString *selectedFilter = Q_NULLPTR, Options options = Options()) //static -->
|
||||
<function name="QFileDialog::getOpenFileNames">
|
||||
<noreturn>false</noreturn>
|
||||
<returnValue type="QStringList"/>
|
||||
<use-retval/>
|
||||
<arg nr="any">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<container id="qtContainer" opLessAllowed="false">
|
||||
<type templateParameter="0"/>
|
||||
<size>
|
||||
|
|
Loading…
Reference in New Issue