readEntry and booleans

Thomas Braxton brax108 at cox.net
Wed Jan 4 18:11:24 GMT 2006


On Wednesday 04 January 2006 05:04, André Wöbbeking wrote:
> 1) can we check if the QVariant is convertable (see
> qVariantCanConvert()) at least for debug code?

how about something like this patch? I'm not sure if I should use convert or 
canConvert. It seems that canConvert only checks if the conversion is 
possible & convert checks if the conversion fails. I need to look at the Qt 
code a little more closely to see what to do.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff
Type: text/x-diff
Size: 814 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060104/defcf052/attachment.diff>


More information about the kde-core-devel mailing list