blob: 97e9fe5c0ea3adeaa77d91afdd7ca12af071f0ed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
|
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>KlamOnAccConfig</class>
<widget class="TQWidget">
<property name="name">
<cstring>KlamOnAccConfig</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>712</width>
<height>647</height>
</rect>
</property>
<property name="caption">
<string>Form1</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQGroupBox">
<property name="name">
<cstring>GroupScannerOpts</cstring>
</property>
<property name="title">
<string>Scanner Settings</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQCheckBox">
<property name="name">
<cstring>kcfg_EnableOnAccess</cstring>
</property>
<property name="text">
<string>Enable &On-Access Scanner</string>
</property>
<property name="accel">
<string>Alt+O</string>
</property>
</widget>
<widget class="TQCheckBox">
<property name="name">
<cstring>kcfg_ExtraScanning</cstring>
</property>
<property name="text">
<string>Scan Files/Directories When They Are &Created or Moved</string>
</property>
<property name="accel">
<string>Alt+C</string>
</property>
</widget>
<widget class="TQCheckBox">
<property name="name">
<cstring>kcfg_ExcludeConfDir</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>E&xclude TDE Configuration Directory</string>
</property>
<property name="accel">
<string>Alt+X</string>
</property>
</widget>
</vbox>
</widget>
<widget class="TQGroupBox">
<property name="name">
<cstring>groupBox2</cstring>
</property>
<property name="title">
<string>Limits</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>MaxFileHBox</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>MaxFileLabel</cstring>
</property>
<property name="text">
<string>Max File Size:</string>
</property>
</widget>
<widget class="TQSpinBox">
<property name="name">
<cstring>kcfg_OnAccessMaxFile</cstring>
</property>
<property name="suffix">
<string> M</string>
</property>
<property name="value">
<number>5</number>
</property>
</widget>
<spacer>
<property name="name">
<cstring>MaxFileSpacer</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</hbox>
</widget>
</vbox>
</widget>
<widget class="TQFrame">
<property name="name">
<cstring>GroupWatchDirs</cstring>
</property>
<property name="frameShape">
<enum>StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>Raised</enum>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<spacer>
<property name="name">
<cstring>WatchDirsSpacerLeft</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="TQPushButton">
<property name="name">
<cstring>SetUpWatchDirs</cstring>
</property>
<property name="text">
<string>Set up &Directories to Watch</string>
</property>
<property name="accel">
<string>Alt+D</string>
</property>
</widget>
<spacer>
<property name="name">
<cstring>WatchDirsSpacerRight</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</hbox>
</widget>
<widget class="TQTextEdit">
<property name="name">
<cstring>textEdit1</cstring>
</property>
<property name="text">
<string><html><head><meta name="qrichtext" content="1" /></head><body style="font-size:12pt;font-family:Arial">
<p align="center"><span style="font-weight:600;text-decoration:underline;color:#ff0000">Warning!</span> This function is experimental. Use with caution.</p>
<p>The <span style="font-weight:600">On-Access Scanner</span> can scan files and directories as you open them, or even as you create them.</p>
<p>This function requires the <span style="font-style:italic">ClamAV Daemon</span> to be already running in the background and requires root permissions to start.</p>
</body></html>
</string>
</property>
<property name="wordWrap">
<enum>WidgetWidth</enum>
</property>
</widget>
</vbox>
</widget>
<connections>
<connection>
<sender>SetUpWatchDirs</sender>
<signal>clicked()</signal>
<receiver>KlamOnAccConfig</receiver>
<slot>reconfigurePaths()</slot>
</connection>
<connection>
<sender>kcfg_ExtraScanning</sender>
<signal>clicked()</signal>
<receiver>KlamOnAccConfig</receiver>
<slot>slotSettingsChanged()</slot>
</connection>
<connection>
<sender>kcfg_ExcludeConfDir</sender>
<signal>clicked()</signal>
<receiver>KlamOnAccConfig</receiver>
<slot>slotSettingsChanged()</slot>
</connection>
<connection>
<sender>kcfg_OnAccessMaxFile</sender>
<signal>valueChanged(const TQString&)</signal>
<receiver>KlamOnAccConfig</receiver>
<slot>slotSettingsChanged()</slot>
</connection>
</connections>
<includes>
<include location="local" impldecl="in implementation">klamonacc_config.ui.h</include>
</includes>
<variables>
<variable>bool restart;</variable>
</variables>
<signals>
<signal>directoriesModified()</signal>
</signals>
<slots>
<slot>reconfigurePaths()</slot>
<slot access="private">slotSettingsChanged()</slot>
<slot>slotSettingsApplied()</slot>
</slots>
<functions>
<function returnType="bool">needsRestart()</function>
</functions>
<layoutdefaults spacing="6" margin="11"/>
</UI>
|