diff options
author | Timothy Pearson <[email protected]> | 2011-12-16 09:59:00 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-16 09:59:00 -0600 |
commit | ec1fddcd0d6663ad273af85357f04abbc5689468 (patch) | |
tree | 6cb946ab8b4771868c6eee8d1aa5213d6ec246e2 /kpovmodeler/pmpreviewsettings.cpp | |
parent | c2637a0da6d9a1c8626ca39f8451ab3b7cda487a (diff) | |
download | tdegraphics-ec1fddcd0d6663ad273af85357f04abbc5689468.tar.gz tdegraphics-ec1fddcd0d6663ad273af85357f04abbc5689468.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit c2637a0da6d9a1c8626ca39f8451ab3b7cda487a.
Diffstat (limited to 'kpovmodeler/pmpreviewsettings.cpp')
-rw-r--r-- | kpovmodeler/pmpreviewsettings.cpp | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/kpovmodeler/pmpreviewsettings.cpp b/kpovmodeler/pmpreviewsettings.cpp index 58147bb3..a08ff1fe 100644 --- a/kpovmodeler/pmpreviewsettings.cpp +++ b/kpovmodeler/pmpreviewsettings.cpp @@ -21,7 +21,7 @@ #include "pmdialogeditbase.h" #include "pmdefaults.h" -#include <layout.h> +#include <tqlayout.h> #include <tqgroupbox.h> #include <tqlabel.h> #include <tqcheckbox.h> @@ -32,16 +32,16 @@ PMPreviewSettings::PMPreviewSettings( TQWidget* parent, const char* name ) : PMSettingsDialogPage( parent, name ) { - TQHBoxLayout* hlayout; - TQVBoxLayout* vlayout; + TQHBoxLayout* htqlayout; + TQVBoxLayout* vtqlayout; TQVBoxLayout* gvl; TQGridLayout* grid; TQGroupBox* gb; - vlayout = new TQVBoxLayout( this, 0, KDialog::spacingHint( ) ); + vtqlayout = new TQVBoxLayout( this, 0, KDialog::spacingHint( ) ); - hlayout = new TQHBoxLayout( vlayout ); - grid = new TQGridLayout( hlayout, 2, 2 ); + htqlayout = new TQHBoxLayout( vtqlayout ); + grid = new TQGridLayout( htqlayout, 2, 2 ); grid->addWidget( new TQLabel( i18n( "Size:" ), this ), 0, 0 ); m_pPreviewSize = new PMIntEdit( this ); m_pPreviewSize->setValidation( true, 10, true, 400 ); @@ -50,10 +50,10 @@ PMPreviewSettings::PMPreviewSettings( TQWidget* parent, const char* name ) grid->addWidget( new TQLabel( i18n( "Gamma:" ), this ), 1, 0 ); m_pPreviewGamma = new PMFloatEdit( this ); grid->addWidget( m_pPreviewGamma, 1, 1 ); - hlayout->addStretch( 1 ); + htqlayout->addStretch( 1 ); gb = new TQGroupBox( i18n( "Rendered Objects" ), this ); - vlayout->addWidget( gb ); + vtqlayout->addWidget( gb ); gvl = new TQVBoxLayout( gb, KDialog::marginHint( ), KDialog::spacingHint( ) ); gvl->addSpacing( 10 ); m_pPreviewSphere = new TQCheckBox( i18n( "Sphere" ), gb ); @@ -64,52 +64,52 @@ PMPreviewSettings::PMPreviewSettings( TQWidget* parent, const char* name ) gvl->addWidget( m_pPreviewBox ); gb = new TQGroupBox( i18n( "Wall" ), this ); - vlayout->addWidget( gb ); + vtqlayout->addWidget( gb ); gvl = new TQVBoxLayout( gb, KDialog::marginHint( ), KDialog::spacingHint( ) ); gvl->addSpacing( 10 ); m_pPreviewWall = new TQCheckBox( i18n( "Enable wall" ), gb ); gvl->addWidget( m_pPreviewWall ); - hlayout = new TQHBoxLayout( gvl ); - hlayout->addWidget( new TQLabel( i18n( "Color 1:" ), gb ) ); + htqlayout = new TQHBoxLayout( gvl ); + htqlayout->addWidget( new TQLabel( i18n( "Color 1:" ), gb ) ); m_pWallColor1 = new KColorButton( gb ); - hlayout->addWidget( m_pWallColor1 ); - hlayout->addWidget( new TQLabel( i18n( "Color 2:" ), gb ) ); + htqlayout->addWidget( m_pWallColor1 ); + htqlayout->addWidget( new TQLabel( i18n( "Color 2:" ), gb ) ); m_pWallColor2 = new KColorButton( gb ); - hlayout->addWidget( m_pWallColor2 ); - hlayout->addStretch( 1 ); + htqlayout->addWidget( m_pWallColor2 ); + htqlayout->addStretch( 1 ); gb = new TQGroupBox( i18n( "Floor" ), this ); - vlayout->addWidget( gb ); + vtqlayout->addWidget( gb ); gvl = new TQVBoxLayout( gb, KDialog::marginHint( ), KDialog::spacingHint( ) ); gvl->addSpacing( 10 ); m_pPreviewFloor = new TQCheckBox( i18n( "Enable floor" ), gb ); gvl->addWidget( m_pPreviewFloor ); - hlayout = new TQHBoxLayout( gvl ); - hlayout->addWidget( new TQLabel( i18n( "Color 1:" ), gb ) ); + htqlayout = new TQHBoxLayout( gvl ); + htqlayout->addWidget( new TQLabel( i18n( "Color 1:" ), gb ) ); m_pFloorColor1 = new KColorButton( gb ); - hlayout->addWidget( m_pFloorColor1 ); - hlayout->addWidget( new TQLabel( i18n( "Color 2:" ), gb ) ); + htqlayout->addWidget( m_pFloorColor1 ); + htqlayout->addWidget( new TQLabel( i18n( "Color 2:" ), gb ) ); m_pFloorColor2 = new KColorButton( gb ); - hlayout->addWidget( m_pFloorColor2 ); - hlayout->addStretch( 1 ); + htqlayout->addWidget( m_pFloorColor2 ); + htqlayout->addStretch( 1 ); gb = new TQGroupBox( i18n( "Antialiasing" ), this ); - vlayout->addWidget( gb ); + vtqlayout->addWidget( gb ); gvl = new TQVBoxLayout( gb, KDialog::marginHint( ), KDialog::spacingHint( ) ); gvl->addSpacing( 10 ); m_pPreviewAA = new TQCheckBox( i18n( "Enable antialiasing" ), gb ); gvl->addWidget( m_pPreviewAA ); - hlayout = new TQHBoxLayout( gvl ); - hlayout->addWidget( new TQLabel( i18n( "Depth:" ), gb ) ); + htqlayout = new TQHBoxLayout( gvl ); + htqlayout->addWidget( new TQLabel( i18n( "Depth:" ), gb ) ); m_pPreviewAALevel = new PMIntEdit( gb ); m_pPreviewAALevel->setValidation( true, 1, true, 9 ); - hlayout->addWidget( m_pPreviewAALevel ); - hlayout->addWidget( new TQLabel( i18n( "Threshold:" ), gb ) ); + htqlayout->addWidget( m_pPreviewAALevel ); + htqlayout->addWidget( new TQLabel( i18n( "Threshold:" ), gb ) ); m_pPreviewAAThreshold = new PMFloatEdit( gb ); - hlayout->addWidget( m_pPreviewAAThreshold ); - hlayout->addStretch( 1 ); + htqlayout->addWidget( m_pPreviewAAThreshold ); + htqlayout->addStretch( 1 ); - vlayout->addStretch( 1 ); + vtqlayout->addStretch( 1 ); } void PMPreviewSettings::displaySettings( ) |