#include <Template.h>
|
void | updateFileName (Project *project) |
| Change the file name for this template to be where it now is with the given project.
|
|
- Author
- 2017-11-01 Christopher Combs
◆ Template() [1/2]
Isis::Template::Template |
( |
QString | fileName, |
|
|
QString | templateType, |
|
|
QString | importName, |
|
|
QObject * | parent = 0 ) |
|
explicit |
Create a Template from template file's name.
- Parameters
-
fileName | The name of the template file on disk |
templateType | The type of template being imported (Options are maps or registrations) |
importName | The name of the TemplateList this Template is imported in |
parent | The Qt-relationship parent |
References fileName(), importName(), and templateType().
◆ Template() [2/2]
Construct this template from XML.
- Parameters
-
templateFolder | Location of template xml |
xmlReader | An XML reader that's up to an <template> tag. |
parent | The Qt-relationship parent |
◆ ~Template()
Isis::Template::~Template |
( |
| ) |
|
◆ deleteFromDisk()
void Isis::Template::deleteFromDisk |
( |
| ) |
|
◆ fileName()
QString Isis::Template::fileName |
( |
| ) |
const |
◆ importName()
QString Isis::Template::importName |
( |
| ) |
const |
◆ save()
void Isis::Template::save |
( |
QXmlStreamWriter & | stream, |
|
|
const Project * | project, |
|
|
FileName | newProjectRoot ) const |
Method to write this Template object's member data to an XML stream.
- Parameters
-
stream | The stream to which the Template will be saved. |
project | The Project to which this Template will be added. |
newProjectRoot | The location of the project root directory. |
◆ templateType()
QString Isis::Template::templateType |
( |
| ) |
const |
◆ updateFileName
void Isis::Template::updateFileName |
( |
Project * | project | ) |
|
|
slot |
The documentation for this class was generated from the following files:
- /Users/astamile/ISIS3/isis/src/qisis/objs/Template/Template.h
- /Users/astamile/ISIS3/isis/src/qisis/objs/Template/Template.cpp