From 836e6ab56c5cf31084064d79cfcfdf93d3c66715 Mon Sep 17 00:00:00 2001
From: "Joachim Wuttke (h)" <j.wuttke@fz-juelich.de>
Date: Fri, 10 Mar 2023 15:16:37 +0100
Subject: [PATCH] sort fwd decls

---
 GUI/View/Plot2D/IntensityDataCanvas.h        |  2 +-
 GUI/View/SampleDesigner/CompoundForm.h       |  2 +-
 GUI/View/SampleDesigner/CoreAndShellForm.h   |  2 +-
 GUI/View/SampleDesigner/ParticleLayoutForm.h | 10 +++++-----
 GUI/View/SampleDesigner/SampleForm.h         |  6 +++---
 5 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/GUI/View/Plot2D/IntensityDataCanvas.h b/GUI/View/Plot2D/IntensityDataCanvas.h
index 3aa14e6622e..7d74ec2794b 100644
--- a/GUI/View/Plot2D/IntensityDataCanvas.h
+++ b/GUI/View/Plot2D/IntensityDataCanvas.h
@@ -17,8 +17,8 @@
 
 #include "GUI/View/Common/DataAccessWidget.h"
 
-class IntensityDataItem;
 class ColorMapCanvas;
+class IntensityDataItem;
 class QAction;
 
 //! The IntensityDataCanvas class represents IntensityDataItem as color map,
diff --git a/GUI/View/SampleDesigner/CompoundForm.h b/GUI/View/SampleDesigner/CompoundForm.h
index fc76beabe2a..05c5e9dafa4 100644
--- a/GUI/View/SampleDesigner/CompoundForm.h
+++ b/GUI/View/SampleDesigner/CompoundForm.h
@@ -18,9 +18,9 @@
 #include <QFormLayout>
 #include <QGroupBox>
 
-class SampleEditorController;
 class CompoundItem;
 class ItemWithParticles;
+class SampleEditorController;
 
 //! Form for editing a particle composition
 class CompoundForm : public QGroupBox {
diff --git a/GUI/View/SampleDesigner/CoreAndShellForm.h b/GUI/View/SampleDesigner/CoreAndShellForm.h
index 9269a68487b..f67e430f701 100644
--- a/GUI/View/SampleDesigner/CoreAndShellForm.h
+++ b/GUI/View/SampleDesigner/CoreAndShellForm.h
@@ -19,9 +19,9 @@
 #include <QGroupBox>
 #include <memory>
 
+class CoreAndShellItem;
 class FormLayouter;
 class GroupBoxCollapser;
-class CoreAndShellItem;
 class SampleEditorController;
 
 //! Form for editing a core/shell particle
diff --git a/GUI/View/SampleDesigner/ParticleLayoutForm.h b/GUI/View/SampleDesigner/ParticleLayoutForm.h
index 498520d6224..c44fd7ca31a 100644
--- a/GUI/View/SampleDesigner/ParticleLayoutForm.h
+++ b/GUI/View/SampleDesigner/ParticleLayoutForm.h
@@ -19,13 +19,13 @@
 #include <QGroupBox>
 #include <QList>
 
-class SampleEditorController;
-class ParticleLayoutItem;
-class LayerForm;
-class ItemWithParticles;
 class DoubleSpinBox;
-class LayerItem;
 class GroupBoxCollapser;
+class ItemWithParticles;
+class LayerForm;
+class LayerItem;
+class ParticleLayoutItem;
+class SampleEditorController;
 
 //! Form for editing a particle layout
 class ParticleLayoutForm : public QGroupBox {
diff --git a/GUI/View/SampleDesigner/SampleForm.h b/GUI/View/SampleDesigner/SampleForm.h
index d2771a9f29c..726ee12f470 100644
--- a/GUI/View/SampleDesigner/SampleForm.h
+++ b/GUI/View/SampleDesigner/SampleForm.h
@@ -18,10 +18,10 @@
 #include <QPushButton>
 #include <QVBoxLayout>
 
-class SampleItem;
-class SampleEditorController;
-class LayerItem;
 class LayerForm;
+class LayerItem;
+class SampleEditorController;
+class SampleItem;
 
 //! Form to present/edit a sample
 class SampleForm : public QWidget {
-- 
GitLab