summaryrefslogtreecommitdiffstats
path: root/WebKit/qt/Api/qwebpluginfactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/qt/Api/qwebpluginfactory.cpp')
-rw-r--r--WebKit/qt/Api/qwebpluginfactory.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/WebKit/qt/Api/qwebpluginfactory.cpp b/WebKit/qt/Api/qwebpluginfactory.cpp
index d2bb124..7a8cabe 100644
--- a/WebKit/qt/Api/qwebpluginfactory.cpp
+++ b/WebKit/qt/Api/qwebpluginfactory.cpp
@@ -70,6 +70,13 @@
\brief The QWebPluginFactory::MimeType structure describes a mime type supported by a plugin.
*/
+bool QWebPluginFactory::MimeType::operator==(const MimeType& other) const
+{
+ return name == other.name
+ && description == other.description
+ && fileExtensions == other.fileExtensions;
+}
+
/*!
\variable QWebPluginFactory::MimeType::name