Pimcommon

blacklistbalooemailsearchjob.h
1/*
2 SPDX-FileCopyrightText: 2015-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5
6*/
7
8#pragma once
9
10#include <QObject>
11
12#include "pimcommonakonadi_private_export.h"
13namespace PimCommon
14{
15class PIMCOMMONAKONADI_TESTS_EXPORT BlackListBalooEmailSearchJob : public QObject
16{
17 Q_OBJECT
18public:
19 explicit BlackListBalooEmailSearchJob(QObject *parent = nullptr);
20 ~BlackListBalooEmailSearchJob() override;
21
22 [[nodiscard]] bool start();
23
24 void setSearchEmail(const QString &searchEmail);
25
26 void setLimit(int limit);
27
28Q_SIGNALS:
29 void emailsFound(const QStringList &list);
30
31private:
32 QString mSearchEmail;
33 int mLimit = 500;
34};
35}
Q_SCRIPTABLE Q_NOREPLY void start()
folderdialogacltab.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:39:22 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.