[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [libkgapi] /: Use nullptr
From: Montel Laurent <null () kde ! org>
Date: 2017-05-29 4:48:48
Message-ID: E1dFCbo-0003TR-Q7 () code ! kde ! org
[Download RAW message or body]
Git commit 280afa30ff3dc0442f071a2a98fb3079a7e863e9 by Montel Laurent.
Committed on 29/05/2017 at 04:48.
Pushed by mlaurent into branch 'master'.
Use nullptr
M +1 -1 examples/staticmaps/mainwindow.h
M +1 -1 src/contacts/contact.h
M +1 -1 src/core/ui/authwidget.h
https://commits.kde.org/libkgapi/280afa30ff3dc0442f071a2a98fb3079a7e863e9
diff --git a/examples/staticmaps/mainwindow.h b/examples/staticmaps/mainwindow.h
index 6071749..07dd448 100644
--- a/examples/staticmaps/mainwindow.h
+++ b/examples/staticmaps/mainwindow.h
@@ -38,7 +38,7 @@ class MainWindow : public QMainWindow
Q_OBJECT
public:
- explicit MainWindow(QWidget * parent = 0);
+ explicit MainWindow(QWidget * parent = nullptr);
virtual ~MainWindow();
public Q_SLOTS:
diff --git a/src/contacts/contact.h b/src/contacts/contact.h
index 67e63bf..fb80713 100644
--- a/src/contacts/contact.h
+++ b/src/contacts/contact.h
@@ -307,7 +307,7 @@ class KGAPICONTACTS_EXPORT Contact : public KGAPI2::Object,
* @param type
* @param primary
*/
- static QString addressTypeToScheme(const KContacts::Address::Type type, bool *primary = 0);
+ static QString addressTypeToScheme(const KContacts::Address::Type type, bool *primary = nullptr);
/**
* @brief Converts Google Scheme UrL to address type.
diff --git a/src/core/ui/authwidget.h b/src/core/ui/authwidget.h
index e3402c1..660b912 100644
--- a/src/core/ui/authwidget.h
+++ b/src/core/ui/authwidget.h
@@ -59,7 +59,7 @@ class KGAPICORE_EXPORT AuthWidget : public QWidget
Error /**< An error occurred and error() signal has been emitted */
};
- explicit AuthWidget(QWidget* parent = 0);
+ explicit AuthWidget(QWidget* parent = nullptr);
virtual ~AuthWidget();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic