blob: cab792edc2f8aff3ae4f193ce02be874eecad43c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#ifndef GADGET_HPP
#define GADGET_HPP
#include <QMetaType>
class Gadget
{
Q_GADGET
Q_PROPERTY(int test READ getTest)
public:
Gadget();
int getTest() { return _test; }
private:
int _test;
};
#endif
|