libs/libkexiv2/libkexiv2
kexiv2iptc.cpp
Go to the documentation of this file.
129 KExiv2::MetaDataMap KExiv2::getIptcTagsDataList(const QStringList& iptcKeysFilter, bool invertSelection) const
267 bool KExiv2::setIptcTagData(const char* iptcTagName, const QByteArray& data, bool setProgramName) const
342 bool KExiv2::setIptcTagString(const char* iptcTagName, const QString& value, bool setProgramName) const
658 bool KExiv2::setIptcSubCategories(const QStringList& oldSubCategories, const QStringList& newSubCategories,
724 QString key = QLatin1String( Exiv2::IptcKey( (*it)->number_, (*it)->recordId_ ).key().c_str() );
QString getIptcTagString(const char *iptcTagName, bool escapeCR=true) const
Get an Iptc tag content like a string.
Definition: kexiv2iptc.cpp:314
QStringList getIptcKeywords() const
Return a strings list of Iptc keywords from image.
Definition: kexiv2iptc.cpp:456
KExiv2::TagsMap getIptcTagsList() const
Return a map of all standard Iptc tags supported by Exiv2.
Definition: kexiv2iptc.cpp:711
const Exiv2::IptcData & iptcMetadata() const
Definition: kexiv2_p.h:164
bool setIptcTagData(const char *iptcTagName, const QByteArray &data, bool setProgramName=true) const
Set an Iptc tag content using a bytes array.
Definition: kexiv2iptc.cpp:267
QStringList getIptcSubCategories() const
Return a strings list of Iptc sub-categories from image.
Definition: kexiv2iptc.cpp:627
bool hasIptc() const
Return 'true' if metadata container in memory as Iptc.
Definition: kexiv2iptc.cpp:54
bool setIptc(const QByteArray &data) const
Set the Iptc data using a Qt byte array.
Definition: kexiv2iptc.cpp:108
QStringList getIptcTagsStringList(const char *iptcTagName, bool escapeCR=true) const
Returns a strings list with of multiple Iptc tags from the image.
Definition: kexiv2iptc.cpp:360
QByteArray getIptcTagData(const char *iptcTagName) const
Get an Iptc tag content as a bytes array.
Definition: kexiv2iptc.cpp:289
KExiv2::MetaDataMap getIptcTagsDataList(const QStringList &iptcKeysFilter, bool invertSelection=false) const
Return a map of Iptc tags name/value found in metadata sorted by Iptc keys given by 'iptcKeysFilter'...
Definition: kexiv2iptc.cpp:129
bool setIptcSubCategories(const QStringList &oldSubCategories, const QStringList &newSubCategories, bool setProgramName=true) const
Set Iptc sub-categories using a list of strings defined by 'newSubCategories' parameter.
Definition: kexiv2iptc.cpp:658
bool setIptcTagsStringList(const char *iptcTagName, int maxSize, const QStringList &oldValues, const QStringList &newValues, bool setProgramName=true) const
Set multiple Iptc tags contents using a strings list.
Definition: kexiv2iptc.cpp:396
QString getIptcTagDescription(const char *iptcTagName)
Return the Iptc Tag description or a null string.
Definition: kexiv2iptc.cpp:216
QMap< QString, QString > MetaDataMap
A map used to store Tags Key and Tags Value.
Definition: kexiv2.h:123
bool removeIptcTag(const char *iptcTagName, bool setProgramName=true) const
Remove the all instance of Iptc tags 'iptcTagName' from Iptc metadata.
Definition: kexiv2iptc.cpp:232
bool setIptcTagString(const char *iptcTagName, const QString &value, bool setProgramName=true) const
Set an Iptc tag content using a string.
Definition: kexiv2iptc.cpp:342
virtual bool setProgramId(bool on=true) const
Re-implement this method to set automatically the Program Name and Program Version information in Exi...
Definition: kexiv2.cpp:526
static bool canWriteIptc(const QString &filePath)
Return 'true' if Iptc can be written in file.
Definition: kexiv2iptc.cpp:34
QMap< QString, QStringList > TagsMap
A map used to store Tags Key and a list of Tags properties :
Definition: kexiv2.h:136
static void printExiv2ExceptionError(const QString &msg, Exiv2::Error &e)
Generic method to print the Exiv2 C++ Exception error message from 'e'.
bool setIptcKeywords(const QStringList &oldKeywords, const QStringList &newKeywords, bool setProgramName=true) const
Set Iptc keywords using a list of strings defined by 'newKeywords' parameter.
Definition: kexiv2iptc.cpp:487
===========================================================This file is a part of digiKam project htt...
QString getIptcTagTitle(const char *iptcTagName)
Return the Iptc Tag title or a null string.
Definition: kexiv2iptc.cpp:200
bool setIptcSubjects(const QStringList &oldSubjects, const QStringList &newSubjects, bool setProgramName=true) const
Set Iptc subjects using a list of strings defined by 'newSubjects' parameter.
Definition: kexiv2iptc.cpp:575
QStringList getIptcSubjects() const
Return a strings list of Iptc subjects from image.
Definition: kexiv2iptc.cpp:544
QByteArray getIptc(bool addIrbHeader=false) const
Return a Qt byte array copy of Iptc container get from current image.
Definition: kexiv2iptc.cpp:74
===========================================================This file is a part of digiKam project htt...
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:45:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:45:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.