KFileMetaData
appimageextractor.cpp
37 QString summary() const { return !m_localized.summary.isEmpty() ? m_localized.summary : m_unlocalized.summary; }
38 QString description() const { return !m_localized.description.isEmpty() ? m_localized.description : m_unlocalized.description; }
39 QString developerName() const { return !m_localized.developerName.isEmpty() ? m_localized.developerName : m_unlocalized.developerName; }
92 const auto matchingLocale = hasLangAttribute && (ec.attribute(AttributeNames::xml_lang()) == localeName);
119 const bool isElementToFilter = (tagName == QLatin1String("p")) || (tagName == QLatin1String("li"));
183 DesktopFileParser::DesktopFileParser(const char* appImageFilePath, const QString& desktopFilePath)
238 // and we just can try as the other appimage tools to simply use the first file of the type found
QString name(const QVariant &location)
QDomNode appendChild(const QDomNode &newChild)
KGuiItem ok()
QString attribute(const QString &name, const QString &defValue) const const
void setTagName(const QString &name)
QString toString(int indent) const const
virtual void add(Property::Property property, const QVariant &value)=0
This function is called by the plugins when they wish to add a key value pair which should be indexed...
The ExtractorPlugin is the base class for all file metadata extractors.
Definition: extractorplugin.h:33
QDomElement nextSiblingElement(const QString &tagName) const const
QByteArray fromRawData(const char *data, int size)
QDomElement documentElement() const const
QLocale system()
QDomNode importNode(const QDomNode &importedNode, bool deep)
QDomElement toElement() const const
QString fromUtf8(const char *str, int size)
QString text() const const
bool hasAttribute(const QString &name) const const
bool isEmpty() const const
QString trimmed() const const
Definition: embeddedimagedata.h:18
QDomNode removeChild(const QDomNode &oldChild)
bool isNull() const const
virtual QString fileName() const const override
QString toPlainText() const const
virtual void close() override
QDomElement firstChildElement(const QString &tagName) const const
QString bcp47Name() const const
void setHtml(const QString &html)
qint64 write(const char *data, qint64 maxSize)
QString tagName() const const
QDomElement createElement(const QString &tagName)
Definition: appimageextractor.cpp:23
bool open()
The ExtractionResult class is where all the data extracted by the indexer is saved.
Definition: extractionresult.h:32
QString inputUrl() const
The input url which the plugins will use to locate the file.
Definition: extractionresult.cpp:43
bool setContent(const QByteArray &data, bool namespaceProcessing, QString *errorMsg, int *errorLine, int *errorColumn)
QByteArray toUtf8() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sat Jan 23 2021 03:15:05 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sat Jan 23 2021 03:15:05 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.