[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kopete-devel
Subject:    Re: [Kopete-devel] patch, and other stuff
From:       Daniel Stone <dstone () kde ! org>
Date:       2002-05-05 21:01:31
[Download RAW message or body]

On Sun, May 05, 2002 at 05:54:18PM +0200, Andres Krapf wrote:
> On Sunday 05 May 2002 17:29, Martijn Klingens wrote:
> >
> > Well... I *thought* it was possible to do the following:
> >
> > QPtrList<QObject> list;
> > QObject *obj = new QOject;
> > list = obj;
> 
> oh, i see. i didn't know about these. well, if it's indeed the case, please 
> remove them. in the meantime, just leave them (i tend to trust the qt docs 
> :-), until we hear from Daniel.

I was mistaken. But how hard is it to make your own QPtr list? Hell, you
can even do it in a line:

foo->bar((list = new QPtrList<QObject>).append(obj));

-- 
Daniel Stone	   <daniel@raging.dropbear.id.au>   http://raging.dropbear.id.au
KDE Developer	   <dstone@kde.org>	                      http://www.kde.org
Kopete: Multi-protocol IM client	    http://www.kdedevelopers.net/kopete/

[Attachment #3 (application/pgp-signature)]
_______________________________________________
Kopete-devel mailing list
Kopete-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/kopete-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic