89 virtual bool startElement(
const QString &namespaceURI,
const QString &localName,
90 const QString &qName,
const QXmlAttributes &atts);
91 virtual bool endElement(
const QString &namespaceURI,
const QString &localName,
92 const QString &qName);
95 Q_DISABLE_COPY(XmlHandler);
void save(QXmlStreamWriter &stream, const Project *project, FileName newProjectRoot) const
Convert this TemplateList into XML format for saving/restoring capabilities.
Definition: TemplateList.cpp:195
The main project for ipce.
Definition: Project.h:289
File name manipulation and expansion.
Definition: FileName.h:116
Definition: TemplateList.h:49
QString path() const
Get the path to these Templates in the TemplateList (relative to project root).
Definition: TemplateList.cpp:116
void deleteFromDisk(Project *project)
Delete all of the contained Templates from disk.
Definition: TemplateList.cpp:158
XML Handler that parses XMLs in a stack-oriented way.
Definition: XmlStackedHandler.h:112
~TemplateList()
Destructor.
Definition: TemplateList.cpp:86
TemplateList(QString name, QString type, QString path, QObject *parent=NULL)
Create a template from a file name, type, and path.
Definition: TemplateList.cpp:41
QString name() const
Get the human-readable name of this TemplateList.
Definition: TemplateList.cpp:96
QString type() const
Get the type of template in this TemplateList.
Definition: TemplateList.cpp:106
Definition: BoxcarCachingAlgorithm.h:29
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
void setType(QString newType)
Set the type of template for of this TemplateList.
Definition: TemplateList.cpp:136
void setPath(QString newPath)
Set the relative path (from the project root) to this TemplateList's folder.
Definition: TemplateList.cpp:146
void setName(QString newName)
Set the human-readable name of this TemplateList.
Definition: TemplateList.cpp:126
Manage a stack of content handlers for reading XML files.
Definition: XmlStackedHandlerReader.h:25