Don't clash signal names with other methods

In case when signal name clashes with other method name -
rename accordingly.
Remove some repeated signal declarations - they are already
declared in superclass.

Change-Id: Ie1430b85d6436d26996494fa44c7554fb354b6ce
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Jarek Kobus
2020-11-17 15:50:11 +01:00
parent c3a8429dc8
commit d2e1feceac
15 changed files with 26 additions and 45 deletions

View File

@@ -147,7 +147,7 @@ void QmlJSEditorWidget::finalizeInitialization()
}
connect(this->document(), &QTextDocument::modificationChanged,
this, &QmlJSEditorWidget::modificationChanged);
this, &QmlJSEditorWidget::updateModificationChange);
connect(m_qmlJsEditorDocument, &QmlJSEditorDocument::updateCodeWarnings,
this, &QmlJSEditorWidget::updateCodeWarnings);
@@ -257,7 +257,7 @@ void QmlJSEditorWidget::foldAuxiliaryData()
}
}
void QmlJSEditorWidget::modificationChanged(bool changed)
void QmlJSEditorWidget::updateModificationChange(bool changed)
{
if (!changed && m_modelManager)
m_modelManager->fileChangedOnDisk(textDocument()->filePath().toString());

View File

@@ -80,7 +80,7 @@ signals:
void selectedElementsChanged(QList<QmlJS::AST::UiObjectMember*> offsets,
const QString &wordAtCursor);
private:
void modificationChanged(bool);
void updateModificationChange(bool);
void jumpToOutlineElement(int index);
void updateContextPane();