23 lines
253 B
C++
Raw Normal View History

2018-01-26 17:06:56 +01:00
#ifndef OBJECT_HPP
#define OBJECT_HPP
#include <QObject>
class Object : public QObject
{
Q_OBJECT
2018-04-23 21:13:27 +02:00
Q_PROPERTY(int test READ getTest)
2018-01-26 17:06:56 +01:00
public:
Object();
2018-04-23 21:13:27 +02:00
int getTest() { return _test; }
2018-01-26 17:06:56 +01:00
Q_SLOT
void aSlot();
2018-04-23 21:13:27 +02:00
private:
int _test;
2018-01-26 17:06:56 +01:00
};
#endif