summaryrefslogtreecommitdiffstats
path: root/karbon/tools/vtexttool.cc
diff options
context:
space:
mode:
Diffstat (limited to 'karbon/tools/vtexttool.cc')
-rw-r--r--karbon/tools/vtexttool.cc28
1 files changed, 14 insertions, 14 deletions
diff --git a/karbon/tools/vtexttool.cc b/karbon/tools/vtexttool.cc
index ad74048f3..cb2a9b3f3 100644
--- a/karbon/tools/vtexttool.cc
+++ b/karbon/tools/vtexttool.cc
@@ -207,20 +207,20 @@ ShadowWidget::ShadowWidget( TQWidget* parent, const char* name, int angle, int d
setTitle( i18n( "Shadow" ) );
setSizePolicy( TQSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Minimum ) );
- TQGridLayout* tqlayout = new TQGridLayout( this );
- tqlayout->addRowSpacing( 0, 12 );
- tqlayout->setMargin( 3 );
- tqlayout->setSpacing( 2 );
- tqlayout->setColStretch( 0, 1 );
- tqlayout->setColStretch( 1, 0 );
- tqlayout->setColStretch( 2, 2 );
- tqlayout->addMultiCellWidget( m_preview = new ShadowPreview( this ), 1, 3, 0, 0 );
- tqlayout->addWidget( new TQLabel( i18n( "Angle:" ), this ), 1, 1 );
- tqlayout->addWidget( m_angle = new KIntNumInput( this ), 1, 2 );
- tqlayout->addWidget( new TQLabel( i18n( "Distance:" ), this ), 2, 1 );
- tqlayout->addWidget( m_distance = new KIntNumInput( this ), 2, 2 );
- tqlayout->addWidget( m_useShadow = new TQCheckBox( i18n( "Shadow" ), this ), 3, 1 );
- tqlayout->addWidget( m_translucent = new TQCheckBox( i18n( "Draw translucent shadow" ), this ), 3, 2 );
+ TQGridLayout* layout = new TQGridLayout( this );
+ layout->addRowSpacing( 0, 12 );
+ layout->setMargin( 3 );
+ layout->setSpacing( 2 );
+ layout->setColStretch( 0, 1 );
+ layout->setColStretch( 1, 0 );
+ layout->setColStretch( 2, 2 );
+ layout->addMultiCellWidget( m_preview = new ShadowPreview( this ), 1, 3, 0, 0 );
+ layout->addWidget( new TQLabel( i18n( "Angle:" ), this ), 1, 1 );
+ layout->addWidget( m_angle = new KIntNumInput( this ), 1, 2 );
+ layout->addWidget( new TQLabel( i18n( "Distance:" ), this ), 2, 1 );
+ layout->addWidget( m_distance = new KIntNumInput( this ), 2, 2 );
+ layout->addWidget( m_useShadow = new TQCheckBox( i18n( "Shadow" ), this ), 3, 1 );
+ layout->addWidget( m_translucent = new TQCheckBox( i18n( "Draw translucent shadow" ), this ), 3, 2 );
m_distance->setRange( 1, 37, 1, true );
m_angle->setRange( 0, 360, 10, true );
m_angle->setValue( angle );