summaryrefslogtreecommitdiffstats
path: root/qtinterface/qt4/Qt/qsizepolicy.h
diff options
context:
space:
mode:
Diffstat (limited to 'qtinterface/qt4/Qt/qsizepolicy.h')
-rw-r--r--qtinterface/qt4/Qt/qsizepolicy.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/qtinterface/qt4/Qt/qsizepolicy.h b/qtinterface/qt4/Qt/qsizepolicy.h
index fffc496..76a8e75 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 expanding() const {
+ Qt::Orientations expandingDirections() 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 expanding(); }
+ inline QT3_SUPPORT Qt::Orientations expanding() const { return expandingDirections(); }
QT3_SUPPORT_CONSTRUCTOR QSizePolicy(Policy hor, Policy ver, bool hfw)
: data(hor | (ver<<HSize) | (hfw ? (1U<<2*HSize) : 0)) { }