formatting
This commit is contained in:
@@ -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<void(bool)> addZAddrsToComboList(bool sapling);
|
||||
@@ -86,9 +86,9 @@ private:
|
||||
|
||||
void restoreSavedStates();
|
||||
|
||||
RPC* rpc;
|
||||
RPC* rpc;
|
||||
|
||||
QMovie* loadingMovie;
|
||||
QMovie* loadingMovie;
|
||||
};
|
||||
|
||||
#endif // MAINWINDOW_H
|
||||
|
||||
12
src/rpc.h
12
src/rpc.h
@@ -108,18 +108,18 @@ public:
|
||||
|
||||
|
||||
private:
|
||||
void doRPC (const json& payload, const std::function<void(json)>& cb);
|
||||
void doSendRPC (const json& payload, const std::function<void(json)>& cb);
|
||||
void doRPC (const json& payload, const std::function<void(json)>& cb);
|
||||
void doSendRPC(const json& payload, const std::function<void(json)>& cb);
|
||||
void doSendRPC(const json& payload, const std::function<void(json)>& cb, const std::function<void(QString)>& err);
|
||||
|
||||
void refreshBalances();
|
||||
|
||||
void refreshTransactions();
|
||||
void refreshSentZTrans ();
|
||||
void refreshReceivedZTrans (QList<QString> zaddresses);
|
||||
void refreshSentZTrans();
|
||||
void refreshReceivedZTrans(QList<QString> zaddresses);
|
||||
|
||||
bool processUnspent (const json& reply);
|
||||
void updateUI (bool anyUnconfirmed);
|
||||
bool processUnspent (const json& reply);
|
||||
void updateUI (bool anyUnconfirmed);
|
||||
|
||||
void getInfoThenRefresh(bool force);
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user