Review Request 124746: [KDesktopFile] add readMimeType

Kai Uwe Broulik kde at privat.broulik.de
Sun Sep 6 15:30:42 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/124746/
-----------------------------------------------------------

(Updated Sept. 6, 2015, 3:30 nachm.)


Review request for KDE Frameworks.


Changes
-------

- Renamed to readMimeTypes
- Add since 5.15


Repository: kconfig


Description
-------

This allows to get the MimeType field of a desktop file to determin whether eg. the given application would accept a given mime type.

I'm not too happy about the name because "readMimeType" suggests it's a single item but then it's consisteht with the key name.


Diffs (updated)
-----

  src/core/kdesktopfile.h 2190051 
  src/core/kdesktopfile.cpp 254b59a 
  autotests/kdesktopfiletest.cpp 1a9c1c3 

Diff: https://git.reviewboard.kde.org/r/124746/diff/


Testing
-------

Test passes


Thanks,

Kai Uwe Broulik

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20150906/1a71fb07/attachment.html>


More information about the Kde-frameworks-devel mailing list