diff options
Diffstat (limited to 'src/datavisualization/engine')
-rw-r--r-- | src/datavisualization/engine/abstract3dcontroller.cpp | 28 | ||||
-rw-r--r-- | src/datavisualization/engine/abstract3drenderer.cpp | 16 | ||||
-rw-r--r-- | src/datavisualization/engine/bars3dcontroller.cpp | 16 | ||||
-rw-r--r-- | src/datavisualization/engine/bars3drenderer.cpp | 2 | ||||
-rw-r--r-- | src/datavisualization/engine/drawer.cpp | 2 | ||||
-rw-r--r-- | src/datavisualization/engine/scatter3dcontroller.cpp | 16 | ||||
-rw-r--r-- | src/datavisualization/engine/selectionpointer.cpp | 4 | ||||
-rw-r--r-- | src/datavisualization/engine/surface3dcontroller.cpp | 16 |
8 files changed, 50 insertions, 50 deletions
diff --git a/src/datavisualization/engine/abstract3dcontroller.cpp b/src/datavisualization/engine/abstract3dcontroller.cpp index 0fe0aa6d..40cbe88d 100644 --- a/src/datavisualization/engine/abstract3dcontroller.cpp +++ b/src/datavisualization/engine/abstract3dcontroller.cpp @@ -690,7 +690,7 @@ void Abstract3DController::handleThemeMultiHighlightGradientChanged(const QLinea void Abstract3DController::handleThemeTypeChanged(Q3DTheme::Theme theme) { - Q_UNUSED(theme) + Q_UNUSED(theme); // Changing theme type is logically equivalent of changing the entire theme // object, so reset all attached series to the new theme. @@ -1070,7 +1070,7 @@ void Abstract3DController::updateCustomItem() void Abstract3DController::handleAxisTitleChanged(const QString &title) { - Q_UNUSED(title) + Q_UNUSED(title); handleAxisTitleChangedBySender(sender()); } @@ -1111,8 +1111,8 @@ void Abstract3DController::handleAxisLabelsChangedBySender(QObject *sender) void Abstract3DController::handleAxisRangeChanged(float min, float max) { - Q_UNUSED(min) - Q_UNUSED(max) + Q_UNUSED(min); + Q_UNUSED(max); handleAxisRangeChangedBySender(sender()); } @@ -1135,7 +1135,7 @@ void Abstract3DController::handleAxisRangeChangedBySender(QObject *sender) void Abstract3DController::handleAxisSegmentCountChanged(int count) { - Q_UNUSED(count) + Q_UNUSED(count); handleAxisSegmentCountChangedBySender(sender()); } @@ -1154,7 +1154,7 @@ void Abstract3DController::handleAxisSegmentCountChangedBySender(QObject *sender void Abstract3DController::handleAxisSubSegmentCountChanged(int count) { - Q_UNUSED(count) + Q_UNUSED(count); handleAxisSubSegmentCountChangedBySender(sender()); } @@ -1183,13 +1183,13 @@ void Abstract3DController::handleAxisAutoAdjustRangeChanged(bool autoAdjust) void Abstract3DController::handleAxisLabelFormatChanged(const QString &format) { - Q_UNUSED(format) + Q_UNUSED(format); handleAxisLabelFormatChangedBySender(sender()); } void Abstract3DController::handleAxisReversedChanged(bool enable) { - Q_UNUSED(enable) + Q_UNUSED(enable); handleAxisReversedChangedBySender(sender()); } @@ -1200,19 +1200,19 @@ void Abstract3DController::handleAxisFormatterDirty() void Abstract3DController::handleAxisLabelAutoRotationChanged(float angle) { - Q_UNUSED(angle) + Q_UNUSED(angle); handleAxisLabelAutoRotationChangedBySender(sender()); } void Abstract3DController::handleAxisTitleVisibilityChanged(bool visible) { - Q_UNUSED(visible) + Q_UNUSED(visible); handleAxisTitleVisibilityChangedBySender(sender()); } void Abstract3DController::handleAxisTitleFixedChanged(bool fixed) { - Q_UNUSED(fixed) + Q_UNUSED(fixed); handleAxisTitleFixedChangedBySender(sender()); } @@ -1229,13 +1229,13 @@ void Abstract3DController::handleInputViewChanged(QAbstract3DInputHandler::Input void Abstract3DController::handleInputPositionChanged(const QPoint &position) { - Q_UNUSED(position) + Q_UNUSED(position); emitNeedRender(); } void Abstract3DController::handleSeriesVisibilityChanged(bool visible) { - Q_UNUSED(visible) + Q_UNUSED(visible); handleSeriesVisibilityChangedBySender(sender()); } @@ -1467,7 +1467,7 @@ void Abstract3DController::setAxisHelper(QAbstract3DAxis::AxisOrientation orient QAbstract3DAxis *Abstract3DController::createDefaultAxis( QAbstract3DAxis::AxisOrientation orientation) { - Q_UNUSED(orientation) + Q_UNUSED(orientation); // The default default axis is a value axis. If the graph type has a different default axis // for some orientation, this function needs to be overridden. diff --git a/src/datavisualization/engine/abstract3drenderer.cpp b/src/datavisualization/engine/abstract3drenderer.cpp index a52d6981..ef77dc92 100644 --- a/src/datavisualization/engine/abstract3drenderer.cpp +++ b/src/datavisualization/engine/abstract3drenderer.cpp @@ -274,8 +274,8 @@ void Abstract3DRenderer::initGradientShaders(const QString &vertexShader, const QString &fragmentShader) { // Do nothing by default - Q_UNUSED(vertexShader) - Q_UNUSED(fragmentShader) + Q_UNUSED(vertexShader); + Q_UNUSED(fragmentShader); } void Abstract3DRenderer::initStaticSelectedItemShaders(const QString &vertexShader, @@ -284,10 +284,10 @@ void Abstract3DRenderer::initStaticSelectedItemShaders(const QString &vertexShad const QString &gradientFragmentShader) { // Do nothing by default - Q_UNUSED(vertexShader) - Q_UNUSED(fragmentShader) - Q_UNUSED(gradientVertexShader) - Q_UNUSED(gradientFragmentShader) + Q_UNUSED(vertexShader); + Q_UNUSED(fragmentShader); + Q_UNUSED(gradientVertexShader); + Q_UNUSED(gradientFragmentShader); } void Abstract3DRenderer::initCustomItemShaders(const QString &vertexShader, @@ -697,8 +697,8 @@ void Abstract3DRenderer::modifiedSeriesList(const QList<QAbstract3DSeries *> &se void Abstract3DRenderer::fixMeshFileName(QString &fileName, QAbstract3DSeries::Mesh mesh) { // Default implementation does nothing. - Q_UNUSED(fileName) - Q_UNUSED(mesh) + Q_UNUSED(fileName); + Q_UNUSED(mesh); } void Abstract3DRenderer::updateSeries(const QList<QAbstract3DSeries *> &seriesList) diff --git a/src/datavisualization/engine/bars3dcontroller.cpp b/src/datavisualization/engine/bars3dcontroller.cpp index 6b304026..a6bfd080 100644 --- a/src/datavisualization/engine/bars3dcontroller.cpp +++ b/src/datavisualization/engine/bars3dcontroller.cpp @@ -167,8 +167,8 @@ void Bars3DController::handleArrayReset() void Bars3DController::handleRowsAdded(int startIndex, int count) { - Q_UNUSED(startIndex) - Q_UNUSED(count) + Q_UNUSED(startIndex); + Q_UNUSED(count); QBar3DSeries *series = static_cast<QBarDataProxy *>(sender())->series(); if (series->isVisible()) { adjustAxisRanges(); @@ -217,8 +217,8 @@ void Bars3DController::handleRowsChanged(int startIndex, int count) void Bars3DController::handleRowsRemoved(int startIndex, int count) { - Q_UNUSED(startIndex) - Q_UNUSED(count) + Q_UNUSED(startIndex); + Q_UNUSED(count); QBar3DSeries *series = static_cast<QBarDataProxy *>(sender())->series(); if (series == m_selectedBarSeries) { @@ -246,8 +246,8 @@ void Bars3DController::handleRowsRemoved(int startIndex, int count) void Bars3DController::handleRowsInserted(int startIndex, int count) { - Q_UNUSED(startIndex) - Q_UNUSED(count) + Q_UNUSED(startIndex); + Q_UNUSED(count); QBar3DSeries *series = static_cast<QBarDataProxy *>(sender())->series(); if (series == m_selectedBarSeries) { // If rows inserted to selected series before the selection, adjust the selection @@ -325,8 +325,8 @@ void Bars3DController::handleDataColumnLabelsChanged() void Bars3DController::handleAxisAutoAdjustRangeChangedInOrientation( QAbstract3DAxis::AxisOrientation orientation, bool autoAdjust) { - Q_UNUSED(orientation) - Q_UNUSED(autoAdjust) + Q_UNUSED(orientation); + Q_UNUSED(autoAdjust); adjustAxisRanges(); } diff --git a/src/datavisualization/engine/bars3drenderer.cpp b/src/datavisualization/engine/bars3drenderer.cpp index cf2eda4e..bfc0f5c8 100644 --- a/src/datavisualization/engine/bars3drenderer.cpp +++ b/src/datavisualization/engine/bars3drenderer.cpp @@ -2856,7 +2856,7 @@ QVector3D Bars3DRenderer::convertPositionToTranslation(const QVector3D &position void Bars3DRenderer::updateAspectRatio(float ratio) { - Q_UNUSED(ratio) + Q_UNUSED(ratio); } void Bars3DRenderer::updateFloorLevel(float level) diff --git a/src/datavisualization/engine/drawer.cpp b/src/datavisualization/engine/drawer.cpp index 2e0805e0..3b873ba4 100644 --- a/src/datavisualization/engine/drawer.cpp +++ b/src/datavisualization/engine/drawer.cpp @@ -106,7 +106,7 @@ void Drawer::drawObject(ShaderHelper *shader, AbstractObjectHelper *object, GLui GLuint depthTextureId, GLuint textureId3D) { #if defined(QT_OPENGL_ES_2) - Q_UNUSED(textureId3D) + Q_UNUSED(textureId3D); #endif if (textureId) { // Activate texture diff --git a/src/datavisualization/engine/scatter3dcontroller.cpp b/src/datavisualization/engine/scatter3dcontroller.cpp index 6fc29b20..365617e0 100644 --- a/src/datavisualization/engine/scatter3dcontroller.cpp +++ b/src/datavisualization/engine/scatter3dcontroller.cpp @@ -154,8 +154,8 @@ void Scatter3DController::handleArrayReset() void Scatter3DController::handleItemsAdded(int startIndex, int count) { - Q_UNUSED(startIndex) - Q_UNUSED(count) + Q_UNUSED(startIndex); + Q_UNUSED(count); QScatter3DSeries *series = static_cast<QScatterDataProxy *>(sender())->series(); if (series->isVisible()) { adjustAxisRanges(); @@ -201,8 +201,8 @@ void Scatter3DController::handleItemsChanged(int startIndex, int count) void Scatter3DController::handleItemsRemoved(int startIndex, int count) { - Q_UNUSED(startIndex) - Q_UNUSED(count) + Q_UNUSED(startIndex); + Q_UNUSED(count); QScatter3DSeries *series = static_cast<QScatterDataProxy *>(sender())->series(); if (series == m_selectedItemSeries) { // If items removed from selected series before the selection, adjust the selection @@ -234,8 +234,8 @@ void Scatter3DController::handleItemsRemoved(int startIndex, int count) void Scatter3DController::handleItemsInserted(int startIndex, int count) { - Q_UNUSED(startIndex) - Q_UNUSED(count) + Q_UNUSED(startIndex); + Q_UNUSED(count); QScatter3DSeries *series = static_cast<QScatterDataProxy *>(sender())->series(); if (series == m_selectedItemSeries) { // If items inserted to selected series before the selection, adjust the selection @@ -278,8 +278,8 @@ void Scatter3DController::startRecordingRemovesAndInserts() void Scatter3DController::handleAxisAutoAdjustRangeChangedInOrientation( QAbstract3DAxis::AxisOrientation orientation, bool autoAdjust) { - Q_UNUSED(orientation) - Q_UNUSED(autoAdjust) + Q_UNUSED(orientation); + Q_UNUSED(autoAdjust); adjustAxisRanges(); } diff --git a/src/datavisualization/engine/selectionpointer.cpp b/src/datavisualization/engine/selectionpointer.cpp index d646429a..be4a52a9 100644 --- a/src/datavisualization/engine/selectionpointer.cpp +++ b/src/datavisualization/engine/selectionpointer.cpp @@ -80,7 +80,7 @@ void SelectionPointer::updateScene(Q3DScene *scene) void SelectionPointer::renderSelectionPointer(GLuint defaultFboHandle, bool useOrtho) { - Q_UNUSED(defaultFboHandle) + Q_UNUSED(defaultFboHandle); glViewport(m_mainViewPort.x(), m_mainViewPort.y(), m_mainViewPort.width(), m_mainViewPort.height()); @@ -151,7 +151,7 @@ void SelectionPointer::renderSelectionPointer(GLuint defaultFboHandle, bool useO void SelectionPointer::renderSelectionLabel(GLuint defaultFboHandle, bool useOrtho) { - Q_UNUSED(defaultFboHandle) + Q_UNUSED(defaultFboHandle); glViewport(m_mainViewPort.x(), m_mainViewPort.y(), m_mainViewPort.width(), m_mainViewPort.height()); diff --git a/src/datavisualization/engine/surface3dcontroller.cpp b/src/datavisualization/engine/surface3dcontroller.cpp index 1a140a5c..ba845ac1 100644 --- a/src/datavisualization/engine/surface3dcontroller.cpp +++ b/src/datavisualization/engine/surface3dcontroller.cpp @@ -112,8 +112,8 @@ void Surface3DController::synchDataToRenderer() void Surface3DController::handleAxisAutoAdjustRangeChangedInOrientation( QAbstract3DAxis::AxisOrientation orientation, bool autoAdjust) { - Q_UNUSED(orientation) - Q_UNUSED(autoAdjust) + Q_UNUSED(orientation); + Q_UNUSED(autoAdjust); adjustAxisRanges(); } @@ -416,8 +416,8 @@ void Surface3DController::handleItemChanged(int rowIndex, int columnIndex) void Surface3DController::handleRowsAdded(int startIndex, int count) { - Q_UNUSED(startIndex) - Q_UNUSED(count) + Q_UNUSED(startIndex); + Q_UNUSED(count); QSurface3DSeries *series = static_cast<QSurfaceDataProxy *>(sender())->series(); if (series->isVisible()) { adjustAxisRanges(); @@ -430,8 +430,8 @@ void Surface3DController::handleRowsAdded(int startIndex, int count) void Surface3DController::handleRowsInserted(int startIndex, int count) { - Q_UNUSED(startIndex) - Q_UNUSED(count) + Q_UNUSED(startIndex); + Q_UNUSED(count); QSurface3DSeries *series = static_cast<QSurfaceDataProxy *>(sender())->series(); if (series == m_selectedSeries) { // If rows inserted to selected series before the selection, adjust the selection @@ -454,8 +454,8 @@ void Surface3DController::handleRowsInserted(int startIndex, int count) void Surface3DController::handleRowsRemoved(int startIndex, int count) { - Q_UNUSED(startIndex) - Q_UNUSED(count) + Q_UNUSED(startIndex); + Q_UNUSED(count); QSurface3DSeries *series = static_cast<QSurfaceDataProxy *>(sender())->series(); if (series == m_selectedSeries) { // If rows removed from selected series before the selection, adjust the selection |