Review Request 120274: Add Qsort comparator (for Strings) which uses Collator.

Michal Poteralski michalpoteralskiKDE at gmail.com
Fri Sep 19 20:51:30 BST 2014



> On Sept. 18, 2014, 10:46 p.m., Jarosław Staniek wrote:
> > libs/db/tableviewdata.cpp, line 56
> > <https://git.reviewboard.kde.org/r/120274/diff/1/?file=313294#file313294line56>
> >
> >     use K_GLOBAL_STATIC (from KGlobal) so the object gets destroyed on app's exit

Collator is abstract type ‘icu_52::Collator’, so as far as I know I cannot use K_GLOBAL_STATIC.
However, can I use K_GLOBAL_STATIC inside class?


- Michal


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/120274/#review66867
-----------------------------------------------------------


On Sept. 18, 2014, 8:29 p.m., Michal Poteralski wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/120274/
> -----------------------------------------------------------
> 
> (Updated Sept. 18, 2014, 8:29 p.m.)
> 
> 
> Review request for Calligra, Andrius da Costa Ribas, Oleg Kukharchuk, Adam Pigg, Jarosław Staniek, Dimitrios Tanis, Tomasz Olszak, Radosław Wicik, and Wojciech Kosowicz.
> 
> 
> Bugs: 338808
>     http://bugs.kde.org/show_bug.cgi?id=338808
> 
> 
> Repository: calligra
> 
> 
> Description
> -------
> 
> Add Qsort comparator (for Strings) which uses Collator.
> 
> Actualy there is only unicode string comparator for Strings.
> The patch implements String comparator which uses Collator.
> 
> 
> Diffs
> -----
> 
>   libs/db/CMakeLists.txt aad1c25 
>   libs/db/tableviewdata.cpp a87c1b2 
> 
> Diff: https://git.reviewboard.kde.org/r/120274/diff/
> 
> 
> Testing
> -------
> 
> I've tested on Kexi and works well. 
> 
> 
> Thanks,
> 
> Michal Poteralski
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/calligra-devel/attachments/20140919/1022a9a3/attachment.htm>


More information about the calligra-devel mailing list