summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/src/kernel/tqlayoutengine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tqtinterface/qt4/src/kernel/tqlayoutengine.cpp')
-rw-r--r--tqtinterface/qt4/src/kernel/tqlayoutengine.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tqtinterface/qt4/src/kernel/tqlayoutengine.cpp b/tqtinterface/qt4/src/kernel/tqlayoutengine.cpp
index 7dca5e0..8c364d9 100644
--- a/tqtinterface/qt4/src/kernel/tqlayoutengine.cpp
+++ b/tqtinterface/qt4/src/kernel/tqlayoutengine.cpp
@@ -256,7 +256,7 @@ TQ_EXPORT TQSize tqSmartMinSize( const TQWidgetItem *i )
if ( TQT_TQSIZEPOLICY_OBJECT(w->sizePolicy()).mayShrinkHorizontally() ) {
s.setWidth( w->tqminimumSizeHint().width() );
} else {
- sh = w->tqsizeHint();
+ sh = w->sizeHint();
s.setWidth( sh.width() );
}
}
@@ -266,7 +266,7 @@ TQ_EXPORT TQSize tqSmartMinSize( const TQWidgetItem *i )
s.setHeight( w->tqminimumSizeHint().height() );
} else {
s.setHeight( sh.isValid() ? sh.height()
- : w->tqsizeHint().height() );
+ : w->sizeHint().height() );
}
}
}
@@ -298,11 +298,11 @@ TQ_EXPORT TQSize tqSmartMaxSize( const TQWidgetItem *i, int align )
TQSize s = w->tqmaximumSize();
if ( s.width() == TQWIDGETSIZE_MAX && !(align & TQt::AlignHorizontal_Mask) )
if ( !TQT_TQSIZEPOLICY_OBJECT(w->sizePolicy()).mayGrowHorizontally() )
- s.setWidth( w->tqsizeHint().width() );
+ s.setWidth( w->sizeHint().width() );
if ( s.height() == TQWIDGETSIZE_MAX && !(align & TQt::AlignVertical_Mask) )
if ( !TQT_TQSIZEPOLICY_OBJECT(w->sizePolicy()).mayGrowVertically() )
- s.setHeight( w->tqsizeHint().height() );
+ s.setHeight( w->sizeHint().height() );
s = s.expandedTo( w->tqminimumSize() );