rust-qt-binding-generator/tests/test_object_rust.h

25 lines
586 B
C
Raw Normal View History

2017-08-11 08:24:24 -07:00
/* generated by rust_qt_binding_generator */
#ifndef TEST_OBJECT_RUST_H
#define TEST_OBJECT_RUST_H
#include <QObject>
#include <QAbstractItemModel>
class PersonInterface;
class Person : public QObject
{
Q_OBJECT
PersonInterface * const d;
Q_PROPERTY(QString userName READ userName WRITE setUserName NOTIFY userNameChanged FINAL)
public:
explicit Person(QObject *parent = nullptr);
~Person();
QString userName() const;
void setUserName(const QString& v);
signals:
void userNameChanged();
private:
QString m_userName;
};
#endif // TEST_OBJECT_RUST_H