diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-07-24 09:59:06 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-07-24 09:59:06 -0500 |
commit | 24857cad8e92c27bc7d7377549ae887adbeccc58 (patch) | |
tree | e8aa2577506c17c68286ec1b65ae31b89ea0556b /src/generalcfgdesign.cpp | |
parent | ea3a9effca9bebfe18bfb7546da619ecbbb121f3 (diff) | |
download | ksensors-24857cad8e92c27bc7d7377549ae887adbeccc58.tar.gz ksensors-24857cad8e92c27bc7d7377549ae887adbeccc58.zip |
Convert to TDE R14 API
Diffstat (limited to 'src/generalcfgdesign.cpp')
-rw-r--r-- | src/generalcfgdesign.cpp | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/src/generalcfgdesign.cpp b/src/generalcfgdesign.cpp index 692c693..a70211d 100644 --- a/src/generalcfgdesign.cpp +++ b/src/generalcfgdesign.cpp @@ -1,4 +1,4 @@ -#include <klocale.h> +#include <tdelocale.h> /**************************************************************************** ** Form implementation generated from reading ui file './generalcfgdesign.ui' ** @@ -10,69 +10,69 @@ #include "generalcfgdesign.h" -#include <qvariant.h> -#include <qpushbutton.h> -#include <qbuttongroup.h> -#include <qradiobutton.h> -#include <qgroupbox.h> -#include <qcheckbox.h> -#include <qlayout.h> -#include <qtooltip.h> -#include <qwhatsthis.h> +#include <ntqvariant.h> +#include <ntqpushbutton.h> +#include <ntqbuttongroup.h> +#include <ntqradiobutton.h> +#include <ntqgroupbox.h> +#include <ntqcheckbox.h> +#include <ntqlayout.h> +#include <ntqtooltip.h> +#include <ntqwhatsthis.h> /* * Constructs a GeneralCfgDesign as a child of 'parent', with the * name 'name' and widget flags set to 'f'. */ -GeneralCfgDesign::GeneralCfgDesign( QWidget* parent, const char* name, WFlags fl ) - : QWidget( parent, name, fl ) +GeneralCfgDesign::GeneralCfgDesign( TQWidget* parent, const char* name, WFlags fl ) + : TQWidget( parent, name, fl ) { if ( !name ) setName( "GeneralCfgDesign" ); - GeneralCfgDesignLayout = new QGridLayout( this, 1, 1, 8, 6, "GeneralCfgDesignLayout"); + GeneralCfgDesignLayout = new TQGridLayout( this, 1, 1, 8, 6, "GeneralCfgDesignLayout"); - ButtonGroup5 = new QButtonGroup( this, "ButtonGroup5" ); - ButtonGroup5->setColumnLayout(0, Qt::Vertical ); + ButtonGroup5 = new TQButtonGroup( this, "ButtonGroup5" ); + ButtonGroup5->setColumnLayout(0, TQt::Vertical ); ButtonGroup5->layout()->setSpacing( 6 ); ButtonGroup5->layout()->setMargin( 11 ); - ButtonGroup5Layout = new QGridLayout( ButtonGroup5->layout() ); - ButtonGroup5Layout->setAlignment( Qt::AlignTop ); + ButtonGroup5Layout = new TQGridLayout( ButtonGroup5->layout() ); + ButtonGroup5Layout->setAlignment( TQt::AlignTop ); - Radio64 = new QRadioButton( ButtonGroup5, "Radio64" ); + Radio64 = new TQRadioButton( ButtonGroup5, "Radio64" ); Radio64->setChecked( TRUE ); ButtonGroup5Layout->addWidget( Radio64, 0, 0 ); - Radio56 = new QRadioButton( ButtonGroup5, "Radio56" ); + Radio56 = new TQRadioButton( ButtonGroup5, "Radio56" ); ButtonGroup5Layout->addWidget( Radio56, 0, 1 ); - Radio48 = new QRadioButton( ButtonGroup5, "Radio48" ); + Radio48 = new TQRadioButton( ButtonGroup5, "Radio48" ); ButtonGroup5Layout->addWidget( Radio48, 0, 2 ); GeneralCfgDesignLayout->addWidget( ButtonGroup5, 0, 0 ); - boxGeneralPalette = new QGroupBox( this, "boxGeneralPalette" ); - boxGeneralPalette->setMinimumSize( QSize( 0, 65 ) ); + boxGeneralPalette = new TQGroupBox( this, "boxGeneralPalette" ); + boxGeneralPalette->setMinimumSize( TQSize( 0, 65 ) ); GeneralCfgDesignLayout->addWidget( boxGeneralPalette, 1, 0 ); - GroupBox2 = new QGroupBox( this, "GroupBox2" ); - GroupBox2->setColumnLayout(0, Qt::Vertical ); + GroupBox2 = new TQGroupBox( this, "GroupBox2" ); + GroupBox2->setColumnLayout(0, TQt::Vertical ); GroupBox2->layout()->setSpacing( 6 ); GroupBox2->layout()->setMargin( 11 ); - GroupBox2Layout = new QVBoxLayout( GroupBox2->layout() ); - GroupBox2Layout->setAlignment( Qt::AlignTop ); + GroupBox2Layout = new TQVBoxLayout( GroupBox2->layout() ); + GroupBox2Layout->setAlignment( TQt::AlignTop ); - CheckBoxAutoStart = new QCheckBox( GroupBox2, "CheckBoxAutoStart" ); + CheckBoxAutoStart = new TQCheckBox( GroupBox2, "CheckBoxAutoStart" ); GroupBox2Layout->addWidget( CheckBoxAutoStart ); GeneralCfgDesignLayout->addWidget( GroupBox2, 2, 0 ); - Spacer28 = new QSpacerItem( 20, 20, QSizePolicy::Minimum, QSizePolicy::Expanding ); + Spacer28 = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding ); GeneralCfgDesignLayout->addItem( Spacer28, 3, 0 ); languageChange(); - resize( QSize(343, 239).expandedTo(minimumSizeHint()) ); + resize( TQSize(343, 239).expandedTo(minimumSizeHint()) ); clearWState( WState_Polished ); } @@ -81,7 +81,7 @@ GeneralCfgDesign::GeneralCfgDesign( QWidget* parent, const char* name, WFlags fl */ GeneralCfgDesign::~GeneralCfgDesign() { - // no need to delete child widgets, Qt does it all for us + // no need to delete child widgets, TQt does it all for us } /* |