mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2026-09-20 06:37:00 -04:00
EXIF: add support for Windows Explorer tags
This commit is contained in:
committed by
Mirco Miranda
parent
a0825fe5cb
commit
c21b50d699
@@ -251,6 +251,24 @@ public:
|
||||
QString copyright() const;
|
||||
void setCopyright(const QString& s);
|
||||
|
||||
/*!
|
||||
* \brief keywords
|
||||
* Keywords tag used by Windows.
|
||||
* \note Non-standard, added by Windows Explorer.
|
||||
* \return The list of tags.
|
||||
*/
|
||||
QStringList keywords() const;
|
||||
void setKeywords(const QStringList& k);
|
||||
|
||||
/*!
|
||||
* \brief rating
|
||||
* Rating tag used by Windows.
|
||||
* \note Non-standard, added by Windows Explorer.
|
||||
* \return The rating. Usually between 0 (not set) and 5.
|
||||
*/
|
||||
quint16 rating() const;
|
||||
void setRating(quint16 rating);
|
||||
|
||||
/*!
|
||||
* \brief make
|
||||
* \return The manufacturer of the recording equipment.
|
||||
@@ -319,7 +337,7 @@ public:
|
||||
* \return The title of the image.
|
||||
*/
|
||||
QString title() const;
|
||||
void setImageTitle(const QString &s);
|
||||
void setTitle(const QString &s);
|
||||
|
||||
/*!
|
||||
* \brief uniqueId
|
||||
@@ -555,6 +573,9 @@ private:
|
||||
static void setString(Tags &tags, quint16 tagId, const QString &s);
|
||||
static QString string(const Tags &tags, quint16 tagId);
|
||||
|
||||
static void setUtf16String(Tags &tags, quint16 tagId, const QString &s);
|
||||
static QString utf16String(const Tags &tags, quint16 tagId);
|
||||
|
||||
private:
|
||||
Tags m_tiffTags;
|
||||
Tags m_exifTags;
|
||||
|
||||
Reference in New Issue
Block a user