-rw-r--r-- | pwmanager/pwmanager/pwmanager.pro | 168 | ||||
-rw-r--r-- | pwmanager/pwmanager/pwmdoc.h | 2 |
2 files changed, 169 insertions, 1 deletions
diff --git a/pwmanager/pwmanager/pwmanager.pro b/pwmanager/pwmanager/pwmanager.pro new file mode 100644 index 0000000..34f7403 --- a/dev/null +++ b/pwmanager/pwmanager/pwmanager.pro | |||
@@ -0,0 +1,168 @@ | |||
1 | TEMPLATE= app | ||
2 | CONFIG += qt warn_on | ||
3 | |||
4 | |||
5 | TARGET = pwmpi | ||
6 | OBJECTS_DIR = obj/$(PLATFORM) | ||
7 | MOC_DIR = moc/$(PLATFORM) | ||
8 | DESTDIR=$(QPEDIR)/bin | ||
9 | |||
10 | INCLUDEPATH += . ../../ ../../qtcompat ../../qtcompat/xml ../../libkdepim ../../microkde ../../microkde/kdecore ../../microkde/kdeui ../../microkde/kutils $(QPEDIR)/include | ||
11 | DEFINES += PWM_EMBEDDED CONFIG_PWMANAGER_GCRY DESKTOP_VERSION | ||
12 | |||
13 | #enable this setting if you want debugoutput for pwmanager | ||
14 | #DEFINES += CONFIG_DEBUG | ||
15 | LIBS += -L../libcrypt/$(PLATFORM) | ||
16 | LIBS += -lmicrokde | ||
17 | LIBS += -lmicroqtcompat | ||
18 | LIBS += -lmicrokdepim | ||
19 | LIBS += -L$(QPEDIR)/lib | ||
20 | LIBS += -lqpe | ||
21 | LIBS += -lzlib | ||
22 | #LIBS += -lbz2 | ||
23 | #LIBS += -lkpmicrogcrypt | ||
24 | LIBS += -ljpeg | ||
25 | LIBS += $(QTOPIALIB) | ||
26 | LIBS += -lkpmicrocipher | ||
27 | LIBS += -lkpmicroerror | ||
28 | LIBS += -lkpmicrompi | ||
29 | LIBS += -lstdc++ | ||
30 | |||
31 | #INTERFACES = \ | ||
32 | #addentrywnd.ui \ | ||
33 | #configwnd.ui \ | ||
34 | #findwnd.ui \ | ||
35 | #getmasterpwwnd.ui \ | ||
36 | #pwgenwnd.ui \ | ||
37 | #setmasterpwwnd.ui \ | ||
38 | #subtbledit.ui | ||
39 | |||
40 | #INTERFACES = \ | ||
41 | #subtbledit.ui \ | ||
42 | |||
43 | |||
44 | |||
45 | #HEADERS = \ | ||
46 | #configuration_31compat.h \ | ||
47 | #configuration.h \ | ||
48 | #configwnd.h \ | ||
49 | #configwndimpl.h \ | ||
50 | #selftest.h | ||
51 | #subtbledit.h \ | ||
52 | #subtbleditimpl.h \ | ||
53 | #compressbzip2.h \ | ||
54 | |||
55 | HEADERS = \ | ||
56 | addentrywnd_emb.h \ | ||
57 | addentrywndimpl.h \ | ||
58 | base64.h \ | ||
59 | binentrygen.h \ | ||
60 | blowfish.h \ | ||
61 | commentbox.h \ | ||
62 | compiler.h \ | ||
63 | compressgzip.h \ | ||
64 | findwnd_emb.h \ | ||
65 | findwndimpl.h \ | ||
66 | genpasswd.h \ | ||
67 | getkeycardwnd.h \ | ||
68 | getmasterpwwnd_emb.h \ | ||
69 | getmasterpwwndimpl.h \ | ||
70 | globalstuff.h \ | ||
71 | gpasmanfile.h \ | ||
72 | htmlgen.h \ | ||
73 | htmlparse.h \ | ||
74 | ipc.h \ | ||
75 | libgcryptif.h \ | ||
76 | listobjselectwnd.h \ | ||
77 | listviewpwm.h \ | ||
78 | printtext.h \ | ||
79 | pwgenwnd_emb.h \ | ||
80 | pwgenwndimpl.h \ | ||
81 | pwmdoc.h \ | ||
82 | pwmdocui.h \ | ||
83 | pwmexception.h \ | ||
84 | pwm.h \ | ||
85 | pwminit.h \ | ||
86 | pwmprefs.h \ | ||
87 | pwmprint.h \ | ||
88 | pwmtray.h \ | ||
89 | pwmview.h \ | ||
90 | pwmviewstyle_0.h \ | ||
91 | pwmviewstyle_1.h \ | ||
92 | pwmviewstyle.h \ | ||
93 | randomizer.h \ | ||
94 | rc2.h \ | ||
95 | rencatwnd.h \ | ||
96 | serializer.h \ | ||
97 | setmasterpwwnd_emb.h \ | ||
98 | setmasterpwwndimpl.h \ | ||
99 | sha1.h \ | ||
100 | waitwnd.h \ | ||
101 | kcmconfigs/kcmpwmconfig.h \ | ||
102 | kcmconfigs/pwmconfigwidget.h | ||
103 | |||
104 | #sources that need not be build | ||
105 | #SOURCES = \ | ||
106 | #advcommeditimpl.cpp \ | ||
107 | #configuration.cpp \ | ||
108 | #configwnd.cpp \ | ||
109 | #configwndimpl.cpp \ | ||
110 | #configuration_31compat.cpp \ | ||
111 | #htmlparse.cpp \ | ||
112 | #printtext.cpp \ | ||
113 | #selftest.cpp \ | ||
114 | #pwmprint.cpp \ | ||
115 | #spinforsignal.cpp | ||
116 | #subtbledit.cpp \ | ||
117 | #subtbleditimpl.cpp \ | ||
118 | #compressbzip2.cpp | ||
119 | |||
120 | |||
121 | SOURCES = \ | ||
122 | addentrywnd_emb.cpp \ | ||
123 | addentrywndimpl.cpp \ | ||
124 | base64.cpp \ | ||
125 | binentrygen.cpp \ | ||
126 | blowfish.cpp \ | ||
127 | commentbox.cpp \ | ||
128 | compressgzip.cpp \ | ||
129 | findwnd_emb.cpp \ | ||
130 | findwndimpl.cpp \ | ||
131 | genpasswd.cpp \ | ||
132 | getkeycardwnd.cpp \ | ||
133 | getmasterpwwnd_emb.cpp \ | ||
134 | getmasterpwwndimpl.cpp \ | ||
135 | globalstuff.cpp \ | ||
136 | gpasmanfile.cpp \ | ||
137 | htmlgen.cpp \ | ||
138 | ipc.cpp \ | ||
139 | libgcryptif.cpp \ | ||
140 | listobjselectwnd.cpp \ | ||
141 | listviewpwm.cpp \ | ||
142 | main.cpp \ | ||
143 | pwgenwnd_emb.cpp \ | ||
144 | pwgenwndimpl.cpp \ | ||
145 | pwm.cpp \ | ||
146 | pwmdoc.cpp \ | ||
147 | pwmdocui.cpp \ | ||
148 | pwmexception.cpp \ | ||
149 | pwminit.cpp \ | ||
150 | pwmprefs.cpp \ | ||
151 | pwmtray.cpp \ | ||
152 | pwmview.cpp \ | ||
153 | pwmviewstyle_0.cpp \ | ||
154 | pwmviewstyle_1.cpp \ | ||
155 | pwmviewstyle.cpp \ | ||
156 | randomizer.cpp \ | ||
157 | rc2.cpp \ | ||
158 | rencatwnd.cpp \ | ||
159 | serializer.cpp \ | ||
160 | setmasterpwwnd_emb.cpp \ | ||
161 | setmasterpwwndimpl.cpp \ | ||
162 | sha1.cpp \ | ||
163 | waitwnd.cpp \ | ||
164 | kcmconfigs/kcmpwmconfig.cpp \ | ||
165 | kcmconfigs/pwmconfigwidget.cpp | ||
166 | |||
167 | |||
168 | |||
diff --git a/pwmanager/pwmanager/pwmdoc.h b/pwmanager/pwmanager/pwmdoc.h index a6e5f58..635361a 100644 --- a/pwmanager/pwmanager/pwmdoc.h +++ b/pwmanager/pwmanager/pwmdoc.h | |||
@@ -127,7 +127,7 @@ struct PwMMetaData | |||
127 | expire = QDateTime(); | 127 | expire = QDateTime(); |
128 | update = QDateTime(); | 128 | update = QDateTime(); |
129 | updateInt = 0; | 129 | updateInt = 0; |
130 | uniqueid = KApplication::randomString(8); | 130 | uniqueid = KApplication::randomString(8).latin1(); |
131 | } | 131 | } |
132 | 132 | ||
133 | inline bool isValid() const | 133 | inline bool isValid() const |