Porting problems with KMainWindow::readProperties()
Stephan Kulow
coolo at kde.org
Mon Feb 26 17:37:52 GMT 2007
Am Samstag 24 Februar 2007 schrieb Friedrich W. H. Kossebau:
> Am Samstag, 24. Februar 2007 03:32, schrieb Tobias Koenig, instead of
> sleeping:
> [...]
>
> > That looks really strange... passing just a group here when the
> > application needs the whole config object to access also other groups
> > is really pointless IMHO. We should pass the KConfig* object here...
>
> I am wondering: Isn't this the same problem as with passing a QPainter*
> around? You never know in which state it returns. But we learnt to deal
> with it. Can't we just treat KConfig the same?
I don't see too many places passing QPainters* outside of helper functions to
the paint event.
Greetings, Stephan
More information about the kde-core-devel
mailing list