[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [plasma-desktop] /: Fix pedentic + use nullptr + override
From:       Laurent Montel <null () kde ! org>
Date:       2018-09-27 6:17:34
Message-ID: E1g5PcE-0002d2-Ts () code ! kde ! org
[Download RAW message or body]

Git commit bc9d074981f5147570ea22bbcfa8c67786b9fc07 by Laurent Montel.
Committed on 27/09/2018 at 06:17.
Pushed by mlaurent into branch 'master'.

Fix pedentic + use nullptr + override

M  +1    -1    applets/kicker/plugin/abstractmodel.cpp
M  +1    -1    applets/kicker/plugin/abstractmodel.h
M  +2    -2    applets/kicker/plugin/appsmodel.h
M  +3    -3    applets/kicker/plugin/computermodel.h
M  +1    -1    applets/kicker/plugin/containmentinterface.h
M  +1    -1    applets/kicker/plugin/draghelper.h
M  +2    -2    applets/kicker/plugin/forwardingmodel.h
M  +1    -1    applets/kicker/plugin/funnelmodel.h
M  +1    -1    applets/kicker/plugin/kastatsfavoritesmodel.h
M  +1    -1    applets/kicker/plugin/menuentryeditor.h
M  +1    -1    applets/kicker/plugin/placeholdermodel.h
M  +1    -1    applets/kicker/plugin/processrunner.h
M  +1    -1    applets/kicker/plugin/recentcontactsmodel.h
M  +1    -1    applets/kicker/plugin/recentusagemodel.h
M  +1    -1    applets/kicker/plugin/rootmodel.h
M  +1    -1    applets/kicker/plugin/runnermatchesmodel.h
M  +3    -3    applets/kicker/plugin/runnermodel.h
M  +1    -1    applets/kicker/plugin/simplefavoritesmodel.h
M  +1    -1    applets/kicker/plugin/submenu.h
M  +1    -1    applets/kicker/plugin/systemmodel.h
M  +1    -1    applets/kicker/plugin/systemsettings.h
M  +1    -1    applets/kicker/plugin/wheelinterceptor.h
M  +1    -1    applets/kimpanel/backend/scim/main.cpp
M  +1    -1    applets/kimpanel/plugin/screen.h
M  +1    -1    applets/taskmanager/plugin/backend.h
M  +1    -1    kcms/cursortheme/xcursor/previewwidget.h
M  +1    -1    kcms/cursortheme/xcursor/sortproxymodel.h
M  +6    -6    kcms/cursortheme/xcursor/thememodel.h
M  +2    -2    kcms/fonts/fonts.h
M  +1    -1    kcms/formats/kcmformats.h
M  +1    -1    kcms/hardware/joystick/joystick.h
M  +1    -1    kcms/hardware/joystick/joywidget.h
M  +1    -1    kcms/hardware/joystick/poswidget.h
M  +4    -4    kcms/keyboard/kcm_view_models.h
M  +1    -1    kcms/keyboard/preview/kbpreviewframe.h
M  +1    -1    kcms/keys/select_scheme_dialog.h
M  +1    -1    kcms/kfontinst/dbus/FontinstIface.h
M  +1    -1    kcms/kfontinst/kcmfontinst/DuplicatesDialog.cpp
M  +1    -1    kcms/kfontinst/kcmfontinst/GroupList.cpp
M  +1    -1    kcms/kfontinst/kcmfontinst/GroupList.h
M  +2    -2    kcms/kfontinst/kcmfontinst/JobRunner.cpp
M  +1    -1    kcms/kfontinst/kcmfontinst/PreviewList.cpp
M  +1    -1    kcms/kfontinst/kcmfontinst/PreviewList.h
M  +5    -5    kcms/kfontinst/lib/FcEngine.cpp
M  +1    -1    kcms/kfontinst/lib/Misc.h
M  +1    -1    kcms/launch/launchfeedback.h
M  +1    -1    kcms/mouse/backends/kwin_wl/kwin_wl_backend.h
M  +1    -1    kcms/mouse/backends/x11/x11_libinput_backend.h
M  +1    -1    kcms/phonon/backendselection.h
M  +1    -1    kcms/phonon/devicepreference.h
M  +1    -1    kcms/solid_actions/ActionItem.h
M  +1    -1    kcms/solid_actions/ActionModel.h
M  +1    -1    kcms/solid_actions/PredicateModel.h
M  +1    -1    kcms/style/kcmstyle.cpp
M  +1    -1    kcms/touchpad/src/applet/touchpadservice.cpp
M  +1    -1    kcms/touchpad/src/applet/touchpadservice.h
M  +1    -1    kcms/touchpad/src/backends/kwin_wayland/kwinwaylandbackend.h
M  +1    -1    kcms/touchpad/src/backends/x11/xlibbackend.h
M  +1    -1    kcms/touchpad/src/kcm/xlib/customslider.h
M  +1    -1    kcms/touchpad/src/kcm/xlib/sliderpair.h
M  +1    -1    kcms/touchpad/src/kcm/xlib/touchpadparametersbase.h

https://commits.kde.org/plasma-desktop/bc9d074981f5147570ea22bbcfa8c67786b9fc07

diff --git a/applets/kicker/plugin/abstractmodel.cpp \
b/applets/kicker/plugin/abstractmodel.cpp index 6b170785..a4966d8d 100644
--- a/applets/kicker/plugin/abstractmodel.cpp
+++ b/applets/kicker/plugin/abstractmodel.cpp
@@ -92,7 +92,7 @@ AbstractModel *AbstractModel::modelForRow(int row)
 {
     Q_UNUSED(row)
 
-    return 0;
+    return nullptr;
 }
 
 int AbstractModel::rowForModel(AbstractModel *model)
diff --git a/applets/kicker/plugin/abstractmodel.h \
b/applets/kicker/plugin/abstractmodel.h index 7b48f78b..3e619248 100644
--- a/applets/kicker/plugin/abstractmodel.h
+++ b/applets/kicker/plugin/abstractmodel.h
@@ -36,7 +36,7 @@ class AbstractModel : public QAbstractListModel
     Q_PROPERTY(AbstractModel* favoritesModel READ favoritesModel WRITE \
setFavoritesModel NOTIFY favoritesModelChanged)  
     public:
-        explicit AbstractModel(QObject *parent = 0);
+        explicit AbstractModel(QObject *parent = nullptr);
         ~AbstractModel();
 
         QHash<int, QByteArray> roleNames() const override;
diff --git a/applets/kicker/plugin/appsmodel.h b/applets/kicker/plugin/appsmodel.h
index 648ec0b0..516e0268 100644
--- a/applets/kicker/plugin/appsmodel.h
+++ b/applets/kicker/plugin/appsmodel.h
@@ -50,8 +50,8 @@ class AppsModel : public AbstractModel, public QQmlParserStatus
 
     public:
         explicit AppsModel(const QString &entryPath = QString(), bool paginate = \
                false, int pageSize = 24,
-            bool flat = false, bool sorted = true, bool separators = true, QObject \
                *parent = 0);
-        explicit AppsModel(const QList<AbstractEntry *> entryList, bool \
deleteEntriesOnDestruction, QObject *parent = 0); +            bool flat = false, \
bool sorted = true, bool separators = true, QObject *parent = nullptr); +        \
explicit AppsModel(const QList<AbstractEntry *> entryList, bool \
deleteEntriesOnDestruction, QObject *parent = nullptr);  ~AppsModel();
 
         QString description() const override;
