QtSupport: Clean up TranslationWizardPage a bit

Change-Id: I70426403d5937ff00b4587e4999f4f0ab092d2e4
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
hjk
2024-01-18 13:32:07 +01:00
parent 129d6a7f79
commit 94a2a6f96e

View File

@@ -33,17 +33,15 @@ using namespace Utils;
namespace QtSupport::Internal { namespace QtSupport::Internal {
class TranslationWizardPage : public WizardPage class TranslationWizardPage final : public WizardPage
{ {
Q_OBJECT
public: public:
TranslationWizardPage(const QString &enabledExpr, bool singleFile); TranslationWizardPage(const QString &enabledExpr, bool singleFile);
private: private:
void initializePage() override; void initializePage() final;
bool isComplete() const override; bool isComplete() const final;
bool validatePage() override; bool validatePage() final;
QString tsBaseName() const { return m_fileNameLineEdit.text(); } QString tsBaseName() const { return m_fileNameLineEdit.text(); }
void updateLineEdit(); void updateLineEdit();
@@ -169,5 +167,3 @@ void setupTranslationWizardPage()
} }
} // QtSupport::Internal } // QtSupport::Internal
#include <translationwizardpage.moc>