File indexing completed on 2024-04-14 05:38:00

0001 /* generated by rust_qt_binding_generator */
0002 #ifndef TEST_OBJECT_RUST_H
0003 #define TEST_OBJECT_RUST_H
0004 
0005 #include <QtCore/QObject>
0006 #include <QtCore/QAbstractItemModel>
0007 
0008 class Person;
0009 
0010 class Person : public QObject
0011 {
0012     Q_OBJECT
0013 public:
0014     class Private;
0015 private:
0016     Private * m_d;
0017     bool m_ownsPrivate;
0018     Q_PROPERTY(QString userName READ userName WRITE setUserName NOTIFY userNameChanged FINAL)
0019     explicit Person(bool owned, QObject *parent);
0020 public:
0021     explicit Person(QObject *parent = nullptr);
0022     ~Person();
0023     QString userName() const;
0024     void setUserName(const QString& v);
0025 Q_SIGNALS:
0026     void userNameChanged();
0027 };
0028 #endif // TEST_OBJECT_RUST_H