HomePhorge

Adding a helper class for checking Collection and Item MIME types.
d3bafdd3c1a2Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Adding a helper class for checking Collection and Item MIME types.

Direct string comparison can fail if a MIME type's alias or "parent type" (MIME inheritance) is used on either side of the check.

Uses the MIME check facilities provided by KMimeType and wraps them in convenience methods more suited for use in Akonadi clients.

svn path=/trunk/KDE/kdepimlibs/; revision=926449

Event Timeline

Kevin Krammer <kevin.krammer@gmx.at> committed rKPLd3bafdd3c1a2: Adding a helper class for checking Collection and Item MIME types. (authored by Kevin Krammer <kevin.krammer@gmx.at>).Feb 15 2009, 1:59 PM