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

Authored by krake on Feb 15 2009, 12:59 PM.

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

Details

Committed
krakeFeb 15 2009, 12:59 PM
Parents
R172:455707e40392: Factor out collection movement tests as we need a clean cache for them.
Branches
Unknown
Tags
Unknown