75 virtual bool startElement(
const QString &namespaceURI,
const QString &localName,
76 const QString &qName,
const QXmlAttributes &atts);
77 virtual bool endElement(
const QString &namespaceURI,
const QString &localName,
78 const QString &qName);
81 Q_DISABLE_COPY(XmlHandler);
File name manipulation and expansion.
Definition FileName.h:100
The main project for ipce.
Definition Project.h:289
Definition TemplateList.h:35
void setPath(QString newPath)
Set the relative path (from the project root) to this TemplateList's folder.
Definition TemplateList.cpp:131
TemplateList(QString name, QString type, QString path, QObject *parent=NULL)
Create a template from a file name, type, and path.
Definition TemplateList.cpp:26
QString name() const
Get the human-readable name of this TemplateList.
Definition TemplateList.cpp:81
~TemplateList()
Destructor.
Definition TemplateList.cpp:71
void deleteFromDisk(Project *project)
Delete all of the contained Templates from disk.
Definition TemplateList.cpp:143
QString path() const
Get the path to these Templates in the TemplateList (relative to project root).
Definition TemplateList.cpp:101
void save(QXmlStreamWriter &stream, const Project *project, FileName newProjectRoot) const
Convert this TemplateList into XML format for saving/restoring capabilities.
Definition TemplateList.cpp:180
void setName(QString newName)
Set the human-readable name of this TemplateList.
Definition TemplateList.cpp:111
QString type() const
Get the type of template in this TemplateList.
Definition TemplateList.cpp:91
void setType(QString newType)
Set the type of template for of this TemplateList.
Definition TemplateList.cpp:121
XML Handler that parses XMLs in a stack-oriented way.
Definition XmlStackedHandler.h:118
Manage a stack of content handlers for reading XML files.
Definition XmlStackedHandlerReader.h:30
This is free and unencumbered software released into the public domain.
Definition BoxcarCachingAlgorithm.h:13
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16