@ -15,7 +15,7 @@ email : markey@web.de
# include "configdialog.h"
# include "backend.h"
# include "archive limit s.h"
# include "archive s.h"
# include "specialfiletypes.h"
/* #include "autoscanoptions.h" */
# include "logoptions.h"
@ -54,7 +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_klambackend = new KlamBackend ( 0 , " Scanning Backend " ) ;
m_archive limits = new ArchiveLimit s( 0 , " Archive Limit s" ) ;
m_archive s = new ArchiveOption s( 0 , " Archive s" ) ;
m_emailprotection = new Sigtool ( 0 , " E-mail protection " ) ;
m_specialfiletypes = new SpecialFileTypes ( 0 , " File Types " ) ;
/* m_autoscanoptions = new AutoScanOptions( 0, "Auto-Scan" ); */
@ -65,7 +65,7 @@ KlamavConfigDialog::KlamavConfigDialog( TQWidget *parent, const char* name, TDEC
connect ( m_klambackend - > kcfg_ScannerClamdscan , SIGNAL ( toggled ( bool ) ) , this , SLOT ( slotToggleClamdscan ( bool ) ) ) ;
slotToggleClamdscan ( m_klambackend - > kcfg_ScannerClamdscan - > isOn ( ) ) ; // initial state
addPage ( m_archive limit s, i18n ( " Archive Limit s" ) , " ark " , i18n ( " Configure Archive Limits " ) ) ;
addPage ( m_archive s, i18n ( " Archive s" ) , " ark " , i18n ( " Configure Archive Scanning " ) ) ;
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" ) ); */
@ -92,7 +92,7 @@ KlamavConfigDialog::~KlamavConfigDialog()
void KlamavConfigDialog : : slotToggleClamdscan ( bool on )
{
m_klambackend - > kcfg_ClamdMultiscan - > setEnabled ( on ) ;
m_archive limit s- > setEnabled ( ! on ) ;
m_archive s- > setEnabled ( ! on ) ;
m_specialfiletypes - > setEnabled ( ! on ) ;
}