From 2d6954f69caf63ed5057bd8e1405a65d7d970292 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 21 Dec 2011 14:05:41 -0600 Subject: Rename obsolete tq methods to standard names --- filters/kformula/png/pngexportdia.cc | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'filters/kformula') diff --git a/filters/kformula/png/pngexportdia.cc b/filters/kformula/png/pngexportdia.cc index fb0407e0..21d321ca 100644 --- a/filters/kformula/png/pngexportdia.cc +++ b/filters/kformula/png/pngexportdia.cc @@ -190,13 +190,13 @@ void PNGExportDia::setupGUI() width->setText( i18n( "Width" ) ); heightEdit = new KIntNumInput( page, "heightEdit" ); - TQGridLayout* tqlayout1 = new TQGridLayout; - tqlayout1->addWidget( height, 1, 0 ); - tqlayout1->addWidget( widthEdit, 0, 1 ); - tqlayout1->addWidget( width, 0, 0 ); - tqlayout1->addWidget( heightEdit, 1, 1 ); + TQGridLayout* layout1 = new TQGridLayout; + layout1->addWidget( height, 1, 0 ); + layout1->addWidget( widthEdit, 0, 1 ); + layout1->addWidget( width, 0, 0 ); + layout1->addWidget( heightEdit, 1, 1 ); - mainLayout->addLayout( tqlayout1 ); + mainLayout->addLayout( layout1 ); TQLabel* percentHeight = new TQLabel( page, "PercentHeight" ); percentHeight->setText( i18n( "Height (%)" ) ); @@ -205,15 +205,15 @@ void PNGExportDia::setupGUI() percWidthEdit = new KDoubleNumInput( page, "percWidthEdit" ); percHeightEdit = new KDoubleNumInput( page, "percHeightEdit" ); - TQGridLayout* tqlayout2 = new TQGridLayout; - tqlayout2->addWidget( percWidthEdit, 0, 1 ); - tqlayout2->addWidget( percHeightEdit, 1, 1 ); - tqlayout2->addWidget( percentHeight, 1, 0 ); - tqlayout2->addWidget( percentWidth, 0, 0 ); + TQGridLayout* layout2 = new TQGridLayout; + layout2->addWidget( percWidthEdit, 0, 1 ); + layout2->addWidget( percHeightEdit, 1, 1 ); + layout2->addWidget( percentHeight, 1, 0 ); + layout2->addWidget( percentWidth, 0, 0 ); - mainLayout->addLayout( tqlayout2 ); + mainLayout->addLayout( layout2 ); - /* Display the main tqlayout */ + /* Display the main layout */ mainLayout->addStretch( 5 ); mainLayout->activate(); } -- cgit v1.2.1