Adapt the names in the documentation to the names used in the header
This is needed since the names of the header are the ones you have to use in the QML signal handlers to access the variables Change-Id: I507e2ccc05a1fd2c5efd0bf4bef92ed33a186d95 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>bb10
parent
6ee73677b2
commit
a860500f8e
|
|
@ -1552,13 +1552,13 @@ QAbstractItemModel::~QAbstractItemModel()
|
|||
*/
|
||||
|
||||
/*!
|
||||
\fn void QAbstractItemModel::rowsMoved(const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destinationParent, int destinationRow)
|
||||
\fn void QAbstractItemModel::rowsMoved(const QModelIndex &parent, int start, int end, const QModelIndex &destination, int row)
|
||||
\since 4.6
|
||||
|
||||
This signal is emitted after rows have been moved within the
|
||||
model. The items between \a sourceStart and \a sourceEnd
|
||||
inclusive, under the given \a sourceParent item have been moved to \a destinationParent
|
||||
starting at the row \a destinationRow.
|
||||
model. The items between \a start and \a end
|
||||
inclusive, under the given \a parent item have been moved to \a destination
|
||||
starting at the row \a row.
|
||||
|
||||
\b{Note:} Components connected to this signal use it to adapt to changes
|
||||
in the model's dimensions. It can only be emitted by the QAbstractItemModel
|
||||
|
|
@ -1584,13 +1584,13 @@ QAbstractItemModel::~QAbstractItemModel()
|
|||
*/
|
||||
|
||||
/*!
|
||||
\fn void QAbstractItemModel::columnsMoved(const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destinationParent, int destinationColumn)
|
||||
\fn void QAbstractItemModel::columnsMoved(const QModelIndex &parent, int start, int end, const QModelIndex &destination, int column)
|
||||
\since 4.6
|
||||
|
||||
This signal is emitted after columns have been moved within the
|
||||
model. The items between \a sourceStart and \a sourceEnd
|
||||
inclusive, under the given \a sourceParent item have been moved to \a destinationParent
|
||||
starting at the column \a destinationColumn.
|
||||
model. The items between \a start and \a end
|
||||
inclusive, under the given \a parent item have been moved to \a destination
|
||||
starting at the column \a column.
|
||||
|
||||
\b{Note:} Components connected to this signal use it to adapt to changes
|
||||
in the model's dimensions. It can only be emitted by the QAbstractItemModel
|
||||
|
|
|
|||
Loading…
Reference in New Issue