From 805781daef7a5af43065787637b1884207aa38b0 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 08:16:29 -0600 Subject: Rename KLocale to enhance compatibility with KDE4 --- kviewshell/pageSize.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kviewshell/pageSize.cpp') diff --git a/kviewshell/pageSize.cpp b/kviewshell/pageSize.cpp index c1a99744..9e59da04 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 (TDEGlobal::locale()-> measureSystem() == KLocale::Metric) + if (TDEGlobal::locale()-> measureSystem() == TDELocale::Metric) return "mm"; else return "in"; @@ -333,7 +333,7 @@ int pageSize::defaultPageSize() // FIXME: static_cast(TDEGlobal::locale()->pageSize()) // is the proper solution here. Then you can determine the values // without using your hardcoded table too! - if (TDEGlobal::locale()-> measureSystem() == KLocale::Metric) + if (TDEGlobal::locale()-> measureSystem() == TDELocale::Metric) return defaultMetricPaperSize; else return defaultImperialPaperSize; -- cgit v1.2.1