Mod: redundant void 2

This commit is contained in:
berniev
2022-08-07 20:05:16 +10:00
committed by wwmayer
parent 311abcc43e
commit da9ebc572f
805 changed files with 3787 additions and 3787 deletions

View File

@@ -71,7 +71,7 @@ public:
Base::BoundBox3d getBoundingBox() const;
double calculateAutomaticScale() const;
virtual QRectF getRect(void) const override;
virtual QRectF getRect() const override;
/// Check if container has a view of a specific type
bool hasProjection(const char *viewProjType) const;
@@ -97,26 +97,26 @@ public:
/** @name methods override Feature */
//@{
/// recalculate the Feature
virtual App::DocumentObjectExecReturn *execute(void) override;
virtual App::DocumentObjectExecReturn *execute() override;
//@}
/// returns the type name of the ViewProvider
virtual const char* getViewProviderName(void) const override {
virtual const char* getViewProviderName() const override {
return "TechDrawGui::ViewProviderProjGroup";
}
//return PyObject as DrawProjGroupPy
virtual PyObject *getPyObject(void) override;
virtual PyObject *getPyObject() override;
/// Determines either "First Angle" or "Third Angle".
App::Enumeration usedProjectionType(void);
App::Enumeration usedProjectionType();
/// Allowed projection types - either Document, First Angle or Third Angle
static const char* ProjectionTypeEnums[];
bool hasAnchor(void);
bool hasAnchor();
void setAnchorDirection(Base::Vector3d dir);
Base::Vector3d getAnchorDirection(void);
TechDraw::DrawProjGroupItem* getAnchor(void);
Base::Vector3d getAnchorDirection();
TechDraw::DrawProjGroupItem* getAnchor();
std::pair<Base::Vector3d,Base::Vector3d> getDirsFromFront(DrawProjGroupItem* view);
std::pair<Base::Vector3d,Base::Vector3d> getDirsFromFront(std::string viewType);
@@ -128,12 +128,12 @@ public:
void dumpISO(const char * title);
std::vector<DrawProjGroupItem*> getViewsAsDPGI();
void recomputeChildren(void);
void updateChildrenScale(void);
void autoPositionChildren(void);
void updateChildrenEnforce(void);
void recomputeChildren();
void updateChildrenScale();
void autoPositionChildren();
void updateChildrenEnforce();
std::vector<App::DocumentObject*> getAllSources(void) const;
std::vector<App::DocumentObject*> getAllSources() const;
protected:
@@ -166,13 +166,13 @@ protected:
double &width, double &height) const;
/// Returns pointer to our page, or NULL if it couldn't be located
TechDraw::DrawPage * getPage(void) const;
TechDraw::DrawPage * getPage() const;
void updateChildrenSource(void);
void updateChildrenLock(void);
void updateViews(void);
void updateChildrenSource();
void updateChildrenLock();
void updateViews();
int getViewIndex(const char *viewTypeCStr) const;
int getDefProjConv(void) const;
int getDefProjConv() const;
Base::Vector3d dir2vec(gp_Dir d);
gp_Dir vec2dir(Base::Vector3d v);