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

List:       kde-commits
Subject:    [kirigami] src: Use nullptr
From:       Laurent Montel <null () kde ! org>
Date:       2018-09-17 11:37:37
Message-ID: E1g1rqT-0005nL-Cp () code ! kde ! org
[Download RAW message or body]

Git commit 73abdf4e5038ce56e5e500084d868040493e2309 by Laurent Montel.
Committed on 17/09/2018 at 11:37.
Pushed by mlaurent into branch 'master'.

Use nullptr

M  +1    -1    src/delegaterecycler.h
M  +1    -1    src/desktopicon.h
M  +1    -1    src/libkirigami/basictheme_p.h
M  +1    -1    src/libkirigami/platformtheme.h
M  +1    -1    src/libkirigami/tabletmodewatcher.h
M  +1    -1    src/mnemonicattached.h
M  +1    -1    src/settings.h

https://commits.kde.org/kirigami/73abdf4e5038ce56e5e500084d868040493e2309

diff --git a/src/delegaterecycler.h b/src/delegaterecycler.h
index 5a5f3c5..e03eda1 100644
--- a/src/delegaterecycler.h
+++ b/src/delegaterecycler.h
@@ -55,7 +55,7 @@ class DelegateRecycler : public QQuickItem
     Q_PROPERTY(QQmlComponent *sourceComponent READ sourceComponent WRITE \
setSourceComponent RESET resetSourceComponent NOTIFY sourceComponentChanged)  
 public:
-    DelegateRecycler(QQuickItem *parent=0);
+    DelegateRecycler(QQuickItem *parent = nullptr);
     ~DelegateRecycler();
 
 
diff --git a/src/desktopicon.h b/src/desktopicon.h
index 4740b60..1894877 100644
--- a/src/desktopicon.h
+++ b/src/desktopicon.h
@@ -49,7 +49,7 @@ class DesktopIcon : public QQuickItem
     Q_PROPERTY(QColor color READ color WRITE setColor NOTIFY colorChanged)
 
 public:
-    DesktopIcon(QQuickItem *parent=0);
+    DesktopIcon(QQuickItem *parent = nullptr);
     ~DesktopIcon();
 
     void setSource(const QVariant &source);
diff --git a/src/libkirigami/basictheme_p.h b/src/libkirigami/basictheme_p.h
index b059f26..c9688c9 100644
--- a/src/libkirigami/basictheme_p.h
+++ b/src/libkirigami/basictheme_p.h
@@ -61,7 +61,7 @@ class BasicTheme : public PlatformTheme
     Q_PROPERTY(QColor viewFocusColor READ viewFocusColor NOTIFY colorsChanged)
 
 public:
-    explicit BasicTheme(QObject *parent = 0);
+    explicit BasicTheme(QObject *parent = nullptr);
     ~BasicTheme();
 
     void syncColors();
diff --git a/src/libkirigami/platformtheme.h b/src/libkirigami/platformtheme.h
index d93a1c0..466ada4 100644
--- a/src/libkirigami/platformtheme.h
+++ b/src/libkirigami/platformtheme.h
@@ -165,7 +165,7 @@ public:
     };
     Q_ENUM(ColorGroup)
 
-    explicit PlatformTheme(QObject *parent = 0);
+    explicit PlatformTheme(QObject *parent = nullptr);
     ~PlatformTheme();
 
     void setColorSet(PlatformTheme::ColorSet);
diff --git a/src/libkirigami/tabletmodewatcher.h \
b/src/libkirigami/tabletmodewatcher.h index 56bd803..f8ca1fe 100644
--- a/src/libkirigami/tabletmodewatcher.h
+++ b/src/libkirigami/tabletmodewatcher.h
@@ -79,7 +79,7 @@ Q_SIGNALS:
     void tabletModeChanged(bool tabletMode);
 
 private:
-    TabletModeWatcher(QObject *parent = 0);
+    TabletModeWatcher(QObject *parent = nullptr);
     TabletModeWatcherPrivate *d;
     friend class TabletModeWatcherSingleton;
 };
diff --git a/src/mnemonicattached.h b/src/mnemonicattached.h
index 2425ee2..ebdf175 100644
--- a/src/mnemonicattached.h
+++ b/src/mnemonicattached.h
@@ -89,7 +89,7 @@ public:
     };
     Q_ENUM(ControlType)
 
-    explicit MnemonicAttached(QObject *parent = 0);
+    explicit MnemonicAttached(QObject *parent = nullptr);
     ~MnemonicAttached();
 
     void setLabel(const QString &text);
diff --git a/src/settings.h b/src/settings.h
index 40b0523..b918d1d 100644
--- a/src/settings.h
+++ b/src/settings.h
@@ -64,7 +64,7 @@ class Settings : public QObject
     Q_PROPERTY(int mouseWheelScrollLines READ mouseWheelScrollLines CONSTANT)
 
 public:
-    Settings(QObject *parent=0);
+    Settings(QObject *parent = nullptr);
     ~Settings();
 
     void setTabletModeAvailable(bool mobile);


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

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