#include <stationlist.h>
Collaboration diagram for StationList:
Public Member Functions | |
StationList () | |
StationList (const StationList &sl) | |
~StationList () | |
int | count () const |
const RadioStation & | at (int idx) const |
RadioStation & | at (int idx) |
const RadioStation & | stationWithID (const QString &sid) const |
RadioStation & | stationWithID (const QString &sid) |
RawStationList & | all () |
RawStationList const & | all () const |
StationListMetaData & | metaData () |
StationListMetaData const & | metaData () const |
void | merge (const StationList &other) |
merges the other list into this one. | |
StationList & | operator= (const StationList &sl) |
bool | readXML (const QString &dat, const IErrorLogClient &logger, bool enableMessageBox=true) |
bool | readXML (const KURL &url, const IErrorLogClient &logger, bool enableMessageBox=true) |
QString | writeXML (const IErrorLogClient &logger) const |
bool | writeXML (const KURL &url, const IErrorLogClient &logger, bool enableMessageBox=true) const |
bool | operator== (const StationList &x) const |
bool | operator!= (const StationList &x) const |
Protected Attributes | |
RawStationList | m_all |
StationListMetaData | m_metaData |
Definition at line 103 of file stationlist.h.
StationList::StationList | ( | ) |
StationList::StationList | ( | const StationList & | sl | ) |
StationList::~StationList | ( | ) |
RawStationList const& StationList::all | ( | ) | const [inline] |
RawStationList& StationList::all | ( | ) | [inline] |
RadioStation& StationList::at | ( | int | idx | ) |
const RadioStation& StationList::at | ( | int | idx | ) | const |
int StationList::count | ( | ) | const [inline] |
void StationList::merge | ( | const StationList & | other | ) |
merges the other list into this one.
creates copies from the stations.
StationListMetaData const& StationList::metaData | ( | ) | const [inline] |
StationListMetaData& StationList::metaData | ( | ) | [inline] |
bool StationList::operator!= | ( | const StationList & | x | ) | const [inline] |
StationList& StationList::operator= | ( | const StationList & | sl | ) |
bool StationList::operator== | ( | const StationList & | x | ) | const [inline] |
Definition at line 148 of file stationlist.h.
References m_all, and m_metaData.
Referenced by operator!=().
bool StationList::readXML | ( | const KURL & | url, | |
const IErrorLogClient & | logger, | |||
bool | enableMessageBox = true | |||
) |
bool StationList::readXML | ( | const QString & | dat, | |
const IErrorLogClient & | logger, | |||
bool | enableMessageBox = true | |||
) |
RadioStation& StationList::stationWithID | ( | const QString & | sid | ) |
const RadioStation& StationList::stationWithID | ( | const QString & | sid | ) | const |
bool StationList::writeXML | ( | const KURL & | url, | |
const IErrorLogClient & | logger, | |||
bool | enableMessageBox = true | |||
) | const |
QString StationList::writeXML | ( | const IErrorLogClient & | logger | ) | const |
RawStationList StationList::m_all [protected] |
StationListMetaData StationList::m_metaData [protected] |