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/cubic_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/cubic_imp.cc')
-rw-r--r-- | kig/objects/cubic_imp.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kig/objects/cubic_imp.cc b/kig/objects/cubic_imp.cc index 51bb5d9f..3879c5d9 100644 --- a/kig/objects/cubic_imp.cc +++ b/kig/objects/cubic_imp.cc @@ -406,7 +406,7 @@ Rect CubicImp::surroundingRect() const return Rect::invalidRect(); } -QString CubicImp::cartesianEquationString( const KigDocument& ) const +TQString CubicImp::cartesianEquationString( const KigDocument& ) const { /* * unfortunately QStrings.arg method is limited to %1, %9, so we cannot @@ -416,7 +416,7 @@ QString CubicImp::cartesianEquationString( const KigDocument& ) const * the equation (removal of zeros, avoid " ... + -1234 x ", etc.) */ - QString ret = i18n( "%6 x³ + %9 y³ + %7 x²y + %8 xy² + %5 y² + %3 x² + %4 xy + %1 x + %2 y" ); + TQString ret = i18n( "%6 x³ + %9 y³ + %7 x²y + %8 xy² + %5 y² + %3 x² + %4 xy + %1 x + %2 y" ); ret = ret.arg( mdata.coeffs[1], 0, 'g', 3 ); ret = ret.arg( mdata.coeffs[2], 0, 'g', 3 ); ret = ret.arg( mdata.coeffs[3], 0, 'g', 3 ); |