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

List:       kde-devel
Subject:    Re: kconfig kcfg syntax question.
From:       Waldo Bastian <bastian () kde ! org>
Date:       2003-10-31 13:54:18
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri October 31 2003 12:25, bj@altern.org wrote:
> >> 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 ?

I will look into it on Nov. 10, feel free to remind me by then.

Cheers,
Waldo
- -- 
bastian@kde.org -=|[ SUSE, The Linux Desktop Experts ]|=- bastian@suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE/ommNN4pvrENfboIRAjcyAKCatGOHF4ZoDBlM58GLmzZvHnw0DQCcCe3O
vsc4MhLuWiqwtld6DS/uWSw=
=Eu01
-----END 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