kDB: Knowledge DataBase
Loading...
Searching...
No Matches
knowl
bindings
quick
knowBook
State.h
1
#pragma once
2
3
#include <QQmlPropertyMap>
4
5
namespace
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
knowBookQuick::State
Definition
State.h:8
knowBookQuick::State::Private
Definition
State.cpp:8
Generated by
1.12.0