Choice model settings was added
This commit is contained in:
@@ -18,8 +18,18 @@ public:
|
||||
return &i;
|
||||
}
|
||||
|
||||
void sendCommand(const QString &entity, const QString &action, const QVariantMap &data = QVariantMap());
|
||||
enum Action
|
||||
{
|
||||
ActionUndefined = 0,
|
||||
ActionGet,
|
||||
ActionAdd,
|
||||
ActionDelete,
|
||||
ActionModify
|
||||
};
|
||||
|
||||
void sendCommand(const QString &entity, Action action, const QVariantMap &data = QVariantMap());
|
||||
void connectListener(QObject *listener);
|
||||
void removeListener(QObject *listener);
|
||||
|
||||
signals:
|
||||
void connectedChanged();
|
||||
@@ -42,6 +52,7 @@ private:
|
||||
|
||||
QWebSocket m_socket;
|
||||
QVariantList m_commandStash;
|
||||
QMap<Action, QString> m_actions;
|
||||
};
|
||||
|
||||
#endif // BEERSERVICE_H
|
||||
|
||||
Reference in New Issue
Block a user