[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: [PATCH] New KFileItem::assign() for Optimizing KDirListerCache
From: Michael Brade <brade () kde ! org>
Date: 2005-03-25 14:10:06
Message-ID: 200503251510.14505.brade () kde ! org
[Download RAW message or body]
On Friday 25 March 2005 14:58, David Faure wrote:
> OK - can we name it something else than assign, though, to remove some
> possible confusion?
Hm... if you think so, sure.
> How about load? setData? update?
> update() sounds best I guess. This is about updating the data in an
> existing kfileitem.
But I don't use it to update the item (which can also be confused with
refresh) but rather to make it an entirely new item... The method is a
shortcut for 'delete item; item = new KFileItem( udsEntry ... );'. Any better
name suggestions? Maybe setNewData, assignNewData? Hm, I'm not completely
happy with any of those yet...
--
Michael Brade; KDE Developer, Student of Computer Science
|-mail: echo brade !#|tr -d "c oh"|s\e\d 's/e/\@/2;s/$/.org/;s/bra/k/2'
°--web: http://www.kde.org/people/michaelb.html
KDE 3: The Next Generation in Desktop Experience
[Attachment #3 (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic