From 357ddeb8afd82d69ef871c146f4fc8f2c67fb17e Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Wed, 13 Jan 2021 19:30:17 +0200 Subject: Conversion Qt3->TQt Signed-off-by: Mavridis Philippe --- src/firstrunwizard.ui.h | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'src/firstrunwizard.ui.h') diff --git a/src/firstrunwizard.ui.h b/src/firstrunwizard.ui.h index e56c59f..2f74980 100644 --- a/src/firstrunwizard.ui.h +++ b/src/firstrunwizard.ui.h @@ -2,7 +2,7 @@ ** ui.h extension file, included from the uic-generated form implementation. ** ** If you want to add, delete, or rename functions or slots, use -** Qt Designer to update this file, preserving your code. +** TQt Designer to update this file, preserving your code. ** ** You should not define a constructor or destructor in this file. ** Instead, write your code in functions called init() and destroy(). @@ -13,14 +13,14 @@ #include "klamav.h" #include #include -#include -#include +#include +#include #include #include #include -QString databasepath; -QString quarantinepath; +TQString databasepath; +TQString quarantinepath; @@ -32,20 +32,20 @@ FirstRunWizard::init() cancelButton()->setFixedSize( cancelButton()->sizeHint() ); helpButton()->hide(); - QString homepath = getenv("HOME"); + TQString homepath = getenv("HOME"); databasepath = homepath + "/.klamav/database"; DatabaseLocation->setURL(databasepath); quarantinepath = homepath + "/.klamav/quarantine"; QuarantineLocation->setURL(quarantinepath); - preview->setPixmap( QPixmap(locate("data", "klamav/about/klam.png")) ); + preview->setPixmap( TQPixmap(locate("data", "klamav/about/klam.png")) ); // picture1->setPixmap( getJPG( "amarok_rocks" ) ); // picture4->setPixmap( *picture1->pixmap() ); - ClamBanner->setText(QString("\"ClamAV").arg(locate("data", "klamav/about/tshirt.png"))); + ClamBanner->setText(TQString("\"ClamAV").arg(locate("data", "klamav/about/tshirt.png"))); setFinishEnabled ( WizardPage_1, true ); @@ -53,9 +53,9 @@ FirstRunWizard::init() } void -FirstRunWizard::showPage( QWidget *w ) //virtual +FirstRunWizard::showPage( TQWidget *w ) //virtual { - QWizard::showPage( w ); + TQWizard::showPage( w ); @@ -72,23 +72,23 @@ FirstRunWizard::showPage( QWidget *w ) //virtual // config->setGroup("Freshklam"); // // //Configure Database Path -// QStringList lastDownloadPaths; +// TQStringList lastDownloadPaths; // if (DatabaseLocation->url() != "") -// lastDownloadPaths.prepend( QString("%1").arg(DatabaseLocation->url())); +// lastDownloadPaths.prepend( TQString("%1").arg(DatabaseLocation->url())); // else -// lastDownloadPaths.prepend( QString("%1").arg(databasepath)); +// lastDownloadPaths.prepend( TQString("%1").arg(databasepath)); // config->writeEntry("lastDownloadPaths", lastDownloadPaths); // config->sync(); // // //Configure Quarantine Path -// QStringList lastQuarLocations; +// TQStringList lastQuarLocations; // // config->setGroup("Kuarantine"); // // if (QuarantineLocation->url() != "") -// lastQuarLocations.prepend( QString("%1").arg(QuarantineLocation->url())); +// lastQuarLocations.prepend( TQString("%1").arg(QuarantineLocation->url())); // else -// lastQuarLocations.prepend( QString("%1").arg(quarantinepath)); +// lastQuarLocations.prepend( TQString("%1").arg(quarantinepath)); // config->writeEntry("KuarantineLocations", lastQuarLocations); // config->sync(); // @@ -109,13 +109,13 @@ FirstRunWizard::quarantinePath( ) //virtual return QuarantineLocation->url(); } -QString +TQString FirstRunWizard::defaultDatabasePath( ) //virtual { return databasepath; } -QString +TQString FirstRunWizard::defaultQuarantinePath( ) //virtual { return quarantinepath; -- cgit v1.2.1