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>
pull/24/head
Mavridis Philippe 3 years ago
parent 13b4879d7e
commit 25c5545315
No known key found for this signature in database
GPG Key ID: F8D2D7E2F989A494

@ -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" ) );

@ -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;

@ -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);

Loading…
Cancel
Save