knowL: Knowledge Libraries
Loading...
Searching...
No Matches
State.h
1#pragma once
2
3#include <QQmlPropertyMap>
4
5namespace knowBookQuick
6{
7 class State : public QQmlPropertyMap
8 {
9 Q_OBJECT
10 public:
11 State(QObject* _parent = nullptr);
12 virtual ~State();
13 Q_INVOKABLE bool has(const QString& _key) const;
14 Q_INVOKABLE void set(const QString& _key, const QVariant& _value);
15 Q_INVOKABLE QVariant get(const QString& _key);
16 signals:
17 void stateChanged();
18 private:
19 struct Private;
20 Private* const d;
21 };
22} // namespace knowBookQuick
Definition State.h:8
Definition State.cpp:8