Re: [Development] QSvg, why is QSvgHandler private?

2012-07-10 Thread Stephen Kelly
On Monday, July 09, 2012 22:35:07 Thiago Macieira wrote: On segunda-feira, 9 de julho de 2012 22.29.31, Mark wrote: So, is there anyway for me to use the private class anyway? I know it shouldn't be done, but it's just something i'd like to try if possible and see how much difference it

Re: [Development] QSvg, why is QSvgHandler private?

2012-07-10 Thread Mark
On Tue, Jul 10, 2012 at 11:43 AM, Stephen Kelly stephen.ke...@kdab.com wrote: On Monday, July 09, 2012 22:35:07 Thiago Macieira wrote: On segunda-feira, 9 de julho de 2012 22.29.31, Mark wrote: So, is there anyway for me to use the private class anyway? I know it shouldn't be done, but it's

[Development] QSvg, why is QSvgHandler private?

2012-07-09 Thread Mark
Hi, I was playing a bit with some code profiling and noticed that some project is using QSvgRenderer::load(...) to determine if a svg is valid or not. That is quite a heavy operation! When digging in the Qt code i discovered that Qt internally is using QSvgHandler