From kde-devel Fri Oct 29 00:38:27 2004 From: Richard Smith Date: Fri, 29 Oct 2004 00:38:27 +0000 To: kde-devel Subject: Re: DNS based service discovery Message-Id: <200410290138.27390.kde () metafoo ! co ! uk> X-MARC-Message: https://marc.info/?l=kde-devel&m=109900986611160 On Thursday 28 October 2004 20:46, Thiago Macieira wrote: > Jakub Stachowski wrote: > >> ServiceList is descended from QPtrList. Please make it a QValueList, > >> since the QPtr* are going away in Qt4 anyways. > > > >So I should use QValueList ? > > No, QValueList Um, are you sure? Other classes (such as RemoteService) are derived from ServiceBase. A QValueList stores ServiceBase objects, not pointers to derived objects. This will slice the derived parts off the objects, and will cause breakage. -- Thanks, Richard >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<