void ChromeWidget::onAspectChanged(int aspect) { QString mode = (aspect == landscape ? "Landscape" : "Portrait"); ControllableViewBase* cview = m_viewController->currentView(); if (cview) cview->displayModeChanged(mode); emit aspectChanged(aspect); }
void IniReader::setAspect(const QString &s){settings.insert("aspect",s);emit aspectChanged();}
void IniReader::finished() { settings=watcher->result(); emit readConfigChanged(); emit writeConfigChanged(); emit romPathChanged(); emit hashPathChanged(); emit samplePathChanged(); emit artPathChanged(); emit ctrlrPathChanged(); emit iniPathChanged(); emit fontPathChanged(); emit cheatPathChanged(); emit crosshairPathChanged(); emit cfgDirChanged(); emit nvramDirChanged(); emit inputDirChanged(); emit stateDirChanged(); emit snapshotDirChanged(); emit diffDirChanged(); emit commentDirChanged(); emit stateChanged(); emit autoSaveChanged(); emit playbackChanged(); emit recordChanged(); emit mngWriteChanged(); emit aviWriteChanged(); emit wavWriteChanged(); emit snapNameChanged(); emit snapSizeChanged(); emit snapViewChanged(); emit snapBilinearChanged(); emit stateNameChanged(); emit burninChanged(); emit autoFrameSkipChanged(); emit frameSkipChanged(); emit secondsToRunChanged(); emit throttleChanged(); emit sleepChanged(); emit speedChanged(); emit refreshSpeedChanged(); emit rotateChanged(); emit rorChanged(); emit rolChanged(); emit autoRorChanged(); emit autoRolChanged(); emit flipXChanged(); emit flipYChanged(); emit artworkCropChanged(); emit useBackdropsChanged(); emit useOverlaysChanged(); emit useBezelsChanged(); emit useCPanelsChanged(); emit useMarqueesChanged(); emit brightnessChanged(); emit contrastChanged(); emit gammaChanged(); emit effectChanged(); emit beamChanged(); emit flickerChanged(); emit sampleRateChanged(); emit samplesChanged(); emit volumeChanged(); emit coinLockoutChanged(); emit ctrlrChanged(); emit mouseChanged(); emit joystickChanged(); emit lightgunChanged(); emit multiKeyboardChanged(); emit multiMouseChanged(); emit steadyKeyChanged(); emit uiActiveChanged(); emit offScreenReloadChanged(); emit joystickMapChanged(); emit joystickDeadzoneChanged(); emit joystickSaturationChanged(); emit naturalChanged(); emit joystickContradictoryChanged(); emit coinImpulseChanged(); emit paddleDeviceChanged(); emit adstickDeviceChanged(); emit pedalDeviceChanged(); emit dialDeviceChanged(); emit trackballDeviceChanged(); emit lightgunDeviceChanged(); emit positionalDeviceChanged(); emit mouseDeviceChanged(); emit verboseChanged(); emit logChanged(); emit osLogChanged(); emit debugChanged(); emit updateInPauseChanged(); emit debugScriptChanged(); emit sdlVideoFPSChanged(); emit commLocalHostChanged(); emit commLocalPortChanged(); emit commRemoteHostChanged(); emit commRemotePortChanged(); emit antiAliasChanged(); emit drcChanged(); emit drcUseCChanged(); emit drcLogUMLChanged(); emit drcLogNativeChanged(); emit biosChanged(); emit cheatChanged(); emit skipGameInfoChanged(); emit uiFontChanged(); emit ramSizeChanged(); emit confirmQuitChanged(); emit uiMouseChanged(); emit autoBootCommandChanged(); emit autoBootDelayChanged(); emit autoBootScriptChanged(); emit httpChanged(); emit httpPortChanged(); emit httpPathChanged(); emit consoleChanged(); emit multiThreadingChanged(); emit numProcessorsChanged(); emit videoChanged(); emit numScreensChanged(); emit windowChanged(); emit maximizeChanged(); emit keepAspectChanged(); emit unevenStretchChanged(); emit waitVSyncChanged(); emit syncRefreshChanged(); emit screenChanged(); emit aspectChanged(); emit resolutionChanged(); emit viewChanged(); emit switchResChanged(); emit filterChanged(); emit prescaleChanged(); emit glForcePow2TextureChanged(); emit glNoTextureRectChanged(); emit glVboChanged(); emit glPboChanged(); emit glGlslChanged(); emit glGlslFilterChanged(); emit soundChanged(); emit audioLatencyChanged(); emit centerHChanged(); emit centerVChanged(); emit scaleModeChanged(); emit useAllHeadsChanged(); emit keymapChanged(); emit keymapFileChanged(); emit sixAxisChanged(); emit videoDriverChanged(); emit renderDriverChanged(); emit audioDriverChanged(); emit glLibChanged(); }