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

(9574e8cbef06b3b55d1f651b09d134aef7150aba)

#include "qmimetype.h"
#include "qmimetype_p.h"
#include "qmimedatabase_p.h"
#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()

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

Definition at line 316 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 119 of file qmimetype.cpp.

◆ make_default_icon_name_from_mimetype_name()

static QString make_default_icon_name_from_mimetype_name ( QString iconName)
static

Definition at line 255 of file qmimetype.cpp.

◆ operator<<()

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

Definition at line 457 of file qmimetype.cpp.

◆ qHash()

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

Definition at line 128 of file qmimetype.cpp.