Translations: Remove stray Q_DECLARE_TR_FUNCTIONS(...)

And handle the consequences in qmakebuildconfiguration.cpp.

Change-Id: Ic24d99927254e8d16decea49b880a2446bf322e6
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Alessandro Portale
2023-02-08 20:23:54 +01:00
parent 3d57b1868b
commit 3023b6ab03
7 changed files with 4 additions and 17 deletions

View File

@@ -24,8 +24,6 @@ class QmlJSEditorWidget;
class QMLJSEDITOR_EXPORT QmlJSHoverHandler : public TextEditor::BaseHoverHandler
{
Q_DECLARE_TR_FUNCTIONS(QmlJSHoverHandler)
public:
QmlJSHoverHandler();

View File

@@ -105,8 +105,6 @@ class AnalysizeMessageSuppressionOperation: public QmlJSQuickFixOperation
{
StaticAnalysis::Message _message;
Q_DECLARE_TR_FUNCTIONS(AddAnalysisMessageSuppressionComment)
public:
AnalysizeMessageSuppressionOperation(const Internal::QmlJSQuickFixAssistInterface *interface,
const StaticAnalysis::Message &message)

View File

@@ -62,8 +62,6 @@ protected:
template <typename T>
class Operation: public QmlJSQuickFixOperation
{
Q_DECLARE_TR_FUNCTIONS(QmlJSEditor::Internal::Operation)
T *m_objDef;
public: