TextEditor: Rename BaseTextEditorWidget to TextEditorWidget

... and some of the related implementation details

Change-Id: I1f03aa5acf2d3fb2cfc2a6a7845f3d3578b0408d
Reviewed-by: David Schulz <david.schulz@digia.com>
This commit is contained in:
hjk
2014-09-26 11:37:54 +02:00
committed by David Schulz
parent cfaa30d0b9
commit 10c8d5f0ca
137 changed files with 825 additions and 827 deletions

View File

@@ -173,7 +173,7 @@ void EmacsKeysPlugin::currentEditorChanged(Core::IEditor *editor)
}
m_currentState = m_stateMap[m_currentEditorWidget];
m_currentBaseTextEditorWidget =
qobject_cast<TextEditor::BaseTextEditorWidget*>(editor->widget());
qobject_cast<TextEditor::TextEditorWidget*>(editor->widget());
}
void EmacsKeysPlugin::gotoFileStart() { genericGoto(QTextCursor::Start); }

View File

@@ -43,7 +43,7 @@ class Id;
class IEditor;
}
namespace TextEditor {
class BaseTextEditorWidget;
class TextEditorWidget;
}
namespace EmacsKeys {
@@ -102,7 +102,7 @@ private:
QHash<QPlainTextEdit*, EmacsKeysState*> m_stateMap;
QPlainTextEdit *m_currentEditorWidget;
EmacsKeysState *m_currentState;
TextEditor::BaseTextEditorWidget *m_currentBaseTextEditorWidget;
TextEditor::TextEditorWidget *m_currentBaseTextEditorWidget;
};
} // namespace Internal