ClangCodeModel: Drop unnecessary use of Q_OBJECT in two tests

Change-Id: I9eae55fa31ff496a54238c962768635dee5c850a
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2021-07-29 09:59:13 +02:00
parent 16e8cc7748
commit 3b33a13661
2 changed files with 0 additions and 8 deletions

View File

@@ -280,8 +280,6 @@ OpenDocumentCommand::OpenDocumentCommand(const CommandContext &context,
class WaitForUpdatedCodeWarnings : public QObject class WaitForUpdatedCodeWarnings : public QObject
{ {
Q_OBJECT
public: public:
WaitForUpdatedCodeWarnings(ClangEditorDocumentProcessor *processor); WaitForUpdatedCodeWarnings(ClangEditorDocumentProcessor *processor);
@@ -794,5 +792,3 @@ bool runClangBatchFile(const QString &filePath)
} // namespace Internal } // namespace Internal
} // namespace ClangCodeModel } // namespace ClangCodeModel
#include "clangbatchfileprocessor.moc"

View File

@@ -414,8 +414,6 @@ bool hasSnippet(TextEditor::ProposalModelPtr model, const QByteArray &text)
class MonitorGeneratedUiFile : public QObject class MonitorGeneratedUiFile : public QObject
{ {
Q_OBJECT
public: public:
MonitorGeneratedUiFile(); MonitorGeneratedUiFile();
bool waitUntilGenerated(int timeout = 10000) const; bool waitUntilGenerated(int timeout = 10000) const;
@@ -836,5 +834,3 @@ void ClangCodeCompletionTest::testSignalCompletion()
} // namespace Tests } // namespace Tests
} // namespace Internal } // namespace Internal
} // namespace ClangCodeModel } // namespace ClangCodeModel
#include "clangcodecompletion_test.moc"