setupGui strange interaction with KConfig
tokoe at kde.org
Mon Jan 24 10:45:14 GMT 2005
On Sun, Jan 23, 2005 at 05:10:16PM +0100, Ingo Klöcker wrote:
> On Sunday 23 January 2005 15:30, Tobias Koenig wrote:
> > The problem is, that most methods like 'readValue' expect a KConfig*
> > and not a KConfigBase*, so you can't really use KConfigGroup in real
> > life...
> Correct usage is
> myKey = group.readValue( "MyKey" );
... but often you want to pass this 'grouped' config object to another
method which reads the value for you; and this method doesn't accept the
When you start writing code from scratch you can use your proposed
solution of course, but for fixing exiting code it's a PITA.
Separate politics from religion and economy!
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: Digital signature
More information about the kde-core-devel