KInstance and KIconLoader
Stefan Nikolaus
stefan.nikolaus at kdemail.net
Mon Dec 11 15:29:28 GMT 2006
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20061211/e6bd3245/attachment.sig>
More information about the kde-core-devel
mailing list