[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: KInstance and KIconLoader
From: Stefan Nikolaus <stefan.nikolaus () kdemail ! net>
Date: 2006-12-11 15:29:28
Message-ID: 200612111629.38268.stefan.nikolaus () kdemail ! net
[Download RAW message or body]
On Monday 11 December 2006 15:34, David Faure wrote:
[...]
> Any other ideas?
Let the KIconLoader pointer in KInstance::Private, declare KIconLoader as
friend of KInstance, provide a private KInstance::setIconLoader( KIconLoader*
iconLoader ) { d->iconLoader = iconLoader; }, an accessor and create the
instance's icon loader as proposed in KIconLoader::instance( KInstance* ).
As only a pointer remains in KInstance, it does not have to know about
KIconLoader at all (no definition, just declaration).
Somewhat messy, but still...
Regards,
Stefan
[Attachment #3 (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic