14 #include <QXmlStreamWriter>
15 #include <QXmlStreamReader>
49 QString m_templateType;
File name manipulation and expansion.
The main project for ipce.
Template(QString fileName, QString templateType, QString importName, QObject *parent=0)
Create a Template from template file's name.
QString fileName() const
Get the file name that this Template represents.
void save(QXmlStreamWriter &stream, const Project *project, FileName newProjectRoot) const
Method to write this Template object's member data to an XML stream.
QString templateType() const
Get the type of template.
void deleteFromDisk()
Delete the template from disk.
~Template()
Destroys Template object.
void updateFileName(Project *project)
Change the file name for this template to be where it now is with the given project.
QString importName() const
Get the name of the TemplateList this file was imported under.
This is free and unencumbered software released into the public domain.