From 5b8ab149469c8e186ee8b05d90c0103ae722dd85 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 24 Jan 2013 13:23:24 -0600 Subject: Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4 --- lib/kofficecore/KoUnit.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/kofficecore/KoUnit.cpp') diff --git a/lib/kofficecore/KoUnit.cpp b/lib/kofficecore/KoUnit.cpp index 3ba89f24b..9068fc940 100644 --- a/lib/kofficecore/KoUnit.cpp +++ b/lib/kofficecore/KoUnit.cpp @@ -114,7 +114,7 @@ double KoUnit::ptToUnit( const double ptValue, const Unit unit ) TQString KoUnit::toUserStringValue( double ptValue, Unit unit ) { - return KGlobal::locale()->formatNumber( toUserValue( ptValue, unit ) ); + return TDEGlobal::locale()->formatNumber( toUserValue( ptValue, unit ) ); } double KoUnit::fromUserValue( double value, Unit unit ) @@ -142,7 +142,7 @@ double KoUnit::fromUserValue( double value, Unit unit ) double KoUnit::fromUserValue( const TQString& value, Unit unit, bool* ok ) { - return fromUserValue( KGlobal::locale()->readNumber( value, ok ), unit ); + return fromUserValue( TDEGlobal::locale()->readNumber( value, ok ), unit ); } double KoUnit::parseValue( TQString value, double defaultVal ) -- cgit v1.2.3