Lines Matching refs:mimeType
124 MimeType mimeType;
125 mimeType.name = it->first;
126 mimeType.description = it->second;
129 Vector<String> extensions = m_package->mimeToExtensions().get(mimeType.name);
134 mimeType.fileExtensions = fileExtensions;
135 m_mimeTypes.append(mimeType);
143 Returns true if the plugin supports a specific \a mimeType; otherwise
148 bool QWebPluginInfo::supportsMimeType(const QString& mimeType) const
152 return m_package->mimeToDescriptions().contains(mimeType);
373 Returns the plugin that is currently used by WebKit for a given \a mimeType.
377 QWebPluginInfo QWebPluginDatabase::pluginForMimeType(const QString& mimeType)
379 return QWebPluginInfo(m_database->pluginForMIMEType(mimeType));
383 Changes the preferred plugin for a given \a mimeType to \a plugin. The \a plugin
384 has to support the given \a mimeType, otherwise the setting will have no effect.
390 void QWebPluginDatabase::setPreferredPluginForMimeType(const QString& mimeType, const QWebPluginInfo& plugin)
392 m_database->setPreferredPluginForMIMEType(mimeType, plugin.m_package);