From d99734a16c0a7c5400cab77379927f30e74429f4 Mon Sep 17 00:00:00 2001 From: adityapk00 Date: Wed, 31 Oct 2018 20:47:42 -0700 Subject: [PATCH] formatting --- src/mainwindow.h | 6 +++--- src/rpc.h | 12 ++++++------ src/settings.h | 16 ++++++++-------- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/src/mainwindow.h b/src/mainwindow.h index 8d61f4c..614cbf6 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -70,7 +70,7 @@ private: void maxAmountChecked(int checked); void addressChanged(int number, const QString& text); - void amountChanged (int numer, const QString& text); + void amountChanged (int number, const QString& text); void addNewZaddr(bool sapling); std::function addZAddrsToComboList(bool sapling); @@ -86,9 +86,9 @@ private: void restoreSavedStates(); - RPC* rpc; + RPC* rpc; - QMovie* loadingMovie; + QMovie* loadingMovie; }; #endif // MAINWINDOW_H diff --git a/src/rpc.h b/src/rpc.h index 51eee5f..c789bcd 100644 --- a/src/rpc.h +++ b/src/rpc.h @@ -108,18 +108,18 @@ public: private: - void doRPC (const json& payload, const std::function& cb); - void doSendRPC (const json& payload, const std::function& cb); + void doRPC (const json& payload, const std::function& cb); + void doSendRPC(const json& payload, const std::function& cb); void doSendRPC(const json& payload, const std::function& cb, const std::function& err); void refreshBalances(); void refreshTransactions(); - void refreshSentZTrans (); - void refreshReceivedZTrans (QList zaddresses); + void refreshSentZTrans(); + void refreshReceivedZTrans(QList zaddresses); - bool processUnspent (const json& reply); - void updateUI (bool anyUnconfirmed); + bool processUnspent (const json& reply); + void updateUI (bool anyUnconfirmed); void getInfoThenRefresh(bool force); diff --git a/src/settings.h b/src/settings.h index ecf47d8..ccc6358 100644 --- a/src/settings.h +++ b/src/settings.h @@ -45,12 +45,12 @@ public: const QString& getZcashdConfLocation() { return confLocation; } - void setZECPrice(double p) { zecPrice = p; } - double getZECPrice(); + void setZECPrice(double p) { zecPrice = p; } + double getZECPrice(); - QString getUSDFormat (double bal); - QString getZECDisplayFormat (double bal); - QString getZECUSDDisplayFormat (double bal); + QString getUSDFormat (double bal); + QString getZECDisplayFormat (double bal); + QString getZECUSDDisplayFormat(double bal); private: // This class can only be accessed through Settings::getInstance() @@ -61,9 +61,9 @@ private: Config* currentConfig; - Config* defaults = nullptr; - Config* zcashconf = nullptr; - Config* uisettings = nullptr; + Config* defaults = nullptr; + Config* zcashconf = nullptr; + Config* uisettings = nullptr; QString confLocation;