#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 |
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 | ) |
RadioStation& StationList::at | ( | int | idx | ) |
const RadioStation& StationList::at | ( | int | idx | ) | const |
const_iterator StationList::begin | ( | ) | const [inline] |
Definition at line 176 of file stationlist.h.
iterator StationList::begin | ( | ) | [inline] |
Definition at line 175 of file stationlist.h.
StationList& StationList::clearStations | ( | ) |
int StationList::count | ( | ) | const [inline] |
Definition at line 118 of file stationlist.h.
const_iterator StationList::end | ( | ) | const [inline] |
Definition at line 179 of file stationlist.h.
iterator StationList::end | ( | ) | [inline] |
Definition at line 178 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.
StationListMetaData const& StationList::metaData | ( | ) | const [inline] |
Definition at line 134 of file stationlist.h.
StationListMetaData& StationList::metaData | ( | ) | [inline] |
Definition at line 133 of file stationlist.h.
void StationList::moveStation | ( | int | old_idx, | |
int | new_idx | |||
) |
bool StationList::operator!= | ( | const StationList & | x | ) | const [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 KUrl & | url, | |
const IErrorLogClient & | logger, | |||
bool | enableMessageBox = true | |||
) |
bool StationList::readXML | ( | const QXmlInputSource & | xmlInp, | |
const IErrorLogClient & | logger, | |||
bool | enableMessageBox = true | |||
) |
StationList& StationList::removeStationAt | ( | int | idx | ) |
StationList& StationList::setStations | ( | const StationList & | x | ) |
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 |
StationListMetaData StationList::m_metaData [protected] |
Definition at line 183 of file stationlist.h.
QList<RadioStation*> StationList::m_stations [protected] |
Definition at line 182 of file stationlist.h.