[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-pim
Subject: [Kde-pim] KCalCore porting...
From: John Layt <jlayt () kde ! org>
Date: 2016-04-01 16:08:25
Message-ID: CAM1DM6kBV9fG0m5tJkvFO51Bz=BJYoGZjBsKc-QMqY+ZXPjE6A () mail ! gmail ! com
[Download RAW message or body]
Hi,
Notes for those at the sprint on where I'm at with ripping KDateTime
out of KCalCore.
Current code is on GitHub [1]. History is a bit messy, needs a bit of a tidy-up.
Everything related to KDateTime has been removed, except for KTimeZone
usage in IcalTimeZone* classes.
* dateOnly() removed, most places wasn't actually needed, or was
replaced with isAllDay()
* Date/time comparison internal copy made of KDateTime code
* KDateTime::currentUtcDateTime() =>QDateTime::currentDateTimeUtc()
* KDateTime::Spec replaced with own class CalTimeSpec, not overly
happy with this but better than adding lots of fields to api
* utcOffset() => offsetFromUtc()
* isUtc() => timeSpec() == Qt::UTC
* toUtc() => toUTC()
* Second occurrence support disabled(!!!)
I *think* last time I tried it did actually compile, I'm still trying
to get KF5 building on my Mac before I can check again...
Tasks for this weekend:
* Review the CalTimeSpec class, decide if there's a better way
* Work on a solution for IcalTimeZone* classes, it's tricky as it
probably can't use qtimezone as a base...
* Look at putting second occurrence, tz file loading, and VTIMEZONE
support up on Qt gerrit. again...
John.
[1] https://github.com/jlayt/kcalcore/commits/kf5-port-qdatetime
_______________________________________________
KDE PIM mailing list kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic