From 72d30efd8a12ba837cce4a3d32e30da3b883ffbc Mon Sep 17 00:00:00 2001 From: "Joachim Wuttke (h)" <j.wuttke@fz-juelich.de> Date: Thu, 12 Oct 2023 08:55:25 +0200 Subject: [PATCH] no empty line after Q_OBJECT macro --- GUI/Model/Axis/AmplitudeAxisItem.h | 1 - GUI/Model/Axis/BasicAxisItem.h | 1 - GUI/Model/Data/Data2DItem.h | 1 - GUI/Model/Device/MultiInstrumentNotifier.h | 1 - GUI/Model/Device/RealItem.h | 1 - GUI/Model/Job/JobItem.h | 1 - GUI/Model/Mask/MaskItems.h | 1 - GUI/Model/Model/JobModel.h | 1 - GUI/Model/Project/LinkInstrumentManager.h | 1 - GUI/Model/Project/ProjectDocument.h | 1 - GUI/Model/Sample/MaterialItem.h | 1 - GUI/Model/Sample/MaterialModel.h | 1 - GUI/View/Device/BackgroundForm.h | 1 - GUI/View/Device/DetectorForm.h | 1 - GUI/View/Device/FootprintForm.h | 1 - GUI/View/FitControl/FitWorker.h | 1 - GUI/View/FitControl/FitWorkerLauncher.h | 1 - GUI/View/FitControl/GUIFitObserver.h | 1 - GUI/View/FitControl/MinimizerSettingsWidget.h | 1 - GUI/View/FitObjective/ParameterTuningDelegate.h | 1 - GUI/View/FitObjective/ParameterTuningWidget.h | 1 - GUI/View/FitObjective/SliderSettingsWidget.h | 1 - GUI/View/Import/ImportDataView.h | 1 - GUI/View/Import/RealDataSelectorWidget.h | 1 - GUI/View/Instrument/DepthprobeInstrumentEditor.h | 1 - GUI/View/Instrument/DetectorEditor.h | 1 - GUI/View/Instrument/DistributionEditor.h | 2 -- GUI/View/Instrument/DistributionPlot.h | 1 - GUI/View/Instrument/GISASBeamEditor.h | 1 - GUI/View/Instrument/GISASInstrumentEditor.h | 1 - GUI/View/Instrument/InstrumentListView.h | 1 - GUI/View/Instrument/OffspecDetectorEditor.h | 1 - GUI/View/Instrument/OffspecInstrumentEditor.h | 1 - GUI/View/Instrument/PolarizationAnalysisEditor.h | 1 - GUI/View/Instrument/ScanEditor.h | 1 - GUI/View/Instrument/SpecularInstrumentEditor.h | 1 - GUI/View/Job/JobView.h | 1 - GUI/View/JobControl/JobListModel.h | 1 - GUI/View/JobControl/JobListView.h | 1 - GUI/View/JobControl/JobSelectorWidget.h | 1 - GUI/View/Main/MainWindow.h | 1 - GUI/View/Mask/MaskAllView.h | 1 - GUI/View/Mask/RegionOfInterestView.h | 1 - GUI/View/PlotSpecular/SpecularDataWidget.h | 1 - GUI/View/PlotUtil/ColorMap.h | 1 - GUI/View/PlotUtil/ScientificPlot.h | 1 - GUI/View/PlotUtil/ScientificPlotEvent.h | 1 - GUI/View/Projection/ProjectionsEditorActions.h | 1 - GUI/View/Projection/ProjectionsEditorCanvas.h | 1 - GUI/View/Projection/ProjectionsPlot.h | 1 - GUI/View/Projection/ProjectionsToolbar.h | 1 - GUI/View/Projection/ProjectionsWidget.h | 1 - GUI/View/Shape/EllipseView.h | 1 - GUI/View/Shape/IShape2DView.h | 1 - GUI/View/Shape/LineViews.h | 2 -- GUI/View/Shape/MaskContainerView.h | 1 - GUI/View/Shape/PolygonPointView.h | 1 - GUI/View/Shape/PolygonView.h | 1 - GUI/View/Shape/RectangleBaseView.h | 1 - GUI/View/Shape/RectangleView.h | 1 - GUI/View/Shape/SizeHandleElement.h | 1 - GUI/View/Widget/DocksController.h | 1 - GUI/View/Widget/ItemComboToolbar.h | 1 - GUI/View/Widget/ItemComboWidget.h | 1 - GUI/View/Widget/PythonScriptWidget.h | 1 - Img3D/Model/Model.h | 1 - Img3D/View/Camera.h | 1 - 67 files changed, 69 deletions(-) diff --git a/GUI/Model/Axis/AmplitudeAxisItem.h b/GUI/Model/Axis/AmplitudeAxisItem.h index a0400698239..2441af15dc3 100644 --- a/GUI/Model/Axis/AmplitudeAxisItem.h +++ b/GUI/Model/Axis/AmplitudeAxisItem.h @@ -19,7 +19,6 @@ class AmplitudeAxisItem : public BasicAxisItem { Q_OBJECT - public: explicit AmplitudeAxisItem(QObject* parent = nullptr); diff --git a/GUI/Model/Axis/BasicAxisItem.h b/GUI/Model/Axis/BasicAxisItem.h index ad2ce690c25..1d6449896fa 100644 --- a/GUI/Model/Axis/BasicAxisItem.h +++ b/GUI/Model/Axis/BasicAxisItem.h @@ -23,7 +23,6 @@ class QXmlStreamWriter; class BasicAxisItem : public QObject { Q_OBJECT - public: explicit BasicAxisItem(QObject* parent = nullptr); ~BasicAxisItem() override; diff --git a/GUI/Model/Data/Data2DItem.h b/GUI/Model/Data/Data2DItem.h index 097aa8f024d..97e3fa9f564 100644 --- a/GUI/Model/Data/Data2DItem.h +++ b/GUI/Model/Data/Data2DItem.h @@ -25,7 +25,6 @@ class QCPColorGradient; class Data2DItem : public DataItem { Q_OBJECT - public: static constexpr auto M_TYPE{"IntensityData"}; diff --git a/GUI/Model/Device/MultiInstrumentNotifier.h b/GUI/Model/Device/MultiInstrumentNotifier.h index 00076757819..f38500f6df7 100644 --- a/GUI/Model/Device/MultiInstrumentNotifier.h +++ b/GUI/Model/Device/MultiInstrumentNotifier.h @@ -39,7 +39,6 @@ class RealItem; class MultiInstrumentNotifier : public QObject { Q_OBJECT - public: MultiInstrumentNotifier(InstrumentModel* instruments); diff --git a/GUI/Model/Device/RealItem.h b/GUI/Model/Device/RealItem.h index 6efad46b60f..50e2a2b9c17 100644 --- a/GUI/Model/Device/RealItem.h +++ b/GUI/Model/Device/RealItem.h @@ -31,7 +31,6 @@ class QXmlStreamWriter; class RealItem : public QObject { Q_OBJECT - public: RealItem(); ~RealItem(); diff --git a/GUI/Model/Job/JobItem.h b/GUI/Model/Job/JobItem.h index dd912279fbe..254fb5020f6 100644 --- a/GUI/Model/Job/JobItem.h +++ b/GUI/Model/Job/JobItem.h @@ -36,7 +36,6 @@ class SampleItem; class JobItem : public QObject { Q_OBJECT - public: JobItem(); ~JobItem(); diff --git a/GUI/Model/Mask/MaskItems.h b/GUI/Model/Mask/MaskItems.h index ace59f6547f..e793da8cb5d 100644 --- a/GUI/Model/Mask/MaskItems.h +++ b/GUI/Model/Mask/MaskItems.h @@ -278,7 +278,6 @@ protected: class MaskContainerModel : public QAbstractListModel { Q_OBJECT - public: MaskContainerModel(MaskContainerItem* container); ~MaskContainerModel(); diff --git a/GUI/Model/Model/JobModel.h b/GUI/Model/Model/JobModel.h index a0a658d36e2..dfd59294471 100644 --- a/GUI/Model/Model/JobModel.h +++ b/GUI/Model/Model/JobModel.h @@ -28,7 +28,6 @@ class SimulationOptionsItem; class JobModel : public QObject { Q_OBJECT - public: explicit JobModel(QObject* parent = nullptr); diff --git a/GUI/Model/Project/LinkInstrumentManager.h b/GUI/Model/Project/LinkInstrumentManager.h index 0dd29f6b86c..d158411ad05 100644 --- a/GUI/Model/Project/LinkInstrumentManager.h +++ b/GUI/Model/Project/LinkInstrumentManager.h @@ -30,7 +30,6 @@ class RealItem; class LinkInstrumentManager : public QObject { Q_OBJECT - public: LinkInstrumentManager(ProjectDocument* document); diff --git a/GUI/Model/Project/ProjectDocument.h b/GUI/Model/Project/ProjectDocument.h index 11c8a8efd19..e34b012d7b2 100644 --- a/GUI/Model/Project/ProjectDocument.h +++ b/GUI/Model/Project/ProjectDocument.h @@ -39,7 +39,6 @@ extern std::optional<ProjectDocument*> gProjectDocument; //! projectFileName() - '/home/users/development/Untitled/Untitled.ba' class ProjectDocument : public QObject { Q_OBJECT - public: enum class ReadResult { ok, warning, error }; diff --git a/GUI/Model/Sample/MaterialItem.h b/GUI/Model/Sample/MaterialItem.h index 1937025b355..a41bb73f4ea 100644 --- a/GUI/Model/Sample/MaterialItem.h +++ b/GUI/Model/Sample/MaterialItem.h @@ -27,7 +27,6 @@ class Material; class MaterialItem : public QObject { Q_OBJECT - public: MaterialItem(); diff --git a/GUI/Model/Sample/MaterialModel.h b/GUI/Model/Sample/MaterialModel.h index 430b788d7d3..a7afeb6d2d5 100644 --- a/GUI/Model/Sample/MaterialModel.h +++ b/GUI/Model/Sample/MaterialModel.h @@ -29,7 +29,6 @@ class MaterialItem; class MaterialModel : public QObject { Q_OBJECT - public: MaterialModel(); ~MaterialModel(); diff --git a/GUI/View/Device/BackgroundForm.h b/GUI/View/Device/BackgroundForm.h index b1e91d95e8f..f37059e0cd5 100644 --- a/GUI/View/Device/BackgroundForm.h +++ b/GUI/View/Device/BackgroundForm.h @@ -25,7 +25,6 @@ class QFormLayout; class BackgroundForm : public QGroupBox { Q_OBJECT - public: BackgroundForm(QWidget* parent, InstrumentItem* instrument); diff --git a/GUI/View/Device/DetectorForm.h b/GUI/View/Device/DetectorForm.h index 9ec288e0135..a27be0b4331 100644 --- a/GUI/View/Device/DetectorForm.h +++ b/GUI/View/Device/DetectorForm.h @@ -21,7 +21,6 @@ class DetectorItem; class DetectorForm : public QWidget { Q_OBJECT - public: DetectorForm(QWidget* parent, DetectorItem* item); diff --git a/GUI/View/Device/FootprintForm.h b/GUI/View/Device/FootprintForm.h index d51c01f2b46..27d94cb54ac 100644 --- a/GUI/View/Device/FootprintForm.h +++ b/GUI/View/Device/FootprintForm.h @@ -25,7 +25,6 @@ class QFormLayout; class FootprintForm : public QGroupBox { Q_OBJECT - public: FootprintForm(QWidget* parent, SourceItem* item); diff --git a/GUI/View/FitControl/FitWorker.h b/GUI/View/FitControl/FitWorker.h index 58486afb0f1..2ee1cd4680c 100644 --- a/GUI/View/FitControl/FitWorker.h +++ b/GUI/View/FitControl/FitWorker.h @@ -22,7 +22,6 @@ class FitObjectiveBuilder; class FitWorker : public QObject { Q_OBJECT - public: FitWorker(std::shared_ptr<FitObjectiveBuilder> suite) { m_fit_objective = suite; } diff --git a/GUI/View/FitControl/FitWorkerLauncher.h b/GUI/View/FitControl/FitWorkerLauncher.h index 66826e9d9bb..1a013bd043a 100644 --- a/GUI/View/FitControl/FitWorkerLauncher.h +++ b/GUI/View/FitControl/FitWorkerLauncher.h @@ -24,7 +24,6 @@ class FitObjectiveBuilder; class FitWorkerLauncher : public QObject { Q_OBJECT - public: FitWorkerLauncher(QObject* parent); diff --git a/GUI/View/FitControl/GUIFitObserver.h b/GUI/View/FitControl/GUIFitObserver.h index 131a1d5a017..1cd7fbd639e 100644 --- a/GUI/View/FitControl/GUIFitObserver.h +++ b/GUI/View/FitControl/GUIFitObserver.h @@ -29,7 +29,6 @@ class FitObjective; class GUIFitObserver : public QObject { Q_OBJECT - public: GUIFitObserver(QObject* parent = nullptr); ~GUIFitObserver() override; diff --git a/GUI/View/FitControl/MinimizerSettingsWidget.h b/GUI/View/FitControl/MinimizerSettingsWidget.h index cd8e896eb79..50fb9fbc34c 100644 --- a/GUI/View/FitControl/MinimizerSettingsWidget.h +++ b/GUI/View/FitControl/MinimizerSettingsWidget.h @@ -26,7 +26,6 @@ class QFormLayout; class MinimizerSettingsWidget : public QWidget { Q_OBJECT - public: MinimizerSettingsWidget(QWidget* parent = nullptr); diff --git a/GUI/View/FitObjective/ParameterTuningDelegate.h b/GUI/View/FitObjective/ParameterTuningDelegate.h index ae0b8903b41..bc4ec105c0f 100644 --- a/GUI/View/FitObjective/ParameterTuningDelegate.h +++ b/GUI/View/FitObjective/ParameterTuningDelegate.h @@ -25,7 +25,6 @@ class ScientificSpinBox; class ParameterTuningDelegate : public QItemDelegate { Q_OBJECT - public: class TuningData { public: diff --git a/GUI/View/FitObjective/ParameterTuningWidget.h b/GUI/View/FitObjective/ParameterTuningWidget.h index 4254105e322..d770dd29ecf 100644 --- a/GUI/View/FitObjective/ParameterTuningWidget.h +++ b/GUI/View/FitObjective/ParameterTuningWidget.h @@ -31,7 +31,6 @@ class ParameterItem; class ParameterTuningWidget : public DataAccessWidget { Q_OBJECT - public: explicit ParameterTuningWidget(QWidget* parent = nullptr); diff --git a/GUI/View/FitObjective/SliderSettingsWidget.h b/GUI/View/FitObjective/SliderSettingsWidget.h index 521e160f238..77c0a9daf7d 100644 --- a/GUI/View/FitObjective/SliderSettingsWidget.h +++ b/GUI/View/FitObjective/SliderSettingsWidget.h @@ -21,7 +21,6 @@ class SliderSettingsWidget : public DataAccessWidget { Q_OBJECT - public: SliderSettingsWidget(QWidget* parent = nullptr); diff --git a/GUI/View/Import/ImportDataView.h b/GUI/View/Import/ImportDataView.h index a60dbdca427..9cbb493a9f3 100644 --- a/GUI/View/Import/ImportDataView.h +++ b/GUI/View/Import/ImportDataView.h @@ -25,7 +25,6 @@ class ProjectDocument; class ImportDataView : public QWidget { Q_OBJECT - public: ImportDataView(QWidget* parent, ProjectDocument* document); diff --git a/GUI/View/Import/RealDataSelectorWidget.h b/GUI/View/Import/RealDataSelectorWidget.h index 2e3c1e4acbb..0f59412a1cc 100644 --- a/GUI/View/Import/RealDataSelectorWidget.h +++ b/GUI/View/Import/RealDataSelectorWidget.h @@ -30,7 +30,6 @@ class ProjectDocument; class RealDataSelectorWidget : public QWidget { Q_OBJECT - public: RealDataSelectorWidget(QWidget* parent, ProjectDocument* document); diff --git a/GUI/View/Instrument/DepthprobeInstrumentEditor.h b/GUI/View/Instrument/DepthprobeInstrumentEditor.h index 5581216ee43..e6e79f1364a 100644 --- a/GUI/View/Instrument/DepthprobeInstrumentEditor.h +++ b/GUI/View/Instrument/DepthprobeInstrumentEditor.h @@ -23,7 +23,6 @@ class DepthprobeInstrumentItem; class DepthprobeInstrumentEditor : public QWidget { Q_OBJECT - public: DepthprobeInstrumentEditor(QWidget* parent, DepthprobeInstrumentItem* item, MultiInstrumentNotifier* ec); diff --git a/GUI/View/Instrument/DetectorEditor.h b/GUI/View/Instrument/DetectorEditor.h index faec4130f41..5e3a998bea5 100644 --- a/GUI/View/Instrument/DetectorEditor.h +++ b/GUI/View/Instrument/DetectorEditor.h @@ -25,7 +25,6 @@ class QFormLayout; class DetectorEditor : public QGroupBox { Q_OBJECT - public: DetectorEditor(QWidget* parent, GISASInstrumentItem* item); diff --git a/GUI/View/Instrument/DistributionEditor.h b/GUI/View/Instrument/DistributionEditor.h index 3ac7d646638..ba6bee719f1 100644 --- a/GUI/View/Instrument/DistributionEditor.h +++ b/GUI/View/Instrument/DistributionEditor.h @@ -42,7 +42,6 @@ struct MeanConfig { class DistributionSelector : public QWidget { Q_OBJECT - public: /// \param mean_config controls how the mean value is shown and can be input. /// If this parameter is \c nullopt then the mean value can not be input @@ -81,7 +80,6 @@ private: class DistributionEditor : public QGroupBox { Q_OBJECT - public: DistributionEditor(const QString& title, const std::optional<MeanConfig>& mean_config, GUI::ID::Distributions distributions, QWidget* parent, diff --git a/GUI/View/Instrument/DistributionPlot.h b/GUI/View/Instrument/DistributionPlot.h index fda7580fd07..3d0fc5b849c 100644 --- a/GUI/View/Instrument/DistributionPlot.h +++ b/GUI/View/Instrument/DistributionPlot.h @@ -28,7 +28,6 @@ class RealLimits; //! The DistributionPlot class plots 1d functions corresponding to domain's Distribution1D class DistributionPlot : public QWidget { Q_OBJECT - public: DistributionPlot(QWidget* parent = nullptr); diff --git a/GUI/View/Instrument/GISASBeamEditor.h b/GUI/View/Instrument/GISASBeamEditor.h index 01d8206d78d..2dcf6225031 100644 --- a/GUI/View/Instrument/GISASBeamEditor.h +++ b/GUI/View/Instrument/GISASBeamEditor.h @@ -23,7 +23,6 @@ class BeamItem; class GISASBeamEditor : public QGroupBox { Q_OBJECT - public: GISASBeamEditor(QWidget* parent, BeamItem* item); diff --git a/GUI/View/Instrument/GISASInstrumentEditor.h b/GUI/View/Instrument/GISASInstrumentEditor.h index bb1f0fd648b..6c31102ce14 100644 --- a/GUI/View/Instrument/GISASInstrumentEditor.h +++ b/GUI/View/Instrument/GISASInstrumentEditor.h @@ -23,7 +23,6 @@ class GISASInstrumentItem; class GISASInstrumentEditor : public QWidget { Q_OBJECT - public: GISASInstrumentEditor(QWidget* parent, GISASInstrumentItem* instrument); diff --git a/GUI/View/Instrument/InstrumentListView.h b/GUI/View/Instrument/InstrumentListView.h index 54f4a99d6c0..e8d06253e9b 100644 --- a/GUI/View/Instrument/InstrumentListView.h +++ b/GUI/View/Instrument/InstrumentListView.h @@ -26,7 +26,6 @@ class ProjectDocument; class InstrumentListView : public QWidget { Q_OBJECT - public: InstrumentListView(ProjectDocument* document, QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()); diff --git a/GUI/View/Instrument/OffspecDetectorEditor.h b/GUI/View/Instrument/OffspecDetectorEditor.h index a23571cfcd7..46eed19d5bc 100644 --- a/GUI/View/Instrument/OffspecDetectorEditor.h +++ b/GUI/View/Instrument/OffspecDetectorEditor.h @@ -22,7 +22,6 @@ class QFormLayout; class OffspecDetectorEditor : public QGroupBox { Q_OBJECT - public: OffspecDetectorEditor(QWidget* parent, OffspecInstrumentItem* item); diff --git a/GUI/View/Instrument/OffspecInstrumentEditor.h b/GUI/View/Instrument/OffspecInstrumentEditor.h index 394aefa58d7..de0c45ab8ff 100644 --- a/GUI/View/Instrument/OffspecInstrumentEditor.h +++ b/GUI/View/Instrument/OffspecInstrumentEditor.h @@ -23,7 +23,6 @@ class OffspecInstrumentItem; class OffspecInstrumentEditor : public QWidget { Q_OBJECT - public: OffspecInstrumentEditor(QWidget* parent, OffspecInstrumentItem* instrument, MultiInstrumentNotifier* ec); diff --git a/GUI/View/Instrument/PolarizationAnalysisEditor.h b/GUI/View/Instrument/PolarizationAnalysisEditor.h index 84638555d13..946645c0667 100644 --- a/GUI/View/Instrument/PolarizationAnalysisEditor.h +++ b/GUI/View/Instrument/PolarizationAnalysisEditor.h @@ -28,7 +28,6 @@ class VectorProperty; class PolarizationAnalysisEditor : public QGroupBox { Q_OBJECT - public: PolarizationAnalysisEditor(QWidget* parent, InstrumentItem* instrument); diff --git a/GUI/View/Instrument/ScanEditor.h b/GUI/View/Instrument/ScanEditor.h index faa8ae07e1b..2144273669a 100644 --- a/GUI/View/Instrument/ScanEditor.h +++ b/GUI/View/Instrument/ScanEditor.h @@ -24,7 +24,6 @@ class InstrumentNotifier; class ScanEditor : public QGroupBox { Q_OBJECT - public: ScanEditor(QWidget* parent, ScanItem* item, InstrumentNotifier* ec, bool allow_distr = true); diff --git a/GUI/View/Instrument/SpecularInstrumentEditor.h b/GUI/View/Instrument/SpecularInstrumentEditor.h index c2415162458..e18e65a62f5 100644 --- a/GUI/View/Instrument/SpecularInstrumentEditor.h +++ b/GUI/View/Instrument/SpecularInstrumentEditor.h @@ -23,7 +23,6 @@ class SpecularInstrumentItem; class SpecularInstrumentEditor : public QWidget { Q_OBJECT - public: SpecularInstrumentEditor(QWidget* parent, SpecularInstrumentItem* instrument, MultiInstrumentNotifier* ec); diff --git a/GUI/View/Job/JobView.h b/GUI/View/Job/JobView.h index d07c8454539..4374752febd 100644 --- a/GUI/View/Job/JobView.h +++ b/GUI/View/Job/JobView.h @@ -37,7 +37,6 @@ class QProgressBar; class JobView : public QMainWindow { Q_OBJECT - public: JobView(QProgressBar* progressBar, ProjectDocument* document); diff --git a/GUI/View/JobControl/JobListModel.h b/GUI/View/JobControl/JobListModel.h index a0a5d1a5066..985fafe85fa 100644 --- a/GUI/View/JobControl/JobListModel.h +++ b/GUI/View/JobControl/JobListModel.h @@ -22,7 +22,6 @@ class JobModel; class JobListModel : public QAbstractListModel { Q_OBJECT - public: JobListModel(JobModel* jobs, QObject* parent = nullptr); ~JobListModel() override; diff --git a/GUI/View/JobControl/JobListView.h b/GUI/View/JobControl/JobListView.h index b925b374aae..3f3b5cc9e32 100644 --- a/GUI/View/JobControl/JobListView.h +++ b/GUI/View/JobControl/JobListView.h @@ -30,7 +30,6 @@ class JobListViewDelegate; class JobListView : public QWidget { Q_OBJECT - public: JobListView(JobModel* jobs, QWidget* parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()); QVector<JobItem*> selectedJobItems() const; diff --git a/GUI/View/JobControl/JobSelectorWidget.h b/GUI/View/JobControl/JobSelectorWidget.h index 074c1764d93..4efa68ca6ef 100644 --- a/GUI/View/JobControl/JobSelectorWidget.h +++ b/GUI/View/JobControl/JobSelectorWidget.h @@ -28,7 +28,6 @@ class JobPropertiesWidget; class JobSelectorWidget : public QWidget { Q_OBJECT - public: explicit JobSelectorWidget(JobModel* jobModel, QWidget* parent = nullptr); ~JobSelectorWidget(); diff --git a/GUI/View/Main/MainWindow.h b/GUI/View/Main/MainWindow.h index b95bc1e020b..5a4ecda2119 100644 --- a/GUI/View/Main/MainWindow.h +++ b/GUI/View/Main/MainWindow.h @@ -36,7 +36,6 @@ class QVBoxLayout; class MainWindow : public QMainWindow { Q_OBJECT - public: explicit MainWindow(); ~MainWindow() override; diff --git a/GUI/View/Mask/MaskAllView.h b/GUI/View/Mask/MaskAllView.h index 634162a0d29..684bf36e93f 100644 --- a/GUI/View/Mask/MaskAllView.h +++ b/GUI/View/Mask/MaskAllView.h @@ -23,7 +23,6 @@ class MaskAllItem; class MaskAllView : public IShape2DView { Q_OBJECT - public: int type() const override { return MaskEditorHelper::MASKALL; } diff --git a/GUI/View/Mask/RegionOfInterestView.h b/GUI/View/Mask/RegionOfInterestView.h index 555308b1376..a576a6bcefb 100644 --- a/GUI/View/Mask/RegionOfInterestView.h +++ b/GUI/View/Mask/RegionOfInterestView.h @@ -23,7 +23,6 @@ class RegionOfInterestItem; class RegionOfInterestView : public RectangleView { Q_OBJECT - public: int type() const override { return MaskEditorHelper::REGIONOFINTEREST; } diff --git a/GUI/View/PlotSpecular/SpecularDataWidget.h b/GUI/View/PlotSpecular/SpecularDataWidget.h index 65799f05986..34bcd860caa 100644 --- a/GUI/View/PlotSpecular/SpecularDataWidget.h +++ b/GUI/View/PlotSpecular/SpecularDataWidget.h @@ -23,7 +23,6 @@ class SpecularDataPropertyWidget; class SpecularDataWidget : public DataAccessWidget { Q_OBJECT - public: SpecularDataWidget(QWidget* parent = nullptr); diff --git a/GUI/View/PlotUtil/ColorMap.h b/GUI/View/PlotUtil/ColorMap.h index 838deb4295e..3a835f1c11b 100644 --- a/GUI/View/PlotUtil/ColorMap.h +++ b/GUI/View/PlotUtil/ColorMap.h @@ -31,7 +31,6 @@ class UpdateTimer; class ColorMap : public ScientificPlot { Q_OBJECT - public: explicit ColorMap(QWidget* parent = nullptr); diff --git a/GUI/View/PlotUtil/ScientificPlot.h b/GUI/View/PlotUtil/ScientificPlot.h index ec94cd5145f..f0b640f37fd 100644 --- a/GUI/View/PlotUtil/ScientificPlot.h +++ b/GUI/View/PlotUtil/ScientificPlot.h @@ -26,7 +26,6 @@ class ScientificPlotEvent; class ScientificPlot : public QWidget { Q_OBJECT - public: enum class PLOT_TYPE { Plot1D, Plot2D }; diff --git a/GUI/View/PlotUtil/ScientificPlotEvent.h b/GUI/View/PlotUtil/ScientificPlotEvent.h index 63e0954401b..566f34b1b50 100644 --- a/GUI/View/PlotUtil/ScientificPlotEvent.h +++ b/GUI/View/PlotUtil/ScientificPlotEvent.h @@ -28,7 +28,6 @@ class QCustomPlot; class ScientificPlotEvent : public QObject { Q_OBJECT - public: explicit ScientificPlotEvent(ScientificPlot* scientific_plot); ~ScientificPlotEvent() override; diff --git a/GUI/View/Projection/ProjectionsEditorActions.h b/GUI/View/Projection/ProjectionsEditorActions.h index c0b33d148ff..bf593c1f87d 100644 --- a/GUI/View/Projection/ProjectionsEditorActions.h +++ b/GUI/View/Projection/ProjectionsEditorActions.h @@ -26,7 +26,6 @@ class ProjectionContainerItem; class ProjectionsEditorActions : public QObject { Q_OBJECT - public: ProjectionsEditorActions(QWidget* parent = nullptr); diff --git a/GUI/View/Projection/ProjectionsEditorCanvas.h b/GUI/View/Projection/ProjectionsEditorCanvas.h index b52b3ea9834..f1960d74775 100644 --- a/GUI/View/Projection/ProjectionsEditorCanvas.h +++ b/GUI/View/Projection/ProjectionsEditorCanvas.h @@ -36,7 +36,6 @@ class PlotStatusLabel; class ProjectionsEditorCanvas : public QWidget { Q_OBJECT - public: ProjectionsEditorCanvas(QWidget* parent = nullptr); diff --git a/GUI/View/Projection/ProjectionsPlot.h b/GUI/View/Projection/ProjectionsPlot.h index 78fa51c062e..d8285bc237d 100644 --- a/GUI/View/Projection/ProjectionsPlot.h +++ b/GUI/View/Projection/ProjectionsPlot.h @@ -31,7 +31,6 @@ class QCustomPlot; class ProjectionsPlot : public QWidget { Q_OBJECT - public: ProjectionsPlot(GUI::ID::ProjectionType projectionType, QWidget* parent = nullptr); diff --git a/GUI/View/Projection/ProjectionsToolbar.h b/GUI/View/Projection/ProjectionsToolbar.h index f750b0ae7f6..1eef21cafc4 100644 --- a/GUI/View/Projection/ProjectionsToolbar.h +++ b/GUI/View/Projection/ProjectionsToolbar.h @@ -26,7 +26,6 @@ class ProjectionsEditorActions; class ProjectionsToolbar : public QToolBar { Q_OBJECT - public: ProjectionsToolbar(ProjectionsEditorActions* editorActions, QWidget* parent = nullptr); diff --git a/GUI/View/Projection/ProjectionsWidget.h b/GUI/View/Projection/ProjectionsWidget.h index 5dc703aaa34..6f4b54d9136 100644 --- a/GUI/View/Projection/ProjectionsWidget.h +++ b/GUI/View/Projection/ProjectionsWidget.h @@ -25,7 +25,6 @@ class Data2DItem; class ProjectionsWidget : public QWidget { Q_OBJECT - public: ProjectionsWidget(QWidget* parent = nullptr); diff --git a/GUI/View/Shape/EllipseView.h b/GUI/View/Shape/EllipseView.h index 174b9ad539b..6a66d8870df 100644 --- a/GUI/View/Shape/EllipseView.h +++ b/GUI/View/Shape/EllipseView.h @@ -24,7 +24,6 @@ class EllipseItem; class EllipseView : public RectangleBaseView { Q_OBJECT - public: int type() const override { return MaskEditorHelper::ELLIPSE; } diff --git a/GUI/View/Shape/IShape2DView.h b/GUI/View/Shape/IShape2DView.h index 9e8f1a4dcb4..97aefc9bdf7 100644 --- a/GUI/View/Shape/IShape2DView.h +++ b/GUI/View/Shape/IShape2DView.h @@ -26,7 +26,6 @@ class SceneAdaptor; class IShape2DView : public QGraphicsObject { Q_OBJECT - public: int type() const override { return MaskEditorHelper::IMASKVIEW; } diff --git a/GUI/View/Shape/LineViews.h b/GUI/View/Shape/LineViews.h index 4c52fc67ab2..83dea2854fd 100644 --- a/GUI/View/Shape/LineViews.h +++ b/GUI/View/Shape/LineViews.h @@ -24,7 +24,6 @@ class HorizontalLineItem; class VerticalLineView : public IShape2DView { Q_OBJECT - public: int type() const override { return MaskEditorHelper::VERTICALLINE; } @@ -51,7 +50,6 @@ private: class HorizontalLineView : public IShape2DView { Q_OBJECT - public: int type() const override { return MaskEditorHelper::HORIZONTALLINE; } diff --git a/GUI/View/Shape/MaskContainerView.h b/GUI/View/Shape/MaskContainerView.h index e8c77dfc370..39c8c8c659f 100644 --- a/GUI/View/Shape/MaskContainerView.h +++ b/GUI/View/Shape/MaskContainerView.h @@ -31,7 +31,6 @@ class ProjectionContainerItem; class MaskContainerView : public IShape2DView { Q_OBJECT - public: int type() const override { return MaskEditorHelper::MASKCONTAINER; } diff --git a/GUI/View/Shape/PolygonPointView.h b/GUI/View/Shape/PolygonPointView.h index 7e6d4232123..dd00134e97b 100644 --- a/GUI/View/Shape/PolygonPointView.h +++ b/GUI/View/Shape/PolygonPointView.h @@ -23,7 +23,6 @@ class PolygonPointItem; class PolygonPointView : public IShape2DView { Q_OBJECT - public: int type() const override { return MaskEditorHelper::POLYGONPOINT; } diff --git a/GUI/View/Shape/PolygonView.h b/GUI/View/Shape/PolygonView.h index bd6a1533870..796861574a8 100644 --- a/GUI/View/Shape/PolygonView.h +++ b/GUI/View/Shape/PolygonView.h @@ -25,7 +25,6 @@ class PolygonItem; class PolygonView : public IShape2DView { Q_OBJECT - public: int type() const override { return MaskEditorHelper::POLYGON; } diff --git a/GUI/View/Shape/RectangleBaseView.h b/GUI/View/Shape/RectangleBaseView.h index c19aaf7fd7e..a8cbbbadc44 100644 --- a/GUI/View/Shape/RectangleBaseView.h +++ b/GUI/View/Shape/RectangleBaseView.h @@ -23,7 +23,6 @@ class RectangleBaseView : public IShape2DView { Q_OBJECT - public: int type() const override { return MaskEditorHelper::RECTANGLEBASE; } diff --git a/GUI/View/Shape/RectangleView.h b/GUI/View/Shape/RectangleView.h index aa85a50f68d..31403d94f64 100644 --- a/GUI/View/Shape/RectangleView.h +++ b/GUI/View/Shape/RectangleView.h @@ -24,7 +24,6 @@ class RectangleItem; class RectangleView : public RectangleBaseView { Q_OBJECT - public: int type() const override { return MaskEditorHelper::RECTANGLE; } diff --git a/GUI/View/Shape/SizeHandleElement.h b/GUI/View/Shape/SizeHandleElement.h index 6e6c9c64682..98d53693c0b 100644 --- a/GUI/View/Shape/SizeHandleElement.h +++ b/GUI/View/Shape/SizeHandleElement.h @@ -25,7 +25,6 @@ class SizeHandleElement : public QGraphicsObject { Q_OBJECT - public: int type() const override { return MaskEditorHelper::SIZEHANDLE; } diff --git a/GUI/View/Widget/DocksController.h b/GUI/View/Widget/DocksController.h index 3bbea111cd1..0203b4b900a 100644 --- a/GUI/View/Widget/DocksController.h +++ b/GUI/View/Widget/DocksController.h @@ -29,7 +29,6 @@ class QSettings; class DocksController : public QObject { Q_OBJECT - public: DocksController(QMainWindow* mainWindow); diff --git a/GUI/View/Widget/ItemComboToolbar.h b/GUI/View/Widget/ItemComboToolbar.h index 6d98539d860..70b9c1567bf 100644 --- a/GUI/View/Widget/ItemComboToolbar.h +++ b/GUI/View/Widget/ItemComboToolbar.h @@ -27,7 +27,6 @@ class QComboBox; class ItemComboToolbar : public StyledToolbar { Q_OBJECT - public: explicit ItemComboToolbar(QWidget* parent = nullptr); diff --git a/GUI/View/Widget/ItemComboWidget.h b/GUI/View/Widget/ItemComboWidget.h index 53a755eb21c..8b11a952934 100644 --- a/GUI/View/Widget/ItemComboWidget.h +++ b/GUI/View/Widget/ItemComboWidget.h @@ -35,7 +35,6 @@ class ItemComboToolbar; class ItemComboWidget : public DataAccessWidget { Q_OBJECT - public: using factory_function_t = std::function<DataAccessWidget*()>; diff --git a/GUI/View/Widget/PythonScriptWidget.h b/GUI/View/Widget/PythonScriptWidget.h index cc179757cac..5ca4cd84139 100644 --- a/GUI/View/Widget/PythonScriptWidget.h +++ b/GUI/View/Widget/PythonScriptWidget.h @@ -28,7 +28,6 @@ class SimulationOptionsItem; class PythonScriptWidget : public QDialog { Q_OBJECT - public: PythonScriptWidget(QWidget* parent = nullptr); ~PythonScriptWidget() override; diff --git a/Img3D/Model/Model.h b/Img3D/Model/Model.h index 143940479f2..dd9d879ac8e 100644 --- a/Img3D/Model/Model.h +++ b/Img3D/Model/Model.h @@ -28,7 +28,6 @@ class PlottableBody; class Model : public QObject { Q_OBJECT - public: Model(); ~Model() override; diff --git a/Img3D/View/Camera.h b/Img3D/View/Camera.h index 92e647e5836..3359fac073c 100644 --- a/Img3D/View/Camera.h +++ b/Img3D/View/Camera.h @@ -27,7 +27,6 @@ class Canvas; class Camera : public QObject { Q_OBJECT - public: Camera(); -- GitLab