Changeset View
Changeset View
Standalone View
Standalone View
tests/test_list_types_rust.h
Show First 20 Lines • Show All 64 Lines • ▼ Show 20 Line(s) | 19 | public: | |||
---|---|---|---|---|---|
65 | Q_INVOKABLE bool setU16(int row, quint16 value); | 65 | Q_INVOKABLE bool setU16(int row, quint16 value); | ||
66 | Q_INVOKABLE quint32 u32(int row) const; | 66 | Q_INVOKABLE quint32 u32(int row) const; | ||
67 | Q_INVOKABLE bool setU32(int row, quint32 value); | 67 | Q_INVOKABLE bool setU32(int row, quint32 value); | ||
68 | Q_INVOKABLE quint64 u64(int row) const; | 68 | Q_INVOKABLE quint64 u64(int row) const; | ||
69 | Q_INVOKABLE bool setU64(int row, quint64 value); | 69 | Q_INVOKABLE bool setU64(int row, quint64 value); | ||
70 | Q_INVOKABLE quint8 u8(int row) const; | 70 | Q_INVOKABLE quint8 u8(int row) const; | ||
71 | Q_INVOKABLE bool setU8(int row, quint8 value); | 71 | Q_INVOKABLE bool setU8(int row, quint8 value); | ||
72 | 72 | | |||
73 | signals: | 73 | Q_SIGNALS: | ||
74 | // new data is ready to be made available to the model with fetchMore() | 74 | // new data is ready to be made available to the model with fetchMore() | ||
75 | void newDataReady(const QModelIndex &parent) const; | 75 | void newDataReady(const QModelIndex &parent) const; | ||
76 | private: | 76 | private: | ||
77 | QHash<QPair<int,Qt::ItemDataRole>, QVariant> m_headerData; | 77 | QHash<QPair<int,Qt::ItemDataRole>, QVariant> m_headerData; | ||
78 | void initHeaderData(); | 78 | void initHeaderData(); | ||
79 | void updatePersistentIndexes(); | 79 | void updatePersistentIndexes(); | ||
80 | signals: | 80 | Q_SIGNALS: | ||
81 | }; | 81 | }; | ||
82 | #endif // TEST_LIST_TYPES_RUST_H | 82 | #endif // TEST_LIST_TYPES_RUST_H |