diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-06-03 10:59:53 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-06-03 11:13:51 +0200 |
commit | 4c097f9669a28420da74b159a4d61e509da80d33 (patch) | |
tree | bd6c5a1a5448190a86ab34f0f96f2756a2e13a99 /src/qt/guiutil.h | |
parent | 522a8fa3777486725f06d6bbf5694b9cd32cbcce (diff) | |
parent | 65f78a111ff52c2212cc0a423662e7a41d1206dd (diff) |
Merge pull request #4225
65f78a1 Qt: Add GUI view of peer information. #4133 (Ashley Holman)
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 |