-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcmodifysecretivequestionsdialog.h
50 lines (35 loc) · 1.11 KB
/
cmodifysecretivequestionsdialog.h
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
40
41
42
43
44
45
46
47
48
49
50
/******************************
* Author : YangRongBao
* Date : 2021.4
******************************/
#ifndef CMODIFYSECRETIVEQUESTIONSDIALOG_H
#define CMODIFYSECRETIVEQUESTIONSDIALOG_H
#include "cstring.h"
#include "cencrypt.h"
#include <QCoreApplication>
#include <QDir>
#include <QDialog>
#include <QMessageBox>
#include <QRegExpValidator>
namespace Ui {
class CModifySecretiveQuestionsDialog;
}
class CModifySecretiveQuestionsDialog : public QDialog
{
Q_OBJECT
public:
explicit CModifySecretiveQuestionsDialog(const QString account, QWidget *parent = nullptr);
~CModifySecretiveQuestionsDialog();
protected:
private:
Ui::CModifySecretiveQuestionsDialog *ui;
const QString m_fileCode = "#APQA";
const QString m_path_users_enc = QCoreApplication::applicationDirPath() + "/system/users/";
const QString m_path_users_dir = QCoreApplication::applicationDirPath() + "/users/";
bool isNetwork = false;
QDir m_dirUsersEnc;
QStringList m_listUsers;
signals:
void modified();
};
#endif // CMODIFYSECRETIVEQUESTIONSDIALOG_H