File indexing completed on 2024-06-23 05:13:47
0001 /* -*- mode: c++; c-basic-offset:4 -*- 0002 conf/dirservconfigpage.h 0003 0004 This file is part of Kleopatra, the KDE keymanager 0005 SPDX-FileCopyrightText: 2004, 2008 Klarälvdalens Datakonsult AB 0006 0007 SPDX-License-Identifier: GPL-2.0-or-later 0008 */ 0009 0010 #pragma once 0011 #include <KCModule> 0012 #include <kcmutils_version.h> 0013 0014 #include <memory> 0015 0016 /** 0017 * "Directory Services" configuration page for kleopatra's configuration dialog 0018 * The user can configure LDAP servers in this page, to be used for listing/fetching 0019 * remote certificates in kleopatra. 0020 */ 0021 class DirectoryServicesConfigurationPage : public KCModule 0022 { 0023 Q_OBJECT 0024 public: 0025 explicit DirectoryServicesConfigurationPage(QObject *parent, const KPluginMetaData &data = {}); 0026 ~DirectoryServicesConfigurationPage() override; 0027 0028 void load() override; 0029 void save() override; 0030 void defaults() override; 0031 0032 private: 0033 class Private; 0034 const std::unique_ptr<Private> d; 0035 friend class DirectoryServicesConfigurationPage::Private; 0036 };