diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:39:55 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:39:55 +0000 |
commit | 0a6e0958c03e41c87b15557b6f407874f20c2f8d (patch) | |
tree | 2cdd58c4013b1be09cfcbb4ddae2b05712b9aeee /kig/objects/circle_imp.cc | |
parent | 83f9dfafc157ff7823804b3ff457b43d021a5b4b (diff) | |
download | tdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.tar.gz tdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1157642 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kig/objects/circle_imp.cc')
-rw-r--r-- | kig/objects/circle_imp.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kig/objects/circle_imp.cc b/kig/objects/circle_imp.cc index 13ceef93..38522c22 100644 --- a/kig/objects/circle_imp.cc +++ b/kig/objects/circle_imp.cc @@ -231,18 +231,18 @@ double CircleImp::circumference() const return 2 * M_PI * radius(); } -QString CircleImp::polarEquationString( const KigDocument& w ) const +TQString CircleImp::polarEquationString( const KigDocument& w ) const { - QString ret = i18n( "rho = %1 [centered at %2]" ); + TQString ret = i18n( "rho = %1 [centered at %2]" ); ConicPolarData data = polarData(); ret = ret.arg( data.pdimen, 0, 'g', 3 ); ret = ret.arg( w.coordinateSystem().fromScreen( data.focus1, w ) ); return ret; } -QString CircleImp::cartesianEquationString( const KigDocument& ) const +TQString CircleImp::cartesianEquationString( const KigDocument& ) const { - QString ret = i18n( "x² + y² + %1 x + %2 y + %3 = 0" ); + TQString ret = i18n( "x² + y² + %1 x + %2 y + %3 = 0" ); ConicCartesianData data = cartesianData(); ret = ret.arg( data.coeffs[3], 0, 'g', 3 ); ret = ret.arg( data.coeffs[4], 0, 'g', 3 ); @@ -250,9 +250,9 @@ QString CircleImp::cartesianEquationString( const KigDocument& ) const return ret; } -QString CircleImp::simplyCartesianEquationString( const KigDocument& ) const +TQString CircleImp::simplyCartesianEquationString( const KigDocument& ) const { - QString ret = i18n( "( x - %1 )² + ( y - %2 )² = %3" ); + TQString ret = i18n( "( x - %1 )² + ( y - %2 )² = %3" ); ret = ret.arg( mcenter.x, 0, 'g', 3 ); ret = ret.arg( mcenter.y, 0, 'g', 3 ); ret = ret.arg( mradius * mradius, 0, 'g', 3 ); |