summaryrefslogtreecommitdiffstats
path: root/kivio/kiviopart/kivioglobal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kivio/kiviopart/kivioglobal.cpp')
-rw-r--r--kivio/kiviopart/kivioglobal.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kivio/kiviopart/kivioglobal.cpp b/kivio/kiviopart/kivioglobal.cpp
index 201eea08..c794afea 100644
--- a/kivio/kiviopart/kivioglobal.cpp
+++ b/kivio/kiviopart/kivioglobal.cpp
@@ -85,7 +85,7 @@ KoPageLayout Kivio::loadPageLayout(const TQDomElement& e)
layout.ptRight = XmlReadFloat(e, "marginRight", 0.0);
layout.ptTop = XmlReadFloat(e, "marginTop", 0.0);
layout.ptBottom = XmlReadFloat(e, "marginBottom", 0.0);
- layout.format = KoPageFormat::formatFromString(XmlReadString(e, "format", pageSizeString(KGlobal::locale()->pageSize())));
+ layout.format = KoPageFormat::formatFromString(XmlReadString(e, "format", pageSizeString(TDEGlobal::locale()->pageSize())));
layout.orientation = Kivio::orientationFromString(XmlReadString(e, "orientation", "Portrait"));
}
@@ -1285,7 +1285,7 @@ TQString Kivio::systemDefaultUnit()
{
TQString defMS = "cm";
- if(KGlobal::locale()->measureSystem() == KLocale::Imperial) {
+ if(TDEGlobal::locale()->measureSystem() == KLocale::Imperial) {
defMS = "in";
}