Add override keyword to IEditor & TextEditorWidget implementations

Change-Id: I403101d788d9edfea5c5c9440ab4f39ad00e81f7
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
Eike Ziller
2015-06-01 17:55:31 +02:00
parent 686def2dc2
commit e00aa54f4e
32 changed files with 161 additions and 150 deletions

View File

@@ -101,6 +101,11 @@ int AndroidManifestEditor::currentColumn() const
return cursor.position() - cursor.block().position() + 1;
}
void AndroidManifestEditor::gotoLine(int line, int column, bool centerLine)
{
textEditor()->gotoLine(line, column, centerLine);
}
void AndroidManifestEditor::changeEditorPage(QAction *action)
{
if (!widget()->setActivePage(static_cast<AndroidManifestEditorWidget::EditorPage>(action->data().toInt()))) {