MimeType Class

( QWebPluginFactory::MimeType )

The QWebPluginFactory::MimeType structure describes a mime type supported by a plugin. 更多...

头: #include <MimeType>
Since: Qt 4.4

公共函数

bool operator!= (const MimeType & other ) const
bool operator== (const MimeType & other ) const

公共变量

QString description
QStringList fileExtensions
QString name

详细描述

The QWebPluginFactory::MimeType structure describes a mime type supported by a plugin.

成员函数文档编制

bool MimeType:: operator!= (const MimeType & other ) const

Returns true if this mimetype is different from the other mime type.

bool MimeType:: operator== (const MimeType & other ) const

Returns true if this mimetype is the same as the other mime type.

成员变量文档编制

QString MimeType:: description

The description of the mime type.

QStringList MimeType:: fileExtensions

The list of file extensions that are used by this mime type.

For example, a mime type for PDF documents would return "pdf" as its file extension.

QString MimeType:: name

The full name of the MIME type; e.g., text/plain or image/png .