From kde-core-devel Sun Feb 13 18:59:24 2000 From: David Sweet Date: Sun, 13 Feb 2000 18:59:24 +0000 To: kde-core-devel Subject: Re: KFileDialog X-MARC-Message: https://marc.info/?l=kde-core-devel&m=95046865004024 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