mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06: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:
@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user