Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qmimetype.cpp File Reference

(2edb56977309daff0e2bb92bb5f64f8e0ac47da9)

#include "qmimetype.h"
#include "qmimetype_p.h"
#include "qmimedatabase_p.h"
#include <QtCore/QCoreApplication>
#include <QtCore/QDebug>
#include <QtCore/QLocale>
#include <QtCore/QHashFunctions>
#include <memory>
#include "moc_qmimetype.cpp"
Include dependency graph for qmimetype.cpp:

Go to the source code of this file.

Functions

bool comparesEqual (const QMimeType &lhs, const QMimeType &rhs)
size_t qHash (const QMimeType &key, size_t seed)
static QString make_default_icon_name_from_mimetype_name (QString iconName)
static void collectParentMimeTypes (const QString &mime, QStringList &allParents)
QDebug operator<< (QDebug debug, const QMimeType &mime)

Function Documentation

◆ collectParentMimeTypes()

void collectParentMimeTypes ( const QString & mime,
QStringList & allParents )
static

Definition at line 313 of file qmimetype.cpp.

References QMimeDatabasePrivate::instance().

Here is the call graph for this function:

◆ comparesEqual()

bool comparesEqual ( const QMimeType & lhs,
const QMimeType & rhs )
noexcept

Definition at line 120 of file qmimetype.cpp.

◆ make_default_icon_name_from_mimetype_name()

QString make_default_icon_name_from_mimetype_name ( QString iconName)
static

Definition at line 252 of file qmimetype.cpp.

◆ operator<<()

QDebug operator<< ( QDebug debug,
const QMimeType & mime )

Definition at line 454 of file qmimetype.cpp.

◆ qHash()

size_t qHash ( const QMimeType & key,
size_t seed )
noexcept
Since
5.6 \qhashold{QMimeType}

Definition at line 129 of file qmimetype.cpp.