Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QMimeTypePrivate Class Reference

#include <qmimetype_p.h>

+ Inheritance diagram for QMimeTypePrivate:
+ Collaboration diagram for QMimeTypePrivate:

Public Types

typedef QHash< QString, QStringLocaleHash
 

Public Member Functions

 QMimeTypePrivate ()
 
 QMimeTypePrivate (const QMimeType &other)
 
void clear ()
 
void addGlobPattern (const QString &pattern)
 
- Public Member Functions inherited from QSharedData
 QSharedData () noexcept
 Constructs a QSharedData object with a reference count of 0.
 
 QSharedData (const QSharedData &) noexcept
 Constructs a QSharedData object with reference count 0.
 
QSharedDataoperator= (const QSharedData &)=delete
 
 ~QSharedData ()=default
 

Public Attributes

bool loaded
 
bool fromCache
 
bool hasGlobDeleteAll = false
 
QString name
 
LocaleHash localeComments
 
QString genericIconName
 
QString iconName
 
QStringList globPatterns
 
- Public Attributes inherited from QSharedData
QAtomicInt ref
 

Detailed Description

Definition at line 28 of file qmimetype_p.h.

Member Typedef Documentation

◆ LocaleHash

Definition at line 31 of file qmimetype_p.h.

Constructor & Destructor Documentation

◆ QMimeTypePrivate() [1/2]

QMimeTypePrivate::QMimeTypePrivate ( )

Definition at line 23 of file qmimetype.cpp.

◆ QMimeTypePrivate() [2/2]

QMimeTypePrivate::QMimeTypePrivate ( const QMimeType other)
explicit

Definition at line 27 of file qmimetype.cpp.

Member Function Documentation

◆ addGlobPattern()

void QMimeTypePrivate::addGlobPattern ( const QString pattern)

Definition at line 45 of file qmimetype.cpp.

References globPatterns.

◆ clear()

void QMimeTypePrivate::clear ( )

Definition at line 36 of file qmimetype.cpp.

References QString::clear(), QHash< Key, T >::clear(), genericIconName, globPatterns, iconName, and localeComments.

+ Here is the call graph for this function:

Member Data Documentation

◆ fromCache

◆ genericIconName

QString QMimeTypePrivate::genericIconName

◆ globPatterns

QStringList QMimeTypePrivate::globPatterns

◆ hasGlobDeleteAll

bool QMimeTypePrivate::hasGlobDeleteAll = false

Definition at line 42 of file qmimetype_p.h.

Referenced by QMimeXMLProvider::addMimeType().

◆ iconName

QString QMimeTypePrivate::iconName

Definition at line 46 of file qmimetype_p.h.

Referenced by clear(), QMimeType::iconName(), and QMimeDatabasePrivate::loadIcon().

◆ loaded

bool QMimeTypePrivate::loaded

Definition at line 40 of file qmimetype_p.h.

Referenced by QMimeDatabasePrivate::loadMimeTypePrivate().

◆ localeComments

LocaleHash QMimeTypePrivate::localeComments

Definition at line 44 of file qmimetype_p.h.

Referenced by clear(), and QMimeType::comment().

◆ name


The documentation for this class was generated from the following files: