KUnitConversion
Mass Class Reference
#include <mass.h>
Inheritance diagram for Mass:
Public Member Functions | |
Mass () | |
Public Member Functions inherited from KUnitConversion::UnitCategory | |
UnitCategory (int id) | |
virtual | ~UnitCategory () |
QStringList | allUnits () const |
Value | convert (const Value &value, const QString &toUnit=QString()) |
Value | convert (const Value &value, int toUnit) |
virtual Value | convert (const Value &value, UnitPtr toUnit) |
UnitPtr | defaultUnit () const |
QString | description () const |
bool | hasUnit (const QString &unit) const |
int | id () const |
QList< UnitPtr > | mostCommonUnits () const |
QString | name () const |
UnitPtr | unit (const QString &s) const |
UnitPtr | unit (int unitId) const |
QList< UnitPtr > | units () const |
KUrl | url () const |
Additional Inherited Members | |
Protected Member Functions inherited from KUnitConversion::UnitCategory | |
void | addIdMapValue (UnitPtr unit, int id) |
void | addUnitMapValues (UnitPtr unit, const QString &names) |
void | addUnitName (const QString &name) |
void | setDefaultUnit (UnitPtr defaultUnit) |
void | setDescription (const QString &desc) |
void | setMostCommonUnits (const QList< int > &units) |
void | setName (const QString &name) |
void | setSymbolStringFormat (const KLocalizedString &symbolStringFormat) |
void | setUrl (const KUrl &url) |
KLocalizedString | symbolStringFormat () const |
Detailed Description
Constructor & Destructor Documentation
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.