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
|
class CPPTOOLS_EXPORT BaseEditorDocumentParser : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(BaseEditorDocumentParser)
|
|
||||||
BaseEditorDocumentParser();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
BaseEditorDocumentParser(const QString &filePath);
|
BaseEditorDocumentParser(const QString &filePath);
|
||||||
|
|||||||
@@ -49,8 +49,6 @@ namespace CppTools {
|
|||||||
class CPPTOOLS_EXPORT BaseEditorDocumentProcessor : public QObject
|
class CPPTOOLS_EXPORT BaseEditorDocumentProcessor : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(BaseEditorDocumentProcessor)
|
|
||||||
BaseEditorDocumentProcessor();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
BaseEditorDocumentProcessor(TextEditor::TextDocument *document);
|
BaseEditorDocumentProcessor(TextEditor::TextDocument *document);
|
||||||
|
|||||||
@@ -42,7 +42,6 @@ namespace CppTools {
|
|||||||
class CPPTOOLS_EXPORT BuiltinEditorDocumentProcessor : public BaseEditorDocumentProcessor
|
class CPPTOOLS_EXPORT BuiltinEditorDocumentProcessor : public BaseEditorDocumentProcessor
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
BuiltinEditorDocumentProcessor();
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
BuiltinEditorDocumentProcessor(TextEditor::TextDocument *document,
|
BuiltinEditorDocumentProcessor(TextEditor::TextDocument *document,
|
||||||
|
|||||||
@@ -51,7 +51,6 @@ namespace CppTools {
|
|||||||
class CPPTOOLS_EXPORT CppEditorOutline : public QObject
|
class CPPTOOLS_EXPORT CppEditorOutline : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(CppEditorOutline)
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit CppEditorOutline(TextEditor::TextEditorWidget *editorWidget);
|
explicit CppEditorOutline(TextEditor::TextEditorWidget *editorWidget);
|
||||||
|
|||||||
@@ -43,7 +43,6 @@ class SemanticInfoUpdaterPrivate;
|
|||||||
class SemanticInfoUpdater : public QObject
|
class SemanticInfoUpdater : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(SemanticInfoUpdater)
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit SemanticInfoUpdater();
|
explicit SemanticInfoUpdater();
|
||||||
|
|||||||
@@ -49,7 +49,6 @@ namespace CppTools {
|
|||||||
class CPPTOOLS_EXPORT SemanticHighlighter : public QObject
|
class CPPTOOLS_EXPORT SemanticHighlighter : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(SemanticHighlighter)
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
enum Kind {
|
enum Kind {
|
||||||
|
|||||||
Reference in New Issue
Block a user