Wip Fix preprocessor on Cmake

This commit is contained in:
Simon De Backer
2020-12-10 18:44:03 +01:00
parent 3fe0adc66e
commit d15443cf93
61 changed files with 253 additions and 239 deletions
+6 -5
View File
@@ -15,13 +15,14 @@
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#include <QObject>
#include "elementscene.h"
#include "partarc.h"
#include "editorcommands.h"
#include "eseventaddarc.h"
#include "../editorcommands.h"
#include "../elementscene.h"
#include "../graphicspart/partarc.h"
#include <QObject>
/**
@brief ESEventAddArc::ESEventAddArc
@param scene
@@ -16,9 +16,10 @@
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#include "eseventadddynamictextfield.h"
#include "elementscene.h"
#include "editorcommands.h"
#include "partdynamictextfield.h"
#include "../editorcommands.h"
#include "../elementscene.h"
#include "../graphicspart/partdynamictextfield.h"
#include <QUndoStack>
+6 -5
View File
@@ -15,12 +15,13 @@
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#include <QObject>
#include "eseventaddellipse.h"
#include "partellipse.h"
#include "editorcommands.h"
#include "elementscene.h"
#include "../editorcommands.h"
#include "../elementscene.h"
#include "../graphicspart/partellipse.h"
#include <QObject>
/**
@brief ESEventAddEllipse::ESEventAddEllipse
+7 -6
View File
@@ -15,15 +15,16 @@
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#include "eseventaddline.h"
#include "../editorcommands.h"
#include "../elementscene.h"
#include "../graphicspart/partline.h"
#include "../qetelementeditor.h"
#include <QGraphicsSceneMouseEvent>
#include <QObject>
#include "eseventaddline.h"
#include "elementscene.h"
#include "qetelementeditor.h"
#include "partline.h"
#include "editorcommands.h"
/**
@brief ESEventAddLine::ESEventAddLine
Constructor
+6 -5
View File
@@ -15,12 +15,13 @@
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#include <QObject>
#include "eseventaddpolygon.h"
#include "elementscene.h"
#include "partpolygon.h"
#include "editorcommands.h"
#include "../editorcommands.h"
#include "../elementscene.h"
#include "../graphicspart/partpolygon.h"
#include <QObject>
/**
@brief ESEventAddPolygon::ESEventAddPolygon
+6 -5
View File
@@ -15,12 +15,13 @@
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#include <QObject>
#include "eseventaddrect.h"
#include "elementscene.h"
#include "partrectangle.h"
#include "editorcommands.h"
#include "../editorcommands.h"
#include "../elementscene.h"
#include "../graphicspart/partrectangle.h"
#include <QObject>
/**
@brief ESEventAddRect::ESEventAddRect
@@ -15,13 +15,14 @@
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#include <QObject>
#include "partterminal.h"
#include "editorcommands.h"
#include "elementscene.h"
#include "eseventaddterminal.h"
#include "../editorcommands.h"
#include "../elementscene.h"
#include "../graphicspart/partterminal.h"
#include <QObject>
/**
@brief ESEventAddTerminal::ESEventAddTerminal
@param scene
+6 -5
View File
@@ -15,12 +15,13 @@
You should have received a copy of the GNU General Public License
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#include <QObject>
#include "eseventaddtext.h"
#include "parttext.h"
#include "editorcommands.h"
#include "elementscene.h"
#include "../editorcommands.h"
#include "../elementscene.h"
#include "../graphicspart/parttext.h"
#include <QObject>
/**
@brief ESEventAddText::ESEventAddText
+4 -2
View File
@@ -16,8 +16,10 @@
along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
*/
#include "eseventinterface.h"
#include "elementscene.h"
#include "qetelementeditor.h"
#include "../elementscene.h"
#include "../qetelementeditor.h"
#include <QGraphicsSceneMouseEvent>
ESEventInterface::ESEventInterface(ElementScene *scene) :