aboutsummaryrefslogtreecommitdiff
path: root/src/qt/guiutil.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qt/guiutil.h')
-rw-r--r--src/qt/guiutil.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/qt/guiutil.h b/src/qt/guiutil.h
index fb5c575ab5..012e49754c 100644
--- a/src/qt/guiutil.h
+++ b/src/qt/guiutil.h
@@ -8,20 +8,26 @@ class QFont;
class QLineEdit;
class QWidget;
class QDateTime;
+class QUrl;
QT_END_NAMESPACE
+class SendCoinsRecipient;
class GUIUtil
{
public:
+ // Create human-readable string from date
static QString DateTimeStr(qint64 nTime);
static QString DateTimeStr(const QDateTime &datetime);
// Render bitcoin addresses in monospace font
static QFont bitcoinAddressFont();
+ // Set up widgets for address and amounts
static void setupAddressWidget(QLineEdit *widget, QWidget *parent);
-
static void setupAmountWidget(QLineEdit *widget, QWidget *parent);
+
+ // Parse "bitcoin:" URL into recipient object, return true on succesful parsing
+ static bool parseBitcoinURL(const QUrl *url, SendCoinsRecipient *out);
};
#endif // GUIUTIL_H