1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
/*
test_keygen.h
This file is part of libkleopatra's test suite.
SPDX-FileCopyrightText: 2004 Klarälvdalens Datakonsult AB
SPDX-License-Identifier: GPL-2.0-only
*/
#pragma once
#include <QByteArray>
#include <QDialog>
namespace GpgME
{
class Error;
class KeyGenerationResult;
}
class QLineEdit;
class KeyGenerator : public QDialog
{
Q_OBJECT
public:
KeyGenerator(QWidget *parent = nullptr);
~KeyGenerator() override;
public Q_SLOTS:
void slotStartKeyGeneration();
void slotResult(const GpgME::KeyGenerationResult &res, const QByteArray &keyData);
private:
void showError(const GpgME::Error &err);
private:
QLineEdit *mLineEdits[20];
};
|