summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets/qmdisubwindow_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/widgets/qmdisubwindow_p.h')
-rw-r--r--src/widgets/widgets/qmdisubwindow_p.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/widgets/widgets/qmdisubwindow_p.h b/src/widgets/widgets/qmdisubwindow_p.h
index 33fa73eb0d..71fcc38378 100644
--- a/src/widgets/widgets/qmdisubwindow_p.h
+++ b/src/widgets/widgets/qmdisubwindow_p.h
@@ -179,7 +179,7 @@ public:
#ifndef QT_NO_SIZEGRIP
QPointer<QSizeGrip> sizeGrip;
#endif
-#ifndef QT_NO_RUBBERBAND
+#if QT_CONFIG(rubberband)
QRubberBand *rubberBand;
#endif
QPoint mousePressPosition;
@@ -190,7 +190,7 @@ public:
bool resizeEnabled;
bool moveEnabled;
bool isInInteractiveMode;
-#ifndef QT_NO_RUBBERBAND
+#if QT_CONFIG(rubberband)
bool isInRubberBandMode;
#endif
bool isShadeMode;
@@ -258,7 +258,7 @@ public:
void removeButtonsFromMenuBar();
#endif
void updateWindowTitle(bool requestFromChild);
-#ifndef QT_NO_RUBBERBAND
+#if QT_CONFIG(rubberband)
void enterRubberBandMode();
void leaveRubberBandMode();
#endif
@@ -310,7 +310,7 @@ public:
Q_Q(QMdiSubWindow);
Q_ASSERT(parent);
geometry->setSize(geometry->size().expandedTo(internalMinimumSize));
-#ifndef QT_NO_RUBBERBAND
+#if QT_CONFIG(rubberband)
if (isInRubberBandMode)
rubberBand->setGeometry(*geometry);
else