On quarta-feira, 14 de agosto de 2013 14:54:53, Aleix Pol wrote:
> On Tue, Aug 13, 2013 at 8:08 PM, Thiago Macieira
> > However much I dislike common denominators, what is the common denominator
> > API
> > that we can provide in all platforms?
>
> Hi!
> I've put together a small table displaying whether the different
> methods/properties can be implemented in the different platforms:
> https://qt-project.org/wiki/QCollator

What do you mean by "collation N" in all the columns? Do you mean we can't set 
the collation type from QCollation::Collation? If so, that's quite acceptable, 
the class should default to whatever the collation type is for the locale.

identifier: it would probably return "System" and that would be fine.

casePreference: looks like we can do case sensitive and insensitive, then. 
Sounds like an acceptable compromise. For POSIX, we can implement case-
insensitive collation by lowercasing, even though that might introduce some 
errors.

numericMode: this is what KDE wants. We can write our own algorithm.

sortKey: the lack of OS X support is worrying... didn't they have just a 
simple wrapper around ICU?

indexCharacters: we can return the English ones and see what happens...

> PS: I also hope it's ok to create new wiki pages like that :)

Sure!

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to