akonadi
20 #ifndef MIMETYPECHECKER_H
21 #define MIMETYPECHECKER_H
23 #include "akonadi_export.h"
25 #include <QtCore/QSharedDataPointer>
33 class MimeTypeCheckerPrivate;
139 QStringList wantedMimeTypes()
const;
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 );
250 QSharedDataPointer<MimeTypeCheckerPrivate> d;
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-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:27 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.