-rw-r--r-- | noncore/settings/usermanager/usermanager.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/settings/usermanager/usermanager.h b/noncore/settings/usermanager/usermanager.h index 313646a..d7c25b8 100644 --- a/noncore/settings/usermanager/usermanager.h +++ b/noncore/settings/usermanager/usermanager.h | |||
@@ -1,62 +1,62 @@ | |||
1 | /*************************************************************************** | 1 | /*************************************************************************** |
2 | * * | 2 | * * |
3 | * This program is free software; you can redistribute it and/or modify * | 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 * | 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 * | 5 | * the Free Software Foundation; either version 2 of the License, or * |
6 | * (at your option) any later version. * | 6 | * (at your option) any later version. * |
7 | * * | 7 | * * |
8 | ***************************************************************************/ | 8 | ***************************************************************************/ |
9 | 9 | ||
10 | #ifndef USERCONFIG_H | 10 | #ifndef USERCONFIG_H |
11 | #define USERCONFIG_H | 11 | #define USERCONFIG_H |
12 | 12 | ||
13 | #include <qmainwindow.h> | 13 | #include <qmainwindow.h> |
14 | #include <qtabwidget.h> | 14 | #include <qtabwidget.h> |
15 | #include <qlistview.h> | 15 | #include <qlistview.h> |
16 | #include <qpopupmenu.h> | 16 | #include <qpopupmenu.h> |
17 | #include <qtoolbutton.h> | 17 | #include <qtoolbutton.h> |
18 | 18 | ||
19 | #include <qpe/qpetoolbar.h> | 19 | #include <qpe/qpetoolbar.h> |
20 | 20 | ||
21 | #include "userdialog.h" | 21 | #include "userdialog.h" |
22 | #include "groupdialog.h" | 22 | #include "groupdialog.h" |
23 | #include "passwd.h" | 23 | #include "passwd.h" |
24 | 24 | ||
25 | class UserConfig : public QMainWindow | 25 | class UserConfig : public QMainWindow |
26 | { | 26 | { |
27 | Q_OBJECT | 27 | Q_OBJECT |
28 | 28 | ||
29 | public: | 29 | public: |
30 | static QString appName() { return QString::fromLatin1("appname"); } | 30 | static QString appName() { return QString::fromLatin1("usermanager"); } |
31 | UserConfig( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); | 31 | UserConfig( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); |
32 | ~UserConfig(); | 32 | ~UserConfig(); |
33 | 33 | ||
34 | private: | 34 | private: |
35 | QToolButton *adduserToolButton; | 35 | QToolButton *adduserToolButton; |
36 | QToolButton *edituserToolButton; | 36 | QToolButton *edituserToolButton; |
37 | QToolButton *deleteuserToolButton; | 37 | QToolButton *deleteuserToolButton; |
38 | QToolButton *addgroupToolButton; | 38 | QToolButton *addgroupToolButton; |
39 | QToolButton *editgroupToolButton; | 39 | QToolButton *editgroupToolButton; |
40 | QToolButton *deletegroupToolButton; | 40 | QToolButton *deletegroupToolButton; |
41 | QTabWidget *myTabWidget; | 41 | QTabWidget *myTabWidget; |
42 | QListView *usersIconView; | 42 | QListView *usersIconView; |
43 | QListView *usersListView; | 43 | QListView *usersListView; |
44 | QListView *groupsListView; | 44 | QListView *groupsListView; |
45 | QPopupMenu userPopupMenu; | 45 | QPopupMenu userPopupMenu; |
46 | QPopupMenu groupPopupMenu; | 46 | QPopupMenu groupPopupMenu; |
47 | int availableUID; | 47 | int availableUID; |
48 | int availableGID; | 48 | int availableGID; |
49 | void setupTabAccounts(); | 49 | void setupTabAccounts(); |
50 | void setupTabAllUsers(); | 50 | void setupTabAllUsers(); |
51 | void setupTabAllGroups(); | 51 | void setupTabAllGroups(); |
52 | void setupTabPrefs(); | 52 | void setupTabPrefs(); |
53 | void setupTabAbout(); | 53 | void setupTabAbout(); |
54 | void getUsers(); | 54 | void getUsers(); |
55 | void getGroups(); | 55 | void getGroups(); |
56 | 56 | ||
57 | private slots: | 57 | private slots: |
58 | void addUser(); | 58 | void addUser(); |
59 | void editUser(); | 59 | void editUser(); |
60 | void delUser(); | 60 | void delUser(); |
61 | void addGroup(); | 61 | void addGroup(); |
62 | void editGroup(); | 62 | void editGroup(); |