summaryrefslogtreecommitdiffstats
path: root/src/firstrunwizard.ui.h
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2021-01-13 19:30:17 +0200
committerMavridis Philippe <mavridisf@gmail.com>2021-01-13 19:30:17 +0200
commit357ddeb8afd82d69ef871c146f4fc8f2c67fb17e (patch)
treedc3ef0e6fedd64f5fb177c114f72e1515a07cd1b /src/firstrunwizard.ui.h
parentc6cbd71bc169ac0e927e52325dbbbcb506abbc73 (diff)
downloadklamav-357ddeb8afd82d69ef871c146f4fc8f2c67fb17e.tar.gz
klamav-357ddeb8afd82d69ef871c146f4fc8f2c67fb17e.zip
Conversion Qt3->TQt
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'src/firstrunwizard.ui.h')
-rw-r--r--src/firstrunwizard.ui.h36
1 files changed, 18 insertions, 18 deletions
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 <kapplication.h>
#include <klocale.h>
-#include <qpushbutton.h>
-#include <qpixmap.h>
+#include <tqpushbutton.h>
+#include <tqpixmap.h>
#include <stdlib.h>
#include <kstandarddirs.h>
#include <kurl.h>
-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("<a href=\"http://ads.clamav.net/adclick.php?n=a9141dd1\" target=\"_blank\"><img src=\"%1\" border=\"0\" alt=\"ClamAV banner\" /></a>").arg(locate("data", "klamav/about/tshirt.png")));
+ ClamBanner->setText(TQString("<a href=\"http://ads.clamav.net/adclick.php?n=a9141dd1\" target=\"_blank\"><img src=\"%1\" border=\"0\" alt=\"ClamAV banner\" /></a>").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;