From 59d153016be1e09cb31cdb18bef0a649acfc6292 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 08:17:52 -0600 Subject: Rename KLocale to enhance compatibility with KDE4 --- tdeprint/ChangeLog | 2 +- tdeprint/marginwidget.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tdeprint') diff --git a/tdeprint/ChangeLog b/tdeprint/ChangeLog index cc18bd7eb..da61b9dfd 100644 --- a/tdeprint/ChangeLog +++ b/tdeprint/ChangeLog @@ -59,7 +59,7 @@ Since 2.2 release, Michael Goffioul printers (to not confuse the CUPS daemon for example) * Improved how the default printer is selected in print dialog to work in any cases - * General: make use of KLocale::pageSize() to determine the default + * General: make use of TDELocale::pageSize() to determine the default page size (used for example for pseudo printers and classes) * Wizard: fix buffer overflow when adding a remote LPD queue having a lot of jobs waiting diff --git a/tdeprint/marginwidget.cpp b/tdeprint/marginwidget.cpp index 3a809e06b..3ec1872f2 100644 --- a/tdeprint/marginwidget.cpp +++ b/tdeprint/marginwidget.cpp @@ -206,7 +206,7 @@ MarginWidget::MarginWidget(TQWidget *parent, const char* name, bool allowMetricU if ( allowMetricUnit ) { - int mode = (TDEGlobal::locale()->measureSystem() == KLocale::Metric ? 2 : 1); + int mode = (TDEGlobal::locale()->measureSystem() == TDELocale::Metric ? 2 : 1); m_top->setMode(mode); m_bottom->setMode(mode); m_left->setMode(mode); -- cgit v1.2.1