File: qhimdaboutdialog.cpp

package info (click to toggle)
linux-minidisc 0.9.13-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,096 kB
  • ctags: 1,530
  • sloc: ansic: 6,345; cpp: 2,569; python: 2,451; perl: 866; sh: 22; makefile: 8
file content (27 lines) | stat: -rw-r--r-- 538 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#include "qhimdaboutdialog.h"
#include "ui_qhimdaboutdialog.h"

QHiMDAboutDialog::QHiMDAboutDialog(QWidget *parent) :
    QDialog(parent),
    m_ui(new Ui::QHiMDAboutDialog)
{
    m_ui->setupUi(this);
    m_ui->VersionString->setText(VER);
    m_ui->BuildDateString->setText(BDATE);
}

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

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