summaryrefslogtreecommitdiffstats
path: root/filters/kformula
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-21 14:05:41 -0600
committerTimothy Pearson <[email protected]>2011-12-21 14:05:41 -0600
commit2d6954f69caf63ed5057bd8e1405a65d7d970292 (patch)
tree88e6436b2e81d4e68313f02a9021054252e14cc4 /filters/kformula
parentf0de9e167e289ab7dc33e57f077c1f04ec7c68c8 (diff)
downloadkoffice-2d6954f69caf63ed5057bd8e1405a65d7d970292.tar.gz
koffice-2d6954f69caf63ed5057bd8e1405a65d7d970292.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'filters/kformula')
-rw-r--r--filters/kformula/png/pngexportdia.cc26
1 files changed, 13 insertions, 13 deletions
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();
}