File indexing completed on 2025-01-19 04:43:28

0001 /*
0002  * This file is part of the KDE Akonadi Search Project
0003  * SPDX-FileCopyrightText: 2014-2024 Laurent Montel <montel@kde.org>
0004  *
0005  * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0006  *
0007  */
0008 
0009 #pragma once
0010 
0011 #include "../pimsearchstore.h"
0012 
0013 namespace Akonadi
0014 {
0015 namespace Search
0016 {
0017 class CalendarSearchStore : public PIMSearchStore
0018 {
0019     Q_OBJECT
0020     Q_INTERFACES(Akonadi::Search::SearchStore)
0021 #ifndef AKONADI_SEARCH_NO_PLUGINS
0022     Q_PLUGIN_METADATA(IID "org.kde.Akonadi.Search.SearchStore" FILE "calendarsearchstore.json")
0023 #endif
0024 public:
0025     explicit CalendarSearchStore(QObject *parent = nullptr);
0026 
0027     [[nodiscard]] QStringList types() override;
0028 };
0029 }
0030 }