+ remove 'using namespace Part' inside header file
This commit is contained in:
@@ -112,7 +112,7 @@ void UnifiedDatumCommand(Gui::Command &cmd, Base::Type type, std::string name)
|
||||
|
||||
//test if current selection fits a mode.
|
||||
if (support.getSize() > 0) {
|
||||
AttachableObject* pcDatum = static_cast<AttachableObject*>(cmd.getDocument()->getObject(FeatName.c_str()));
|
||||
Part::AttachableObject* pcDatum = static_cast<Part::AttachableObject*>(cmd.getDocument()->getObject(FeatName.c_str()));
|
||||
pcDatum->attacher().references.Paste(support);
|
||||
eSuggestResult msg;
|
||||
eMapMode suggMode = pcDatum->attacher().listMapModes(msg);
|
||||
|
||||
@@ -869,7 +869,7 @@ void TaskDlgDatumParameters::clicked(int)
|
||||
bool TaskDlgDatumParameters::accept()
|
||||
{
|
||||
std::string name = DatumView->getObject()->getNameInDocument();
|
||||
Datum* pcDatum = static_cast<Datum*>(DatumView->getObject());
|
||||
Part::Datum* pcDatum = static_cast<Part::Datum*>(DatumView->getObject());
|
||||
auto pcActiveBody = PartDesignGui::getBodyFor(pcDatum, false);
|
||||
auto pcActivePart = PartDesignGui::getPartFor(pcActiveBody, false);
|
||||
std::vector<App::DocumentObject*> copies;
|
||||
|
||||
@@ -190,7 +190,7 @@ protected:
|
||||
static void removeItemFromListWidget(QListWidget* widget, const char* itemstr);
|
||||
|
||||
void fillAxisCombo(ComboLinks &combolinks, Part::Part2DObject *sketch);
|
||||
void fillPlanesCombo(ComboLinks &combolinks, Part2DObject *sketch);
|
||||
void fillPlanesCombo(ComboLinks &combolinks, Part::Part2DObject *sketch);
|
||||
|
||||
protected:
|
||||
QWidget* proxy;
|
||||
|
||||
Reference in New Issue
Block a user