author | umopapisdn <umopapisdn> | 2002-09-24 21:21:55 (UTC) |
---|---|---|
committer | umopapisdn <umopapisdn> | 2002-09-24 21:21:55 (UTC) |
commit | 8854c1688dfc388e3621b7494f6338008173b20c (patch) (unidiff) | |
tree | 3e6db427b24423b847d7e594f2fc9c865e0cc2ec /noncore/settings/usermanager/usermanager.h | |
parent | 93be75ceab687091f76a459eb34bfd4859986116 (diff) | |
download | opie-8854c1688dfc388e3621b7494f6338008173b20c.zip opie-8854c1688dfc388e3621b7494f6338008173b20c.tar.gz opie-8854c1688dfc388e3621b7494f6338008173b20c.tar.bz2 |
New Application OPIE-UserManager added.
Diffstat (limited to 'noncore/settings/usermanager/usermanager.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/usermanager/usermanager.h | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/noncore/settings/usermanager/usermanager.h b/noncore/settings/usermanager/usermanager.h new file mode 100644 index 0000000..bb5d04f --- a/dev/null +++ b/noncore/settings/usermanager/usermanager.h | |||
@@ -0,0 +1,65 @@ | |||
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 USERCONFIG_H | ||
11 | #define USERCONFIG_H | ||
12 | |||
13 | #include <qmainwindow.h> | ||
14 | #include <qtabwidget.h> | ||
15 | #include <qlistview.h> | ||
16 | #include <qiconview.h> | ||
17 | |||
18 | #include <qpe/qpemenubar.h> | ||
19 | #include <qpopupmenu.h> | ||
20 | #include <qpe/qpetoolbar.h> | ||
21 | #include <qtoolbutton.h> | ||
22 | |||
23 | #include "userdialog.h" | ||
24 | #include "groupdialog.h" | ||
25 | #include "passwd.h" | ||
26 | |||
27 | class UserConfig : public QMainWindow | ||
28 | { | ||
29 | Q_OBJECT | ||
30 | |||
31 | public: | ||
32 | UserConfig( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); | ||
33 | ~UserConfig(); | ||
34 | |||
35 | private: | ||
36 | QToolButton *adduserToolButton; | ||
37 | QToolButton *edituserToolButton; | ||
38 | QToolButton *deleteuserToolButton; | ||
39 | QToolButton *addgroupToolButton; | ||
40 | QToolButton *editgroupToolButton; | ||
41 | QToolButton *deletegroupToolButton; | ||
42 | QTabWidget *myTabWidget; | ||
43 | QIconView *usersIconView; | ||
44 | QListView *usersListView; | ||
45 | QListView *groupsListView; | ||
46 | int availableUID; | ||
47 | int availableGID; | ||
48 | void setupTabAccounts(); | ||
49 | void setupTabAllUsers(); | ||
50 | void setupTabAllGroups(); | ||
51 | void setupTabPrefs(); | ||
52 | void setupTabAbout(); | ||
53 | void getUsers(); | ||
54 | void getGroups(); | ||
55 | |||
56 | private slots: | ||
57 | void addUser(); | ||
58 | void editUser(); | ||
59 | void delUser(); | ||
60 | void addGroup(); | ||
61 | void editGroup(); | ||
62 | void delGroup(); | ||
63 | }; | ||
64 | |||
65 | #endif // USERCONFIG_H | ||