svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=473417
m_type = ( ChemicalDataObject::BlueObelisk ) type;
}
-QString ChemicalDataObject::dictRef()
+QString ChemicalDataObject::dictRef() const
{
QString botype;
switch ( m_type ){
return botype;
}
-QString ChemicalDataObject::unitAsString()
+QString ChemicalDataObject::unitAsString() const
{
QString bounit;
switch ( m_unit ){
* @return the dictRef attribute of the XML. This is an
* identifier. For example, for the mass it is "bo:mass"
*/
- QString dictRef();
+ QString dictRef() const;
/**
* @return the unit of the object as a QString. For example kelvin
* will be returned as "bo:kelvin"
*/
- QString unitAsString();
+ QString unitAsString() const;
/**
* @return the unit of the object