diff options
author | Mavridis Philippe <mavridisf@gmail.com> | 2021-01-14 21:34:26 +0200 |
---|---|---|
committer | Mavridis Philippe <mavridisf@gmail.com> | 2021-01-14 21:34:26 +0200 |
commit | 25c5545315fa6a15d313abc628242d9bbdf00cfc (patch) | |
tree | accddbbf6ec2f914d950d695e8125484bd7716c9 | |
parent | 13b4879d7e386d8591cd0c5ff3ff74cffe9aed34 (diff) | |
download | klamav-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 <mavridisf@gmail.com>
-rw-r--r-- | src/configdialog.cpp | 3 | ||||
-rw-r--r-- | src/configdialog.h | 1 | ||||
-rw-r--r-- | src/klamav.cpp | 2 |
3 files changed, 4 insertions, 2 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 : markey@web.de #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" ) ); diff --git a/src/configdialog.h b/src/configdialog.h index c18e106..3100f20 100644 --- a/src/configdialog.h +++ b/src/configdialog.h @@ -47,6 +47,7 @@ class KlamavConfigDialog : public TDEConfigDialog class ArchiveLimits *m_archivelimits; class ArchiveTypes *m_archivetypes; class SpecialFileTypes *m_specialfiletypes; + class Sigtool *m_emailprotection; class AutoScanOptions *m_autoscanoptions; class LogOptions *m_logoptions; diff --git a/src/klamav.cpp b/src/klamav.cpp index e445bde..40db2cf 100644 --- a/src/klamav.cpp +++ b/src/klamav.cpp @@ -117,8 +117,6 @@ Klamav::Klamav() connect(freshklam->search_button,SIGNAL(clicked()),SLOT(contextUpdateFK())); connect(freshklam->cancel_button,SIGNAL(clicked()),SLOT(contextDisableFK())); - sigtool = new Sigtool(this); - tab->addTab(sigtool, i18n("&E-Mail Protection")); kuarantine = new Kuarantine(this); |