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

List:       kde-core-devel
Subject:    Re: KFileDialog
From:       David Sweet <dsweet () chaos ! umd ! edu>
Date:       2000-02-13 18:59:24
[Download RAW message or body]

On Sun, 13 Feb 2000, Stephan Kulow wrote:
> David Sweet wrote:
> > 
> > Why does KFileDialog::getOpenFileName () return selectedFile() instead of
> > selectedURL ()?
> > 
> > Why limit a commonly-used method to local files?  It seems to me that returning
> > selectedURL() would encourage application developers to write "network
> > transparent" could (in this case to deal with remote files).
> > 
> If you volunteer to fix all applications, I'm sure noone would object
> 
> Greetings, Stephan

Ah!

How about this:  I'll add a method getOpenURL() that
returns selectedURL().

New apps can use this new method and old apps can be upgraded slowly.  This
way nothing breaks.

Dave

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

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