diff options
Diffstat (limited to 'src/datavisualization/data/abstractitemmodelhandler.cpp')
-rw-r--r-- | src/datavisualization/data/abstractitemmodelhandler.cpp | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/src/datavisualization/data/abstractitemmodelhandler.cpp b/src/datavisualization/data/abstractitemmodelhandler.cpp index 332d6861..703a337f 100644 --- a/src/datavisualization/data/abstractitemmodelhandler.cpp +++ b/src/datavisualization/data/abstractitemmodelhandler.cpp @@ -88,9 +88,9 @@ QAbstractItemModel *AbstractItemModelHandler::itemModel() const void AbstractItemModelHandler::handleColumnsInserted(const QModelIndex &parent, int start, int end) { - Q_UNUSED(parent) - Q_UNUSED(start) - Q_UNUSED(end) + Q_UNUSED(parent); + Q_UNUSED(start); + Q_UNUSED(end); // Manipulating columns changes all rows in proxies that map rows/columns directly, // and its effects are not clearly defined in others -> always do full reset. @@ -106,11 +106,11 @@ void AbstractItemModelHandler::handleColumnsMoved(const QModelIndex &sourceParen const QModelIndex &destinationParent, int destinationColumn) { - Q_UNUSED(sourceParent) - Q_UNUSED(sourceStart) - Q_UNUSED(sourceEnd) - Q_UNUSED(destinationParent) - Q_UNUSED(destinationColumn) + Q_UNUSED(sourceParent); + Q_UNUSED(sourceStart); + Q_UNUSED(sourceEnd); + Q_UNUSED(destinationParent); + Q_UNUSED(destinationColumn); // Manipulating columns changes all rows in proxies that map rows/columns directly, // and its effects are not clearly defined in others -> always do full reset. @@ -123,9 +123,9 @@ void AbstractItemModelHandler::handleColumnsMoved(const QModelIndex &sourceParen void AbstractItemModelHandler::handleColumnsRemoved(const QModelIndex &parent, int start, int end) { - Q_UNUSED(parent) - Q_UNUSED(start) - Q_UNUSED(end) + Q_UNUSED(parent); + Q_UNUSED(start); + Q_UNUSED(end); // Manipulating columns changes all rows in proxies that map rows/columns directly, // and its effects are not clearly defined in others -> always do full reset. @@ -139,9 +139,9 @@ void AbstractItemModelHandler::handleDataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QList<int> &roles) { - Q_UNUSED(topLeft) - Q_UNUSED(bottomRight) - Q_UNUSED(roles) + Q_UNUSED(topLeft); + Q_UNUSED(bottomRight); + Q_UNUSED(roles); // Default handling for dataChanged is to do full reset, as it cannot be optimized // in a general case, where we do not know which row/column/index the item model item @@ -155,8 +155,8 @@ void AbstractItemModelHandler::handleDataChanged(const QModelIndex &topLeft, void AbstractItemModelHandler::handleLayoutChanged(const QList<QPersistentModelIndex> &parents, QAbstractItemModel::LayoutChangeHint hint) { - Q_UNUSED(parents) - Q_UNUSED(hint) + Q_UNUSED(parents); + Q_UNUSED(hint); // Resolve entire model if layout changes if (!m_resolveTimer.isActive()) { @@ -176,9 +176,9 @@ void AbstractItemModelHandler::handleModelReset() void AbstractItemModelHandler::handleRowsInserted(const QModelIndex &parent, int start, int end) { - Q_UNUSED(parent) - Q_UNUSED(start) - Q_UNUSED(end) + Q_UNUSED(parent); + Q_UNUSED(start); + Q_UNUSED(end); // Default handling for rowsInserted is to do full reset, as it cannot be optimized // in a general case, where we do not know which row/column/index the item model item @@ -195,11 +195,11 @@ void AbstractItemModelHandler::handleRowsMoved(const QModelIndex &sourceParent, const QModelIndex &destinationParent, int destinationRow) { - Q_UNUSED(sourceParent) - Q_UNUSED(sourceStart) - Q_UNUSED(sourceEnd) - Q_UNUSED(destinationParent) - Q_UNUSED(destinationRow) + Q_UNUSED(sourceParent); + Q_UNUSED(sourceStart); + Q_UNUSED(sourceEnd); + Q_UNUSED(destinationParent); + Q_UNUSED(destinationRow); // Default handling for rowsMoved is to do full reset, as it cannot be optimized // in a general case, where we do not know which row/column/index the item model item @@ -212,9 +212,9 @@ void AbstractItemModelHandler::handleRowsMoved(const QModelIndex &sourceParent, void AbstractItemModelHandler::handleRowsRemoved(const QModelIndex &parent, int start, int end) { - Q_UNUSED(parent) - Q_UNUSED(start) - Q_UNUSED(end) + Q_UNUSED(parent); + Q_UNUSED(start); + Q_UNUSED(end); // Default handling for rowsRemoved is to do full reset, as it cannot be optimized // in a general case, where we do not know which row/column/index the item model item |