-
Notifications
You must be signed in to change notification settings - Fork 3
/
admin.h
42 lines (33 loc) · 771 Bytes
/
admin.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
#ifndef ADMIN_H
#define ADMIN_H
#include <QWidget>
namespace Ui {
class Admin;
}
class Admin : public QWidget
{
Q_OBJECT
public:
explicit Admin(QWidget *parent = 0);
~Admin();
void start(QString);
void logout();
private slots:
void on_newUser_clicked();
void on_addUser_clicked();
void addNewUser(QString, QString, QString);
void on_removeUser_clicked();
void on_deleteUser_clicked();
void on_logout_clicked();
void changeUserPass(QString, QString);
void on_home_clicked();
void on_home_2_clicked();
void on_goTochangePass_clicked();
void on_changepass_clicked();
void on_home_3_clicked();
private:
Ui::Admin *ui;
QString currentUser;
void removeUser(QString);
};
#endif // ADMIN_H