digiKam
|
Public Member Functions | |
QStringList | authors () const |
QString | authorsPosition () const |
IptcCoreContactInfo | contactInfo () const |
MetaEngine::AltLangMap | copyright () const |
QString | credit () const |
QString | instructions () const |
QStringList | IptcSubjects () const |
bool | isEmpty () const |
bool | isNull () const |
IptcCoreLocationInfo | locationInfo () const |
bool | operator== (const Template &t) const |
MetaEngine::AltLangMap | rightUsageTerms () const |
void | setAuthors (const QStringList &authors) |
void | setAuthorsPosition (const QString &authorPosition) |
void | setContactInfo (const IptcCoreContactInfo &inf) |
void | setCopyright (const MetaEngine::AltLangMap ©right) |
void | setCredit (const QString &credit) |
void | setInstructions (const QString &instructions) |
void | setIptcSubjects (const QStringList &subjects) |
void | setLocationInfo (const IptcCoreLocationInfo &inf) |
void | setRightUsageTerms (const MetaEngine::AltLangMap &rightUsageTerms) |
void | setSource (const QString &source) |
void | setTemplateTitle (const QString &title) |
QString | source () const |
Template () | |
QString | templateTitle () const |
~Template () | |
Static Public Member Functions | |
static QString | removeTemplateTitle () |
Protected Attributes | |
QStringList | m_authors |
QString | m_authorsPosition |
IptcCoreContactInfo | m_contactInfo |
MetaEngine::AltLangMap | m_copyright |
QString | m_credit |
QString | m_instructions |
IptcCoreLocationInfo | m_locationInfo |
MetaEngine::AltLangMap | m_rightUsageTerms |
QString | m_source |
QStringList | m_subjects |
QString | m_templateTitle |
|
explicit |
Digikam::Template::~Template | ( | ) |
QStringList Digikam::Template::authors | ( | ) | const |
References m_authors.
Referenced by Digikam::DMetaInfoIface::itemInfo(), Digikam::operator<<(), Digikam::TemplateManager::save(), setAuthors(), Digikam::ItemCopyright::setFromTemplate(), Digikam::DMetadata::setMetadataTemplate(), Digikam::TemplateListItem::setTemplate(), Digikam::TemplatePanel::setTemplate(), and Digikam::TemplateViewer::setTemplate().
QString Digikam::Template::authorsPosition | ( | ) | const |
IptcCoreContactInfo Digikam::Template::contactInfo | ( | ) | const |
MetaEngine::AltLangMap Digikam::Template::copyright | ( | ) | const |
References m_copyright.
Referenced by Digikam::DMetaInfoIface::itemInfo(), Digikam::operator<<(), Digikam::TemplateManager::save(), setCopyright(), Digikam::ItemCopyright::setFromTemplate(), Digikam::DMetadata::setMetadataTemplate(), Digikam::TemplatePanel::setTemplate(), and Digikam::TemplateViewer::setTemplate().
QString Digikam::Template::credit | ( | ) | const |
References m_credit.
Referenced by Digikam::DMetaInfoIface::itemInfo(), Digikam::operator<<(), Digikam::TemplateManager::save(), setCredit(), Digikam::ItemCopyright::setFromTemplate(), Digikam::DMetadata::setMetadataTemplate(), Digikam::TemplatePanel::setTemplate(), and Digikam::TemplateViewer::setTemplate().
QString Digikam::Template::instructions | ( | ) | const |
QStringList Digikam::Template::IptcSubjects | ( | ) | const |
bool Digikam::Template::isEmpty | ( | ) | const |
Return true if Template contents is empty
References Digikam::IptcCoreLocationInfo::isEmpty(), Digikam::IptcCoreContactInfo::isEmpty(), m_authors, m_authorsPosition, m_contactInfo, m_copyright, m_credit, m_instructions, m_locationInfo, m_rightUsageTerms, m_source, and m_subjects.
bool Digikam::Template::isNull | ( | ) | const |
Return true if Template title is null
References m_templateTitle.
Referenced by Digikam::TemplateList::applySettings(), Digikam::TemplateList::find(), Digikam::TemplateManager::insert(), Digikam::MetadataHub::load(), Digikam::DisjointMetadata::load(), Digikam::TemplateManager::remove(), Digikam::DMetadata::setMetadataTemplate(), Digikam::TemplateListItem::setTemplate(), and Digikam::SetupTemplate::setTemplate().
IptcCoreLocationInfo Digikam::Template::locationInfo | ( | ) | const |
bool Digikam::Template::operator== | ( | const Template & | t | ) | const |
Compare for metadata equality, not including "templateTitle" value.
References m_authors, m_authorsPosition, m_contactInfo, m_copyright, m_credit, m_instructions, m_locationInfo, m_rightUsageTerms, m_source, and m_subjects.
|
inlinestatic |
MetaEngine::AltLangMap Digikam::Template::rightUsageTerms | ( | ) | const |
void Digikam::Template::setAuthors | ( | const QStringList & | authors | ) |
References authors(), and m_authors.
Referenced by Digikam::ItemCopyright::fillTemplate(), Digikam::DMetadata::getCopyrightInformation(), Digikam::TemplatePanel::getTemplate(), and Digikam::TemplateManager::load().
void Digikam::Template::setAuthorsPosition | ( | const QString & | authorPosition | ) |
void Digikam::Template::setContactInfo | ( | const IptcCoreContactInfo & | inf | ) |
void Digikam::Template::setCopyright | ( | const MetaEngine::AltLangMap & | copyright | ) |
References copyright(), and m_copyright.
Referenced by Digikam::ItemCopyright::fillTemplate(), Digikam::DMetadata::getCopyrightInformation(), Digikam::TemplatePanel::getTemplate(), and Digikam::TemplateManager::load().
void Digikam::Template::setCredit | ( | const QString & | credit | ) |
References credit(), and m_credit.
Referenced by Digikam::ItemCopyright::fillTemplate(), Digikam::DMetadata::getCopyrightInformation(), Digikam::TemplatePanel::getTemplate(), and Digikam::TemplateManager::load().
void Digikam::Template::setInstructions | ( | const QString & | instructions | ) |
void Digikam::Template::setIptcSubjects | ( | const QStringList & | subjects | ) |
void Digikam::Template::setLocationInfo | ( | const IptcCoreLocationInfo & | inf | ) |
void Digikam::Template::setRightUsageTerms | ( | const MetaEngine::AltLangMap & | rightUsageTerms | ) |
void Digikam::Template::setSource | ( | const QString & | source | ) |
References m_source, and source().
Referenced by Digikam::ItemCopyright::fillTemplate(), Digikam::DMetadata::getCopyrightInformation(), Digikam::TemplatePanel::getTemplate(), and Digikam::TemplateManager::load().
void Digikam::Template::setTemplateTitle | ( | const QString & | title | ) |
References m_templateTitle.
Referenced by Digikam::SetupTemplate::applySettings(), Digikam::TemplateSelector::getTemplate(), and Digikam::TemplateManager::load().
QString Digikam::Template::source | ( | ) | const |
References m_source.
Referenced by Digikam::DMetaInfoIface::itemInfo(), Digikam::operator<<(), Digikam::TemplateManager::save(), Digikam::ItemCopyright::setFromTemplate(), Digikam::DMetadata::setMetadataTemplate(), setSource(), Digikam::TemplatePanel::setTemplate(), and Digikam::TemplateViewer::setTemplate().
QString Digikam::Template::templateTitle | ( | ) | const |
|
protected |
List of author names.
Referenced by authors(), isEmpty(), operator==(), and setAuthors().
|
protected |
Description of authors position.
Referenced by authorsPosition(), isEmpty(), operator==(), and setAuthorsPosition().
|
protected |
IPTC Contact Information.
Referenced by contactInfo(), isEmpty(), operator==(), and setContactInfo().
|
protected |
Language alternative copyright notices.
Referenced by copyright(), isEmpty(), operator==(), and setCopyright().
|
protected |
Credit description.
Referenced by credit(), isEmpty(), operator==(), and setCredit().
|
protected |
Special instructions to process with contents.
Referenced by instructions(), isEmpty(), operator==(), and setInstructions().
|
protected |
IPTC Location Information.
Referenced by isEmpty(), locationInfo(), operator==(), and setLocationInfo().
|
protected |
Language alternative right term usages.
Referenced by isEmpty(), operator==(), rightUsageTerms(), and setRightUsageTerms().
|
protected |
Descriptions of contents source.
Referenced by isEmpty(), operator==(), setSource(), and source().
|
protected |
IPTC Subjects Information.
Referenced by IptcSubjects(), isEmpty(), operator==(), and setIptcSubjects().
|
protected |
Template title used internally. This value always exist and cannot be empty.
Referenced by isNull(), setTemplateTitle(), and templateTitle().