aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/designer/designerxmleditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/designer/designerxmleditor.cpp')
-rw-r--r--src/plugins/designer/designerxmleditor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/designer/designerxmleditor.cpp b/src/plugins/designer/designerxmleditor.cpp
index 9208348692..3e048b43da 100644
--- a/src/plugins/designer/designerxmleditor.cpp
+++ b/src/plugins/designer/designerxmleditor.cpp
@@ -43,13 +43,13 @@ namespace Internal {
DesignerXmlEditor::DesignerXmlEditor(QDesignerFormWindowInterface *form,
QWidget *parent) :
- TextEditor::PlainTextEditor(parent),
+ TextEditor::PlainTextEditorWidget(parent),
m_designerEditor(new FormWindowEditor(this, form))
{
setReadOnly(true);
}
-TextEditor::BaseTextEditorEditable *DesignerXmlEditor::createEditableInterface()
+TextEditor::BaseTextEditor *DesignerXmlEditor::createEditor()
{
if (Designer::Constants::Internal::debug)
qDebug() << "DesignerXmlEditor::createEditableInterface()";