void Ui_MainWindowBase::ConfigControlMenu(void) { int i; actionReset = new Action_Control(this); actionReset->setObjectName(QString::fromUtf8("actionReset")); connect(actionReset, SIGNAL(triggered()), this, SLOT(OnReset())); // OK? if(using_flags->is_use_special_reset()) { actionSpecial_Reset = new Action_Control(this); actionSpecial_Reset->setObjectName(QString::fromUtf8("actionSpecial_Reset")); connect(actionSpecial_Reset, SIGNAL(triggered()), this, SLOT(OnSpecialReset())); // OK? } actionExit_Emulator = new Action_Control(this); actionExit_Emulator->setObjectName(QString::fromUtf8("actionExit_Emulator")); //connect(actionExit_Emulator, SIGNAL(triggered()), // this, SLOT(on_actionExit_triggered())); // OnGuiExit()? if(using_flags->is_use_auto_key()) { actionPaste_from_Clipboard = new Action_Control(this); actionPaste_from_Clipboard->setObjectName(QString::fromUtf8("actionPaste_from_Clipboard")); connect(actionPaste_from_Clipboard, SIGNAL(triggered()), this, SLOT(OnStartAutoKey())); // OK? actionStop_Pasting = new Action_Control(this); actionStop_Pasting->setObjectName(QString::fromUtf8("actionStop_Pasting")); connect(actionStop_Pasting, SIGNAL(triggered()), this, SLOT(OnStopAutoKey())); // OK? } if(using_flags->is_use_state()) { actionSave_State = new Action_Control(this); actionSave_State->setObjectName(QString::fromUtf8("actionSave_State")); connect(actionSave_State, SIGNAL(triggered()), this, SLOT(OnSaveState())); // OK? actionLoad_State = new Action_Control(this); actionLoad_State->setObjectName(QString::fromUtf8("actionLoad_State")); connect(actionLoad_State, SIGNAL(triggered()), this, SLOT(OnLoadState())); // OK? } if(using_flags->is_use_debugger()) { for(i = 0; i < _MAX_DEBUGGER; i++) { QString tmps; tmps.setNum(i); actionDebugger[i] = new Action_Control(this); actionDebugger[i]->setObjectName(QString::fromUtf8("actionDebugger") + tmps); actionDebugger[i]->binds->setValue1(i); connect(actionDebugger[i], SIGNAL(triggered()), actionDebugger[i]->binds, SLOT(open_debugger())); // OK? connect(actionDebugger[i]->binds, SIGNAL(on_open_debugger(int)), this, SLOT(OnOpenDebugger(int))); // OK? } } ConfigCpuSpeed(); }
bool CBOINCBaseView::FireOnSaveState(wxConfigBase* pConfig) { return OnSaveState(pConfig); }