diff options
Diffstat (limited to 'karbon/tools/vpatterntool.cc')
-rw-r--r-- | karbon/tools/vpatterntool.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/karbon/tools/vpatterntool.cc b/karbon/tools/vpatterntool.cc index 893c8481..4abbb379 100644 --- a/karbon/tools/vpatterntool.cc +++ b/karbon/tools/vpatterntool.cc @@ -49,9 +49,9 @@ VPatternWidget::VPatternWidget( TQPtrList<KoIconItem>* patterns, VTool*, TQWidge : KDialogBase( parent, "", true, i18n( "Choose Pattern" ), Ok | Cancel ), m_pattern( 0 ) { TQWidget *base = new TQWidget( this ); - TQVBoxLayout* tqlayout = new TQVBoxLayout( base ); - tqlayout->addWidget( m_patternChooser = new KoIconChooser( TQSize( 32, 32 ), base ) ); - tqlayout->addWidget( m_buttonGroup = new TQHButtonGroup( base ) ); + TQVBoxLayout* layout = new TQVBoxLayout( base ); + layout->addWidget( m_patternChooser = new KoIconChooser( TQSize( 32, 32 ), base ) ); + layout->addWidget( m_buttonGroup = new TQHButtonGroup( base ) ); m_buttonGroup->insert( m_importPatternButton = new TQToolButton( m_buttonGroup ) ); m_buttonGroup->insert( m_deletePatternButton = new TQToolButton( m_buttonGroup ) ); m_patternChooser->setFixedSize( 180, 120 ); @@ -65,7 +65,7 @@ VPatternWidget::VPatternWidget( TQPtrList<KoIconItem>* patterns, VTool*, TQWidge m_deletePatternButton->setEnabled( false ); //setFrameStyle( Box | Sunken ); - tqlayout->setMargin( 3 ); + layout->setMargin( 3 ); connect( m_buttonGroup, TQT_SIGNAL( clicked( int ) ), this, TQT_SLOT( slotButtonClicked( int ) ) ); connect( m_patternChooser, TQT_SIGNAL( selected( KoIconItem* ) ), this, TQT_SLOT( patternSelected( KoIconItem* ) ) ); |