summaryrefslogtreecommitdiffstats
path: root/kviewshell/pageSize.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kviewshell/pageSize.cpp')
-rw-r--r--kviewshell/pageSize.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kviewshell/pageSize.cpp b/kviewshell/pageSize.cpp
index d9182d6b..c1a99744 100644
--- a/kviewshell/pageSize.cpp
+++ b/kviewshell/pageSize.cpp
@@ -210,7 +210,7 @@ TQString pageSize::preferredUnit() const
return staticList[currentSize].preferredUnit;
// User-defined size. Give a preferred unit depening on the locale.
- if (KGlobal::locale()-> measureSystem() == KLocale::Metric)
+ if (TDEGlobal::locale()-> measureSystem() == KLocale::Metric)
return "mm";
else
return "in";
@@ -330,10 +330,10 @@ void pageSize::reconstructCurrentSize()
int pageSize::defaultPageSize()
{
- // FIXME: static_cast<TQPrinter::PageSize>(KGlobal::locale()->pageSize())
+ // FIXME: static_cast<TQPrinter::PageSize>(TDEGlobal::locale()->pageSize())
// is the proper solution here. Then you can determine the values
// without using your hardcoded table too!
- if (KGlobal::locale()-> measureSystem() == KLocale::Metric)
+ if (TDEGlobal::locale()-> measureSystem() == KLocale::Metric)
return defaultMetricPaperSize;
else
return defaultImperialPaperSize;