KFileMetaData
formatstrings.cpp
65 KFormat::Unit::Bit, threeSignificantDigits(value.toInt()), KFormat::UnitPrefix::AutoAdjust, KFormat::MetricBinaryDialect));
71 return form.formatValue(value.toInt(), KFormat::Unit::Hertz, threeSignificantDigits(value.toInt()), KFormat::UnitPrefix::AutoAdjust, KFormat::MetricBinaryDialect);
83 case 6: string = i18nc("Description of image orientation, counter clock-wise rotated", "90° rotated CCW "); break;
85 case 8: string = i18nc("Description of image orientation, counter clock-wise rotated", "270° rotated CCW"); break;
113 { 0x45, i18nc("Description of photo flash", "Yes, red-eye reduction, return light not detected") },
116 { 0x4d, i18nc("Description of photo flash", "Yes, compulsory, red-eye reduction, return light not detected") },
117 { 0x4f, i18nc("Description of photo flash", "Yes, compulsory, red-eye reduction, return light detected") },
121 { 0x5d, i18nc("Description of photo flash", "Yes, auto, red-eye reduction, return light not detected") },
122 { 0x5f, i18nc("Description of photo flash", "Yes, auto, red-eye reduction, return light detected") }
140 return form.formatValue(value.toDouble(), KFormat::Unit::Meter, 1, KFormat::UnitPrefix::AutoAdjust, KFormat::MetricBinaryDialect);
145 return i18nc("Focal length given in mm", "%1 mm", QLocale().toString(value.toDouble(), 'g', 3));
150 return i18nc("Symbol of frames per second, with space", "%1 fps", QLocale().toString(round(value.toDouble() * 100) / 100));
160 return i18nc("Time period given in seconds as rational number, denominator is given", "1/%1 s", roundedReciprocal);
163 return i18nc("Time period given in seconds", "%1 s", QLocale().toString(value.toDouble(), 'g', 3));
179 return i18nc("Exposure bias/compensation in exposure value (EV)", "%1 EV", locale.toString(val, 'g', 3));
193 "%1 %2/%3 EV", locale.toString(integral), locale.toString(abs(nominator)), locale.toString(denominator));
201 return i18nc("Aspect ratio, normalized to one", "%1:1", QLocale().toString(round(value.toDouble() * 100) / 100));
QString formatRelativeDateTime(const QDateTime &dateTime, QLocale::FormatType format) const
QString formatDuration(quint64 msecs, KFormat::DurationFormatOptions options=KFormat::DefaultDuration) const
QString formatValue(double value, const QString &unit, int precision, KFormat::UnitPrefix prefix, KFormat::BinaryUnitDialect dialect) const
MetricBinaryDialect
QString i18nc(const char *context, const char *text, const TYPE &arg...)
QString i18n(const char *text, const TYPE &arg...)
char * toString(const EngineQuery &query)
QDateTime fromString(QStringView string, QStringView format, QCalendar cal)
bool isValid() const const
LongFormat
QString toString(QDate date, FormatType format) const const
bool contains(const Key &key) const const
T value(const Key &key, const T &defaultValue) const const
QDateTime
ISODate
QDateTime toDateTime() const const
double toDouble(bool *ok) const const
int toInt(bool *ok) const const
QString toString() const const
int userType() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 4 2024 11:54:12 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 4 2024 11:54:12 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.