Translation of \\foo\bar links into smb://foo/bar links

Ingo Klöcker kloecker at kde.org
Wed Jan 19 00:06:07 GMT 2005


On Wednesday 19 January 2005 00:51, Jason Keirstead wrote:
> On January 18, 2005 05:00 pm, Richard Smith wrote:
> > You could combine the non-existent test with a test for
> > starts-with-\\...
>
> Probabyly the best bet.
>
> But, where would this code go? As someone already posted, KMail
> doesn't use the URI filters.

That's completely irrelevant. If you click on a file: URL in KMail then 
KMail executes
  new KRun( url ).
So it's the task of KRun to handle the URL correctly. The same is true 
for the standard file dialog which KMail uses if you select "Save Link 
As..." from the context menu.

The only thing that needs to be changed is adding file: to the list of 
URL protocols KMail recognizes.

Regards,
Ingo
-------------- 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/20050119/0024c316/attachment.sig>


More information about the kde-core-devel mailing list