Mailcommon

searchruleencryption.h
1/*
2 SPDX-FileCopyrightText: 2017 Daniel Vrátil <dvratil@kde.org>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#pragma once
8#include "mailcommon_private_export.h"
9#include "searchpattern.h"
10
11namespace MailCommon
12{
13class MAILCOMMON_TESTS_EXPORT SearchRuleEncryption : public SearchRule
14{
15public:
16 explicit SearchRuleEncryption(const QByteArray &field = {}, Function func = FuncEquals, const QString &contents = {});
17 ~SearchRuleEncryption() override;
18
19 [[nodiscard]] bool isEmpty() const override;
20 [[nodiscard]] bool matches(const Akonadi::Item &item) const override;
21 [[nodiscard]] SearchRule::RequiredPart requiredPart() const override;
22};
23}
The filter dialog.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:12:19 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.