summaryrefslogtreecommitdiff
path: root/src/plugins/coreplugin/editormanager/openeditorsview.h
diff options
context:
space:
mode:
authorhjk <qthjk@ovi.com>2012-11-05 17:46:40 +0100
committerEike Ziller <eike.ziller@digia.com>2012-11-12 11:18:25 +0100
commit8011a1646c54885a8d7c3653610570ad52b3c4c9 (patch)
tree5a2fc8b9338f96059d1466eb7fd1602fb9a89d55 /src/plugins/coreplugin/editormanager/openeditorsview.h
parent1011a486f4f4fe897126854128862974439166b8 (diff)
downloadqt-creator-8011a1646c54885a8d7c3653610570ad52b3c4c9.tar.gz
EditorManager: OpenEditorsView: Remove unneeded one-cell layout
Change-Id: I063b00779e5acbfb307308d2107616990f0da010 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Diffstat (limited to 'src/plugins/coreplugin/editormanager/openeditorsview.h')
-rw-r--r--src/plugins/coreplugin/editormanager/openeditorsview.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/plugins/coreplugin/editormanager/openeditorsview.h b/src/plugins/coreplugin/editormanager/openeditorsview.h
index 628f4bfcc3..e33469f578 100644
--- a/src/plugins/coreplugin/editormanager/openeditorsview.h
+++ b/src/plugins/coreplugin/editormanager/openeditorsview.h
@@ -30,11 +30,10 @@
#ifndef OPENEDITORSVIEW_H
#define OPENEDITORSVIEW_H
-#include "ui_openeditorsview.h"
-
#include <coreplugin/inavigationwidgetfactory.h>
#include <QStyledItemDelegate>
+#include <QTreeView>
namespace Core {
class IEditor;
@@ -43,8 +42,6 @@ namespace Internal {
class OpenEditorsDelegate : public QStyledItemDelegate
{
- Q_OBJECT
-
public:
explicit OpenEditorsDelegate(QObject *parent = 0);
@@ -54,7 +51,7 @@ public:
mutable QModelIndex pressedIndex;
};
-class OpenEditorsWidget : public QWidget
+class OpenEditorsWidget : public QTreeView
{
Q_OBJECT
@@ -74,8 +71,6 @@ private:
void activateEditor(const QModelIndex &index);
void closeEditor(const QModelIndex &index);
- Ui::OpenEditorsView m_ui;
- QWidget *m_widget;
OpenEditorsDelegate *m_delegate;
};