diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
commit | eba47f8f0637f451e21348187591e1f1fd58ac74 (patch) | |
tree | 448f10b95c656604acc331a3236c1e59bde5c1ad /kpovmodeler/pmgridsettings.cpp | |
parent | c7e8736c69373f48b0401319757c742e8607431a (diff) | |
download | tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip |
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpovmodeler/pmgridsettings.cpp')
-rw-r--r-- | kpovmodeler/pmgridsettings.cpp | 48 |
1 files changed, 24 insertions, 24 deletions
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 <qlayout.h> -#include <qgroupbox.h> -#include <qlabel.h> +#include <tqlayout.h> +#include <tqgroupbox.h> +#include <tqlabel.h> #include <kcolorbutton.h> #include <klocale.h> -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 ); |