53 Q_PROPERTY(
KDSME::State *state READ state WRITE setState NOTIFY stateChanged)
58 ObjectRole = Qt::UserRole + 1,
73 void setState(
State *state);
75 int rowCount(
const QModelIndex &parent = QModelIndex())
const override;
76 int columnCount(
const QModelIndex &parent)
const override;
77 QVariant data(
const QModelIndex &index,
int role = Qt::DisplayRole)
const override;
78 QVariant headerData(
int section, Qt::Orientation orientation,
int role = Qt::DisplayRole)
const override;
79 QHash<int, QByteArray> roleNames()
const override;
86 QScopedPointer<Private> d;