add the option to choose between usd,eur,btc as currency for mainwindow Pricecheck

This commit is contained in:
Denio
2019-11-17 22:41:37 +01:00
parent 740e713281
commit b0c12948c7
6 changed files with 299 additions and 106 deletions

View File

@@ -63,10 +63,18 @@ public:
QString get_theme_name();
void set_theme_name(QString theme_name);
QString get_currency_name();
void set_currency_name(QString currency_name);
bool isSaplingActive();
void setZECPrice(double p) { ZECPrice = p; }
void setEURPrice(double p) { EURPrice = p; }
void setBTCPrice(double p) { BTCPrice = p; }
double getZECPrice();
double getEURPrice();
double getBTCPrice();
// Static stuff
static const QString txidStatusMessage;
@@ -119,6 +127,8 @@ private:
bool _headless = false;
double ZECPrice = 0.0;
double BTCPrice = 0.0;
double EURPrice = 0.0;
};