diff options
author | Timothy Pearson <[email protected]> | 2011-07-17 18:20:57 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-07-17 18:20:57 -0500 |
commit | afe922f3d9f62716f4e559fb1e374c04afd3db63 (patch) | |
tree | 9a671bad1056ab07f627f5e8fa774da7002e7b15 /tqtinterface/qt4/src/kernel/tqlayoutengine.cpp | |
parent | 656b2d3e1c0a8d10f19300480f6e797a65381d1e (diff) | |
download | experimental-afe922f3d9f62716f4e559fb1e374c04afd3db63.tar.gz experimental-afe922f3d9f62716f4e559fb1e374c04afd3db63.zip |
Rename tqsize* to size*
Diffstat (limited to 'tqtinterface/qt4/src/kernel/tqlayoutengine.cpp')
-rw-r--r-- | tqtinterface/qt4/src/kernel/tqlayoutengine.cpp | 8 |
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() ); |