From 9b45c5936f92f47dd4e1a893a3dbfdaaacee7ea8 2017-11-06 15:58:02 From: Thibaud Rabillard Date: 2017-11-06 15:58:02 Subject: [PATCH] Moves the DragDropHelper file --- diff --git a/gui/include/DragDropHelper.h b/gui/include/DragAndDrop/DragDropHelper.h similarity index 100% rename from gui/include/DragDropHelper.h rename to gui/include/DragAndDrop/DragDropHelper.h diff --git a/gui/include/Visualization/VisualizationDragDropContainer.h b/gui/include/Visualization/VisualizationDragDropContainer.h index 65e630b..d100bff 100644 --- a/gui/include/Visualization/VisualizationDragDropContainer.h +++ b/gui/include/Visualization/VisualizationDragDropContainer.h @@ -9,7 +9,7 @@ #include -#include +#include Q_DECLARE_LOGGING_CATEGORY(LOG_VisualizationDragDropContainer) diff --git a/gui/meson.build b/gui/meson.build index 9da44ab..d372234 100644 --- a/gui/meson.build +++ b/gui/meson.build @@ -6,7 +6,7 @@ gui_moc_headers = [ 'include/Settings/SqpSettingsGeneralWidget.h', 'include/SidePane/SqpSidePane.h', 'include/SqpApplication.h', - 'include/DragDropHelper.h', + 'include/DragAndDrop/DragDropHelper.h', 'include/TimeWidget/TimeWidget.h', 'include/Variable/VariableInspectorWidget.h', 'include/Variable/VariableInspectorTableView.h', @@ -43,7 +43,7 @@ gui_moc_files = qt5.preprocess(moc_headers : gui_moc_headers, gui_sources = [ 'src/SqpApplication.cpp', - 'src/DragDropHelper.cpp', + 'src/DragAndDrop/DragDropHelper.cpp', 'src/Common/ColorUtils.cpp', 'src/Common/VisualizationDef.cpp', 'src/DataSource/DataSourceTreeWidgetItem.cpp', diff --git a/gui/src/DataSource/DataSourceTreeWidget.cpp b/gui/src/DataSource/DataSourceTreeWidget.cpp index 97e62b1..24f7f00 100644 --- a/gui/src/DataSource/DataSourceTreeWidget.cpp +++ b/gui/src/DataSource/DataSourceTreeWidget.cpp @@ -4,7 +4,7 @@ #include "DataSource/DataSourceItem.h" #include "DataSource/DataSourceTreeWidgetItem.h" -#include "DragDropHelper.h" +#include "DragAndDrop/DragDropHelper.h" #include "SqpApplication.h" #include diff --git a/gui/src/DragDropHelper.cpp b/gui/src/DragAndDrop/DragDropHelper.cpp similarity index 98% rename from gui/src/DragDropHelper.cpp rename to gui/src/DragAndDrop/DragDropHelper.cpp index 046d142..37b296b 100644 --- a/gui/src/DragDropHelper.cpp +++ b/gui/src/DragAndDrop/DragDropHelper.cpp @@ -1,4 +1,4 @@ -#include "DragDropHelper.h" +#include "DragAndDrop/DragDropHelper.h" #include "SqpApplication.h" #include "Visualization/VisualizationDragDropContainer.h" #include "Visualization/VisualizationDragWidget.h" @@ -211,9 +211,7 @@ struct DragDropHelper::DragDropHelperPrivate { }; -DragDropHelper::DragDropHelper() : impl{spimpl::make_unique_impl()} -{ -} +DragDropHelper::DragDropHelper() : impl{spimpl::make_unique_impl()} {} DragDropHelper::~DragDropHelper() { diff --git a/gui/src/SqpApplication.cpp b/gui/src/SqpApplication.cpp index 7b200c1..aa0e813 100644 --- a/gui/src/SqpApplication.cpp +++ b/gui/src/SqpApplication.cpp @@ -2,7 +2,7 @@ #include #include -#include +#include #include #include #include