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

List:       kde-core-devel
Subject:    Re: kdirlister + media:/ ioslave question
From:       Michael Brade <brade () kde ! org>
Date:       2005-02-12 22:18:41
Message-ID: 200502122318.47496.brade () kde ! org
[Download RAW message or body]


On Saturday 12 February 2005 18:26, Michael Brade wrote:
> I'll fix both issues.
Not trivial though. The problem is that KDirLister does not store the actual 
items it listed, for that it queries KDirListerCache. So 
KDirLister::addRefreshItem() needs additional information and the only way I 
can think of is to add this by means of another argument. If this method just 
weren't virtual there would be no problem :-(

So my question: Is it BC if I change a virtual function's arguments if this 
virtual function wasn't called by anyone outside kdelibs? (Does anyone know 
if there are apps that derive from KDirLister and reimplement addRefreshItem? 
Not that I could imagine...) If this is not BC, then I can add another, 
non-virtual method and call this instead---which will result in a behavior 
change for deriving KDirListers that reimplement addRefreshItem. And calling 
both methods makes simply absolutely no sense at all.

If nothing of the above is suitable, then I have a problem... didn't come up 
with a better solution 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