forked from qt-creator/qt-creator
QtSupport: Clean up TranslationWizardPage a bit
Change-Id: I70426403d5937ff00b4587e4999f4f0ab092d2e4 Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
@@ -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>
|
|
||||||
|
Reference in New Issue
Block a user