QPtrDict and DOM::Node ...

David Faure dfaure at trolltech.com
Tue Apr 29 10:42:31 BST 2003


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

On Tuesday 29 April 2003 03:48, Peter Kelly wrote:
> I agree they should be public. However I believe this would break BC.
Nope. Making a method public doesn't break BC.

> A workaround is to use the Node constructor first then pass that to the 
> subclass constructor. Each has a Class(const Node &other) constructor that 
> can be used for this purpose.
> 
> e.g.
> 
>   NodeImpl *e = getHandle();
>   Element em = Element(Node(e));
Interesting.

- -- 
David FAURE, faure at kde.org, sponsored by TrollTech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
How to write a Makefile.am for KDE/Qt code:
http://developer.kde.org/documentation/other/makefile_am_howto.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+rkkH72KcVAmwbhARAgRYAJ9MbVhqs3rO3oKV8k7II9bpf/amjgCfR5F1
QtJvTccFU1dmaT8oL/7UumU=
=OeQQ
-----END PGP SIGNATURE-----





More information about the kfm-devel mailing list