Clean using class VNodeDetail.
--HG-- branch : feature
This commit is contained in:
parent
8b1e9e24d4
commit
ded6a9e76c
|
@ -51,7 +51,6 @@ class QDomNode;
|
|||
class QPointF;
|
||||
class VContainer;
|
||||
class VMainGraphicsScene;
|
||||
class VNodeDetail;
|
||||
class VPointF;
|
||||
|
||||
struct VToolUnionDetailsInitData
|
||||
|
|
|
@ -76,24 +76,6 @@ void VUndoCommand::UndoDeleteAfterSibling(QDomNode &parentNode, const quint32 &s
|
|||
}
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
void VUndoCommand::IncrementReferences(const QVector<VNodeDetail> &nodes) const
|
||||
{
|
||||
for (qint32 i = 0; i < nodes.size(); ++i)
|
||||
{
|
||||
doc->IncrementReferens(nodes.at(i).getId());
|
||||
}
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
void VUndoCommand::DecrementReferences(const QVector<VNodeDetail> &nodes) const
|
||||
{
|
||||
for (qint32 i = 0; i < nodes.size(); ++i)
|
||||
{
|
||||
doc->DecrementReferens(nodes.at(i).getId());
|
||||
}
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
void VUndoCommand::IncrementReferences(const QVector<quint32> &nodes) const
|
||||
{
|
||||
|
|
|
@ -66,7 +66,6 @@ enum class UndoCommand: char { AddPatternPiece,
|
|||
TogglePieceInLayout
|
||||
};
|
||||
|
||||
class VNodeDetail;
|
||||
class VPieceNode;
|
||||
class VPattern;
|
||||
|
||||
|
@ -88,9 +87,6 @@ protected:
|
|||
virtual void RedoFullParsing();
|
||||
void UndoDeleteAfterSibling(QDomNode &parentNode, const quint32 &siblingId) const;
|
||||
|
||||
void IncrementReferences(const QVector<VNodeDetail> &nodes) const;
|
||||
void DecrementReferences(const QVector<VNodeDetail> &nodes) const;
|
||||
|
||||
void IncrementReferences(const QVector<quint32> &nodes) const;
|
||||
void DecrementReferences(const QVector<quint32> &nodes) const;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user