Switched main window from TQTabWidget to internal subclassed TabWidget.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
pull/24/head
Mavridis Philippe 4 years ago
parent c30d5e78ea
commit 677a0585e0
No known key found for this signature in database
GPG Key ID: F8D2D7E2F989A494

@ -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()));

Loading…
Cancel
Save