diff --git a/applets/kicker/plugin/computermodel.h \
b/applets/kicker/plugin/computermodel.h index 36b88185..7d16fc4f 100644
--- a/applets/kicker/plugin/computermodel.h
+++ b/applets/kicker/plugin/computermodel.h
@@ -40,7 +40,7 @@ class FilteredPlacesModel : public QSortFilterProxyModel
     Q_OBJECT
 
     public:
-        FilteredPlacesModel(QObject *parent = 0);
+        FilteredPlacesModel(QObject *parent = nullptr);
         ~FilteredPlacesModel();
 
         QUrl url(const QModelIndex &index) const;
@@ -60,7 +60,7 @@ class RunCommandModel : public AbstractModel
     Q_OBJECT
 
     public:
-        RunCommandModel(QObject *parent = 0);
+        RunCommandModel(QObject *parent = nullptr);
         ~RunCommandModel();
 
         QString description() const override;
@@ -81,7 +81,7 @@ class ComputerModel : public ForwardingModel
     Q_PROPERTY(QStringList systemApplications READ systemApplications WRITE \
setSystemApplications NOTIFY systemApplicationsChanged)  
     public:
-        explicit ComputerModel(QObject *parent = 0);
+        explicit ComputerModel(QObject *parent = nullptr);
         ~ComputerModel();
 
         QString description() const override;
diff --git a/applets/kicker/plugin/containmentinterface.h \
b/applets/kicker/plugin/containmentinterface.h index 2700ad86..94ab39fe 100644
--- a/applets/kicker/plugin/containmentinterface.h
+++ b/applets/kicker/plugin/containmentinterface.h
@@ -41,7 +41,7 @@ class ContainmentInterface : public QObject
 
         Q_ENUM(Target)
 
-        ContainmentInterface(QObject *parent = 0);
+        ContainmentInterface(QObject *parent = nullptr);
         ~ContainmentInterface();
 
         static Q_INVOKABLE bool mayAddLauncher(QObject *appletInterface, Target \
                target, const QString &entryPath = QString());
diff --git a/applets/kicker/plugin/draghelper.h b/applets/kicker/plugin/draghelper.h
index b64203a9..84c9f4f3 100644
--- a/applets/kicker/plugin/draghelper.h
+++ b/applets/kicker/plugin/draghelper.h
@@ -32,7 +32,7 @@ class DragHelper : public QObject
     Q_PROPERTY(int dragIconSize READ dragIconSize WRITE setDragIconSize NOTIFY \
dragIconSizeChanged)  
     public:
-        DragHelper(QObject *parent = 0);
+        DragHelper(QObject *parent = nullptr);
         ~DragHelper();
 
         int dragIconSize() const;
