forked from qt-creator/qt-creator
CppTools: Remove some pointless declarations
* Unneeded private declared constructors * Q_DISABLE_COPY for classes deriving from QObject (not copyable) Change-Id: I89669e8bb062cda16bab5812e2ac591f9dcf4af2 Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
This commit is contained in:
@@ -41,8 +41,6 @@ namespace CppTools {
|
||||
class CPPTOOLS_EXPORT BaseEditorDocumentParser : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY(BaseEditorDocumentParser)
|
||||
BaseEditorDocumentParser();
|
||||
|
||||
public:
|
||||
BaseEditorDocumentParser(const QString &filePath);
|
||||
|
||||
@@ -49,8 +49,6 @@ namespace CppTools {
|
||||
class CPPTOOLS_EXPORT BaseEditorDocumentProcessor : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY(BaseEditorDocumentProcessor)
|
||||
BaseEditorDocumentProcessor();
|
||||
|
||||
public:
|
||||
BaseEditorDocumentProcessor(TextEditor::TextDocument *document);
|
||||
|
||||
@@ -42,7 +42,6 @@ namespace CppTools {
|
||||
class CPPTOOLS_EXPORT BuiltinEditorDocumentProcessor : public BaseEditorDocumentProcessor
|
||||
{
|
||||
Q_OBJECT
|
||||
BuiltinEditorDocumentProcessor();
|
||||
|
||||
public:
|
||||
BuiltinEditorDocumentProcessor(TextEditor::TextDocument *document,
|
||||
|
||||
@@ -51,7 +51,6 @@ namespace CppTools {
|
||||
class CPPTOOLS_EXPORT CppEditorOutline : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY(CppEditorOutline)
|
||||
|
||||
public:
|
||||
explicit CppEditorOutline(TextEditor::TextEditorWidget *editorWidget);
|
||||
|
||||
@@ -43,7 +43,6 @@ class SemanticInfoUpdaterPrivate;
|
||||
class SemanticInfoUpdater : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY(SemanticInfoUpdater)
|
||||
|
||||
public:
|
||||
explicit SemanticInfoUpdater();
|
||||
|
||||
@@ -49,7 +49,6 @@ namespace CppTools {
|
||||
class CPPTOOLS_EXPORT SemanticHighlighter : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_DISABLE_COPY(SemanticHighlighter)
|
||||
|
||||
public:
|
||||
enum Kind {
|
||||
|
||||
Reference in New Issue
Block a user