formatting
This commit is contained in:
@@ -70,7 +70,7 @@ private:
|
|||||||
void maxAmountChecked(int checked);
|
void maxAmountChecked(int checked);
|
||||||
|
|
||||||
void addressChanged(int number, const QString& text);
|
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);
|
void addNewZaddr(bool sapling);
|
||||||
std::function<void(bool)> addZAddrsToComboList(bool sapling);
|
std::function<void(bool)> addZAddrsToComboList(bool sapling);
|
||||||
@@ -86,9 +86,9 @@ private:
|
|||||||
|
|
||||||
void restoreSavedStates();
|
void restoreSavedStates();
|
||||||
|
|
||||||
RPC* rpc;
|
RPC* rpc;
|
||||||
|
|
||||||
QMovie* loadingMovie;
|
QMovie* loadingMovie;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // MAINWINDOW_H
|
#endif // MAINWINDOW_H
|
||||||
|
|||||||
12
src/rpc.h
12
src/rpc.h
@@ -108,18 +108,18 @@ public:
|
|||||||
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void doRPC (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);
|
||||||
void doSendRPC(const json& payload, const std::function<void(json)>& cb, const std::function<void(QString)>& err);
|
void doSendRPC(const json& payload, const std::function<void(json)>& cb, const std::function<void(QString)>& err);
|
||||||
|
|
||||||
void refreshBalances();
|
void refreshBalances();
|
||||||
|
|
||||||
void refreshTransactions();
|
void refreshTransactions();
|
||||||
void refreshSentZTrans ();
|
void refreshSentZTrans();
|
||||||
void refreshReceivedZTrans (QList<QString> zaddresses);
|
void refreshReceivedZTrans(QList<QString> zaddresses);
|
||||||
|
|
||||||
bool processUnspent (const json& reply);
|
bool processUnspent (const json& reply);
|
||||||
void updateUI (bool anyUnconfirmed);
|
void updateUI (bool anyUnconfirmed);
|
||||||
|
|
||||||
void getInfoThenRefresh(bool force);
|
void getInfoThenRefresh(bool force);
|
||||||
|
|
||||||
|
|||||||
@@ -45,12 +45,12 @@ public:
|
|||||||
|
|
||||||
const QString& getZcashdConfLocation() { return confLocation; }
|
const QString& getZcashdConfLocation() { return confLocation; }
|
||||||
|
|
||||||
void setZECPrice(double p) { zecPrice = p; }
|
void setZECPrice(double p) { zecPrice = p; }
|
||||||
double getZECPrice();
|
double getZECPrice();
|
||||||
|
|
||||||
QString getUSDFormat (double bal);
|
QString getUSDFormat (double bal);
|
||||||
QString getZECDisplayFormat (double bal);
|
QString getZECDisplayFormat (double bal);
|
||||||
QString getZECUSDDisplayFormat (double bal);
|
QString getZECUSDDisplayFormat(double bal);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
// This class can only be accessed through Settings::getInstance()
|
// This class can only be accessed through Settings::getInstance()
|
||||||
@@ -61,9 +61,9 @@ private:
|
|||||||
|
|
||||||
Config* currentConfig;
|
Config* currentConfig;
|
||||||
|
|
||||||
Config* defaults = nullptr;
|
Config* defaults = nullptr;
|
||||||
Config* zcashconf = nullptr;
|
Config* zcashconf = nullptr;
|
||||||
Config* uisettings = nullptr;
|
Config* uisettings = nullptr;
|
||||||
|
|
||||||
QString confLocation;
|
QString confLocation;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user