summaryrefslogtreecommitdiffstats
path: root/src/scanviewer.cpp
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2021-01-14 21:14:15 +0200
committerMavridis Philippe <mavridisf@gmail.com>2021-01-14 21:14:15 +0200
commit13b4879d7e386d8591cd0c5ff3ff74cffe9aed34 (patch)
tree754bef330b3d7a5f09fe0a04412fd337fa9a456d /src/scanviewer.cpp
parent20c78186de6bb7963d5df866bb8c297ca7e3d46d (diff)
downloadklamav-13b4879d7e386d8591cd0c5ff3ff74cffe9aed34.tar.gz
klamav-13b4879d7e386d8591cd0c5ff3ff74cffe9aed34.zip
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 <mavridisf@gmail.com>
Diffstat (limited to 'src/scanviewer.cpp')
-rw-r--r--src/scanviewer.cpp14
1 files changed, 0 insertions, 14 deletions
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;