KConfigXT and widget initialisation?
Aaron J. Seigo
aseigo at kde.org
Mon Apr 7 08:16:46 BST 2008
On Sunday 06 April 2008, Louai Al-Khanji wrote:
> On Monday 07 April 2008 08:38:55 Aaron J. Seigo wrote:
> > On Sunday 06 April 2008, Louai Al-Khanji wrote:
> > > <default code="true">Plugins::defaultPlugin()</default>
> >
> > have you tried it and looked at what the generated C++ code does?
>
> I have. The problem is the initialisation part, not the default value. That
> is, I'd like to be able to say "the combobox contains the values x, y and
> z" and then "the default value is y", where x, y, and z can all change on
> each run.
ah, so you already know that it doesn't work =P
yes, values does not accept a code="true". to add it would require a bit of
patching things at around line 559 of
kdelibs/kdecore/kconfig_compiler/kconfig_compiler.cpp ...
--
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43
KDE core developer sponsored by Trolltech
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080407/c90116ca/attachment.sig>
More information about the kde-core-devel
mailing list