summaryrefslogtreecommitdiffstats
path: root/kig/objects/tests_type.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kig/objects/tests_type.cc')
-rw-r--r--kig/objects/tests_type.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/kig/objects/tests_type.cc b/kig/objects/tests_type.cc
index e85c111e..a2c65808 100644
--- a/kig/objects/tests_type.cc
+++ b/kig/objects/tests_type.cc
@@ -159,7 +159,7 @@ const ObjectImpType* AreCollinearType::resultId() const
return TestResultImp::stype();
}
-static const ArgsParser::spec containsTestArgsSpec[] =
+static const ArgsParser::spec tqcontainsTestArgsSpec[] =
{
{ PointImp::stype(), I18N_NOOP( "Check whether this point is on a curve" ),
I18N_NOOP( "Select the point you want to test..." ), false },
@@ -170,7 +170,7 @@ static const ArgsParser::spec containsTestArgsSpec[] =
KIG_INSTANTIATE_OBJECT_TYPE_INSTANCE( ContainsTestType )
ContainsTestType::ContainsTestType()
- : ArgsParserObjectType( "ContainsTest", containsTestArgsSpec, 2 )
+ : ArgsParserObjectType( "ContainsTest", tqcontainsTestArgsSpec, 2 )
{
}
@@ -190,8 +190,8 @@ ObjectImp* ContainsTestType::calc( const Args& parents, const KigDocument& doc )
const Coordinate& p = static_cast<const PointImp*>( parents[0] )->coordinate();
const CurveImp* c = static_cast<const CurveImp*>( parents[1] );
- if ( c->containsPoint( p, doc ) )
- return new TestResultImp( i18n( "This curve contains the point." ) );
+ if ( c->tqcontainsPoint( p, doc ) )
+ return new TestResultImp( i18n( "This curve tqcontains the point." ) );
else
return new TestResultImp( i18n( "This curve does not contain the point." ) );
}
@@ -237,7 +237,7 @@ ObjectImp* InPolygonTestType::calc( const Args& parents, const KigDocument& ) co
const PolygonImp* pol = static_cast<const PolygonImp*>( parents[1] );
if ( pol->isInPolygon( p ) )
- return new TestResultImp( i18n( "This polygon contains the point." ) );
+ return new TestResultImp( i18n( "This polygon tqcontains the point." ) );
else
return new TestResultImp( i18n( "This polygon does not contain the point." ) );
}