author | mickeyl <mickeyl> | 2003-10-29 17:22:08 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-10-29 17:22:08 (UTC) |
commit | 35615947e11575a61456c8483e7f6d67fe59d5ed (patch) (unidiff) | |
tree | 89f834a50b5070767ca0f9c8a90d044f075a9131 /noncore/settings/usermanager | |
parent | 80fc44ae81d88c4cee5ea160818881acb2422a62 (diff) | |
download | opie-35615947e11575a61456c8483e7f6d67fe59d5ed.zip opie-35615947e11575a61456c8483e7f6d67fe59d5ed.tar.gz opie-35615947e11575a61456c8483e7f6d67fe59d5ed.tar.bz2 |
merge noncore/settings/* except networksettings for which tille volunteered (thanks)
Diffstat (limited to 'noncore/settings/usermanager') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/usermanager/main.cpp | 9 | ||||
-rw-r--r-- | noncore/settings/usermanager/usermanager.h | 1 | ||||
-rw-r--r-- | noncore/settings/usermanager/usermanager.pro | 4 |
3 files changed, 4 insertions, 10 deletions
diff --git a/noncore/settings/usermanager/main.cpp b/noncore/settings/usermanager/main.cpp index aa78286..515ea9a 100644 --- a/noncore/settings/usermanager/main.cpp +++ b/noncore/settings/usermanager/main.cpp | |||
@@ -1,19 +1,14 @@ | |||
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 | #include "usermanager.h" | 10 | #include "usermanager.h" |
11 | #include <qpe/qpeapplication.h> | 11 | #include <qpe/qpeapplication.h> |
12 | #include <opie/oapplicationfactory.h> | ||
12 | 13 | ||
13 | int main( int argc, char ** argv ) | 14 | OPIE_EXPORT_APP( OApplicationFactory<UserConfig> ) |
14 | { | ||
15 | QPEApplication a( argc, argv ); | ||
16 | UserConfig mw(0,0,0); | ||
17 | a.showMainWidget( &mw ); | ||
18 | return a.exec(); | ||
19 | } | ||
diff --git a/noncore/settings/usermanager/usermanager.h b/noncore/settings/usermanager/usermanager.h index 6782923..313646a 100644 --- a/noncore/settings/usermanager/usermanager.h +++ b/noncore/settings/usermanager/usermanager.h | |||
@@ -18,24 +18,25 @@ | |||
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 | UserConfig( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); | 31 | UserConfig( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); |
31 | ~UserConfig(); | 32 | ~UserConfig(); |
32 | 33 | ||
33 | private: | 34 | private: |
34 | QToolButton *adduserToolButton; | 35 | QToolButton *adduserToolButton; |
35 | QToolButton *edituserToolButton; | 36 | QToolButton *edituserToolButton; |
36 | QToolButton *deleteuserToolButton; | 37 | QToolButton *deleteuserToolButton; |
37 | QToolButton *addgroupToolButton; | 38 | QToolButton *addgroupToolButton; |
38 | QToolButton *editgroupToolButton; | 39 | QToolButton *editgroupToolButton; |
39 | QToolButton *deletegroupToolButton; | 40 | QToolButton *deletegroupToolButton; |
40 | QTabWidget *myTabWidget; | 41 | QTabWidget *myTabWidget; |
41 | QListView *usersIconView; | 42 | QListView *usersIconView; |
diff --git a/noncore/settings/usermanager/usermanager.pro b/noncore/settings/usermanager/usermanager.pro index 576a233..f61fb63 100644 --- a/noncore/settings/usermanager/usermanager.pro +++ b/noncore/settings/usermanager/usermanager.pro | |||
@@ -1,22 +1,20 @@ | |||
1 | TEMPLATE= app | ||
2 | #CONFIG = qt warn_on debug | 1 | #CONFIG = qt warn_on debug |
3 | CONFIG = qt warn_on release | 2 | CONFIG = qt warn_on release quick-app |
4 | HEADERS = usermanager.h userdialog.h groupdialog.h passwd.h | 3 | HEADERS = usermanager.h userdialog.h groupdialog.h passwd.h |
5 | SOURCES = usermanager.cpp userdialog.cpp groupdialog.cpp passwd.cpp main.cpp | 4 | SOURCES = usermanager.cpp userdialog.cpp groupdialog.cpp passwd.cpp main.cpp |
6 | INCLUDEPATH+= $(OPIEDIR)/include | 5 | INCLUDEPATH+= $(OPIEDIR)/include |
7 | DEPENDPATH+= $(OPIEDIR)/include | 6 | DEPENDPATH+= $(OPIEDIR)/include |
8 | LIBS += -lqpe -lopie -lcrypt | 7 | LIBS += -lqpe -lopie -lcrypt |
9 | TARGET = usermanager | 8 | TARGET = usermanager |
10 | DESTDIR = $(OPIEDIR)/bin | ||
11 | 9 | ||
12 | TRANSLATIONS = ../../../i18n/de/usermanager.ts \ | 10 | TRANSLATIONS = ../../../i18n/de/usermanager.ts \ |
13 | ../../../i18n/nl/usermanager.ts \ | 11 | ../../../i18n/nl/usermanager.ts \ |
14 | ../../../i18n/xx/usermanager.ts \ | 12 | ../../../i18n/xx/usermanager.ts \ |
15 | ../../../i18n/en/usermanager.ts \ | 13 | ../../../i18n/en/usermanager.ts \ |
16 | ../../../i18n/es/usermanager.ts \ | 14 | ../../../i18n/es/usermanager.ts \ |
17 | ../../../i18n/fr/usermanager.ts \ | 15 | ../../../i18n/fr/usermanager.ts \ |
18 | ../../../i18n/hu/usermanager.ts \ | 16 | ../../../i18n/hu/usermanager.ts \ |
19 | ../../../i18n/ja/usermanager.ts \ | 17 | ../../../i18n/ja/usermanager.ts \ |
20 | ../../../i18n/ko/usermanager.ts \ | 18 | ../../../i18n/ko/usermanager.ts \ |
21 | ../../../i18n/no/usermanager.ts \ | 19 | ../../../i18n/no/usermanager.ts \ |
22 | ../../../i18n/pl/usermanager.ts \ | 20 | ../../../i18n/pl/usermanager.ts \ |