summaryrefslogtreecommitdiffstats
path: root/src/backend.ui
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2021-02-05 22:31:58 +0200
committerMavridis Philippe <mavridisf@gmail.com>2021-02-05 22:34:25 +0200
commit18923e403764c902e11aa2c8cd49c6f7335a9923 (patch)
tree708bc47445e10d6a95beda5c4178e9e17c272dc4 /src/backend.ui
parent3f7deb35938a8993ee835e05de9bc2cddfe05744 (diff)
downloadklamav-18923e403764c902e11aa2c8cd49c6f7335a9923.tar.gz
klamav-18923e403764c902e11aa2c8cd49c6f7335a9923.zip
Added support for clamd scanning.
This option has to be enabled in the new 'Backend' section of the Options dialog. Most configuration options are unavailable for use with 'clamdscan'. For more information on the inherited limitations see the man page for clamdscan(1). This resolves issue #17. Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'src/backend.ui')
-rw-r--r--src/backend.ui93
1 files changed, 93 insertions, 0 deletions
diff --git a/src/backend.ui b/src/backend.ui
new file mode 100644
index 0000000..bec4513
--- /dev/null
+++ b/src/backend.ui
@@ -0,0 +1,93 @@
+<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
+<class>KlamBackend</class>
+<widget class="TQWidget">
+ <property name="name">
+ <cstring>KlamBackend</cstring>
+ </property>
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>600</width>
+ <height>480</height>
+ </rect>
+ </property>
+ <property name="caption">
+ <string>Scanning Backend</string>
+ </property>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="TQButtonGroup">
+ <property name="name">
+ <cstring>backendConfig</cstring>
+ </property>
+ <property name="title">
+ <string>Scanning Backend</string>
+ </property>
+ <grid>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="TQRadioButton" row="0" column="0" rowspan="1" colspan="2">
+ <property name="name">
+ <cstring>kcfg_ScannerClamscan</cstring>
+ </property>
+ <property name="text">
+ <string>Standalone scanner</string>
+ </property>
+ <property name="checked">
+ <bool>false</bool>
+ </property>
+ </widget>
+ <widget class="TQCheckBox" row="1" column="1">
+ <property name="name">
+ <cstring>kcfg_ClamdMultiscan</cstring>
+ </property>
+ <property name="text">
+ <string>Force Multiscan mode</string>
+ </property>
+ <property name="checked">
+ <bool>true</bool>
+ </property>
+ </widget>
+ <widget class="TQRadioButton" row="1" column="0">
+ <property name="name">
+ <cstring>kcfg_ScannerClamdscan</cstring>
+ </property>
+ <property name="text">
+ <string>ClamAV daemon</string>
+ </property>
+ <property name="checked">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </grid>
+ </widget>
+ <widget class="KTextBrowser">
+ <property name="name">
+ <cstring>backendHelpMessage</cstring>
+ </property>
+ <property name="textFormat">
+ <enum>RichText</enum>
+ </property>
+ <property name="text">
+ <string>Here you can choose the backend you'd like to use with KlamAV.
+&lt;p&gt;&lt;b&gt;Standalone scanner&lt;/b&gt; uses the 'clamscan' command to perform a scan. This backend is configurable via KlamAV, but takes longer to start. This backend is also the easiest to set up, as it does not require running a system-wide daemon.&lt;/p&gt;
+&lt;p&gt;&lt;b&gt;ClamAV daemon&lt;/b&gt; uses the 'clamdscan' command to perform a scan. This backend depends on a running instance of the &lt;i&gt;clamd&lt;/i&gt; daemon and depends on the options of the daemon. This backend starts up faster and also makes use of the Multiscan feature.&lt;/p</string>
+ </property>
+ </widget>
+ </vbox>
+</widget>
+<slots>
+ <slot>slotToggleClamdcan(bool)</slot>
+</slots>
+<functions>
+ <function access="private" specifier="non virtual">init()</function>
+</functions>
+<layoutdefaults spacing="6" margin="11"/>
+<includehints>
+ <includehint>ktextbrowser.h</includehint>
+</includehints>
+</UI>