ModeManager: Remove old API that was used by old progress manager

Change-Id: Ia4083beb0b4a3eddc906af1b79e8bd5e6a36e47b
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
Eike Ziller
2015-04-21 10:01:14 +02:00
parent eb5821aa6b
commit c2c18b3c8e
2 changed files with 0 additions and 9 deletions

View File

@@ -123,14 +123,6 @@ ModeManager::~ModeManager()
m_instance = 0;
}
void ModeManager::addWidget(QWidget *widget)
{
// We want the actionbar to stay on the bottom
// so d->m_modeStack->cornerWidgetCount() -1 inserts it at the position immediately above
// the actionbar
d->m_modeStack->insertCornerWidget(d->m_modeStack->cornerWidgetCount() -1, widget);
}
IMode *ModeManager::currentMode()
{
int currentIndex = d->m_modeStack->currentIndex();

View File

@@ -60,7 +60,6 @@ public:
static void addAction(QAction *action, int priority);
static void addProjectSelector(QAction *action);
static void addWidget(QWidget *widget);
static void activateMode(Id id);
static void setFocusToCurrentMode();