Public Member Functions
CommentsWidget Class Reference

Brief description of class still missing. More...

#include <CommentsWidget.h>

List of all members.

Public Member Functions

 CommentsWidget (QWidget *parent=0)
void setStations (QList< Station * > *lists)
 ~CommentsWidget ()

Detailed Description

Brief description of class still missing.

Full description of class still missing


Constructor & Destructor Documentation

CommentsWidget::CommentsWidget ( QWidget *  parent = 0)

Description of constructor still missing

References TRACE.

  : QWidget(parent)
{
  TRACE;
  setupUi(this);

  operatorName->addItems(Settings::getHistory("OperatorNames"));
}

Description of destructor still missing

References TRACE.

{
  TRACE;
}

Member Function Documentation

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();
}

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines