Commit 7d8ac0a3 authored by Ben Boeckel's avatar Ben Boeckel

pqClasses: remove semicolon from Q_DISABLE_COPY

It isn't necessary.
parent 9a3a8e44
Pipeline #19688 passed with stage
......@@ -65,7 +65,7 @@ public:
const QString& type, vtkPVXMLElement* config, pqPropertyWidget* widget);
private:
Q_DISABLE_COPY(@name@Implementation);
Q_DISABLE_COPY(@name@Implementation)
};
#endif
......@@ -26,7 +26,7 @@ public:
const QString& regName, vtkSMProxy* proxy, pqServer* server) const;
private:
Q_DISABLE_COPY(@ARG_TYPE@ServerManagerModelImplementation);
Q_DISABLE_COPY(@ARG_TYPE@ServerManagerModelImplementation)
};
#endif // endif ifndef
......@@ -52,7 +52,7 @@ protected slots:
void applyPipelineFiltering2(int);
private:
Q_DISABLE_COPY(MultiServerClientMainWindow);
Q_DISABLE_COPY(MultiServerClientMainWindow)
pqPipelineBrowserWidget* pipelineBrowser;
QComboBox* comboBox;
......
......@@ -52,7 +52,7 @@ protected slots:
void onViewAdded(pqView*);
private:
Q_DISABLE_COPY(pqSurfaceRepresentationBehavior);
Q_DISABLE_COPY(pqSurfaceRepresentationBehavior)
};
#endif
......@@ -86,7 +86,7 @@ signals:
void connectionsChanged();
private:
Q_DISABLE_COPY(pqVRConnectionManager);
Q_DISABLE_COPY(pqVRConnectionManager)
class pqInternals;
pqInternals* Internals;
......
......@@ -80,7 +80,7 @@ protected slots:
void processEvents();
private:
Q_DISABLE_COPY(pqVRQueueHandler);
Q_DISABLE_COPY(pqVRQueueHandler)
void render();
class pqInternals;
pqInternals* Internals;
......
......@@ -64,7 +64,7 @@ public:
void onShutdown();
private:
Q_DISABLE_COPY(pqVRStarter);
Q_DISABLE_COPY(pqVRStarter)
class pqInternals;
pqInternals* Internals;
bool IsShutdown;
......
......@@ -91,7 +91,7 @@ protected:
}
private:
Q_DISABLE_COPY(pqAnimationTimeWidgetLinks);
Q_DISABLE_COPY(pqAnimationTimeWidgetLinks)
};
}
......
......@@ -112,7 +112,7 @@ private slots:
void timestepValueChanged();
private:
Q_DISABLE_COPY(pqAnimationTimeWidget);
Q_DISABLE_COPY(pqAnimationTimeWidget)
// Returns the current timekeeper.
vtkSMProxy* timeKeeper() const;
......
......@@ -75,7 +75,7 @@ protected:
void hideInputIfRequired(pqPipelineFilter* filter, pqView* view);
private:
Q_DISABLE_COPY(pqApplyBehavior);
Q_DISABLE_COPY(pqApplyBehavior)
class pqInternals;
const QScopedPointer<pqInternals> Internals;
};
......
......@@ -66,7 +66,7 @@ protected:
bool BoolProperty;
private:
Q_DISABLE_COPY(pqBoolPropertyWidgetDecorator);
Q_DISABLE_COPY(pqBoolPropertyWidgetDecorator)
/// updates the enabled state.
void updateBoolPropertyState();
......
......@@ -66,7 +66,7 @@ protected slots:
virtual void placeWidget();
private:
Q_DISABLE_COPY(pqBoxPropertyWidget);
Q_DISABLE_COPY(pqBoxPropertyWidget)
pqPropertyLinks WidgetLinks;
};
......
......@@ -102,7 +102,7 @@ protected:
return val;
}
private:
Q_DISABLE_COPY(PropertyLinksConnection);
Q_DISABLE_COPY(PropertyLinksConnection)
};
......
......@@ -61,7 +61,7 @@ signals:
void manipulatorTypesChanged();
private:
Q_DISABLE_COPY(pqCameraManipulatorWidget);
Q_DISABLE_COPY(pqCameraManipulatorWidget)
class pqInternals;
pqInternals* Internals;
class PropertyLinksConnection;
......
......@@ -106,7 +106,7 @@ protected:
virtual void onTriggered();
private:
Q_DISABLE_COPY(pqChooseColorPresetReaction);
Q_DISABLE_COPY(pqChooseColorPresetReaction)
QPointer<pqDataRepresentation> Representation;
vtkWeakPointer<vtkSMProxy> TransferFunctionProxy;
};
......
......@@ -102,7 +102,7 @@ public:
}
private:
Q_DISABLE_COPY(pqColorAnnotationsPropertyWidgetDecorator);
Q_DISABLE_COPY(pqColorAnnotationsPropertyWidgetDecorator)
};
//-----------------------------------------------------------------------------
......@@ -401,7 +401,7 @@ public:
}
private:
Q_DISABLE_COPY(pqAnnotationsModel);
Q_DISABLE_COPY(pqAnnotationsModel)
};
}
......
......@@ -103,7 +103,7 @@ private slots:
/// called when the user edits past the last row.
void editPastLastRow();
private:
Q_DISABLE_COPY(pqColorAnnotationsPropertyWidget);
Q_DISABLE_COPY(pqColorAnnotationsPropertyWidget)
class pqInternals;
pqInternals* Internals;
......
......@@ -99,7 +99,7 @@ public:
}
private:
Q_DISABLE_COPY(pqColorOpacityEditorWidgetDecorator);
Q_DISABLE_COPY(pqColorOpacityEditorWidgetDecorator)
};
} // end anonymous namespace
......
......@@ -188,7 +188,7 @@ protected slots:
void updateButtonEnableState();
private:
Q_DISABLE_COPY(pqColorOpacityEditorWidget);
Q_DISABLE_COPY(pqColorOpacityEditorWidget)
class pqInternals;
pqInternals* Internals;
......
......@@ -52,7 +52,7 @@ private slots:
void setCurrentIndex(int);
private:
Q_DISABLE_COPY(pqColorPaletteSelectorWidget);
Q_DISABLE_COPY(pqColorPaletteSelectorWidget)
QPointer<QComboBox> ComboBox;
};
......
......@@ -68,7 +68,7 @@ public:
virtual void refresh();
private:
Q_DISABLE_COPY(pqColorTableModel);
Q_DISABLE_COPY(pqColorTableModel)
pqColorOpacityEditorWidget * Widget;
......
......@@ -83,7 +83,7 @@ protected slots:
void resetBounds();
private:
Q_DISABLE_COPY(pqCylinderPropertyWidget);
Q_DISABLE_COPY(pqCylinderPropertyWidget)
void setAxis(double x, double y, double z);
void updateWidget(bool showing_advanced_properties);
......
......@@ -55,7 +55,7 @@ protected slots:
void showWarnings();
private:
Q_DISABLE_COPY(pqDefaultViewBehavior);
Q_DISABLE_COPY(pqDefaultViewBehavior)
enum WarningModes
{
......
......@@ -62,7 +62,7 @@ protected:
{ pqDesktopServicesReaction::openUrl(this->URL); }
private:
Q_DISABLE_COPY(pqDesktopServicesReaction);
Q_DISABLE_COPY(pqDesktopServicesReaction)
QUrl URL;
};
......
......@@ -62,7 +62,7 @@ private slots:
void upperChanged(double);
private:
Q_DISABLE_COPY(pqDoubleRangeSliderPropertyWidget);
Q_DISABLE_COPY(pqDoubleRangeSliderPropertyWidget)
class pqInternals;
pqInternals* Internals;
......
......@@ -66,7 +66,7 @@ protected:
/// Called when the action is triggered.
virtual void onTriggered();
private:
Q_DISABLE_COPY(pqEditColorMapReaction);
Q_DISABLE_COPY(pqEditColorMapReaction)
QPointer<pqPipelineRepresentation> Representation;
};
......
......@@ -73,7 +73,7 @@ protected slots:
virtual void onTriggered();
private:
Q_DISABLE_COPY(pqEditScalarBarReaction);
Q_DISABLE_COPY(pqEditScalarBarReaction)
QPointer<pqScalarBarVisibilityReaction> SBVReaction;
};
......
......@@ -54,7 +54,7 @@ public:
}
private:
Q_DISABLE_COPY(pqEnableWidgetDecorator);
Q_DISABLE_COPY(pqEnableWidgetDecorator)
};
#endif
......@@ -57,7 +57,7 @@ protected slots:
virtual void resetButtonClicked();
private:
Q_DISABLE_COPY(pqFileNamePropertyWidget);
Q_DISABLE_COPY(pqFileNamePropertyWidget)
};
#endif
......@@ -66,7 +66,7 @@ private slots:
void updateState();
private:
Q_DISABLE_COPY(pqGenericPropertyWidgetDecorator);
Q_DISABLE_COPY(pqGenericPropertyWidgetDecorator)
class pqInternals;
const QScopedPointer<pqInternals> Internals;
......
......@@ -52,7 +52,7 @@ protected slots:
virtual void resetButtonClicked();
private:
Q_DISABLE_COPY(pqGlyphScaleFactorPropertyWidget);
Q_DISABLE_COPY(pqGlyphScaleFactorPropertyWidget)
};
#endif
......@@ -61,7 +61,7 @@ private slots:
void setConfigurationDefault(int);
private:
Q_DISABLE_COPY(pqImageCompressorWidget);
Q_DISABLE_COPY(pqImageCompressorWidget)
class pqInternals;
pqInternals* Internals;
};
......
......@@ -91,7 +91,7 @@ private slots:
void setOrigin(double x, double y, double z);
private:
Q_DISABLE_COPY(pqImplicitPlanePropertyWidget);
Q_DISABLE_COPY(pqImplicitPlanePropertyWidget)
void setNormal(double x, double y, double z);
};
......
......@@ -134,7 +134,7 @@ private:
void handleUserEvent(vtkObject*, unsigned long, void*);
private:
Q_DISABLE_COPY(pqInteractivePropertyWidget);
Q_DISABLE_COPY(pqInteractivePropertyWidget)
class pqInternals;
QScopedPointer<pqInternals> Internals;
......
......@@ -80,7 +80,7 @@ protected slots:
void updateLengthLabel();
private:
Q_DISABLE_COPY(pqLinePropertyWidget);
Q_DISABLE_COPY(pqLinePropertyWidget)
class pqInternals;
QScopedPointer<pqInternals> Internals;
vtkBoundingBox referenceBounds() const;
......
......@@ -57,7 +57,7 @@ private slots:
void actionTriggered(QAction* actn);
private:
Q_DISABLE_COPY(pqLoadPaletteReaction);
Q_DISABLE_COPY(pqLoadPaletteReaction)
QPointer<QMenu> Menu;
};
......
......@@ -52,7 +52,7 @@ protected:
virtual void onTriggered();
private:
Q_DISABLE_COPY(pqLoadRestoreWindowLayoutReaction);
Q_DISABLE_COPY(pqLoadRestoreWindowLayoutReaction)
bool Load;
};
......
......@@ -65,7 +65,7 @@ public:
virtual void refresh();
private:
Q_DISABLE_COPY(pqOpacityTableModel);
Q_DISABLE_COPY(pqOpacityTableModel)
pqColorOpacityEditorWidget * Widget;
......
......@@ -95,7 +95,7 @@ public:
virtual ~pqParaViewBehaviors();
private:
Q_DISABLE_COPY(pqParaViewBehaviors);
Q_DISABLE_COPY(pqParaViewBehaviors)
PQ_BEHAVIOR_DECLARE_FLAG(StandardPropertyWidgets);
PQ_BEHAVIOR_DECLARE_FLAG(StandardViewFrameActions);
......
......@@ -74,7 +74,7 @@ private slots:
void pickPoint();
private:
Q_DISABLE_COPY(pqPointPickingHelper);
Q_DISABLE_COPY(pqPointPickingHelper)
QKeySequence KeySequence;
QPointer<pqRenderView> View;
bool PickOnMesh;
......
......@@ -136,7 +136,7 @@ private:
void UpdateTooltip();
private:
Q_DISABLE_COPY(pqRenderViewSelectionReaction);
Q_DISABLE_COPY(pqRenderViewSelectionReaction)
QPointer<pqRenderView> View;
SelectionMode Mode;
bool DisableSelectionModifiers;
......
......@@ -86,7 +86,7 @@ protected:
virtual void onTriggered();
private:
Q_DISABLE_COPY(pqResetScalarRangeReaction);
Q_DISABLE_COPY(pqResetScalarRangeReaction)
QPointer<pqPipelineRepresentation> Representation;
Modes Mode;
};
......
......@@ -512,7 +512,7 @@ public:
}
private:
Q_DISABLE_COPY(pqSeriesParametersModel);
Q_DISABLE_COPY(pqSeriesParametersModel)
};
//=============================================================================
......
......@@ -160,7 +160,7 @@ private slots:
void domainModified(vtkObject* sender);
private:
Q_DISABLE_COPY(pqSeriesEditorPropertyWidget);
Q_DISABLE_COPY(pqSeriesEditorPropertyWidget)
class pqInternals;
pqInternals* Internals;
......
......@@ -54,7 +54,7 @@ public:
}
private:
Q_DISABLE_COPY(pqShowWidgetDecorator);
Q_DISABLE_COPY(pqShowWidgetDecorator)
};
#endif
......@@ -78,7 +78,7 @@ private slots:
void removePoints();
void pick(double x, double y, double z);
private:
Q_DISABLE_COPY(pqSplinePropertyWidget);
Q_DISABLE_COPY(pqSplinePropertyWidget)
class pqInternals;
QScopedPointer<pqInternals> Internals;
};
......
......@@ -238,7 +238,7 @@ private:
model->update();
}
Q_DISABLE_COPY(TimeTrack);
Q_DISABLE_COPY(TimeTrack)
};
class pqTimeInspectorWidget::pqInternals
......
......@@ -139,7 +139,7 @@ signals:
void suppressedTimeSourcesChanged();
private:
Q_DISABLE_COPY(pqTimeInspectorWidget);
Q_DISABLE_COPY(pqTimeInspectorWidget)
class pqInternals;
const QScopedPointer<pqInternals> Internals;
......
......@@ -63,7 +63,7 @@ signals:
void valueChanged();
private:
Q_DISABLE_COPY(pqViewTypePropertyWidget);
Q_DISABLE_COPY(pqViewTypePropertyWidget)
QPointer<QComboBox> ComboBox;
};
......
......@@ -74,7 +74,7 @@ protected:
this->propertySM(), value.value<QList<QVariant> >(),
(use_unchecked? pqSMAdaptor::UNCHECKED : pqSMAdaptor::CHECKED));
}
Q_DISABLE_COPY(pqYoungsMaterialPropertyLinksConnection);
Q_DISABLE_COPY(pqYoungsMaterialPropertyLinksConnection)
};
}
......
......@@ -74,7 +74,7 @@ private slots:
void updateComboBoxes();
private:
Q_DISABLE_COPY(pqYoungsMaterialPropertyWidget);
Q_DISABLE_COPY(pqYoungsMaterialPropertyWidget)
class pqInternals;
QScopedPointer<pqInternals> Internals;
......
......@@ -148,7 +148,7 @@ protected:
void triggerSignals();
private:
Q_DISABLE_COPY(pqActiveObjects);
Q_DISABLE_COPY(pqActiveObjects)
/// method used to reset all active items.
void resetActives();
......
......@@ -111,7 +111,7 @@ protected:
this->Superclass::setServerManagerValue(use_unchecked, value);
}
private:
Q_DISABLE_COPY(pqTraceablePropertyLinksConnection);
Q_DISABLE_COPY(pqTraceablePropertyLinksConnection)
};
//-----------------------------------------------------------------------------
......
......@@ -63,7 +63,7 @@ protected slots:
void updateVariables(const QString& mode);
private:
Q_DISABLE_COPY(pqCalculatorWidget);
Q_DISABLE_COPY(pqCalculatorWidget)
class pqInternals;
pqInternals* Internals;
......
......@@ -93,7 +93,7 @@ private:
Ui::CinemaConfiguration* Ui;
Q_DISABLE_COPY(pqCinemaConfiguration);
Q_DISABLE_COPY(pqCinemaConfiguration)
};
#endif
......@@ -75,7 +75,7 @@ private slots:
void actionTriggered(QAction*);
private:
Q_DISABLE_COPY(pqColorChooserButtonWithPalettes);
Q_DISABLE_COPY(pqColorChooserButtonWithPalettes)
/// Returns the color palette proxy for the active session.
vtkSMGlobalPropertiesProxy* colorPalette() const;
......@@ -105,7 +105,7 @@ private:
QString selectedPaletteColor() const;
private:
Q_DISABLE_COPY(pqColorPaletteLinkHelper);
Q_DISABLE_COPY(pqColorPaletteLinkHelper)
vtkWeakPointer<vtkSMProxy> SMProxy;
QString SMPropertyName;
......
......@@ -192,7 +192,7 @@ protected:
return this->convert(curVal);
}
private:
Q_DISABLE_COPY(PropertyLinksConnection);
Q_DISABLE_COPY(PropertyLinksConnection)
};
//=============================================================================
......
......@@ -78,7 +78,7 @@ protected:
END_UNDO_SET();
}
private:
Q_DISABLE_COPY(PropertyLinksConnection);
Q_DISABLE_COPY(PropertyLinksConnection)
};
......
......@@ -76,7 +76,7 @@ signals:
void representationTextChanged(const QString&);
private:
Q_DISABLE_COPY(pqDisplayRepresentationWidget);
Q_DISABLE_COPY(pqDisplayRepresentationWidget)
class pqInternals;
pqInternals* Internal;
......
......@@ -69,7 +69,7 @@ protected slots:
void propertyDomainModified(vtkObject* domain);
private:
Q_DISABLE_COPY(pqDoubleVectorPropertyWidget);
Q_DISABLE_COPY(pqDoubleVectorPropertyWidget)
};
#endif // _pqDoubleVectorPropertyWidget_h
......@@ -84,7 +84,7 @@ private slots:
void onSelectionChanged(pqOutputPort*);
private:
Q_DISABLE_COPY(pqFindDataCreateSelectionFrame);
Q_DISABLE_COPY(pqFindDataCreateSelectionFrame)
class pqInternals;
friend class pqInternals;
......
......@@ -74,7 +74,7 @@ private slots:
/// update the data shown in the spreadsheet aka render the spreadsheet.
void updateSpreadSheet();
private:
Q_DISABLE_COPY(pqFindDataCurrentSelectionFrame);
Q_DISABLE_COPY(pqFindDataCurrentSelectionFrame)
class pqInternals;
friend class pqInternals;
......
......@@ -88,7 +88,7 @@ private slots:
void onSelectionModeChanged(bool frustum);
private:
Q_DISABLE_COPY(pqFindDataSelectionDisplayFrame);
Q_DISABLE_COPY(pqFindDataSelectionDisplayFrame)
void updateInteractiveSelectionLabelProperties();
......
......@@ -86,7 +86,7 @@ signals:
void maskChanged();
private:
Q_DISABLE_COPY(pqIntMaskPropertyWidget);
Q_DISABLE_COPY(pqIntMaskPropertyWidget)
class pqInternals;
QScopedPointer<pqInternals> Internals;
......
......@@ -51,7 +51,7 @@ public:
static const QString &EVENT_NAME();
private:
Q_DISABLE_COPY(pqItemViewSearchWidgetEventPlayer);
Q_DISABLE_COPY(pqItemViewSearchWidgetEventPlayer)
};
#endif
......@@ -85,7 +85,7 @@ protected slots:
void sourceRemoved(pqPipelineSource*);
private:
Q_DISABLE_COPY(pqLiveInsituVisualizationManager);
Q_DISABLE_COPY(pqLiveInsituVisualizationManager)
class pqInternals;
pqInternals* Internals;
......
......@@ -172,7 +172,7 @@ private:
int& maxIndex);
private:
Q_DISABLE_COPY(pqMultiViewWidget);
Q_DISABLE_COPY(pqMultiViewWidget)
class pqInternals;
pqInternals* Internals;
......
......@@ -49,6 +49,6 @@ protected:
virtual pqServerManagerModelItem* mapToItem(const QModelIndex& index) const;
private:
Q_DISABLE_COPY(pqPipelineModelSelectionAdaptor);
Q_DISABLE_COPY(pqPipelineModelSelectionAdaptor)
};
#endif
......@@ -194,7 +194,7 @@ public:
return QVariant();
}
private:
Q_DISABLE_COPY(pqPresetDialogTableModel);
Q_DISABLE_COPY(pqPresetDialogTableModel)
};
class pqPresetDialogProxyModel : public QSortFilterProxyModel
......@@ -235,7 +235,7 @@ protected:
return false;
}