KUnitConversion
converter.cpp
Go to the documentation of this file.
Definition: converter.h:30
Definition: converter.h:36
Definition: converter.h:31
Definition: velocity.h:25
UnitCategory * category(const QString &category) const
Find unit category.
Definition: converter.cpp:171
Definition: timeunit.h:25
Definition: converter.h:32
Definition: power.h:25
Definition: converter.h:31
Definition: force.h:25
Value convert(const Value &value, const QString &toUnit=QString())
Convert value to another unit.
Definition: unitcategory.cpp:98
Definition: value.h:32
Definition: acceleration.h:25
Definition: density.h:26
Definition: converter.h:30
Definition: converter.h:32
Definition: converter.h:30
Definition: currency.h:25
Definition: converter.h:32
Definition: converter.h:31
Definition: fuel_efficiency.h:25
Definition: energy.h:25
Definition: pressure.h:25
Definition: converter.h:33
Value convert(const Value &value, const QString &toUnit=QString()) const
Convert value to another unit.
Definition: converter.cpp:106
Definition: volume.h:25
Definition: converter.h:138
Definition: unitcategory.h:33
bool hasUnit(const QString &unit) const
Check if unit category has a unit.
Definition: unitcategory.cpp:93
UnitCategory * categoryForUnit(const QString &unit) const
Find unit category for unit.
Definition: converter.cpp:139
QList< UnitCategory * > categories() const
Returns a list of all unit categories.
Definition: converter.cpp:190
Definition: angle.h:25
Definition: temperature.h:25
Definition: converter.h:31
Definition: frequency.h:25
Definition: converter.h:33
UnitPtr unit(const QString &unitString) const
Find unit for string unit.
Definition: converter.cpp:149
Definition: converter.h:33
Definition: length.h:25
Definition: converter.h:30
Definition: converter.h:31
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.