diff options
author | Timothy Pearson <[email protected]> | 2011-12-15 15:36:27 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-15 15:36:27 -0600 |
commit | 44bcd47cf37723ecfa8bb432403d2bea59988773 (patch) | |
tree | 2d655821a05784e89fdc96c99bef7c30c0a1fc49 /qtinterface/qt4/Qt/qsizepolicy.h | |
parent | 6b90a76cf23e1adb89fd4e0c9501b777f456e2a5 (diff) | |
download | tqtinterface-44bcd47cf37723ecfa8bb432403d2bea59988773.tar.gz tqtinterface-44bcd47cf37723ecfa8bb432403d2bea59988773.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'qtinterface/qt4/Qt/qsizepolicy.h')
-rw-r--r-- | qtinterface/qt4/Qt/qsizepolicy.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qtinterface/qt4/Qt/qsizepolicy.h b/qtinterface/qt4/Qt/qsizepolicy.h index 76a8e75..fffc496 100644 --- a/qtinterface/qt4/Qt/qsizepolicy.h +++ b/qtinterface/qt4/Qt/qsizepolicy.h @@ -123,7 +123,7 @@ public: void setVerticalPolicy(Policy d) { data = (data & ~(HMask << HSize)) | (d << HSize); } void setControlType(ControlType type); - Qt::Orientations expandingDirections() const { + Qt::Orientations expanding() const { Qt::Orientations result; if (verticalPolicy() & ExpandFlag) result |= Qt::Vertical; @@ -170,7 +170,7 @@ public: inline QT3_SUPPORT bool mayShrinkVertically() const { return verticalPolicy() & ShrinkFlag; } inline QT3_SUPPORT bool mayGrowHorizontally() const { return horizontalPolicy() & GrowFlag; } inline QT3_SUPPORT bool mayGrowVertically() const { return verticalPolicy() & GrowFlag; } - inline QT3_SUPPORT Qt::Orientations expanding() const { return expandingDirections(); } + inline QT3_SUPPORT Qt::Orientations expanding() const { return expanding(); } QT3_SUPPORT_CONSTRUCTOR QSizePolicy(Policy hor, Policy ver, bool hfw) : data(hor | (ver<<HSize) | (hfw ? (1U<<2*HSize) : 0)) { } |