"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/dvb/dvbchannel.cpp" between
kaffeine-2.0.16.tar.gz and kaffeine-2.0.17.tar.gz

About: Kaffeine is a full featured Multimedia-Player for KDE (default backend is xine).

dvbchannel.cpp  (kaffeine-2.0.16):dvbchannel.cpp  (kaffeine-2.0.17)
skipping to change at line 242 skipping to change at line 242
QMap<int, DvbSharedChannel> DvbChannelModel::getChannels() const QMap<int, DvbSharedChannel> DvbChannelModel::getChannels() const
{ {
return channelNumbers; return channelNumbers;
} }
DvbSharedChannel DvbChannelModel::findChannelByName(const QString &channelName) const DvbSharedChannel DvbChannelModel::findChannelByName(const QString &channelName) const
{ {
return channelNames.value(channelName); return channelNames.value(channelName);
} }
bool DvbChannelModel::hasChannelByName(const QString &channelName)
{
if (channelNames.contains(channelName))
return true;
return false;
}
DvbSharedChannel DvbChannelModel::findChannelByNumber(int channelNumber) const DvbSharedChannel DvbChannelModel::findChannelByNumber(int channelNumber) const
{ {
return channelNumbers.value(channelNumber); return channelNumbers.value(channelNumber);
} }
DvbSharedChannel DvbChannelModel::findChannelById(const DvbChannel &channel) con st DvbSharedChannel DvbChannelModel::findChannelById(const DvbChannel &channel) con st
{ {
return channelIds.value(DvbChannelId(&channel)); return channelIds.value(DvbChannelId(&channel));
} }
 End of changes. 1 change blocks. 
0 lines changed or deleted 7 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)