Commit 5d326a1d authored by Laurent Montel's avatar Laurent Montel 😁

Use Q_NULLPTR here too

parent 280b15da
......@@ -69,7 +69,7 @@ class AlarmCalendar : public QObject
KCalCore::Event::List kcalEvents(CalEvent::Type s = CalEvent::EMPTY); // display calendar only
bool eventReadOnly(Akonadi::Item::Id) const;
Akonadi::Collection collectionForEvent(Akonadi::Item::Id) const;
bool addEvent(KAEvent&, QWidget* promptParent = 0, bool useEventID = false, Akonadi::Collection* = 0, bool noPrompt = false, bool* cancelled = 0);
bool addEvent(KAEvent&, QWidget* promptparent = Q_NULLPTR, bool useEventID = false, Akonadi::Collection* = 0, bool noPrompt = false, bool* cancelled = 0);
bool modifyEvent(const EventId& oldEventId, KAEvent& newEvent);
KAEvent* updateEvent(const KAEvent&);
KAEvent* updateEvent(const KAEvent*);
......
......@@ -30,7 +30,7 @@ class AlarmListDelegate : public EventListDelegate
{
Q_OBJECT
public:
explicit AlarmListDelegate(AlarmListView* parent = 0)
explicit AlarmListDelegate(AlarmListView* parent = Q_NULLPTR)
: EventListDelegate(parent) {}
void paint(QPainter*, const QStyleOptionViewItem&, const QModelIndex&) const Q_DECL_OVERRIDE;
QSize sizeHint(const QStyleOptionViewItem&, const QModelIndex&) const Q_DECL_OVERRIDE;
......
......@@ -252,7 +252,7 @@ class CollectionControlModel : public Akonadi::FavoriteCollectionsModel
* @param cancelled If non-null: set to true if the user cancelled
* the prompt dialogue; set to false if any other error.
*/
static Akonadi::Collection destination(CalEvent::Type, QWidget* promptParent = 0, bool noPrompt = false, bool* cancelled = 0);
static Akonadi::Collection destination(CalEvent::Type, QWidget* promptparent = Q_NULLPTR, bool noPrompt = false, bool* cancelled = 0);
/** Return the enabled collections which contain a specified mime type.
* If 'writable' is true, only writable collections are included.
......
......@@ -38,7 +38,7 @@ class TemplateListDelegate : public EventListDelegate
{
Q_OBJECT
public:
explicit TemplateListDelegate(TemplateListView* parent = 0)
explicit TemplateListDelegate(TemplateListView* parent = Q_NULLPTR)
: EventListDelegate(parent) {}
virtual void edit(KAEvent*, EventListView*);
};
......
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