diff --git a/applets/kicker/plugin/forwardingmodel.h \
b/applets/kicker/plugin/forwardingmodel.h index 088dbbd8..3ab31aca 100644
--- a/applets/kicker/plugin/forwardingmodel.h
+++ b/applets/kicker/plugin/forwardingmodel.h
@@ -28,10 +28,10 @@ class ForwardingModel : public AbstractModel
 {
     Q_OBJECT
 
-    Q_PROPERTY(QAbstractItemModel* sourceModel READ sourceModel WRITE setSourceModel \
NOTIFY sourceModelChanged); +    Q_PROPERTY(QAbstractItemModel* sourceModel READ \
sourceModel WRITE setSourceModel NOTIFY sourceModelChanged)  
     public:
-        explicit ForwardingModel(QObject *parent = 0);
+        explicit ForwardingModel(QObject *parent = nullptr);
         ~ForwardingModel();
 
         QString description() const override;
diff --git a/applets/kicker/plugin/funnelmodel.h \
b/applets/kicker/plugin/funnelmodel.h index 1550388c..b3feeb40 100644
--- a/applets/kicker/plugin/funnelmodel.h
+++ b/applets/kicker/plugin/funnelmodel.h
@@ -27,7 +27,7 @@ class FunnelModel : public ForwardingModel
     Q_OBJECT
 
     public:
-        explicit FunnelModel(QObject *parent = 0);
+        explicit FunnelModel(QObject *parent = nullptr);
         ~FunnelModel();
 
         void setSourceModel(QAbstractItemModel *model) override;
diff --git a/applets/kicker/plugin/kastatsfavoritesmodel.h \
b/applets/kicker/plugin/kastatsfavoritesmodel.h index f41e4d09..a4104225 100644
--- a/applets/kicker/plugin/kastatsfavoritesmodel.h
+++ b/applets/kicker/plugin/kastatsfavoritesmodel.h
@@ -51,7 +51,7 @@ class KAStatsFavoritesModel : public PlaceholderModel
     Q_PROPERTY(QObject* activities READ activities CONSTANT)
 
     public:
-        explicit KAStatsFavoritesModel(QObject *parent = 0);
+        explicit KAStatsFavoritesModel(QObject *parent = nullptr);
         ~KAStatsFavoritesModel();
 
         QString description() const;
diff --git a/applets/kicker/plugin/menuentryeditor.h \
b/applets/kicker/plugin/menuentryeditor.h index 49b8c249..7484afba 100644
--- a/applets/kicker/plugin/menuentryeditor.h
+++ b/applets/kicker/plugin/menuentryeditor.h
@@ -27,7 +27,7 @@ class MenuEntryEditor : public QObject
     Q_OBJECT
 
     public:
-        MenuEntryEditor(QObject *parent = 0);
+        MenuEntryEditor(QObject *parent = nullptr);
         ~MenuEntryEditor();
 
     bool canEdit(const QString &entryPath) const;
diff --git a/applets/kicker/plugin/placeholdermodel.h \
b/applets/kicker/plugin/placeholdermodel.h index c6835d8c..977f9f27 100644
--- a/applets/kicker/plugin/placeholdermodel.h
+++ b/applets/kicker/plugin/placeholdermodel.h
@@ -34,7 +34,7 @@ class PlaceholderModel : public AbstractModel
     Q_PROPERTY(int dropPlaceholderIndex READ dropPlaceholderIndex WRITE \
setDropPlaceholderIndex NOTIFY dropPlaceholderIndexChanged)  
     public:
-        explicit PlaceholderModel(QObject *parent = 0);
+        explicit PlaceholderModel(QObject *parent = nullptr);
         ~PlaceholderModel();
 
         QString description() const;
diff --git a/applets/kicker/plugin/processrunner.h \
b/applets/kicker/plugin/processrunner.h index 8390bc8c..a9005e33 100644
--- a/applets/kicker/plugin/processrunner.h
+++ b/applets/kicker/plugin/processrunner.h
@@ -27,7 +27,7 @@ class ProcessRunner : public QObject
     Q_OBJECT
 
     public:
-        ProcessRunner(QObject *parent = 0);
+        ProcessRunner(QObject *parent = nullptr);
         ~ProcessRunner();
 
         Q_INVOKABLE void runMenuEditor();
diff --git a/applets/kicker/plugin/recentcontactsmodel.h \
b/applets/kicker/plugin/recentcontactsmodel.h index 1183655d..5f5d3be3 100644
--- a/applets/kicker/plugin/recentcontactsmodel.h
+++ b/applets/kicker/plugin/recentcontactsmodel.h
@@ -32,7 +32,7 @@ class RecentContactsModel : public ForwardingModel
     Q_OBJECT
 
     public:
-        explicit RecentContactsModel(QObject *parent = 0);
+        explicit RecentContactsModel(QObject *parent = nullptr);
         ~RecentContactsModel();
 
         QString description() const override;
diff --git a/applets/kicker/plugin/recentusagemodel.h \
b/applets/kicker/plugin/recentusagemodel.h index 6e92958b..816e0a86 100644
--- a/applets/kicker/plugin/recentusagemodel.h
+++ b/applets/kicker/plugin/recentusagemodel.h
@@ -68,7 +68,7 @@ class RecentUsageModel : public ForwardingModel, public \
QQmlParserStatus  enum Ordering { Recent, Popular };
 
         explicit RecentUsageModel(
-                QObject *parent = 0,
+                QObject *parent = nullptr,
                 IncludeUsage usage = AppsAndDocs,
                 int ordering = Recent);
         ~RecentUsageModel();
diff --git a/applets/kicker/plugin/rootmodel.h b/applets/kicker/plugin/rootmodel.h
index 3101095c..3f1d425f 100644
--- a/applets/kicker/plugin/rootmodel.h
+++ b/applets/kicker/plugin/rootmodel.h
@@ -60,7 +60,7 @@ class RootModel : public AppsModel
     Q_PROPERTY(bool showPowerSession READ showPowerSession WRITE setShowPowerSession \
NOTIFY showPowerSessionChanged)  
     public:
-        explicit RootModel(QObject *parent = 0);
+        explicit RootModel(QObject *parent = nullptr);
         ~RootModel();
 
         QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const \
                override;
diff --git a/applets/kicker/plugin/runnermatchesmodel.h \
b/applets/kicker/plugin/runnermatchesmodel.h index 063d2d0c..932fefe0 100644
--- a/applets/kicker/plugin/runnermatchesmodel.h
+++ b/applets/kicker/plugin/runnermatchesmodel.h
@@ -37,7 +37,7 @@ class RunnerMatchesModel : public AbstractModel
 
     public:
         explicit RunnerMatchesModel(const QString &runnerId, const QString &name,
-            Plasma::RunnerManager *manager, QObject *parent = 0);
+            Plasma::RunnerManager *manager, QObject *parent = nullptr);
 
         QString description() const override;
 
diff --git a/applets/kicker/plugin/runnermodel.h \
b/applets/kicker/plugin/runnermodel.h index 7685c1ab..65c23f6d 100644
--- a/applets/kicker/plugin/runnermodel.h
+++ b/applets/kicker/plugin/runnermodel.h
@@ -42,13 +42,13 @@ class RunnerModel : public QAbstractListModel
     Q_PROPERTY(int count READ count NOTIFY countChanged)
     Q_PROPERTY(AbstractModel* favoritesModel READ favoritesModel WRITE \
                setFavoritesModel NOTIFY favoritesModelChanged)
     Q_PROPERTY(QObject* appletInterface READ appletInterface WRITE \
                setAppletInterface NOTIFY appletInterfaceChanged)
-    Q_PROPERTY(QStringList runners READ runners WRITE setRunners NOTIFY \
                runnersChanged);
-    Q_PROPERTY(QString query READ query WRITE setQuery NOTIFY queryChanged);
+    Q_PROPERTY(QStringList runners READ runners WRITE setRunners NOTIFY \
runnersChanged) +    Q_PROPERTY(QString query READ query WRITE setQuery NOTIFY \
                queryChanged)
     Q_PROPERTY(bool mergeResults READ mergeResults WRITE setMergeResults NOTIFY \
                mergeResultsChanged)
     Q_PROPERTY(bool deleteWhenEmpty READ deleteWhenEmpty WRITE setDeleteWhenEmpty \
NOTIFY deleteWhenEmptyChanged)  
     public:
-        explicit RunnerModel(QObject *parent = 0);
+        explicit RunnerModel(QObject *parent = nullptr);
         ~RunnerModel();
 
         QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const \
                override;
diff --git a/applets/kicker/plugin/simplefavoritesmodel.h \
b/applets/kicker/plugin/simplefavoritesmodel.h index 77bb6c6a..4d4253b5 100644
--- a/applets/kicker/plugin/simplefavoritesmodel.h
+++ b/applets/kicker/plugin/simplefavoritesmodel.h
@@ -36,7 +36,7 @@ class SimpleFavoritesModel : public AbstractModel
     Q_PROPERTY(int dropPlaceholderIndex READ dropPlaceholderIndex WRITE \
setDropPlaceholderIndex NOTIFY dropPlaceholderIndexChanged)  
     public:
-        explicit SimpleFavoritesModel(QObject *parent = 0);
+        explicit SimpleFavoritesModel(QObject *parent = nullptr);
         ~SimpleFavoritesModel();
 
         QString description() const override;
diff --git a/applets/kicker/plugin/submenu.h b/applets/kicker/plugin/submenu.h
index 43852e80..2ceaa452 100644
--- a/applets/kicker/plugin/submenu.h
+++ b/applets/kicker/plugin/submenu.h
@@ -33,7 +33,7 @@ class SubMenu : public PlasmaQuick::Dialog
     Q_PROPERTY(bool facingLeft READ facingLeft NOTIFY facingLeftChanged)
 
     public:
