Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit eeeb0d9d authored by Volker Krause's avatar Volker Krause

Port shiftTimes() to QTimeZone

parent 7160b413
......@@ -5220,7 +5220,7 @@ bool KAEvent::convertKCalEvents(const Calendar::Ptr &calendar, int calendarVersi
* It's a KAlarm pre-1.9.2 calendar file.
* Convert from clock time to the local system time zone.
event->shiftTimes(KDateTime::ClockTime, localZone);
event->shiftTimes(QTimeZone::systemTimeZone(), QTimeZone::systemTimeZone());
converted = true;
......@@ -1216,7 +1216,7 @@ void KARecurrence::addExDate(const QDate &exdate)
void KARecurrence::shiftTimes(const KDateTime::Spec &oldSpec, const KDateTime::Spec &newSpec)
void KARecurrence::shiftTimes(const QTimeZone &oldSpec, const QTimeZone &newSpec)
d->mRecurrence.shiftTimes(oldSpec, newSpec);
......@@ -421,7 +421,7 @@ public:
* @param oldSpec the time specification which provides the clock times
* @param newSpec the new time specification
void shiftTimes(const KDateTime::Spec &oldSpec, const KDateTime::Spec &newSpec);
void shiftTimes(const QTimeZone &oldSpec, const QTimeZone &newSpec);
KCalCore::RecurrenceRule *defaultRRuleConst() const;
/** Return the recurrence's period type. */
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