You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
212 B
20 lines
212 B
7 years ago
|
#ifndef GADGET_HPP
|
||
|
#define GADGET_HPP
|
||
|
|
||
|
#include <QMetaType>
|
||
|
|
||
|
class Gadget
|
||
|
{
|
||
|
Q_GADGET
|
||
7 years ago
|
Q_PROPERTY(int test READ getTest)
|
||
7 years ago
|
public:
|
||
|
Gadget();
|
||
7 years ago
|
|
||
|
int getTest() { return _test; }
|
||
|
|
||
|
private:
|
||
|
int _test;
|
||
7 years ago
|
};
|
||
|
|
||
|
#endif
|