From 6adb71382c3d5277c3dcbc4ec24c5ff36b4c07ef Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 24 Jan 2013 13:45:52 -0600 Subject: Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4 --- kviewshell/pageSize.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kviewshell/pageSize.cpp') 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(KGlobal::locale()->pageSize()) + // FIXME: static_cast(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; -- cgit v1.2.3