diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-12-21 22:33:19 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-12-21 22:33:19 +0100 |
commit | bde280b9a4da2652716c8ffdeed9ebfa4461cc70 (patch) | |
tree | f2d96b0c74da35b701513a629817c7e944798827 /src/qt/transactionrecord.h | |
parent | 21d9f36781604e4ca9fc35dc65265593423b73e9 (diff) |
Revert "Use standard C99 (and Qt) types for 64-bit integers"
This reverts commit 21d9f36781604e4ca9fc35dc65265593423b73e9.
Diffstat (limited to 'src/qt/transactionrecord.h')
-rw-r--r-- | src/qt/transactionrecord.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/qt/transactionrecord.h b/src/qt/transactionrecord.h index db29b94576..704cfe65b7 100644 --- a/src/qt/transactionrecord.h +++ b/src/qt/transactionrecord.h @@ -3,7 +3,6 @@ #include "uint256.h" -#include <QtGlobal> #include <QList> class CWallet; @@ -47,8 +46,8 @@ public: /** @name Reported status @{*/ Status status; - qint64 depth; - qint64 open_for; /**< Timestamp if status==OpenUntilDate, otherwise number of blocks */ + int64 depth; + int64 open_for; /**< Timestamp if status==OpenUntilDate, otherwise number of blocks */ /**@}*/ /** Current number of blocks (to know whether cached status is still valid) */ @@ -80,15 +79,15 @@ public: { } - TransactionRecord(uint256 hash, qint64 time): + TransactionRecord(uint256 hash, int64 time): hash(hash), time(time), type(Other), address(""), debit(0), credit(0), idx(0) { } - TransactionRecord(uint256 hash, qint64 time, + TransactionRecord(uint256 hash, int64 time, Type type, const std::string &address, - qint64 debit, qint64 credit): + int64 debit, int64 credit): hash(hash), time(time), type(type), address(address), debit(debit), credit(credit), idx(0) { @@ -102,11 +101,11 @@ public: /** @name Immutable transaction attributes @{*/ uint256 hash; - qint64 time; + int64 time; Type type; std::string address; - qint64 debit; - qint64 credit; + int64 debit; + int64 credit; /**@}*/ /** Subtransaction index, for sort key */ |