diff options
Diffstat (limited to 'WebKit/qt/examples')
| -rw-r--r-- | WebKit/qt/examples/platformplugin/WebPlugin.cpp | 2 | ||||
| -rw-r--r-- | WebKit/qt/examples/platformplugin/qwebkitplatformplugin.h | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/WebKit/qt/examples/platformplugin/WebPlugin.cpp b/WebKit/qt/examples/platformplugin/WebPlugin.cpp index 1f3877c..c3efb80 100644 --- a/WebKit/qt/examples/platformplugin/WebPlugin.cpp +++ b/WebKit/qt/examples/platformplugin/WebPlugin.cpp @@ -221,4 +221,4 @@ bool WebPlugin::supportsExtension(Extension extension) const return false; } -Q_EXPORT_PLUGIN2(qwebselectim, WebPlugin) +Q_EXPORT_PLUGIN2(platformplugin, WebPlugin) diff --git a/WebKit/qt/examples/platformplugin/qwebkitplatformplugin.h b/WebKit/qt/examples/platformplugin/qwebkitplatformplugin.h index bac618c..32d22d4 100644 --- a/WebKit/qt/examples/platformplugin/qwebkitplatformplugin.h +++ b/WebKit/qt/examples/platformplugin/qwebkitplatformplugin.h @@ -31,7 +31,7 @@ class QWebSelectData { public: - inline ~QWebSelectData() {} + virtual ~QWebSelectData() {} enum ItemType { Option, Group, Separator }; @@ -48,7 +48,7 @@ class QWebSelectMethod : public QObject { Q_OBJECT public: - inline ~QWebSelectMethod() {} + virtual ~QWebSelectMethod() {} virtual void show(const QWebSelectData&) = 0; virtual void hide() = 0; @@ -61,6 +61,8 @@ Q_SIGNALS: class QWebNotificationData { public: + virtual ~QWebNotificationData() {} + virtual const QString title() const = 0; virtual const QString message() const = 0; virtual const QByteArray iconData() const = 0; |
