summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/sizehandle.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:36:08 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-23 19:35:08 +0200
commit1c082a5ba751ddd4edd36bb0061462f9a999f88d (patch)
treee58e00b13f367e1eb92dc92b6dfbc69065226b80 /kdevdesigner/designer/sizehandle.cpp
parentc51913a8c885131a350d3fcda9715699b0467306 (diff)
downloadtdevelop-1c082a5ba751ddd4edd36bb0061462f9a999f88d.tar.gz
tdevelop-1c082a5ba751ddd4edd36bb0061462f9a999f88d.zip
Rename old tq methods that no longer need a unique name
(cherry picked from commit c3b301575a98e4c3505ad95534d6192b65539dab)
Diffstat (limited to 'kdevdesigner/designer/sizehandle.cpp')
-rw-r--r--kdevdesigner/designer/sizehandle.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kdevdesigner/designer/sizehandle.cpp b/kdevdesigner/designer/sizehandle.cpp
index 6ba2ba3f..5a9ae0e9 100644
--- a/kdevdesigner/designer/sizehandle.cpp
+++ b/kdevdesigner/designer/sizehandle.cpp
@@ -241,9 +241,9 @@ void SizeHandle::mouseReleaseEvent( TQMouseEvent *e )
void SizeHandle::trySetGeometry( TQWidget *w, int x, int y, int width, int height )
{
- int minw = TQMAX( w->tqminimumSizeHint().width(), w->tqminimumSize().width() );
+ int minw = TQMAX( w->minimumSizeHint().width(), w->minimumSize().width() );
minw = TQMAX( minw, 2 * formWindow->grid().x() );
- int minh = TQMAX( w->tqminimumSizeHint().height(), w->tqminimumSize().height() );
+ int minh = TQMAX( w->minimumSizeHint().height(), w->minimumSize().height() );
minh = TQMAX( minh, 2 * formWindow->grid().y() );
if ( TQMAX( minw, width ) > w->maximumWidth() ||
TQMAX( minh, height ) > w->maximumHeight() )
@@ -257,9 +257,9 @@ void SizeHandle::trySetGeometry( TQWidget *w, int x, int y, int width, int heigh
void SizeHandle::tryResize( TQWidget *w, int width, int height )
{
- int minw = TQMAX( w->tqminimumSizeHint().width(), w->tqminimumSize().width() );
+ int minw = TQMAX( w->minimumSizeHint().width(), w->minimumSize().width() );
minw = TQMAX( minw, 16 );
- int minh = TQMAX( w->tqminimumSizeHint().height(), w->tqminimumSize().height() );
+ int minh = TQMAX( w->minimumSizeHint().height(), w->minimumSize().height() );
minh = TQMAX( minh, 16 );
w->resize( TQMAX( minw, width ), TQMAX( minh, height ) );
}