summaryrefslogtreecommitdiff
path: root/src/plugins/qmljseditor/qmljsoutline.cpp
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2011-02-21 16:02:26 +0100
committerhjk <qtc-committer@nokia.com>2011-02-22 11:23:53 +0100
commitf576ad9f2c169bfa4d336ba2b3b1918f03df6916 (patch)
treef9e708ea1972b10d5465c915e7b9d0f7572f671f /src/plugins/qmljseditor/qmljsoutline.cpp
parente32cf192f7ba34dda96b61507b440c6a17b51a0c (diff)
downloadqt-creator-f576ad9f2c169bfa4d336ba2b3b1918f03df6916.tar.gz
texteditor: merge ITextEditable into ITextEditor
rename BastTextEditor->BaseTextEditorWidget, BaseTextEditorEditable->BaseTextEditor rename BaseTextEditor{,Widget} subclasses rename editableInterface->editorInterface rename createEditableInterface->createEditor minor cleanups after renamings
Diffstat (limited to 'src/plugins/qmljseditor/qmljsoutline.cpp')
-rw-r--r--src/plugins/qmljseditor/qmljsoutline.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/qmljseditor/qmljsoutline.cpp b/src/plugins/qmljseditor/qmljsoutline.cpp
index 8df2830385..d81be4467b 100644
--- a/src/plugins/qmljseditor/qmljsoutline.cpp
+++ b/src/plugins/qmljseditor/qmljsoutline.cpp
@@ -125,7 +125,7 @@ QmlJSOutlineWidget::QmlJSOutlineWidget(QWidget *parent) :
setLayout(layout);
}
-void QmlJSOutlineWidget::setEditor(QmlJSTextEditor *editor)
+void QmlJSOutlineWidget::setEditor(QmlJSTextEditorWidget *editor)
{
m_editor = editor;
@@ -257,7 +257,7 @@ TextEditor::IOutlineWidget *QmlJSOutlineWidgetFactory::createWidget(Core::IEdito
QmlJSOutlineWidget *widget = new QmlJSOutlineWidget;
QmlJSEditorEditable *qmlJSEditable = qobject_cast<QmlJSEditorEditable*>(editor);
- QmlJSTextEditor *qmlJSEditor = qobject_cast<QmlJSTextEditor*>(qmlJSEditable->widget());
+ QmlJSTextEditorWidget *qmlJSEditor = qobject_cast<QmlJSTextEditorWidget*>(qmlJSEditable->widget());
Q_ASSERT(qmlJSEditor);
widget->setEditor(qmlJSEditor);