summaryrefslogtreecommitdiffstats
path: root/kig/objects/object_holder.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kig/objects/object_holder.cc')
-rw-r--r--kig/objects/object_holder.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/kig/objects/object_holder.cc b/kig/objects/object_holder.cc
index 70e1100b..49e6da9d 100644
--- a/kig/objects/object_holder.cc
+++ b/kig/objects/object_holder.cc
@@ -80,9 +80,9 @@ void ObjectHolder::draw( KigPainter& p, bool selected ) const
mdrawer->draw( *imp(), p, selected );
}
-bool ObjectHolder::contains( const Coordinate& pt, const KigWidget& w, bool nv ) const
+bool ObjectHolder::tqcontains( const Coordinate& pt, const KigWidget& w, bool nv ) const
{
- return mdrawer->contains( *imp(), pt, w, nv );
+ return mdrawer->tqcontains( *imp(), pt, w, nv );
}
bool ObjectHolder::inRect( const Rect& r, const KigWidget& w ) const
@@ -145,7 +145,7 @@ const TQString ObjectHolder::name() const
return static_cast<const StringImp*>( mnamecalcer->imp() )->data();
}
else
- return TQString::null;
+ return TQString();
}
void ObjectHolder::setNameCalcer( ObjectConstCalcer* namecalcer )
@@ -160,5 +160,5 @@ TQString ObjectHolder::selectStatement() const
if ( n.isEmpty() )
return i18n( imp()->type()->selectStatement() );
else
- return i18n( imp()->type()->selectNameStatement() ).arg( n );
+ return i18n( imp()->type()->selectNameStatement() ).tqarg( n );
}