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)
81 friend class MimeTypeMapEntry;
93#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
QStringList aliases
the list of aliases of this mimetype
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 & operator=(const QMimeType &other)
Move-assigns other to this QMimeType instance.
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.
bool operator!=(const QMimeType &other) const
Returns true if other does not equal this QMimeType object, otherwise returns false.
~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.
DBusConnection const char DBusError DBusBusType DBusError return DBusConnection DBusHandleMessageFunction void DBusFreeFunction return DBusConnection return DBusConnection return const char DBusError return DBusConnection DBusMessage dbus_uint32_t return DBusConnection dbus_bool_t DBusConnection DBusAddWatchFunction DBusRemoveWatchFunction DBusWatchToggledFunction void DBusFreeFunction return DBusConnection DBusDispatchStatusFunction void DBusFreeFunction DBusTimeout return DBusTimeout return DBusWatch return DBusWatch unsigned int return DBusError const DBusError return const DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessage return DBusMessageIter int const void return DBusMessageIter DBusMessageIter return DBusMessageIter void DBusMessageIter void int return DBusMessage DBusMessageIter return DBusMessageIter return DBusMessageIter DBusMessageIter const char const char const char const char return DBusMessage return DBusMessage const char return DBusMessage dbus_bool_t return DBusMessage dbus_uint32_t return DBusMessage void
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 Q_CONSTINIT QBasicAtomicInteger< unsigned > seed
bool operator==(const QRandomGenerator &rng1, const QRandomGenerator &rng2)
#define QT_REQUIRE_CONFIG(feature)
application x qt windows mime
[2]