Proposal: consistency for dateFormat()

Stephan Kulow coolo at
Fri Jan 20 15:59:06 GMT 2006

Am Freitag, 20. Januar 2006 16:48 schrieb David Faure:
> On Friday 20 January 2006 16:37, Jarosław Staniek wrote:
> > KLocale::formatDateTime(const QDateTime &pDateTime, int options =
> > DateTimeFormat::ShortDateTimeFormat),
> >
> > (Yes we can use QFlags here).
> Maybe without a default value then?
> KLocale::formatDateTime(const QDateTime &pDateTime, DateTimeFormatOptions
> options);

I guess this is the way to go. Taking that someone thought short should be 
default and someone else thought long should be it - it's only fair to have 
both of them look at the API. And then again: that function isn't _that_ 

Greetings, Stephan

More information about the kde-core-devel mailing list