Proposal: consistency for dateFormat()

David Jarvie lists at
Sun Jan 22 21:29:31 GMT 2006

On Friday 20 January 2006 15:37, Jaros³aw Staniek wrote:
> Ah, OK, I can propose an enum for both booleans.
> But then we still couldn't have the default option in if we do not want to
> surprise developers, could we?
> KLocale::formatDateTime(const QDateTime &pDateTime, int options =
> DateTimeFormat::ShortDateTimeFormat),

DateTimeFormat::Short would be better. There's no point in repeating the 
"DateTimeFormat" bit.

David Jarvie.
KAlarm author and maintainer.

More information about the kde-core-devel mailing list