Commit 55373d83 authored by David Faure's avatar David Faure
Browse files

Port KCalCore-related connect to PMF syntax

Summary:
This fixes the broken connects due to the KCalCore->KCalendarCore
renaming, which fixes clicking on dates in korganizer.

Test Plan: I can select dates in korganizer and the view updates! Magic!

Reviewers: vkrause

Reviewed By: vkrause

Subscribers: kde-pim

Tags: #kde_pim

Differential Revision: https://phabricator.kde.org/D22838
parent c28174ff
...@@ -926,10 +926,10 @@ void AgendaView::connectAgenda(Agenda *agenda, Agenda *otherAgenda) ...@@ -926,10 +926,10 @@ void AgendaView::connectAgenda(Agenda *agenda, Agenda *otherAgenda)
this, &AgendaView::slotIncidenceSelected); this, &AgendaView::slotIncidenceSelected);
// rescheduling of todos by d'n'd // rescheduling of todos by d'n'd
connect(agenda, SIGNAL(droppedIncidences(KCalCore::Incidence::List,QPoint,bool)), connect(agenda, QOverload<const KCalCore::Incidence::List &, const QPoint &, bool>::of(&Agenda::droppedIncidences),
SLOT(slotIncidencesDropped(KCalCore::Incidence::List,QPoint,bool))); this, QOverload<const KCalCore::Incidence::List &, const QPoint &, bool>::of(&AgendaView::slotIncidencesDropped));
connect(agenda, SIGNAL(droppedIncidences(QList<QUrl>,QPoint,bool)), connect(agenda, QOverload<const QList<QUrl> &, const QPoint &, bool>::of(&Agenda::droppedIncidences),
SLOT(slotIncidencesDropped(QList<QUrl>,QPoint,bool))); this, QOverload<const QList<QUrl> &, const QPoint &, bool>::of(&AgendaView::slotIncidencesDropped));
} }
void AgendaView::slotIncidenceSelected(const KCalCore::Incidence::Ptr &incidence, const QDate &date) void AgendaView::slotIncidenceSelected(const KCalCore::Incidence::Ptr &incidence, const QDate &date)
......
...@@ -103,8 +103,8 @@ void JournalDateView::addJournal(const Akonadi::Item &j) ...@@ -103,8 +103,8 @@ void JournalDateView::addJournal(const Akonadi::Item &j)
this, &JournalDateView::editIncidence); this, &JournalDateView::editIncidence);
connect(entry, &JournalFrame::incidenceSelected, connect(entry, &JournalFrame::incidenceSelected,
this, &JournalDateView::incidenceSelected); this, &JournalDateView::incidenceSelected);
connect(entry, SIGNAL(printJournal(KCalCore::Journal::Ptr,bool)), connect(entry, QOverload<const KCalCore::Journal::Ptr &, bool>::of(&JournalFrame::printJournal),
SIGNAL(printJournal(KCalCore::Journal::Ptr,bool))); this, QOverload<const KCalCore::Journal::Ptr &, bool>::of(&JournalDateView::printJournal));
} }
Akonadi::Item::List JournalDateView::journals() const Akonadi::Item::List JournalDateView::journals() 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