From 9b27240e4a30dd8b0d504f696f45c6c25caaa259 Mon Sep 17 00:00:00 2001 From: Andy Shaw Date: Sun, 18 May 2014 13:37:25 +0200 Subject: Fix the doc so it uses the defined parameter names for the signals The documentation needs to use the defined parameter names for the signals as this is what QML will make them available as if they are used in a connection to that signal. Task-number: QTBUG-35694 Change-Id: I0f56b9e1ace45cfff72c45273dd64766e3c792f2 Reviewed-by: Jerome Pasion --- src/corelib/itemmodels/qabstractitemmodel.cpp | 30 +++++++++++++-------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'src/corelib') diff --git a/src/corelib/itemmodels/qabstractitemmodel.cpp b/src/corelib/itemmodels/qabstractitemmodel.cpp index 4241fe08ca..ad5722626e 100644 --- a/src/corelib/itemmodels/qabstractitemmodel.cpp +++ b/src/corelib/itemmodels/qabstractitemmodel.cpp @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). +** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtCore module of the Qt Toolkit. @@ -1504,10 +1504,10 @@ QAbstractItemModel::~QAbstractItemModel() */ /*! - \fn void QAbstractItemModel::rowsInserted(const QModelIndex &parent, int start, int end) + \fn void QAbstractItemModel::rowsInserted(const QModelIndex &parent, int first, int last) This signal is emitted after rows have been inserted into the - model. The new items are those between \a start and \a end + model. The new items are those between \a first and \a last inclusive, under the given \a parent item. \note Components connected to this signal use it to adapt to changes in the @@ -1532,10 +1532,10 @@ QAbstractItemModel::~QAbstractItemModel() */ /*! - \fn void QAbstractItemModel::rowsRemoved(const QModelIndex &parent, int start, int end) + \fn void QAbstractItemModel::rowsRemoved(const QModelIndex &parent, int first, int last) This signal is emitted after rows have been removed from the model. The - removed items are those between \a start and \a end inclusive, under the + removed items are those between \a first and \a last inclusive, under the given \a parent item. \note Components connected to this signal use it to adapt to changes @@ -1546,10 +1546,10 @@ QAbstractItemModel::~QAbstractItemModel() */ /*! - \fn void QAbstractItemModel::rowsAboutToBeRemoved(const QModelIndex &parent, int start, int end) + \fn void QAbstractItemModel::rowsAboutToBeRemoved(const QModelIndex &parent, int first, int last) This signal is emitted just before rows are removed from the model. The - items that will be removed are those between \a start and \a end inclusive, + items that will be removed are those between \a first and \a last inclusive, under the given \a parent item. \note Components connected to this signal use it to adapt to changes @@ -1624,10 +1624,10 @@ QAbstractItemModel::~QAbstractItemModel() */ /*! - \fn void QAbstractItemModel::columnsInserted(const QModelIndex &parent, int start, int end) + \fn void QAbstractItemModel::columnsInserted(const QModelIndex &parent, int first, int last) This signal is emitted after columns have been inserted into the model. The - new items are those between \a start and \a end inclusive, under the given + new items are those between \a first and \a last inclusive, under the given \a parent item. \note Components connected to this signal use it to adapt to changes in the @@ -1638,10 +1638,10 @@ QAbstractItemModel::~QAbstractItemModel() */ /*! - \fn void QAbstractItemModel::columnsAboutToBeInserted(const QModelIndex &parent, int start, int end) + \fn void QAbstractItemModel::columnsAboutToBeInserted(const QModelIndex &parent, int first, int last) This signal is emitted just before columns are inserted into the model. The - new items will be positioned between \a start and \a end inclusive, under + new items will be positioned between \a first and \a last inclusive, under the given \a parent item. \note Components connected to this signal use it to adapt to changes in the @@ -1652,10 +1652,10 @@ QAbstractItemModel::~QAbstractItemModel() */ /*! - \fn void QAbstractItemModel::columnsRemoved(const QModelIndex &parent, int start, int end) + \fn void QAbstractItemModel::columnsRemoved(const QModelIndex &parent, int first, int last) This signal is emitted after columns have been removed from the model. - The removed items are those between \a start and \a end inclusive, + The removed items are those between \a first and \a last inclusive, under the given \a parent item. \note Components connected to this signal use it to adapt to changes in @@ -1666,10 +1666,10 @@ QAbstractItemModel::~QAbstractItemModel() */ /*! - \fn void QAbstractItemModel::columnsAboutToBeRemoved(const QModelIndex &parent, int start, int end) + \fn void QAbstractItemModel::columnsAboutToBeRemoved(const QModelIndex &parent, int first, int last) This signal is emitted just before columns are removed from the model. The - items to be removed are those between \a start and \a end inclusive, under + items to be removed are those between \a first and \a last inclusive, under the given \a parent item. \note Components connected to this signal use it to adapt to changes in the -- cgit v1.2.3