[QT] / qtgvoicemail / mainwindow.cpp Repository:
ViewVC logotype

Annotation of /qtgvoicemail/mainwindow.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2 - (view) (download) (as text)

1 : ian 2 #include "mainwindow.h"
2 :     #include "ui_mainwindow.h"
3 :    
4 :     MainWindow::MainWindow(QWidget *parent) :
5 :     QMainWindow(parent),
6 :     ui(new Ui::MainWindow)
7 :     {
8 :     ui->setupUi(this);
9 :     }
10 :    
11 :     MainWindow::~MainWindow()
12 :     {
13 :     delete ui;
14 :     }
15 :    
16 :     void MainWindow::changeEvent(QEvent *e)
17 :     {
18 :     QMainWindow::changeEvent(e);
19 :     switch (e->type()) {
20 :     case QEvent::LanguageChange:
21 :     ui->retranslateUi(this);
22 :     break;
23 :     default:
24 :     break;
25 :     }
26 :     }

Contact
ViewVC Help
Powered by ViewVC 1.0.4