From eba47f8f0637f451e21348187591e1f1fd58ac74 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 2 Aug 2010 19:23:46 +0000 Subject: TQt conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kpovmodeler/pmgridsettings.cpp | 48 +++++++++++++++++++++--------------------- 1 file changed, 24 insertions(+), 24 deletions(-) (limited to 'kpovmodeler/pmgridsettings.cpp') diff --git a/kpovmodeler/pmgridsettings.cpp b/kpovmodeler/pmgridsettings.cpp index 20973935..04bdbdd3 100644 --- a/kpovmodeler/pmgridsettings.cpp +++ b/kpovmodeler/pmgridsettings.cpp @@ -22,58 +22,58 @@ #include "pmcontrolpoint.h" #include "pmdefaults.h" -#include -#include -#include +#include +#include +#include #include #include -PMGridSettings::PMGridSettings( QWidget* parent, const char* name ) +PMGridSettings::PMGridSettings( TQWidget* parent, const char* name ) : PMSettingsDialogPage( parent, name ) { - QHBoxLayout* hlayout; - QVBoxLayout* vlayout; - QVBoxLayout* gvl; - QGridLayout* grid; - QGroupBox* gb; - - vlayout = new QVBoxLayout( this, 0, KDialog::spacingHint( ) ); - gb = new QGroupBox( i18n( "Displayed Grid" ), this ); + TQHBoxLayout* hlayout; + TQVBoxLayout* vlayout; + TQVBoxLayout* gvl; + TQGridLayout* grid; + TQGroupBox* gb; + + vlayout = new TQVBoxLayout( this, 0, KDialog::spacingHint( ) ); + gb = new TQGroupBox( i18n( "Displayed Grid" ), this ); vlayout->addWidget( gb ); - gvl = new QVBoxLayout( gb, KDialog::marginHint( ), KDialog::spacingHint( ) ); + gvl = new TQVBoxLayout( gb, KDialog::marginHint( ), KDialog::spacingHint( ) ); gvl->addSpacing( 10 ); - hlayout = new QHBoxLayout( gvl ); - hlayout->addWidget( new QLabel( i18n( "Color:" ), gb ) ); + hlayout = new TQHBoxLayout( gvl ); + hlayout->addWidget( new TQLabel( i18n( "Color:" ), gb ) ); m_pGridColor = new KColorButton( gb ); hlayout->addWidget( m_pGridColor ); hlayout->addStretch( 1 ); - hlayout = new QHBoxLayout( gvl ); - hlayout->addWidget( new QLabel( i18n( "Distance:" ), gb ) ); + hlayout = new TQHBoxLayout( gvl ); + hlayout->addWidget( new TQLabel( i18n( "Distance:" ), gb ) ); m_pGridDistance = new PMIntEdit( gb ); m_pGridDistance->setValidation( true, 20, false, 0 ); hlayout->addWidget( m_pGridDistance ); hlayout->addStretch( 1 ); - gb = new QGroupBox( i18n( "Control Point Grid" ), this ); + gb = new TQGroupBox( i18n( "Control Point Grid" ), this ); vlayout->addWidget( gb ); - gvl = new QVBoxLayout( gb, KDialog::marginHint( ), KDialog::spacingHint( ) ); + gvl = new TQVBoxLayout( gb, KDialog::marginHint( ), KDialog::spacingHint( ) ); gvl->addSpacing( 10 ); - hlayout = new QHBoxLayout( gvl ); - grid = new QGridLayout( hlayout, 3, 2 ); - grid->addWidget( new QLabel( i18n( "2D/3D movement:" ), gb ), 0, 0 ); + hlayout = new TQHBoxLayout( gvl ); + grid = new TQGridLayout( hlayout, 3, 2 ); + grid->addWidget( new TQLabel( i18n( "2D/3D movement:" ), gb ), 0, 0 ); m_pMoveGrid = new PMFloatEdit( gb ); m_pMoveGrid->setValidation( true, 0.001, true, 100 ); grid->addWidget( m_pMoveGrid, 0, 1 ); - grid->addWidget( new QLabel( i18n( "Scale:" ), gb ), 1, 0 ); + grid->addWidget( new TQLabel( i18n( "Scale:" ), gb ), 1, 0 ); m_pScaleGrid = new PMFloatEdit( gb ); m_pScaleGrid->setValidation( true, 0.001, true, 100 ); grid->addWidget( m_pScaleGrid, 1, 1 ); - grid->addWidget( new QLabel( i18n( "Rotation:" ), gb ), 2, 0 ); + grid->addWidget( new TQLabel( i18n( "Rotation:" ), gb ), 2, 0 ); m_pRotateGrid = new PMFloatEdit( gb ); m_pRotateGrid->setValidation( true, 0.001, true, 180 ); grid->addWidget( m_pRotateGrid, 2, 1 ); -- cgit v1.2.3