I have a function which is declared as:
bool getIndex(const QString itemUid, QModelIndex& index /*out*/);
how do I declare an object to pass in as index?
I have tried:
QModelIndex *modelIndex;
getIndex(auid, modelIndex );
with and without the "*", but I get compile errors.
The compilation error is:
no matching function for call to TreeModel::getIndex(QString, QModelIndex*&)