Pimcommon

completionconfiguredialog.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 "pimcommonakonadi_export.h"
11
12#include <QDialog>
13class KConfig;
14namespace KLDAPCore
15{
16class LdapClientSearch;
17class LdapActivitiesAbstract;
18}
19namespace PimCommon
20{
21class CompletionConfigureDialogPrivate;
22/**
23 * @brief The CompletionConfigureDialog class
24 * @author Laurent Montel <montel@kde.org>
25 */
26class PIMCOMMONAKONADI_EXPORT CompletionConfigureDialog : public QDialog
27{
28 Q_OBJECT
29public:
30 explicit CompletionConfigureDialog(QWidget *parent = nullptr);
32
33 void load();
34 void setEmailBlackList(const QStringList &lst);
35 void setLdapClientSearch(KLDAPCore::LdapClientSearch *ldapSearch);
36 void setRecentAddresses(const QStringList &lst);
37 [[nodiscard]] bool recentAddressWasChanged() const;
38 void storeAddresses(KConfig *config);
39
40 void setLdapActivitiesAbstract(KLDAPCore::LdapActivitiesAbstract *ldapActivities);
41
42private:
43 PIMCOMMONAKONADI_NO_EXPORT void slotSaveAndClose();
44 PIMCOMMONAKONADI_NO_EXPORT void slotSave();
45 PIMCOMMONAKONADI_NO_EXPORT void readConfig();
46 PIMCOMMONAKONADI_NO_EXPORT void writeConfig();
47 std::unique_ptr<CompletionConfigureDialogPrivate> const d;
48};
49}
The CompletionConfigureDialog class.
folderdialogacltab.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:02:56 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.