|  | Home · All Classes · Modules

# QWebPluginFactory.MimeType Class Reference
[QtWebKit module]

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

### Methods

- __init__ (self)
- __init__ (self, MimeType)

### Special Methods

- bool __eq__ (self, MimeType)
- bool __ne__ (self, MimeType)

### Members

- QStringQString description
- QStringListQStringList fileExtensions
- QStringQString name

## Detailed Description

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

## Method Documentation

### MimeType.__init__ (self)

### MimeType.__init__ (self, MimeType)

### bool MimeType.__eq__ (self, MimeType)

### bool MimeType.__ne__ (self, MimeType)

## Member Documentation

### QStringQString description

The description of the mime type.

### QStringListQStringList 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.

### QStringQString name

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