File indexing completed on 2025-01-05 04:55:48

0001 /*
0002     ui/editdirectoryservicedialog.h
0003 
0004     This file is part of libkleopatra, the KDE keymanagement library
0005     SPDX-FileCopyrightText: 2021 g10 Code GmbH
0006     SPDX-FileContributor: Ingo Klöcker <dev@ingo-kloecker.de>
0007 
0008     SPDX-License-Identifier: GPL-2.0-or-later
0009 */
0010 
0011 #pragma once
0012 
0013 #include "kleo_export.h"
0014 
0015 #include <QDialog>
0016 
0017 #include <memory>
0018 
0019 namespace Kleo
0020 {
0021 class KeyserverConfig;
0022 
0023 class KLEO_EXPORT EditDirectoryServiceDialog : public QDialog
0024 {
0025     Q_OBJECT
0026 public:
0027     explicit EditDirectoryServiceDialog(QWidget *parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags());
0028     ~EditDirectoryServiceDialog() override;
0029 
0030     void setKeyserver(const KeyserverConfig &keyserver);
0031     KeyserverConfig keyserver() const;
0032 
0033 private:
0034     class Private;
0035     const std::unique_ptr<Private> d;
0036 };
0037 
0038 }