File indexing completed on 2024-11-24 04:43:38

0001 /*
0002     SPDX-FileCopyrightText: 2007 Till Adam <adam@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #include "akonotesresource.h"
0008 
0009 AkonotesResource::AkonotesResource(const QString &id)
0010     : MaildirResource(id)
0011 {
0012 }
0013 
0014 AkonotesResource::~AkonotesResource() = default;
0015 
0016 QString AkonotesResource::itemMimeType() const
0017 {
0018     return QStringLiteral("text/x-vnd.akonadi.note");
0019 }
0020 
0021 QString AkonotesResource::defaultResourceType()
0022 {
0023     return QStringLiteral("notes");
0024 }
0025 
0026 AKONADI_RESOURCE_MAIN(AkonotesResource)
0027 
0028 #include "moc_akonotesresource.cpp"