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

GIT_SILENT: use nullptr

parent a7a2b85e
......@@ -36,7 +36,7 @@ class CALENDARSUPPORT_EXPORT FreeBusyCalendar : public QObject
{
Q_OBJECT
public:
explicit FreeBusyCalendar(QObject *parent = Q_NULLPTR);
explicit FreeBusyCalendar(QObject *parent = nullptr);
virtual ~FreeBusyCalendar();
......
......@@ -51,7 +51,7 @@ public:
FreeBusyPeriodRole
};
explicit FreeBusyItemModel(QObject *parent = Q_NULLPTR);
explicit FreeBusyItemModel(QObject *parent = nullptr);
virtual ~FreeBusyItemModel();
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const Q_DECL_OVERRIDE;
......
......@@ -37,7 +37,7 @@ public:
enum Roles {
PeriodRole = Qt::UserRole
};
explicit FreePeriodModel(QObject *parent = Q_NULLPTR);
explicit FreePeriodModel(QObject *parent = nullptr);
virtual ~FreePeriodModel();
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const Q_DECL_OVERRIDE;
......
......@@ -73,7 +73,7 @@ public:
* @param calendar is a pointer to a Calendar instance.
* @param parent it the parent widget.
*/
explicit IncidenceViewer(Akonadi::ETMCalendar *calendar, QWidget *parent = Q_NULLPTR);
explicit IncidenceViewer(Akonadi::ETMCalendar *calendar, QWidget *parent = nullptr);
/**
* Creates a new incidence viewer.
......@@ -81,7 +81,7 @@ public:
* *param
* @param parent it the parent widget.
*/
explicit IncidenceViewer(QWidget *parent = Q_NULLPTR);
explicit IncidenceViewer(QWidget *parent = nullptr);
/**
* Destroys the incidence viewer.
......
......@@ -32,7 +32,7 @@ class TextBrowser : public QTextBrowser
Q_OBJECT
public:
explicit TextBrowser(QWidget *parent = Q_NULLPTR);
explicit TextBrowser(QWidget *parent = nullptr);
void setSource(const QUrl &name) Q_DECL_OVERRIDE;
......
......@@ -103,7 +103,7 @@ class CalPrintDialog : public QDialog
Q_OBJECT
public:
explicit CalPrintDialog(int initialPrintType, const PrintPlugin::List &plugins,
QWidget *parent = Q_NULLPTR, bool mUniqItem = false);
QWidget *parent = nullptr, bool mUniqItem = false);
virtual ~CalPrintDialog();
......
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