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

List:       kde-devel
Subject:    Re: QStringList problem
From:       Christian Schaarschmidt <schaarsc () gmx ! de>
Date:       2006-11-18 0:28:20
Message-ID: 200611180128.20806.schaarsc () gmx ! de
[Download RAW message or body]

Am Samstag, 18. November 2006 00:31 schrieb Henrique Pinto:
> On Fri 17 Nov 2006 18:36, Christian Schaarschmidt wrote:
> >   l.insert( iter, "ins" );
>
> Does "iter = l.insert( iter, "ins" )" work? Insert returns an iterator to
> the inserted item, according to the docs.

I think this could be used as a workaround, thanks!

The returned iterator seems to be ok:
kmail: iter before insert=item
kmail: iter after insert=ins
kmail: iter not at the end
kmail: item
kmail: iter at the end
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

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

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