Contains a list of stations, including meta data. More...
#include <stationlist.h>

Public Types | |
| typedef QList< RadioStation * > ::iterator | iterator |
| typedef QList< RadioStation * > ::const_iterator | const_iterator |
Public Member Functions | |
| StationList () | |
| StationList (const StationList &sl) | |
| ~StationList () | |
| int | count () const |
| const RadioStation & | at (int idx) const |
| RadioStation & | at (int idx) |
| void | moveStation (int old_idx, int new_idx) |
| const RadioStation & | stationWithID (const QString &sid) const |
| RadioStation & | stationWithID (const QString &sid) |
| int | idxWithID (const QString &sid) const |
| StationListMetaData & | metaData () |
| StationListMetaData const & | metaData () const |
| void | merge (const StationList &other) |
| merges the other list into this one. | |
| StationList & | operator= (const StationList &sl) |
| StationList & | clearStations () |
| StationList & | setStations (const StationList &x) |
| StationList & | addStations (const StationList &x) |
| StationList & | addStation (const RadioStation &x) |
| StationList & | removeStationAt (int idx) |
| bool | readXML (const QXmlInputSource &xmlInp, 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 |
| iterator | begin () |
| const_iterator | begin () const |
| iterator | end () |
| const_iterator | end () const |
Protected Attributes | |
| QList< RadioStation * > | m_stations |
| StationListMetaData | m_metaData |
Contains a list of stations, including meta data.
Definition at line 110 of file stationlist.h.
| typedef QList<RadioStation*>::const_iterator StationList::const_iterator |
Definition at line 173 of file stationlist.h.
| typedef QList<RadioStation*>::iterator StationList::iterator |
Definition at line 172 of file stationlist.h.
| StationList::StationList | ( | ) |
| StationList::StationList | ( | const StationList & | sl | ) |
| StationList::~StationList | ( | ) |
| StationList& StationList::addStation | ( | const RadioStation & | x | ) |
| StationList& StationList::addStations | ( | const StationList & | x | ) |
| const RadioStation& StationList::at | ( | int | idx | ) | const |
| RadioStation& StationList::at | ( | int | idx | ) |
|
inline |
Definition at line 175 of file stationlist.h.
|
inline |
Definition at line 176 of file stationlist.h.
| StationList& StationList::clearStations | ( | ) |
|
inline |
Definition at line 118 of file stationlist.h.
|
inline |
Definition at line 178 of file stationlist.h.
|
inline |
Definition at line 179 of file stationlist.h.
| int StationList::idxWithID | ( | const QString & | sid | ) | const |
| void StationList::merge | ( | const StationList & | other | ) |
merges the other list into this one.
creates copies from the stations.
|
inline |
Definition at line 133 of file stationlist.h.
|
inline |
Definition at line 134 of file stationlist.h.
| void StationList::moveStation | ( | int | old_idx, |
| int | new_idx | ||
| ) |
|
inline |
Definition at line 167 of file stationlist.h.
| StationList& StationList::operator= | ( | const StationList & | sl | ) |
| bool StationList::operator== | ( | const StationList & | x | ) | const |
| bool StationList::readXML | ( | const QXmlInputSource & | xmlInp, |
| const IErrorLogClient & | logger, | ||
| bool | enableMessageBox = true |
||
| ) |
| bool StationList::readXML | ( | const KUrl & | url, |
| const IErrorLogClient & | logger, | ||
| bool | enableMessageBox = true |
||
| ) |
| StationList& StationList::removeStationAt | ( | int | idx | ) |
| StationList& StationList::setStations | ( | const StationList & | x | ) |
| const RadioStation& StationList::stationWithID | ( | const QString & | sid | ) | const |
| RadioStation& StationList::stationWithID | ( | const QString & | sid | ) |
| QString StationList::writeXML | ( | const IErrorLogClient & | logger | ) | const |
| bool StationList::writeXML | ( | const KUrl & | url, |
| const IErrorLogClient & | logger, | ||
| bool | enableMessageBox = true |
||
| ) | const |
|
protected |
Definition at line 183 of file stationlist.h.
|
protected |
Definition at line 182 of file stationlist.h.
1.8.1.2