diff options
author | Mavridis Philippe <mavridisf@gmail.com> | 2021-01-14 19:24:38 +0200 |
---|---|---|
committer | Mavridis Philippe <mavridisf@gmail.com> | 2021-01-14 19:24:38 +0200 |
commit | 677a0585e03bf9728c873ef42b01426a5c87e9f6 (patch) | |
tree | cf0ce52d0be566216e562459b3876bcef23d9f6f /src | |
parent | c30d5e78ea9e1ed4374535ec90b988d150186272 (diff) | |
download | klamav-677a0585e03bf9728c873ef42b01426a5c87e9f6.tar.gz klamav-677a0585e03bf9728c873ef42b01426a5c87e9f6.zip |
Switched main window from TQTabWidget to internal subclassed TabWidget.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/klamav.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
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 <tdelocale.h> @@ -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())); |