summaryrefslogtreecommitdiffstats
path: root/tdeprint
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 08:17:52 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 08:17:52 -0600
commit59d153016be1e09cb31cdb18bef0a649acfc6292 (patch)
treefafdc23d953adf8367366eeb74ea9b67b23c11ae /tdeprint
parent8bc199f487aad2badc9a54c2105f13fff3da7295 (diff)
downloadtdelibs-59d153016be1e09cb31cdb18bef0a649acfc6292.tar.gz
tdelibs-59d153016be1e09cb31cdb18bef0a649acfc6292.zip
Rename KLocale to enhance compatibility with KDE4
Diffstat (limited to 'tdeprint')
-rw-r--r--tdeprint/ChangeLog2
-rw-r--r--tdeprint/marginwidget.cpp2
2 files changed, 2 insertions, 2 deletions
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 <tdeprint@swing.be>
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);