Commit a1f4034e authored by Laurent Montel's avatar Laurent Montel 😁

GIT_SILENT: use nullptr

parent b1ec889b
......@@ -37,7 +37,7 @@ class ContactGrantleeAddressObject : public QObject
Q_PROPERTY(QString formattedAddress READ formattedAddress)
public:
explicit ContactGrantleeAddressObject(const KContacts::Address &address, QObject *parent = Q_NULLPTR);
explicit ContactGrantleeAddressObject(const KContacts::Address &address, QObject *parent = nullptr);
~ContactGrantleeAddressObject();
QString type() const;
......
......@@ -29,7 +29,7 @@ class ContactGrantleeCryptoObject : public QObject
Q_PROPERTY(QString signaturePreference READ signaturePreference)
Q_PROPERTY(QString cryptoPreference READ cryptoPreference)
public:
explicit ContactGrantleeCryptoObject(const KContacts::Addressee &address, QObject *parent = Q_NULLPTR);
explicit ContactGrantleeCryptoObject(const KContacts::Addressee &address, QObject *parent = nullptr);
~ContactGrantleeCryptoObject();
QString signaturePreference() const;
......
......@@ -34,7 +34,7 @@ class ContactGrantleeEmail : public QObject
Q_PROPERTY(QString email READ email)
Q_PROPERTY(bool preferred READ preferred)
public:
explicit ContactGrantleeEmail(const KContacts::Addressee &addressee, const KContacts::Email &email, QObject *parent = Q_NULLPTR);
explicit ContactGrantleeEmail(const KContacts::Addressee &addressee, const KContacts::Email &email, QObject *parent = nullptr);
~ContactGrantleeEmail();
QString emailFormatted() const;
......
......@@ -35,7 +35,7 @@ class ContactGrantleeGeoObject : public QObject
Q_PROPERTY(bool isValid READ isValid)
public:
explicit ContactGrantleeGeoObject(const KContacts::Geo &geo, QObject *parent = Q_NULLPTR);
explicit ContactGrantleeGeoObject(const KContacts::Geo &geo, QObject *parent = nullptr);
~ContactGrantleeGeoObject();
float latitude() const;
......
......@@ -29,7 +29,7 @@ class ContactGrantleeImObject : public QObject
Q_PROPERTY(QString address READ address)
public:
explicit ContactGrantleeImObject(const QString &type, const QString &address, QObject *parent = Q_NULLPTR);
explicit ContactGrantleeImObject(const QString &type, const QString &address, QObject *parent = nullptr);
~ContactGrantleeImObject();
QString type() const;
......
......@@ -31,7 +31,7 @@ class ContactGrantleePhoneObject : public QObject
Q_PROPERTY(bool preferred READ preferred)
public:
explicit ContactGrantleePhoneObject(const KContacts::PhoneNumber &phone, QObject *parent = Q_NULLPTR);
explicit ContactGrantleePhoneObject(const KContacts::PhoneNumber &phone, QObject *parent = nullptr);
~ContactGrantleePhoneObject();
QString type() const;
......
......@@ -30,7 +30,7 @@ class ContactGrantleeWebSite : public QObject
Q_PROPERTY(QString url READ url)
Q_PROPERTY(bool preferred READ preferred)
public:
explicit ContactGrantleeWebSite(const KContacts::ResourceLocatorUrl &resourceLocator, QObject *parent = Q_NULLPTR);
explicit ContactGrantleeWebSite(const KContacts::ResourceLocatorUrl &resourceLocator, QObject *parent = nullptr);
~ContactGrantleeWebSite();
QString url() const;
bool preferred() const;
......
......@@ -71,7 +71,7 @@ class ContactGrantleePrintObject : public QObject
//Add more functions
public:
explicit ContactGrantleePrintObject(const KContacts::Addressee &address, QObject *parent = Q_NULLPTR);
explicit ContactGrantleePrintObject(const KContacts::Addressee &address, QObject *parent = nullptr);
~ContactGrantleePrintObject();
QString name() const;
......
......@@ -36,8 +36,8 @@ class KADDRESSBOOK_GRANTLEE_EXPORT GrantleePrint : public PimCommon::GenericGran
{
Q_OBJECT
public:
explicit GrantleePrint(QObject *parent = Q_NULLPTR);
explicit GrantleePrint(const QString &themePath, QObject *parent = Q_NULLPTR);
explicit GrantleePrint(QObject *parent = nullptr);
explicit GrantleePrint(const QString &themePath, QObject *parent = nullptr);
~GrantleePrint();
QString contactsToHtml(const KContacts::Addressee::List &contacts);
......
......@@ -30,7 +30,7 @@ class KADDRESSBOOK_GRANTLEE_EXPORT GrantleeContactViewer : public Akonadi::Conta
{
Q_OBJECT
public:
explicit GrantleeContactViewer(QWidget *parent = Q_NULLPTR);
explicit GrantleeContactViewer(QWidget *parent = nullptr);
~GrantleeContactViewer();
void setForceDisableQRCode(bool b);
......
......@@ -110,7 +110,7 @@ class KMAIL_EXPORT KMKernel : public QObject, public MailCommon::IKernel, public
Q_CLASSINFO("D-Bus Interface", "org.kde.kmail.kmail")
public:
explicit KMKernel(QObject *parent = Q_NULLPTR);
explicit KMKernel(QObject *parent = nullptr);
~KMKernel();
/**
......
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