summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/doubletabwidget.h
diff options
context:
space:
mode:
authorcon <qtc-committer@nokia.com>2010-01-21 13:46:19 +0100
committercon <qtc-committer@nokia.com>2010-01-22 15:34:01 +0100
commitcfd998490b7b939aa4b3f945e014ce5de48c61a1 (patch)
tree03ec61569f235a65c36cb6716e8b5f313c0e78f2 /src/plugins/projectexplorer/doubletabwidget.h
parentb832bc3d6ea7c5b5824529f065d2c4c4fd916310 (diff)
downloadqt-creator-cfd998490b7b939aa4b3f945e014ce5de48c61a1.tar.gz
New project mode layout, first part.
Diffstat (limited to 'src/plugins/projectexplorer/doubletabwidget.h')
-rw-r--r--src/plugins/projectexplorer/doubletabwidget.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/doubletabwidget.h b/src/plugins/projectexplorer/doubletabwidget.h
index a77366aa32..15d2f4bb6c 100644
--- a/src/plugins/projectexplorer/doubletabwidget.h
+++ b/src/plugins/projectexplorer/doubletabwidget.h
@@ -1,6 +1,7 @@
#ifndef DOUBLETABWIDGET_H
#define DOUBLETABWIDGET_H
+#include <QtCore/QVector>
#include <QtGui/QWidget>
namespace ProjectExplorer {
@@ -20,6 +21,9 @@ public:
QString title() const { return m_title; }
void addTab(const QString &name, const QStringList &subTabs);
+ void insertTab(int index, const QString &name, const QStringList &subTabs);
+ void removeTab(int index);
+ int tabCount() const;
signals:
void currentIndexChanged(int index, int subIndex);
@@ -42,6 +46,8 @@ private:
QString m_title;
QList<Tab> m_tabs;
int m_currentIndex;
+ QVector<int> m_currentTabIndices;
+ int m_lastVisibleIndex;
};
} // namespace Internal