mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-22 02:09:06 +00:00
DolphinQt2: Remove 'slots:' syntax from headers
With Qt5's new connection syntax, method pointers and functors are connected directly. There's no need to declare slots.
This commit is contained in:
parent
f0fd38698e
commit
aafb61c187
7 changed files with 18 additions and 26 deletions
|
@ -16,6 +16,15 @@ class MenuBar final : public QMenuBar
|
|||
public:
|
||||
explicit MenuBar(QWidget* parent = nullptr);
|
||||
|
||||
void EmulationStarted();
|
||||
void EmulationPaused();
|
||||
void EmulationStopped();
|
||||
void UpdateStateSlotMenu();
|
||||
void UpdateToolsMenu(bool emulation_started);
|
||||
|
||||
// Tools
|
||||
void InstallWAD();
|
||||
|
||||
signals:
|
||||
// File
|
||||
void Open();
|
||||
|
@ -57,16 +66,6 @@ signals:
|
|||
|
||||
void ShowAboutDialog();
|
||||
|
||||
public slots:
|
||||
void EmulationStarted();
|
||||
void EmulationPaused();
|
||||
void EmulationStopped();
|
||||
void UpdateStateSlotMenu();
|
||||
void UpdateToolsMenu(bool emulation_started);
|
||||
|
||||
// Tools
|
||||
void InstallWAD();
|
||||
|
||||
private:
|
||||
void AddFileMenu();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue