diff options
author | Ashley Holman <dscvlt@gmail.com> | 2014-05-23 12:09:59 -0500 |
---|---|---|
committer | Ashley Holman <dscvlt@gmail.com> | 2014-06-03 17:37:34 +0930 |
commit | 65f78a111ff52c2212cc0a423662e7a41d1206dd (patch) | |
tree | e3f986034d79e48a13986e1a144a0f7b2a879a7f /src/qt/guiutil.h | |
parent | 9d97e83bf677ce595c6b2dc5d6805c2fcb1bc05b (diff) |
Qt: Add GUI view of peer information. #4133
Diffstat (limited to 'src/qt/guiutil.h')
-rw-r--r-- | src/qt/guiutil.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/qt/guiutil.h b/src/qt/guiutil.h index 4f9416d1af..ea6b7de872 100644 --- a/src/qt/guiutil.h +++ b/src/qt/guiutil.h @@ -173,6 +173,12 @@ namespace GUIUtil /* Convert OS specific boost path to QString through UTF-8 */ QString boostPathToQString(const boost::filesystem::path &path); + /* Convert seconds into a QString with days, hours, mins, secs */ + QString formatDurationStr(int secs); + + /* Format CNodeStats.nServices bitmask into a user-readable string */ + QString formatServicesStr(uint64_t mask); + } // namespace GUIUtil #endif // GUIUTIL_H |