OSDN Git Service

[UI][Qt] (Maybe, maybe) Fix FTBFSs.
[csp-qt/common_source_project-fm7.git] / source / src / qt / machines / gamegear / MainWindow.cpp
1 /*
2  * Common Source code Project:
3  * Ui->Qt->MainWindow for PC Engine .
4  * (C) 2015 K.Ohta <whatisthis.sowhat _at_ gmail.com>
5  *   License : GPLv2
6  *   History :
7  * Jan 14, 2015 : Initial, many of constructors were moved to qt/gui/menu_main.cpp.
8  */
9
10 #include <QVariant>
11 #include <QtGui>
12 #include "commonclasses.h"
13 #include "menuclasses.h"
14 #include "emu.h"
15 #include "qt_main.h"
16
17 //QT_BEGIN_NAMESPACE
18         
19
20 void META_MainWindow::setupUI_Emu(void)
21 {
22 }
23
24 void META_MainWindow::retranslateUi(void)
25 {
26         Ui_MainWindowBase::retranslateUi();
27         retranslateControlMenu("",  false);
28    
29         this->setWindowTitle(QApplication::translate("MainWindow", "MainWindow", 0));
30 #ifdef USE_DEBUGGER
31         actionDebugger[0]->setVisible(true);
32         actionDebugger[1]->setVisible(false);
33         actionDebugger[2]->setVisible(false);
34         actionDebugger[3]->setVisible(false);
35 #endif
36 } // retranslateUi
37
38
39
40 META_MainWindow::META_MainWindow(USING_FLAGS *p, CSP_Logger *logger, QWidget *parent) : Ui_MainWindow(p, logger, parent)
41 {
42         setupUI_Emu();
43         retranslateUi();
44 }
45
46
47 META_MainWindow::~META_MainWindow()
48 {
49 }
50
51 //QT_END_NAMESPACE
52
53
54