From 677a0585e03bf9728c873ef42b01426a5c87e9f6 Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Thu, 14 Jan 2021 19:24:38 +0200 Subject: Switched main window from TQTabWidget to internal subclassed TabWidget. Signed-off-by: Mavridis Philippe --- src/klamav.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/klamav.cpp') diff --git a/src/klamav.cpp b/src/klamav.cpp index 1783f4d..035e34b 100644 --- a/src/klamav.cpp +++ b/src/klamav.cpp @@ -14,6 +14,7 @@ #include "firstrunwizard.h" #include "collectiondb.h" #include "configdialog.h" +#include "tabwidget.h" #include "klamavconfig.h" #include @@ -45,7 +46,7 @@ Klamav::Klamav() tdemain = this; TQVBoxLayout *top = new TQVBoxLayout(this,3,0); - tab = new TQTabWidget(this); + tab = new TabWidget(this); _tray = new KSystemTray(tdemain, "klamav tray"); _tray->setPixmap(KSystemTray::loadIcon("klamav_on_acc_disabled")); @@ -107,10 +108,10 @@ Klamav::Klamav() updateTabState(0, true); // Welcome tab klamscan = new Klamscan(this); - tab->addTab(klamscan, i18n("&Scan")); + tab->addTab(klamscan, i18n("Scan")); freshklam = new Freshklam(this); - tab->addTab(freshklam, i18n("&Update")); + tab->addTab(freshklam, i18n("Update")); connect(freshklam->search_button,SIGNAL(clicked()),SLOT(contextUpdateFK())); connect(freshklam->cancel_button,SIGNAL(clicked()),SLOT(contextDisableFK())); -- cgit v1.2.1