|
|
@ -219,25 +219,25 @@ namespace GUIUtil
|
|
|
|
bool GetStartOnSystemStartup();
|
|
|
|
bool GetStartOnSystemStartup();
|
|
|
|
bool SetStartOnSystemStartup(bool fAutoStart);
|
|
|
|
bool SetStartOnSystemStartup(bool fAutoStart);
|
|
|
|
|
|
|
|
|
|
|
|
/* Convert QString to OS specific boost path through UTF-8 */
|
|
|
|
/** Convert QString to OS specific boost path through UTF-8 */
|
|
|
|
fs::path qstringToBoostPath(const QString &path);
|
|
|
|
fs::path qstringToBoostPath(const QString &path);
|
|
|
|
|
|
|
|
|
|
|
|
/* Convert OS specific boost path to QString through UTF-8 */
|
|
|
|
/** Convert OS specific boost path to QString through UTF-8 */
|
|
|
|
QString boostPathToQString(const fs::path &path);
|
|
|
|
QString boostPathToQString(const fs::path &path);
|
|
|
|
|
|
|
|
|
|
|
|
/** Convert enum Network to QString */
|
|
|
|
/** Convert enum Network to QString */
|
|
|
|
QString NetworkToQString(Network net);
|
|
|
|
QString NetworkToQString(Network net);
|
|
|
|
|
|
|
|
|
|
|
|
/* Convert seconds into a QString with days, hours, mins, secs */
|
|
|
|
/** Convert seconds into a QString with days, hours, mins, secs */
|
|
|
|
QString formatDurationStr(int secs);
|
|
|
|
QString formatDurationStr(int secs);
|
|
|
|
|
|
|
|
|
|
|
|
/* Format CNodeStats.nServices bitmask into a user-readable string */
|
|
|
|
/** Format CNodeStats.nServices bitmask into a user-readable string */
|
|
|
|
QString formatServicesStr(quint64 mask);
|
|
|
|
QString formatServicesStr(quint64 mask);
|
|
|
|
|
|
|
|
|
|
|
|
/* Format a CNodeStats.m_ping_usec into a user-readable string or display N/A, if 0*/
|
|
|
|
/** Format a CNodeStats.m_ping_usec into a user-readable string or display N/A, if 0 */
|
|
|
|
QString formatPingTime(int64_t ping_usec);
|
|
|
|
QString formatPingTime(int64_t ping_usec);
|
|
|
|
|
|
|
|
|
|
|
|
/* Format a CNodeCombinedStats.nTimeOffset into a user-readable string. */
|
|
|
|
/** Format a CNodeCombinedStats.nTimeOffset into a user-readable string */
|
|
|
|
QString formatTimeOffset(int64_t nTimeOffset);
|
|
|
|
QString formatTimeOffset(int64_t nTimeOffset);
|
|
|
|
|
|
|
|
|
|
|
|
QString formatNiceTimeOffset(qint64 secs);
|
|
|
|
QString formatNiceTimeOffset(qint64 secs);
|
|
|
|