qt.cfg: Add some QStandardItem[Model] functions (#1200)

This commit is contained in:
Sebastian 2018-05-02 21:03:55 +02:00 committed by GitHub
parent 2a9ee563c2
commit 0a95fb4b70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 99 additions and 0 deletions

View File

@ -195,6 +195,20 @@
<not-uninit/>
</arg>
</function>
<!-- void QStandardItem::appendRow(const QList<QStandardItem *> &items) -->
<!-- void QStandardItem::appendRow(QStandardItem *item) -->
<!-- void QStandardItem::appendRows(const QList<QStandardItem *> &items) -->
<!-- void QStandardItemModel::appendRow(const QList<QStandardItem *> &items) -->
<!-- void QStandardItemModel::appendRow(QStandardItem *item) -->
<function name="QStandardItem::appendRow,QStandardItem::appendRows,QStandardItemModel::appendRow">
<noreturn>false</noreturn>
<returnValue type="void"/>
<leak-ignore/>
<arg nr="1">
<not-null/>
<not-uninit/>
</arg>
</function>
<!-- QString QString::arg(const QString & a, int fieldWidth = 0, const QChar & fillChar = QLatin1Char( ' ' )) const -->
<!-- QString QString::arg(const QString & a1, const QString & a2) const -->
<!-- QString QString::arg(const QString & a1, const QString & a2, const QString & a3) const -->
@ -273,6 +287,19 @@
<noreturn>false</noreturn>
<use-retval/>
</function>
<!-- QStandardItem *QStandardItem::child(int row, int column = 0) const -->
<function name="QStandardItem::child">
<noreturn>false</noreturn>
<returnValue type="QStandardItem *"/>
<use-retval/>
<const/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2" default="0">
<not-uninit/>
</arg>
</function>
<!-- void QString::chop() -->
<function name="QString::chop">
<noreturn>false</noreturn>
@ -394,6 +421,29 @@
<not-uninit/>
</arg>
</function>
<!-- QStandardItem *QStandardItemModel::item(int row, int column = 0) const -->
<function name="QStandardItemModel::item">
<noreturn>false</noreturn>
<returnValue type="QStandardItem *"/>
<use-retval/>
<const/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2" default="0">
<not-uninit/>
</arg>
</function>
<!-- QStandardItem *QStandardItemModel::itemFromIndex(const QModelIndex &index) const -->
<function name="QStandardItemModel::itemFromIndex">
<noreturn>false</noreturn>
<returnValue type="QStandardItem *"/>
<use-retval/>
<const/>
<arg nr="1">
<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">
@ -644,6 +694,55 @@
<valid>0:</valid>
</arg>
</function>
<!-- void QStandardItem::removeRow(int row) -->
<function name="QStandardItem::removeRow">
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1">
<not-uninit/>
</arg>
</function>
<!-- void QStandardItem::removeRows(int row, int count) -->
<function name="QStandardItem::removeRows">
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
</arg>
</function>
<!-- bool QAbstractItemModel::removeRow(int row, const QModelIndex &parent = QModelIndex()) -->
<!-- QStandardItemModel inherits from QAbstractItemModel -->
<function name="QAbstractItemModel::removeRow,QStandardItemModel::removeRow">
<noreturn>false</noreturn>
<returnValue type="bool"/>
<arg nr="1">
<not-uninit/>
<not-bool/>
</arg>
<arg nr="2" default="0">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- bool QStandardItemModel::removeRows(int row, int count, const QModelIndex &parent = QModelIndex()) -->
<function name="QStandardItemModel::removeRows">
<noreturn>false</noreturn>
<returnValue type="bool"/>
<arg nr="1">
<not-uninit/>
</arg>
<arg nr="2">
<not-uninit/>
<not-bool/>
</arg>
<arg nr="3" default="0">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- QString QString::repeated(int times) const -->
<function name="QString::repeated">
<noreturn>false</noreturn>