Commit 5d272206 authored by Laurent Montel's avatar Laurent Montel 😁

use nullptr

parent 1a6b0cec
......@@ -37,7 +37,7 @@ class KonqHistoryLoader : public QObject
Q_OBJECT
public:
explicit KonqHistoryLoader(QObject *parent = 0);
explicit KonqHistoryLoader(QObject *parent = nullptr);
virtual ~KonqHistoryLoader();
/**
......
......@@ -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:
......
......@@ -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();
......
......@@ -32,7 +32,7 @@ class KonqPlacesCustomPlacesView : public KFilePlacesView
Q_OBJECT
public:
explicit KonqPlacesCustomPlacesView(QWidget *parent = 0);
explicit KonqPlacesCustomPlacesView(QWidget *parent = nullptr);
virtual ~KonqPlacesCustomPlacesView();
signals:
......
......@@ -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;
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment