4#ifndef QUTIMIMECONVERTER_H
5#define QUTIMIMECONVERTER_H
7#include <QtGui/qtguiglobal.h>
9#include <QtCore/qlist.h>
27 Qt3_compatible = 0x08,
29 AllCompatible =
All|Qt_compatible
36 HandlerScope
scope()
const {
return m_scope; }
54 const HandlerScope m_scope;
\macro QT_RESTRICTED_CAST_FROM_ASCII
The QUtiMimeConverter class converts between a MIME type and a \l{https://developer....
virtual QString mimeForUti(const QString &uti) const =0
Returns the MIME type used for Mac UTI uti, or an empty string if this converter does not support con...
virtual QVariant convertToMime(const QString &mime, const QList< QByteArray > &data, const QString &uti) const =0
Returns data converted from Mac UTI uti to MIME type mime.
virtual QList< QByteArray > convertFromMime(const QString &mime, const QVariant &data, const QString &uti) const =0
Returns data converted from MIME type mime to Mac UTI uti.
bool canConvert(const QString &mime, const QString &uti) const
Returns true if the converter can convert (both ways) between mime and uti; otherwise returns false.
HandlerScope scope() const
virtual QString utiForMime(const QString &mime) const =0
Returns the Mac UTI used for MIME type mime, or an empty string if this converter does not support co...
Combined button and popup list for selecting options.
#define Q_DECLARE_FLAGS(Flags, Enum)
#define Q_DECLARE_OPERATORS_FOR_FLAGS(Flags)
GLenum GLenum GLsizei count
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
application x qt windows mime
[2]