The index returns a pointer to the model. Your cast is incorrect, should be:
Qt Code:
SchulungsplanModel* model = qobject_cast<SchulingspanModel*>(index.model());To copy to clipboard, switch view to plain text mode
The index returns a pointer to the model. Your cast is incorrect, should be:
Qt Code:
SchulungsplanModel* model = qobject_cast<SchulingspanModel*>(index.model());To copy to clipboard, switch view to plain text mode
bunjee (22nd April 2008), starcontrol (11th April 2008)
Bookmarks