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

@@ -28,22 +28,6 @@
#include "cppeditor_global.h"
#include "cppquickfix.h"
#include <cpptools/cpprefactoringchanges.h>
#include <extensionsystem/iplugin.h>
#include <QDialog>
#include <functional>
QT_BEGIN_NAMESPACE
class QByteArray;
template <class> class QList;
QT_END_NAMESPACE
using namespace CppTools;
using namespace CPlusPlus;
using namespace TextEditor;
///
/// Adding New Quick Fixes
///
@@ -55,7 +39,8 @@ using namespace TextEditor;
namespace CppEditor {
namespace Internal {
void registerQuickFixes(ExtensionSystem::IPlugin *plugIn);
void createCppQuickFixes();
void destroyCppQuickFixes();
class ExtraRefactoringOperations : public CppQuickFixFactory
{