Commit 0cba99ca authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

GIT_SILENT: use nullptr

parent e587fa63
......@@ -38,7 +38,7 @@ class AddressesLocationGrantleeFormater : public QObject
{
Q_OBJECT
public:
explicit AddressesLocationGrantleeFormater(QObject *parent = Q_NULLPTR);
explicit AddressesLocationGrantleeFormater(QObject *parent = nullptr);
~AddressesLocationGrantleeFormater();
QString formatAddresses(const KContacts::Address::List &addresses);
......
......@@ -34,7 +34,7 @@ class AddressesLocationWidget : public QSplitter
{
Q_OBJECT
public:
explicit AddressesLocationWidget(QWidget *parent = Q_NULLPTR);
explicit AddressesLocationWidget(QWidget *parent = nullptr);
~AddressesLocationWidget();
void loadContact(const KContacts::Addressee &contact);
......
......@@ -43,7 +43,7 @@ class AddressGrantleeObject : public QObject
Q_PROPERTY(QString country READ country)
Q_PROPERTY(bool preferredAddress READ preferredAddress)
public:
explicit AddressGrantleeObject(const KContacts::Address &address, int addressIndex, QObject *parent = Q_NULLPTR);
explicit AddressGrantleeObject(const KContacts::Address &address, int addressIndex, QObject *parent = nullptr);
~AddressGrantleeObject();
QString removeAddressAction() const;
......
......@@ -42,7 +42,7 @@ public:
ModifyAddress
};
explicit AddressLocationWidget(QWidget *parent = Q_NULLPTR);
explicit AddressLocationWidget(QWidget *parent = nullptr);
~AddressLocationWidget();
void setAddress(const KContacts::Address &address);
......
......@@ -41,7 +41,7 @@ public:
*
* @param parent The parent widget.
*/
explicit SelectAddressTypeComboBox(QWidget *parent = Q_NULLPTR);
explicit SelectAddressTypeComboBox(QWidget *parent = nullptr);
/**
* Destroys the address type combo.
......
......@@ -30,7 +30,7 @@ class AddressesLocationEnginePage : public QWebEnginePage
{
Q_OBJECT
public:
explicit AddressesLocationEnginePage(QObject *parent = Q_NULLPTR);
explicit AddressesLocationEnginePage(QObject *parent = nullptr);
~AddressesLocationEnginePage();
Q_SIGNALS:
......
......@@ -31,7 +31,7 @@ class AddressesLocationEngineViewer : public QWebEngineView
{
Q_OBJECT
public:
explicit AddressesLocationEngineViewer(QWidget *parent = Q_NULLPTR);
explicit AddressesLocationEngineViewer(QWidget *parent = nullptr);
~AddressesLocationEngineViewer();
KContacts::Address::List addresses() const;
......
......@@ -35,7 +35,7 @@ class BusinessEditorWidget : public QWidget
{
Q_OBJECT
public:
explicit BusinessEditorWidget(QWidget *parent = Q_NULLPTR);
explicit BusinessEditorWidget(QWidget *parent = nullptr);
~BusinessEditorWidget();
void loadContact(const KContacts::Addressee &contact);
void storeContact(KContacts::Addressee &contact);
......
......@@ -36,7 +36,7 @@ class FreeBusyEditWidget : public QWidget
Q_OBJECT
public:
explicit FreeBusyEditWidget(QWidget *parent = Q_NULLPTR);
explicit FreeBusyEditWidget(QWidget *parent = nullptr);
~FreeBusyEditWidget();
void loadContact(const KContacts::Addressee &contact);
......
......@@ -47,7 +47,7 @@ public:
*
* @param parent The parent widget.
*/
explicit ContactEditorWidget(QWidget *parent = Q_NULLPTR);
explicit ContactEditorWidget(QWidget *parent = nullptr);
ContactEditorWidget(DisplayMode displayMode, QWidget *parent);
......
......@@ -35,7 +35,7 @@ class CustomFieldEditorWidget : public QWidget
{
Q_OBJECT
public:
explicit CustomFieldEditorWidget(QWidget *parent = Q_NULLPTR);
explicit CustomFieldEditorWidget(QWidget *parent = nullptr);
~CustomFieldEditorWidget();
void setReadOnly(bool readOnly);
......
......@@ -30,7 +30,7 @@ namespace Akonadi
class CustomFieldsListDelegate : public QStyledItemDelegate
{
public:
explicit CustomFieldsListDelegate(QAbstractItemView *view, QObject *parent = Q_NULLPTR);
explicit CustomFieldsListDelegate(QAbstractItemView *view, QObject *parent = nullptr);
~CustomFieldsListDelegate();
QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const Q_DECL_OVERRIDE;
......
......@@ -37,7 +37,7 @@ class CustomFieldsListWidget : public QWidget
{
Q_OBJECT
public:
explicit CustomFieldsListWidget(QWidget *parent = Q_NULLPTR);
explicit CustomFieldsListWidget(QWidget *parent = nullptr);
~CustomFieldsListWidget();
void storeContact(KContacts::Addressee &contact) const;
void loadContact(const KContacts::Addressee &contact);
......
......@@ -35,7 +35,7 @@ public:
ScopeRole
};
explicit CustomFieldsModel(QObject *parent = Q_NULLPTR);
explicit CustomFieldsModel(QObject *parent = nullptr);
~CustomFieldsModel();
void setCustomFields(const CustomField::List &addresses);
......
......@@ -39,7 +39,7 @@ class CustomFieldsWidget : public QWidget
{
Q_OBJECT
public:
explicit CustomFieldsWidget(QWidget *parent = Q_NULLPTR);
explicit CustomFieldsWidget(QWidget *parent = nullptr);
~CustomFieldsWidget();
void storeContact(KContacts::Addressee &contact) const;
void loadContact(const KContacts::Addressee &contact);
......
......@@ -30,7 +30,7 @@ class AkonadiContactSelectTypeCombobox : public Akonadi::AkonadiContactComboBox
{
Q_OBJECT
public:
explicit AkonadiContactSelectTypeCombobox(QWidget *parent = Q_NULLPTR);
explicit AkonadiContactSelectTypeCombobox(QWidget *parent = nullptr);
~AkonadiContactSelectTypeCombobox();
QStringList selectTypeList() const;
......
......@@ -39,7 +39,7 @@ class CategoriesEditWidget : public QWidget
Q_OBJECT
public:
explicit CategoriesEditWidget(QWidget *parent = Q_NULLPTR);
explicit CategoriesEditWidget(QWidget *parent = nullptr);
~CategoriesEditWidget();
void loadContact(const KContacts::Addressee &contact);
......
......@@ -51,7 +51,7 @@ public:
CustomName ///< Let the user input a display name
};
explicit DisplayNameEditWidget(QWidget *parent = Q_NULLPTR);
explicit DisplayNameEditWidget(QWidget *parent = nullptr);
~DisplayNameEditWidget();
void loadContact(const KContacts::Addressee &contact);
......
......@@ -44,7 +44,7 @@ class GeneralInfoWidget : public QWidget
{
Q_OBJECT
public:
explicit GeneralInfoWidget(QWidget *parent = Q_NULLPTR);
explicit GeneralInfoWidget(QWidget *parent = nullptr);
~GeneralInfoWidget();
void loadContact(const KContacts::Addressee &contact);
......
......@@ -35,7 +35,7 @@ class MailListWidget : public QWidget
{
Q_OBJECT
public:
explicit MailListWidget(QWidget *parent = Q_NULLPTR);
explicit MailListWidget(QWidget *parent = nullptr);
~MailListWidget();
void loadContact(const KContacts::Addressee &contact);
void storeContact(KContacts::Addressee &contact) const;
......
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