BIC Problem with KPlayObjectFactory resolved

Carsten Pfeiffer carpdjih at sp.zrz.tu-berlin.de
Thu Aug 29 23:34:41 BST 2002


-----BEGIN PGP SIGNED MESSAGE-----

On Thursday 29 August 2002 22:07, Neil Stevens wrote:

> Can the Creator be made a "singleton," storing its own pointer?  That
> should allow the Factory to use a Creator without problems.

You could also use the "QPtrDict hack" (I think it's explained in the BIC 
howto on developer.kde.org). Basically, you create a static QPtrDict where 
you can add an additional object (i.e. a structure like the Private class), 
associated with an instance of the class you try to extend.

Cheers
Carsten Pfeiffer
-----BEGIN PGP SIGNATURE-----

iQEVAwUBPW6hgaWgYMJuwmZtAQGHsAgAsT9ft84PN60PSOwd7kVsEfP84b0Gve6P
X/hEXhvuoLpfJrptr2R5qsvEkk/HrLKhWb/Dd/UIkCEOqZAUrLsdB/0GsZXK97Z3
3EQWqtEOesYKM7izx2McRsC48jZOuGqORjZ+emDDbq1CccT7sFIumL04lS7JL+n5
dOtyLKUv104t1Gi2N7/+2wwd8r0ZZQJigbgUU3RCb5mOcJwcCIOSfWj4jMxiAg1H
hR2aH5py7ZUKwy19bp4Ql1r22waPkHtfMkDdGL1IGk1jrHXi5SrxLTp7eV6eyh64
CZklTAFfGZaUDSvMLVedZND1l7G9sAWPr00O6bj7eBnXP3cXzS1gwA==
=j3YY
-----END PGP SIGNATURE-----



More information about the kde-multimedia mailing list