[PATCH] locale aware sorting of stringlists

Szombathelyi György gyurco at freemail.hu
Tue Oct 7 12:56:48 BST 2003


Tobias Koenig írta:

> Hi,
> 
> the attached patch adds locale aware sorting of QStringLists to
> KStringHandler. I think there are a lot of programs which could
> use this code. Can I commit it?
> I'm not sure if the implementation could be done a bit smarter,
> at least it works :)
> 
> Ciao,
> Tobias
> 
I think it would be better, and more efficient to implement an in-place 
sorting, e.g.
sortLocaleAware( QStringList &list ) <- without the const.

Bye,
György






More information about the kde-core-devel mailing list