summaryrefslogtreecommitdiffstats
path: root/kig/objects/cubic_imp.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kig/objects/cubic_imp.cc')
-rw-r--r--kig/objects/cubic_imp.cc4
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 );