Changeset View
Changeset View
Standalone View
Standalone View
src/jogshuttle/jogaction.h
Show All 22 Lines | |||||
23 | #include "jogshuttle.h" | 23 | #include "jogshuttle.h" | ||
24 | #include <QObject> | 24 | #include <QObject> | ||
25 | #include <QStringList> | 25 | #include <QStringList> | ||
26 | 26 | | |||
27 | class JogShuttleAction: public QObject | 27 | class JogShuttleAction: public QObject | ||
28 | { | 28 | { | ||
29 | Q_OBJECT public: | 29 | Q_OBJECT public: | ||
30 | explicit JogShuttleAction(const JogShuttle *jogShuttle, const QStringList &actionMap, QObject *parent = nullptr); | 30 | explicit JogShuttleAction(const JogShuttle *jogShuttle, const QStringList &actionMap, QObject *parent = nullptr); | ||
31 | ~JogShuttleAction(); | 31 | ~JogShuttleAction() override; | ||
32 | 32 | | |||
33 | private: | 33 | private: | ||
34 | const JogShuttle *m_jogShuttle; | 34 | const JogShuttle *m_jogShuttle; | ||
35 | // this is indexed by button ID, having QString() for any non-used ones. | 35 | // this is indexed by button ID, having QString() for any non-used ones. | ||
36 | QStringList m_actionMap; | 36 | QStringList m_actionMap; | ||
37 | 37 | | |||
38 | public slots: | 38 | public slots: | ||
39 | void slotShuttlePos(int); | 39 | void slotShuttlePos(int); | ||
Show All 9 Lines |