summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2010-01-05 14:25:47 +0100
committerOlivier Goffart <ogoffart@trolltech.com>2010-01-05 14:26:38 +0100
commitbb3428531e31ac30a6b04ecc7e3192909108e6a7 (patch)
tree95ea2abe439c1f092cd210cdf0fb64a257839001
parent3c6d15423693bbb370cd47dadfbfe7194dafc668 (diff)
downloadqt4-tools-bb3428531e31ac30a6b04ecc7e3192909108e6a7.tar.gz
Compile with QT_NO_DOCKWIDGET
Task-number: QTBUG-7133
-rw-r--r--src/gui/widgets/qmainwindow.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/qmainwindow.h b/src/gui/widgets/qmainwindow.h
index 8ee0507656..316bbb8ac8 100644
--- a/src/gui/widgets/qmainwindow.h
+++ b/src/gui/widgets/qmainwindow.h
@@ -102,8 +102,10 @@ public:
Qt::ToolButtonStyle toolButtonStyle() const;
void setToolButtonStyle(Qt::ToolButtonStyle toolButtonStyle);
+#ifndef QT_NO_DOCKWIDGET
bool isAnimated() const;
bool isDockNestingEnabled() const;
+#endif
#ifndef QT_NO_TABBAR
bool documentMode() const;