head	1.2;
access;
symbols
	RELEASE_6_1_0:1.1
	RELEASE_5_5_0:1.1;
locks; strict;
comment	@# @;


1.2
date	2006.06.05.10.29.13;	author itetcu;	state dead;
branches;
next	1.1;

1.1
date	2005.12.20.20.48.31;	author edwin;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Update to 0.35.1

PR:		ports/95485
Submitted by:	Anderson S. Ferreira <anderson@@cnpm.embrapa.br>
Approved by:	lawrance (mentor, implicit)
@
text
@--- src/klamav.cpp	Mon Nov 21 17:21:59 2005
+++ src/klamav.cpp	Thu Dec 15 09:30:42 2005
@@@@ -47,24 +47,33 @@@@
 	connect(_tray,SIGNAL(quitSelected()),SLOT(shuttingDown()));
 	
 	KPopupMenu *conf_menu = _tray->contextMenu();
+
+/* -- 
         EnableKlamd = new KAction(i18n("&Enable Auto-Scan"), "klamav", 0,this, SLOT(contextEnable()),actionCollection(),"klamd_enable");
         DisableKlamd = new KAction(i18n("&Disable Auto-Scan"),"klamavbw", 0,this, SLOT(contextDisable()),actionCollection(),"klamd_disable");
-        
+*/        
+
 	EnableFreshklam = new KAction(i18n("&Enable Auto-Updates"), "klamavbwdl", 0,this, SLOT(contextEnableFK()),actionCollection(),"fk_enable");
         DisableFreshklam = new KAction(i18n("&Disable Auto-Updates"),"klamavbw", 0,this, SLOT(contextDisableFK()),actionCollection(),"fk_disable");
 
 	EnableFreshklam->plug(conf_menu);
 	DisableFreshklam->plug(conf_menu);
+
+/* --
 	EnableKlamd->plug(conf_menu);
 	DisableKlamd->plug(conf_menu);
-	
+*/
+
 	QToolTip::add( _tray, "KlamAV - Virus Protection for KDE" );
 	_tray->show();
 	
 	DisableFreshklam->setEnabled(FALSE);
 	EnableFreshklam->setEnabled(TRUE);
+
+/* --
 	DisableKlamd->setEnabled(FALSE);
 	EnableKlamd->setEnabled(TRUE);
+*/
 
         KConfig* config = KGlobal::config();
         config->setGroup("Freshklam");
@@@@ -81,10 +90,15 @@@@
 	tab->addTab(klamscan, i18n("&Scan"));
 
 	klamd = new Klamd(this);
+	
+	klamd->hide();
+
+/* --
 	tab->addTab(klamd, i18n("&Auto-Scan"));
 
 	connect(klamd->search_button,SIGNAL(clicked()),SLOT(contextEnable()));
 	connect(klamd->cancel_button,SIGNAL(clicked()),SLOT(contextDisable()));
+*/
 		
 	freshklam = new Freshklam(this);
 	tab->addTab(freshklam, i18n("&Update"));
@@@@ -105,8 +119,6 @@@@
 	aboutklamav = new Aboutklamav(this);
 	tab->addTab(aboutklamav, i18n("Abou&t"));
 	
-  
-
 
 	top->addWidget(tab);
 	
@@@@ -149,6 +161,7 @@@@
 void  Klamav::shuttingDown(){
 
 	this->topLevelWidget()->hide();
+	this->contextDisableFK();
 
 }
 
@


1.1
log
@[maintainger-update] Klamav upgrade from 0.22 to 0.32

	Klamav upgrade from 0.22 to 0.32

PR:		ports/90427
Submitted by:	Anderson S. Ferreira <anderson@@cnpm.embrapa.br>
@
text
@@

