[Qt-interest] QDomNodeList not a QList

Ulf-Alexander v. Ceumern-Lindenstjerna ceumern at vrmagic.com
Mon Sep 21 18:30:57 CEST 2009


Hi Trolls and friends!

Is there any specific reason why QDomNodeList is NOT a QList?
Instead it seems that QDomNodePrivate has a member instead:

QList<QDomNodePrivate*> list;

I stumbled upon this when I tried to use foreach() on a QDomNodeList...

It seems kinda strange since some functions appear to be just wrappers of the internal list.

Regards, Ulf

--
Ulf v. Ceumern
Dipl.-Inf.

VRmagic GmbH
Augustaanlage 32
68165 Mannheim, Germany
E-Mail: ceumern at vrmagic.com

Tel.: +49/621/400416-52
Fax: +49/621/400416-99


Steuernummer: 38189/54003
USt.IdNr.: DE217365947
Registergericht: Amtsgericht Mannheim, HRB 8958
Geschäftsführer: Norbert Hinckers, Dr. Markus Schill
--






More information about the Qt-interest-old mailing list