diff options
| author | Ashley Holman <[email protected]> | 2014-05-23 12:09:59 -0500 |
|---|---|---|
| committer | Ashley Holman <[email protected]> | 2014-06-03 17:37:34 +0930 |
| commit | 65f78a111ff52c2212cc0a423662e7a41d1206dd (patch) | |
| tree | e3f986034d79e48a13986e1a144a0f7b2a879a7f /src/qt/guiutil.h | |
| parent | Merge pull request #4197 (diff) | |
| download | discoin-65f78a111ff52c2212cc0a423662e7a41d1206dd.tar.xz discoin-65f78a111ff52c2212cc0a423662e7a41d1206dd.zip | |
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 4f9416d1a..ea6b7de87 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 |