-        SubMenu(QQuickItem *parent = 0);
+        SubMenu(QQuickItem *parent = nullptr);
         ~SubMenu();
 
         Q_INVOKABLE QRect availableScreenRectForItem(QQuickItem *item) const;
diff --git a/applets/kicker/plugin/systemmodel.h \
b/applets/kicker/plugin/systemmodel.h index a1d9e39e..ff0a0c83 100644
--- a/applets/kicker/plugin/systemmodel.h
+++ b/applets/kicker/plugin/systemmodel.h
@@ -29,7 +29,7 @@ class SystemModel : public AbstractModel
     Q_OBJECT
 
     public:
-        explicit SystemModel(QObject *parent = 0);
+        explicit SystemModel(QObject *parent = nullptr);
         ~SystemModel();
 
         QString description() const override;
diff --git a/applets/kicker/plugin/systemsettings.h \
b/applets/kicker/plugin/systemsettings.h index 9485f4eb..0d6c762c 100644
--- a/applets/kicker/plugin/systemsettings.h
+++ b/applets/kicker/plugin/systemsettings.h
@@ -27,7 +27,7 @@ class SystemSettings : public QObject
     Q_OBJECT
 
     public:
-        SystemSettings(QObject *parent = 0);
+        SystemSettings(QObject *parent = nullptr);
         ~SystemSettings();
 
         Q_INVOKABLE QString picturesLocation() const;
diff --git a/applets/kicker/plugin/wheelinterceptor.h \
b/applets/kicker/plugin/wheelinterceptor.h index 59edf060..612f718b 100644
--- a/applets/kicker/plugin/wheelinterceptor.h
+++ b/applets/kicker/plugin/wheelinterceptor.h
@@ -30,7 +30,7 @@ class WheelInterceptor : public QQuickItem
     Q_PROPERTY(QQuickItem* destination READ destination WRITE setDestination NOTIFY \
destinationChanged)  
     public:
-        WheelInterceptor(QQuickItem *parent = 0);
+        WheelInterceptor(QQuickItem *parent = nullptr);
         ~WheelInterceptor();
 
         QQuickItem *destination() const;
diff --git a/applets/kimpanel/backend/scim/main.cpp \
b/applets/kimpanel/backend/scim/main.cpp index 5ae36c27..b1ff48e7 100644
--- a/applets/kimpanel/backend/scim/main.cpp
+++ b/applets/kimpanel/backend/scim/main.cpp
@@ -1258,7 +1258,7 @@ int main(int argc, char *argv [])
     KDE_signal(SIGINT,  signalhandler);
     KDE_signal(SIGHUP,  signalhandler);
 
