28 #include <QXmlStreamWriter> 75 virtual bool startElement(
const QString &namespaceURI,
const QString &localName,
76 const QString &qName,
const QXmlAttributes &atts);
79 Q_DISABLE_COPY(XmlHandler);
83 FileName m_xmlHandlerTemplateFolderName;
88 QString m_templateType;
void deleteFromDisk()
Delete the template from disk.
Definition: Template.cpp:88
The main project for ipce.
Definition: Project.h:289
void updateFileName(Project *project)
Change the file name for this template to be where it now is with the given project.
Definition: Template.cpp:78
File name manipulation and expansion.
Definition: FileName.h:116
void save(QXmlStreamWriter &stream, const Project *project, FileName newProjectRoot) const
Method to write this Template object's member data to an XML stream.
Definition: Template.cpp:105
QString fileName() const
Get the file name that this Template represents.
Definition: Template.cpp:50
Template(QString fileName, QString templateType, QString importName, QObject *parent=0)
Create a Template from template file's name.
Definition: Template.cpp:19
Definition: Template.h:44
QString importName() const
Get the name of the TemplateList this file was imported under.
Definition: Template.cpp:68
Q_DECLARE_METATYPE(Isis::Template *)
XML Handler that parses XMLs in a stack-oriented way.
Definition: XmlStackedHandler.h:112
QString templateType() const
Get the type of template.
Definition: Template.cpp:59
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
~Template()
Destroys Template object.
Definition: Template.cpp:42
Manage a stack of content handlers for reading XML files.
Definition: XmlStackedHandlerReader.h:25