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