Commit fc95b623 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

GIT_SILENT: use nullptr

parent d37147da
......@@ -40,7 +40,7 @@ class ExportWebDialog : public KPageDialog, public KPIM::KPrefsWidManager
{
Q_OBJECT
public:
explicit ExportWebDialog(KOrg::HTMLExportSettings *settings, QWidget *parent = Q_NULLPTR);
explicit ExportWebDialog(KOrg::HTMLExportSettings *settings, QWidget *parent = nullptr);
virtual ~ExportWebDialog();
public Q_SLOTS:
......
......@@ -54,7 +54,7 @@ class FilterEditDialog : public QDialog
{
Q_OBJECT
public:
explicit FilterEditDialog(QList<KCalCore::CalFilter *> *, QWidget *parent = Q_NULLPTR);
explicit FilterEditDialog(QList<KCalCore::CalFilter *> *, QWidget *parent = nullptr);
virtual ~FilterEditDialog();
Q_SIGNALS:
......
......@@ -48,7 +48,7 @@ class KORGANIZERPRIVATE_EXPORT KOEventViewerDialog : public QDialog
{
Q_OBJECT
public:
explicit KOEventViewerDialog(Akonadi::ETMCalendar *calendar, QWidget *parent = Q_NULLPTR);
explicit KOEventViewerDialog(Akonadi::ETMCalendar *calendar, QWidget *parent = nullptr);
virtual ~KOEventViewerDialog();
void setIncidence(const Akonadi::Item &incidence, const QDate &date);
......
......@@ -47,7 +47,7 @@ class NoteEditDialog : public QDialog
{
Q_OBJECT
public:
explicit NoteEditDialog(QWidget *parent = Q_NULLPTR);
explicit NoteEditDialog(QWidget *parent = nullptr);
~NoteEditDialog();
Akonadi::Collection collection() const;
......
......@@ -41,7 +41,7 @@ class SearchCollectionHelper: public QObject
{
Q_OBJECT
public:
explicit SearchCollectionHelper(QObject *parent = Q_NULLPTR);
explicit SearchCollectionHelper(QObject *parent = nullptr);
private Q_SLOTS:
void onSearchCollectionsFetched(KJob *job);
......
......@@ -44,7 +44,7 @@ class KORGANIZERPRIVATE_EXPORT KOrganizerIfaceImpl : public QObject
Q_OBJECT
public:
explicit KOrganizerIfaceImpl(ActionManager *mActionManager,
QObject *parent = Q_NULLPTR, const char *name = Q_NULLPTR);
QObject *parent = nullptr, const char *name = nullptr);
~KOrganizerIfaceImpl();
public Q_SLOTS:
......
......@@ -56,7 +56,7 @@ public:
HtmlExportJob(const Akonadi::ETMCalendar::Ptr &calendar,
HTMLExportSettings *settings, bool autoMode,
KOrg::MainWindow *mainWindow,
QWidget *parent = Q_NULLPTR);
QWidget *parent = nullptr);
virtual ~HtmlExportJob();
......
......@@ -27,7 +27,7 @@ class KOrganizerPluginInterface : public PimCommon::PluginInterface
{
Q_OBJECT
public:
explicit KOrganizerPluginInterface(QObject *parent = Q_NULLPTR);
explicit KOrganizerPluginInterface(QObject *parent = nullptr);
~KOrganizerPluginInterface();
static KOrganizerPluginInterface *self();
};
......
......@@ -150,7 +150,7 @@ private:
class KCM_KORGANIZER_EXPORT KOPrefsDesignerFields : public KCMDesignerFields
{
public:
explicit KOPrefsDesignerFields(QWidget *parent = Q_NULLPTR);
explicit KOPrefsDesignerFields(QWidget *parent = nullptr);
protected:
QString localUiDir() Q_DECL_OVERRIDE;
......
......@@ -38,7 +38,7 @@ class KOAgendaView : public KOEventView
{
Q_OBJECT
public:
explicit KOAgendaView(QWidget *parent = Q_NULLPTR, bool isSideBySide = false);
explicit KOAgendaView(QWidget *parent = nullptr, bool isSideBySide = false);
virtual ~KOAgendaView();
/** Returns maximum number of days supported by the koagendaview */
......
......@@ -136,7 +136,7 @@ class Controller : public QObject
{
Q_OBJECT
public:
explicit Controller(ReparentingModel *personModel, ReparentingModel *searchModel, QObject *parent = Q_NULLPTR);
explicit Controller(ReparentingModel *personModel, ReparentingModel *searchModel, QObject *parent = nullptr);
/**
* This model will be used to select the collections that are available in the ETM
*/
......
......@@ -88,7 +88,7 @@ public:
};
public:
explicit ReparentingModel(QObject *parent = Q_NULLPTR);
explicit ReparentingModel(QObject *parent = nullptr);
virtual ~ReparentingModel();
void setNodeManager(const NodeManager::Ptr &nodeManager);
......
......@@ -44,7 +44,7 @@ class KOJournalView : public KOrg::BaseView
{
Q_OBJECT
public:
explicit KOJournalView(QWidget *parent = Q_NULLPTR);
explicit KOJournalView(QWidget *parent = nullptr);
~KOJournalView();
int currentDateCount() const Q_DECL_OVERRIDE;
......
......@@ -48,7 +48,7 @@ class KOListView : public KOEventView
Q_OBJECT
public:
explicit KOListView(const Akonadi::ETMCalendar::Ptr &calendar,
QWidget *parent = Q_NULLPTR, bool nonInteractive = false);
QWidget *parent = nullptr, bool nonInteractive = false);
~KOListView();
int maxDatesHint() const Q_DECL_OVERRIDE;
......
......@@ -35,7 +35,7 @@ class MonthView : public KOEventView
{
Q_OBJECT
public:
explicit MonthView(QWidget *parent = Q_NULLPTR);
explicit MonthView(QWidget *parent = nullptr);
~MonthView();
int currentDateCount() const Q_DECL_OVERRIDE;
......
......@@ -39,7 +39,7 @@ class MultiAgendaView : public KOEventView
{
Q_OBJECT
public:
explicit MultiAgendaView(QWidget *parent = Q_NULLPTR);
explicit MultiAgendaView(QWidget *parent = nullptr);
~MultiAgendaView();
Akonadi::Item::List selectedIncidences() Q_DECL_OVERRIDE;
......@@ -94,7 +94,7 @@ class MultiAgendaViewConfigDialog : public QDialog,
Q_OBJECT
public:
explicit MultiAgendaViewConfigDialog(QAbstractItemModel *baseModel,
QWidget *parent = Q_NULLPTR);
QWidget *parent = nullptr);
~MultiAgendaViewConfigDialog();
bool useCustomColumns() const Q_DECL_OVERRIDE;
......
......@@ -43,7 +43,7 @@ class KOTimelineView : public KOEventView
{
Q_OBJECT
public:
explicit KOTimelineView(QWidget *parent = Q_NULLPTR);
explicit KOTimelineView(QWidget *parent = nullptr);
~KOTimelineView();
Akonadi::Item::List selectedIncidences() Q_DECL_OVERRIDE;
......
......@@ -40,7 +40,7 @@ class KOTimeSpentView : public KOrg::BaseView
{
Q_OBJECT
public:
explicit KOTimeSpentView(QWidget *parent = Q_NULLPTR);
explicit KOTimeSpentView(QWidget *parent = nullptr);
~KOTimeSpentView();
int currentDateCount() const Q_DECL_OVERRIDE;
......
......@@ -34,7 +34,7 @@ class KOWhatsNextView : public KOrg::BaseView
{
Q_OBJECT
public:
explicit KOWhatsNextView(QWidget *parent = Q_NULLPTR);
explicit KOWhatsNextView(QWidget *parent = nullptr);
~KOWhatsNextView();
int currentDateCount() const Q_DECL_OVERRIDE;
......
......@@ -45,7 +45,7 @@ class KDateNavigator: public QFrame
{
Q_OBJECT
public:
explicit KDateNavigator(QWidget *parent = Q_NULLPTR);
explicit KDateNavigator(QWidget *parent = nullptr);
~KDateNavigator();
/**
......
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