forked from qt-creator/qt-creator
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:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user