mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-10-02 22:28:54 +00:00
Qt: use Settings::EmulationStateChanged
This commit is contained in:
parent
8e805dcbf4
commit
3e1072b24d
22 changed files with 97 additions and 160 deletions
|
@ -8,6 +8,11 @@
|
|||
#include <QLineEdit>
|
||||
#include <QToolBar>
|
||||
|
||||
namespace Core
|
||||
{
|
||||
enum class State;
|
||||
}
|
||||
|
||||
class ToolBar final : public QToolBar
|
||||
{
|
||||
Q_OBJECT
|
||||
|
@ -15,11 +20,6 @@ class ToolBar final : public QToolBar
|
|||
public:
|
||||
explicit ToolBar(QWidget* parent = nullptr);
|
||||
|
||||
public slots:
|
||||
void EmulationStarted();
|
||||
void EmulationPaused();
|
||||
void EmulationStopped();
|
||||
|
||||
signals:
|
||||
void OpenPressed();
|
||||
void PlayPressed();
|
||||
|
@ -33,6 +33,8 @@ signals:
|
|||
void GraphicsPressed();
|
||||
|
||||
private:
|
||||
void OnEmulationStateChanged(Core::State state);
|
||||
|
||||
void MakeActions();
|
||||
void UpdateIcons();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue