CppEditor: Do not add QuickFixFactories to object pool anymore

Not needed anymore.

Also some cleanup, no 'using' in headers etc.

Change-Id: I8c4547d80d0c0ffd989d1efbc74687c9f56096a4
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
hjk
2018-01-26 16:43:01 +01:00
parent c4b3779b42
commit 289f2b170a
6 changed files with 68 additions and 72 deletions

View File

@@ -62,12 +62,14 @@ public:
CppQuickFixFactory();
~CppQuickFixFactory();
using QuickFixOperations = TextEditor::QuickFixOperations;
/*!
Implement this function to match and create the appropriate
CppQuickFixOperation objects.
*/
virtual void match(const Internal::CppQuickFixInterface &interface,
TextEditor::QuickFixOperations &result) = 0;
QuickFixOperations &result) = 0;
static const QList<CppQuickFixFactory *> &cppQuickFixFactories();
};