[Qt-interest] How do store the List using QSettings
Yuvaraj R
yuvaraj at ongobiz.com
Mon Jul 20 15:11:49 CEST 2009
Thanks for your reply
I try with QString List.
Thanks
Yuvaraj R
On Mon, Jul 20, 2009 at 6:31 PM, Martin Gebert
<martin.gebert at alpha-bit.de>wrote:
> > How do store the list details using Qsettings.
>
>
> If your list doesn't consist of QStrings (QStringList) or QVariants, you'll
> have to do it for every list member in a foreach() loop, as QVariant
> doesn't
> provide a conversion for generic QLists. Alternatively you could try to
> introduce a custom QMetaType. This are the possibilities I can think of
> quickly.
>
> HTH, Martin
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090720/b5dcd4ce/attachment.html
More information about the Qt-interest-old
mailing list