Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qmimetype.cpp File Reference

(5dbd6a44d81d6eb062878fbc0d14c19464308d21)

#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) noexcept
 
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 328 of file qmimetype.cpp.

References collectParentMimeTypes(), QMimeDatabasePrivate::instance(), and mime.

Referenced by QMimeType::allAncestors(), and collectParentMimeTypes().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ comparesEqual()

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

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

References QString::indexOf().

Referenced by QMimeType::iconName().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator<<()

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

Definition at line 469 of file qmimetype.cpp.

References debug, and mime.