Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

setRoleNames in Qt 5.0.1

$
0
0
I try to use some code… ListModel::ListModel(ListItem* prototype, QObject *parent) :     QAbstractListModel(parent), m_prototype(prototype) {   setRoleNames(m_prototype->roleNames()); } but QAbstractListModel don’t contains function setRoleNames in Qt 5.0.1 libraryes, why and how to fix. I need to use some model from c++ and show it in QML [Please wrap code in @ tags — mlong]

Viewing all articles
Browse latest Browse all 18427

Trending Articles