-    const char *p = qgetenv("DISPLAY");
+    const char *p = qgetenv("DISPLAY").constData();
     if (p) display_name = String(p);
 
     if (!initialize_panel_agent(config_name, display_name, should_resident)) {
diff --git a/applets/kimpanel/plugin/screen.h b/applets/kimpanel/plugin/screen.h
index 34ac74b2..be434c3a 100644
--- a/applets/kimpanel/plugin/screen.h
+++ b/applets/kimpanel/plugin/screen.h
@@ -28,7 +28,7 @@ class Screen : public QObject
 {
     Q_OBJECT
 public:
-    Screen(QObject* parent = 0);
+    Screen(QObject* parent = nullptr);
     ~Screen();
 
     Q_INVOKABLE QRect geometryForPoint(int x, int y);
diff --git a/applets/taskmanager/plugin/backend.h \
b/applets/taskmanager/plugin/backend.h index 0ddacb94..d5476f86 100644
--- a/applets/taskmanager/plugin/backend.h
+++ b/applets/taskmanager/plugin/backend.h
@@ -56,7 +56,7 @@ class Backend : public QObject
 
         Q_ENUM(MiddleClickAction);
 
-        Backend(QObject *parent = 0);
+        Backend(QObject *parent = nullptr);
         ~Backend();
 
         QQuickItem *taskManagerItem() const;
diff --git a/kcms/cursortheme/xcursor/previewwidget.h \
b/kcms/cursortheme/xcursor/previewwidget.h index 1028b1e9..a23090d7 100644
--- a/kcms/cursortheme/xcursor/previewwidget.h
+++ b/kcms/cursortheme/xcursor/previewwidget.h
@@ -35,7 +35,7 @@ class PreviewWidget : public QQuickPaintedItem
 
 
     public:
-        PreviewWidget(QQuickItem *parent = 0);
+        PreviewWidget(QQuickItem *parent = nullptr);
         ~PreviewWidget();
 
         void setTheme(const CursorTheme *theme, const int size);
diff --git a/kcms/cursortheme/xcursor/sortproxymodel.h \
b/kcms/cursortheme/xcursor/sortproxymodel.h index 650ad039..67fac0ea 100644
--- a/kcms/cursortheme/xcursor/sortproxymodel.h
+++ b/kcms/cursortheme/xcursor/sortproxymodel.h
@@ -36,7 +36,7 @@ class SortProxyModel : public QSortFilterProxyModel
 {
     Q_OBJECT
     public:
-        SortProxyModel(QObject *parent = 0) : QSortFilterProxyModel(parent) {}
+        SortProxyModel(QObject *parent = nullptr) : QSortFilterProxyModel(parent) {}
         ~SortProxyModel() {}
         QHash<int, QByteArray> roleNames() const;
         inline const CursorTheme *theme(const QModelIndex &index) const;
diff --git a/kcms/cursortheme/xcursor/thememodel.h \
b/kcms/cursortheme/xcursor/thememodel.h index a9ff4a20..58af9576 100644
--- a/kcms/cursortheme/xcursor/thememodel.h
+++ b/kcms/cursortheme/xcursor/thememodel.h
@@ -60,14 +60,14 @@ class CursorThemeModel : public QAbstractTableModel
     Q_OBJECT
 
     public:
-        CursorThemeModel(QObject *parent = 0);
-        ~CursorThemeModel();
-        QHash<int, QByteArray> roleNames() const;
+        explicit CursorThemeModel(QObject *parent = nullptr);
+        ~CursorThemeModel() override;
+        QHash<int, QByteArray> roleNames() const override;
        inline int columnCount(const QModelIndex &parent = QModelIndex()) const;
         inline int rowCount(const QModelIndex &parent = QModelIndex()) const;
-        QVariant headerData(int section, Qt::Orientation orientation, int role) \
                const;
-        QVariant data(const QModelIndex &index, int role) const;
-        void sort(int column, Qt::SortOrder order = Qt::AscendingOrder);
+        QVariant headerData(int section, Qt::Orientation orientation, int role) \
const override; +        QVariant data(const QModelIndex &index, int role) const \
override; +        void sort(int column, Qt::SortOrder order = Qt::AscendingOrder) \
override;  
         /// Returns the CursorTheme at @p index.
         const CursorTheme *theme(const QModelIndex &index);
diff --git a/kcms/fonts/fonts.h b/kcms/fonts/fonts.h
index ba2c9887..25433b29 100644
--- a/kcms/fonts/fonts.h
+++ b/kcms/fonts/fonts.h
@@ -39,9 +39,9 @@ class FontAASettings : public QObject
     Q_OBJECT
 
     Q_PROPERTY(QAbstractItemModel *subPixelOptionsModel READ subPixelOptionsModel \
                CONSTANT)
-    Q_PROPERTY(int subPixelCurrentIndex READ subPixelCurrentIndex WRITE \
setSubPixelCurrentIndex NOTIFY subPixelCurrentIndexChanged); +    Q_PROPERTY(int \
subPixelCurrentIndex READ subPixelCurrentIndex WRITE setSubPixelCurrentIndex NOTIFY \
                subPixelCurrentIndexChanged)
     Q_PROPERTY(QAbstractItemModel *hintingOptionsModel READ hintingOptionsModel \
                CONSTANT)
-    Q_PROPERTY(int hintingCurrentIndex READ hintingCurrentIndex WRITE \
setHintingCurrentIndex NOTIFY hintingCurrentIndexChanged); +    Q_PROPERTY(int \
hintingCurrentIndex READ hintingCurrentIndex WRITE setHintingCurrentIndex NOTIFY \
hintingCurrentIndexChanged)  
     Q_PROPERTY(bool exclude READ exclude WRITE setExclude NOTIFY excludeChanged)
     Q_PROPERTY(int excludeTo READ excludeTo WRITE setExcludeTo NOTIFY \
                excludeToChanged)
diff --git a/kcms/formats/kcmformats.h b/kcms/formats/kcmformats.h
index 1fcf8cc7..5ee3ee50 100644
--- a/kcms/formats/kcmformats.h
+++ b/kcms/formats/kcmformats.h
@@ -36,7 +36,7 @@ class KCMFormats : public KCModule
     Q_OBJECT
 
 public:
-    explicit KCMFormats(QWidget *parent = 0, const QVariantList &list = \
QVariantList()); +    explicit KCMFormats(QWidget *parent = nullptr, const \
QVariantList &list = QVariantList());  ~KCMFormats();
 
     void load() override;
diff --git a/kcms/hardware/joystick/joystick.h b/kcms/hardware/joystick/joystick.h
index bbb6f2f6..b1f7abed 100644
--- a/kcms/hardware/joystick/joystick.h
+++ b/kcms/hardware/joystick/joystick.h
@@ -34,7 +34,7 @@ class Joystick: public KCModule
   Q_OBJECT
 
   public:
-    explicit Joystick(QWidget *parent = 0, const QVariantList &list = \
QVariantList()); +    explicit Joystick(QWidget *parent = nullptr, const QVariantList \
&list = QVariantList());  
     void load() override;
     void defaults() override;
diff --git a/kcms/hardware/joystick/joywidget.h b/kcms/hardware/joystick/joywidget.h
index 74e99d17..76c403a8 100644
--- a/kcms/hardware/joystick/joywidget.h
+++ b/kcms/hardware/joystick/joywidget.h
@@ -41,7 +41,7 @@ class JoyWidget : public QWidget
   Q_OBJECT
   
   public:
-    JoyWidget(QWidget *parent = 0);
+    JoyWidget(QWidget *parent = nullptr);
 
     ~JoyWidget();
 
diff --git a/kcms/hardware/joystick/poswidget.h b/kcms/hardware/joystick/poswidget.h
index c7a3dadd..7cf28907 100644
--- a/kcms/hardware/joystick/poswidget.h
+++ b/kcms/hardware/joystick/poswidget.h
@@ -33,7 +33,7 @@ class PosWidget : public QWidget
   Q_OBJECT
 
   public:
-    PosWidget(QWidget *parent = 0);
+    PosWidget(QWidget *parent = nullptr);
 
     void changeX(int x);
     void changeY(int y);
diff --git a/kcms/keyboard/kcm_view_models.h b/kcms/keyboard/kcm_view_models.h
index 5137a913..bc712318 100644
--- a/kcms/keyboard/kcm_view_models.h
+++ b/kcms/keyboard/kcm_view_models.h
@@ -35,7 +35,7 @@ class LayoutsTableModel : public QAbstractTableModel
      Q_OBJECT
 
  public:
-     LayoutsTableModel(Rules* rules, Flags *flags, KeyboardConfig* keyboardConfig, \
QObject *parent = 0); +     LayoutsTableModel(Rules* rules, Flags *flags, \
KeyboardConfig* keyboardConfig, QObject *parent = nullptr);  
      int columnCount(const QModelIndex&) const override;
      Qt::ItemFlags flags(const QModelIndex &index) const override;
@@ -71,7 +71,7 @@ class LabelEditDelegate : public QStyledItemDelegate
 	Q_OBJECT
 
 public:
-	explicit LabelEditDelegate(const KeyboardConfig* keyboardConfig, QObject *parent = \
0); +	explicit LabelEditDelegate(const KeyboardConfig* keyboardConfig, QObject \
*parent = nullptr);  
 	QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &option,
 			const QModelIndex &index) const override;
@@ -90,7 +90,7 @@ class VariantComboDelegate : public QStyledItemDelegate
 	Q_OBJECT
 
 public:
-	VariantComboDelegate(const KeyboardConfig* keyboardConfig, const Rules* rules, \
QObject *parent = 0); +	VariantComboDelegate(const KeyboardConfig* keyboardConfig, \
const Rules* rules, QObject *parent = nullptr);  
 	QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &option,
 			const QModelIndex &index) const override;
@@ -112,7 +112,7 @@ class KKeySequenceWidgetDelegate : public QStyledItemDelegate
 	Q_OBJECT
 
 public:
-	KKeySequenceWidgetDelegate(const KeyboardConfig* keyboardConfig_, QObject *parent = \
0); +	KKeySequenceWidgetDelegate(const KeyboardConfig* keyboardConfig_, QObject \
*parent = nullptr);  
 	QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &option,
 			const QModelIndex &index) const override;
diff --git a/kcms/keyboard/preview/kbpreviewframe.h \
b/kcms/keyboard/preview/kbpreviewframe.h index 61894873..77c9c958 100644
--- a/kcms/keyboard/preview/kbpreviewframe.h
+++ b/kcms/keyboard/preview/kbpreviewframe.h
@@ -63,7 +63,7 @@ protected:
     bool event(QEvent *event) override;
 
 public:
