#include "accountdialog.h" #include "ui_accountdialog.h" AccountDialog::AccountDialog(QWidget *parent) : QDialog(parent), ui(new Ui::AccountDialog) { ui->setupUi(this); } AccountDialog::~AccountDialog() { delete ui; } void AccountDialog::writeConfig() { } void AccountDialog::changeEvent(QEvent *e) { QDialog::changeEvent(e); switch (e->type()) { case QEvent::LanguageChange: ui->retranslateUi(this); break; default: break; } }