there is a member function that set it.And i pass it after creating the object.The rowid int works i test it with QMessage, it display exactly what i select.