-    explicit KbPreviewFrame(QWidget *parent = 0);
+    explicit KbPreviewFrame(QWidget *parent = nullptr);
     ~KbPreviewFrame() override;
     void paintEvent(QPaintEvent *event) override;
     void generateKeyboardLayout(const QString &layout, const QString &layoutVariant, \
                const QString &model);
diff --git a/kcms/keys/select_scheme_dialog.h b/kcms/keys/select_scheme_dialog.h
index 279436cd..face9106 100644
--- a/kcms/keys/select_scheme_dialog.h
+++ b/kcms/keys/select_scheme_dialog.h
@@ -31,7 +31,7 @@ class SelectSchemeDialog : public QDialog
 {
     Q_OBJECT
 public:
-    SelectSchemeDialog(QWidget *parent = 0);
+    SelectSchemeDialog(QWidget *parent = nullptr);
     ~SelectSchemeDialog();
 
     QUrl selectedScheme() const;
diff --git a/kcms/kfontinst/dbus/FontinstIface.h \
b/kcms/kfontinst/dbus/FontinstIface.h index cda8cfc2..a04fa5ee 100644
--- a/kcms/kfontinst/dbus/FontinstIface.h
+++ b/kcms/kfontinst/dbus/FontinstIface.h
@@ -36,7 +36,7 @@ public:
     { return "org.kde.fontinst"; }
 
 public:
-    OrgKdeFontinstInterface(const QString &service, const QString &path, const \
QDBusConnection &connection, QObject *parent = 0); +    OrgKdeFontinstInterface(const \
QString &service, const QString &path, const QDBusConnection &connection, QObject \
*parent = nullptr);  
     ~OrgKdeFontinstInterface();
 
diff --git a/kcms/kfontinst/kcmfontinst/DuplicatesDialog.cpp \
b/kcms/kfontinst/kcmfontinst/DuplicatesDialog.cpp index 6f439fe8..a26d287e 100644
--- a/kcms/kfontinst/kcmfontinst/DuplicatesDialog.cpp
+++ b/kcms/kfontinst/kcmfontinst/DuplicatesDialog.cpp
@@ -179,7 +179,7 @@ void CDuplicatesDialog::scanFinished()
                 top->setFont(COL_FILE, boldFont);
             }
 
-            QTreeWidgetItem *item=0L;
+            QTreeWidgetItem *item= nullptr;
             for(int i=0; (item=itsView->topLevelItem(i)); ++i)
                 item->setExpanded(true);
 
diff --git a/kcms/kfontinst/kcmfontinst/GroupList.cpp \
b/kcms/kfontinst/kcmfontinst/GroupList.cpp index 4e34ac54..3187466a 100644
--- a/kcms/kfontinst/kcmfontinst/GroupList.cpp
+++ b/kcms/kfontinst/kcmfontinst/GroupList.cpp
@@ -842,7 +842,7 @@ CGroupListView::CGroupListView(QWidget *parent, CGroupList \
*model)  this, SIGNAL(print()));
     }
     else
-        itsPrintAct=0L;
+        itsPrintAct= nullptr;
     itsMenu->addSeparator();
     itsExportAct=itsMenu->addAction(QIcon::fromTheme("document-export"), \
i18n("Export..."),  this, SIGNAL(zip()));
diff --git a/kcms/kfontinst/kcmfontinst/GroupList.h \
b/kcms/kfontinst/kcmfontinst/GroupList.h index c816b890..44676575 100644
--- a/kcms/kfontinst/kcmfontinst/GroupList.h
+++ b/kcms/kfontinst/kcmfontinst/GroupList.h
@@ -106,7 +106,7 @@ class CGroupList : public QAbstractItemModel
 
     public:
 
-    CGroupList(QWidget *parent = 0);
+    CGroupList(QWidget *parent = nullptr);
     ~CGroupList();
 
     QVariant        data(const QModelIndex &index, int role) const override;
diff --git a/kcms/kfontinst/kcmfontinst/JobRunner.cpp \
b/kcms/kfontinst/kcmfontinst/JobRunner.cpp index 124d4590..5a70f826 100644
--- a/kcms/kfontinst/kcmfontinst/JobRunner.cpp
+++ b/kcms/kfontinst/kcmfontinst/JobRunner.cpp
@@ -204,7 +204,7 @@ CJobRunner::CJobRunner(QWidget *parent, int xid)
     itsStack->insertWidget(PAGE_CANCEL, page);
 
     if(KSharedConfig::openConfig(KFI_UI_CFG_FILE)->group(CFG_GROUP).readEntry(CFG_DONT_SHOW_FINISHED_MSG, \
                false))
-        itsDontShowFinishedMsg=0L;
+        itsDontShowFinishedMsg= nullptr;
     else
     {
         page=new QFrame(itsStack);
@@ -383,7 +383,7 @@ int CJobRunner::exec(ECommand cmd, const ItemList &urls, bool \
destIsSystem)  if(itsTempDir)
     {
         delete itsTempDir;
-        itsTempDir=0L;
+        itsTempDir= nullptr;
     }
     return rv;
 }
diff --git a/kcms/kfontinst/kcmfontinst/PreviewList.cpp \
b/kcms/kfontinst/kcmfontinst/PreviewList.cpp index 92250b1e..a0103f7c 100644
--- a/kcms/kfontinst/kcmfontinst/PreviewList.cpp
+++ b/kcms/kfontinst/kcmfontinst/PreviewList.cpp
@@ -37,7 +37,7 @@
 namespace KFI
 {
 
-static CFcEngine * theFcEngine=0L;
+static CFcEngine * theFcEngine= nullptr;
 
 CPreviewList::CPreviewList(QObject *parent)
             : QAbstractItemModel(parent)
diff --git a/kcms/kfontinst/kcmfontinst/PreviewList.h \
b/kcms/kfontinst/kcmfontinst/PreviewList.h index 6a58efb4..036231c1 100644
--- a/kcms/kfontinst/kcmfontinst/PreviewList.h
+++ b/kcms/kfontinst/kcmfontinst/PreviewList.h
@@ -60,7 +60,7 @@ class CPreviewList : public QAbstractItemModel
 
     public:
 
-    CPreviewList(QObject *parent = 0);
+    CPreviewList(QObject *parent = nullptr);
     virtual ~CPreviewList() { clear(); }
 
     QVariant        data(const QModelIndex &index, int role) const override;
diff --git a/kcms/kfontinst/lib/FcEngine.cpp b/kcms/kfontinst/lib/FcEngine.cpp
index eeb504ec..62d628e8 100644
--- a/kcms/kfontinst/lib/FcEngine.cpp
+++ b/kcms/kfontinst/lib/FcEngine.cpp
@@ -136,7 +136,7 @@ static void closeFont(XftFont *&font)
 {
     if(font)
         XftFontClose(QX11Info::display(), font);
-    font=0L;
+    font= nullptr;
 }
 
 class CFcEngine::Xft
@@ -207,9 +207,9 @@ class CFcEngine::Xft
     bool drawGlyph(XftFont *xftFont, FT_UInt i, int &x, int &y, int w, int h,
                    int fontHeight,bool oneLine, QRect &r) const;
     bool drawAllGlyphs(XftFont *xftFont, int fontHeight, int &x, int &y, int w, int \
                h,
-                       bool oneLine=false, int max=-1, QRect *used=0L) const;
+                       bool oneLine=false, int max=-1, QRect *used= nullptr) const;
     bool drawAllChars(XftFont *xftFont, int fontHeight, int &x, int &y, int w, int \
                h,
-                      bool oneLine=false, int max=-1, QRect *used=0L) const;
+                      bool oneLine=false, int max=-1, QRect *used= nullptr) const;
     QImage toImage(int w, int h) const;
 
     private:
