summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/qmdiarea_p.h
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@gmail.com>2011-02-10 10:00:11 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2011-02-10 11:57:32 (GMT)
commita38a14b9fb411231443e80cf14d397492f3412dc (patch)
tree62e69d20ab15c0c712ba275079893da51595c3c0 /src/gui/widgets/qmdiarea_p.h
parenteb7958c65b09569c2531d2c443a6d0fe0b507d97 (diff)
downloadQt-a38a14b9fb411231443e80cf14d397492f3412dc.zip
Qt-a38a14b9fb411231443e80cf14d397492f3412dc.tar.gz
Qt-a38a14b9fb411231443e80cf14d397492f3412dc.tar.bz2
Added QMdiArea::tabsMovable and tabsClosable
Task-number: QTBUG-3864 Reviewed-by: Thierry Bastian <thierry.bastian@nokia.com> Merge-request: 2522
Diffstat (limited to 'src/gui/widgets/qmdiarea_p.h')
-rw-r--r--src/gui/widgets/qmdiarea_p.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/widgets/qmdiarea_p.h b/src/gui/widgets/qmdiarea_p.h
index 5d85659..e5e2057 100644
--- a/src/gui/widgets/qmdiarea_p.h
+++ b/src/gui/widgets/qmdiarea_p.h
@@ -165,6 +165,8 @@ public:
QMdiArea::ViewMode viewMode;
#ifndef QT_NO_TABBAR
bool documentMode;
+ bool tabsClosable;
+ bool tabsMovable;
#endif
#ifndef QT_NO_TABWIDGET
QTabWidget::TabShape tabShape;
@@ -189,6 +191,8 @@ public:
void _q_deactivateAllWindows(QMdiSubWindow *aboutToActivate = 0);
void _q_processWindowStateChanged(Qt::WindowStates oldState, Qt::WindowStates newState);
void _q_currentTabChanged(int index);
+ void _q_closeTab(int index);
+ void _q_moveTab(int from, int to);
// Functions.
void appendChild(QMdiSubWindow *child);