[PATCH] KSpell2 improvement
Esben Mose Hansen
kde at mosehansen.dk
Fri Mar 17 20:36:17 GMT 2006
On Friday 17 March 2006 18:27, Mashrab Kuvatov wrote:
> Hi all,
>
> attached is the third version of the patch. Nicolas Goutte's suggestions
> are implemented.
>
> Caching is also there (probably fishy). However, note that the method is
> non const. I had to do it to write into a cache variable. I don't know
> whether it might cause problems. People with more c++ knowledge should know
> it.
Check out the mutable keyword. It is your friend when implementing cache
functionality in const functions :)
--
Esben
More information about the kde-core-devel
mailing list