[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: kconfig kcfg syntax question.
From: bj () altern ! org
Date: 2003-10-31 10:10:58
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
>> Currently, I am thinking to add an editable combobox to my program's
>> settings to remember an url.
>>
>> How should it be described in the .kcfg file ?
>As "String" because the value can be anything.
It doesn't work, or maybe i understood something wrong.
I used the following syntax in the .kcfg file.
<entry name="KeyServer3" type="String" key="key_server3">
<label>Additional key server used by kgpg</label>
<default>hkp://wwwkeys.eu.pgp.net</default>
</entry>
in my .ui file, I have an editable combobox with some predefined choices
called kcfg_KeyServer3.
But then, only the index of the combobox is saved in the config file, not the
string... and when I change the string of the editable combobox, the "apply"
button of the config dialog doesn't get enabled.
any help ?
[Attachment #5 (application/pgp-signature)]
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic