KLibLoader + KPartFactory + loading oneself problem.

Luis Pedro Coelho luis_pedro at netcabo.pt
Sat Jun 7 17:42:33 BST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le Saturday 07 June 2003 18:18, Simon Hausmann a écrit :
> On Sat, Jun 07, 2003 at 05:55:02PM +0200, Luis Pedro Coelho wrote:
> > Is this a good solution or a hack?
>
> IMHO it's a good solution. I'd use KCF instead of the direct
> KLibLoader/dynamic_cast usage though (see also attached patch) .

Thanks for that pointer. Will do.

Le Saturday 07 June 2003 18:36, George Staikos a écrit :
>    You have to check the return code of dynamic_cast for 0L.

The full patch included a assert that it wasn't null :)

I think I will be applying Simon's version of the patch unless someone else 
disagrees.

Regards and thanks for the input,
- -- 
Luis Pedro Coelho

The carrot tax, see:
http://luispedro.journalspace.com/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+4hX5GpBAvyRwXdgRAkjWAJ9kea139IGzkI/y3kFINr/GfivWZACfe9DU
SUKVOsihjRp3hSdDbOHpgsc=
=OfCM
-----END PGP SIGNATURE-----




More information about the kde-core-devel mailing list