mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 10:09:36 -06:00
Qt: use Settings::EmulationStateChanged
This commit is contained in:
@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user