forked from qt-creator/qt-creator
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:
@@ -280,8 +280,6 @@ OpenDocumentCommand::OpenDocumentCommand(const CommandContext &context,
|
||||
|
||||
class WaitForUpdatedCodeWarnings : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
WaitForUpdatedCodeWarnings(ClangEditorDocumentProcessor *processor);
|
||||
|
||||
@@ -794,5 +792,3 @@ bool runClangBatchFile(const QString &filePath)
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace ClangCodeModel
|
||||
|
||||
#include "clangbatchfileprocessor.moc"
|
||||
|
||||
@@ -414,8 +414,6 @@ bool hasSnippet(TextEditor::ProposalModelPtr model, const QByteArray &text)
|
||||
|
||||
class MonitorGeneratedUiFile : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
MonitorGeneratedUiFile();
|
||||
bool waitUntilGenerated(int timeout = 10000) const;
|
||||
@@ -836,5 +834,3 @@ void ClangCodeCompletionTest::testSignalCompletion()
|
||||
} // namespace Tests
|
||||
} // namespace Internal
|
||||
} // namespace ClangCodeModel
|
||||
|
||||
#include "clangcodecompletion_test.moc"
|
||||
|
||||
Reference in New Issue
Block a user