Revision 1184941

Go back to digest for 17th October 2010

Features in KDE Base

David Faure committed changes in /trunk/KDE/kdelibs:

Add support for defining "helper protocols" (e.g. "mailto URLs should launch the executable kmailservice") using .desktop files (with a custom mimetype, x-scheme-handler/mailto, as added to shared-mime-info recently) rather than using .protocol files (which are KDE-specific).

Converted the two in KIO, but the code can still handle old-style .protocol files.
Unit-tested.

File Changes

Added 2 files
  • /trunk/KDE/kdelibs/kio/misc
  •   /kmailservice.desktop
  •   /ktelnetservice.desktop
Deleted 4 files
  • /trunk/KDE/kdelibs/kio/misc
  •   /kmailservice.protocol
  •   /rlogin.protocol
  •   /ssh.protocol
  •   /telnet.protocol
Modified 9 files
  • /trunk/KDE/kdelibs
  •   /kded/kbuildmimetypefactory.cpp
  •   /kded/kbuildmimetypefactory.h
  •   /kded/kbuildservicefactory.cpp
  •   /kdecore/services/kmimetype.cpp
  •   /kdecore/services/kmimetypetrader.cpp
  •   /kdecore/sycoca/kprotocolinfo.cpp
  •   /kdecore/tests/kmimetypetest.cpp
  •   /kdecore/tests/kmimetypetest.h
  •   /kio/misc/CMakeLists.txt
15 files changed in total