-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 25 July 2001 19:28, David Faure wrote: > On Wed, Jul 25, 2001 at 07:40:18AM -0700, Charles Samuels wrote: > > In addition to Rob's comments, we should eliminate the obvious lack > > of OO safety in KConfig and always explicitly set a group when > > accessing a key. > > > > My personal favorite way is a group(QString) function that returns > > a temporary KConfigGroup. > > > > In other words > > > > config->group("Some Group Name")->readEntry("Some Key"); > > This is an excellent, excellent idea. I wonder if you have come across KConfigGroupSaver? ;-) Marc - -- Marc Mutz http://marc.mutz.com/ http://www.mathematik.uni-bielefeld.de/~mmutz/ http://EncryptionHOWTO.sourceforge.net/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE7YCBi3oWD+L2/6DgRAr5rAJ40Mz25fezfiW/rCWO4+w61IpSaQwCg9dxF 6cftlkRMEuK1gPqps6M+raU= =zBRt -----END PGP SIGNATURE-----