From 1b8ecdcb27d256a1169d27b44ff45f22f9a24f73 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Thu, 12 Jan 2017 15:58:45 +0200 Subject: [PATCH] Refactoring names. --HG-- branch : feature --- src/app/valentina/xml/vpattern.cpp | 8 ++++---- src/app/valentina/xml/vpattern.h | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/app/valentina/xml/vpattern.cpp b/src/app/valentina/xml/vpattern.cpp index e41cc28e0..1b37c5a5b 100644 --- a/src/app/valentina/xml/vpattern.cpp +++ b/src/app/valentina/xml/vpattern.cpp @@ -792,10 +792,10 @@ void VPattern::ParseDetailElement(const QDomElement &domElement, const Document case 3:// TagGrainline break; case 4:// VToolSeamAllowance::TagCSA - ParseDetailCSARecords(element, detail); + ParsePieceCSARecords(element, detail); break; case 5:// VToolSeamAllowance::TagIPaths - ParseDetailInternalPaths(element, detail); + ParsePieceInternalPaths(element, detail); default: break; } @@ -916,7 +916,7 @@ void VPattern::ParsePieceNodes(const QDomElement &domElement, VPiece &detail) co } //--------------------------------------------------------------------------------------------------------------------- -void VPattern::ParseDetailCSARecords(const QDomElement &domElement, VPiece &detail) const +void VPattern::ParsePieceCSARecords(const QDomElement &domElement, VPiece &detail) const { QVector records; const QDomNodeList nodeList = domElement.childNodes(); @@ -940,7 +940,7 @@ void VPattern::ParseDetailCSARecords(const QDomElement &domElement, VPiece &deta } //--------------------------------------------------------------------------------------------------------------------- -void VPattern::ParseDetailInternalPaths(const QDomElement &domElement, VPiece &detail) const +void VPattern::ParsePieceInternalPaths(const QDomElement &domElement, VPiece &detail) const { QVector records; const QDomNodeList nodeList = domElement.childNodes(); diff --git a/src/app/valentina/xml/vpattern.h b/src/app/valentina/xml/vpattern.h index 53d3b663a..0ea76b4dd 100644 --- a/src/app/valentina/xml/vpattern.h +++ b/src/app/valentina/xml/vpattern.h @@ -122,8 +122,8 @@ private: void ParseDetailElement(const QDomElement &domElement, const Document &parse); void ParseDetailNodes(const QDomElement &domElement, VPiece &detail, bool closed) const; void ParsePieceNodes(const QDomElement &domElement, VPiece &detail) const; - void ParseDetailCSARecords(const QDomElement &domElement, VPiece &detail) const; - void ParseDetailInternalPaths(const QDomElement &domElement, VPiece &detail) const; + void ParsePieceCSARecords(const QDomElement &domElement, VPiece &detail) const; + void ParsePieceInternalPaths(const QDomElement &domElement, VPiece &detail) const; void ParseDetails(const QDomElement &domElement, const Document &parse); void ParsePointElement(VMainGraphicsScene *scene, QDomElement &domElement,