texteditor: merge ITextEditable into ITextEditor

rename BastTextEditor->BaseTextEditorWidget, BaseTextEditorEditable->BaseTextEditor
rename BaseTextEditor{,Widget} subclasses
rename editableInterface->editorInterface
rename createEditableInterface->createEditor
minor cleanups after renamings
This commit is contained in:
hjk
2011-02-21 16:02:26 +01:00
parent e32cf192f7
commit f576ad9f2c
180 changed files with 1326 additions and 1382 deletions

View File

@@ -58,7 +58,7 @@ CppHoverHandler::~CppHoverHandler()
bool CppHoverHandler::acceptEditor(IEditor *editor)
{
CPPEditorEditable *cppEditor = qobject_cast<CPPEditorEditable *>(editor);
CPPEditor *cppEditor = qobject_cast<CPPEditor *>(editor);
if (cppEditor)
return true;
return false;
@@ -66,7 +66,7 @@ bool CppHoverHandler::acceptEditor(IEditor *editor)
void CppHoverHandler::identifyMatch(TextEditor::ITextEditor *editor, int pos)
{
CPPEditor *cppEditor = qobject_cast<CPPEditor *>(editor->widget());
CPPEditorWidget *cppEditor = qobject_cast<CPPEditorWidget *>(editor->widget());
if (!cppEditor)
return;