summaryrefslogtreecommitdiffstats
path: root/src/configdialog.cpp
diff options
context:
space:
mode:
authorMavridis Philippe <[email protected]>2021-01-14 21:34:26 +0200
committerMavridis Philippe <[email protected]>2021-01-14 21:34:26 +0200
commit25c5545315fa6a15d313abc628242d9bbdf00cfc (patch)
treeaccddbbf6ec2f914d950d695e8125484bd7716c9 /src/configdialog.cpp
parent13b4879d7e386d8591cd0c5ff3ff74cffe9aed34 (diff)
downloadklamav-25c5545315fa6a15d313abc628242d9bbdf00cfc.tar.gz
klamav-25c5545315fa6a15d313abc628242d9bbdf00cfc.zip
Moved the E-Mail scanning setup widget to the Options dialog.
It makes more sense since it's something you do only once than having it in its own tab in the main window. Signed-off-by: Mavridis Philippe <[email protected]>
Diffstat (limited to 'src/configdialog.cpp')
-rw-r--r--src/configdialog.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/configdialog.cpp b/src/configdialog.cpp
index a46c304..e65a24d 100644
--- a/src/configdialog.cpp
+++ b/src/configdialog.cpp
@@ -19,6 +19,7 @@ email : [email protected]
#include "specialfiletypes.h"
#include "autoscanoptions.h"
#include "logoptions.h"
+#include "sigtool.h"
#include <tqcombobox.h>
#include <tqgroupbox.h>
@@ -53,6 +54,7 @@ KlamavConfigDialog::KlamavConfigDialog( TQWidget *parent, const char* name, TDEC
// IMPORTANT Don't simply change the page names, they are used as identifiers in other parts of the app.
m_archivelimits = new ArchiveLimits( 0, "Archive Limits" );
m_archivetypes = new ArchiveTypes( 0, "Archive Types" );
+ m_emailprotection = new Sigtool ( 0, "E-mail protection" );
m_specialfiletypes = new SpecialFileTypes( 0, "File Types" );
m_autoscanoptions = new AutoScanOptions( 0, "Auto-Scan" );
m_logoptions = new LogOptions( 0, "Event Logging" );
@@ -60,6 +62,7 @@ KlamavConfigDialog::KlamavConfigDialog( TQWidget *parent, const char* name, TDEC
// add pages
addPage( m_archivelimits, i18n( "Archive Limits" ), "ark", i18n( "Configure Archive Limits" ) );
addPage( m_archivetypes, i18n( "Archive Types" ), "tgz", i18n( "Configure Archive Types" ) );
+ addPage( m_emailprotection, i18n( "E-mail protection" ), "email", i18n( "Set up your e-mail client to use Klammail" ) );
addPage( m_specialfiletypes, i18n( "File Types" ), "folder", i18n( "Configure File Types" ) );
addPage( m_autoscanoptions, i18n( "Auto-Scan" ), "filefind", i18n( "Configure Auto-Scan" ) );
addPage( m_logoptions, i18n( "Event Logging" ), "kate", i18n( "Configure Events to Log" ) );