Began refactoring settings handling.
[vlc-remote] / aboutdialog.cpp
1 /*   VLC-REMOTE for MAEMO 5
2 *   Copyright (C) 2010 Schutz Sacha <istdasklar@gmail.com>, Dru Moore <usr@dru-id.co.uk>, Yann Nave <yannux@onbebop.net>
3 *   This program is free software; you can redistribute it and/or modify
4 *   it under the terms of the GNU General Public License version 2,
5 *   or (at your option) any later version, as published by the Free
6 *   Software Foundation
7 *
8 *   This program is distributed in the hope that it will be useful,
9 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
10 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11 *   GNU General Public License for more details
12 *
13 *   You should have received a copy of the GNU General Public
14 *   License along with this program; if not, write to the
15 *   Free Software Foundation, Inc.,
16 *   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
17 */
18 #include "aboutdialog.h"
19 #include "ui_aboutdialog.h"
20
21 AboutDialog::AboutDialog(QWidget *parent) :
22     QDialog(parent),
23     ui(new Ui::AboutDialog)
24 {
25     ui->setupUi(this);
26 }
27
28 AboutDialog::~AboutDialog()
29 {
30     delete ui;
31 }
32
33 void AboutDialog::changeEvent(QEvent *e)
34 {
35     QDialog::changeEvent(e);
36     switch (e->type()) {
37     case QEvent::LanguageChange:
38         ui->retranslateUi(this);
39         break;
40     default:
41         break;
42     }
43 }