From 0e2b76239f354a9eead0b4e37d86d390ec57ffa9 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 18 Dec 2011 18:31:10 -0600 Subject: Rename old tq methods that no longer need a unique name --- konquest/planet_info.cc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'konquest/planet_info.cc') diff --git a/konquest/planet_info.cc b/konquest/planet_info.cc index 9343fb81..a45b0b0f 100644 --- a/konquest/planet_info.cc +++ b/konquest/planet_info.cc @@ -38,8 +38,8 @@ PlanetInfo::PlanetInfo( TQWidget *parent, TQPalette palette ) setMouseTracking( true ); - setMinimumSize( tqsizeHint() ); - setMaximumHeight( tqsizeHint().height() ); + setMinimumSize( sizeHint() ); + setMaximumHeight( sizeHint().height() ); } PlanetInfo::~PlanetInfo() @@ -47,15 +47,15 @@ PlanetInfo::~PlanetInfo() emptyPlanetInfoList(); } -TQSize PlanetInfo::tqsizeHint() const +TQSize PlanetInfo::sizeHint() const { int height; - height = name->tqsizeHint().height() + - owner->tqsizeHint().height() + - ships->tqsizeHint().height() + - production->tqsizeHint().height()+ - kill_percent->tqsizeHint().height(); + height = name->sizeHint().height() + + owner->sizeHint().height() + + ships->sizeHint().height() + + production->sizeHint().height()+ + kill_percent->sizeHint().height(); return TQSize( 100, height ); } -- cgit v1.2.1