Libkleo

editdirectoryservicedialog.h
1 /*
2  ui/editdirectoryservicedialog.h
3 
4  This file is part of libkleopatra, the KDE keymanagement library
5  SPDX-FileCopyrightText: 2021 g10 Code GmbH
6  SPDX-FileContributor: Ingo Klöcker <dev@ingo-kloecker.de>
7 
8  SPDX-License-Identifier: GPL-2.0-or-later
9 */
10 
11 #pragma once
12 
13 #include "kleo_export.h"
14 
15 #include <QDialog>
16 
17 #include <memory>
18 
19 namespace Kleo
20 {
21 class KeyserverConfig;
22 
23 class KLEO_EXPORT EditDirectoryServiceDialog : public QDialog
24 {
25  Q_OBJECT
26 public:
27  explicit EditDirectoryServiceDialog(QWidget *parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags());
28  ~EditDirectoryServiceDialog() override;
29 
30  void setKeyserver(const KeyserverConfig &keyserver);
31  KeyserverConfig keyserver() const;
32 
33 private:
34  class Private;
35  const std::unique_ptr<Private> d;
36 };
37 
38 }
typedef WindowFlags
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Thu Feb 15 2024 03:56:14 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.