From 13b4879d7e386d8591cd0c5ff3ff74cffe9aed34 Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Thu, 14 Jan 2021 21:14:15 +0200 Subject: Virus Browser: Reworked search engine slots. Slots for obsolete search engines were removed and URLs for working ones were put into variables (to make changing them easy). Signed-off-by: Mavridis Philippe --- src/scanviewer.cpp | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/scanviewer.cpp') diff --git a/src/scanviewer.cpp b/src/scanviewer.cpp index ca2df18..bf00eca 100644 --- a/src/scanviewer.cpp +++ b/src/scanviewer.cpp @@ -794,9 +794,7 @@ void ScanViewer::slotRMB( TQListViewItem* Item, const TQPoint & point, int ) menu->clear(); menu->insertItem( "Quarantine Selected", this,SLOT(slotQuarantineSelected()) ); - menu->insertItem( vlicon,i18n("Search for %1 with VirusList").arg(Item->text(1)), this, SLOT(slotVirusList()) ); - menu->insertItem( vicon,i18n("Search for %1 with VirusPool").arg(Item->text(1)), this, SLOT(slotVirusPool()) ); menu->insertItem( ticon,i18n("Search for %1 with Trend Micro").arg(Item->text(1)), this, SLOT(slotTrendMicro()) ); menu->insertItem( gicon,i18n("Search for %1 with Google").arg(Item->text(1)), this, SLOT(slotGoogle()) ); @@ -835,24 +833,12 @@ void ScanViewer::slotGoogle() tdemain->klamdb->slotExternal(name, "Google"); } -void ScanViewer::slotVirusPool() -{ - TQString name = resultview->currentItem()->text(1); - tdemain->klamdb->slotExternal(name, "VirusPool"); -} - void ScanViewer::slotTrendMicro() { TQString name = resultview->currentItem()->text(1); tdemain->klamdb->slotExternal(name, "TrendMicro"); } -void ScanViewer::slotVirusList() -{ - TQString name = resultview->currentItem()->text(1); - tdemain->klamdb->slotExternal(name, "VirusList"); -} - void ScanViewer::slotStartAgain() { calculateTime = TRUE; -- cgit v1.2.1