File indexing completed on 2024-11-17 04:45:02

0001 /*
0002     SPDX-FileCopyrightText: 2009 David Jarvie <djarvie@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include "icalresource.h"
0010 
0011 class NotesResource : public ICalResource
0012 {
0013     Q_OBJECT
0014 
0015 public:
0016     explicit NotesResource(const QString &id);
0017     ~NotesResource() override;
0018 
0019 protected:
0020     /**
0021       Returns the Akonadi specific @c text/calendar sub MIME type of the given @p incidence.
0022     */
0023     QString mimeType(const KCalendarCore::IncidenceBase::Ptr &incidence) const override;
0024 
0025     /**
0026       Returns a list of all calendar component sub MIME types.
0027      */
0028     QStringList allMimeTypes() const override;
0029 };