@@ -223,7 +223,7 @@ class CFcEngine::Xft
 
 CFcEngine::Xft::Xft()
 {
-    itsDraw=0L;
+    itsDraw= nullptr;
     itsTxtColor.color.alpha=0x0000;
     init(Qt::black, Qt::white, 64, 64);
 }
@@ -234,7 +234,7 @@ CFcEngine::Xft::~Xft()
     if(itsDraw)
     {
         XftDrawDestroy(itsDraw);
-        itsDraw=0L;
+        itsDraw= nullptr;
     }
 }
 
diff --git a/kcms/kfontinst/lib/Misc.h b/kcms/kfontinst/lib/Misc.h
index 644ae766..a5e7c784 100644
--- a/kcms/kfontinst/lib/Misc.h
+++ b/kcms/kfontinst/lib/Misc.h
@@ -103,7 +103,7 @@ namespace Misc
     {
         return folder+file[0].toLower()+'/';
     }
-    extern Q_DECL_EXPORT QString app(const QString &name, const char *path=0L);
+    extern Q_DECL_EXPORT QString app(const QString &name, const char *path= \
nullptr);  }
 
 }
diff --git a/kcms/launch/launchfeedback.h b/kcms/launch/launchfeedback.h
index 0b5798c8..228d2b25 100644
--- a/kcms/launch/launchfeedback.h
+++ b/kcms/launch/launchfeedback.h
@@ -32,7 +32,7 @@ class LaunchFeedback : public KQuickAddons::ConfigModule
     Q_PROPERTY(int notificationTimeout READ notificationTimeout WRITE \
setNotificationTimeout NOTIFY notificationTimeoutChanged)  
     public:
-        explicit LaunchFeedback(QObject* parent = 0, const QVariantList &list = \
QVariantList()); +        explicit LaunchFeedback(QObject* parent = nullptr, const \
QVariantList &list = QVariantList());  ~LaunchFeedback() override;
 
         int busyCursorCurrentIndex() const;
diff --git a/kcms/mouse/backends/kwin_wl/kwin_wl_backend.h \
b/kcms/mouse/backends/kwin_wl/kwin_wl_backend.h index 6018d136..ad054e45 100644
--- a/kcms/mouse/backends/kwin_wl/kwin_wl_backend.h
+++ b/kcms/mouse/backends/kwin_wl/kwin_wl_backend.h
@@ -33,7 +33,7 @@ class KWinWaylandBackend : public InputBackend
     Q_PROPERTY(int deviceCount READ deviceCount CONSTANT)
 
 public:
-    explicit KWinWaylandBackend(QObject *parent = 0);
+    explicit KWinWaylandBackend(QObject *parent = nullptr);
     ~KWinWaylandBackend();
 
     bool applyConfig() override;
diff --git a/kcms/mouse/backends/x11/x11_libinput_backend.h \
b/kcms/mouse/backends/x11/x11_libinput_backend.h index 9343dc77..a0ac9f76 100644
--- a/kcms/mouse/backends/x11/x11_libinput_backend.h
+++ b/kcms/mouse/backends/x11/x11_libinput_backend.h
@@ -30,7 +30,7 @@ class X11LibinputBackend : public X11Backend
     Q_PROPERTY(int deviceCount READ deviceCount CONSTANT)
 
 public:
-    explicit X11LibinputBackend(QObject *parent = 0);
+    explicit X11LibinputBackend(QObject *parent = nullptr);
     ~X11LibinputBackend() = default;
 
     void kcmInit() override;
