Vcs*: Rename several *Editors to *EditorWidgets

Follow suit.

Change-Id: If22452a5e46d62d419ba273981b1f247f5095b53
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
hjk
2014-08-21 20:43:33 +02:00
parent d6ddff9373
commit b5a1599776
20 changed files with 66 additions and 66 deletions

View File

@@ -177,7 +177,7 @@ bool BazaarPlugin::initialize(const QStringList &arguments, QString *errorMessag
static const char *describeSlot = SLOT(view(QString,QString));
const int editorCount = sizeof(editorParameters) / sizeof(VcsBaseEditorParameters);
const auto widgetCreator = []() { return new BazaarEditor; };
const auto widgetCreator = []() { return new BazaarEditorWidget; };
for (int i = 0; i < editorCount; i++)
addAutoReleasedObject(new VcsEditorFactory(editorParameters + i, widgetCreator, m_client, describeSlot));
@@ -656,7 +656,7 @@ void BazaarPlugin::testDiffFileResolving_data()
void BazaarPlugin::testDiffFileResolving()
{
BazaarEditor editor;
BazaarEditorWidget editor;
editor.setParameters(editorParameters + 2);
editor.testDiffFileResolving();
}
@@ -681,7 +681,7 @@ void BazaarPlugin::testLogResolving()
" (gz) Set approved revision and vote \"Approve\" when using lp-propose\n"
" --approve (Jonathan Lange)\n"
);
BazaarEditor editor;
BazaarEditorWidget editor;
editor.setParameters(editorParameters);
editor.testLogResolving(data, "6572", "6571");
}