KUnitConversion
converter.h
QList< UnitCategory > categories() const
Returns a list of all unit categories.
Definition converter.cpp:196
Value convert(const Value &value, const QString &toUnit=QString()) const
Convert value to another unit.
Definition converter.cpp:116
Converter & operator=(const Converter &other)
Assignment operator, assign other to this.
Definition converter.cpp:104
UnitCategory categoryForUnit(const QString &unit) const
Find unit category for unit.
Definition converter.cpp:140
Class to define a category of units of measurement.
Definition unitcategory.h:41
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:54:52 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:54:52 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.