kdirlister + media:/ ioslave question

Michael Brade brade at kde.org
Sat Feb 12 22:18:41 GMT 2005


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
-------------- 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/20050212/b7a4910f/attachment.sig>


More information about the kde-core-devel mailing list