File indexing completed on 2024-04-21 15:05:25

0001 /*
0002     SPDX-FileCopyrightText: 2016 Elvis Angelaccio <elvis.angelaccio@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #ifndef KNEWPASSWORDWIDGET_TEST_H
0008 #define KNEWPASSWORDWIDGET_TEST_H
0009 
0010 #include <QDialog>
0011 
0012 class QDialogButtonBox;
0013 
0014 class KNewPasswordWidget;
0015 
0016 class MyPasswordDialog : public QDialog
0017 {
0018     Q_OBJECT
0019 
0020 public:
0021     MyPasswordDialog(QWidget *parent = nullptr);
0022 
0023     void accept() override;
0024 
0025 private Q_SLOTS:
0026     void slotPasswordStatusChanged();
0027 
0028 private:
0029     KNewPasswordWidget *m_passwordWidget;
0030     QDialogButtonBox *m_buttonBox;
0031 };
0032 
0033 #endif