19 #ifndef APPLICATION_ARGUMENTS_H
20 #define APPLICATION_ARGUMENTS_H
26 class ApplicationArguments :
public QObject
29 Q_PROPERTY(QString deviceName READ deviceName CONSTANT)
30 Q_PROPERTY(QString mode READ mode CONSTANT)
32 ApplicationArguments(QObject *parent =
nullptr);
34 void setDeviceName(QString deviceName) { m_deviceName = deviceName; }
35 QString deviceName()
const {
return m_deviceName; }
37 void setMode(QString mode) { m_mode = mode; }
38 QString mode()
const {
return m_mode; }
45 #endif // APPLICATION_ARGUMENTS_H