Class sh::tools::filetypes::FreeDesktopOrgMimetypeInformationRetrievalStrategy

class sh::tools::filetypes::FreeDesktopOrgMimetypeInformationRetrievalStrategy : public sh::tools::filetypes::FileTypeManager::MimetypeInformationRetrievalStrategy

Tries to determine some mimetype information with the freedesktop.org specs.

Public Functions

FreeDesktopOrgMimetypeInformationRetrievalStrategy()
QStringList getMimetypeSubclasses(QString mimetype)

Private Members

QHash<QString, QStringList> _mimeSubclassOf
QMutex _mutex
QWaitCondition _cond_inited
bool _inited = false
class MimetypeInfo : public QXmlDefaultHandler

Public Functions

MimetypeInfo() = default
bool startElement(const QString &namespaceURI, const QString &localName, const QString &qName, const QXmlAttributes &atts)
bool endElement(const QString &namespaceURI, const QString &localName, const QString &qName)

Public Members

QStringList subClassOf