From b7f5eaa5243ab8f0f2912e406a7d0cb94ff0c9fb Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Tue, 4 Aug 2015 17:42:53 -0700 Subject: Convert the GSM MAP stats to new "generic stat API". Convert both the MAP statistics and summary. As with the GSM A stats this are mostly untested. Change-Id: Ibd3a7346b09d1401e78724c0197ec2a38deb97a3 Reviewed-on: https://code.wireshark.org/review/9883 Petri-Dish: Gerald Combs Reviewed-by: Gerald Combs --- ui/qt/qt_ui_utils.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ui/qt/qt_ui_utils.h') diff --git a/ui/qt/qt_ui_utils.h b/ui/qt/qt_ui_utils.h index a5c80e297f..531018eb41 100644 --- a/ui/qt/qt_ui_utils.h +++ b/ui/qt/qt_ui_utils.h @@ -153,6 +153,14 @@ const QString bits_s_to_qstring(const double bits_s); */ const QString file_size_to_qstring(const gint64 size); +/** Convert a time_t value to a human-readable QString using QDateTime. + * + * @param ti_time The value to convert. + * + * @return A QString representation of the file size in SI units. + */ +const QString time_t_to_qstring(time_t ti_time); + /** * Round the current size of a font up to its next "smooth" size. * If a smooth size can't be found the font is left unchanged. -- cgit v1.2.3