summaryrefslogtreecommitdiffstats
path: root/kivio/kiviopart/config
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:05:41 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:05:41 -0600
commit2d6954f69caf63ed5057bd8e1405a65d7d970292 (patch)
tree88e6436b2e81d4e68313f02a9021054252e14cc4 /kivio/kiviopart/config
parentf0de9e167e289ab7dc33e57f077c1f04ec7c68c8 (diff)
downloadkoffice-2d6954f69caf63ed5057bd8e1405a65d7d970292.tar.gz
koffice-2d6954f69caf63ed5057bd8e1405a65d7d970292.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'kivio/kiviopart/config')
-rw-r--r--kivio/kiviopart/config/kivio_config.cpp38
-rw-r--r--kivio/kiviopart/config/kivio_config.h6
2 files changed, 22 insertions, 22 deletions
diff --git a/kivio/kiviopart/config/kivio_config.cpp b/kivio/kiviopart/config/kivio_config.cpp
index 6428c1fd..74e8572b 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 tqlayout;
+ KoPageLayout layout;
- 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();
+ 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();
- return tqlayout;
+ return layout;
}
- void Config::setDefaultPageLayout(const KoPageLayout& tqlayout)
+ void Config::setDefaultPageLayout(const KoPageLayout& layout)
{
- 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);
+ 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);
}
void Config::setGrid(const KivioGridData& /*grid*/)
diff --git a/kivio/kiviopart/config/kivio_config.h b/kivio/kiviopart/config/kivio_config.h
index b4df785a..651ec121 100644
--- a/kivio/kiviopart/config/kivio_config.h
+++ b/kivio/kiviopart/config/kivio_config.h
@@ -34,12 +34,12 @@ namespace Kivio {
{
public:
/**
- * Set the default page tqlayout
+ * Set the default page layout
*/
- static void setDefaultPageLayout(const KoPageLayout& tqlayout);
+ static void setDefaultPageLayout(const KoPageLayout& layout);
/**
- * Get the default page tqlayout
+ * Get the default page layout
*/
static KoPageLayout defaultPageLayout();