diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:55:10 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-04 04:35:59 +0200 |
commit | 3fa570c72df3bf358988b8ce3f019bb7224c380e (patch) | |
tree | eeb2f8db4c9a619597aa6713eb8844268064caa4 /kig/misc/coordinate_system.cpp | |
parent | b142e177fd839801f225b2694b98095a59869772 (diff) | |
download | tdeedu-3fa570c72df3bf358988b8ce3f019bb7224c380e.tar.gz tdeedu-3fa570c72df3bf358988b8ce3f019bb7224c380e.zip |
Remove additional unneeded tq method conversions
(cherry picked from commit 746abe84406ed1ec1a8dc68f29ce0ab8322ccc80)
Diffstat (limited to 'kig/misc/coordinate_system.cpp')
-rw-r--r-- | kig/misc/coordinate_system.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kig/misc/coordinate_system.cpp b/kig/misc/coordinate_system.cpp index b518078e..36cfef0b 100644 --- a/kig/misc/coordinate_system.cpp +++ b/kig/misc/coordinate_system.cpp @@ -146,7 +146,7 @@ TQString EuclideanCoords::fromScreen( const Coordinate& p, const KigDocument& d int l = kigMax( 0, (int) ( 3 - log10( m ) ) ); TQString xs = KGlobal::locale()->formatNumber( p.x, l ); TQString ys = KGlobal::locale()->formatNumber( p.y, l ); - return TQString::fromLatin1( "( %1; %2 )" ).tqarg( xs ).tqarg( ys ); + return TQString::fromLatin1( "( %1; %2 )" ).arg( xs ).arg( ys ); } Coordinate EuclideanCoords::toScreen(const TQString& s, bool& ok) const @@ -354,7 +354,7 @@ TQString PolarCoords::fromScreen( const Coordinate& pt, const KigDocument& d ) c TQString rs = KGlobal::locale()->formatNumber( r, l ); TQString ts = KGlobal::locale()->formatNumber( theta, 0 ); - return TQString::fromLatin1("( %1; %2° )").tqarg( rs ).tqarg( ts ); + return TQString::fromLatin1("( %1; %2° )").arg( rs ).arg( ts ); } TQString PolarCoords::coordinateFormatNotice() const |