diff options
author | Mavridis Philippe <mavridisf@gmail.com> | 2021-01-13 19:30:17 +0200 |
---|---|---|
committer | Mavridis Philippe <mavridisf@gmail.com> | 2021-01-13 19:30:17 +0200 |
commit | 357ddeb8afd82d69ef871c146f4fc8f2c67fb17e (patch) | |
tree | dc3ef0e6fedd64f5fb177c114f72e1515a07cd1b /src/klamdoptions.cpp | |
parent | c6cbd71bc169ac0e927e52325dbbbcb506abbc73 (diff) | |
download | klamav-357ddeb8afd82d69ef871c146f4fc8f2c67fb17e.tar.gz klamav-357ddeb8afd82d69ef871c146f4fc8f2c67fb17e.zip |
Conversion Qt3->TQt
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'src/klamdoptions.cpp')
-rw-r--r-- | src/klamdoptions.cpp | 74 |
1 files changed, 37 insertions, 37 deletions
diff --git a/src/klamdoptions.cpp b/src/klamdoptions.cpp index 875d248..ff7ccb6 100644 --- a/src/klamdoptions.cpp +++ b/src/klamdoptions.cpp @@ -9,18 +9,18 @@ #include "klamdoptions.h" -#include <qvariant.h> -#include <qpushbutton.h> +#include <tqvariant.h> +#include <tqpushbutton.h> #include <kpushbutton.h> #include <kdialog.h> #include <kmessagebox.h> -#include <qgroupbox.h> -#include <qcombobox.h> -#include <qcheckbox.h> -#include <qlabel.h> -#include <qlayout.h> -#include <qtooltip.h> -#include <qwhatsthis.h> +#include <tqgroupbox.h> +#include <tqcombobox.h> +#include <tqcheckbox.h> +#include <tqlabel.h> +#include <tqlayout.h> +#include <tqtooltip.h> +#include <tqwhatsthis.h> #include <kconfig.h> #include <klocale.h> @@ -40,77 +40,77 @@ const char *check_desc3[] = { * The dialog will by default be modeless, unless you set 'modal' to * TRUE to construct a modal dialog. */ -KlamdOptions::KlamdOptions( QWidget* parent, const char* name, bool modal, WFlags fl ) - : QDialog( parent, name, modal, fl ) +KlamdOptions::KlamdOptions( TQWidget* parent, const char* name, bool modal, WFlags fl ) + : TQDialog( parent, name, modal, fl ) { if ( !name ) setName( "KlamdOptions" ); setModal( TRUE ); OK = new KPushButton( this, "OK" ); - OK->setGeometry( QRect( 80, 220, 86, 31 ) ); + OK->setGeometry( TQRect( 80, 220, 86, 31 ) ); OK->setDefault( TRUE ); connect( OK, SIGNAL(clicked()), SLOT(updateSettings()) ); Cancel = new KPushButton( this, "Cancel" ); - Cancel->setGeometry( QRect( 180, 220, 86, 31 ) ); + Cancel->setGeometry( TQRect( 180, 220, 86, 31 ) ); Cancel->setDefault( FALSE ); connect( Cancel, SIGNAL(clicked()), SLOT(close()) ); AdvOptions = new KDialog( this, "AdvOptions" ); - AdvOptions->setGeometry( QRect( 590, 470, 20, 20 ) ); + AdvOptions->setGeometry( TQRect( 590, 470, 20, 20 ) ); - QWidget* privateLayoutWidget = new QWidget( this, "layout7" ); - privateLayoutWidget->setGeometry( QRect( 10, 10, 333, 200 ) ); - layout7 = new QGridLayout( privateLayoutWidget, 1, 1, 11, 6, "layout7"); + TQWidget* privateLayoutWidget = new TQWidget( this, "layout7" ); + privateLayoutWidget->setGeometry( TQRect( 10, 10, 333, 200 ) ); + layout7 = new TQGridLayout( privateLayoutWidget, 1, 1, 11, 6, "layout7"); - Archives = new QGroupBox( privateLayoutWidget, "Archives" ); + Archives = new TQGroupBox( privateLayoutWidget, "Archives" ); - MaxSize = new QComboBox( FALSE, Archives, "MaxSize" ); + MaxSize = new TQComboBox( FALSE, Archives, "MaxSize" ); MaxSize->insertStrList(check_desc3); MaxSize->adjustSize(); - MaxSize->setGeometry( QRect( 170, 20, 40, 21 ) ); + MaxSize->setGeometry( TQRect( 170, 20, 40, 21 ) ); - ScanArchives = new QCheckBox( Archives, "ScanArchives" ); - ScanArchives->setGeometry( QRect( 20, 20, 150, 21 ) ); + ScanArchives = new TQCheckBox( Archives, "ScanArchives" ); + ScanArchives->setGeometry( TQRect( 20, 20, 150, 21 ) ); connect( ScanArchives, SIGNAL(toggled(bool)),MaxSize, SLOT(setEnabled(bool)) ); - textLabel1 = new QLabel( Archives, "textLabel1" ); - textLabel1->setGeometry( QRect( 230, 20, 70, 21 ) ); + textLabel1 = new TQLabel( Archives, "textLabel1" ); + textLabel1->setGeometry( TQRect( 230, 20, 70, 21 ) ); layout7->addWidget( Archives, 1, 0 ); - ScanFilesWhen = new QGroupBox( privateLayoutWidget, "ScanFilesWhen" ); + ScanFilesWhen = new TQGroupBox( privateLayoutWidget, "ScanFilesWhen" ); - QWidget* privateLayoutWidget_2 = new QWidget( ScanFilesWhen, "layout6" ); - privateLayoutWidget_2->setGeometry( QRect( 20, 20, 140, 60 ) ); - layout6 = new QGridLayout( privateLayoutWidget_2, 1, 1, 11, 6, "layout6"); + TQWidget* privateLayoutWidget_2 = new TQWidget( ScanFilesWhen, "layout6" ); + privateLayoutWidget_2->setGeometry( TQRect( 20, 20, 140, 60 ) ); + layout6 = new TQGridLayout( privateLayoutWidget_2, 1, 1, 11, 6, "layout6"); - Created = new QCheckBox( privateLayoutWidget_2, "Created" ); + Created = new TQCheckBox( privateLayoutWidget_2, "Created" ); layout6->addWidget( Created, 0, 0 ); connect( Created, SIGNAL(clicked()), SLOT(warn()) ); - Executed = new QCheckBox( privateLayoutWidget_2, "Executed" ); + Executed = new TQCheckBox( privateLayoutWidget_2, "Executed" ); layout6->addWidget( Executed, 2, 0 ); - QWidget* privateLayoutWidget_3 = new QWidget( ScanFilesWhen, "layout7" ); - privateLayoutWidget_3->setGeometry( QRect( 181, 20, 90, 60 ) ); - layout7_2 = new QGridLayout( privateLayoutWidget_3, 1, 1, 11, 6, "layout7_2"); + TQWidget* privateLayoutWidget_3 = new TQWidget( ScanFilesWhen, "layout7" ); + privateLayoutWidget_3->setGeometry( TQRect( 181, 20, 90, 60 ) ); + layout7_2 = new TQGridLayout( privateLayoutWidget_3, 1, 1, 11, 6, "layout7_2"); - Opened = new QCheckBox( privateLayoutWidget_3, "Opened" ); + Opened = new TQCheckBox( privateLayoutWidget_3, "Opened" ); layout7_2->addWidget( Opened, 0, 0 ); - Closed = new QCheckBox( privateLayoutWidget_3, "Closed" ); + Closed = new TQCheckBox( privateLayoutWidget_3, "Closed" ); layout7_2->addWidget( Closed, 1, 0 ); @@ -121,7 +121,7 @@ KlamdOptions::KlamdOptions( QWidget* parent, const char* name, bool modal, WFlag layout7->addWidget( ScanFilesWhen, 0, 0 ); languageChange(); - resize( QSize(351, 270).expandedTo(minimumSizeHint()) ); + resize( TQSize(351, 270).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); fetchSettings(); @@ -132,7 +132,7 @@ KlamdOptions::KlamdOptions( QWidget* parent, const char* name, bool modal, WFlag */ KlamdOptions::~KlamdOptions() { - // no need to delete child widgets, Qt does it all for us + // no need to delete child widgets, TQt does it all for us } /* |