summaryrefslogtreecommitdiff
path: root/src/plugins/coreplugin/editormanager/openeditorsview.h
diff options
context:
space:
mode:
authormae <qtc-committer@nokia.com>2009-01-12 20:49:16 +0100
committermae <qtc-committer@nokia.com>2009-01-12 20:49:16 +0100
commit4237c8cfd48dd55997aa179d22364af0d23bac29 (patch)
tree76949f04d85fe059e2aee7a7803271bb6ff87ac2 /src/plugins/coreplugin/editormanager/openeditorsview.h
parent7d1629f6f0a0f3ca24f99cd91bfd5fbb8efdf3a1 (diff)
downloadqt-creator-4237c8cfd48dd55997aa179d22364af0d23bac29.tar.gz
added a standard item model to the editormanager to maintain the list of open editors.
Diffstat (limited to 'src/plugins/coreplugin/editormanager/openeditorsview.h')
-rw-r--r--src/plugins/coreplugin/editormanager/openeditorsview.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/plugins/coreplugin/editormanager/openeditorsview.h b/src/plugins/coreplugin/editormanager/openeditorsview.h
index 4aa9743e75..a7403d1e86 100644
--- a/src/plugins/coreplugin/editormanager/openeditorsview.h
+++ b/src/plugins/coreplugin/editormanager/openeditorsview.h
@@ -59,19 +59,14 @@ public:
bool eventFilter(QObject *obj, QEvent *event);
private slots:
- void registerEditor(Core::IEditor *editor);
- void unregisterEditors(QList<Core::IEditor *> editors);
- void updateEditorList();
- void selectEditor(QTreeWidgetItem *item = 0);
- void updateEditor();
+ void selectEditor(const QModelIndex &);
+ void selectEditor();
void closeEditors();
void closeAllEditors();
- void updateCurrentItem(QTreeWidgetItem *currentItem = 0);
+ void updateCurrentItem(Core::IEditor*);
void putFocusToEditorList();
private:
- static void updateItem(QTreeWidgetItem *item, Core::IEditor *editor);
-
Ui::OpenEditorsView m_ui;
QWidget *m_widget;
};