-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaddusers.h
41 lines (36 loc) · 978 Bytes
/
addusers.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
/*
* File: adprog.c
* Author: Will Flores
* Usage:
* Description: This file implements the functions and layout of the graphical
* user interface that uses the AD program API to import users.
* Environment: Windows 7, 64 bit build
* Notes:
* Revisions: NONE
*
* Created on January 19, 2012, 10:42 AM
*/
#ifndef ADDUSERS_H
#define ADDUSERS_H
#include <QWidget> /* For Gui */
#include "userattrib.h" /* The ADprogram API */
#include "userViewGUI.h"
/* Calling Program for GUI */
class ImportUsers;
/* User edit class */
class AddUsers : public UserViewGUI {
Q_OBJECT
public:
AddUsers(ImportUsers * prog, QWidget *parent = 0);
public slots:
/* The child class's methods for the editing of attributes */
void enableAdding();
void disableAdding();
void clearAddForm(bool warn = true);
void submitAddForm();
private:
QPushButton *clearForm;
QPushButton *submitForm;
QHBoxLayout *submitLayout;
};
#endif /* ADDUSERS_H */