Translation of \\foo\bar links into smb://foo/bar links
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
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
More information about the kde-core-devel