summaryrefslogtreecommitdiffstats
path: root/src/kuarantine.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/kuarantine.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/kuarantine.cpp')
-rw-r--r--src/kuarantine.cpp29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/kuarantine.cpp b/src/kuarantine.cpp
index 03b0847..b25db2c 100644
--- a/src/kuarantine.cpp
+++ b/src/kuarantine.cpp
@@ -637,16 +637,12 @@ void Kuarantine::slotRMB( TQListViewItem* Item, const TQPoint & point, int )
if (Item->listView() == currentbox){
qmenu->clear();
- qmenu->insertItem( vlicon,i18n("Search for %1 with VirusList").arg(Item->text(1)), this, SLOT(slotVirusListCurrent()) );
- qmenu->insertItem( vicon,i18n("Search for %1 with VirusPool").arg(Item->text(1)), this, SLOT(slotVirusPoolCurrent()) );
qmenu->insertItem( ticon,i18n("Search for %1 with Trend Micro").arg(Item->text(1)), this, SLOT(slotTrendMicroCurrent()) );
qmenu->insertItem( gicon,i18n("Search for %1 with Google").arg(Item->text(1)), this, SLOT(slotGoogleCurrent()) );
qmenu->popup( point );
}else if (Item->listView() == historybox){
hmenu->clear();
- hmenu->insertItem( vicon,i18n("Search for %1 with VirusPool").arg(Item->text(1)), this, SLOT(slotVirusPoolHistory()) );
- hmenu->insertItem( vicon,i18n("Search for %1 with VirusList").arg(Item->text(1)), this, SLOT(slotVirusListHistory()) );
hmenu->insertItem( ticon,i18n("Search for %1 with Trend Micro").arg(Item->text(1)), this, SLOT(slotTrendMicroHistory()) );
hmenu->insertItem( gicon,i18n("Search for %1 with Google").arg(Item->text(1)), this, SLOT(slotGoogleHistory()) );
@@ -655,18 +651,6 @@ void Kuarantine::slotRMB( TQListViewItem* Item, const TQPoint & point, int )
}
}
-void Kuarantine::slotVirusPoolCurrent()
-{
- TQString name = currentbox->currentItem()->text(1);
- tdemain->klamdb->slotExternal(name,"VirusPool");
-}
-
-void Kuarantine::slotVirusListCurrent()
-{
- TQString name = currentbox->currentItem()->text(1);
- tdemain->klamdb->slotExternal(name,"VirusList");
-}
-
void Kuarantine::slotGoogleCurrent()
{
TQString name = currentbox->currentItem()->text(1);
@@ -679,19 +663,6 @@ void Kuarantine::slotTrendMicroCurrent()
tdemain->klamdb->slotExternal(name, "TrendMicro");
}
-
-void Kuarantine::slotVirusPoolHistory()
-{
- TQString name = historybox->currentItem()->text(1);
- tdemain->klamdb->slotExternal(name,"VirusPool");
-}
-
-void Kuarantine::slotVirusListHistory()
-{
- TQString name = historybox->currentItem()->text(1);
- tdemain->klamdb->slotExternal(name,"VirusList");
-}
-
void Kuarantine::slotGoogleHistory()
{
TQString name = historybox->currentItem()->text(1);