KRecentFilesAction / KUrl::List (Re: Adding simple API / freeze in effect?)

Aaron J. Seigo aseigo at kde.org
Wed Nov 14 23:48:08 GMT 2007


On Wednesday 14 November 2007, David Faure wrote:
> On Thursday 15 November 2007, Olivier Goffart wrote:
> > Do you know the existence of QMap::values() ?
> > It would make the code shorter.
> > (But would require to return QList<KUrl>)
>
> We want to return a KUrl::List, but this post made me realize that we were
> missing QList<KUrl> to KUrl::List conversion. OK if I commit this patch?
> Then KRecentFilesAction can use values() :)

ah, good idea! yeah, this looks good.

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Trolltech
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20071114/b6c83c14/attachment.sig>


More information about the kde-core-devel mailing list