LCOV - code coverage report
Current view: top level - src - keygendialog.h Coverage Total Hit
Test: .lcov.total Lines: 0.0 % 1 0
Test Date: 2026-03-23 21:55:57 Functions: - 0 0

            Line data    Source code
       1              : // SPDX-FileCopyrightText: 2016 Anne Jan Brouwer
       2              : // SPDX-License-Identifier: GPL-3.0-or-later
       3              : #ifndef SRC_KEYGENDIALOG_H_
       4              : #define SRC_KEYGENDIALOG_H_
       5              : 
       6              : #include <QDialog>
       7              : 
       8              : namespace Ui {
       9              : class KeygenDialog;
      10              : }
      11              : 
      12              : /*!
      13              :     \class KeygenDialog
      14              :     \brief Handles GPG keypair generation.
      15              :  */
      16              : class ConfigDialog;
      17              : class QCloseEvent;
      18              : class KeygenDialog : public QDialog {
      19            0 :   Q_OBJECT
      20              : 
      21              : public:
      22              :   explicit KeygenDialog(ConfigDialog *parent = 0);
      23              :   ~KeygenDialog();
      24              : 
      25              : protected:
      26              :   void closeEvent(QCloseEvent *event);
      27              : 
      28              : private slots:
      29              :   void on_passphrase1_textChanged(const QString &arg1);
      30              :   void on_passphrase2_textChanged(const QString &arg1);
      31              :   void on_checkBox_stateChanged(int arg1);
      32              :   void on_email_textChanged(const QString &arg1);
      33              :   void on_name_textChanged(const QString &arg1);
      34              : 
      35              : private:
      36              :   Ui::KeygenDialog *ui;
      37              :   void replace(const QString &, const QString &);
      38              :   void done(int r);
      39              :   void no_protection(bool enable);
      40              :   ConfigDialog *dialog;
      41              : };
      42              : 
      43              : #endif // SRC_KEYGENDIALOG_H_
        

Generated by: LCOV version 2.4-beta