diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:32:11 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:32:11 -0600 |
commit | 94844816550ad672ccfcdc25659c625546239998 (patch) | |
tree | e35fc60fd736c645d59f6408af032774ad8023d3 /kword/tests/KWPageManagerTester.cpp | |
parent | 2a811c38c74c03648ecf857e566c44483cbad706 (diff) | |
download | koffice-94844816550ad672ccfcdc25659c625546239998.tar.gz koffice-94844816550ad672ccfcdc25659c625546239998.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kword/tests/KWPageManagerTester.cpp')
-rw-r--r-- | kword/tests/KWPageManagerTester.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kword/tests/KWPageManagerTester.cpp b/kword/tests/KWPageManagerTester.cpp index 641e6534..9b261d90 100644 --- a/kword/tests/KWPageManagerTester.cpp +++ b/kword/tests/KWPageManagerTester.cpp @@ -200,11 +200,11 @@ void KWPageManagerTester::removePages() { void KWPageManagerTester::pageInfo() { KWPageManager *pageManager = new KWPageManager(); - KoPageLayout tqlayout; - tqlayout.ptWidth = 300; - tqlayout.ptHeight = 600; - tqlayout.format = PG_DIN_A4; - pageManager->setDefaultPage(tqlayout); + KoPageLayout layout; + layout.ptWidth = 300; + layout.ptHeight = 600; + layout.format = PG_DIN_A4; + pageManager->setDefaultPage(layout); pageManager->setStartPage(1); KWPage *page1 = pageManager->appendPage(); page1->setWidth(100); @@ -216,19 +216,19 @@ void KWPageManagerTester::pageInfo() { CHECK(pageManager->topOfPage(3), 300.0); CHECK(pageManager->bottomOfPage(3), 900.0); - tqlayout.ptHeight = 500; - pageManager->setDefaultPage(tqlayout); + layout.ptHeight = 500; + pageManager->setDefaultPage(layout); CHECK(pageManager->bottomOfPage(3), 800.0); page2->setHeight(-1); CHECK(pageManager->bottomOfPage(3), 1200.0); - tqlayout.ptTop = 5; - tqlayout.ptLeft = 6; - tqlayout.ptBottom = 7; - tqlayout.ptRight = 8; - tqlayout.ptBindingSide = -1; - tqlayout.ptPageEdge = -1; - pageManager->setDefaultPage(tqlayout); + layout.ptTop = 5; + layout.ptLeft = 6; + layout.ptBottom = 7; + layout.ptRight = 8; + layout.ptBindingSide = -1; + layout.ptPageEdge = -1; + pageManager->setDefaultPage(layout); page2->setTopMargin(9); page2->setLeftMargin(10); page2->setBottomMargin(11); |