8#include <QtCore/qglobal.h>
12#include <QtCore/qobjectdefs.h>
13#include <QtCore/qshareddata.h>
14#include <QtCore/qstring.h>
15#include <QtCore/qstringlist.h>
45 QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_PURE_SWAP(
QMimeType)
52#if QT_CORE_REMOVED_SINCE(6, 8)
81 friend class MimeTypeMapEntry;
88 QExplicitlySharedDataPointer<QMimeTypePrivate>
d;
97#ifndef QT_NO_DEBUG_STREAM
QStringList globPatterns
the list of glob matching patterns
QStringList parentMimeTypes
the names of parent MIME types
QStringList allAncestors
the names of direct and indirect parent MIME types
void swap(QMimeType &other) noexcept
Swaps QMimeType other with this QMimeType object.
QStringList suffixes
the known suffixes for the MIME type
QExplicitlySharedDataPointer< QMimeTypePrivate > d
bool valid
true if the QMimeType object contains valid data, false otherwise
QString comment
the description of the MIME type to be displayed on user interfaces
QMimeType()
Constructs this QMimeType object initialized with default property values that indicate an invalid MI...
QString preferredSuffix
the preferred suffix for the MIME type
QString iconName
the file name of an icon image that represents the MIME type
bool isDefault
true if this MIME type is the default MIME type which applies to all files: application/octet-stream.
~QMimeType()
Destroys the QMimeType object, and releases the d pointer.
QString genericIconName
the file name of a generic icon that represents the MIME type
QString filterString
a filter string usable for a file dialog
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
#define Q_DECLARE_EQUALITY_COMPARABLE(...)
constexpr bool operator!=(const timespec &t1, const timespec &t2)
bool comparesEqual(const QDir &lhs, const QDir &rhs)
Q_CORE_EXPORT QDebug operator<<(QDebug debug, const QMimeType &mime)
Q_CORE_EXPORT size_t qHash(const QMimeType &key, size_t seed=0) noexcept
static QStringList aliases(const QQmlJSScope::ConstPtr &scope)
static Q_CONSTINIT QBasicAtomicInteger< unsigned > seed
bool operator==(const QRandomGenerator &rng1, const QRandomGenerator &rng2)
#define QT_REQUIRE_CONFIG(feature)
application x qt windows mime
[2]