summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2004-10-19 22:30:41 (UTC)
committer zautrix <zautrix>2004-10-19 22:30:41 (UTC)
commitf605b2d40ff0f90b132ca880afa83ac751162a2e (patch) (unidiff)
treea8d2b0c79eab2166d70c765f3d90de56adbbf916
parent2ab05e776276f02fd688b7041e5ccc5eb4573e50 (diff)
downloadkdepimpi-f605b2d40ff0f90b132ca880afa83ac751162a2e.zip
kdepimpi-f605b2d40ff0f90b132ca880afa83ac751162a2e.tar.gz
kdepimpi-f605b2d40ff0f90b132ca880afa83ac751162a2e.tar.bz2
added pro file
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--pwmanager/pwmanager/pwmanager.pro168
-rw-r--r--pwmanager/pwmanager/pwmdoc.h2
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
6OBJECTS_DIR = obj/$(PLATFORM)
7MOC_DIR = moc/$(PLATFORM)
8DESTDIR=$(QPEDIR)/bin
9
10INCLUDEPATH += . ../../ ../../qtcompat ../../qtcompat/xml ../../libkdepim ../../microkde ../../microkde/kdecore ../../microkde/kdeui ../../microkde/kutils $(QPEDIR)/include
11DEFINES += PWM_EMBEDDED CONFIG_PWMANAGER_GCRY DESKTOP_VERSION
12
13#enable this setting if you want debugoutput for pwmanager
14#DEFINES += CONFIG_DEBUG
15LIBS += -L../libcrypt/$(PLATFORM)
16LIBS += -lmicrokde
17LIBS += -lmicroqtcompat
18LIBS += -lmicrokdepim
19LIBS += -L$(QPEDIR)/lib
20LIBS += -lqpe
21LIBS += -lzlib
22#LIBS += -lbz2
23#LIBS += -lkpmicrogcrypt
24LIBS += -ljpeg
25LIBS += $(QTOPIALIB)
26LIBS += -lkpmicrocipher
27LIBS += -lkpmicroerror
28LIBS += -lkpmicrompi
29LIBS += -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
55HEADERS = \
56addentrywnd_emb.h \
57addentrywndimpl.h \
58base64.h \
59binentrygen.h \
60blowfish.h \
61commentbox.h \
62compiler.h \
63compressgzip.h \
64findwnd_emb.h \
65findwndimpl.h \
66genpasswd.h \
67getkeycardwnd.h \
68getmasterpwwnd_emb.h \
69getmasterpwwndimpl.h \
70globalstuff.h \
71gpasmanfile.h \
72htmlgen.h \
73htmlparse.h \
74ipc.h \
75libgcryptif.h \
76listobjselectwnd.h \
77listviewpwm.h \
78printtext.h \
79pwgenwnd_emb.h \
80pwgenwndimpl.h \
81pwmdoc.h \
82pwmdocui.h \
83pwmexception.h \
84pwm.h \
85pwminit.h \
86pwmprefs.h \
87pwmprint.h \
88pwmtray.h \
89pwmview.h \
90pwmviewstyle_0.h \
91pwmviewstyle_1.h \
92pwmviewstyle.h \
93randomizer.h \
94rc2.h \
95rencatwnd.h \
96serializer.h \
97setmasterpwwnd_emb.h \
98setmasterpwwndimpl.h \
99sha1.h \
100waitwnd.h \
101kcmconfigs/kcmpwmconfig.h \
102kcmconfigs/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
121SOURCES = \
122addentrywnd_emb.cpp \
123addentrywndimpl.cpp \
124base64.cpp \
125binentrygen.cpp \
126blowfish.cpp \
127commentbox.cpp \
128compressgzip.cpp \
129findwnd_emb.cpp \
130findwndimpl.cpp \
131genpasswd.cpp \
132getkeycardwnd.cpp \
133getmasterpwwnd_emb.cpp \
134getmasterpwwndimpl.cpp \
135globalstuff.cpp \
136gpasmanfile.cpp \
137htmlgen.cpp \
138ipc.cpp \
139libgcryptif.cpp \
140listobjselectwnd.cpp \
141listviewpwm.cpp \
142main.cpp \
143pwgenwnd_emb.cpp \
144pwgenwndimpl.cpp \
145pwm.cpp \
146pwmdoc.cpp \
147pwmdocui.cpp \
148pwmexception.cpp \
149pwminit.cpp \
150pwmprefs.cpp \
151pwmtray.cpp \
152pwmview.cpp \
153pwmviewstyle_0.cpp \
154pwmviewstyle_1.cpp \
155pwmviewstyle.cpp \
156randomizer.cpp \
157rc2.cpp \
158rencatwnd.cpp \
159serializer.cpp \
160setmasterpwwnd_emb.cpp \
161setmasterpwwndimpl.cpp \
162sha1.cpp \
163waitwnd.cpp \
164kcmconfigs/kcmpwmconfig.cpp \
165kcmconfigs/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
@@ -114,33 +114,33 @@ struct PwMMetaData
114 * last update to remind the user to update the item. 114 * last update to remind the user to update the item.
115 * 0 disables. 115 * 0 disables.
116 */ 116 */
117 unsigned long updateInt; 117 unsigned long updateInt;
118 118
119 //US ENH: enhancements of the filestructure 119 //US ENH: enhancements of the filestructure
120 /* each entry gets a unique id assigned */ 120 /* each entry gets a unique id assigned */
121 string uniqueid; 121 string uniqueid;
122 122
123 123
124 void clear() 124 void clear()
125 { 125 {
126 create = QDateTime(); 126 create = QDateTime();
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
134 { 134 {
135 if (valid.isNull()) 135 if (valid.isNull())
136 return true; 136 return true;
137 return (valid < QDateTime::currentDateTime()); 137 return (valid < QDateTime::currentDateTime());
138 } 138 }
139 inline bool isExpired() const 139 inline bool isExpired() const
140 { 140 {
141 if (expire.isNull()) 141 if (expire.isNull())
142 return false; 142 return false;
143 return (expire < QDateTime::currentDateTime()); 143 return (expire < QDateTime::currentDateTime());
144 } 144 }
145 inline bool isUpdateIntOver() const 145 inline bool isUpdateIntOver() const
146 { 146 {