-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy patheditUsers.h
35 lines (32 loc) · 853 Bytes
/
editUsers.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
#ifndef EDITUSERS_H
#define EDITUSERS_H
#include <QWidget> /* For Gui */
#include "userattrib.h" /* The ADprogram API */
#include "userViewGUI.h"
/* Calling Program for GUI */
class ImportUsers;
/* User edit class */
class EditUsers : public UserViewGUI {
Q_OBJECT
public:
EditUsers(ImportUsers * prog, QWidget *parent = 0);
public slots:
/* The child class's methods for the editing of attributes */
void nextPerson();
void prevPerson();
void deletePerson();
void editPerson();
void submitChange();
void cancelChange();
void processChanges();
void updateInterface(int mode);
private:
QPushButton *cancelEdit;
QPushButton *submitEdit;
QPushButton *delUser;
QPushButton *editUser;
QPushButton *prevRecord;
QPushButton *nextRecord;
QHBoxLayout *navLayout;
};
#endif // EDITUSERS_H