KConfigXT: store dictionary

2012-03-18 Thread Simone Gaiarin
Hi,
I need to store with KconfigXT a value associated to each activity,
but since the number of activities is not know a priori I can't create
an entry for each activity in kcfg file. So I want to store a
dictionary (activity,value), is there a way to do this with KConfigXT
or should I fallback to KConfig?

Can I use the same kcfg file for the fields of different ui files?

Simone
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


Re: KConfigXT: store dictionary

2012-03-18 Thread Aaron J. Seigo
On Sunday, March 18, 2012 17:29:52 Simone Gaiarin wrote:
 Can I use the same kcfg file for the fields of different ui files?

yes, it's possible. you need to do the associations yourself from C++ however.

(this is what kontact does btw..)

-- 
Aaron Seigo

signature.asc
Description: This is a digitally signed message part.
___
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel