Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QMacMimeRegistry Namespace Reference

Functions

void registerBuiltInTypes ()
 
void registerDraggedTypes (const QStringList &types)
 
const QStringListenabledDraggedTypes ()
 
void initializeMimeTypes ()
 
void destroyMimeTypes ()
 
QString flavorToMime (QUtiMimeConverter::HandlerScope scope, const QString &uti)
 
void registerMimeConverter (QUtiMimeConverter *macMime)
 
void unregisterMimeConverter (QUtiMimeConverter *macMime)
 
QList< QUtiMimeConverter * > all (QUtiMimeConverter::HandlerScope scope)
 

Function Documentation

◆ all()

QList< QUtiMimeConverter * > QMacMimeRegistry::all ( QUtiMimeConverter::HandlerScope  scope)

Definition at line 119 of file qmacmimeregistry.mm.

References mime, and ret.

Referenced by QMacPasteboard::retrieveData(), QIOSMimeData::retrieveData(), and QMacPasteboard::setMimeData().

+ Here is the caller graph for this function:

◆ destroyMimeTypes()

void QMacMimeRegistry::destroyMimeTypes ( )

Definition at line 73 of file qmacmimeregistry.mm.

References QList< T >::isEmpty(), and QList< T >::takeFirst().

Referenced by QCocoaIntegration::~QCocoaIntegration(), and QIOSIntegration::~QIOSIntegration().

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

◆ enabledDraggedTypes()

const QStringList & QMacMimeRegistry::enabledDraggedTypes ( )

Definition at line 43 of file qmacmimeregistry.mm.

Referenced by QNSView(Dragging)::registerDragTypes.

+ Here is the caller graph for this function:

◆ flavorToMime()

QString QMacMimeRegistry::flavorToMime ( QUtiMimeConverter::HandlerScope  scope,
const QString uti 
)

Definition at line 83 of file qmacmimeregistry.mm.

References mime, mimeType, qDebug, and qPrintable.

Referenced by QMacPasteboard::formats(), QIOSMimeData::formats(), and QMacPasteboard::hasFormat().

+ Here is the caller graph for this function:

◆ initializeMimeTypes()

void QMacMimeRegistry::initializeMimeTypes ( )

This is an internal function.

Definition at line 64 of file qmacmimeregistry.mm.

References registerBuiltInTypes().

Referenced by QCocoaIntegration::QCocoaIntegration(), and QIOSIntegration::initialize().

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

◆ registerBuiltInTypes()

void QMacMimeRegistry::registerBuiltInTypes ( )

Definition at line 786 of file qutimimeconverter.mm.

Referenced by initializeMimeTypes().

+ Here is the caller graph for this function:

◆ registerDraggedTypes()

void QMacMimeRegistry::registerDraggedTypes ( const QStringList types)

Definition at line 38 of file qmacmimeregistry.mm.

◆ registerMimeConverter()

void QMacMimeRegistry::registerMimeConverter ( QUtiMimeConverter macMime)

Definition at line 101 of file qmacmimeregistry.mm.

◆ unregisterMimeConverter()

void QMacMimeRegistry::unregisterMimeConverter ( QUtiMimeConverter macMime)

Definition at line 109 of file qmacmimeregistry.mm.

References QCoreApplication::closingDown().

Referenced by QUtiMimeConverter::~QUtiMimeConverter().

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