TextEditor: Use Qt5-style connects

The heavy lifting was done by clazy.

Change-Id: I380120e3419d2a3c0e272f51cc3e0d5f6aaa5e9b
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
Orgad Shaneh
2015-12-13 01:18:33 +02:00
committed by Orgad Shaneh
parent b6131e1b1d
commit 9d3b2f0998
53 changed files with 314 additions and 339 deletions

View File

@@ -44,10 +44,10 @@ using namespace TextEditor::Internal;
FindInOpenFiles::FindInOpenFiles()
{
connect(Core::EditorManager::instance(), SIGNAL(editorOpened(Core::IEditor*)),
this, SLOT(updateEnabledState()));
connect(Core::EditorManager::instance(), SIGNAL(editorsClosed(QList<Core::IEditor*>)),
this, SLOT(updateEnabledState()));
connect(Core::EditorManager::instance(), &Core::EditorManager::editorOpened,
this, &FindInOpenFiles::updateEnabledState);
connect(Core::EditorManager::instance(), &Core::EditorManager::editorsClosed,
this, &FindInOpenFiles::updateEnabledState);
}
QString FindInOpenFiles::id() const