Mod: redundant void 2
This commit is contained in:
@@ -181,7 +181,7 @@ void CmdTechDrawExtensionHoleCircle::activated(int iMsg)
|
||||
//Base::Console().Message("HoleCircle started\n");
|
||||
}
|
||||
|
||||
bool CmdTechDrawExtensionHoleCircle::isActive(void)
|
||||
bool CmdTechDrawExtensionHoleCircle::isActive()
|
||||
{
|
||||
bool havePage = DrawGuiUtil::needPage(this);
|
||||
bool haveView = DrawGuiUtil::needView(this);
|
||||
@@ -254,7 +254,7 @@ void CmdTechDrawExtensionCircleCenterLines::activated(int iMsg)
|
||||
execCircleCenterLines(this);
|
||||
}
|
||||
|
||||
bool CmdTechDrawExtensionCircleCenterLines::isActive(void)
|
||||
bool CmdTechDrawExtensionCircleCenterLines::isActive()
|
||||
{
|
||||
bool havePage = DrawGuiUtil::needPage(this);
|
||||
bool haveView = DrawGuiUtil::needView(this);
|
||||
@@ -303,7 +303,7 @@ void CmdTechDrawExtensionCircleCenterLinesGroup::activated(int iMsg) {
|
||||
};
|
||||
}
|
||||
|
||||
Gui::Action* CmdTechDrawExtensionCircleCenterLinesGroup::createAction(void)
|
||||
Gui::Action* CmdTechDrawExtensionCircleCenterLinesGroup::createAction()
|
||||
{
|
||||
Gui::ActionGroup* pcAction = new Gui::ActionGroup(this, Gui::getMainWindow());
|
||||
pcAction->setDropDownMenu(true);
|
||||
@@ -355,7 +355,7 @@ void CmdTechDrawExtensionCircleCenterLinesGroup::languageChange()
|
||||
arc2->setStatusTip(arc2->text());
|
||||
}
|
||||
|
||||
bool CmdTechDrawExtensionCircleCenterLinesGroup::isActive(void)
|
||||
bool CmdTechDrawExtensionCircleCenterLinesGroup::isActive()
|
||||
{
|
||||
bool havePage = DrawGuiUtil::needPage(this);
|
||||
bool haveView = DrawGuiUtil::needView(this, true);
|
||||
@@ -406,7 +406,7 @@ void CmdTechDrawExtensionThreadHoleSide::activated(int iMsg)
|
||||
execThreadHoleSide(this);
|
||||
}
|
||||
|
||||
bool CmdTechDrawExtensionThreadHoleSide::isActive(void)
|
||||
bool CmdTechDrawExtensionThreadHoleSide::isActive()
|
||||
{
|
||||
bool havePage = DrawGuiUtil::needPage(this);
|
||||
bool haveView = DrawGuiUtil::needView(this);
|
||||
@@ -457,7 +457,7 @@ void CmdTechDrawExtensionThreadBoltSide::activated(int iMsg)
|
||||
execThreadBoltSide(this);
|
||||
}
|
||||
|
||||
bool CmdTechDrawExtensionThreadBoltSide::isActive(void)
|
||||
bool CmdTechDrawExtensionThreadBoltSide::isActive()
|
||||
{
|
||||
bool havePage = DrawGuiUtil::needPage(this);
|
||||
bool haveView = DrawGuiUtil::needView(this);
|
||||
@@ -508,7 +508,7 @@ void CmdTechDrawExtensionThreadHoleBottom::activated(int iMsg)
|
||||
execThreadHoleBottom(this);
|
||||
}
|
||||
|
||||
bool CmdTechDrawExtensionThreadHoleBottom::isActive(void)
|
||||
bool CmdTechDrawExtensionThreadHoleBottom::isActive()
|
||||
{
|
||||
bool havePage = DrawGuiUtil::needPage(this);
|
||||
bool haveView = DrawGuiUtil::needView(this);
|
||||
@@ -559,7 +559,7 @@ void CmdTechDrawExtensionThreadBoltBottom::activated(int iMsg)
|
||||
execThreadBoltBottom(this);
|
||||
}
|
||||
|
||||
bool CmdTechDrawExtensionThreadBoltBottom::isActive(void)
|
||||
bool CmdTechDrawExtensionThreadBoltBottom::isActive()
|
||||
{
|
||||
bool havePage = DrawGuiUtil::needPage(this);
|
||||
bool haveView = DrawGuiUtil::needView(this);
|
||||
@@ -616,7 +616,7 @@ void CmdTechDrawExtensionThreadsGroup::activated(int iMsg)
|
||||
};
|
||||
}
|
||||
|
||||
Gui::Action* CmdTechDrawExtensionThreadsGroup::createAction(void)
|
||||
Gui::Action* CmdTechDrawExtensionThreadsGroup::createAction()
|
||||
{
|
||||
Gui::ActionGroup* pcAction = new Gui::ActionGroup(this, Gui::getMainWindow());
|
||||
pcAction->setDropDownMenu(true);
|
||||
@@ -692,7 +692,7 @@ void CmdTechDrawExtensionThreadsGroup::languageChange()
|
||||
arc4->setStatusTip(arc4->text());
|
||||
}
|
||||
|
||||
bool CmdTechDrawExtensionThreadsGroup::isActive(void)
|
||||
bool CmdTechDrawExtensionThreadsGroup::isActive()
|
||||
{
|
||||
bool havePage = DrawGuiUtil::needPage(this);
|
||||
bool haveView = DrawGuiUtil::needView(this, true);
|
||||
@@ -726,7 +726,7 @@ void CmdTechDrawExtensionSelectLineAttributes::activated(int iMsg)
|
||||
Gui::Control().showDialog(new TaskDlgSelectLineAttributes(&_getActiveLineAttributes()));
|
||||
}
|
||||
|
||||
bool CmdTechDrawExtensionSelectLineAttributes::isActive(void)
|
||||
bool CmdTechDrawExtensionSelectLineAttributes::isActive()
|
||||
{
|
||||
bool havePage = DrawGuiUtil::needPage(this);
|
||||
bool haveView = DrawGuiUtil::needView(this);
|
||||
@@ -785,7 +785,7 @@ void CmdTechDrawExtensionChangeLineAttributes::activated(int iMsg) {
|
||||
Gui::Command::commitCommand();
|
||||
}
|
||||
|
||||
bool CmdTechDrawExtensionChangeLineAttributes::isActive(void)
|
||||
bool CmdTechDrawExtensionChangeLineAttributes::isActive()
|
||||
{
|
||||
bool havePage = DrawGuiUtil::needPage(this);
|
||||
bool haveView = DrawGuiUtil::needView(this);
|
||||
@@ -849,7 +849,7 @@ void CmdTechDrawExtensionVertexAtIntersection::activated(int iMsg)
|
||||
Gui::Command::commitCommand();
|
||||
}
|
||||
|
||||
bool CmdTechDrawExtensionVertexAtIntersection::isActive(void)
|
||||
bool CmdTechDrawExtensionVertexAtIntersection::isActive()
|
||||
{
|
||||
bool havePage = DrawGuiUtil::needPage(this);
|
||||
bool haveView = DrawGuiUtil::needView(this);
|
||||
@@ -912,7 +912,7 @@ void CmdTechDrawExtensionDrawCosmArc::activated(int iMsg)
|
||||
execDrawCosmArc(this);
|
||||
}
|
||||
|
||||
bool CmdTechDrawExtensionDrawCosmArc::isActive(void)
|
||||
bool CmdTechDrawExtensionDrawCosmArc::isActive()
|
||||
{
|
||||
bool havePage = DrawGuiUtil::needPage(this);
|
||||
bool haveView = DrawGuiUtil::needView(this);
|
||||
@@ -972,7 +972,7 @@ void CmdTechDrawExtensionDrawCosmCircle::activated(int iMsg)
|
||||
execDrawCosmCircle(this);
|
||||
}
|
||||
|
||||
bool CmdTechDrawExtensionDrawCosmCircle::isActive(void)
|
||||
bool CmdTechDrawExtensionDrawCosmCircle::isActive()
|
||||
{
|
||||
bool havePage = DrawGuiUtil::needPage(this);
|
||||
bool haveView = DrawGuiUtil::needView(this);
|
||||
@@ -1036,7 +1036,7 @@ void CmdTechDrawExtensionDrawCosmCircle3Points::activated(int iMsg)
|
||||
execDrawCosmCircle3Points(this);
|
||||
}
|
||||
|
||||
bool CmdTechDrawExtensionDrawCosmCircle3Points::isActive(void)
|
||||
bool CmdTechDrawExtensionDrawCosmCircle3Points::isActive()
|
||||
{
|
||||
bool havePage = DrawGuiUtil::needPage(this);
|
||||
bool haveView = DrawGuiUtil::needView(this);
|
||||
@@ -1091,7 +1091,7 @@ void CmdTechDrawExtensionDrawCirclesGroup::activated(int iMsg)
|
||||
};
|
||||
}
|
||||
|
||||
Gui::Action* CmdTechDrawExtensionDrawCirclesGroup::createAction(void)
|
||||
Gui::Action* CmdTechDrawExtensionDrawCirclesGroup::createAction()
|
||||
{
|
||||
Gui::ActionGroup* pcAction = new Gui::ActionGroup(this, Gui::getMainWindow());
|
||||
pcAction->setDropDownMenu(true);
|
||||
@@ -1158,7 +1158,7 @@ void CmdTechDrawExtensionDrawCirclesGroup::languageChange()
|
||||
arc3->setStatusTip(arc3->text());
|
||||
}
|
||||
|
||||
bool CmdTechDrawExtensionDrawCirclesGroup::isActive(void)
|
||||
bool CmdTechDrawExtensionDrawCirclesGroup::isActive()
|
||||
{
|
||||
bool havePage = DrawGuiUtil::needPage(this);
|
||||
bool haveView = DrawGuiUtil::needView(this, true);
|
||||
@@ -1234,7 +1234,7 @@ void CmdTechDrawExtensionLineParallel::activated(int iMsg)
|
||||
execLineParallelPerpendicular(this, true);
|
||||
}
|
||||
|
||||
bool CmdTechDrawExtensionLineParallel::isActive(void)
|
||||
bool CmdTechDrawExtensionLineParallel::isActive()
|
||||
{
|
||||
bool havePage = DrawGuiUtil::needPage(this);
|
||||
bool haveView = DrawGuiUtil::needView(this);
|
||||
@@ -1268,7 +1268,7 @@ void CmdTechDrawExtensionLinePerpendicular::activated(int iMsg)
|
||||
execLineParallelPerpendicular(this, false);
|
||||
}
|
||||
|
||||
bool CmdTechDrawExtensionLinePerpendicular::isActive(void)
|
||||
bool CmdTechDrawExtensionLinePerpendicular::isActive()
|
||||
{
|
||||
bool havePage = DrawGuiUtil::needPage(this);
|
||||
bool haveView = DrawGuiUtil::needView(this);
|
||||
@@ -1319,7 +1319,7 @@ void CmdTechDrawExtensionLinePPGroup::activated(int iMsg)
|
||||
};
|
||||
}
|
||||
|
||||
Gui::Action* CmdTechDrawExtensionLinePPGroup::createAction(void)
|
||||
Gui::Action* CmdTechDrawExtensionLinePPGroup::createAction()
|
||||
{
|
||||
Gui::ActionGroup* pcAction = new Gui::ActionGroup(this, Gui::getMainWindow());
|
||||
pcAction->setDropDownMenu(true);
|
||||
@@ -1371,7 +1371,7 @@ void CmdTechDrawExtensionLinePPGroup::languageChange()
|
||||
arc2->setStatusTip(arc2->text());
|
||||
}
|
||||
|
||||
bool CmdTechDrawExtensionLinePPGroup::isActive(void)
|
||||
bool CmdTechDrawExtensionLinePPGroup::isActive()
|
||||
{
|
||||
bool havePage = DrawGuiUtil::needPage(this);
|
||||
bool haveView = DrawGuiUtil::needView(this, true);
|
||||
@@ -1414,7 +1414,7 @@ void CmdTechDrawExtensionLockUnlockView::activated(int iMsg) {
|
||||
Gui::Command::commitCommand();
|
||||
}
|
||||
|
||||
bool CmdTechDrawExtensionLockUnlockView::isActive(void)
|
||||
bool CmdTechDrawExtensionLockUnlockView::isActive()
|
||||
{
|
||||
bool havePage = DrawGuiUtil::needPage(this);
|
||||
bool haveView = DrawGuiUtil::needView(this);
|
||||
@@ -1481,7 +1481,7 @@ void CmdTechDrawExtensionPositionSectionView::activated(int iMsg) {
|
||||
}
|
||||
}
|
||||
|
||||
bool CmdTechDrawExtensionPositionSectionView::isActive(void)
|
||||
bool CmdTechDrawExtensionPositionSectionView::isActive()
|
||||
{
|
||||
bool havePage = DrawGuiUtil::needPage(this);
|
||||
bool haveView = DrawGuiUtil::needView(this);
|
||||
@@ -1587,7 +1587,7 @@ void CmdTechDrawExtensionExtendLine::activated(int iMsg)
|
||||
///Base::Console().Message("ExtendLine started\n");
|
||||
}
|
||||
|
||||
bool CmdTechDrawExtensionExtendLine::isActive(void)
|
||||
bool CmdTechDrawExtensionExtendLine::isActive()
|
||||
{
|
||||
bool havePage = DrawGuiUtil::needPage(this);
|
||||
bool haveView = DrawGuiUtil::needView(this);
|
||||
@@ -1622,7 +1622,7 @@ void CmdTechDrawExtensionShortenLine::activated(int iMsg)
|
||||
///Base::Console().Message("ShortenLine started\n");
|
||||
}
|
||||
|
||||
bool CmdTechDrawExtensionShortenLine::isActive(void)
|
||||
bool CmdTechDrawExtensionShortenLine::isActive()
|
||||
{
|
||||
bool havePage = DrawGuiUtil::needPage(this);
|
||||
bool haveView = DrawGuiUtil::needView(this);
|
||||
@@ -1673,7 +1673,7 @@ void CmdTechDrawExtendShortenLineGroup::activated(int iMsg)
|
||||
};
|
||||
}
|
||||
|
||||
Gui::Action* CmdTechDrawExtendShortenLineGroup::createAction(void)
|
||||
Gui::Action* CmdTechDrawExtendShortenLineGroup::createAction()
|
||||
{
|
||||
Gui::ActionGroup* pcAction = new Gui::ActionGroup(this, Gui::getMainWindow());
|
||||
pcAction->setDropDownMenu(true);
|
||||
@@ -1725,7 +1725,7 @@ void CmdTechDrawExtendShortenLineGroup::languageChange()
|
||||
arc2->setStatusTip(arc2->text());
|
||||
}
|
||||
|
||||
bool CmdTechDrawExtendShortenLineGroup::isActive(void)
|
||||
bool CmdTechDrawExtendShortenLineGroup::isActive()
|
||||
{
|
||||
bool havePage = DrawGuiUtil::needPage(this);
|
||||
bool haveView = DrawGuiUtil::needView(this, true);
|
||||
@@ -1858,7 +1858,7 @@ void CmdTechDrawExtensionAreaAnnotation::activated(int iMsg)
|
||||
Gui::Command::updateActive();
|
||||
}
|
||||
|
||||
bool CmdTechDrawExtensionAreaAnnotation::isActive(void)
|
||||
bool CmdTechDrawExtensionAreaAnnotation::isActive()
|
||||
{
|
||||
bool havePage = DrawGuiUtil::needPage(this);
|
||||
bool haveView = DrawGuiUtil::needView(this);
|
||||
@@ -2051,7 +2051,7 @@ namespace TechDrawGui {
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
void CreateTechDrawCommandsExtensions(void)
|
||||
void CreateTechDrawCommandsExtensions()
|
||||
{
|
||||
Gui::CommandManager& rcCmdMgr = Gui::Application::Instance->commandManager();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user