#include "aboutbox.h"
#include "k9common.h"
#include "ui_aboutbox.h"
#include "config.h"


AboutBox::AboutBox(QWidget *parent) :
    QDialog(parent),
    m_ui(new Ui::AboutBox)
{
    m_ui->setupUi(this);
    m_ui->lVersion->setText(QString(m_ui->lVersion->text()).arg(VERSION));
}

AboutBox::~AboutBox()
{
    delete m_ui;
}

void AboutBox::changeEvent(QEvent *e)
{
    switch (e->type()) {
    case QEvent::LanguageChange:
        m_ui->retranslateUi(this);
        break;
    default:
        break;
    }
}
