Core/Qmake: Move Q_DECLARE_OPERATORS_FOR_FLAGS outside the namespace

Change-Id: I9f956faa71dcb8d5acf2c50711a33813a091903c
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Orgad Shaneh
2019-05-15 08:57:53 +03:00
committed by Orgad Shaneh
parent 8a716ef12a
commit 075d674c5a
3 changed files with 6 additions and 6 deletions

View File

@@ -226,10 +226,10 @@ private:
TopicCache *m_topicCache; TopicCache *m_topicCache;
}; };
Q_DECLARE_OPERATORS_FOR_FLAGS(Core::IVersionControl::SettingsFlags)
} // namespace Core } // namespace Core
Q_DECLARE_OPERATORS_FOR_FLAGS(Core::IVersionControl::SettingsFlags)
#if defined(WITH_TESTS) #if defined(WITH_TESTS)
#include <QSet> #include <QSet>

View File

@@ -92,8 +92,6 @@ private:
QString m_proFile; QString m_proFile;
}; };
Q_DECLARE_OPERATORS_FOR_FLAGS(AddLibraryWizard::Platforms)
class LibraryTypePage : public QWizardPage class LibraryTypePage : public QWizardPage
{ {
Q_OBJECT Q_OBJECT
@@ -139,3 +137,5 @@ private:
} // namespace Internal } // namespace Internal
} // namespace QmakeProjectManager } // namespace QmakeProjectManager
Q_DECLARE_OPERATORS_FOR_FLAGS(QmakeProjectManager::Internal::AddLibraryWizard::Platforms)

View File

@@ -66,7 +66,7 @@ private:
static QString compileScope(const QString &scope); static QString compileScope(const QString &scope);
}; };
Q_DECLARE_OPERATORS_FOR_FLAGS(ProWriter::PutFlags)
} // namespace Internal } // namespace Internal
} // namespace QmakeProjectManager } // namespace QmakeProjectManager
Q_DECLARE_OPERATORS_FOR_FLAGS(QmakeProjectManager::Internal::ProWriter::PutFlags)