aboutsummaryrefslogtreecommitdiff
path: root/gui/include/guiutil.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2011-06-02 15:57:23 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2011-06-02 15:57:23 +0200
commite457b021421c9065c8677e7fb7d7cae0391bf1f8 (patch)
treea656f00574cd40683656b976cc67607e5318bbb2 /gui/include/guiutil.h
parentef1b844e7b444b07e708dcd9a1e0dc93510dade5 (diff)
namespacing, user friendly base58 entry, addressbook work
Diffstat (limited to 'gui/include/guiutil.h')
-rw-r--r--gui/include/guiutil.h22
1 files changed, 18 insertions, 4 deletions
diff --git a/gui/include/guiutil.h b/gui/include/guiutil.h
index eaa8199900..748e29bf37 100644
--- a/gui/include/guiutil.h
+++ b/gui/include/guiutil.h
@@ -2,10 +2,24 @@
#define GUIUTIL_H
#include <QString>
-#include <QFont>
-QString DateTimeStr(qint64 nTime);
-/* Render bitcoin addresses in monospace font */
-QFont bitcoinAddressFont();
+QT_BEGIN_NAMESPACE
+class QFont;
+class QLineEdit;
+class QWidget;
+QT_END_NAMESPACE
+
+class GUIUtil
+{
+public:
+ static QString DateTimeStr(qint64 nTime);
+
+ /* Render bitcoin addresses in monospace font */
+ static QFont bitcoinAddressFont();
+
+ static void setupAddressWidget(QLineEdit *widget, QWidget *parent);
+
+ static void setupAmountWidget(QLineEdit *widget, QWidget *parent);
+};
#endif // GUIUTIL_H