-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTDBPasswordChange.h
More file actions
45 lines (36 loc) · 875 Bytes
/
Copy pathTDBPasswordChange.h
File metadata and controls
45 lines (36 loc) · 875 Bytes
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
#ifndef TDBPASSWORDCHANGE_H
#define TDBPASSWORDCHANGE_H
#include <QLabel>
#include <QPushButton>
#include <QVBoxLayout>
#include <QLineEdit>
#include <QSqlQuery>
#include <QString>
#include <QVariant>
#include <QSqlRecord>
#include <QCryptographicHash>
#include <QByteArray>
#include <QDialog>
#include <QValidator>
#include "TDBDatabase.h"
#include "TDBApplication.h"
class TDBPasswordChange : public QDialog
{
Q_OBJECT
private:
int id;
QGridLayout* layout;
QLabel* passwd1_label;
QLabel* passwd2_label;
QLineEdit* passwd1_edit;
QLineEdit* passwd2_edit;
QPushButton* ok_button;
QPushButton* cancel_button;
public:
TDBPasswordChange(QWidget* parent, int i);
~TDBPasswordChange();
public slots:
void ok_pressed();
void cancel_pressed();
};
#endif