summaryrefslogtreecommitdiff
path: root/Source/WebKit/qt/Api/qwebpluginfactory.h
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2016-03-03 20:07:42 +0100
committerMarc Mutz <marc.mutz@kdab.com>2016-03-04 09:34:44 +0000
commit3ecebca8361030d0adeb65af21e77334ab91e481 (patch)
tree282b124a8f65cc8480cf3476e6f0e497e139b7a9 /Source/WebKit/qt/Api/qwebpluginfactory.h
parent4aed18cdbc79105b704a298e88af563f30e2eeb0 (diff)
downloadqtwebkit-3ecebca8361030d0adeb65af21e77334ab91e481.tar.gz
Make public headers compile with -Wzero-as-null-pointer-constant
... or equivalent. QtBase 5.6 headers already compile that way, so let the other modules follow suit. Change-Id: I9e521f91abe7972843eeeb6406f8605778dabbaf Task-number: QTBUG-45291 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
Diffstat (limited to 'Source/WebKit/qt/Api/qwebpluginfactory.h')
-rw-r--r--Source/WebKit/qt/Api/qwebpluginfactory.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebKit/qt/Api/qwebpluginfactory.h b/Source/WebKit/qt/Api/qwebpluginfactory.h
index 24084fe18..26f855066 100644
--- a/Source/WebKit/qt/Api/qwebpluginfactory.h
+++ b/Source/WebKit/qt/Api/qwebpluginfactory.h
@@ -48,7 +48,7 @@ public:
QList<MimeType> mimeTypes;
};
- explicit QWebPluginFactory(QObject* parent = 0);
+ explicit QWebPluginFactory(QObject* parent = Q_NULLPTR);
virtual ~QWebPluginFactory();
virtual QList<Plugin> plugins() const = 0;
@@ -62,7 +62,7 @@ public:
{};
class ExtensionReturn
{};
- virtual bool extension(Extension extension, const ExtensionOption* option = 0, ExtensionReturn* output = 0);
+ virtual bool extension(Extension extension, const ExtensionOption* option = Q_NULLPTR, ExtensionReturn* output = Q_NULLPTR);
virtual bool supportsExtension(Extension extension) const;
private: