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

KDE's Doxygen guidelines are available online.