* some API-fixes
* some tooltips/qwhatsthis
svn path=/trunk/KDE/kdeedu/kalzium/src/spectrum.h; revision=438943
Spectrum* Spectrum::adjustToWavelength( double min, double max )
{
- Spectrum *spec = new Spectrum( m_parentElement );
+ Spectrum *spec = new Spectrum();
QValueList<band>::const_iterator it = m_bandlist.begin();
const QValueList<band>::const_iterator itEnd = m_bandlist.end();
class Spectrum
{
public:
- /**
- * public costructor
- * @param parent the Element this spectrum belongs to
- */
- Spectrum( Element* parent ){
- m_parentElement = parent;
- };
-
/**
* This spectrum doesn't belong to any element
*/
return m_max;
}
+ /**
+ * @return the list of bands of the spectrum
+ */
QValueList<band>* bandlist(){
return &m_bandlist;
}