CppEditor: Do not offer generated QObject functions

... in "create implementations" quickfix.

Change-Id: Ie8aa00e432afdf1338d4897ad211c15fef753404
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Christian Kandeler
2020-10-30 16:53:10 +01:00
parent 7899035c05
commit 98499e7caa
4 changed files with 29 additions and 12 deletions

View File

@@ -31,7 +31,13 @@
#include <texteditor/quickfix.h>
namespace CppEditor {
namespace Internal { class CppQuickFixInterface; }
namespace Internal {
class CppQuickFixInterface;
// These are generated functions that should not be offered in quickfixes.
const QStringList magicQObjectFunctions();
}
class CPPEDITOR_EXPORT CppQuickFixOperation
: public TextEditor::QuickFixOperation,