[RFC] bug 70936 - crash while embedding a KPart

Waldo Bastian bastian at kde.org
Tue Jan 20 20:32:51 GMT 2004


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

On Tue January 20 2004 20:17, David Faure wrote:
> On Tuesday 20 January 2004 20:10, Christian Loose wrote:
> > both Cervisia and Quanta have a class named TagDialog.
>
> Hmm, I thought that as long as we don't use KLibLoader::globalLibrary()
> (AFAICS we don't), the symbols from dlopened objects are kept separate?

Yes, if you dlopen both Quanta and Cervisia they are kept seperate. But in 
this case its Quanta itself that dlopens Cervisia so all Quanta symbols are 
available to Cervisia.

> > - does somebody have an idea for a global solution?
>
> Use namespaces!
>
> CervisiaTagDialog or Cervisia::TagDialog, but make all classnames
> (and global functions, if any) "conflict-free".

Yup.

Cheers,
Waldo
- -- 
bastian at kde.org -=|[ KDE: K Desktop for the Enterprise ]|=- bastian at suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFADZBzN4pvrENfboIRAmuVAKCkBlGc99vumN6Bamhh906OhU0xkQCgnP/V
m+oduLGsH6MvAc+EaWQ5n2c=
=WF6O
-----END PGP SIGNATURE-----




More information about the kde-core-devel mailing list