|
|
|
@ -56,20 +56,20 @@ Klamav::Klamav()
|
|
|
|
|
connect( tab, SIGNAL(tabClosed(TQString)), this, SLOT(tabClosed(TQString)) );
|
|
|
|
|
|
|
|
|
|
_tray = new KSystemTray(tdemain, "klamav tray");
|
|
|
|
|
_tray->setPixmap(KSystemTray::loadIcon("klamav_on_acc_disabled"));
|
|
|
|
|
slotOnAccessTrayPixmap(false);
|
|
|
|
|
connect(_tray,SIGNAL(quitSelected()),SLOT(shuttingDown()));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
TDEPopupMenu *conf_menu = _tray->contextMenu();
|
|
|
|
|
|
|
|
|
|
EnableFreshklam = new TDEAction(i18n("&Enable Auto-Updates"), "klamav", 0,this, SLOT(contextEnableFK()),actionCollection(),"fk_enable");
|
|
|
|
|
DisableFreshklam = new TDEAction(i18n("&Disable Auto-Updates"),"klamavbw", 0,this, SLOT(contextDisableFK()),actionCollection(),"fk_disable");
|
|
|
|
|
|
|
|
|
|
EnableFreshklam = new TDEAction(i18n("&Enable Auto-Updates"), "system-software-update", 0,this, SLOT(contextEnableFK()),actionCollection(),"fk_enable");
|
|
|
|
|
DisableFreshklam = new TDEAction(i18n("&Disable Auto-Updates"), 0, 0, this, SLOT(contextDisableFK()),actionCollection(),"fk_disable");
|
|
|
|
|
|
|
|
|
|
EnableFreshklam->plug(conf_menu);
|
|
|
|
|
DisableFreshklam->plug(conf_menu);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
TQToolTip::add( _tray, i18n( "KlamAV - Virus Protection for TDE" ) );
|
|
|
|
|
_tray->show();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DisableFreshklam->setEnabled(FALSE);
|
|
|
|
|
EnableFreshklam->setEnabled(TRUE);
|
|
|
|
|
|
|
|
|
|