summaryrefslogtreecommitdiffstats
path: root/kig/objects/conic_imp.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:47:17 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:47:17 -0600
commit6c3f7a55fb7888efc80a7350ef0c2f46ee02baa3 (patch)
treecc90a09df2d1fd6d956cc084529a62d354316ad3 /kig/objects/conic_imp.cc
parent174fd5e23c68598774706ea9b571d3d178e36b81 (diff)
downloadtdeedu-6c3f7a55fb7888efc80a7350ef0c2f46ee02baa3.tar.gz
tdeedu-6c3f7a55fb7888efc80a7350ef0c2f46ee02baa3.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kig/objects/conic_imp.cc')
-rw-r--r--kig/objects/conic_imp.cc20
1 files changed, 10 insertions, 10 deletions
diff --git a/kig/objects/conic_imp.cc b/kig/objects/conic_imp.cc
index 5828fc98..81331522 100644
--- a/kig/objects/conic_imp.cc
+++ b/kig/objects/conic_imp.cc
@@ -204,12 +204,12 @@ TQString ConicImp::cartesianEquationString( const KigDocument& ) const
{
TQString ret = i18n( "%1 x² + %2 y² + %3 xy + %4 x + %5 y + %6 = 0" );
ConicCartesianData data = cartesianData();
- ret = ret.tqarg( data.coeffs[0], 0, 'g', 3 );
- ret = ret.tqarg( data.coeffs[1], 0, 'g', 3 );
- ret = ret.tqarg( data.coeffs[2], 0, 'g', 3 );
- ret = ret.tqarg( data.coeffs[3], 0, 'g', 3 );
- ret = ret.tqarg( data.coeffs[4], 0, 'g', 3 );
- ret = ret.tqarg( data.coeffs[5], 0, 'g', 3 );
+ ret = ret.arg( data.coeffs[0], 0, 'g', 3 );
+ ret = ret.arg( data.coeffs[1], 0, 'g', 3 );
+ ret = ret.arg( data.coeffs[2], 0, 'g', 3 );
+ ret = ret.arg( data.coeffs[3], 0, 'g', 3 );
+ ret = ret.arg( data.coeffs[4], 0, 'g', 3 );
+ ret = ret.arg( data.coeffs[5], 0, 'g', 3 );
return ret;
}
@@ -218,11 +218,11 @@ TQString ConicImp::polarEquationString( const KigDocument& w ) const
TQString ret = i18n( "rho = %1/(1 + %2 cos theta + %3 sin theta)\n [centered at %4]" );
const ConicPolarData data = polarData();
- ret = ret.tqarg( data.pdimen, 0, 'g', 3 );
- ret = ret.tqarg( -data.ecostheta0, 0, 'g', 3 );
- ret = ret.tqarg( -data.esintheta0, 0, 'g', 3 );
+ ret = ret.arg( data.pdimen, 0, 'g', 3 );
+ ret = ret.arg( -data.ecostheta0, 0, 'g', 3 );
+ ret = ret.arg( -data.esintheta0, 0, 'g', 3 );
- ret = ret.tqarg( w.coordinateSystem().fromScreen( data.focus1, w ) );
+ ret = ret.arg( w.coordinateSystem().fromScreen( data.focus1, w ) );
return ret;
}