[gens-qt4] Added "typedef BaseClass super;" to all derived classes.
authorDavid Korth <gerbilsoft@gerbilsoft.com>
Sat, 5 Sep 2015 15:24:50 +0000 (11:24 -0400)
committerDavid Korth <gerbilsoft@gerbilsoft.com>
Sat, 5 Sep 2015 15:24:50 +0000 (11:24 -0400)
commit24054d539e6ed8c775c28f7c26d648ea1bfd958d
treebb571739ddbe8812a6d155eff1b3b4539d5b3276
parentd21b4120d6296aff4980e32d0cd423dd207ed1c5
[gens-qt4] Added "typedef BaseClass super;" to all derived classes.

This makes it easier to access functions in the direct superclass.

Other changes:
- Added Q_DISABLE_COPY() where appropriate.
- Removed extraneous semicolons from Q_DISABLE_COPY().
  - Also Q_DECLARE_PRIVATE() and Q_DECLARE_PUBLIC().
- GensWindow: Added 'parent' and 'flags' parameters to the constructor.
  - TODO: Set flags to a preset value, like other windows?
- EmuThread:
  - Added a parent parameter to the constructor.
  - Moved isStopRequested() out of the class declaration.
    - Similar to IdleThread.
93 files changed:
src/gens-qt4/Audio/GensPortAudio.hpp
src/gens-qt4/Config/ConfigStore.cpp
src/gens-qt4/Config/ConfigStore.hpp
src/gens-qt4/Config/CtrlConfig.cpp
src/gens-qt4/Config/CtrlConfig.hpp
src/gens-qt4/Config/PathConfig.cpp
src/gens-qt4/Config/PathConfig.hpp
src/gens-qt4/Config/RecentRoms.cpp
src/gens-qt4/Config/RecentRoms.hpp
src/gens-qt4/ConfigHandler.cpp
src/gens-qt4/ConfigHandler.hpp
src/gens-qt4/EmuManager.cpp
src/gens-qt4/EmuManager.hpp
src/gens-qt4/EmuManager_str.cpp
src/gens-qt4/EmuThread.cpp
src/gens-qt4/EmuThread.hpp
src/gens-qt4/GensQApplication.cpp
src/gens-qt4/GensQApplication.hpp
src/gens-qt4/GensQApplication_win32.cpp
src/gens-qt4/IdleThread.cpp
src/gens-qt4/IdleThread.hpp
src/gens-qt4/Input/KeyHandlerQt.cpp
src/gens-qt4/Input/KeyHandlerQt.hpp
src/gens-qt4/RomDB/McdRomDB.cpp
src/gens-qt4/RomDB/McdRomDB.hpp
src/gens-qt4/SigHandler.hpp
src/gens-qt4/VBackend/FpsManager.cpp
src/gens-qt4/VBackend/FpsManager.hpp
src/gens-qt4/VBackend/GLBackend.cpp
src/gens-qt4/VBackend/GLBackend.hpp
src/gens-qt4/VBackend/GLShader.cpp
src/gens-qt4/VBackend/GLShader.hpp
src/gens-qt4/VBackend/GLShaderFastBlur.cpp
src/gens-qt4/VBackend/GLShaderFastBlur.hpp
src/gens-qt4/VBackend/GLShaderManager.cpp
src/gens-qt4/VBackend/GLShaderManager.hpp
src/gens-qt4/VBackend/GLShaderPaused.cpp
src/gens-qt4/VBackend/GLShaderPaused.hpp
src/gens-qt4/VBackend/GLTex2D.cpp
src/gens-qt4/VBackend/GLTex2D.hpp
src/gens-qt4/VBackend/GensQGLWidget.hpp
src/gens-qt4/VBackend/GensQGLWidget_p.hpp
src/gens-qt4/VBackend/VBackend.cpp
src/gens-qt4/VBackend/VBackend.hpp
src/gens-qt4/cdrom/FindCdromBase.cpp
src/gens-qt4/cdrom/FindCdromBase.hpp
src/gens-qt4/cdrom/FindCdromDrives.cpp
src/gens-qt4/cdrom/FindCdromDrives.hpp
src/gens-qt4/cdrom/FindCdromUDisks.cpp
src/gens-qt4/cdrom/FindCdromUDisks.hpp
src/gens-qt4/cdrom/FindCdromUDisks2.cpp
src/gens-qt4/cdrom/FindCdromUDisks2.hpp
src/gens-qt4/cdrom/FindCdromUnix.cpp
src/gens-qt4/cdrom/FindCdromUnix.hpp
src/gens-qt4/cdrom/FindCdromWin32.cpp
src/gens-qt4/cdrom/FindCdromWin32.hpp
src/gens-qt4/widgets/GensColorButton.cpp
src/gens-qt4/widgets/GensColorButton.hpp
src/gens-qt4/widgets/GensColorComboBox.cpp
src/gens-qt4/widgets/GensColorComboBox.hpp
src/gens-qt4/widgets/GensCtrlCfgWidget.cpp
src/gens-qt4/widgets/GensCtrlCfgWidget.hpp
src/gens-qt4/widgets/GensCtrlKeyWidget.cpp
src/gens-qt4/widgets/GensCtrlKeyWidget.hpp
src/gens-qt4/widgets/GensCtrlKeyWidget_p.hpp
src/gens-qt4/widgets/GensKeySequenceWidget.cpp
src/gens-qt4/widgets/GensKeySequenceWidget.hpp
src/gens-qt4/widgets/GensKeySequenceWidget_p.hpp
src/gens-qt4/widgets/GensLineEdit.cpp
src/gens-qt4/widgets/GensLineEdit.hpp
src/gens-qt4/widgets/GensZipDirItem.cpp
src/gens-qt4/widgets/GensZipDirItem.hpp
src/gens-qt4/widgets/GensZipDirModel.cpp
src/gens-qt4/widgets/GensZipDirModel.hpp
src/gens-qt4/widgets/RecentRomsMenu.cpp
src/gens-qt4/widgets/RecentRomsMenu.hpp
src/gens-qt4/windows/AboutDialog.cpp
src/gens-qt4/windows/AboutDialog.hpp
src/gens-qt4/windows/CtrlConfigWindow.cpp
src/gens-qt4/windows/CtrlConfigWindow.hpp
src/gens-qt4/windows/GeneralConfigWindow.cpp
src/gens-qt4/windows/GeneralConfigWindow.hpp
src/gens-qt4/windows/GeneralConfigWindow_p.hpp
src/gens-qt4/windows/GeneralConfigWindow_slots.cpp
src/gens-qt4/windows/GensMenuShortcuts.cpp
src/gens-qt4/windows/GensMenuShortcuts.hpp
src/gens-qt4/windows/GensMenuShortcuts_p.hpp
src/gens-qt4/windows/GensWindow.cpp
src/gens-qt4/windows/GensWindow.hpp
src/gens-qt4/windows/McdControlWindow.cpp
src/gens-qt4/windows/McdControlWindow.hpp
src/gens-qt4/windows/ZipSelectDialog.cpp
src/gens-qt4/windows/ZipSelectDialog.hpp