[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: KDE/kdevplatform/plugins/projectmanagerview
From:       Andreas Pakulat <apaku () gmx ! de>
Date:       2009-07-18 23:51:17
Message-ID: 20090718235117.GD21611 () trinity ! apaku ! dnsalias ! org
[Download RAW message or body]

On 19.07.09 01:30:31, Andreas Pakulat wrote:
> On 18.07.09 15:38:29, Aleix Pol Gonzalez wrote:
> > SVN commit 998788 by apol:
> > 
> > Apparently it's not possible to store QVariantList's of QVariantList's in \
> > KConfig, so let's use just QStringLists and scape them.
> 
> Where did you get that? conversion_check.h in kdecore/config/ doesn't
> indicate that and neither does any of the API dox (AFAIK). 
> 
> And actually we have QVariantList containing QStringList, if thats not
> storable in KConfig then thats a bug (as QVariantList itself is
> supported as long as it contains only one of the other supported types).

Just had a closer look at the source of kconfig. Unfortunately it
currently only supports QVariantList when the QVariant can be converted
to/from a QString. It would be possible to add support for at least
QStringList and it shouldn't be too hard either, but I'm not in the mood
of hacking on KConfig code currently. So even if I don't like us having
to care about how to store the data (isn't that what KConfig was
invented for in the first place??), lets keep this for now.

Andreas

-- 
You shall be rewarded for a dastardly deed.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic