MauiKit Calendar

mimetypes.cpp
1// SPDX-FileCopyrightText: 2022 Carl Schwan <carl@carlschwan.eu>
2// SPDX-License-Identifier: LGPL-2.0-or-later
3
4#include "mimetypes.h"
5
6#include <KContacts/Addressee>
7#include <KContacts/ContactGroup>
8
9using namespace Akonadi::Quick;
10
11MimeTypes::MimeTypes(QObject *parent)
12 : QObject(parent)
13{
14}
15
16QString MimeTypes::calendar() const
17{
18 return QStringLiteral("application/x-vnd.akonadi.calendar.event");
19}
20
21QString MimeTypes::todo() const
22{
23 return QStringLiteral("application/x-vnd.akonadi.calendar.todo");
24}
25
26QString MimeTypes::address() const
27{
29}
30
31QString MimeTypes::contactGroup() const
32{
34}
35
36QString MimeTypes::mail() const
37{
38 return QStringLiteral("message/rfc822");
39}
static QString mimeType()
static QString mimeType()
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:53:27 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.