![]() |
PRCYCoin
2.0.0.7rc1
P2P Digital Currency
|
Extension to QTableWidgetItem that facilitates proper ordering for "DHMS" strings (primarily used in the masternode's "active" listing). More...
#include <guiutil.h>
Public Member Functions | |
| DHMSTableWidgetItem (const int64_t seconds) | |
| Class constructor. More... | |
| virtual bool | operator< (QTableWidgetItem const &item) const |
| Comparator overload to ensure that the "DHMS"-type durations as used in the "active-since" list in the masternode tab are sorted by the elapsed duration (versus the string value being sorted). More... | |
Private Attributes | |
| int64_t | value |
Extension to QTableWidgetItem that facilitates proper ordering for "DHMS" strings (primarily used in the masternode's "active" listing).
| GUIUtil::DHMSTableWidgetItem::DHMSTableWidgetItem | ( | const int64_t | seconds | ) |
Class constructor.
| [in] | seconds | Number of seconds to convert to a DHMS string |
Definition at line 530 of file guiutil.cpp.
|
virtual |
Comparator overload to ensure that the "DHMS"-type durations as used in the "active-since" list in the masternode tab are sorted by the elapsed duration (versus the string value being sorted).
| [in] | item | Right hand side of the less than operator |
Definition at line 542 of file guiutil.cpp.
1.8.17