Changeset View
Changeset View
Standalone View
Standalone View
src/qt/guiutil.h
Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Lines | |||||
std::string DummyAddress(const CChainParams ¶ms, const Config &cfg); | std::string DummyAddress(const CChainParams ¶ms, const Config &cfg); | ||||
// Set up widgets for address and amounts | // Set up widgets for address and amounts | ||||
void setupAddressWidget(QValidatedLineEdit *widget, QWidget *parent); | void setupAddressWidget(QValidatedLineEdit *widget, QWidget *parent); | ||||
void setupAmountWidget(QLineEdit *widget, QWidget *parent); | void setupAmountWidget(QLineEdit *widget, QWidget *parent); | ||||
// Parse "bitcoincash:" URI into recipient object, return true on successful | // Parse "bitcoincash:" URI into recipient object, return true on successful | ||||
// parsing | // parsing | ||||
bool parseBitcoinURI(const QUrl &uri, SendCoinsRecipient *out); | bool parseBitcoinURI(const QString &scheme, const QUrl &uri, | ||||
bool parseBitcoinURI(QString uri, SendCoinsRecipient *out); | SendCoinsRecipient *out); | ||||
bool parseBitcoinURI(const QString &scheme, QString uri, | |||||
SendCoinsRecipient *out); | |||||
QString formatBitcoinURI(const Config &cfg, const SendCoinsRecipient &info); | QString formatBitcoinURI(const Config &cfg, const SendCoinsRecipient &info); | ||||
// Returns true if given address+amount meets "dust" definition | // Returns true if given address+amount meets "dust" definition | ||||
bool isDust(const QString &address, const Amount amount); | bool isDust(const QString &address, const Amount amount); | ||||
// HTML escaping for rich text controls | // HTML escaping for rich text controls | ||||
QString HtmlEscape(const QString &str, bool fMultiLine = false); | QString HtmlEscape(const QString &str, bool fMultiLine = false); | ||||
QString HtmlEscape(const std::string &str, bool fMultiLine = false); | QString HtmlEscape(const std::string &str, bool fMultiLine = false); | ||||
▲ Show 20 Lines • Show All 209 Lines • Show Last 20 Lines |