|
|
@ -30,6 +30,7 @@
|
|
|
|
#include <kdebug.h>
|
|
|
|
#include <kdebug.h>
|
|
|
|
#include <tdemessagebox.h>
|
|
|
|
#include <tdemessagebox.h>
|
|
|
|
#include <kurl.h>
|
|
|
|
#include <kurl.h>
|
|
|
|
|
|
|
|
#include <kiconloader.h>
|
|
|
|
|
|
|
|
|
|
|
|
#include <tqdir.h>
|
|
|
|
#include <tqdir.h>
|
|
|
|
#include <tqfile.h>
|
|
|
|
#include <tqfile.h>
|
|
|
@ -80,18 +81,18 @@ Klamav::Klamav()
|
|
|
|
|
|
|
|
|
|
|
|
// Menus
|
|
|
|
// Menus
|
|
|
|
TDEPopupMenu *scanner_menu = new TDEPopupMenu(this);
|
|
|
|
TDEPopupMenu *scanner_menu = new TDEPopupMenu(this);
|
|
|
|
scanner_menu->insertItem( i18n("Scan &File..."), this, SLOT(slotScanFile()), CTRL+Key_O );
|
|
|
|
scanner_menu->insertItem( SmallIcon("document-open"), i18n("Scan &File..."), this, SLOT(slotScanFile()), CTRL+Key_O );
|
|
|
|
scanner_menu->insertItem( i18n("Scan &Directory..."), this, SLOT(slotScanDir()) );
|
|
|
|
scanner_menu->insertItem( SmallIcon("folder_open"), i18n("Scan &Directory..."), this, SLOT(slotScanDir()) );
|
|
|
|
scanner_menu->insertSeparator();
|
|
|
|
scanner_menu->insertSeparator();
|
|
|
|
scanner_menu->insertItem( i18n("&Schedule scan..."), this, SLOT(slotScheduleScan()) );
|
|
|
|
scanner_menu->insertItem( SmallIcon("xclock"), i18n("&Schedule scan..."), this, SLOT(slotScheduleScan()) );
|
|
|
|
scanner_menu->insertItem( i18n("&Options..."), this, SLOT(slotOptions()) );
|
|
|
|
scanner_menu->insertItem( SmallIcon("configure"), i18n("&Options..."), this, SLOT(slotOptions()) );
|
|
|
|
|
|
|
|
|
|
|
|
tabs_menu = new TDEPopupMenu(this);
|
|
|
|
tabs_menu = new TDEPopupMenu(this);
|
|
|
|
tabs_menu->setCheckable(true);
|
|
|
|
tabs_menu->setCheckable(true);
|
|
|
|
showWelcomeTab = tabs_menu->insertItem( i18n("Show &Welcome tab"), this, SLOT(slotToggleWelcome()) );
|
|
|
|
showWelcomeTab = tabs_menu->insertItem( SmallIcon("klamav"), i18n("Show &Welcome tab"), this, SLOT(slotToggleWelcome()) );
|
|
|
|
showQuarantineTab = tabs_menu->insertItem( i18n("Show &Quarantine tab"), this, SLOT(slotToggleQuarantine()) );
|
|
|
|
showQuarantineTab = tabs_menu->insertItem( SmallIcon("encrypted"), i18n("Show &Quarantine tab"), this, SLOT(slotToggleQuarantine()) );
|
|
|
|
showDBViewerTab = tabs_menu->insertItem( i18n("Show &Virus Browser tab"), this, SLOT(slotToggleDBViewer()) );
|
|
|
|
showDBViewerTab = tabs_menu->insertItem( SmallIcon("system-search"), i18n("Show &Virus Browser tab"), this, SLOT(slotToggleDBViewer()) );
|
|
|
|
showEventsTab = tabs_menu->insertItem( i18n("Show &Events tab"), this, SLOT(slotToggleEvents()) );
|
|
|
|
showEventsTab = tabs_menu->insertItem( SmallIcon("toggle_log"), i18n("Show &Events tab"), this, SLOT(slotToggleEvents()) );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Menu bar
|
|
|
|
// Menu bar
|
|
|
|