Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qmimetype.cpp File Reference
#include "qmimetype.h"
#include "qmimetype_p.h"
#include "qmimedatabase_p.h"
#include "qmimeprovider_p.h"
#include "qmimeglobpattern_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

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 342 of file qmimetype.cpp.

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

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

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

◆ make_default_icon_name_from_mimetype_name()

static QString make_default_icon_name_from_mimetype_name ( QString  iconName)
static

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

References debug, and mime.