File indexing completed on 2025-01-05 04:55:50
0001 /* 0002 ui/readerportselection.h 0003 0004 This file is part of libkleopatra 0005 SPDX-FileCopyrightText: 2022 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 <QWidget> 0016 0017 namespace Kleo 0018 { 0019 0020 class KLEO_EXPORT ReaderPortSelection : public QWidget 0021 { 0022 Q_OBJECT 0023 public: 0024 ReaderPortSelection(QWidget *parent = nullptr); 0025 ~ReaderPortSelection() override; 0026 0027 void setValue(const QString &value); 0028 QString value() const; 0029 0030 Q_SIGNALS: 0031 void valueChanged(const QString &newValue); 0032 0033 private: 0034 class Private; 0035 const std::unique_ptr<Private> d; 0036 }; 0037 0038 }