Diffstat (limited to 'noncore/settings/usermanager/groupdialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/usermanager/groupdialog.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/noncore/settings/usermanager/groupdialog.h b/noncore/settings/usermanager/groupdialog.h new file mode 100644 index 0000000..8b37039 --- a/dev/null +++ b/noncore/settings/usermanager/groupdialog.h | |||
@@ -0,0 +1,36 @@ | |||
1 | /*************************************************************************** | ||
2 | * * | ||
3 | * This program is free software; you can redistribute it and/or modify * | ||
4 | * it under the terms of the GNU General Public License as published by * | ||
5 | * the Free Software Foundation; either version 2 of the License, or * | ||
6 | * (at your option) any later version. * | ||
7 | * * | ||
8 | ***************************************************************************/ | ||
9 | |||
10 | #ifndef GROUPDIALOG_H | ||
11 | #define GROUPDIALOG_H | ||
12 | |||
13 | #include <qdialog.h> | ||
14 | #include <qlineedit.h> | ||
15 | |||
16 | class GroupDialog : public QDialog | ||
17 | { | ||
18 | Q_OBJECT | ||
19 | private: | ||
20 | QStringgid; | ||
21 | QStringgroupname; | ||
22 | QLineEdit *gidLineEdit; | ||
23 | QLineEdit *groupnameLineEdit; | ||
24 | int execStatus; | ||
25 | |||
26 | void accept(void); | ||
27 | |||
28 | public: | ||
29 | GroupDialog( QWidget* parent = 0, const char* name = 0, bool modal=true, WFlags fl = 0 ); | ||
30 | ~GroupDialog(); | ||
31 | static bool addGroup(int gid); | ||
32 | static bool delGroup(const char *groupname); | ||
33 | static bool editGroup(int gid); | ||
34 | }; | ||
35 | |||
36 | #endif | ||