File indexing completed on 2024-11-24 04:50:45

0001 // SPDX-FileCopyrightText: 2007-2009 Tobias Koenig <tokoe@kde.org>
0002 // SPDX-FileCopyrightText: 2022 Carl Schwan <carl@carlschwan.eu>
0003 // SPDX-License-Identifier: LGPL-2.0-or-later
0004 
0005 #pragma once
0006 
0007 #include <QObject>
0008 namespace Akonadi
0009 {
0010 namespace Quick
0011 {
0012 class MimeTypes : public QObject
0013 {
0014     Q_OBJECT
0015     Q_PROPERTY(QString calendar READ calendar CONSTANT)
0016     Q_PROPERTY(QString todo READ todo CONSTANT)
0017     Q_PROPERTY(QString address READ address CONSTANT)
0018     Q_PROPERTY(QString contactGroup READ contactGroup CONSTANT)
0019     Q_PROPERTY(QString mail READ mail CONSTANT)
0020 
0021 public:
0022     MimeTypes(QObject *parent = nullptr);
0023     QString calendar() const;
0024     QString todo() const;
0025     QString address() const;
0026     QString contactGroup() const;
0027     QString mail() const;
0028 };
0029 }
0030 }