Renamed the QmlEditor::ScriptEditor class to QmlEditor::QmlTextEditor.

This commit is contained in:
Erik Verbruggen
2009-12-08 13:58:51 +01:00
parent a84ebd1299
commit 65b3830b79
7 changed files with 37 additions and 37 deletions

View File

@@ -65,7 +65,7 @@ void QmlCodeCompletion::setCaseSensitivity(Qt::CaseSensitivity caseSensitivity)
bool QmlCodeCompletion::supportsEditor(TextEditor::ITextEditable *editor)
{
if (qobject_cast<ScriptEditor *>(editor->widget()))
if (qobject_cast<QmlTextEditor *>(editor->widget()))
return true;
return false;
@@ -78,7 +78,7 @@ int QmlCodeCompletion::startCompletion(TextEditor::ITextEditable *editor)
{
m_editor = editor;
ScriptEditor *edit = qobject_cast<ScriptEditor *>(m_editor->widget());
QmlTextEditor *edit = qobject_cast<QmlTextEditor *>(m_editor->widget());
if (! edit)
return -1;