summaryrefslogtreecommitdiffstats
path: root/kivio/kiviopart/config/kivio_config.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:31 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:31 -0600
commitc9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (patch)
tree1ee1912ac4bb966475f0db0f2a78678661b4b4a5 /kivio/kiviopart/config/kivio_config.cpp
parent94844816550ad672ccfcdc25659c625546239998 (diff)
downloadkoffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.tar.gz
koffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 94844816550ad672ccfcdc25659c625546239998.
Diffstat (limited to 'kivio/kiviopart/config/kivio_config.cpp')
-rw-r--r--kivio/kiviopart/config/kivio_config.cpp38
1 files changed, 19 insertions, 19 deletions
diff --git a/kivio/kiviopart/config/kivio_config.cpp b/kivio/kiviopart/config/kivio_config.cpp
index 74e8572b..6428c1fd 100644
--- a/kivio/kiviopart/config/kivio_config.cpp
+++ b/kivio/kiviopart/config/kivio_config.cpp
@@ -28,30 +28,30 @@ namespace Kivio {
KoPageLayout Config::defaultPageLayout()
{
- KoPageLayout layout;
+ KoPageLayout tqlayout;
- layout.format = KoPageFormat::formatFromString(Settings::format());
- layout.orientation = Kivio::orientationFromString(Settings::orientation());
- layout.ptTop = Settings::borderTop();
- layout.ptBottom = Settings::borderBottom();
- layout.ptLeft = Settings::borderLeft();
- layout.ptRight = Settings::borderRight();
- layout.ptWidth = Settings::width();
- layout.ptHeight = Settings::height();
+ tqlayout.format = KoPageFormat::formatFromString(Settings::format());
+ tqlayout.orientation = Kivio::orientationFromString(Settings::orientation());
+ tqlayout.ptTop = Settings::borderTop();
+ tqlayout.ptBottom = Settings::borderBottom();
+ tqlayout.ptLeft = Settings::borderLeft();
+ tqlayout.ptRight = Settings::borderRight();
+ tqlayout.ptWidth = Settings::width();
+ tqlayout.ptHeight = Settings::height();
- return layout;
+ return tqlayout;
}
- void Config::setDefaultPageLayout(const KoPageLayout& layout)
+ void Config::setDefaultPageLayout(const KoPageLayout& tqlayout)
{
- Settings::setFormat(KoPageFormat::formatString(layout.format));
- Settings::setOrientation(Kivio::orientationString(layout.orientation));
- Settings::setBorderTop(layout.ptTop);
- Settings::setBorderBottom(layout.ptBottom);
- Settings::setBorderLeft(layout.ptLeft);
- Settings::setBorderRight(layout.ptRight);
- Settings::setWidth(layout.ptWidth);
- Settings::setHeight(layout.ptHeight);
+ Settings::setFormat(KoPageFormat::formatString(tqlayout.format));
+ Settings::setOrientation(Kivio::orientationString(tqlayout.orientation));
+ Settings::setBorderTop(tqlayout.ptTop);
+ Settings::setBorderBottom(tqlayout.ptBottom);
+ Settings::setBorderLeft(tqlayout.ptLeft);
+ Settings::setBorderRight(tqlayout.ptRight);
+ Settings::setWidth(tqlayout.ptWidth);
+ Settings::setHeight(tqlayout.ptHeight);
}
void Config::setGrid(const KivioGridData& /*grid*/)