File indexing completed on 2024-05-05 05:53:22
0001 /* 0002 SPDX-FileCopyrightText: 2022 Rolf Eike Beer <kde@opensource.sf-tec.de> 0003 SPDX-License-Identifier: GPL-2.0-or-later 0004 */ 0005 0006 #include "kgpggeneratekeytesttransaction.h" 0007 0008 KGpgGenerateKeyTestTransaction::KGpgGenerateKeyTestTransaction(QObject *parent, const QString &name, const QString &email, 0009 const QString &comment, const QByteArray &passphrase, 0010 const KgpgCore::KgpgKeyAlgo algorithm, const uint size) 0011 : KGpgGenerateKey(parent, name, email, comment, algorithm, size) 0012 , m_passphrase(passphrase) 0013 { 0014 } 0015 0016 void KGpgGenerateKeyTestTransaction::askNewPassphrase(const QString &) 0017 { 0018 write(m_passphrase); 0019 newPassphraseEntered(); 0020 }