Brief description of class still missing. More...
#include <CommentsWidget.h>
Public Member Functions | |
| CommentsWidget (QWidget *parent=0) | |
| void | setStations (QList< Station * > *lists) |
| ~CommentsWidget () | |
Brief description of class still missing.
Full description of class still missing
| CommentsWidget::CommentsWidget | ( | QWidget * | parent = 0 | ) |
| void CommentsWidget::setStations | ( | QList< Station * > * | lists | ) |
References TRACE.
{
TRACE;
_stations=list;
stationList->clear();
for(QList<Station *>::iterator it=_stations->begin(); it!=_stations->end(); it++) {
stationList->addItem((*it)->name());
disconnect(*it, SIGNAL(dataChanged(int)), this, SLOT(stationChanged(int)));
connect(*it, SIGNAL(dataChanged(int)), this, SLOT(stationChanged(int)));
disconnect(*it, SIGNAL(commentsRefreshed(int)), this, SLOT(commentsChanged(int)));
connect(*it, SIGNAL(commentsRefreshed(int)), this, SLOT(commentsChanged(int)));
}
on_stationList_currentIndexChanged();
}