summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-07-24 11:35:29 +0200
committerMontel Laurent <[email protected]>2017-07-24 11:35:53 +0200
commit5d2722060c091126716d7037e8982479a9f02ccd (patch)
treefcb9b03613321732e7719bd590a82da045889072
parent1a6b0cecfbc52c05bbf3e0f737aee321415bec52 (diff)
use nullptr
-rw-r--r--libkonq/src/konq_historyloader_p.h2
-rw-r--r--plugins/adblock/adblock.h2
-rw-r--r--sidebar/history_module/kcmhistory.h2
-rw-r--r--sidebar/places_module/places_module.h2
-rw-r--r--sidebar/trees/bookmark_module/bookmark_module.h2
-rw-r--r--src/konqanimatedlogo_p.h2
6 files changed, 6 insertions, 6 deletions
diff --git a/libkonq/src/konq_historyloader_p.h b/libkonq/src/konq_historyloader_p.h
index d0ba132..72820d9 100644
--- a/libkonq/src/konq_historyloader_p.h
+++ b/libkonq/src/konq_historyloader_p.h
@@ -37,7 +37,7 @@ class KonqHistoryLoader : public QObject
Q_OBJECT
public:
- explicit KonqHistoryLoader(QObject *parent = 0);
+ explicit KonqHistoryLoader(QObject *parent = nullptr);
virtual ~KonqHistoryLoader();
/**
diff --git a/plugins/adblock/adblock.h b/plugins/adblock/adblock.h
index 224a452..574c3aa 100644
--- a/plugins/adblock/adblock.h
+++ b/plugins/adblock/adblock.h
@@ -48,7 +48,7 @@ class AdBlock : public KParts::Plugin
Q_OBJECT
public:
- AdBlock(QObject *parent = 0, const QVariantList &args = QVariantList());
+ AdBlock(QObject *parent = nullptr, const QVariantList &args = QVariantList());
~AdBlock();
private:
diff --git a/sidebar/history_module/kcmhistory.h b/sidebar/history_module/kcmhistory.h
index cd58f02..95be25a 100644
--- a/sidebar/history_module/kcmhistory.h
+++ b/sidebar/history_module/kcmhistory.h
@@ -42,7 +42,7 @@ class HistorySidebarConfig : public KCModule
Q_OBJECT
public:
- explicit HistorySidebarConfig(QWidget *parent = 0, const QVariantList &list = QVariantList());
+ explicit HistorySidebarConfig(QWidget *parent = nullptr, const QVariantList &list = QVariantList());
void load();
void save();
diff --git a/sidebar/places_module/places_module.h b/sidebar/places_module/places_module.h
index cb22118..1797805 100644
--- a/sidebar/places_module/places_module.h
+++ b/sidebar/places_module/places_module.h
@@ -32,7 +32,7 @@ class KonqPlacesCustomPlacesView : public KFilePlacesView
Q_OBJECT
public:
- explicit KonqPlacesCustomPlacesView(QWidget *parent = 0);
+ explicit KonqPlacesCustomPlacesView(QWidget *parent = nullptr);
virtual ~KonqPlacesCustomPlacesView();
signals:
diff --git a/sidebar/trees/bookmark_module/bookmark_module.h b/sidebar/trees/bookmark_module/bookmark_module.h
index 37babe6..290dc16 100644
--- a/sidebar/trees/bookmark_module/bookmark_module.h
+++ b/sidebar/trees/bookmark_module/bookmark_module.h
@@ -82,7 +82,7 @@ class BookmarkEditDialog : public KDialog
public:
BookmarkEditDialog(const QString &title, const QString &url,
- QWidget * = 0, const char * = 0,
+ QWidget * = nullptr, const char * = nullptr,
const QString &caption = i18nc("@title:window", "Add Bookmark"));
QString finalUrl() const;
diff --git a/src/konqanimatedlogo_p.h b/src/konqanimatedlogo_p.h
index 469611a..62cf55b 100644
--- a/src/konqanimatedlogo_p.h
+++ b/src/konqanimatedlogo_p.h
@@ -34,7 +34,7 @@ public:
/**
* Creates an animated logo button which follows the toolbar icon size
*/
- KonqAnimatedLogo(QWidget *parent = 0);
+ KonqAnimatedLogo(QWidget *parent = nullptr);
protected:
void changeEvent(QEvent *event) Q_DECL_OVERRIDE;