qtinternetradio/ui/src/irfavoritesmodel.cpp
changeset 8 3b03c28289e6
parent 5 0930554dc389
child 17 38bbf2dcd608
equal deleted inserted replaced
5:0930554dc389 8:3b03c28289e6
   303     }
   303     }
   304 
   304 
   305     return retVal;    
   305     return retVal;    
   306 }
   306 }
   307 
   307 
       
   308 void IRFavoritesModel::updateFavoriteName(int aIndex, const QString &aNewName)
       
   309 {
       
   310     if (aIndex >= 0 && aIndex < iPresetsList->count())
       
   311     {
       
   312         iPresetsList->at(aIndex)->name = aNewName;
       
   313         emit dataChanged(index(aIndex), index(aIndex));
       
   314     }
       
   315 }