diff options
author | Gerald Combs <gerald@wireshark.org> | 2015-08-04 17:42:53 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2015-08-06 01:59:10 +0000 |
commit | b7f5eaa5243ab8f0f2912e406a7d0cb94ff0c9fb (patch) | |
tree | db50f364dccf576a4e48f8e14dce339903c12519 /ui/qt/qt_ui_utils.h | |
parent | 05eb9b69b8011a581ecd2ca92e4abfa1af7bde6f (diff) | |
download | wireshark-b7f5eaa5243ab8f0f2912e406a7d0cb94ff0c9fb.tar.gz |
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 <gerald@wireshark.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt/qt_ui_utils.h')
-rw-r--r-- | ui/qt/qt_ui_utils.h | 8 |
1 files changed, 8 insertions, 0 deletions
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. |