chore: reformat

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu
2023-08-02 18:35:35 +02:00
parent ce2ca13815
commit 1d468ac35a
594 changed files with 16040 additions and 16536 deletions

View File

@ -1,31 +1,21 @@
#pragma once
#include <QWizardPage>
#include <QEvent>
#include <QWizardPage>
class BaseWizardPage : public QWizardPage
{
public:
explicit BaseWizardPage(QWidget *parent = Q_NULLPTR)
: QWizardPage(parent)
{
}
virtual ~BaseWizardPage() {};
class BaseWizardPage : public QWizardPage {
public:
explicit BaseWizardPage(QWidget* parent = Q_NULLPTR) : QWizardPage(parent) {}
virtual ~BaseWizardPage(){};
virtual bool wantsRefreshButton()
{
return false;
}
virtual void refresh()
{
}
virtual bool wantsRefreshButton() { return false; }
virtual void refresh() {}
protected:
protected:
virtual void retranslate() = 0;
void changeEvent(QEvent * event) override
void changeEvent(QEvent* event) override
{
if (event->type() == QEvent::LanguageChange)
{
if (event->type() == QEvent::LanguageChange) {
retranslate();
}
QWizardPage::changeEvent(event);