Change signal name to LiteUpdateTree.

--HG--
branch : feature
This commit is contained in:
dismine 2014-06-11 16:24:51 +03:00
parent 8491248f02
commit 43935b95c9
6 changed files with 7 additions and 7 deletions

View File

@ -116,7 +116,7 @@ void VDrawTool::FullUpdateFromGui(int result)
{
SaveDialog(domElement);
emit FullUpdateTree();
emit LiteUpdateTree();
emit toolhaveChange();
}
}
@ -132,7 +132,7 @@ void VDrawTool::FullUpdateFromGuiApply()
{
SaveDialog(domElement);
emit FullUpdateTree();
emit LiteUpdateTree();
emit toolhaveChange();
}
}

View File

@ -79,7 +79,7 @@ signals:
/**
* @brief FullUpdateTree handle if need update pattern file.
*/
void FullUpdateTree();
void LiteUpdateTree();
protected:
/**
* @brief contextMenuEvent handle context menu events.

View File

@ -149,7 +149,7 @@ void VToolSplinePath::ControlPointChangePosition(const qint32 &indexSpline, cons
{
doc->SetAttribute(domElement, AttrKCurve, QString().setNum(splPath.getKCurve()));
UpdatePathPoint(domElement, splPath);
emit FullUpdateTree();
emit LiteUpdateTree();
emit toolhaveChange();
}
}

View File

@ -78,7 +78,7 @@ VAbstractTool::VAbstractTool(VPattern *doc, VContainer *data, quint32 id, QObjec
SCASSERT(doc != nullptr);
connect(this, &VAbstractTool::toolhaveChange, this->doc, &VPattern::haveLiteChange);
connect(this->doc, &VPattern::FullUpdateFromFile, this, &VAbstractTool::FullUpdateFromFile);
connect(this, &VAbstractTool::FullUpdateTree, this->doc, &VPattern::LiteParseTree);
connect(this, &VAbstractTool::LiteUpdateTree, this->doc, &VPattern::LiteParseTree);
}
//---------------------------------------------------------------------------------------------------------------------

View File

@ -163,7 +163,7 @@ signals:
/**
* @brief FullUpdateTree emit if need reparse pattern file.
*/
void FullUpdateTree();
void LiteUpdateTree();
protected:
/**
* @brief doc dom document container

View File

@ -232,7 +232,7 @@ void VToolDetail::FullUpdateFromGui(int result)
node->DeleteNode();
}
}
emit FullUpdateTree();
emit LiteUpdateTree();
emit toolhaveChange();
}
}