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

List:       kde-core-devel
Subject:    Parents & stuff :)
From:       Werner Trobin <wtrobin () carinthia ! com>
Date:       2000-02-16 18:08:12
[Download RAW message or body]

Hi!

Today I dug around in the new kparts code and I wondered if
someone can please explain *why* KReadWritePart inherits
KReadOnly part.

IMHO (and believe me, my opinion is *very* humble) this is not
totally "correct." Maybe this stuff should be changed from:

... <- Part <- ReadOnlyPart <- ReadWritePart

to:

... <- Part <- SomeStrangePart <-+- ReadOnlyPart
                                 |
                                 \- ReadWritePart

(Maybe even SomeStrangePart isn't necessary if you can move
the common stuff to Part...)

IIRC I've read of some problems in the docs and I though that
this structure would help a little bit. I'm sure there are
some design issues why this has to be that  way - please
enlighten me.

Werner

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

Configure | About | News | Add a list | Sponsored by KoreLogic