akonadi
20 #ifndef MIMETYPECHECKER_H
21 #define MIMETYPECHECKER_H
23 #include "akonadi_export.h"
25 #include <QtCore/QSharedDataPointer>
33 class MimeTypeCheckerPrivate;
148 void setWantedMimeTypes(
const QStringList &mimeTypes);
157 void addWantedMimeType(
const QString &mimeType);
166 void removeWantedMimeType(
const QString &mimeType);
179 bool isWantedItem(
const Item &item)
const;
193 bool isWantedCollection(
const Collection &collection)
const;
205 bool isWantedMimeType(
const QString &mimeType)
const;
217 bool containsWantedMimeType(
const QStringList &mimeTypes)
const;
231 static bool isWantedItem(
const Item &item,
const QString &wantedMimeType);
246 static bool isWantedCollection(
const Collection &collection,
const QString &wantedMimeType);
Represents a collection of PIM items.
Helper for checking MIME types of Collections and Items.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:03 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.