[TD]clazy warnings and duplicate setter/getter

- clazy warning re missing Q_OBJECT

- include TechDrawGlobal.h in headers

- resolve duplicate setter/getters
This commit is contained in:
Wanderer Fan
2022-07-28 12:58:17 -04:00
committed by WandererFan
parent 2c047e361d
commit aa1193559b
122 changed files with 294 additions and 79 deletions

View File

@@ -24,6 +24,8 @@
#ifndef _TECHDRAW_FEATUREVIEWCOLLECTION_h_
#define _TECHDRAW_FEATUREVIEWCOLLECTION_h_
#include <Mod/TechDraw/TechDrawGlobal.h>
#include <App/DocumentObject.h>
#include <App/PropertyLinks.h>
@@ -37,6 +39,7 @@ namespace TechDraw
class TechDrawExport DrawViewCollection : public DrawView
{
PROPERTY_HEADER_WITH_OVERRIDE(TechDraw::DrawViewCollection);
Q_OBJECT
public:
App::PropertyLinkList Views;