Restyled project for uncrustify

This commit is contained in:
2019-12-19 18:27:46 +01:00
parent c415a53c83
commit a838e3869f
30 changed files with 1649 additions and 1650 deletions

View File

@@ -110,7 +110,9 @@ public:
* \brief A function that returns the Polygondata if existent. * \brief A function that returns the Polygondata if existent.
* \return The Polygondata if existent. * \return The Polygondata if existent.
*/ */
virtual std::vector<QPoint> getPolygonData(){ return std::vector<QPoint>();} virtual std::vector<QPoint> getPolygonData(){
return std::vector<QPoint>();
}
/*! /*!
* \brief A function that loads and sclaes an image to the fitting dimensions. * \brief A function that loads and sclaes an image to the fitting dimensions.

View File

@@ -64,7 +64,9 @@ public:
* \brief A function that returns the Polygondata if existent. * \brief A function that returns the Polygondata if existent.
* \return The Polygondata if existent. * \return The Polygondata if existent.
*/ */
virtual std::vector<QPoint> getPolygonData() override{return polygonData;} virtual std::vector<QPoint> getPolygonData() override {
return polygonData;
}
/*! /*!
* \brief A function that sets the data of the visible Polygon. * \brief A function that sets the data of the visible Polygon.

View File

@@ -79,4 +79,3 @@ void IntelliTool::deleteToolLayer(){
Area->deleteLayer(Area->activeLayer+1); Area->deleteLayer(Area->activeLayer+1);
this->Canvas=nullptr; this->Canvas=nullptr;
} }

View File

@@ -13,7 +13,6 @@ IntelliToolFloodFill::~IntelliToolFloodFill(){
} }
void IntelliToolFloodFill::onMouseRightPressed(int x, int y){ void IntelliToolFloodFill::onMouseRightPressed(int x, int y){
IntelliTool::onMouseRightPressed(x,y); IntelliTool::onMouseRightPressed(x,y);
} }

View File

@@ -14,7 +14,6 @@ IntelliToolLine::~IntelliToolLine(){
} }
void IntelliToolLine::onMouseRightPressed(int x, int y){ void IntelliToolLine::onMouseRightPressed(int x, int y){
IntelliTool::onMouseRightPressed(x,y); IntelliTool::onMouseRightPressed(x,y);
} }

View File

@@ -28,7 +28,6 @@ void IntelliToolPlainTool::onMouseRightReleased(int x, int y){
IntelliTool::onMouseRightReleased(x,y); IntelliTool::onMouseRightReleased(x,y);
} }
void IntelliToolPlainTool::onMouseMoved(int x, int y){ void IntelliToolPlainTool::onMouseMoved(int x, int y){
IntelliTool::onMouseMoved(x,y); IntelliTool::onMouseMoved(x,y);
} }

View File

@@ -97,7 +97,6 @@ public:
virtual void onMouseMoved(int x, int y) override; virtual void onMouseMoved(int x, int y) override;
}; };
#endif // INTELLITOOLPOLYGON_H #endif // INTELLITOOLPOLYGON_H