-rw-r--r-- | core/opie-login/main.cpp | 34 | ||||
-rw-r--r-- | core/opie-login/opie-login.pro | 4 |
2 files changed, 19 insertions, 19 deletions
diff --git a/core/opie-login/main.cpp b/core/opie-login/main.cpp index bf98735..7d5792e 100644 --- a/core/opie-login/main.cpp +++ b/core/opie-login/main.cpp | |||
@@ -25,8 +25,24 @@ | |||
25 | 25 | ||
26 | */ | 26 | */ |
27 | 27 | ||
28 | #define _GNU_SOURCE | 28 | #include "loginapplication.h" |
29 | #include "loginwindowimpl.h" | ||
30 | #include "calibrate.h" | ||
31 | |||
32 | /* OPIE */ | ||
33 | #include <opie2/odevice.h> | ||
34 | #include <qpe/qpestyle.h> | ||
35 | #include <qpe/power.h> | ||
36 | #include <qpe/config.h> | ||
29 | 37 | ||
38 | /* QT */ | ||
39 | #include <qwindowsystem_qws.h> | ||
40 | #include <qmessagebox.h> | ||
41 | #include <qlabel.h> | ||
42 | #include <qtimer.h> | ||
43 | #include <qfile.h> | ||
44 | |||
45 | /* STD */ | ||
30 | #include <sys/types.h> | 46 | #include <sys/types.h> |
31 | #include <time.h> | 47 | #include <time.h> |
32 | #include <sys/time.h> | 48 | #include <sys/time.h> |
@@ -40,22 +56,6 @@ | |||
40 | #include <getopt.h> | 56 | #include <getopt.h> |
41 | #include <string.h> | 57 | #include <string.h> |
42 | 58 | ||
43 | #include <qpe/qpestyle.h> | ||
44 | #include <qpe/power.h> | ||
45 | #include <qpe/config.h> | ||
46 | |||
47 | #include <opie/odevice.h> | ||
48 | |||
49 | #include <qwindowsystem_qws.h> | ||
50 | #include <qmessagebox.h> | ||
51 | #include <qlabel.h> | ||
52 | #include <qtimer.h> | ||
53 | #include <qfile.h> | ||
54 | |||
55 | #include "loginapplication.h" | ||
56 | #include "loginwindowimpl.h" | ||
57 | #include "calibrate.h" | ||
58 | |||
59 | using namespace Opie; | 59 | using namespace Opie; |
60 | 60 | ||
61 | int login_main ( int argc, char **argv, pid_t ppid ); | 61 | int login_main ( int argc, char **argv, pid_t ppid ); |
diff --git a/core/opie-login/opie-login.pro b/core/opie-login/opie-login.pro index 0fdd8e1..30ed859 100644 --- a/core/opie-login/opie-login.pro +++ b/core/opie-login/opie-login.pro | |||
@@ -1,5 +1,5 @@ | |||
1 | TEMPLATE = app | 1 | TEMPLATE = app |
2 | CONFIG = qt warn_on debug | 2 | CONFIG = qt warn_on debug usepam |
3 | 3 | ||
4 | HEADERS = loginwindowimpl.h \ | 4 | HEADERS = loginwindowimpl.h \ |
5 | loginapplication.h \ | 5 | loginapplication.h \ |
@@ -17,7 +17,7 @@ INTERFACES = loginwindow.ui | |||
17 | INCLUDEPATH += $(OPIEDIR)/include ../launcher ../apps/calibrate | 17 | INCLUDEPATH += $(OPIEDIR)/include ../launcher ../apps/calibrate |
18 | DEPENDPATH += $(OPIEDIR)/include ../launcher ../apps/calibrate | 18 | DEPENDPATH += $(OPIEDIR)/include ../launcher ../apps/calibrate |
19 | 19 | ||
20 | LIBS += -lqpe -lopie | 20 | LIBS += -lqpe -lopiecore2 |
21 | 21 | ||
22 | usepam:LIBS += -lpam | 22 | usepam:LIBS += -lpam |
23 | usepam:DEFINES += USEPAM | 23 | usepam:DEFINES += USEPAM |