Some code cosmetics
This commit is contained in:
parent
cdb49c28e5
commit
4623f3a7d3
|
@ -362,12 +362,13 @@ void Line::onChanged(const App::Property *prop)
|
|||
if (p1 != NULL) delete p1;
|
||||
if (p2 != NULL) delete p2;
|
||||
if (line != NULL) delete line;
|
||||
if (circle != NULL) delete circle;
|
||||
}
|
||||
|
||||
Part::Datum::onChanged(prop);
|
||||
}
|
||||
|
||||
const std::set<QString> Line::getHint()
|
||||
const std::set<QString> Line::getHint() const
|
||||
{
|
||||
if (hints.find(refTypes) != hints.end())
|
||||
return hints[refTypes];
|
||||
|
|
|
@ -45,7 +45,8 @@ public:
|
|||
}
|
||||
|
||||
static void initHints();
|
||||
const std::set<QString> getHint();
|
||||
const std::set<QString> getHint() const;
|
||||
const int offsetsAllowed() const;
|
||||
|
||||
Base::Vector3d getBasePoint() const;
|
||||
Base::Vector3d getDirection() const;
|
||||
|
|
|
@ -358,7 +358,7 @@ void Plane::onChanged(const App::Property *prop)
|
|||
}
|
||||
|
||||
|
||||
const std::set<QString> Plane::getHint()
|
||||
const std::set<QString> Plane::getHint() const
|
||||
{
|
||||
if (hints.find(refTypes) != hints.end())
|
||||
return hints[refTypes];
|
||||
|
|
|
@ -44,7 +44,8 @@ public:
|
|||
}
|
||||
|
||||
static void initHints();
|
||||
const std::set<QString> getHint();
|
||||
const std::set<QString> getHint() const;
|
||||
const int offsetsAllowed() const;
|
||||
|
||||
Base::Vector3d getBasePoint();
|
||||
Base::Vector3d getNormal();
|
||||
|
|
|
@ -362,7 +362,7 @@ Base::Vector3d Point::getPoint()
|
|||
}
|
||||
|
||||
|
||||
const std::set<QString> Point::getHint()
|
||||
const std::set<QString> Point::getHint() const
|
||||
{
|
||||
if (hints.find(refTypes) != hints.end())
|
||||
return hints[refTypes];
|
||||
|
|
|
@ -45,7 +45,8 @@ public:
|
|||
}
|
||||
|
||||
static void initHints();
|
||||
const std::set<QString> getHint();
|
||||
const std::set<QString> getHint() const;
|
||||
const int offsetsAllowed() const;
|
||||
|
||||
Base::Vector3d getPoint();
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user