libs/libkexiv2/libkexiv2
kexiv2comments.cpp
Go to the documentation of this file.
int indexOf(QChar ch, int from, Qt::CaseSensitivity cs) const
QByteArray getComments() const
Return a Qt byte array copy of Comments container get from current image.
Definition: kexiv2comments.cpp:70
bool hasComments() const
Return 'true' if metadata container in memory as Comments.
Definition: kexiv2comments.cpp:60
int size() const
const std::string & imageComments() const
Definition: kexiv2_p.h:165
void clear()
static bool canWriteComment(const QString &filePath)
Return 'true' if Comments can be written in file.
Definition: kexiv2comments.cpp:36
QString getCommentsDecoded() const
Return a Qt string object of Comments from current image decoded using the 'detectEncodingAndDecode()...
Definition: kexiv2comments.cpp:75
static QString detectLanguageAlt(const QString &value, QString &lang)
Language Alternative autodetection.
Definition: kexiv2comments.cpp:86
bool startsWith(const QString &s, Qt::CaseSensitivity cs) const
QString detectEncodingAndDecode(const std::string &value) const
Charset autodetection to convert a string to a QString.
bool setComments(const QByteArray &data) const
Set the Comments data using a Qt byte array.
Definition: kexiv2comments.cpp:80
QString mid(int position, int n) const
bool clearComments() const
Clear the Comments metadata container in memory.
Definition: kexiv2comments.cpp:65
===========================================================This file is a part of digiKam project htt...
char * data()
int size() const
===========================================================This file is a part of digiKam project htt...
QByteArray encodeName(const QString &fileName)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:19:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:19:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.