summaryrefslogtreecommitdiffstats
path: root/kig/misc/coordinate_system.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 08:15:31 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 08:15:31 -0600
commit088cc453ec425bf86d610880d09645ea166a14fa (patch)
tree6e7daebcbfb5e5a1a079c26254156995c849b3e7 /kig/misc/coordinate_system.cpp
parenteb973d5c889d9c1e859ecdd682e9c05d22599920 (diff)
downloadtdeedu-088cc453ec425bf86d610880d09645ea166a14fa.tar.gz
tdeedu-088cc453ec425bf86d610880d09645ea166a14fa.zip
Rename KLocale to enhance compatibility with KDE4
Diffstat (limited to 'kig/misc/coordinate_system.cpp')
-rw-r--r--kig/misc/coordinate_system.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kig/misc/coordinate_system.cpp b/kig/misc/coordinate_system.cpp
index 35269399..33ec67ce 100644
--- a/kig/misc/coordinate_system.cpp
+++ b/kig/misc/coordinate_system.cpp
@@ -114,7 +114,7 @@ void CoordinateValidator::fixup( TQString & input ) const
if ( sc == -1 )
{
sc = input.length();
- KLocale* l = TDEGlobal::locale();
+ TDELocale* l = TDEGlobal::locale();
if ( mpolar )
input.append( TQString::fromLatin1( ";" ) + l->positiveSign() +
TQString::fromLatin1( "0°" ) );
@@ -157,7 +157,7 @@ Coordinate EuclideanCoords::toScreen(const TQString& s, bool& ok) const
{
TQString xs = r.cap(1);
TQString ys = r.cap(2);
- KLocale* l = TDEGlobal::locale();
+ TDELocale* l = TDEGlobal::locale();
double x = l->readNumber( xs, &ok );
if ( ! ok ) x = xs.toDouble( &ok );
if ( ! ok ) return Coordinate();