I solved it in my own way.
@void Logs::BlinkTextRows()
{
int row_count = model->rowCount();
int col_count = model->columnCount();
QModelIndex index;
for( int i = 0; i < row_count; i++ )
{
if (model->item(i,3)->data(Qt::DisplayRole).toString().compare("yes",Qt::CaseInsensitive) == 0)
{
if (model->item(i,4)->data(Qt::CheckStateRole) == Qt::Unchecked)
{
for (int j = 0;j < col_count;j++)
{
index = model->indexFromItem(model->item(i,j));
if (hidden)
model->setData(index, myblink, Qt::ForegroundRole);
else
model->setData(index, myblink, Qt::ForegroundRole);
}//for
} //if model..
} //if compare
}//For i
if (hidden)
hidden = false;
else
hidden = true;
}@
It wasn't so hard in the end