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 .