aboutsummaryrefslogtreecommitdiff
path: root/src/qt/walletmodel.h
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2013-11-16 17:37:31 +0100
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2013-11-18 08:16:12 +0100
commit0689f46cc7f0939c0b52560954a3a210cbad053a (patch)
tree30573c57db7f03d72c8a475f6cff4c6fd0e163cf /src/qt/walletmodel.h
parentaf6e093f062548d850b6eb510240aeb1ff24e2a3 (diff)
Coincontrol cleanup (e.g. add missing license)
- add missing license headers - make compatible with Qt5 - enforce header cleanup style - small code style cleanups - rename Coin Control dialog into Coin Control Address Selection - use default font for the windows labels (no monospace)
Diffstat (limited to 'src/qt/walletmodel.h')
-rw-r--r--src/qt/walletmodel.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/src/qt/walletmodel.h b/src/qt/walletmodel.h
index f5afe87260..32ddbbc6f6 100644
--- a/src/qt/walletmodel.h
+++ b/src/qt/walletmodel.h
@@ -10,22 +10,23 @@
#include "allocators.h" /* for SecureString */
-#include <QObject>
-#include <vector>
#include <map>
+#include <vector>
+
+#include <QObject>
class AddressTableModel;
class OptionsModel;
class TransactionTableModel;
class WalletModelTransaction;
+
+class CCoinControl;
class CKeyID;
-class CPubKey;
-class COutput;
class COutPoint;
-class uint256;
-class CCoinControl;
-
+class COutput;
+class CPubKey;
class CWallet;
+class uint256;
QT_BEGIN_NAMESPACE
class QTimer;
@@ -88,7 +89,7 @@ public:
AddressTableModel *getAddressTableModel();
TransactionTableModel *getTransactionTableModel();
- qint64 getBalance(const CCoinControl *coinControl=NULL) const;
+ qint64 getBalance(const CCoinControl *coinControl = NULL) const;
qint64 getUnconfirmedBalance() const;
qint64 getImmatureBalance() const;
int getNumTransactions() const;
@@ -100,13 +101,13 @@ public:
// Return status record for SendCoins, contains error id + information
struct SendCoinsReturn
{
- SendCoinsReturn(StatusCode status=Aborted):
+ SendCoinsReturn(StatusCode status = Aborted):
status(status) {}
StatusCode status;
};
// prepare transaction for getting txfee before sending coins
- SendCoinsReturn prepareTransaction(WalletModelTransaction &transaction, const CCoinControl *coinControl=NULL);
+ SendCoinsReturn prepareTransaction(WalletModelTransaction &transaction, const CCoinControl *coinControl = NULL);
// Send coins to a list of recipients
SendCoinsReturn sendCoins(WalletModelTransaction &transaction);