Removed C++17 nested namespace definitions. Should build on trusty again.
This commit is contained in:
+26
-23
@@ -34,35 +34,38 @@
|
||||
#include <QString>
|
||||
|
||||
|
||||
namespace glabels::model
|
||||
namespace glabels
|
||||
{
|
||||
|
||||
class XmlTemplateCreator
|
||||
namespace model
|
||||
{
|
||||
public:
|
||||
XmlTemplateCreator() {}
|
||||
|
||||
bool writeTemplates( const QList<const Template*> tmplates, const QString& fileName );
|
||||
bool writeTemplate( const Template* tmplate, const QString& fileName );
|
||||
void createTemplateNode( QDomElement& parent, const Template* tmplate );
|
||||
class XmlTemplateCreator
|
||||
{
|
||||
public:
|
||||
XmlTemplateCreator() {}
|
||||
|
||||
private:
|
||||
void createMetaNode( QDomElement& parent, const QString& attr, const QString& value );
|
||||
void createLabelNode( QDomElement& parent, const Frame* frame );
|
||||
void createLabelRectangleNode( QDomElement& parent, const FrameRect* frame );
|
||||
void createLabelEllipseNode( QDomElement& parent, const FrameEllipse* frame );
|
||||
void createLabelRoundNode( QDomElement& parent, const FrameRound* frame );
|
||||
void createLabelCdNode( QDomElement& parent, const FrameCd* frame );
|
||||
void createLabelNodeCommon( QDomElement& node, const Frame* frame );
|
||||
void createLayoutNode( QDomElement& parent, const Layout* layout );
|
||||
void createMarkupMarginNode( QDomElement& parent, const MarkupMargin* markupMargin );
|
||||
void createMarkupLineNode( QDomElement& parent, const MarkupLine* markupLine );
|
||||
void createMarkupCircleNode( QDomElement& parent, const MarkupCircle* markupCircle );
|
||||
void createMarkupRectNode( QDomElement& parent, const MarkupRect* markupRect );
|
||||
void createMarkupEllipseNode( QDomElement& parent, const MarkupEllipse* markupEllipse );
|
||||
bool writeTemplates( const QList<const Template*> tmplates, const QString& fileName );
|
||||
bool writeTemplate( const Template* tmplate, const QString& fileName );
|
||||
void createTemplateNode( QDomElement& parent, const Template* tmplate );
|
||||
|
||||
};
|
||||
private:
|
||||
void createMetaNode( QDomElement& parent, const QString& attr, const QString& value );
|
||||
void createLabelNode( QDomElement& parent, const Frame* frame );
|
||||
void createLabelRectangleNode( QDomElement& parent, const FrameRect* frame );
|
||||
void createLabelEllipseNode( QDomElement& parent, const FrameEllipse* frame );
|
||||
void createLabelRoundNode( QDomElement& parent, const FrameRound* frame );
|
||||
void createLabelCdNode( QDomElement& parent, const FrameCd* frame );
|
||||
void createLabelNodeCommon( QDomElement& node, const Frame* frame );
|
||||
void createLayoutNode( QDomElement& parent, const Layout* layout );
|
||||
void createMarkupMarginNode( QDomElement& parent, const MarkupMargin* markupMargin );
|
||||
void createMarkupLineNode( QDomElement& parent, const MarkupLine* markupLine );
|
||||
void createMarkupCircleNode( QDomElement& parent, const MarkupCircle* markupCircle );
|
||||
void createMarkupRectNode( QDomElement& parent, const MarkupRect* markupRect );
|
||||
void createMarkupEllipseNode( QDomElement& parent, const MarkupEllipse* markupEllipse );
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user