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

List:       kde-devel
Subject:    Re: Reading keys with KSimpleConfig
From:       Christian Nitschkowski <segfault_ii () web ! de>
Date:       2004-02-08 12:37:43
Message-ID: 200402081337.44403.segfault_ii () web ! de
[Download RAW message or body]

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

On Saturday 07 February 2004 18:20, Waldo Bastian wrote:
> On Sat February 7 2004 16:10, Christian Nitschkowski wrote:
> > Hi!
> > I need to get _all_ keys below a certain group.
> > Currently I use KSimpleConfig::entryMap for this, but it uses the
> > locale-string.
> > But I need the contents without translating the data.
>
> You may be able to use readEntryUntranslated()
>
Hmm...
But I don't know which keys are there.
The source-file may contain only a "Name" entry, "Name" and "Name[de]" or even 
different languages.
I'd have to see which languages exist to read them all with 
"readEntryUntranslated".
But the only solution I'd see to get the existing keys would be with
entryMap(), but that would translate them again.

> Cheers,
> Waldo
Regards
Christian Nitschkowski

- -- 
- --: Christian Nitschkowski <segfault_ii@web.de> :--
- --: Jabber: segfault_ii@a-message.de :--
- --: ICQ#: 66190597 :--

Go where the silence is and say something
- - Chumbawamba
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQFAJi2X119BwfrC2gIRAtTfAJ44T88Nz5J8CwBwiHcYQhwiwZf8cACeNTf2
sqiRkbvinUhQ0WzsuuTQpFE=
=5lNj
-----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