summaryrefslogtreecommitdiffstats
path: root/kig/objects/conic_imp.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:55:10 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:55:10 -0600
commit746abe84406ed1ec1a8dc68f29ce0ab8322ccc80 (patch)
tree34a73ef7b8771de54099eeffb941117e49a8865e /kig/objects/conic_imp.cc
parent999f961ff5278b84c8ffd8a91addb9343e589cf0 (diff)
downloadtdeedu-746abe84406ed1ec1a8dc68f29ce0ab8322ccc80.tar.gz
tdeedu-746abe84406ed1ec1a8dc68f29ce0ab8322ccc80.zip
Remove additional unneeded tq method conversions
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;
}