diff --git a/kcms/phonon/backendselection.h b/kcms/phonon/backendselection.h
index 15eea61c..f000e34c 100644
--- a/kcms/phonon/backendselection.h
+++ b/kcms/phonon/backendselection.h
@@ -51,7 +51,7 @@ class BackendSelection : public QWidget, private \
Ui::BackendSelection  {
     Q_OBJECT
 public:
-    explicit BackendSelection(QWidget *parent = 0);
+    explicit BackendSelection(QWidget *parent = nullptr);
 
     void load();
     void save();
diff --git a/kcms/phonon/devicepreference.h b/kcms/phonon/devicepreference.h
index fcae4b2d..2ed8f368 100644
--- a/kcms/phonon/devicepreference.h
+++ b/kcms/phonon/devicepreference.h
@@ -39,7 +39,7 @@ class DevicePreference : public QWidget, private \
Ui::DevicePreference  {
     Q_OBJECT
 public:
-    explicit DevicePreference(QWidget *parent = 0);
+    explicit DevicePreference(QWidget *parent = nullptr);
     ~DevicePreference() override;
 
     void load();
diff --git a/kcms/solid_actions/ActionItem.h b/kcms/solid_actions/ActionItem.h
index 9ebc7c02..0a88f5ca 100644
--- a/kcms/solid_actions/ActionItem.h
+++ b/kcms/solid_actions/ActionItem.h
@@ -35,7 +35,7 @@ class ActionItem: public QObject
     Q_OBJECT
 
 public:
-    ActionItem(const QString& pathToDesktop, const QString& action, QObject *parent \
= 0); +    ActionItem(const QString& pathToDesktop, const QString& action, QObject \
*parent = nullptr);  ~ActionItem();
 
     bool isUserSupplied() const;
diff --git a/kcms/solid_actions/ActionModel.h b/kcms/solid_actions/ActionModel.h
index f333df54..eae6a029 100644
--- a/kcms/solid_actions/ActionModel.h
+++ b/kcms/solid_actions/ActionModel.h
@@ -29,7 +29,7 @@ class ActionModel : public QAbstractTableModel
     Q_OBJECT
 
 public:
-    explicit ActionModel( QObject *parent = 0 );
+    explicit ActionModel( QObject *parent = nullptr );
     ~ActionModel();
 
     QVariant data( const QModelIndex &index, int role ) const override;
diff --git a/kcms/solid_actions/PredicateModel.h \
b/kcms/solid_actions/PredicateModel.h index 70ca6b73..f59bd933 100644
--- a/kcms/solid_actions/PredicateModel.h
+++ b/kcms/solid_actions/PredicateModel.h
@@ -31,7 +31,7 @@ class PredicateModel : public QAbstractItemModel
     Q_OBJECT
 
 public:
-    explicit PredicateModel( PredicateItem * menuRoot, QObject *parent = 0 );
+    explicit PredicateModel( PredicateItem * menuRoot, QObject *parent = nullptr );
     ~PredicateModel();
 
     QVariant data( const QModelIndex &index, int role ) const override;
diff --git a/kcms/style/kcmstyle.cpp b/kcms/style/kcmstyle.cpp
index 041b984f..ae6b4061 100644
--- a/kcms/style/kcmstyle.cpp
+++ b/kcms/style/kcmstyle.cpp
@@ -109,7 +109,7 @@ extern "C"
 class StylePreview : public QWidget, public Ui::StylePreview
 {
 public:
-    StylePreview(QWidget *parent = 0)
+    StylePreview(QWidget *parent = nullptr)
     : QWidget(parent)
     {
         setupUi(this);
diff --git a/kcms/touchpad/src/applet/touchpadservice.cpp \
b/kcms/touchpad/src/applet/touchpadservice.cpp index cdbae627..300b2301 100644
--- a/kcms/touchpad/src/applet/touchpadservice.cpp
+++ b/kcms/touchpad/src/applet/touchpadservice.cpp
@@ -38,7 +38,7 @@ class TouchpadJob : public Plasma::ServiceJob
 public:
     TouchpadJob(OrgKdeTouchpadInterface *daemon,
                 const QString &destination, const QString &operation,
-                const QMap<QString, QVariant> &parameters, QObject *parent = 0)
+                const QMap<QString, QVariant> &parameters, QObject *parent = \
nullptr)  : Plasma::ServiceJob(destination, operation, parameters, parent),
           m_daemon(daemon)
     {
diff --git a/kcms/touchpad/src/applet/touchpadservice.h \
b/kcms/touchpad/src/applet/touchpadservice.h index e9fbc673..28d6a823 100644
--- a/kcms/touchpad/src/applet/touchpadservice.h
+++ b/kcms/touchpad/src/applet/touchpadservice.h
@@ -27,7 +27,7 @@ class TouchpadService : public Plasma::Service
     Q_OBJECT
 public:
     TouchpadService(OrgKdeTouchpadInterface *daemon, const QString &destination,
-                    QObject *parent = 0);
+                    QObject *parent = nullptr);
     ~TouchpadService();
 
 protected:
diff --git a/kcms/touchpad/src/backends/kwin_wayland/kwinwaylandbackend.h \
b/kcms/touchpad/src/backends/kwin_wayland/kwinwaylandbackend.h index \
                6529026b..b31e3a94 100644
--- a/kcms/touchpad/src/backends/kwin_wayland/kwinwaylandbackend.h
+++ b/kcms/touchpad/src/backends/kwin_wayland/kwinwaylandbackend.h
@@ -33,7 +33,7 @@ class KWinWaylandBackend : public TouchpadBackend
     Q_PROPERTY(int touchpadCount READ touchpadCount CONSTANT)
 
 public:
-    explicit KWinWaylandBackend(QObject *parent = 0);
+    explicit KWinWaylandBackend(QObject *parent = nullptr);
     ~KWinWaylandBackend();
 
     bool applyConfig() override;
diff --git a/kcms/touchpad/src/backends/x11/xlibbackend.h \
b/kcms/touchpad/src/backends/x11/xlibbackend.h index 1f39c383..95a09f58 100644
--- a/kcms/touchpad/src/backends/x11/xlibbackend.h
+++ b/kcms/touchpad/src/backends/x11/xlibbackend.h
@@ -44,7 +44,7 @@ class XlibBackend : public TouchpadBackend
     Q_OBJECT
 
 public:
-    static XlibBackend* initialize(QObject *parent = 0);
+    static XlibBackend* initialize(QObject *parent = nullptr);
     ~XlibBackend();
 
     bool applyConfig(const QVariantHash &) override;
diff --git a/kcms/touchpad/src/kcm/xlib/customslider.h \
b/kcms/touchpad/src/kcm/xlib/customslider.h index 8034ea35..d3550538 100644
--- a/kcms/touchpad/src/kcm/xlib/customslider.h
+++ b/kcms/touchpad/src/kcm/xlib/customslider.h
@@ -31,7 +31,7 @@ class CustomSlider : public QSlider
                NOTIFY valueChanged USER true)
 
 public:
-    explicit CustomSlider(QWidget *parent = 0);
+    explicit CustomSlider(QWidget *parent = nullptr);
     
     void setDoubleMinimum(double);
     double doubleMinimum() const;
diff --git a/kcms/touchpad/src/kcm/xlib/sliderpair.h \
b/kcms/touchpad/src/kcm/xlib/sliderpair.h index 6b9d69ed..1e495b7b 100644
--- a/kcms/touchpad/src/kcm/xlib/sliderpair.h
+++ b/kcms/touchpad/src/kcm/xlib/sliderpair.h
@@ -27,7 +27,7 @@ class SliderPair : public QObject
 {
     Q_OBJECT
 public:
-    SliderPair(QSlider *minSlider, QSlider *maxSlider, QObject *parent = 0);
+    SliderPair(QSlider *minSlider, QSlider *maxSlider, QObject *parent = nullptr);
 
 private Q_SLOTS:
     void adjustMinSlider();
diff --git a/kcms/touchpad/src/kcm/xlib/touchpadparametersbase.h \
b/kcms/touchpad/src/kcm/xlib/touchpadparametersbase.h index 8d0a17d3..5e7ba1c5 100644
--- a/kcms/touchpad/src/kcm/xlib/touchpadparametersbase.h
+++ b/kcms/touchpad/src/kcm/xlib/touchpadparametersbase.h
@@ -27,7 +27,7 @@ class TouchpadParametersBase : public KCoreConfigSkeleton
 {
 public:
     explicit TouchpadParametersBase(const QString &configname = QString(),
-                                    QObject *parent = 0);
+                                    QObject *parent = nullptr);
 
     QVariantHash values() const;
     void setValues(const QVariantHash &);


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic